]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5c1dcb898896b7e04f754c316baf0048f5c766bb
[lyx.git] / src / ChangeLog
1 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * rowpainter.C (paintForeignMark): fix foreign blue line under
4         insets
5
6 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
9         pit of the uno range (bug 2022).
10
11 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
12
13         * messages.C (get): Only warn once if setlocale fails (bug 2177)
14
15 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
16
17         * text2.C (setCharFont): take inset's own font settings into account
18         when defining the font to reduce to, fixes 2019
19
20 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * bufferview_funcs.C (coordOffset): remove the check for
23         collapsed collapsables (fix for bug 2094). This is now done
24         on a more general level (cursor.C).
25
26         * dociterator.[Ch] (forwardPos): add an optional argument
27         bool "ignorecollapsed" (default false), which lets forwardPos
28         skip collapsed insets.
29
30         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
31         (fixes bug 2241 and 2094).
32
33 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * buffer.C: change tracking (dvipost) doesn't require
36         color.sty anymore.
37
38         * LaTeXFeatures.C (getPackages): no need for the color
39         option "usenames" (bug 2169).
40
41 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
42         * buffer_funcs.C: Trivial fix - added {} around
43         the statements to be affected by a if-test. Now
44         label in a minipage in a float looks ok on screen again.
45
46 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
47
48         * text2.C: fix bug 2015: on screen fonts in nested environments 
49         can be wrong
50
51 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * converter.C (convert): handle unknown formats
54
55 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * cursor.C (goUpDown): comment out some debug messages.
58
59         * counters.C (newCounter): make error messages more explicit
60         (these appear with some textclasses like beamer)
61
62 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * kbmap.C (defkey): 
65         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
66         have origin set to KEYBOARD. (bug 2221)
67
68 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
69
70         * rowpainter.C (isCursorOnRow): do not exclude endpos().
71
72 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * cursor.C (macroModeClose): returns true if an inset actually got
75         inserted; revert faulty fix to bug 2034.
76
77 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * tabular.C (getLabelList): remove (not used anymore).
80
81 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * outputparams.[Ch]: add new flag inComment
84
85 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text2.C (deleteEmptyParagraphMechanism): since we delete a
88         paragraph, recordUndo should span two paragraphs (bug 2155).
89
90 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * rowpainter.C (paintPar): always repaint the row with the
93         cursor in it
94
95 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
96
97         * MenuBackend.h: 
98         * bufferlist.h: 
99         * lyxtext.h: 
100         * paragraph.h:
101         * vspace.h: fix syntax error
102
103 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * text3.C (dispatch): Force refresh if typing into inset changes its
106                               metrics
107
108 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * RowList_fwd.h:
111         * paragraph.C:
112         * paragraph.h:
113         * rowpainter.C: Speed up rendering by only re-painting rows that
114         have changed. When selection or whole-screen update active, all rows
115         are repainted, as are all rows within insets.
116
117 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
118
119         * version.C.in: Use PACKAGE_VERSION instead of VERSION
120
121 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
122
123         * tabular.C (toggleFixedWidth): Use default layout of text class
124         instead of hardcoded "Standard"
125
126 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * lyxfunc.C (dispatch): do not call getStatus again to determine
129         whether a lfun is disabled (bug 2172).
130
131 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * cursor.C (macroModeClose): set the cursor inside the new math
134         atom if relevant (think \frac{}{}) (bug 2034)
135
136 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * lyxtext.h:
139         * text.C:
140         * text3.C (Delete, backspace): force update when merging paragraphs
141
142 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * BufferView.C (mouseSetCursor): clear the selection properly (bug
145         2163). 
146
147 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * text.C (redoParagraph): honor inset->noFontChange()
150         * rowpainter.C (paintInset): ditto
151
152 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * lyx_main.C (priv_exec): don't initialize Math on startup 
155         (initMath() has been moved to math_hullinset).
156
157 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
158
159         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
160         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
161         * paper.h: dispose dead PAPER_PACKAGES enum.
162
163 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
166         without X support.
167
168 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
169
170         * exporter.C (Export): Don't try to copy a file if it does not exist
171         (bug 1888)
172
173 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * text2.C (makeFontEntriesLayoutSpecific): remove.
176         (setLayout): adapt.
177
178         * text.C (insertChar): remove bogus caching of fonts (did not do
179         anything). 
180
181         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
182         ALL_SANE). (bug 2146)
183
184 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * rowpainter.C (paintFirst): fix centering of
187         LABEL_CENTERED_TOP_ENVIRONMENT. 
188
189 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * BufferView.C (mouseSetCursor): new method. Calls
192         deleteEmptyParagraphMechanism if necessary.
193
194         * lyxtext.h: make deleteEmptyParagraphMechanism public.
195
196         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
197         BufferView::mouseSetCursor (bug 2109).
198         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
199
200 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
201
202         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
203         do not remove it (this inset behaves differently from the others).
204
205 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         Fix bug 2096.
208         
209         * BufferView_pimpl.C (getStatus): it is only possible to insert a
210         file in a text inset.
211
212         * buffer.C (readDocument): remove pit argument and code releated
213         to it; set the inset owner correctly (unrelated, but useful).
214         (readFile): get rid of pit argument.
215
216         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
217         textclass instead of a selection index.
218         (pasteParagraphList): new function.
219         (pasteSelection): make it a wrapper around pasteParagraphList.
220
221         * BufferView_pimpl.C (MenuInsertLyXFile): use
222         cap::pasteParagraphList to insert a file.
223
224 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
225
226         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
227
228 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
229
230         * exporter.C: fix typo in text message
231
232 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
233
234         * text2.C (setLayout): move recUndo call to other setLayout method
235         * tabular.C (toggleFixedWidth): new, handle cell width changes
236         * tabular.C (setColumnPWidth): move some code from insettabular.C here
237         and use toggleFixedWidth
238         * tabular.C (setMColumnPWidth): ditto
239
240 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * paragraph.C (asString): use new inset->textString method (fix
243         bug 2089) 
244
245 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * CutAndPaste.C (numberOfSelections): new helper function.
248
249         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
250
251         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
252         LyXFunc::getStatus; implement LFUN_PASTE.
253
254 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * dociterator.[Ch]: new member realInset() that returns the cell
257         for tabulars and the inset for the rest (bug 1952).
258         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
259         (bug 1952).
260
261 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
264
265 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
266
267         * lyxfunc.C:
268         * paragraph.C:
269         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
270         argument.
271
272 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
275         line after typing ctrl-enter
276
277 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
280         math insets do not return a proper editable() state yet (bug 2124).
281
282 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
285         docs containing very large paragraphs.
286
287 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * cursor.C (selectionBegin, selectionEnd):
290         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
291         cursor at different depths.
292
293 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
294
295         * bufferview_funcs.C (coordOffset): do not call cursorPos
296         for collapsed collapsables (fix bug 2094).
297
298 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * paragraph.C (fontSpan): make sure that the FontSpan does not
301         span across beginOfBody (bug 1947).
302
303 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
306
307 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
308
309         * messages.C: fix crash and localization on MinGW/Windows platform
310
311 2005-11-02  Angus Leeming  <leeming@lyx.org>
312
313         * Bidi.C:
314         * lyxtextclass.C: trivial fixes to some MSVS warnings.
315
316 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * text3.C (getStatus): re-enable disabled code. (bug 2081)
319
320         * BranchList.h (empty): constify.
321
322 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * text3.C (getStatus): 
325         * MenuBackend.C (expandBranches): take the branch list from the
326         master document (bug 2092).
327         
328         * MenuBackend.C (expandBranches): 
329         * bufferparams.C (writeFile): use BranchList type.
330
331 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * text3.C (dispatch, getStatus): 
334         * LyXAction.C (init): 
335         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
336
337 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
340
341 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * text.C (insertChar): do not reset boundary (bug 2061)
344
345 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * dociterator.C (updateInsets): new method. Updates the inset_
348         cache of all the slices of the iterator.
349
350         * text2.C (deleteEmptyParagraphMechanism): compare also containing
351         insets when comparing pit/pos; pass the right cursor to
352         recordUndo; when a paragraph has been deleted, compare `old.top()' to
353         the right cursor slice of `cur'; use updateInsets on cur to make
354         sure that the inset caches are correct; general cleanup.
355
356 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
359         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
360         containg inset. If this does not work, the same command will be
361         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
362
363         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
364         a dispatch.
365
366 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * lyxtextclass.C (Read): convert layout file if the format is wrong
369         * lyxtextclass.C (layout2layout): new, needed for the above
370
371 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * messages.C: do not forget to include <cerrno>.
374
375 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
376
377         * dociterator.h (StableDocIterator): add access to pos().
378         * undo.C (samePar): new method to check if two
379         iterators are in the same paragraph
380         * undo.C (recordUndo): check for samePar instead of cell identity
381         (which includes pos() and is too strict) (fixes bug 2097)
382
383 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * text.C (setCursorFromCoordinates): return a bool telling whether
386         dEPM triggered.
387
388         * text3.C (cursorPrevious): update if needed after
389         setCursorFromCoordinates (when dEPM triggered).
390
391         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
392         (otherwise the anchor may be completely wrong and make dEPM assert).
393
394 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * buffer.C: version upgrade to 245.
397         * bufferparams.C: remove \quotes_times (bug 2090).
398         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
399         quotation marks as default.
400
401 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
402
403         * CutAndPaste.C (nrOfParagraphs): remove (unused)
404         * CutAndPaste.C (cutSelection): Remove debug message
405         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
406         undo information and only copy if this is a real cut
407         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
408         call
409         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
410         (bug 2059)
411         * CutAndPaste.C (eraseSelection): prevent cursor corruption
412         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
413         superflous cur.selection() setting
414         * CutAndPaste.[Ch] (grabSelection): take a const cursor
415         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
416
417 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
418
419         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
420         change anything.
421
422 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
423
424         * BufferView_pimpl.C: comment layout change
425
426 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
427
428         * LyXAction.C:
429         * lfuns.h:
430         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
431         by bibliography managers (bug 2071).
432
433 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
434
435         * BufferView_pimpl.C (update): choose arguments to update call so
436         that single-par update works most times
437         * text3.C (dispatch): carefully tune updating separately for
438         whole-screen and current-paragraph
439         * rowpainter.C (paintText): 1) replace painting by caching for
440         the two extra paragraphs, because we can;
441         2) suppress greying out of areas below/above drawn area in case of
442         single-par refresh
443         * lyxfunc.C (dispatch): remove superfluous update
444         * LyXAction.[Ch]: introduce SingleParUpdate
445
446 2005-10-05  Angus Leeming  <leeming@lyx.org>
447
448         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
449         always initialised before use.
450
451         * text.C (setHeightOfRow): squash warning about comparison
452         of signed and unsigned types.
453
454 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
455
456         * text.C (cursorX): two fixes involving RtL text drawing
457
458 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
461         items, not only large ones (part of bug 2057)
462
463 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
466         argument, use "newcommand".
467
468 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
469
470         * cursor.C (setSelection): do not open collapsable insets;
471         the insets do by themselves now (autoopen).
472
473 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
474
475         * buffer.C: format is up to 244.
476
477 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
478
479         * text.C (redoParagraph): fix calcultation of inset width wrt 
480         leftMargin (bug 1957).
481
482         * text3.C (dispatch): leave inset to the right when hitting ESC 
483         (bug 2034).
484
485 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * text2.C: 
488         * text.C: 
489         * factory.C:
490         * messages.C: include <boost/current_function.hpp> 
491
492 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
495         when command is internal. (bug 1941)
496
497 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * text2.C (cursorRight): do not honor boundary when at the end of
500         a paragraph. (bug 2010 again)
501
502 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
503
504         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
505
506 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * rowpainter.C (paintText): fix RtL space width display bug (2029)
509
510 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * text2.C (setCursor): remove the unused 'boundary' parameter for
513         the CursorSlice version; adapt the LCursor version.
514
515         * lyxrc.C (write): 
516         * paragraph_pimpl.C (markErased): 
517         * cursor.C (bruteFind2, bruteFond3): fix warnings.
518
519 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
522         as is already done for "chapter".
523
524 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
527         textclass; do not record undo if nothing is changed.
528
529 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
532
533 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
534
535         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
536
537 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
540         combox, it is necessary to search for the topmost paragraph in the
541         cursor stack (bug 1926)
542
543 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
546         end of paragraph. (bug 2010)
547
548 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
549
550         * text.C (leftMargin): check for inInset == 0
551
552 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
553
554         * text.C (leftMargin): test for insetbase's new neverIndent()
555         bool instead of listing each and every inset that does not
556         wish par indendation.
557
558 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * buffer_funcs.C (setCounter): put the code to compute enum label
561         here (where it belongs).
562
563         * counters.C (enumLabel): move code to buffer_funcs.C.
564
565 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
566
567         * outputparams.[Ch]: store local_font instead of local_language
568         * paragraph.C (simpleTeXOnePar): adapt to the change above
569
570 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
571
572         * buffer_funcs.C:
573         * counters.[Ch]: clean up special code for Hebrew.
574
575 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
578         than 2.
579
580 2005-09-08  Angus Leeming  <leeming@lyx.org>
581
582         * ispell.C:
583         * lyxrc.C: correct grammar describing invocation of the
584         spellchecker.
585
586 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * text.C (read): remove unused variable.
589         (readParToken): remove static Change variable (never good in
590         recursive settings...); add it as a parameter instead.
591
592         * paragraph_pimpl.C (acceptChange): make debug info conditional.
593
594         * metricsinfo.C (PainterInfo): add new member erased_.
595
596         * rowpainter.C (RowPainter): add erased_ member, initialized from
597         PainterInfo. 
598         (paintInset): pass erased_ to Inset::draw.
599
600         * lyxfunc.C (lookupChange): new function. Tells whether change 
601         tracking is disabled at a given postion.
602         (getStatus): disable some actions when in deleted text with change
603         tracking. 
604
605 2005-08-03  John Levon  <levon@movementarian.org>
606         
607         * tabular.C (appendColumn, setMultiColumn): adapt to change to
608         InsetText::clear().
609
610         * paragraph_pimpl.C (markErased): add bool argument and handle it.
611         Also make sure to mark insets recursively.
612         (rejectChange, erase): be recursive
613
614         * paragraph.C (markErased): add bool argument.
615 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * lyxfind.C (findNextChange): tiny cleanup.
618
619         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
620         change tracking with the cursor in an inset; make sure the first
621         change is not skipped.
622
623 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
624
625         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
626         tabularStackDirty to work around bug 1919 (tabular needs
627         to know whether its own cell paste buffer or the one of 
628         texted is newer.
629         * CutAndPaste.C: mark tabular_stack_ clean after copy.
630
631 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
632
633         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
634
635 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
636
637         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
638         use old deleteion algorithm when changetracking is on.
639
640 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
641
642         * messages.C (get): add debug output.
643
644 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
645
646         * text.C (cursorX): fix bug 1965: cursor movement at
647         line end broken in RtL.
648         (drawSelection): fix bug 1970: drawing of single-line 
649         selection broken for RtL.
650
651 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         bug 465.
654
655         * dociterator.h (clear, push_back, pop_back): change from
656         protected to public.
657
658         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
659         and changed to just return the value of the item depth; take a
660         ParIterator as argument; take the itemdepth at outer nesting level
661         in account if necessary; cleanup and comment the code.
662         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
663         and changed to just return true if reset is needed; take a
664         ParIterator as argument; cleanup and comment the code.
665         (setCounter): adapt to above changes.
666
667 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * text3.C (dispatch): make debug message optional
670
671 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
674         inset. (bug 1963)
675
676 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
677
678         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
679
680 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
681
682         * text.C (insertChar):
683         * text2.C (deleteEmptyParagraphMechanism): take care whether 
684         a blank has been deleted (in change tracking mode) (bug 1254).
685
686 2005-07-20  John Levon  <levon@movementarian.org>
687
688         * text2.C (insertStringAsLines): remove old dubious code,
689         fixing bug 1939.
690
691 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * MenuBackend.C (expandToc): use Floating::listName() as title of
694         the floats submenus.
695
696 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
697
698         * toc.[Ch]: Do not use translatable strings (bug 1870).
699
700 2005-07-20  John Levon  <levon@movementarian.org>
701
702         * tabular.C: fix 1748 - setting multicolumn adds
703           left line to the first cell
704
705 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
706
707         bug 1920
708         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
709         pars in one go.
710
711 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
712
713         * messages.C: supress some lyxerr messages
714
715 2005-07-18  Juergen Vigna  <jug@lyx.org>
716
717         * text.C (drawSelection): honor boundary when asking for cursorX.
718
719 2005-07-17  José Matos  <jamatos@fc.up.pt>
720
721         * tabular.C (recalculateMulticolumns): fix handling of one column
722         tables.
723
724 2005-07-17  Juergen Vigna  <jug@lyx.org>
725
726         * text.C (Delete, backspace): fixed so that paragraph with the
727         same layout can be merged by Delete/Backspace.
728
729 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
730
731         * text.C (readParToken): fix spelling.
732
733 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
734
735         * text2.C: fix counter update for DEPM problem reported by
736         Georg Baum
737
738 2005-07-17  Juergen Vigna  <jug@lyx.org>
739
740         * BufferView_pimpl.C (setBuffer): save/restore the
741         cursor/selection when switching buffers
742
743         * buffer.h: 
744         * buffer.C (saveCursor): add saveDocumentIterators to save the
745         cursor when switching buffer.
746
747 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
748
749         * debug.C: fix typo
750         * buffer.C: clarify message
751         
752 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
753
754         * dociterator.C (DocIterator): fix initialization order
755
756 2005-07-17  Juergen Vigna  <jug@lyx.org>
757
758         * text2.C (cursorHome): 
759         * text.C (drawSelection, cursorX): 
760         * dociterator.C (textRow): add boundary to getRow() call
761
762         * paragraph.C (getRow): implementation of below
763
764         * paragraph.h: add parameter boundary for getRow() function
765
766 2005-07-17  José Matos  <jamatos@fc.up.pt>
767
768         * buffer.C:
769         * bufferparams.[Ch]:
770         * tex-strings.[Ch]: new file format, remove support for a4.sty,
771         a4wide.sty and a4widemargins.
772
773 2005-07-17  Juergen Vigna  <jug@lyx.org>
774
775         * text2.C (cursorLeft): fix one of error
776
777 2005-07-17  Juergen Vigna  <jug@lyx.org>
778
779         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
780                    cursorEnd):
781         more fixes for boundary handling
782
783         * text3.C (dispatch): don't reset cursor if boundary has changed
784         on cursor movement.
785
786 2005-07-16  Juergen Vigna  <jug@lyx.org>
787
788         * text2.C (getColumnNearX): hopefully got it right now,
789         check if we are on column 0 for special case.
790
791 2005-07-16  Juergen Vigna  <jug@lyx.org>
792
793         * text2.C (getColumnNearX): handle special case Newline Inset
794
795         * text.C (singleWidth): Just remove bogus check
796
797 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
798
799         * funcrequest.C (split): avoid reading uninitialized char c
800
801 2005-07-16  José Matos  <jamatos@fc.up.pt>
802
803         * buffer.C:
804         * converter.C:
805         * lyxrc.C:
806         * paper.h:
807         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
808         single papersize variable.
809
810 2005-07-16  Juergen Vigna  <jug@lyx.org>
811
812         * text3.C (dispatch): honor boundary when checking if a cursor
813         movement has been done
814
815         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
816         (setCursor, setCursorIntern): fix cursor movement with boundary
817
818 2005-07-16  Juergen Vigna  <jug@lyx.org>
819
820         * text.C (currentState): output the actual Boundary
821
822 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * factory.C (createInset): fix bad logic for tabular creation
825
826 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
827
828         * lyx_main.C (init): change some reLyX reference to tex2lyx
829
830 2005-07-16  Juergen Vigna  <jug@lyx.org>
831
832         * dociterator.C (DocIterator): initialize boundary
833
834 2005-07-16  Juergen Vigna  <jug@lyx.org>
835
836         * text2.C (getColumnNearX): Consider rows without trailing blank.  
837
838 2005-07-16  André Pönitz  <poenitz@gmx.net>
839
840         * lyxfont.h: Change order of declarations to give the compiler
841         a better chance to inline things
842
843         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
844         questions on unsaved docs for better scritability
845
846 2005-07-16  André Pönitz  <poenitz@gmx.net>
847
848         * paragraph.h (getChar): remove asserts as the same kind of security
849         can be achieved by using a suitable standard library implementation
850         and the function was in the critical path (25.9% in profiler)
851
852 2005-07-16  Juergen Vigna  <jug@lyx.org>
853
854         * cursor.C (bruteFind2):
855         * bufferview_funcs.C (coordOffset): 
856         * text.C (cursorX,cursorY): Handle cursor position after last char
857         in row before a inset which uses a whole row.
858
859 2005-07-15  José Matos <jamatos@lyx.org>
860
861         * output_plaintext.[Ch] (writeFileAscii): control reference title
862         printing.
863         (asciiParagraph): noparbreak was already deal and was incorrectly
864         used.
865
866 2005-07-15  Juergen Vigna <jug@lyx.org>
867
868         * lyxfunc.C (dispatch): save and restore the cursor after a
869         textclass switch.
870
871 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
872
873         * text.C (backspace): bug 806 for empty keepempty paragraphs we
874         change the layout to default before letting DEPM do its thing.
875
876         * paragraph_funcs.C (breakParagraph): dont reset the layout on
877         keepEmpty paragraphs
878
879         * text.C (setCursorFromCoordinates): add a debug statement
880
881         * text2.C (getColumnNearX): bug 1825 make sure that we don't
882         return a pos that is not on the row
883
884         * output_latex.C (TeXDeeper): get rid of potential dereferencing
885         of past the end iterator
886
887 2005-07-14  André Pönitz  <poenitz@gmx.net>
888
889         * undo.C (recordUndoFullBuffer): implement undo for
890         textclass switches
891
892 2005-07-14  André Pönitz  <poenitz@gmx.net>
893
894         * cursor.C (setSelection): open insets when selection is set there
895         to avoid crashs with cold coord cache
896
897 2005-07-14  André Pönitz  <poenitz@gmx.net>
898
899         * trans_mgr.C (insert): move cursor to the right after inserting
900         a char.
901
902 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
903
904         * BufferView_pimpl.C (update): dampen some of the debug blabbering
905         * factory.C (readInset): ditto
906         * text.C, text2.C: ditto
907
908 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * buffer.C: format incremented to 242. There is no file format per
911         se, but the "frenchb" language has been removed from lib/language
912         and has to be translated to "french" by lyx2lyx.
913
914 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
915
916         * cursor_slice.h, dociterator.h: add some documentation
917         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
918
919 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * text.C (leftMargin): do not add identation to display() style
922         insets, because they are always centered (bug 1293).
923
924 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
925
926         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
927         formatted_time methods in support/lyxtime.
928
929 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
930
931         * toc.[Ch]: new method getGuiName, which is used by the frontends 
932         to set the toc combo (fixes bug 1870). Make TOC string translatable.
933
934 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
935
936         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
937         StableDocIterator const &)
938         * undo.C (recordUndo): use the above instead of cell.size() comparison
939         (fixes bug 1808; instructed by Andr�.
940
941 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
942
943         * cursor_slice.h: 
944         * dociterator.h: Fix the assert when copying rows/cols in math
945
946 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
947
948         * BufferView_pimpl.C:
949         * LyXAction.C:
950         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
951
952         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
953         (findInset): new functions, refactored from goto Inset that return 
954         the position of a certain inset without setting the buffer's cursor
955         (by Jean-Marc); 
956         (gotoInset): rewrite to call findInset and then set the cursor
957         (by Jean-Marc).
958
959 2005-06-16  Angus Leeming  <leeming@lyx.org>
960
961         * lyxrc.C (output, read): wrap all input and output of paths with
962         calls to os::internal_path and os::external_path, respectively.
963         (output): wrap bind_file inside quotes.
964
965         * format.C (view): enable the viewer to use the '$$s' placeholder.
966
967 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
968
969         * LColor.[Ch] (getFromLaTeXName): new
970
971 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
974
975 2005-06-14  Angus Leeming  <leeming@lyx.org>
976
977         * lyx_main.C (init): ensure that the LyX binary dir is the first
978         element in the PATH on non-POSIX builds.
979
980 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
983
984 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * rowpainter.C (paintInset, paintHebrewComposeChar)
987         (paintArabicComposeChar, paintChars): add a LyXFont argument.
988         (paintChars): use getFontSpan to reduce calls to getFont to a
989         minimum; use Paragraph::lookupChange instead of isXXXText.
990         (paintForeignMark): rename LyXFont argument.
991         (paintFromPos): pass a LyXFont object to the various paintXXX
992         methods.
993
994         * FontIterator.C (FontIterator, operator++): use
995         Paragraph::getFontSpan
996
997         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
998         version that returns the font span as a pair.
999
1000 2005-06-09  Angus Leeming  <leeming@lyx.org>
1001
1002         * converter.C (convert): Don't forget "outfile = real_outfile" as
1003         the final step in a conversion where the input and output file names
1004         are the same. Otherwise, future conversion steps won't work...
1005
1006 2005-06-09  Angus Leeming  <leeming@lyx.org>
1007
1008         * lyxsocket.C: remove stub code as it isn't needed by
1009         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1010
1011 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1012
1013         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1014         effectively disabled -x
1015
1016 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1017
1018         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1019         when it actually makes sense.
1020
1021 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1022
1023         * BufferView_pimpl.C: revert to showCursor in connection with
1024         Lars's front-end stack
1025
1026 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1027
1028         * text.C (redoParagraph): move cursor right after a bibitem
1029         has been inserted.
1030
1031         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1032
1033 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1036         error range.
1037
1038 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1039
1040         * BufferView.[Ch] (update):
1041         * BufferView_pimpl.[Ch] (update, metrics):
1042         * dimension.h (operator==):
1043         * lyxfunc.C (dispatch):
1044         * metricsinfo.h (ViewMetricsInfo):
1045         * rowpainter.C (paintText):
1046         * lyxtext.h:
1047         * text.C (redoParagraph):
1048         * text3.C (dispatch): Make LyX only repaint current paragraph in
1049         case of character insert --> speedup. Also fix cursor draw
1050         artifacts
1051
1052 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1055         avoid a crash (bug 1891)
1056
1057 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         Fix bug 1892:
1060
1061         * text2.C (getStringToIndex): constify cur argument.
1062
1063         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1064         argument has been given
1065         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1066         try to invoke LFUN_INSET_APPLY).
1067
1068         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1069         if no inset was created by doInsertInset
1070         (doInsertInset): return true if an inset has been inserted.
1071
1072 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * vspace.C (asGUIName): new method. A version of the space
1075         suitable for showing on screen.
1076
1077 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1078
1079         * MenuBackend.C:
1080         * lyxrc.C: rename "ASCII" to "Plain Text"
1081
1082 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1083
1084         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1085         translate the labelstring.
1086         (setCounter): translate labelstring as needed.
1087
1088         * output_docbook.C (makeCommand): fix expandLabel invokation
1089
1090 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1091
1092         * BufferView.C: fix dialog title
1093
1094 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1095
1096         * lyx_main.C (priv_exec): fix logic error with help from Angus
1097         * lyx_main.C (parse_execute): set is_gui = false and remove now
1098         obsolete comment about a segfault
1099
1100 2005-05-18  Angus Leeming  <leeming@lyx.org>
1101
1102         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1103
1104 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * tabular.[hC]: added setCellInset to fix tabular paste.
1107
1108 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1109
1110         * buffer.C (save): check if destination is writable before trying
1111         to copy a file
1112
1113 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * BufferView_pimpl.C (update): fix processEvents -caused update
1116         recursion bug
1117
1118 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * buffer_funcs.C (setCounter): fix test for numbering of
1121         environments.
1122
1123         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1124         depth correctly; use optional argument when it exists
1125
1126         * lyxtextclass.C: remove unused MaxCounterTags enum
1127         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1128         (max_toclevel, min_toclevel): new methods.
1129
1130         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1131         the smallest depth in toc.
1132
1133         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1134         layouts that should not appear in a table of contents.
1135
1136 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1137
1138         * cursor.h (undispatched, noUpdate): add comments from Andr�
1139 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1140
1141         * lfuns.h:
1142         * LyXAction.C:
1143         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1144
1145 2005-05-07  André Pönitz  <poenitz@gmx.net>
1146
1147         * cursor.[Ch] (leaveInset): new function
1148
1149 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1150
1151         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1152
1153 2005-05-04  Angus Leeming  <leeming@lyx.org>
1154
1155         * lyxfunc.C (getStatus): disable the spell checker dialog if
1156         none of USE_[AIP]SPELL are defined.
1157
1158 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * tabular.C (setWidthOfCell): remove obsolete comment
1161
1162 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1163
1164         * paragraph.C (bibitem):
1165         * buffer_funcs.C (setCounter):
1166         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1167
1168 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1169
1170         * text3.C (getStatus): immediately return after setOnOff
1171
1172         * rowpainter.C: fix drawing of appendix start
1173
1174 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1175
1176         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1177         SwitchBetweenClasses and remove the unused return value.
1178         Handle character styles, too
1179
1180 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * factory.C (createInset): handle undefined character styles
1183
1184 2005-05-02  Angus Leeming  <leeming@lyx.org>
1185
1186         * buffer.C: protect the #include of utime.h with a preprocessor
1187         guard.
1188
1189 2005-05-02  Angus Leeming  <leeming@lyx.org>
1190
1191         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1192         function so that auto-saving works, albeit in a blocking manner.
1193
1194         * Makefile.am: make compilation of the client sub directory, of
1195         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1196         on conditionals set at configure time.
1197
1198         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1199         it can be compiled in its own right but has no-op functionality.
1200
1201         * aspell.C, pspell.C: remove preprocessor guards. The files should
1202         be compiled only if the necessary functionality exists.
1203
1204         * lyxserver.C, lyxsocket.C: disable on Windows.
1205
1206 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * text.C (leftMargin): Fix the parindent use bug (1764)
1209         by dirty trick
1210
1211 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1212
1213         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1214         argument.
1215
1216 2005-04-25  Angus Leeming  <leeming@lyx.org>
1217
1218         * Bidi.[Ch]:
1219         * coordcache.[Ch]:
1220         * ispell.C:
1221         * lyxserver.C:
1222         * mover.C:
1223         * pch.h:
1224         include <config.h> in .C files, not .h ones.
1225         add licence blurb.
1226         protect headers inside preprocessor guards.
1227
1228 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1229
1230         * FuncStatus.h (StatusCodes): document
1231
1232 2005-04-21  André Pönitz  <poenitz@gmx.net>
1233
1234         * FuncStatus.h (enabled, onoff): document
1235
1236 2005-04-19  Angus Leeming  <leeming@lyx.org>
1237
1238         * BufferView_pimpl.C (cursorToggle): no longer test whether
1239         any child processes have been reaped before calling
1240         handleCompletedProcesses().
1241
1242 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1243
1244         * text3.C (dispatch): fix, finally fix, the language problem in
1245         new lyxtexts, without disabling on-the-fly font changes (Helge's
1246         bug report)
1247
1248 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1249
1250         * text3.C (dispatch): set cursor on double/triple click events
1251         (bug 1811)
1252
1253 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1256         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1257
1258         * rowpainter.C (paintFirst): simplify the code a little bit. In
1259         particular, remove the test for secnumdepth.
1260         * text.C (setHeightOfRow): only allocate space for chapter number
1261         when updateCounters provided an actual label, instead of looking
1262         at secnumdepth directly.
1263
1264         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1265
1266         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1267         paragraphs when secnumdepth is large enough or, for environments,
1268         when they are not the first in a sequence.
1269
1270 2005-04-17  Angus Leeming  <leeming@lyx.org>
1271
1272         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1273         containing space and '~' characters with a call to latex_path().
1274
1275 2005-04-17  Angus Leeming  <leeming@lyx.org>
1276
1277         * converter.C (convert): protect all args of convertDefault.sh
1278         script with quotes.
1279
1280 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * text3.C (dispatch): change the layout to "Caption" after inserting
1283         a float.
1284
1285 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * text3.C (dispatch): fix language problem in newly created
1288         textinsets (and main text) in non-english docs
1289
1290 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1291
1292         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1293         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1294         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1295
1296 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1297
1298         * lyxtext.h:
1299         * text.C (metrics):
1300         * text2.C (getFont):
1301         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1302         fonts fix
1303
1304 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1305
1306         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1307         output of \item arguments without trailing text.
1308
1309 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1310
1311         * FontIterator.C (operator*): avoid a copy of the font.
1312
1313 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * rowpainter.C (getFont): fix language bug from previous fix
1316
1317 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1318
1319         * rowpainter.C (RowPainter, getFont): fix font inside inset
1320         (bugs 1766, 1809)
1321
1322 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1325         preventing inserted font, deco, delim insets jumping to start of
1326         surrounding inset.
1327
1328 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * lyxfunc.C (dispatch): translate message before sending it to the
1331         minibuffer.
1332
1333 2005-03-29  Angus Leeming  <leeming@lyx.org>
1334
1335         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1336         to LyX on the command line.
1337
1338 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1339
1340         * vc-backend.C: use QuoteName to protect file names wherever
1341         necessary.
1342
1343 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1344
1345         * buffer.[Ch]:
1346         * BranchList.h: fix bugs 1844,1845: document settings don't
1347         stick
1348
1349 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * lyxrc.C (setDefaults, read, output, getDescription): add support
1352         for tex_allows_spaces.
1353
1354         * exporter.C (Export): allows files in directory containing spaces
1355         if tex_allows_spaces is true.
1356
1357         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1358         output it in double quotes.
1359
1360 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1361
1362         * rowpainter.C: use default text height for drawing change tracker
1363         strikeout lines.
1364
1365 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1366
1367         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1368
1369 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1372         directory is missing.
1373
1374 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1375
1376         * text2.C: fixed the fix, extended to other case.
1377
1378 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1379
1380         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1381
1382 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * text2.C (cursorUp): get rid of a crash
1385         * text.C (x2pos): add an assert
1386
1387 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1390
1391         * text3.C:
1392         * lyxfunc.C:
1393         * dociterator.C: include <boost/current_function.hpp>, which is
1394         needed when assertions are disabled.
1395
1396 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1397
1398         * text2.C: fix for stuck cursor when traversing two
1399         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1400
1401 2005-02-25  Andreas Vox  <avox@arcor.de>
1402
1403         * output_docbook.C (makeParagraph): suppress trailing newline
1404         after a run of paragraphs
1405
1406 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1407
1408         * paragraph.C: fix for confused change tracker when pasting
1409         text that begins with a lineseparator. [bug 1827]
1410         (setChange(0, Change::INSERTED);)
1411
1412         * paragraph_funcs.C: fix for lost changes on triple-paste
1413         in change tracking mode [bug 1827] (par.setChange()).
1414
1415 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1416
1417         * text2.C (updateCounters, setCounter, expandLabel): move to
1418         buffer_funcs.
1419
1420         * buffer_funcs.C (updateCounters): turn into a free standing
1421         function and add a buffer parameter. Remove dead code for tracking
1422         labelstring change.
1423         (setCounter): change into a free-standing function which gets a
1424         dociterator as argument. Use this iterator to fix captions in a
1425         simple way. When no float is found above the caption, use the
1426         labelstring of the caption layout as default.
1427
1428         * text.C (breakParagraph, backspace):
1429         * text2.C (init, setLayout, changeDepth):
1430         * text3.C (dispatch):
1431         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1432         updateCounters.
1433
1434         * dociterator.C (forwardPar): make it much faster by calling
1435         forwardPos() only when really necessary.
1436
1437         * output_docbook.C (makeCommand): adapt to expandLabel move.
1438
1439         * cursor.C: remove unused variable
1440
1441 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1442
1443         * paragraph_funcs.C: fix crash when pasting insets in change
1444         tracking mode [bug 1277] (honour change type in moveItem).
1445
1446 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1447
1448         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1449
1450 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * BufferView.C (setCursor): change to use a DocIterator.
1453         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1454         (putSelectionAt): adapt to BufferView::setCursor change.
1455
1456         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1457         moved here from LyXText and rewritten to use proper cursor
1458         methods. Fixes bug 1787, 616 and 835.
1459
1460         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1461         when inside an inset (part of bug 781).
1462         (dispatch): adapt to change of BufferView::setCursor.
1463         (getStatus, dispatch): handle LFUN_GOTOERROR,
1464         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1465
1466         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1467         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1468         * text3.C (gotoNextInset, gotoInset): removed.
1469
1470 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1473
1474 2005-02-15  Angus Leeming  <leeming@lyx.org>
1475
1476         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1477         can be used meaningfully in a comparison.
1478
1479 2005-02-13  André Pönitz  <poenitz@gmx.net>
1480
1481         * bufferview_funcs.C (coordOffset): improve cursor drawing
1482
1483 2005-02-13  André Pönitz  <poenitz@gmx.net>
1484
1485         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1486         * Cursor.C (dispatch): use fixIfBroken
1487         * lyxfunc.C (getStatus): use fixIfBroken
1488
1489 2005-02-15  Angus Leeming  <leeming@lyx.org>
1490
1491         * lyx_main.C (error_handler):
1492         * lyxfunc.C:
1493         * lyxrc.C (setDefaults):
1494         s/GetEnv/getEnv/.
1495         #include "environment.h".
1496
1497         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1498
1499 2005-02-15  Angus Leeming  <leeming@lyx.org>
1500
1501         * lyxserver.C (startPipe): squash MSVC warning "local variable
1502         'fd' used without having been initialized".
1503
1504 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1505
1506         * BufferView_pimpl.C: revert accidental commit.
1507
1508 2005-02-14  André Pönitz  <poenitz@gmx.net>
1509
1510         * dociterator.[Ch]: new member forwardPosNoDescent(),
1511         which doesn't enter nested insets.
1512         * text2.C (setFont): use forwardPosNoDescent() instead
1513         of ForwardPos() (fixes crash on font change).
1514
1515 2005-02-13  Angus Leeming  <leeming@lyx.org>
1516
1517         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1518         only if lyxrc.path_prefix is not empty.
1519
1520 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1521
1522         * bufferparams.C (readGraphicsDriver): prevent crash
1523
1524 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1525
1526         * text2.C (setCounter): check for inInset() == 0
1527
1528 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1531         but use update() to get correct screen display; use convert
1532         instead of istringstream.
1533         (getStatus): handle LFUN_GOTO_PARAGRAPH
1534
1535         * lyxfunc.C (dispatch, getStatus): do not handle
1536         LFUN_GOTO_PARAGRAPH here.
1537
1538 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1539
1540         * text3.C (dispatch): size() -> depth()
1541
1542         * text2.C: remove some debug output
1543
1544         * paragraph.C: ws changes only
1545
1546         * lyxfunc.C (getStatus): size() -> depth()
1547
1548         * dociterator.h (clear, push_back, pop_back, internalData,
1549         operator[], resize, empty): new functions
1550         Make StableDocIterator and operator== be friends. Don't inherit
1551         from std::vector use a privat class variable slices_ instead.
1552         Modify to fit.
1553
1554         * dociterator.C: update because of not inheriting from std::vector
1555         anymore. Call explictly to slices_ instead. Use depth() instead of
1556         size() and top() instead of back()
1557
1558         * cursor.C: chagne size() -> depth and back() -> top(). Also
1559         remove some direct operator[](i) calls in favour of foo[i]
1560         (getFont): remove some dead code
1561
1562         * bufferview_funcs.C (coordOffset): size() -> depth()
1563
1564         * buffer.C: ws changes only
1565
1566         * CutAndPaste.C (eraseSelection): back() -> top()
1567
1568         * BufferView_pimpl.C (selectionRequested): back() -> top()
1569
1570         * BufferView.C (setCursor): size() -> depth()
1571
1572 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1573
1574         * text3.C (cursorPrevious): return true if depm changed something
1575         (cursorNext): ditto
1576         (dispatch): rename sl to oldTopSlice, remove moving use the new
1577         NoUpdate func attrib instead. Make sure that needsUpdate is set
1578         for function that have NoUpdate, but where depm might have changed
1579         the buffer anyway.
1580
1581         * text2.C (cursorLeft): make us return true if depm changed
1582         something
1583         (cursorRight): ditto
1584         (cursorUpParagraph): ditto
1585         (curosrDownParagraph): ditto
1586         (cursorUp, cursorDown): ditto, make sure to read comments in code
1587         (deleteEmptyParagraphMechanism): remove an assert, also return
1588         true if just a single char was deleted.
1589
1590         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1591         cursor that we modify, to avoid modifying an active cursor before
1592         we call setCursor. This allows depm to run. Also return true if
1593         depm deleted something.
1594
1595         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1596         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1597         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1598         something was changed in the buffer because of them (ie. depm run)
1599
1600         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1601         debug messages. Make update by default be false. Make sure that
1602         the result of update is retained throught several calls down to
1603         dispatch.
1604
1605         * LyXAction.h: add a new func_attrib: NoUpdate
1606
1607         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1608         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1609         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1610         and LFUN_WORDLEFT
1611         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1612
1613 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1614
1615         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1616         bv_->owner(), bv_->buffer() by direct references to the private
1617         members.
1618         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1619         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1620         (fitCursor): center() is in BufferView::Pimpl.
1621         (getStatus, trackChanges, dispatch): no need for a temporary buf
1622         variable
1623         (fitCursor, workAreaDispatch): use workarea().workheight()
1624
1625 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1626
1627         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1628
1629 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1630
1631         * buffer.C: format up to 241.
1632         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1633         break if pasting into ERT
1634         * lyxfunc.C (getStatus): suppress mathpanel and
1635         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1636
1637 2005-02-01  Angus Leeming  <leeming@lyx.org>
1638
1639         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1640
1641 2005-02-01  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1644         calling fs::is_directory().
1645
1646 2005-01-31  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyx_main.C (priv_exec): specify explicitly the relative location
1649         of the top level build directory when run in-place.
1650
1651 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1652
1653         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1654         LyXText containing the cursor, not the top-level one.
1655
1656         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1657         true.
1658         (insertStringAsLines): rename par to pit; use temporary variable
1659         par to hold a Paragraph; do not store par.layout() in a variable,
1660         since the pointer may die when breaking paragraphs; pass pars to
1661         breakParagraph() instead of Buffer::paragraphs().
1662
1663 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1664
1665         * lyxlex_pimpl.h: #include <fstream>.
1666
1667         * BufferView.[Ch] (getLyXText): add a const version.
1668
1669         * BufferView_pimpl.C: add debug aids.
1670
1671         * RowList_fwd.h:
1672         * buffer.h:
1673         * lyxrow.h:
1674         * paragraph_funcs.h: add commentary explaining what the class does.
1675
1676
1677         * coordcache.[Ch]: add lots of commentary.
1678         (startUpdating, doneUpdating): debug aids.
1679         (arrays, insets, parPos, getParPos): accessors to private data.
1680
1681         * cursor_slice.[Ch] (text): add a const version.
1682         * dociterator.[Ch] (text, innerText): add const versions.
1683
1684         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1685         bool.
1686
1687         * paragraph.C (getRow, pos2ros): add asserts.
1688
1689         * paragraph.h: add commentary. Lots of.
1690
1691         * paragraph.[Ch] (metrucs, draw): removed.
1692
1693         * cursor.C:
1694         * rowpainter.[Ch]: const-correct changes.
1695
1696         * text.C: various obvious clean-ups. Removal of ancient cruft.
1697         Bug fixes, even.
1698
1699 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * vc-backend.C (find_file): rewrite to use boost.filesystem
1702         (scanMaster): ditto
1703
1704         * main.C (main): set default name check for boost.filesystem to
1705         no check
1706
1707         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1708         (open): ditto
1709         (doImport): ditto
1710         (actOnUpdatedPrefs): ditto
1711
1712         * lyx_main.C (init): rewrite to use boost.filesystem
1713         (queryUserLyXDir): ditto
1714
1715         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1716         (getContentsOfAsciiFile): ditto
1717
1718         * lastfiles.C (readFile): rewrite to use boost.filesystem
1719
1720         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1721
1722         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1723         (loadLyXFile): ditto
1724
1725         * buffer.C (Buffer): adjust for destroydir
1726         (getLogName): rewrite to use boost.filesystem
1727         (setFileName): ditto
1728         (save): use fs::copy_file (from fs_extras)
1729
1730         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1731
1732         * LaTeX.C (run): rewrite to use boost.filesystem
1733         (scanAuxFiles): ditto
1734         (handleFoundFile): ditto
1735
1736 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1737
1738         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1739
1740         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1741
1742 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1743
1744         * lyxlayout.[Ch]: change some vars from float to double
1745
1746         * buffer.C (readFile): make a local var const
1747
1748         * Several files: use convert<> instead of atoi,strToXXX and friends
1749
1750 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1751
1752         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1753         holds the contents of packages.lst. New functions getAvailable
1754         and isAvailable to parse and check that list, resp.
1755
1756         * LyXAction.C:
1757         * lfuns.h:
1758         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1759
1760         * bufferparams.[Ch]: new param output_changes.
1761
1762         * Buffer.C: increase file format to 240.
1763         Use output_changes and isVailable.
1764
1765         * changes.[Ch]:
1766         * paragraph.C:
1767         * paragraph_pimpl.C: Use output_changes and isVailable.
1768
1769 2005-01-23  Angus Leeming  <leeming@lyx.org>
1770
1771         * output_latex.C: #include "insetbibitem.h", rather than
1772         forward declare function bibitemWidest.
1773
1774 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1775
1776         * lyx_main.C (init): make it compile on the Mac.
1777
1778 2005-01-20  Angus Leeming  <leeming@lyx.org>
1779
1780         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1781         (setLyXMisc): (char string literal) != (char string literal) is
1782         performing a comparison on the addresses. Convert one operand
1783         explicitly to string to guarantee expected behaviour.
1784         From MSVC warning.
1785
1786 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1787
1788         * buffer.C:
1789         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1790
1791         * output_plaintext.C: remove unneeded #include gzstream.h.
1792
1793 2005-01-20  Angus Leeming  <leeming@lyx.org>
1794
1795         * SpellBase.h: rename some of the elements of the Result enum.
1796
1797         * aspell_local.h:
1798         * ispell.h:
1799         * pspell.h:
1800         * aspell.C (check):
1801         * ispell.C (check):
1802         * pspell.C (check): ditto
1803
1804 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1805
1806         * buffer.C: add #include <fstream>.
1807
1808         * lyx_main.C (init): Compile fix.
1809
1810         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1811
1812 2005-01-20  Angus Leeming  <leeming@lyx.org>
1813
1814         * mover.h: change commentary to reflect the changed meaning of
1815         the $$s placeholder.
1816
1817 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1818
1819         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1820
1821         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1822
1823 2005-01-20  Angus Leeming  <leeming@lyx.org>
1824
1825         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1826         printing diagnostic data by not dereferecing an iterator past the
1827         end.
1828
1829 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1830
1831         * buffer.C (readHeader): use "&&" rather than "and".
1832
1833         * lyxserver.h (inPipeName, outPipeName): make these const.
1834
1835 2005-01-19  Angus Leeming  <leeming@lyx.org>
1836
1837         * lyx_main.C (error_handler, init): protect SIGHUP with
1838         #ifdef SIGHUP guards.
1839
1840 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1841
1842         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1843
1844 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1845
1846         * text.C (setHeightOfRow): add a margin at the top and bottom of
1847         the document (bug 1761)
1848
1849 2005-01-17  Angus Leeming  <leeming@lyx.org>
1850
1851         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1852         with "python ". Workaround for a brain-dead Windows.
1853
1854 2005-01-16  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1857         for MacOSX and Windows to use prependEnvPath.
1858         Strip out the hard-coded block to add elements to the PATH for
1859         MacOSX and replace it with a call to prependEnvPath using the
1860         contents of LyXRC::path_prefix.
1861         (queryUserLyXDir): strip out the code to run reconfigure, instead
1862         returning a boolean indicating the necessity to do so.
1863         (reconfigureUserLyXDir): contains the code to reconfigure the
1864         user support directory. Is now called after the various LyXRC data
1865         files have been read.
1866
1867         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1868
1869 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1870
1871         * converter.[Ch] (convert): take a new parameter try_default. Use
1872         a default converter (imagemagick) if try_default is true.
1873
1874 2005-01-13  Angus Leeming  <leeming@lyx.org>
1875
1876         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1877         os::cygwin_path_fix.
1878         (write): output LyXRC::cygwin_path_fix as necessary.
1879
1880 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1881
1882         * lyxrc.h:
1883         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1884
1885 2005-01-12  Angus Leeming  <leeming@lyx.org>
1886
1887         * lyx_main.C (init): set the PATH variable to include the
1888         directory containing the LyX binary when running on Mac or Windows.
1889
1890 2005-01-12  Angus Leeming  <leeming@lyx.org>
1891
1892         * lyx_main.C (init): remove cruft that purports to set the locale
1893         dir. It doesn't and is not needed anyway.
1894
1895 2005-01-10  Angus Leeming  <leeming@lyx.org>
1896
1897         * Makefile.am: remove the lyx_main.C special casing.
1898
1899         * BufferView_pimpl.C:
1900         * bufferlist.C:
1901         * exporter.C:
1902         * lyx_cb.C:
1903         * lyx_main.C:
1904         * lyxfunc.C:
1905         * messages.C: use support/package.h to provide the paths to the
1906         various directories used by LyX.
1907
1908 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1909
1910         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1911         layout if pasting into an empty paragraph)
1912
1913 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1914
1915         * tex-accent.C: add <string>
1916
1917 2005-01-06  José Matos  <jamatos@lyx.org>
1918
1919         * ParagraphParameters.C (write): put every parameter in its own line.
1920         * paragraph.C (write): reduce number of consecutive empty lines exported.
1921         * buffer.C (LYX_FORMAT): increase file format to 239.
1922
1923 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * everywhere: change support/tostr.h -> support/convert.h
1926
1927         * tabular.C: make all write_attributes templates, tostr -> convert
1928
1929         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1930         (emptyTag): and -> &&, and fix type for ret from getChar
1931         (getFirstWord): fix type for ret from getChar
1932         (onlyText): and -> &&
1933         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1934         getChar
1935
1936         * toc.C (goTo, action):
1937         * text3.C (dispatch):
1938         * text.C (currentState):
1939         * tex-accent.C (DoAccent):
1940         * sgml.C:
1941         * lyxrc.C:
1942         * lyxfunc.C (menuNew):
1943         * lyxfinc.C (replace):
1944         * counters.C (laberItem):
1945         * bufferview_funcs.C (font2string):
1946         * bufferparams.C (writeFile):
1947         * buffer.C (readFile):
1948         * Spacing.C (set):
1949         * MenuBackend.C: tostr -> convert
1950
1951         * LaTeX.C (runMessage): fix format
1952         (scanAuxFiles): tostr -> convert
1953
1954         * BufferView_pimpl.C (savePosition): fix format
1955         (restorePosition): ditto
1956         (dispatch): ditto
1957
1958 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1959
1960         * Spacing.[Ch]: New method getValueAsString().
1961
1962         * Spacing.[Ch]:
1963         * bufferparams.C:
1964         * ParagraphParameters.C:
1965         * lyxlayout.C:
1966         * text.C:
1967         * text3.C: store/read spacing value as string.
1968
1969         * rowpainter.C: change float value (spacing_val) to double.
1970
1971         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1972         broken custom document spacing).
1973
1974 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1977         namespace, also more use of temp references and const
1978
1979         * cursor.[Ch] (getStatus): move to lyxfunc.C
1980
1981         * bufferparams.C: reformat slightly
1982
1983         * bufferview_funcs.C (font2string): constify arg
1984
1985         * changes.C:
1986         * converter.C:
1987         * counters.C:
1988         * bufferlist.C:
1989         * buffer_funcs.C: (many funcs): constify arg on function
1990         definitions, also make more local vars const, also add ASSERTS on
1991         pointer args.
1992
1993         * buffer.C (LYX_FORMAT): put const in correct place
1994         (many funcs): constify arg on function definitions, also make
1995         more local vars const
1996
1997         * aspell_local.h: remove "struct" from typdef setup
1998
1999         * aspell.C (check): make word_ok const
2000         (nextMiss): simplify slightly
2001         (error): ditto
2002
2003 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2004
2005         * lyxrc.[Ch]: store all float values as strings.
2006         use int (not float) for lyxrc.dpi.
2007
2008 2005-01-04  Angus Leeming  <leeming@lyx.org>
2009
2010         * lyx_cb.C (Reconfigure):
2011         * lyx_main.C (queryUserLyXDir):
2012         to run the <system_lyxdir>/configure correctly on Windows, prefix
2013         the path to the script with "sh " when generating the string that
2014         is passed to system().
2015
2016 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2017
2018         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2019
2020 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * lyxlength.C (asLatexString): get rid of setprecision
2023
2024 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2025
2026         * text2.C (setLayout): remove unused variable endpit.
2027         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2028
2029         * paragraph.C (onlyText): remove unused variable style.
2030
2031         * cursor.C (bruteFind): remove unused variables beg and end.
2032
2033         * Makefile.am (dist_noinset_DATA): not needed anymore
2034
2035         * cheaders/*: remove.
2036
2037 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2038
2039         * text3.C: fix LFUN_MATH_MODE.
2040
2041 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * buffer_funcs.C (countWords): new function. Counts words between
2044         two iterators.
2045
2046         * BufferView_pimpl.C (getStatus, dispatch): handle
2047         LFUN_WORDS_COUNT.
2048
2049         * LyXAction.C (init):
2050         * lfuns.h: add LFUN_WORDS_COUNT.
2051
2052 2004-12-19  Angus Leeming  <leeming@lyx.org>
2053
2054         * buffer.C (save): s/slashify_path/internal_path/.
2055
2056 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2057
2058         * lyxfind.C (findChange): do not search for end of pars, because
2059         the change tracker cannot handle this (fixes bug 1719).
2060
2061 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * paragraph.[Ch] (autoBreakRows): remove
2064
2065         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2066
2067         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2068         avoid using the paragraph one
2069
2070         * text2.C (LyXText, insertStringAsLines): adjust
2071
2072 2004-12-16  Angus Leeming  <leeming@lyx.org>
2073
2074         * bufferlist.C:
2075         * lyx_main.C:
2076         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2077
2078 2004-12-14  Angus Leeming  <leeming@lyx.org>
2079
2080         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2081
2082         * bufferlist.C (emergencyWrite):
2083         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2084         GetEnvPath("HOME").
2085
2086 2004-12-14  Angus Leeming  <leeming@lyx.org>
2087
2088         * main.C: (main): no longer pass pointers to os::init.
2089
2090 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2093         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2094
2095 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * lyxfunc.C:
2098         * text3.C: remove selection_possible global flag
2099
2100 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * text2.C (getSelectionSpan): remove
2103         (changeDepth, changeDepthAllowed): adjust
2104
2105 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2106
2107         * Makefile.am (BOOST_LIBS): use boost variables
2108
2109 2004-12-03  José Matos  <jamatos@lyx.org>
2110
2111         * buffer.C: format up to 238.
2112
2113 2004-12-03  José Matos  <jamatos@lyx.org>
2114
2115         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2116
2117 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2118
2119         * cursor.C (goUpDown): remove call to idxUpDown2
2120
2121 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2122
2123         * tabular.[Ch]: use size_t-like types for cell, row and column
2124         indices
2125
2126 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * lyxfunc.C (getStatus): do not lose previous information when
2129         calling BufferView::getStatus; do not set a default "Command
2130         disabled" message at the beginning, but just before returning.
2131
2132 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2133
2134         * cursor.h (getStatus): add better comment from src/cursor.C
2135
2136 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2137
2138         * text3.C (getStatus): return false when the lfun is not handled
2139
2140 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2141
2142         * broken_headers.h: remove
2143
2144         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2145
2146 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2149         offset_ref accessors
2150
2151         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2152         top_y_, merge fitcursor with update
2153         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2154         coord scheme
2155         (metrics): introduce
2156         (workAreaDispatch): adapt to new coord scheme
2157         (redoCurrentBuffer): remove
2158
2159         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2160
2161         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2162         CurStatus enum.
2163
2164         * coordcache.[Ch]: add paragraph cache and helpers
2165
2166         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2167         adjust everywhere
2168
2169         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2170         (targetX, setTargetX): introduce
2171
2172         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2173         baseline -> ascent, as the rest of lyx
2174
2175         * lyxtext.h: remove redoParagraphs, updateParPositions,
2176         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2177         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2178         have ascent/descent (ascent is ascent of first par)
2179
2180         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2181         step of BufferView
2182
2183         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2184
2185         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2186
2187         * pariterator.C: fix infinite loop introduced in par->pit renaming
2188
2189         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2190         in insets and LyXText, draw two off-screen paragraphs using
2191         NullPainter, and adapt to new coord scheme
2192
2193         * text.C:
2194         * text2.C:
2195         * text3.C: adapt lfun handlers to the new coord scheme, which
2196         means: there's only guaranteed coord information for onscreen pars
2197         plus one above and one below. This implies that one can do search
2198         from y coordinates in the range [-1,workHeight]
2199
2200 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2201
2202         * rename a lot of InsetOld to InsetBase
2203
2204 2004-11-25  Angus Leeming  <leeming@lyx.org>
2205
2206         * BufferView_pimpl.C:
2207         * lyx_cb.C:
2208         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2209
2210 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2211
2212         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2213         call BufferView::getStatus if LCursor::getStatus did nothing
2214         (setStatusMessage, getStatusMessage): removed.
2215
2216         * FuncStatus.C (message): new methods. Used to provide an error
2217         message indicating why a command is disabled.
2218         (clear, |=, FuncStatus): update for message.
2219
2220 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2221
2222         * lyxfunc.C (dispatch): always call sendDispatchMessage
2223
2224 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * BufferView.C:
2227         * BufferView_pimpl.C:
2228         * CutAndPaste.C:
2229         * FontIterator.C:
2230         * buffer.C:
2231         * cursor.C:
2232         * cursor_slice.[Ch]:
2233         * dociterator.[Ch]:
2234         * lyxfind.C:
2235         * paragraph_funcs.C:
2236         * pariterator.C:
2237         * rowpainter.C:
2238         * text.C:
2239         * text2.C:
2240         * text3.C:
2241         * undo.C: par->pit renaming
2242
2243 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2244
2245         * tabular.C (cellstruct): use initialization, store a shared_ptr
2246         to insettext instead of the insettext directly, adjust to fit.
2247         (operator=):  new function
2248         (swap): new function
2249         (rowstruct): use initialization
2250         (columnstruct): use initialization
2251         (ltType): use initialization
2252
2253
2254         * lyxlength.h (swap): new function
2255
2256         * LColor.[Ch] (operator=): use the common semantics
2257
2258 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2259
2260         * lyxfind.C (findNextChange): update the bufferview after setting
2261         the selection.
2262
2263 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2266         number of InsetOptArgs has already been inserted.
2267
2268         * output_latex.C (latexOptArgInsets): new method. This outputs all
2269         the optarg insets, up to the limit defined in the layout file.
2270         (optArgInset): removed
2271         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2272
2273 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * paragraph.C (isLetter): remove special spellchecker-related
2276         code; return true also for digits
2277         (isWord, isKomma): remove
2278
2279         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2280         * lyxfind.C (MatchString()): use isLetter instead of isWord
2281
2282 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2283
2284         * pariterator.h (operatir=): comment out un-implemented member
2285         function.
2286
2287         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2288         static cast.
2289
2290 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * lyxfont.h: include LColor.h to satisfy concept checks.
2293
2294 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * pariterator.h: add typdefs for value_type, difference_type,
2297         pointer and reference to satisfy concept checks. Also add default
2298         constructor for same reason.
2299
2300         * pariterator.C (operator++): add post-increment operator to
2301         satisfy concept checks.
2302
2303         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2304         checks.
2305
2306         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2307
2308         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2309         checks. Also rename base_type to BaseType to follow naming
2310         standard better.
2311
2312         * FloatList.h: include Floating.h to satisfy concept checks.
2313
2314 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * lyxfunc.C (getStatus): when the origin of the request is menu or
2317         toolbar, and the LyXView does not have focus, do as if there was
2318         no buffer (bug 1720)
2319
2320         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2321         FuncRequest to individual entries of LFUN_SEQUENCE
2322
2323 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         * output_latex.C (TeXOnePar): override runparams.moving_arg
2326         according to the needprotect value of the current paragraph (bug
2327         1739)
2328
2329         * paragraph.C (simpleTeXOnePar): no need to override
2330         runparams.moving_args here
2331
2332 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2333
2334         * vspace.C: fix off-by-one-error, related to fix #1682
2335
2336 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2337
2338         * lengthcommon.C: a more general fix for bug 1682
2339
2340 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2341
2342         * text.C (backspace): fix crash
2343
2344 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2345
2346         * format.[Ch] (getFormatFromFile): new method
2347         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2348
2349 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2352
2353 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * lyxfunc.C (dispatch): remove the verbose argument
2356         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2357         instead
2358
2359         * kbmap.C (defkey): set the origin of func to KEYBOARD
2360
2361         * MenuBackend.C (MenuItem):
2362         * ToolbarBackend.C (add): set the origin of func to UI
2363
2364         * funcrequest.[Ch]: add origin member, which indicates which part
2365         of LyX requests an action
2366
2367 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2368
2369         * converter.C (move): don't lie in the error message
2370         * converter.h (isReachable, move): document
2371
2372 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * buffer.C: remove unused using lyx::support::atoi
2375         * paragraph_funcs.C: ditto
2376
2377 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * bufferlist.C (exists): use bind and equal_to instead of
2380         compare_memfun
2381         (getBuffer): ditto
2382         * lyxtextclasslist.C (NumberOfClass): ditto
2383
2384         * cursor.C (insert): use for_each instead of explicit for loop
2385
2386         * bufferlist.C (getFileNames): use std::transform and
2387         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2388
2389         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2390         for loop
2391
2392         * buffer.C (changeLanguage): use for_each instead of explicit for
2393         loop
2394         (hasParWithID): implement using getParFromID
2395
2396         * LaTeXFeatures.C: ws change only
2397
2398         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2399         to cleanup a bit.
2400
2401         * BufferView_pimpl.C (trackChanges): use for_each instead of
2402         expilicit for loop
2403
2404 2004-11-04  André Pönitz  <poenitz@gmx.net>
2405
2406         * undo.h:
2407         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2408
2409         * dociterator.C (asDocIterator): use hard assert again.
2410
2411 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * lyxlength.C (asLatexString): rewrite so that it does not use
2414         snprintf anymore
2415
2416 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * text3.C (specialChar, dispatch): make sure cursor moves to the
2419         right after inserting an inset
2420
2421 2004-11-02  José Matos  <jamatos@lyx.org>
2422
2423         * output_docbook.C (docbook):
2424         * paragraph.C (getID):
2425         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2426         garantee that the output is always legal.
2427
2428         * tabular.C (docbook):
2429         * outputprams.[Ch]: remove mixed contents.
2430
2431 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2432
2433         * text2.C (setCounter): prevent endless loop
2434
2435 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2436
2437         * exporter.C (copyFile): use the mover instead of support::copy()
2438         * exporter.C (Export): pass format and latex name to copyFile()
2439         * exporter.h (addExternalFile): document
2440         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2441
2442 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2443
2444         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2445
2446 2004-10-30  José Matos  <jamatos@lyx.org>
2447
2448         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2449         text and no inset or font change. This allows to use CDATA
2450         sections just for the whole paragraph.
2451
2452 2004-10-30  José Matos  <jamatos@lyx.org>
2453
2454         * paragraph.C (getFirstWord): remove unused variable.
2455
2456 2004-10-30  José Matos  <jamatos@lyx.org>
2457
2458         * paragraph.C (getFirstWord): the content should always be escaped
2459         there.
2460         (simpleDocBookOnePar):
2461         * output_docbook.C (makeEnvironment): replace reference to CDATA
2462         to style pass_thru.
2463
2464 2004-10-30  José Matos  <jamatos@lyx.org>
2465
2466         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2467
2468 2004-10-30  José Matos  <jamatos@lyx.org>
2469
2470         * output_docbook.C (makeParagraphs):
2471         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2472         standard paragraph has only a given type of content drop the wrapper.
2473
2474 2004-10-29  José Matos  <jamatos@lyx.org>
2475
2476         * output_docbook.C (makeEnvironment):
2477         * sgml.C (openTag):
2478         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2479
2480 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2481
2482         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2483         (cleanID): sanitize any id.
2484
2485 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2486
2487         * buffer.C, lyxlex_pimpl.C:
2488         * lyxlex_pimpl.C (setFile):
2489         s/getExtFromContents/getFormatFromContents/
2490
2491 2004-10-28  José Matos  <jamatos@lyx.org>
2492
2493         * output_docbook.C (makeEnvironment): move id to broadest possible
2494         scope.
2495
2496         * sgml.C (openTag): apply substitution of <> for all attributes.
2497
2498 2004-10-28  José Matos  <jamatos@lyx.org>
2499
2500         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2501         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2502         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2503
2504         * sgml.[Ch]: new version for open and closeTag for paragraph and
2505         for strings. Now they handle the ids of paragraphs.
2506
2507 2004-10-26  Angus Leeming  <leeming@lyx.org>
2508
2509         * Makefile.am: add mover.[Ch].
2510
2511         * converter.C (convert, move): use the new Movers to move external
2512         files to the temp directory.
2513
2514         * lyx_main.C (init): ensure that the global system_movers data
2515         is initialised.
2516
2517         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2518         preferences file.
2519
2520         * mover.[Ch]: new files, defining a Mover as a utility to move an
2521         external file between directories and, if necessary, manipulate this
2522         file using a helper script.
2523
2524 2004-10-25  José Matos  <jamatos@lyx.org>
2525
2526         * output_docbook.C (makeCommand): merge two if's that tested the
2527         same condition.
2528
2529 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2530
2531         * sgml.C (escapeString): fix warning in a better way
2532
2533 2004-10-25  José Matos  <jamatos@lyx.org>
2534
2535         * sgml.C (escapeString): import the require boosts header file for
2536         tie, and avoid a signed unsigned comparison.
2537
2538 2004-10-25  José Matos  <jamatos@lyx.org>
2539
2540         * sgml.h: add #include <string>
2541
2542 2004-10-25  José Matos  <jamatos@lyx.org>
2543
2544         * sgml.[Ch] (escapeString): new function to escape all the string.
2545
2546 2004-10-24  José Matos  <jamatos@lyx.org>
2547
2548         * paragraph.[Ch] (getFirstWord): new function to get the first
2549         word. Useful for description.
2550         (simpleDocBookOnePar): remove depth argument, add another that
2551         says where to start the paragraph.
2552
2553         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2554         use the new functions to fix cleanly the support for descriptions.
2555
2556 2004-10-24  José Matos  <jamatos@lyx.org>
2557
2558         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2559         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2560         * output_linuxdoc.C (linuxdocParagraphs):
2561         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2562         add buffer as argument.
2563
2564 2004-10-24  José Matos  <jamatos@lyx.org>
2565
2566         * output_docbook.C (makeEnvironment, searchEnvironment): place
2567         CDATA inside paragraphs and fix scope for listitems.
2568
2569 2004-10-24  José Matos  <jamatos@lyx.org>
2570
2571         * output_docbook.C: remove using statement for stack.
2572
2573 2004-10-23  José Matos  <jamatos@lyx.org>
2574
2575         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2576         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2577         docbook. The new scheme is recursive and makes use of iterators, the
2578         same as latex export works.
2579         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2580         directly with the paragraph contents. This code was moved up to
2581         output_docbook.C (docbookParagraphs).
2582         * sgml.C (openTag, closeTag): removed unneeded newlines.
2583         (closeEnvTags) removed.
2584
2585 2004-10-23  André Pönitz  <poenitz@gmx.net>
2586
2587         * undo.C (textUndoOrRedo):
2588         * dociterator.C (asDocIterator): work around crash
2589
2590         * cursor.C (getStatus): replace ASSERT by more verbose error message
2591           and manual correction of the problem. Should increase stability
2592           while providing more sensible information.
2593
2594 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2595
2596         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2597
2598         * bufferlist.C (previous, next): new methods
2599
2600         * lfuns.h:
2601         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2602
2603 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2604
2605         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2606         entities to preamble.
2607
2608 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2609
2610         * messages.C (Pimpl): strip off translation context information
2611
2612 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2613
2614         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2615         the cursor is correct (bug 1694)
2616
2617 2004-10-13  José Matos  <jamatos@lyx.org>
2618
2619         * output_docbook.C (docbookParagraphs): fix closing tags in the
2620         end of the document.
2621
2622 2004-10-09  José Matos  <jamatos@lyx.org>
2623
2624         * buffer.C: format up to 237.
2625         * bufferparams.C (write): use tostr to convert booleans to strings.
2626
2627 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2628
2629         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2630
2631 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2632
2633         * LaTeX.C: implement use of babel language in xindy.
2634
2635 2004-10-05  José Matos  <jamatos@lyx.org>
2636
2637         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2638         Add new translators to help reading and writing the lyx file.
2639
2640 2004-10-05  José Matos  <jamatos@lyx.org>
2641
2642         * ParagraphParameters.C (read):
2643         * text.C (readParToken): replace nexToken by more appropriate lex
2644         methods.
2645
2646 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2647
2648         * LaTeX.C (runMakeIndex):
2649         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2650         (usually 'makeindex') configurable.
2651
2652         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2653         with a variable rather than with a number.
2654
2655 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2656
2657         * output_latex.C (TeXOnePar): make sure font setting is the first
2658         thing that gets output (and the last at the end). Should fix bug
2659         1404.
2660
2661 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * pch.h: use proper signal include
2664
2665         * LaTeX.h: Use preferred calling of Boost.Signal
2666         * buffer.h: ditto
2667
2668 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * pch.h: dont include <boost/function/function0.hpp>
2671
2672         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2673
2674         * paragraph_pimpl.h: remove usage of ShareContainer
2675
2676         * paragraph_pimpl.C: remove initialization of ShareContainer.
2677
2678 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2679
2680         Fix bug #1666
2681
2682         * BufferView.C (putSelectionAt): change the semantics when
2683         backwards == true: now, this just swaps cursor and anchor wrt the
2684         forward case
2685
2686         * BufferView.h (putSelectionAt): add some documentation
2687
2688         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2689         make sure backwardChar is done at least once (to avoid getting
2690         stuck)
2691         (findNextChange): use putSelectionAt in the forward direction
2692         (operator()): use Paragraph::isWord
2693
2694 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * Spacing.C (set): c_str fix
2697
2698 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2699
2700         * lyx_cb.C (Reconfigure): quote the name of configure script in
2701         case it contains spaces
2702
2703 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * client: new dir
2706
2707         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2708         (BOOST_LIBS): use top_buildir when looking for the file
2709
2710 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2711
2712         * pch.h: do not use include boost/format.hpp, multiple symbols
2713                 will result (gcc bug)
2714
2715
2716 2004-08-23  José Matos  <jamatos@lyx.org>
2717
2718         * bufferparams.C (readToken): fix reading of the author field.
2719
2720 2004-08-20  José Matos  <jamatos@lyx.org>
2721
2722         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2723
2724 2004-08-20  José Matos  <jamatos@lyx.org>
2725
2726         * lyxlex.[Ch] (findToken): remove function.
2727
2728         * ParagraphParameters.C (findToken):
2729         * bufferparams.C (findToken): replace call for previous function
2730         with local copy. This local function has one more argument, the
2731         read string argument.
2732
2733 2004-08-16  José Matos  <jamatos@lyx.org>
2734
2735         * ParagraphParameters.C (write):
2736         * Spacing.C (writeFile):
2737         * bufferparams.C (writeLaTeX):
2738         * lyx_cb.C (Reconfigure):
2739         * paragraph.C (write):
2740         * tabular.C (write): remove unnecessary space at end of line.
2741
2742
2743 2004-08-16  José Matos  <jamatos@lyx.org>
2744
2745         * text.C (readParagraph): remove debug message.
2746
2747 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2748
2749         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2750         crash
2751
2752         * output_plaintext.C (asciiParagraph): set depth correctly
2753
2754         * outputparams.h: add member depth
2755
2756         * paragraph_funcs.C (ownerPar): remove.
2757
2758         * text2.C (setCounter): remove first_pit; comment out some
2759         non-working code that uses ownerPar
2760
2761         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2762         uses ownerPar
2763
2764 2004-08-16  José Matos  <jamatos@lyx.org>
2765
2766         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2767         For the same level of importance use the same chanel to report problems.
2768         (read): add code to deal with \begin_body and \end_body.
2769
2770
2771 2004-08-15  José Matos  <jamatos@lyx.org>
2772
2773         * lyxlex.C (getString): fix comment, buffer::readBody is now
2774         buffer:readDocument.
2775
2776         * tex-strings.C (string_papersize): Default -> default,
2777         Custom -> custom, for consistency with other options.
2778
2779 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2780
2781         * pch.h: new file
2782
2783         * Makefile.am: support pch
2784
2785 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2786
2787         * text.C (readParToken): remove the static LyXFont variable and
2788         pass it as a parameter instead. This fixes a nasty bug where an
2789         inset will be inserted with a bad font in some situations
2790         (readParagraph): adapt
2791
2792         * text2.C (setCounter): reduce number of calls to pars_[pit]
2793
2794         * text.C (singleWidth): add an assert, fix a test
2795
2796         * rowpainter.C (paintText): reduce number of calls to singleWidth
2797
2798         * paragraph.C (isHfill):
2799         (isNewline): ws only
2800
2801 2004-08-14  André Pönitz  <poenitz@gmx.net>
2802
2803         * text.C:
2804         * text2.C:
2805         * rowpainter.C:
2806         * lyxtext.h (several functions): use a Paragraph & argument
2807         instead of par_type
2808
2809 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2810
2811         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2812
2813         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2814
2815         * text.C (singleWidth): remove useless test
2816
2817 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2818
2819         * tabular.h: remove bogus comments
2820
2821         * tabular.C (getDescentOfRow):
2822         (isPartOfMultiColumn): add assertions
2823
2824         * lyxlength.C (inPixels): remove #warning
2825
2826 2004-08-14  André Pönitz  <poenitz@gmx.net>
2827
2828         * paragraph.h: inline getChar()
2829
2830         * BufferView.h: remove unused declarations
2831
2832 2004-08-14  José Matos  <jamatos@lyx.org>
2833
2834         * Buffer.[Ch] (readDocument): new name for old readBody.
2835         * Buffer.C: new file format, new keywords: \begin_document,
2836         \begin_header, \begin_body, \end_body.
2837
2838         * bufferparams.C (readToken): replace all calls to lex.nextToken
2839         by lex.next(). Do the same to eatLine except where really needed.
2840
2841         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2842         line when writing to the lyx file.
2843
2844         * output_plaintext.C (asciiParagraph): fix Bibliography style
2845         handling.
2846
2847         * text.C (read): fix end of file handling.
2848
2849 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2850
2851         * MenuBackend.C (Menu::operator[]): new method to access
2852         individual menu items
2853         (Menu::hasFunc): new method. search for an item that corresponds
2854         to a given func
2855         (MenuBackend::specialMenu): new method
2856         (MenuBackend::expand): if a special menu has been set, skip
2857         entries whose func() appears in this menu
2858
2859 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2860
2861         * text3.C: use Debug::DEBUG a bit more
2862
2863         * text.C (leftMargin): try to simplify a tiny bit change var x to
2864         l_margin. Dont output the wide margins always.
2865         (rightMargin): no margin in inner texts
2866
2867         * rowpainter.h (nestMargin): new func
2868         (changebarMargin): new func
2869         (rightMargin): new func
2870
2871         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2872         now functions.
2873         (paintLast): ditto
2874
2875         * factory.C (createInset): modify setDrawFrame
2876
2877         * cursor.C: use Debug::DEBUG a bit more
2878
2879 2004-08-14  André Pönitz  <poenitz@gmx.net>
2880
2881         * coordcache.[Ch]:
2882         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2883         cache for all insets in (at least partially) visible (top-level)
2884         paragraphs.
2885
2886         * BufferView_pimpl.C: reset external coord cache before every update.
2887         This means the coord cache only contains valid entries.
2888
2889 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2890
2891         bug 1096
2892         * BufferView_pimpl.C (getInsetByCode): move function out of class
2893         and change in to a template in anon namespace. Also fix to do what
2894         suits us better.
2895
2896 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2897
2898         bug 1305
2899         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2900         of char
2901         (breakParagraph): rename par to par_offset and use a local
2902         reference. Add code to keep the language over a rebreak.
2903         (breakParagraphConservative): rename par to par_offset, use a
2904         local reference
2905         (mergeParagraph): ditto
2906         (outerHook): ditto
2907         (isFirstInSequence): ditto
2908         (outerFont): rename pit to par_offset
2909
2910         * paragraph.C: ws change
2911         * paragraph.h: ditto
2912         * text3.C: ditto
2913         * text.C: ditto
2914
2915 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2916
2917         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2918         treatment for ']'
2919
2920         * paragraph.C (simpleTeXOnePar): when we have a \item with
2921         optional argument, enclose the argument with curly brackets (in
2922         case it contains a closing square bracket)
2923
2924         * text2.C (editXY):
2925         * text2.C (editXY):
2926         * text3.C (checkInsetHit): constify
2927
2928 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2929
2930         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2931         documents (bug 1629)
2932
2933 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         Fix toggling of collapsable insets with the mouse (bug 1558)
2936
2937         * lyxfunc.C (dispatch): adapt to LCursor changes
2938
2939         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2940         make sure that dispatch is not invoked twice
2941
2942         * cursor.C (needsUpdate): new method
2943         (dispatch): return void
2944         (result): new method, to access the DispatchResult of the cursor.
2945
2946 2004-08-13  José Matos  <jamatos@lyx.org>
2947
2948         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2949
2950 2004-08-13  André Pönitz  <poenitz@gmx.net>
2951
2952         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2953
2954         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2955           multiple cells
2956
2957 2004-08-12  André Pönitz  <poenitz@gmx.net>
2958
2959         * text3.C: take out the 'cursor right' form insertInset and only
2960         do it in those places when it is really needed. Fixes crash on
2961         C-m...
2962
2963 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2964
2965         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2966
2967         * BufferView_pimpl.C (setBuffer): initialize the current font of
2968         the underlying LyXText
2969
2970 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2971
2972         * kbsequence.C (print): use UI native formatting for menu
2973         shortcuts
2974
2975         * text.C (insertChar): call Paragraph::insertChar with a font
2976         argument (cosmetic)
2977
2978         * paragraph.C (insertInset, insertChar): the version that takes a
2979         LyXFont argument is now a wrapper around the other one (the
2980         opposite used to be true).
2981
2982         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2983         argument. Font setting is done in Paragraph now.
2984
2985 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         * outputparams.h: add new members intitle and lang.
2988
2989         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2990         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2991
2992 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * text3.C (dispatch): remove special handling of button 4 and 5,
2995         it is now taken care of in the frontend code.
2996
2997 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2998
2999         * Spacing.h: add <string> (STLPort compile fix)
3000
3001 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3002
3003         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3004
3005 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3008         to bool.
3009
3010         * converter.C (showMessage): inherit from unary_function, make
3011         operator() const.
3012
3013         * buffer.C (writeFile): initialize retval
3014
3015         * InsetList.h: rename private variable list to list_
3016         * InsetList.[Ch]: adjust accordingly.
3017
3018 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3021         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3022         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3023         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3024         * ParagraphParameters.C, LaTeXFeatures.C: replace
3025         "support/std_sstream.h" with <sstream>
3026
3027 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3030         * lyxsocket.C (LyXServerSocket): ditto
3031         (serverCallback): ditto
3032
3033 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3034
3035         * LaTeXFeatures.C: check release date when loading jurabib.
3036
3037 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * lyxserver.C (startPipe): call register_socket_callback
3040         (endPipe): call unregister_socket_callback
3041
3042 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3045         (LyXServerSocket): register the callback
3046         (LyXServerSocket): unregister the callback
3047         (fd): delete function
3048         (serverCallback): improve error checking and setup the callbacks.
3049         (dataCallback): change arg to fd.
3050         (writeln): new func (copied fro the client socket) used for server
3051         write to client.
3052         (LyXDataSocket): simplify
3053         (~LyXDataSocket): close ann unregiser callback
3054         (server): delete function
3055         (fd): delete function
3056         (readln): small changes, improve some std::string usage
3057         (writeln): constify a bit
3058
3059 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3060
3061         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3062         Qt frontend
3063
3064 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3065
3066         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3067         after it has been populated
3068
3069 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * text2.C (insertInset): move cursor when inserting inset.
3072
3073 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * kbmap.C (findbindings): a couple of new methods. returns a
3076         container of kb_sequence objects. The real work is done by the
3077         private recursive version
3078         (printbindings): uses findbindings to print out a bracketed list
3079         of bindings (renamed from findbinding).
3080
3081         * MenuBackend.C (binding): use kb_keymap::findbindings
3082
3083         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3084
3085 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3086
3087         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3088
3089 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3090
3091         * paragraph.C (isWord): return true on insets that report
3092         isLetter().
3093
3094         * text.C (getWord): use Paragraph::isWord to decide what is in a
3095         word and what is not; fix bug 1609.
3096
3097 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3098
3099         * tex-strings.C: add "none" to string_paperpackages[], fixes
3100         off-by-one-error in the paperpackage selection.
3101
3102         * lyxlex.[Ch]:
3103         * tex-strings.[Ch]: char const * string[n]
3104         -> char const * const string[]
3105
3106 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3107
3108         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3109         command, return early.
3110
3111 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * debug.h: add DEBUG to enum and fix size of ANY.
3114
3115         * debug.C: add support for Debug::DEBUG
3116         (showTags): cast errorTags.level to unsigned int
3117
3118         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3119         (redoCurrentBuffer): ditto
3120         (updateScrollbar): ditto
3121         * cursor.C (dispatch): ditto
3122         * text2.C (setLayout): ditto
3123         (setFont): ditto
3124         (updateCounters): ditto
3125         (editXY): ditto
3126         (deleteEmptyParagraphMechanism): ditto
3127
3128 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3131         annotations to cleanup the Makefile slightly.
3132
3133 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3134
3135         * lyxrc.C: do not set user_email to a default value but use empty
3136         instead. The entry used to be translated, which does not work
3137         since at the point where lyxrc is constructed there is no
3138         translation service available
3139
3140         * messages.C (getLocaleDir): remove and use directly
3141         lyx_localedir() instead
3142
3143 2004-06-02  Angus Leeming  <leeming@lyx.org>
3144
3145         Fix crash caused by dereferencing null pointer 'exportdata' in
3146         OutputParams by creating a new ExportData variable on the heap,
3147         storing it in a boost::shared_ptr.
3148         The crash was triggered when generating an Instant Preview
3149         of an external inset.
3150
3151         * Makefile.am: add outputparams.C
3152
3153         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3154         (c-tor): allocate memory to it.
3155
3156         * exporter.C (c-tor): associated changes.
3157
3158 2004-06-01  Angus Leeming  <leeming@lyx.org>
3159
3160         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3161         contains data before calling isInset(0). (Bug 1513.)
3162
3163 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3164
3165         * exporter.C (checkOverwrite): new method
3166         * exporter.C (copyFile): new method
3167         * exporter.C (Export): copy referenced files to the document dir
3168         * exporter.[Ch]: new class ExportedFile
3169         * exporter.[Ch]: new class ExportData. Contains currently the
3170         names of referenced external files
3171         * outputparams.h: add exportdata member.
3172
3173 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3176         version.C-tmp
3177
3178 2004-05-19  Angus Leeming  <leeming@lyx.org>
3179
3180         * LaTeXFeatures.C:
3181         * ToolbarBackend.C:
3182         * bufferparams.C:
3183         * lyxfunc.C: small changes due to the introduction of namespace
3184         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3185
3186 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3187
3188         * text3.C (dispatch): supress update when only moving the cursor
3189         * cursor.C (selHandle): remove commented code
3190
3191 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3192
3193         * paragraph.C (startTeXParParams): correct column count
3194         * CutAndPaste.C (pasteSelection): remove const_cast
3195         * output_docbook.C (docbookParagraphs): remove const_cast
3196         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3197         const_cast and return ParagraphList::const_iterator
3198         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3199         * output_plaintext.C (writeFileAscii): remove const_cast
3200         * paragraph.[Ch] (simpleTeXOnePar): make const
3201         * paragraph_funcs.C (outerPar): use const iterators
3202         * paragraph_pimpl.C (validate): use const iterators
3203         * text.C (setHeightOfRow): use const iterators
3204
3205 2004-05-17  Angus Leeming  <leeming@lyx.org>
3206
3207         * lfuns.h:
3208         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3209
3210         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3211         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3212         if the citation engine has changed.
3213
3214 2004-05-14  José Matos  <jamatos@lyx.org>
3215
3216         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3217         if the textclass does not provide it. Have it different for sgml and
3218         xml.
3219         support the language of document.
3220         * output_docbook.C (docbookParagraphs):
3221         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3222         first anchor as the id of the paragraph, remove special case code.
3223         * sgml.C (escapeChar): escape only < & >.
3224
3225 2004-05-14  Angus Leeming  <leeming@lyx.org>
3226
3227         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3228         dependencies on src/frontends/controllers/biblio.h. Define a
3229         CiteEngine_enum wrapper class to enable the enum to be forward
3230         declared.
3231
3232 2004-05-12  Angus Leeming  <leeming@lyx.org>
3233
3234         * buffer.C: up LYX_FORMAT to 234.
3235         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3236         use_numerical_citations with a single biblio::CiteEngine cite_engine
3237         variable.
3238         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3239
3240 2004-05-13  José Matos  <jamatos@lyx.org>
3241
3242         * converter.h:
3243         * converter.C (Converter, readFlags): add xml member.
3244         * outputparams.h: add XML flavor.
3245         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3246
3247 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3248
3249         * lyxfunc.C (dispatch):
3250         (getStatus): fix handling of LFUN_SEQUENCE
3251
3252 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3253
3254         * debug.C (showLevel): do not forget the end-of-line marker
3255
3256 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3257
3258         * kbmap.C (read): do not stop parsing a bind file when an error
3259         occurs (bug 1575)
3260
3261 2004-04-29  Angus Leeming  <leeming@lyx.org>
3262
3263         * cursor.C:
3264         * factory.C:
3265         * pariterator.C:
3266         * text2.C: wrap a bunch of #warning statements
3267         inside #ifdef WITH_WARNINGS blocks.
3268
3269 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3270
3271         * buffer.C: increment format to 233.
3272
3273 2004-04-28  Angus Leeming  <leeming@lyx.org>
3274
3275         * BufferView_pimpl.C:
3276         * lyxfunc.C:
3277         * text3.C:
3278         s/updateToolbar()/updateToolbars()/
3279         s/Toolbar.h/Toolbars.h/
3280
3281 2004-04-28  Angus Leeming  <leeming@lyx.org>
3282
3283         * BufferView.[Ch] (c-tor):
3284         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3285         No longer passes these data to the WorkArea generator.
3286
3287 2004-04-28  Angus Leeming  <leeming@lyx.org>
3288
3289         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3290
3291 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3292
3293         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3294
3295 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3296
3297         * output_latex.C (TeXEnvironment): make sure that there is a line
3298         break before \end{foo} for the last paragraph of a document
3299         (TeXOnePar): if the paragraph is at the end of the document (or
3300         inset) and the language has to be reset, then make sure that the
3301         line break is _before_ the language command, not after (fixes bug
3302         1225); also make sure that the language reset command is the first
3303         thing after the paragraph (to ensure proper nesting of
3304         environments and thus fix bug 1404)
3305
3306 2004-04-21  John Levon  <levon@movementarian.org>
3307
3308         * ToolbarBackend.h:
3309         * ToolbarBackend.C: make "name" be a programmatic name
3310         and a gui_name field.
3311
3312         * lyxfunc.C: display the minibuffer on M-x
3313
3314 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3315
3316         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3317         (bug 1526)
3318
3319 2004-04-19  Angus Leeming  <leeming@lyx.org>
3320
3321         * BufferView_pimpl.C (setBuffer): changed preview interface.
3322
3323         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3324         possible values.
3325
3326 2004-04-19  John Levon  <levon@movementarian.org>
3327
3328         * BufferView_pimpl.C:
3329         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3330
3331 2004-04-05  Angus Leeming  <leeming@lyx.org>
3332
3333         * text.C (redoParagraphs): add call to updateCounters(), thereby
3334         fixing the missing "Figure #:" label from the caption of a
3335         figure float.
3336
3337 2004-04-13  Angus Leeming  <leeming@lyx.org>
3338
3339         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3340         cursor is clicked out of an inset.
3341
3342 2004-04-13  Angus Leeming  <leeming@lyx.org>
3343
3344         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3345         than an InsetOld one.
3346
3347 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3348
3349         * format.[Ch]: add editor to Format
3350         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3351         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3352
3353 2004-04-08  André Pönitz  <poenitz@gmx.net>
3354
3355         * metricsinfo.h: remove PainterInfo::width member
3356
3357 2004-04-08  Angus Leeming  <leeming@lyx.org>
3358
3359         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3360         "\providecommand" rather than "\newcommand", thereby preventing
3361         clashes with packages that define "\boldsymbol" themselves.
3362         Eg, beamer.
3363
3364 2004-04-08  Angus Leeming  <leeming@lyx.org>
3365
3366         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3367         thereby squashing an unnecessary warning.
3368
3369 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3370
3371         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3372         setBuffer()
3373
3374 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3375
3376         * BufferView.C (setCursor): call redoParagraph (some insets could
3377         have been opened)
3378         (putSelectionAt): remove the 'double update' trick
3379
3380         * BufferView_pimpl.C (fitCursor): call refreshPar
3381         (workAreaDispatch): remove an uneeded update call
3382         (dispatch): remove some manual update calls
3383
3384         * cursor.[Ch]: remove cached_y_, updatePos
3385         (selHandle): set noUpdate when appropriate
3386
3387         * lyxfunc.C (dispatch): track if we need an update
3388
3389         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3390
3391         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3392         (paintSelection): cheap optimization, do not call cursorX when not
3393         needed
3394         (paintPars): change signature
3395         (refreshPar): add
3396         (paintText): adjust
3397         (paintTextInset): adjust
3398
3399         * text.C: adjust
3400
3401 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3402
3403         * lengthcommon.C: compilation fix: remove explicit array size from
3404         unit_name[] and friends
3405
3406 2004-04-05  Angus Leeming  <leeming@lyx.org>
3407
3408         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3409
3410         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3411         present only for the preferences dialog.
3412         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3413
3414 2004-04-05  Angus Leeming  <leeming@lyx.org>
3415
3416         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3417         to enable the frontends to export changes to lyxrc correctly.
3418
3419         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3420
3421 2004-04-07  André Pönitz  <poenitz@gmx.net>
3422
3423         * cursor.[Ch] (selClear, adjust): remove math
3424
3425         * cursor_slice.C: more agressive assert
3426
3427         * lyxfunc.C:
3428         * BufferView_pimpl.C: rework mouse event dispatch
3429
3430         * dociterator.C:
3431         * paragraph.C:
3432         * text2.C:
3433         * text3.C: adjust
3434
3435 2004-04-05  André Pönitz  <poenitz@gmx.net>
3436
3437         * cursor.[Ch] (valign, halign...): remove unneeded functions
3438
3439 2004-04-05  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyxlength.[Ch] (unit_name et al.): const-correct.
3442
3443 2004-04-05  Angus Leeming  <leeming@lyx.org>
3444
3445         * BufferView_pimpl.C:
3446         * buffer.C:
3447         * counters.C:
3448         * cursor.C:
3449         * lyxfunc.C
3450         * paragraph.C:
3451         * pariterator.C:
3452         * text.C:
3453         * text2.C:
3454         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3455
3456 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3457
3458         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3459
3460 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3463         * BufferView_pimpl.[Ch] (getStatus)
3464         * BufferView.[Ch] (getStatus): add
3465         * lyxfunc.C (getStatus): move lfuns handled in
3466         BufferView::dispatch to te function above
3467         * Cursor.C (setSelection): set selection() = true
3468
3469 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3470
3471         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3472
3473 2004-03-31  Angus Leeming  <leeming@lyx.org>
3474
3475         * lyxfunc.C (dispatch): Fall through to the generic
3476         Dialogs::show("preamble").
3477
3478 2004-03-31  Angus Leeming  <leeming@lyx.org>
3479
3480         * lyxfunc.C (dispatch): Fall through to the generic
3481         Dialogs::show("spellchecker").
3482
3483 2004-03-31  Angus Leeming  <leeming@lyx.org>
3484
3485         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3486         preferences dialog.
3487
3488 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * BufferView.C
3491         * cursor.[Ch]
3492         * dociterator.[Ch]:
3493         * insetiterator.[Ch]:
3494         * lyxfind.C:
3495         * lyxfunc.C:
3496         * pariterator.[Ch]:
3497         * text2.C:
3498         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3499
3500 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3503         insets where we are putting the cursor.
3504
3505 2004-03-31  Angus Leeming  <leeming@lyx.org>
3506
3507         * lfuns.h:
3508         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3509
3510         * lyxrc.[Ch] (read, write): overloaded member functions taking
3511         a std::[io]stream arguments.
3512
3513         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3514
3515 2004-03-31  Angus Leeming  <leeming@lyx.org>
3516
3517         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3518         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3519
3520         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3521         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3522
3523 2004-03-31  Angus Leeming  <leeming@lyx.org>
3524
3525         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3526         the LFUN_ALL_INSETS_TOGGLE code.
3527
3528 2004-03-30  Angus Leeming  <leeming@lyx.org>
3529
3530         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3531         has died. Fall through to the generic Dialogs::show("document").
3532
3533 2004-03-30  Angus Leeming  <leeming@lyx.org>
3534
3535         * lfuns.h:
3536         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3537         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3538
3539         * lyxfunc.C (getStatus, dispatch): define the actions for these
3540         lfuns. Little more than a cut and pste job from ControlDocument.C
3541
3542         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3543
3544 2004-03-30  Angus Leeming  <leeming@lyx.org>
3545
3546         * lfuns.h:
3547         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3548         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3549
3550         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3551         open/closed state of ollapsable insets. Usage:
3552
3553         all-inset-toggle <state> <name>, where
3554         <state> == "open" || "closed" || "toggle" and
3555         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3556
3557         * lyxtext.h, text2.C (toggleInset): removed.
3558
3559         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3560         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3561         now passes LFUN_INSET_TOGGLE to the found inset.
3562
3563         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3564         is now invoked as "all-insets-toggle toggle branch".
3565
3566 2004-03-30  Angus Leeming  <leeming@lyx.org>
3567
3568         * dociterator.C:
3569         * insetiterator.C:
3570         * pariterator.[Ch]: added/corrected header blurb.
3571
3572 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3573
3574         * dociterator.[Ch]: add an inset_ member
3575         (backwardPos): implemented
3576         (backwardPos, forwardPos): use inset_ when the stack is empty.
3577         (doc_iterator_begin, doc_iterator_end): implemented
3578         * pariterator.[Ch]: adjust, add begin, end
3579         * insetiterator.[Ch]: adjust, add begin, end
3580         * cursor.C:
3581         * document.C:
3582         * BufferView.C:
3583         * BufferView_pimpl.C:
3584         * CutAndPaste.C: adjust
3585
3586 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3587
3588         * buffer.C: increment file format to 232.
3589         * LaTeXFeatures.C: add bibtopic package.
3590         * bufferparams.[Ch]: param \use_bibtopic.
3591
3592         * lyxrc.[Ch]: add lyxrc bibtex_command
3593         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3594
3595         * buffer.C: increment file format to 231.
3596
3597 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * dociterator.C: implement forwardPar
3600         * iterators.[Ch]: remove, replaced by
3601         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3602         * BufferView.C:
3603         * BufferView_pimpl.C:
3604         * CutAndPaste.C:
3605         * buffer.C:
3606         * bufferview_funcs.C:
3607         * cursor.C:
3608         * lyxfind.C
3609         * lyxfunc.C
3610         * paragraph_funcs.C
3611         * toc.C:
3612         * Makefile.am: adjust
3613
3614 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3615
3616         * CutAndPaste.C (pasteSelection): fix 2 crashes
3617         (eraseSelection): fix a crash
3618         * paragraph_funcs.C: remove a warning
3619
3620 2004-03-28  Angus Leeming  <leeming@lyx.org>
3621
3622         * lfuns.h:
3623         * LyXAction.C (init): new LFUN_PRINT.
3624
3625         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3626
3627 2004-03-27  Angus Leeming  <leeming@lyx.org>
3628
3629         * lfuns.h:
3630         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3631
3632         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3633
3634 2004-03-27  Angus Leeming  <leeming@lyx.org>
3635
3636         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3637         insetlist always contains non-null pointers to insets.
3638
3639 2004-03-26  Angus Leeming  <leeming@lyx.org>
3640
3641         * src/BufferView_pimpl.C:
3642         * src/CutAndPaste.C:
3643         * src/buffer.C:
3644         * src/iterators.C:
3645         * src/output_plaintext.C:
3646         * src/outputparams.h:
3647         * src/paragraph_funcs.C:
3648         * src/rowpainter.C:
3649         * src/text.C:
3650         * src/text2.C:
3651         * src/frontends/controllers/ControlErrorList.C:
3652         * src/frontends/gtk/FileDialogPrivate.C:
3653         * src/frontends/gtk/GPainter.C:
3654         * src/frontends/gtk/GToolbar.C:
3655         * src/frontends/qt2/QRef.C:
3656         * src/mathed/math_scriptinset.C: squash compiler warnings.
3657
3658 2004-03-26  Angus Leeming  <leeming@lyx.org>
3659
3660         * ispell.C (LaunchIspell::start):
3661         * lyx_cb.C (AutoSaveBuffer::start):
3662         invoke run(DontWait) rather than runNonBlocking().
3663
3664 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3667
3668 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3669
3670         * kbsequence.C (print): adjust
3671
3672         * kbmap.C (printKeySym): rename and change signature
3673         (printKey): use LyXKeySym::print()
3674
3675 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3676
3677         * undo.C: add using std::advance to compile for stlport
3678
3679 2004-03-24  Angus Leeming  <leeming@lyx.org>
3680
3681         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3682         it leads to a crash when no buffer is present.
3683
3684 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3685             Martin Vermeer  <martin.vermeer@hut.fi>
3686
3687         * lyxfunc.C (dispatch):
3688         * bufferparams.C (readToken): use the new LColor::setColor
3689
3690         * LColor.[Ch] (setColor): new version that takes two strings as
3691         argument and creates a new color entry if necessary
3692
3693 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3694
3695         * buffer.C (makeLaTeXFile): if the main latex file that is
3696         processed is usually a subdocument of some master, then pretend
3697         for a while that it is actually the master
3698
3699 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3700
3701         * buffer.C (getLabelList):
3702         (getBibkeyList): use getMasterBuffer()
3703         (getMasterBuffer): new method. Returns the main document in the
3704         case where one is using included documents.
3705
3706 2004-03-25  André Pönitz  <poenitz@gmx.net>
3707
3708         * Makefile.am:
3709         * iterators.[Ch]:
3710         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3711
3712         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3713
3714         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3715         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3716
3717         * ParameterStruct.h: merge with ParagraphParameters
3718
3719         * lyxtext.h: remove LyXText::parOffset() and getPar()
3720
3721         * text3.C: Remove all 'manual' update calls. We do now one per user
3722         interaction which is completely sufficient.
3723
3724         * Bidi.C:
3725         * BufferView.[Ch]:
3726         * BufferView_pimpl.C:
3727         * FontIterator.[Ch]:
3728         * MenuBackend.C:
3729         * ParagraphParameters.[Ch]:
3730         * buffer.C:
3731         * buffer.h:
3732         * bufferlist.C:
3733         * cursor.[Ch]:
3734         * cursor_slice.[Ch]:
3735         * dociterator.[Ch]:
3736         * errorlist.[Ch]:
3737         * factory.C:
3738         * lfuns.h:
3739         * lyxfind.C:
3740         * lyxfunc.C:
3741         * output_docbook.[Ch]:
3742         * output_latex.[Ch]:
3743         * output_linuxdoc.[Ch]:
3744         * output_plaintext.[Ch]:
3745         * paragraph.[Ch]:
3746         * paragraph_funcs.[Ch]:
3747         * paragraph_pimpl.[Ch]:
3748         * rowpainter.C:
3749         * tabular.[Ch]:
3750         * text.C:
3751         * text2.C:
3752         * toc.C:
3753         * undo.[Ch]: adjust
3754
3755         * frontends/controllers/ControlDocument.C:
3756         * frontends/controllers/ControlErrorList.C:
3757         * frontends/controllers/ControlSpellchecker.C:
3758         * insets/inset.C:
3759         * insets/inset.h:
3760         * insets/insetbase.h:
3761         * insets/insetbibitem.C:
3762         * insets/insetbox.C:
3763         * insets/insetbranch.C:
3764         * insets/insetcaption.C:
3765         * insets/insetcharstyle.C:
3766         * insets/insetcharstyle.h:
3767         * insets/insetcollapsable.C:
3768         * insets/insetcollapsable.h:
3769         * insets/insetert.C:
3770         * insets/insetfloat.C:
3771         * insets/insetfoot.C:
3772         * insets/insetmarginal.C:
3773         * insets/insetnote.C:
3774         * insets/insetoptarg.C:
3775         * insets/insettabular.C:
3776         * insets/insettext.C:
3777         * insets/insettext.h:
3778         * insets/insetwrap.C:
3779         * mathed/math_mboxinset.C:
3780         * mathed/math_nestinset.C:
3781         * mathed/math_scriptinset.C:
3782         * mathed/math_scriptinset.h:
3783         * support/types.h:
3784
3785 2004-03-24  Angus Leeming  <leeming@lyx.org>
3786
3787         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3788         deal with any child processes that have finished but are waiting to
3789         communicate this fact to the rest of LyX.
3790
3791 2004-03-24  Angus Leeming  <leeming@lyx.org>
3792
3793         64-bit compile fixes.
3794
3795         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3796         (c-tor): pass lyx::pos_types rather than ints.
3797
3798         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3799         lyx::pos_type.
3800
3801         * text.C (Delete): compile fix.
3802         (getPar): ensure that function declaration is the same as that in
3803         the header file.
3804
3805 2004-03-23  Angus Leeming  <leeming@lyx.org>
3806
3807         * ispell.C (LaunchIspell):
3808         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3809         a boost::shred_ptr rather than a std::auto_ptr.
3810
3811 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3812
3813         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3814         handle LFUN_FILE_INSERT_*
3815
3816         * lyxrc.C (setDefaults, getDescription, output, read):
3817         * lyxrc.h: remove ps_command
3818
3819 2004-03-22  Angus Leeming  <leeming@lyx.org>
3820
3821         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3822         Ensure that error_handler is processed once only and that all data
3823         is saved before attempting to output any warning messages.
3824
3825         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3826
3827 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3828
3829         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3830
3831 2004-03-19  André Pönitz  <poenitz@gmx.net>
3832
3833         * cursor.[Ch] (reset): take main text inset as argument
3834
3835         * BufferView: adjust
3836         * BufferView_pimpl.C: adjust
3837
3838         * paragraph.[Ch]: fix completely broken operator=()
3839
3840 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3841
3842         * LColor.C (getFromLyXName): make sure that the color name is used
3843         as lowercase.
3844
3845 2004-03-17  Angus Leeming  <leeming@lyx.org>
3846
3847         * lfuns.h:
3848         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3849
3850         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3851         dialog and to kill a forked process.
3852
3853 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * text2.C (setCursorFromCoordinates): fix font problem
3856
3857 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3858
3859         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3860         bogus "rebuild cursor" code
3861
3862 2004-03-11  André Pönitz  <poenitz@gmx.net>
3863
3864         * buffer.[Ch]: use InsetText instead of LyXText as container for
3865         the main lyx text.
3866
3867         * dociterator.[Ch]: drop the BufferView * member which is not needed
3868         anymore after the change to buffer.C
3869
3870         * paragraph_funcs.C:
3871         * text.C:
3872         * text2.C:
3873         * BufferView.[Ch]:
3874         * BufferView_pimpl.[Ch]:
3875         * cursor.[Ch]:
3876         * cursor_slice.[Ch]: adjust
3877
3878         * text3.C: fix bug in mathDispatch
3879
3880 2004-03-08  André Pönitz  <poenitz@gmx.net>
3881
3882         * undo.[Ch]: use 'StableDocumentIterator' as base for
3883         the Undo struct.
3884
3885 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3886
3887         * LaTeXFeatures.C:
3888         * bufferparams.[Ch]: add jurabib support and param.
3889
3890         * LaTeX.C: add FIXME/comment.
3891
3892 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3893
3894         * buffer.C: increment file format to 230.
3895
3896 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * cursor.C (dispatch): avoid infinite loops
3899
3900 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * rowpainter.C (paintSelection): fix x coordinates
3903
3904 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3905
3906         * text.C (rowBreakPoint): fix breaking before displayed insets
3907
3908 2004-03-01  André Pönitz  <poenitz@gmx.net>
3909
3910         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3911
3912         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3913
3914         * Makefile.am:
3915         * BufferView.C:
3916         * BufferView_pimpl.C:
3917         * buffer.C:
3918         * lyxfind.C:
3919         * lyxfunc.C:
3920         * text.C:
3921         * text2.C:
3922         * text3.C: adjust
3923
3924 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3925
3926         * lyxtext.h:
3927         * text.C:
3928         * text2.C:
3929         * rowpainter.C:
3930         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3931         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3932
3933 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3934
3935         * Bidi.[Ch] (computeTables): const correctness
3936         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3937         fill_hfill, fill_label_hfill and x from Row
3938         * lyxtext.h: prepareToPrint returns a RowMetrics
3939         * rowPainter.C: adjust
3940         * text.C (prepareToPrint): use width, not textWidth. adjust
3941         (redoParagraphInternal, cursorX): adjust
3942         * text2.C (getColumnNearX): adjust
3943         (init): put a default value to the top LyXText::width
3944
3945 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3946
3947         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3948
3949 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3950
3951         * lyxtext.h: add FontIterator class
3952
3953         * text.C (FontIterator, operator*, operator->, operator++): add
3954         (rowBreakPoint, setRowWidth): adjust (fixing a
3955         rebreaking bug)
3956
3957 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3958
3959         * BufferView_pimpl.C (workAreaDispatch): allow also
3960         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3961
3962 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3963
3964         * text.C (rowBreakPoint): fix a bug showing with very large insets
3965
3966 2004-02-25  André Pönitz  <poenitz@gmx.net>
3967
3968         * text3.C:
3969         * cursor.[Ch]: move some mathed specific code to mathed
3970
3971 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3972
3973         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3974         use_tempdir in preferences
3975         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3976         tempfile creation
3977         * lyx_main.C: ensure that tempdir is valid
3978         * lyxlex.h: correct typo
3979         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3980         * paragraph.[Ch] (isMultiLingual): make const
3981         * cursor.[Ch] (openable): make const
3982
3983 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3984
3985         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3986
3987 2004-02-20  André Pönitz  <poenitz@gmx.net>
3988
3989         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3990
3991         * cursor.[Ch]: prepare for localized getStatus()
3992
3993         * lyxtext.h:
3994         * tabular.C:
3995         * text.C:
3996         * text2.C:
3997         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3998
3999 2004-02-20  André Pönitz  <poenitz@gmx.net>
4000
4001         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4002
4003 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4004
4005         * text2.C (setCursorFromCoordinates): switch to absolute coords
4006         (cursorUp): adjust
4007         (cursorDown): adjust
4008         * text3.C (dispatch): adjust
4009
4010 2004-02-16  André Pönitz  <poenitz@gmx.net>
4011
4012         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4013           insets/ChangeLog)
4014
4015         * cursor_slice.[Ch]: remove unneeded acessor function
4016
4017         * lyxtext.h: rename rtl() to isRTL()
4018
4019         * rowpainter.C:
4020         * tabular.C:
4021         * text.C:
4022         * text2.C:
4023         * text3.C: adjust
4024
4025 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4026
4027         * rowpainter.C (paintSelection): coord fix
4028
4029 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4030
4031         * Spacing.C: compile fix
4032
4033 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * cursor.C (dispatch): restore current_ before returning
4036
4037 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * text2.C (cursorUp, cursorDown): fix coords
4040         (moveUp): fix crash
4041
4042 2004-02-12  André Pönitz  <poenitz@gmx.net>
4043
4044         * lyxtext.h:
4045         * text.C:
4046         * text2.C:
4047         * text3.C: add LCursor & parameter to most cursor movement functions
4048           remove usage of LyXText::cursorRow() and cursorPar()
4049
4050         * cursor.[Ch]: add textRow() needed members
4051
4052         * BufferView.C:
4053         * BufferView_pimpl.C:
4054         * paragraph.[Ch]:
4055         * BufferView.C:
4056         * BufferView_pimpl.C: adjust
4057
4058 2004-02-11  André Pönitz  <poenitz@gmx.net>
4059
4060         * lyxfunc.C:
4061         * BufferView.[Ch]:
4062         * BufferView_pimpl.C: shift undo/redo handling
4063
4064         * cursor.[Ch]: fix mathed crash
4065
4066         * lyxfind.C:
4067         * lyxtext.h: move selectionAsText to LCursor
4068
4069         * output_latex.C:
4070         * paragraph.C:
4071         * text.C:
4072         * text2.C:
4073         * text3.C: adjust
4074
4075         * rowpainter.C: fix excessive drawing
4076
4077 2004-02-06  André Pönitz  <poenitz@gmx.net>
4078
4079         * BufferView.[Ch]:
4080         * BufferView_pimpl.[Ch]:
4081         * text3.C: move some text specific LFUN handling
4082
4083 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4084
4085         * text3.C (checkInsetHit): adjust coords
4086         * text2.C (getColumnNearX): adjust coords
4087         (edit): adjust coords
4088         * text.C (getRowNearY): add two asserts
4089
4090 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4091
4092         * converter.C:
4093         * format.C: add using std::distance to compile on gcc 2.95/stlport
4094
4095 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4096
4097         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4098
4099 2004-02-04  André Pönitz  <poenitz@gmx.net>
4100
4101         * BufferView.[Ch] (insertInset):
4102         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4103
4104         * text2.C:
4105         * text3.C: adjust
4106
4107 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4108
4109         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4110         on the default clause of the switch
4111         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4112         wasn't catched by LCursor::dispatch
4113
4114 2004-02-03  André Pönitz  <poenitz@gmx.net>
4115
4116         * BufferView.C:
4117         * cursor.[Ch]: some additional asserts
4118
4119         * undo.[Ch]: remove LyXText dependency in interface
4120
4121         * lyxfunc.C: adjust
4122
4123         * lyxtext.h (firstPar, lastPar): remove dead functions
4124
4125         * text.C:
4126         * text2.C:
4127         * text3.C:
4128         * paragraph.[Ch]: adjust
4129
4130 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * lyxfind.C (find): fix argument order in call to ::find
4133
4134 2004-02-02  André Pönitz  <poenitz@gmx.net>
4135
4136         * cursor.[Ch]: remove direct access to anchor
4137
4138         * text.C: remove findText() hack
4139
4140 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4141
4142         * iterators.[Ch] (lockPath): remove in favour of...
4143         * BufferView.[Ch] (setCursor): this addition
4144         * BufferView.C (putSelectionAt): adjust
4145         * undo.C (performUndoOrRedo): adjust
4146         * lyxfunc.C (dispatch): adjust
4147
4148 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4149
4150         * iterators.C (lockPath): add a missing slice
4151         * undo.C (performUndoOrRedo): remove redundant positioning code
4152
4153 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * vc-backend.C (scanMaster): ";" -> ';'
4156
4157 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4160         std::binary_function
4161
4162         * lyxtextclass.C (compare_name): rename to...
4163         (LayoutNamesEqual): ...this
4164
4165         * lyxlex_pimpl.C (compare_tags): inherit from
4166         std::binary_function, put back into anon namespace
4167
4168         * lyxfind.C (MatchString): inherig from std::binary_function
4169         (findChange): use empty() istead of !size()
4170
4171         * format.C (FormatNamesEqual): new functor
4172         (getFormat): use it
4173         (getNumber): use it
4174         (add): use it
4175         (erase): use it
4176         (setViewer): use it
4177
4178         * converter.C (compare_Converter): rename to...
4179         (ConverterEqual): ...this, and fixup a bit.
4180         (getConverter): use it, and make function const
4181         (getNumber): use it, and make function const
4182         (add): use it
4183         (erase): use it:
4184
4185         * bufferlist.C: add using boost::bind
4186
4187         * MenuBackend.C (MenuNamesEqual): new functor
4188         (hasMenu): use it, and make function const
4189         (hasSubmenu): use nested bind to get rid of compare_memfun.
4190
4191 2004-01-30  André Pönitz  <poenitz@gmx.net>
4192
4193         * BufferView_pimpl.C:
4194         * cursor.C:
4195         * cursor.h:
4196         * cursor_slice.[Ch]:
4197         * lyxfunc.C:
4198         * lyxtext.h:
4199         * paragraph_funcs.C:
4200         * paragraph_funcs.h:
4201         * rowpainter.C:
4202         * text.C:
4203         * text2.C:
4204         * text3.C: move some of the edit(x,y) handling to the insets
4205         some coordinate changes.
4206
4207 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4208
4209         * text.C: add using statements for std::advance and std::distance
4210
4211         * paragraph.C: add using statement for std::distance
4212
4213         * lyxfind.C: add using statement for std::advance
4214
4215         * cursor.C (region): remove std:: from swap
4216         (openable): use nucleus in stead of operator->
4217
4218         * BufferView.C: add using statements for std::distance and std::swap
4219
4220 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * iterators.C: Remove the pimple, move the needed structures to
4223         the header file. Create accessor for the positions stack.
4224         (asPosIterator): remove function
4225
4226         * PosIterator.C (PosIterator): move constructors to top of file
4227         (PosIterator): reimplement the constructor taking a ParIterator in
4228         terms of setFrom.
4229         (setFrom): new function
4230         (operator!=): inline it
4231
4232 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * lyxfind.C (replaceAll): use std::advance
4235
4236         * iterators.h: inherit from std::iterator.
4237
4238         * PosIterator.C (advance, distance): remove
4239         * PosIterator.h: interit from std::iterator.
4240
4241 2004-01-26  André Pönitz  <poenitz@gmx.net>
4242
4243         * BufferView.[Ch]:
4244         * BufferView_pimpl.[Ch]:
4245         * InsetList.[Ch]:
4246         * PosIterator.[Ch]:
4247         * buffer.h:
4248         * bufferview_funcs.C:
4249         * cursor.[Ch]:
4250         * cursor_slice.h:
4251         * factory.[Ch]:
4252         * iterators.[Ch]:
4253         * lyxfind.C:
4254         * lyxfunc.C:
4255         * lyxtext.h:
4256         * output_docbook.C:
4257         * output_latex.C:
4258         * output_linuxdoc.C:
4259         * output_plaintext.C:
4260         * paragraph.[Ch]:
4261         * paragraph_funcs.[Ch]:
4262         * paragraph_pimpl.[Ch]:
4263         * rowpainter.C:
4264         * tabular.C:
4265         * tabular.h:
4266         * text.C:
4267         * text2.C:
4268         * text3.C: more IU:  dumps most of the rest of the mathcursor
4269     implementation into cursor.[Ch]; "globalize" a bit of it.
4270
4271 2004-01-25  Angus Leeming  <leeming@lyx.org>
4272
4273         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4274
4275 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4276
4277         * LaTeXFeatures.h: add nice_ and nice() const
4278         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4279
4280 2004-01-20  André Pönitz  <poenitz@gmx.net>
4281
4282         * BufferView.[Ch]:
4283         * BufferView_pimpl.C:
4284         * PosIterator.C:
4285         * bufferview_funcs.C:
4286         * cursor.[Ch]:
4287         * cursor_slice.[Ch]:
4288         * factory.C:
4289         * iterators.C:
4290         * lyx_cb.C:
4291         * lyxfind.C:
4292         * lyxfunc.C:
4293         * lyxtext.h:
4294         * rowpainter.C:
4295         * text.C:
4296         * text2.C:
4297         * text3.C:
4298         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4299           LCursor and mathcursor parts to LCursor and InsetBase.
4300
4301 2004-01-15  André Pönitz  <poenitz@gmx.net>
4302
4303         * cursor_slice.[Ch]: add a few covienience functions
4304
4305         * funcrequest.[Ch]: remove BufferView * member
4306
4307         * BufferView_pimpl.C:
4308         * cursor.C:
4309         * factory.[Ch]:
4310         * lyxfind.[Ch]:
4311         * lyxfunc.C:
4312         * lyxtext.h:
4313         * text3.C:
4314         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4315
4316 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4317
4318         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4319         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4320
4321 2004-01-13  André Pönitz  <poenitz@gmx.net>
4322
4323         * textcursor.[Ch]:
4324         * lyxtext.h: hide cursor and selection anchor behind accessor function
4325
4326         * BufferView.C:
4327         * BufferView_pimpl.[Ch]:
4328         * PosIterator.C:
4329         * bufferview_funcs.C:
4330         * cursor.h:
4331         * lyxfind.C:
4332         * lyxfunc.C:
4333         * text.C:
4334         * text2.C:
4335         * text3.C:
4336         * undo.C: adjust
4337
4338         * cursor.h:
4339         * cursor_slice.[Ch]: some integer type changes for inset unification
4340
4341         * lyxcursor.[hC]: remove, it's CursorSlice now.
4342
4343         * Makefile.am:
4344         * BufferView_pimpl.[Ch]:
4345         * bufferview_funcs.C:
4346         * cursor_slice.C:
4347         * lyxtext.h:
4348         * text.C:
4349         * text2.C:
4350         * text3.C:
4351         * textcursor.[Ch]: adjust
4352
4353 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4354
4355         * text2.C (undoSpan): add and use
4356         * text.C (breakParagraph): use undoSpan (fix bug 578)
4357         * lyxtext.h: adjust
4358
4359 2004-01-08  Angus Leeming  <leeming@lyx.org>
4360
4361         * BufferView_pimpl.C (MenuInsertLyXFile):
4362         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4363         * lyxfunc.C (menuNew, open, doImport):
4364         FileFilterList change to the FileDialog open and save functions.
4365
4366 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * ShareContainer.h: make isEqual and isUnique adaptable
4369
4370         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4371
4372 2004-01-07  Angus Leeming  <leeming@lyx.org>
4373
4374         * LyXAction.C:
4375         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4376
4377         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4378
4379         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4380         functions replacing find, replace and replaceAll.
4381
4382         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4383         LFUN_WORDFIND(FORWARD|BACKWARD).
4384
4385 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4386
4387         * text.C (breakParagraph): remove an outdated #warning
4388
4389 2004-01-07  André Pönitz  <poenitz@gmx.net>
4390
4391         * lyxfind.C: somewhat clearer logic
4392
4393         * text.C: prevent crash in cursorX on unitialized row cache
4394
4395 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4396
4397         * lyxcursor.[Ch] (operator>): add
4398         * textcursor.C (selStart, selEnd): use std::min and std::max
4399
4400 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * Chktex.C: include boost/format.hpp
4403
4404 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * InsetList.C: replace functor MathcIt with adaptable functor
4407         InsetTablePosLess
4408         (insetIterator): modify accordingly
4409
4410         * BranchList.h: move the BranchNamesEqual functor here from...
4411         * BranchList.C: ... to here
4412
4413         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4414         SameName and match.
4415         (add): replace a finding loop with std::find_if.
4416
4417 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4418
4419         * output_docbook.C: moving LatexParam functionality into
4420         .layout files
4421
4422 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4423
4424         * buffer.C: increment format to 229.
4425
4426 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4427
4428         * LaTeXFeatures.C:
4429         * lyx_sty.[Ch]: remove minipageindent_def
4430
4431         * LyXAction.C:
4432         * factory.C:
4433         * lfuns.h:
4434         * lyxfunc.C:
4435         * text3.C: remove LFUN_INSET_MINIPAGE
4436
4437 2003-12-28  Angus Leeming  <leeming@lyx.org>
4438
4439         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4440
4441 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4442
4443         * text2.C (setParagraph): fix off-by-one crash
4444
4445 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4446
4447         * output_docbook.C: header stuff for AGU
4448
4449 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4450
4451         * text2.C (redoCursor): remove
4452         * text.C:
4453         * text3.C:
4454         * BufferView_pimpl.C: remove calls to redoCursor and
4455         setCursor(cursor.par(), cursor.pos()) all around
4456
4457 2003-12-15  Angus Leeming  <leeming@lyx.org>
4458
4459         * buffer.C: up the format to 228.
4460
4461 2003-12-15  André Pönitz  <poenitz@gmx.net>
4462
4463         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4464         slices
4465
4466         * Makefile.am:
4467
4468         * BufferView_pimpl.C:
4469         * cursor.[Ch]:
4470         * lyxcursor.[Ch]:
4471         * rowpainter.[Ch]:
4472         * lyxtext.h:
4473         * text.C:
4474         * text2.C:
4475         * text3.C: adjust
4476
4477 2003-12-15  Angus Leeming  <leeming@lyx.org>
4478
4479         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4480         than getFromGUIName to manipulate the color.
4481
4482 2003-12-14  Angus Leeming  <leeming@lyx.org>
4483
4484         * BranchList.[Ch]: minimize the API.
4485         (Branch::getBranch, getColor): now return a 'const &'.
4486         (Branch::setSelected) now returns a bool set to true if the
4487         selection status changes.
4488         (BranchList::clear, size, getColor, setColor, setSelected,
4489         allBranches, allSelected, separator): removed.
4490         (BranchList::find): new functions, returning the Branch with
4491         the given name.
4492         (BranchList::add, remove): return a bool indicating that
4493         the operation was successful.
4494
4495         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4496         new InsetBranch::isBranchSlected member function.
4497
4498         * LColor.[Ch]: mimimize the API.
4499         (fill): renamed as addColor and made private.
4500         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4501         versions of these functions taking a string arg have been removed.
4502
4503         * bufferparams.C (readToken):
4504         * lyxfunc.C (dispatch):
4505         * lyxrc.C (read): changes due to the altered BranchList and
4506         LColor APIs.
4507
4508         * factory.C (createInset, readInset): changes due to altered
4509         InsetBranch c-tor.
4510
4511 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4512
4513         * factory.C:
4514         * lyxfunc.C: remove insetminipage. "minipage-insert"
4515         now produces a frameless minipage box inset.
4516
4517 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4518
4519         * textcursor.[Ch] (selStart,selEnd): add new methods
4520         remove selection::start, end, use LyXCursor::operator<
4521         * lyxcursor.[Ch] (operator<): add
4522         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4523         * BufferView.[Ch] (unsetXSel): add
4524         * text2.C (clearSelection): use unsetXSel,adjust
4525         * text.C: adjust
4526         * text3.C: adjust
4527         * rowpainter.C: adjust
4528         * bufferview_funcs.C (put_selection_at): adjust
4529
4530 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4531
4532         * BufferView_pimpl.C: small coord. correction
4533
4534 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4535
4536         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4537         dragging over the splash screen.
4538
4539 2003-12-11  Angus Leeming  <leeming@lyx.org>
4540
4541         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4542         as it is now handled in LyXText::dispatch.
4543
4544         * text3.C (doInsertInset): remove a level of nesting.
4545
4546 2003-12-11  Angus Leeming  <leeming@lyx.org>
4547
4548         * factory.C (createInset): changes due to the changed interface to
4549         InsetCommandMailer::string2params.
4550
4551 2003-12-10  Angus Leeming  <leeming@lyx.org>
4552
4553         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4554         'dialog-show-new-inset <inset name>'
4555
4556 2003-12-10  Angus Leeming  <leeming@lyx.org>
4557
4558         * buffer.C: up the format to 227.
4559
4560         * factory.C: the box inset is now identified simply by 'Box'.
4561
4562 2003-12-10  Angus Leeming  <leeming@lyx.org>
4563
4564         * buffer.C: up the format to 226.
4565
4566         * factory.C: the note inset is now identified simply by 'Note'.
4567
4568 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4571         when a pit is enough. Standarize a couple of loops.
4572
4573 2003-12-05  Angus Leeming  <leeming@lyx.org>
4574
4575         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4576         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4577         data to the re-worked "log" dialog.
4578
4579 2003-12-03  André Pönitz  <poenitz@gmx.net>
4580
4581         * PosIterator.C:
4582         * iterators.C:
4583         * lyxtext.h:
4584         * output_latex.C:
4585         * paragraph_funcs.C:
4586         * text.C:
4587         * text2.C: use Inset::getText instead of Inset::getParagraph
4588
4589 2003-12-03  André Pönitz  <poenitz@gmx.net>
4590
4591         * buffer.[Ch]:
4592         * lyxtext.h:
4593         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4594         InsetText::read() as LyXText::read()
4595
4596 2003-12-02  Angus Leeming  <leeming@lyx.org>
4597
4598         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4599         type. Add a comment in the implementation that the function uses
4600         the stream's bad() function rather than fail() as the std::streams
4601         would do.
4602
4603 2003-12-02  André Pönitz  <poenitz@gmx.net>
4604
4605         * lyxlex.[Ch]: make interface more similar to std::stream
4606
4607         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4608
4609 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4610
4611         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4612
4613 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4614
4615         * vspace.[Ch]: remove VSpace::NONE
4616
4617 2003-12-01  André Pönitz  <poenitz@gmx.net>
4618
4619         * buffer.[Ch]:
4620         * lyxtext.h: move ParagraphList member to LyXText
4621         rename LyXText::ownerParagraphs to LyXText::paragraph
4622
4623         * CutAndPaste.C:
4624         * bufferview_funcs.C:
4625         * iterators.[Ch]:
4626         * lyx_cb.C:
4627         * paragraph.C:
4628         * rowpainter.C:
4629         * tabular.C:
4630         * text.C:
4631         * text2.C:
4632         * text3.C: adjust
4633
4634         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4635
4636         * undo.C: fix cursor positioning
4637
4638 2003-12-01  John Levon  <levon@movementarian.org>
4639
4640         * BufferView_pimpl.C: fix a crash on exit with
4641         a buffer open
4642
4643 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4644
4645         * BranchList.C: fix setSelected() method.
4646
4647 2003-11-28  André Pönitz  <poenitz@gmx.net>
4648
4649         * ParagraphParameters.[Ch]:
4650         * ParameterStruct.h: remove space above/below from Paragraph to
4651          InsetVSpace
4652
4653         * BufferView_pimpl.C:
4654         * factory.C:
4655         * lyxfunc.C:
4656         * lyxtext.h:
4657         * output_latex.C:
4658         * paragraph.C:
4659         * paragraph_funcs.C:
4660         * rowpainter.[Ch]:
4661         * text.C:
4662         * text2.C:
4663         * text3.C: adjust
4664
4665 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4666
4667         * factory.C: Syntax change for CharStyles
4668
4669 2003-11-28  André Pönitz  <poenitz@gmx.net>
4670
4671         * BufferView.[Ch]:
4672         * BufferView.[Ch]:
4673         * buffer.[Ch]:
4674         * buffer.[Ch]: move LyXText member
4675
4676 2003-11-28  André Pönitz  <poenitz@gmx.net>
4677
4678         * BufferView.[Ch]: make LyXText * text a private member
4679
4680         * BufferView_pimpl.C:
4681         * cursor.C:
4682         * iterators.C:
4683         * lyx_cb.C:
4684         * lyxfind.C:
4685         * lyxtext.h:
4686         * rowpainter.[Ch]:
4687         * text.C:
4688         * text2.C:
4689         * undo.C: adjust
4690
4691         * output_plaintext.C: cleanup
4692
4693 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4694
4695         * buffer.C:
4696         * lyxtextclass.[Ch]: parametrize SGML document header
4697
4698 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4699
4700         * converter.[Ch]:
4701         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4702         getFlavor().
4703
4704 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4705
4706         * text2.C (setFont): rework using PosIterator (no more recursive)
4707         (setCharFont): no more needed
4708         (setLayout): no more selection cursors fiddling (done by redoCursor)
4709         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4710         destroy remaining ones)
4711
4712 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4713
4714         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4715         * lyxtext.h: ditto
4716         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4717         selection cursors
4718         * lyxfunc.C: adjust
4719         * text3.C: adjust + re-allow multi par depth changes
4720         * textcursor.C: simplify a bit
4721
4722 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4723
4724         * src/buffer.C:
4725         * src/lyxlayout.C:
4726         * src/lyxlayout.h:
4727         * src/lyxtext.h:
4728         * src/output_docbook.C:
4729         * src/output_latex.C:
4730         * src/paragraph.C:
4731         * src/paragraph.h:
4732         * src/sgml.C:
4733         * src/sgml.h:
4734         * src/text2.C: Introducing a number of tags parametrizing various
4735         XML formats that we may want to support
4736
4737 2003-11-25  André Pönitz  <poenitz@gmx.net>
4738
4739         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4740
4741         * lyxtext.h (leftMargin/rightMargin): simplify interface
4742
4743         * rowpainter.C:
4744         * text.C:
4745         * text2.C:
4746         * text3.C: adjust
4747
4748 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4749
4750         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4751         master file to any child files. Fixes bug 546.
4752
4753 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4754
4755         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4756
4757 2003-11-24  André Pönitz  <poenitz@gmx.net>
4758
4759         * rowpainter.C: simplification
4760
4761         * text2.C (updateCounters): remove call to redoParagraph on
4762         changed labels as this is far too expensive.
4763
4764 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4765
4766         * converter.C (convert): fix a crash: this function gets
4767         called with buffer == 0 from importer code.
4768
4769 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * text3.C (cursorPrevious): make sure that we do not compare
4772         iterators form different containers.
4773         (cursorNext): ditto
4774
4775         * rowpainter.C (paintSelection): make sure that we do not compare
4776         iterators from different containers.
4777
4778         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4779         iterators from different ParagraphList containers.
4780         [NEXT] ditto
4781
4782         * text2.C (LyXText): change order of initialization slightly
4783         (operator=): new function. copy all variables except cache_par_
4784         (moveUp): make sure that we do not compare iterators from
4785         different ParagraphList constainers.
4786         (moveDown): ditto
4787
4788         * text.C (firstPar): new function
4789         (lastPar): new function
4790         (endPar): new function
4791
4792         * lyxtext.h: move things around and group public functions, public
4793         variables, private functions, private variables
4794
4795 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4796
4797         * factory.C: change call to InsetERT constructor to avoid
4798         additional invocation of method status
4799         * text2.C (toggleInset): remove redundant update() call
4800         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4801         instead of a Bufferview pointer
4802
4803 2003-11-21  André Pönitz  <poenitz@gmx.net>
4804
4805         * rowpainter.C: simplification
4806
4807 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4808
4809         * text3.C (dispatch): make possible to extend a word/row selection
4810         with the mouse
4811
4812 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4813
4814         * lyxtext.h: x0_,y0_ -> xo_,yo_
4815         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4816         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4817         * rowpainter.C (paintRows): paint full paragraphs
4818
4819 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4820
4821         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4822         screen coordinates)
4823
4824 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4825
4826         * lyxtext.h: add x0_, y0_
4827         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4828         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4829
4830 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4831
4832         * text2.C (setCursorIntern): move the x_target update here *
4833         * text3.C: change some bv() to true/false in calls to
4834         cursorUp/Down/Right/Left
4835         * cursor.C: use helper function.
4836
4837 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4838
4839         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4840         * paragraph_funcs.[Ch]: correct comment
4841         * rowpainter.C: do not paint selections away from bv->cursor()
4842         Fix a long standing selection painting bug.
4843         * text3.C: generalize mouse-selection code to LyXTexts other that
4844         top one
4845         * textcursor.C: do not use y coords if we can use par offsets
4846
4847 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4848
4849         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4850         cursor position after e.g. inset insert)
4851
4852 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4853
4854         * lyxfind.C (replace): adjust to locking removal + some
4855         code simplification
4856
4857 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4858
4859         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4860         of the path
4861
4862 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4863
4864         * lyxlayout.[Ch]:
4865         * output_docbook.C: XML sanitation: new layout
4866         parameters InnerTag and CommandDepth
4867
4868 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4869
4870         * BufferView_pimpl.C:
4871         * factory.C:
4872         * text3.C: Fix the insertion and modification of button-style
4873         insets
4874
4875 2003-11-13  André Pönitz  <poenitz@gmx.net>
4876
4877         * InsetList.[Ch]: remove deleteLyXText
4878
4879         * paragraph.[Ch]: cache beginOfBody position
4880
4881         * Bidi.C:
4882         * text.C:
4883         * text2.C:
4884         * text3.C: remove superfluous update() calls
4885
4886         * vspace.C: cleanup
4887
4888 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4889
4890         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4891         * BufferView.C (fitLockedInsetCursor): remove
4892         * cursor.[Ch] (getDim): add
4893         * text.C (getRowNearY): add faster version
4894         * text3.C: remove some update calls
4895
4896 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4897
4898         * LaTeXFeatures.C:
4899         * LyXAction.C:
4900         * MenuBackend.C:
4901         * MenuBackend.h:
4902         * dispatchresult.h:
4903         * factory.C:
4904         * lfuns.h:
4905         * lyxfunc.C:
4906         * lyxtextclass.C:
4907         * lyxtextclass.h:
4908         * text3.C: The Character Style /XML short element patch.
4909
4910 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4911
4912         * text3.C:
4913         * factory.C: Small step to solving 'unable to insert some insets'
4914         problem
4915
4916 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4917
4918         * cursor.[Ch] (updatePos): new function for updating the y
4919         position of the tip inset
4920         * bufferview_funcs.C (put_selection_at):
4921         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4922
4923 2003-11-11  André Pönitz  <poenitz@gmx.net>
4924
4925         * text.C: remove big comment on invalid Paragraph pointers as it is
4926         not valid anymore
4927
4928 2003-11-11  André Pönitz  <poenitz@gmx.net>
4929
4930         * text_funcs.[Ch]: merge with ...
4931
4932         * text.C: ... this
4933
4934         * lyxtext.h:
4935         * text2.C:
4936         * text3.C: adjust
4937
4938         * Makefile.am: remove text_funcs.[Ch]
4939
4940 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * cursor.C (getPos): return absolute cached y coord
4943
4944         * BufferView_pimpl.C (fitCursor): new simplistic code
4945         (workAreaDispatch): add a fitCursor call
4946
4947 2003-11-10  André Pönitz  <poenitz@gmx.net>
4948
4949         * BufferView.[Ch]:
4950         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4951
4952 2003-11-10  André Pönitz  <poenitz@gmx.net>
4953
4954         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4955         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4956         indicate that the cursor needs to leave an inset
4957
4958         * lyxtext.h: remove inset locking
4959
4960         * cursor.[Ch]: re-implement functionality provided by inset locking
4961
4962         * BufferView.[Ch]:
4963         * BufferView_pimpl.[Ch]:
4964         * LyXAction.C:
4965         * bufferview_funcs.[Ch]:
4966         * factory.C:
4967         * funcrequest.[Ch]:
4968         * iterators.C:
4969         * lyx_cb.C:
4970         * lyxfind.C:
4971         * lyxfunc.C:
4972         * text.C:
4973         * text2.C:
4974         * text3.C:
4975         * undo.C: adjust
4976
4977 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4978
4979         * PosIterator.[Ch]: replace the stack with a vector, add inset
4980         accesor
4981         * iterators.[C]: adjust
4982
4983 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4986         replaced
4987         * paragraph_funcs.C (readParToken): put the correct id in the
4988         error item, not the id of the top paragraph
4989
4990 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4993         * bufferview_funcs.C (put_selection_at): use the above
4994
4995 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4998
4999 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5000
5001         * output_linuxdoc.h:
5002         * output_plaintext.h:
5003         * output.h:
5004         * output_docbook.h: add #include statements
5005
5006 2003-11-05  José Matos  <jamatos@lyx.org>
5007
5008         * output_docbook.[Ch]:
5009         * output_latex.[Ch]:
5010         * output_linuxdoc.[Ch]:
5011         * output_plaintext.[Ch]: New files for output formats.
5012         * output.[Ch]: New file for helper functions.
5013
5014         * buffer.[Ch]:
5015         * paragraph_funcs.[Ch]: output functions moved to new files.
5016
5017         * outputparams.h: rename of latexrunparams.h
5018
5019         * LaTeX.[Ch]:
5020         * buffer.[Ch]:
5021         * bufferlist.[Ch]:
5022         * converter.[Ch]:
5023         * exporter.C:
5024         * paragraph.[Ch]:
5025         * paragraph_funcs.[Ch]:
5026         * paragraph_pimpl.[Ch]:
5027         * tabular.[Ch]: rename ascii to plaintext
5028         and LatexRunParams to OutputParams.
5029
5030 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * iterators.[Ch] (text): require bv argument
5033         * undo.C (recordUndo):
5034         * lyxfunc.C (dispatch):
5035         * bufferview_funcs.C (put_selection_at): adjust
5036
5037 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5038
5039         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5040
5041 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5044         nestings
5045
5046 2003-11-04  André Pönitz  <poenitz@gmx.net>
5047
5048         * cursor.[Ch]: restructure
5049
5050         * BufferView.[Ch]:
5051         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5052
5053         * iterators.[Ch] (asCursor): remove
5054
5055         * lfuns.h: remove LFUN_INSET_EDIT
5056
5057         * lyxfunc.C:
5058         * tabular.C:
5059         * text.C:
5060         * text2.C:
5061         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5062
5063 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyxfind.[Ch]: complete overhaul
5066         * BufferView_pimpl.C:
5067         * lyxfunc.C: adjust
5068         * paragraph.[Ch] (insert): add
5069
5070 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * BufferView.[Ch]:
5073         * lyxtext.h:
5074         * text.C: remove dead spellcheck code
5075
5076 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * dispatchresult.h: add a val setter
5079
5080         * cursor.C (dispatch): use a tempvar for data_[i]
5081
5082 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * PosIterator.[Ch]: compile fix
5085
5086 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * text.C (cursorPar): deactivate the cursor cache
5089
5090 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5093
5094 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * text3.C (dispatch): adjust for new DisptchResult semantics.
5097
5098         * lyxfunc.C (dispatch): handle update when return from
5099         Cursor::dispatch, adjust for new DispatchResult semantics.
5100
5101         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5102         DispatchResult(true) mean to not update. Add class functions for
5103         setting dispatched and update, as well as reading.
5104
5105         * cursor.C (dispatch): don't handle update here
5106
5107 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5110         * trans_mgr.C: adjust
5111
5112         * paragraph_funcs.C (readParToken): exception safety
5113
5114         * lyxvc.h: store the vcs pointer in a scoped_ptr
5115         * lyxvc.C: adjust
5116
5117         * lyxsocket.C (serverCallback): exception safety
5118
5119         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5120
5121         * ispell.C (clone): make it return a auto_ptr
5122
5123         * factory.C (createInset): exception safety
5124         (readInset): exception safety
5125
5126         * bufferlist.C (newBuffer): exception safety
5127
5128         * Thesaurus.C (Thesaurus): use initialization for aik_
5129
5130         * MenuBackend.C (expandToc): exception safety.
5131
5132 2003-11-03  André Pönitz  <poenitz@gmx.net>
5133
5134         * buffer.C:
5135         * buffer.h:
5136         * bufferview_funcs.C: remove getInsetFromId()
5137
5138         * lyxcursor.[Ch]:
5139         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5140
5141         * lyxfunc.C:
5142         * text2.C:
5143         * text3.C: adjust
5144
5145 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * PosIterator.C (distance, advance): new
5148         * bufferview_funcs.[Ch] (put_selection_at): new
5149         * iterators.[Ch] (lockPath): new
5150
5151 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * iterators.[Ch] (asPosIterator): added
5154         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5155         * PosIterator.[Ch]: added
5156
5157 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * text3.C:
5160         * lyxfunc.C:
5161         * cursor.C (dispatch):
5162         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5163
5164         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5165         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5166         contructor, add a class function dispatched. Remove operator>=
5167
5168 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * debug.C: only use the default constructor for debugstream
5171         (lyxerr) here.
5172
5173         * main.C (main): include debug.h and setup the lyxerr streambuf
5174         here.
5175
5176 2003-10-31  José Matos  <jamatos@lyx.org>
5177
5178         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5179
5180         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5181         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5182         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5183         * paragraph_pimpl.C (simpleTeXSpecialC):
5184         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5185         add LatexRunParams argument.
5186
5187         * exporter.C (Export): change call accordingly.
5188
5189         * latexrunparams.h: add new member to take care of the other backends.
5190 2003-10-30  José Matos  <jamatos@lyx.org>
5191
5192         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5193         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5194         factorise code for paragraph output.
5195         * buffer.[Ch]:
5196         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5197         move functions.
5198
5199 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * text3.C (dispatch):
5202         * lyxfunc.C (dispatch):
5203         * cursor.C (dispatch):
5204         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5205
5206         * dispatchresult.h: make the dispatch_result_t ctor explicit
5207
5208 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5209
5210         * sgml.[Ch]:
5211         * buffer.C: small refactoring of docbook stuff
5212
5213 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5216         meaning.
5217
5218 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5221         operator dispatch_result_t, and operators for == != and >=
5222
5223         * cursor.C (dispatch): adjust for operator dispatch_result_t
5224         removal. comment out call to update
5225
5226         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5227
5228 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * text3.C:
5231         * text2.C:
5232         * text.C:
5233         * lyxtext.h:
5234         * lyxfunc.C:
5235         * cursor.C:
5236         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5237         (dispatch):
5238
5239         * dispatchresult.h: new file, DispatchResult broken out of
5240         insets/insetbase.h
5241
5242         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5243
5244 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5245
5246         * text.C (rowBreakPoint): put a hack inside #if 0
5247
5248 2003-10-28  André Pönitz  <poenitz@gmx.net>
5249
5250         * lyxtext.h:
5251         * metricsinfo.C:
5252         * paragraph_funcs.C:
5253         * rowpainter.C:
5254         * text.C:
5255         * text2.C: general cleanup (lots of small stuff)
5256
5257 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * text2.C (cursorEnd): simple fix to the "end key goes to one
5260         before the end on last row" bug
5261
5262 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * text.C (backspace): fix the "zombie characters"
5265
5266 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5269
5270 2003-10-27  André Pönitz  <poenitz@gmx.net>
5271
5272         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5273
5274         * factory.C: handle new InsetPagebreak, InsetLine
5275
5276         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5277         and move handling into new InsetPagebreak, InsetLine
5278
5279         * BufferView_pimpl.C:
5280         * LyXAction.C:
5281         * ParagraphParameters.C:
5282         * ParameterStruct.h:
5283         * lyxfunc.C:
5284         * lyxtext.h:
5285         * paragraph.C:
5286         * paragraph.h:
5287         * paragraph_funcs.C:
5288         * paragraph_pimpl.C:
5289         * rowpainter.C:
5290         * text.C:
5291         * text2.C:
5292         * text3.C: adjust
5293
5294 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5295
5296         * text.C:
5297         * lyxrow_funcs.[Ch]:
5298         * Bidi.C:
5299         * paragraph.C:
5300         * lyxtext.h:
5301         * rowpainter.C:
5302         * text2.C:
5303         * text3.C: remove lastPos uses in favour of Row::endpos
5304
5305 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * undo.C (performUndoOrRedo): fix two crashes by setting a
5308         cursor by hand and reordering some calls. Use bv->lockInset instead
5309         of inset->edit because the latter loses cursor information
5310
5311 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5314         by Martin
5315         (rowBreakPoint): fix width. change point to point + 1.
5316         Add a missing check.
5317
5318 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * MenuBackend.C:
5321         * lyxfunc.C: fix (at least partly) the problems
5322         with the Nav menu and headers inside branch insets
5323         reported by Kayvan
5324
5325 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * paragraph.C (getChar): add strong asserts
5328
5329         * lyxrow_funcs.C (lastPos): remove hideous hack
5330
5331         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5332         (fill): adjust to that (avoid an infinite loop)
5333
5334 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5337
5338 2003-10-23  André Pönitz  <poenitz@gmx.net>
5339
5340         * RowList_fwd.h: change list<> to vector<> to gain speed
5341         after suggestion from Alfredo
5342
5343 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * lyxtext.h: move the bidi stuff from here...
5346         * text.C: and here
5347         * text2.C: and here
5348         * Bidi.[Ch]: ... to here
5349
5350 2003-10-23  André Pönitz  <poenitz@gmx.net>
5351
5352         * lyxtext.h:
5353         * text.C (isLastRow, isFirstRow): new functions
5354
5355         * paragraph.h: new width cache member
5356
5357         * rowpainter.C: replace RowList::iterator with Row & where possible
5358
5359         * lyxfunc.C: replace several view()->text with a single call
5360
5361         * toc.C: fix 'unused' warning
5362
5363 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5366         when woring with stream::pos_type
5367         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5368
5369 2003-10-22  André Pönitz  <poenitz@gmx.net>
5370
5371         * lyxtext.h:
5372         * text.C: use Row & instead of RowList::iterator
5373
5374         * lyxrow.h: rename end() to endpos()
5375
5376         * rowpainter.C:
5377         * text.C:
5378         * text2.C: adjust
5379
5380 2003-10-22  Angus Leeming  <leeming@lyx.org>
5381
5382         * buffer.[Ch] (fully_loaded): new member function, returning true
5383         only when the file has been loaded fully.
5384         Used to prevent the premature generation of previews and by the
5385         citation inset to prevent computation of the natbib-style label.
5386
5387         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5388         templates are all set up.
5389
5390         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5391
5392 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5393
5394         * text.C: fixed an "oops" in the "is a bit silly"
5395         bug fix
5396
5397 2003-10-21  André Pönitz  <poenitz@gmx.net>
5398
5399         * FuncStatus.[Ch]: small stuff, whitespace
5400
5401         * lyxfont.[Ch]: operator<<() for debug reasons
5402
5403         * lyxfunc.C:
5404         * lyxrow_funcs.C:
5405         * lyxtext.h: whitespace, spelling
5406
5407         * paragraph.C: naming of variables
5408
5409         * text.C:
5410         * text2.C: small stuff
5411
5412
5413 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5414
5415         * text.C: (1) finish off the inset display() work;
5416         (2) fix the "is a bit silly" bug (accessing char
5417         past end of par).
5418
5419 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5420
5421         * text.C: re-introduce display() for insets, fixing the
5422         various bugs (stretch of line above, math inset
5423         positioning, ...)
5424
5425 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5426
5427         * text.C (rightMargin): remove spurious semicolon
5428
5429         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5430         1415)
5431
5432 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5433
5434         * text3.C: fix one crash due to wrong cursor def
5435
5436 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * vc-backend.C (scanMaster): make the regex static
5439
5440         * LaTeX.C (scanAuxFile): make the regexs static
5441
5442         * text3.C (doInsertInset, dispatch, dispatch):
5443         * text2.C (cursorUp, cursorDown):
5444         * text.C (selectNextWordToSpellcheck):
5445         * BufferView_pimpl.C (dispatch):
5446         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5447
5448 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5449
5450         * lyxsocket.C: include <cerrno>
5451
5452 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * lyxfunc.C (dispatch): remove textcache stuff
5455
5456         * bufferlist.C (release): remove textcache stuff
5457         (closeAll): ditto
5458
5459         * TextCache.C: delete file
5460         * TextCache.h: delete file
5461
5462         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5463
5464         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5465         delete of the bv_->text.
5466         (resizeCurrentBuffer): remove texcache stuff
5467         (workAreaResize): ditto
5468
5469 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5472         action.
5473
5474 2003-10-16  André Pönitz  <poenitz@gmx.net>
5475
5476         * lyxrow.[Ch]:
5477         * paragraph.h:
5478         * rowpainter.C:
5479         * text.C:
5480         * text2.C:
5481         * text3.C: speed up by storing y positions per paragraph plus per-row
5482         offset instead of having a 'full' y position in the row.
5483
5484 2003-10-15  André Pönitz  <poenitz@gmx.net>
5485
5486         * iterators.[Ch]:
5487         * iterators.[Ch]:
5488         * undo.[Ch]: make undo aware of inner insets
5489
5490 2003-10-14  Angus Leeming  <leeming@lyx.org>
5491
5492         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5493         static member functions LyX::ref() and LyX::cref.
5494         (lastfiles): new accessor functions for the new lastfiles_ member var.
5495         (addLyXView, views_): add a new LyXView to the list of views_.
5496         (updateInset): loop over all LyXViews to call their own updateInset
5497         member function, returning a pointer to the Buffer owning the inset.
5498
5499         * BufferView_pimpl.C (loadLyXFile):
5500         * MenuBackend.C (expandLastfiles):
5501         * bufferlist.C (MenuWrite, QuitLyX):
5502         lastfiles is no longer a global variable.
5503         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5504
5505         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5506         static function. Access through LyX::cref().emergencyCleanup().
5507
5508 2003-10-14  André Pönitz  <poenitz@gmx.net>
5509
5510         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5511
5512         * undo.[Ch]: restoring part of 'undo in insets'
5513
5514         * Makefile.am:
5515         * undo_funcs.[Ch]: merge with undo.[Ch]
5516
5517         * tabular.C: small cleansing stuff
5518
5519 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5520
5521         * paragraph_funcs.C (readParToken): report unknown insets as error
5522         boxes. Use the outer paragraph as location (also for unknown
5523         tokens).
5524
5525         * factory.C (readInset): do not abort on reading an unknown inset.
5526         Eat it and return 0.
5527
5528 2003-10-13  Angus Leeming  <leeming@lyx.org>
5529
5530         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5531
5532         * lyxrc.C: displayTranslator is now a function,
5533         declared in GraphicsTypes.h.
5534
5535 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5536
5537         * format.C: new placeholder $$a to pass the socket address.
5538
5539         * bufferlist.[Ch]: new function getBufferFromTmp.
5540
5541         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5542           files in the temporary dir.
5543
5544 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5545
5546         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5547
5548         * Makefile.am: add lyxsocket.[Ch].
5549
5550         * lyx_main.C (error_handler): handle SIGPIPE.
5551
5552 2003-10-13  André Pönitz  <poenitz@gmx.net>
5553
5554         * BufferView_pimpl.C:
5555         * lyxtext.h:
5556         * text.C:
5557         * text2.C:
5558         * text3.C:
5559         * undo_funcs.[Ch]: use paroffset_type instead of
5560           ParagraphList::iterators to prevent multiple conversion
5561           (and get a more robust interface)
5562
5563 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5566         * lyxtext.h: ditto
5567         * text3.C (dispatch): ditto
5568
5569 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5572         move the onlyfile, use onlyfile instead of foundfile in a couple
5573         of places.
5574
5575         * DepTable.C (update): flush the error stream a bit more
5576
5577 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * lyxserver.C (callback): adjust
5580
5581         * lyxfunc.C (getStatus): add a missing brace in commented code
5582         (ensureBufferClean): reindent
5583         (dispatch): delete version taking a string
5584
5585 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * LaTeX.C (deplog): move found file handlig from here...
5588         (handleFoundFile): .. to new function here.
5589         (deplog): make sure to discover several files mentioned on the
5590         same log line.
5591
5592 2003-10-10  André Pönitz  <poenitz@gmx.net>
5593
5594         * lyxfunc.C:
5595         * lyxtext.h:
5596         * tabular.C:
5597         * text.C:
5598         * text2.C:
5599         * text3.C: fix some of the tabular crashes
5600
5601 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5602
5603         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5604
5605         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5606
5607 2003-10-09  André Pönitz  <poenitz@gmx.net>
5608
5609         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5610
5611         * BufferView.C:
5612         * BufferView_pimpl.C:
5613         * bufferview_funcs.C:
5614         * lyx_cb.C:
5615         * lyxcursor.C:
5616         * lyxfind.C:
5617         * lyxfunc.C:
5618         * lyxtext.h:
5619         * text.C:
5620         * text2.C:
5621         * text3.C:
5622         * text_funcs.[Ch]:
5623         * textcursor.[Ch]:
5624         * undo_funcs.C: adjust
5625
5626 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * text2.C (incrementItemDepth): new function, use a backtracking
5629         algorithm to discover the correct item depth.
5630         (resetEnumCounterIfNeeded): new function, use a backtracking
5631         algorithm to discover if counter reset is needed.
5632         (setCounter): use them. Simplify a bit. Add different labels for
5633         different item depths for itemize.
5634
5635         * paragraph.C (Paragraph): remove initialization of enumdepth
5636         (operator=): ditto
5637
5638         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5639         enumerate and itemize. Change the type of itemdepth to signed char.
5640
5641 2003-10-08  André Pönitz  <poenitz@gmx.net>
5642
5643         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5644           thing assignable.
5645         * text.C:
5646         * text2.C: adjust
5647
5648         * tabular.[Ch]: fix crash after 'row-insert'
5649
5650 2003-10-08  Angus Leeming  <leeming@lyx.org>
5651
5652         Fix doxygen warnings.
5653
5654         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5655         Remove CutAndPaste:: prefix from header file declaration.
5656
5657         * LColor.h (fill): remove LColor:: prefix from declaration.
5658
5659         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5660         use lyx::depth_type rather than Paragraph::depth_type so that
5661         header file and .C file match.
5662
5663         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5664
5665         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5666         * aspell.C: \file aspell_local.C -> \file aspell.C
5667         * gettext.C: \file gettext.C -> \file src/gettext.C
5668         * gettext.h: \file gettext.h -> \file src/gettext.h
5669         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5670         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5671         * text.C: \file text.C -> \file src/text.C
5672
5673         * toc.C: move comment so that doxygen is not confused.
5674
5675 2003-10-07  Angus Leeming  <leeming@lyx.org>
5676
5677         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5678
5679 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5680
5681         * aspell.C:
5682         * aspell_local.h: add forgotten std::string's.
5683
5684 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5685
5686         * LaTeXFeatures.C:
5687         * LyXAction.C:
5688         * factory.C:
5689         * lfuns.h:
5690         * lyxfunc.C:
5691         * text3.C: The Box patch. Fancybox support, minipage, parbox
5692
5693 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5694
5695         * CutAndPaste.h:
5696         * DepTable.h:
5697         * FloatList.h:
5698         * LaTeXFeatures.h:
5699         * ParagraphParameters.h:
5700         * TextCache.h:
5701         * Thesaurus.h:
5702         * bufferlist.h:
5703         * exporter.h:
5704         * importer.h:
5705         * lastfiles.h:
5706         * lyxfind.h:
5707         * lyxfont.h:
5708         * lyxlex.h:
5709         * lyxtextclasslist.h:
5710         * messages.h:
5711         * paragraph.h:
5712         * paragraph_pimpl.C:
5713         * textcursor.h: add <string> and other small fixes to make Lars'
5714         std::string patch compile with STLport.
5715
5716 2003-10-06  Angus Leeming  <leeming@lyx.org>
5717
5718         * LColor.h: Add missing #include <string>.
5719
5720 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * All most all file in all subdirs: Make <string> be the prefered
5723         way of getting to std::string, add using declarations.
5724
5725 2003-10-06  André Pönitz  <poenitz@gmx.net>
5726
5727         * metricsinfo.C: initialize LyXFont before changing attribute.
5728         (fixes the 'math in \emph is upright' bug)
5729
5730 2003-10-06  André Pönitz  <poenitz@gmx.net>
5731
5732         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5733
5734 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5735
5736         * graph.C:
5737         * paragraph_pimpl.C: Small fixes to build using STLport
5738
5739 2003-10-02  André Pönitz  <poenitz@gmx.net>
5740
5741         * lyxfunc.C:
5742         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5743
5744 2003-10-01  André Pönitz  <poenitz@gmx.net>
5745
5746         * factory.C: assert early
5747
5748 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * lyx_main.C: remove the global debug object
5751
5752         * debug.h: adjust for new debugstream
5753
5754         * debug.C: adjust for new debugstream and keep the global debug
5755         object here.
5756
5757 2003-09-22  Angus Leeming  <leeming@lyx.org>
5758
5759         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5760         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5761         an incomplete class LyXFont.
5762
5763 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5764
5765         * factory.C: bug fix in branches
5766
5767 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5768
5769         * lyxfunc.C (processKeySym): adjust
5770         (dispatch): adjust
5771         (dispatch): change arg name from ev to func, adjust
5772         (sendDispatchMessage): ditto
5773
5774         * lyx_main.C (defaultKeyBindings): adjust keybindings
5775         (deadKeyBindings): ditto
5776
5777         * kbsequence.C (addkey): return a FuncRequest
5778
5779         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5780
5781         * kbmap.C (bind): take a FuncRequest as arg, adjust
5782         (read): adjust
5783         (lookup): adjust
5784         (defkey): change to take a FuncRequest as arg, adjust
5785         (findbinding): take a FuncRequest as arg, adjust.
5786
5787         * funcrequest.h (operator=): added
5788
5789         * funcrequest.C (FuncRequest): default kb_action changed from
5790         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5791
5792         * buffer.C (dispatch): simplify
5793         (dispatch): adjust to take a FuncRequest as arg, adjust
5794
5795         * boost.C (assertion_failed): change assertion message slightly
5796
5797         * ToolbarBackend.C (read): simplify
5798
5799         * MenuBackend.C (binding): adjust call to findbinding, add a
5800         message if no binding is found.
5801         (read): simplify
5802         (expandToc): correct by adding a empty FuncRequest
5803
5804         * LyXAction.C: include <boost/assert.hpp>
5805         (isPseudoAction): delete function
5806         (LookupFunc): change name to...
5807         (lookupFunc): this. change return type to FuncRequest.
5808         (getActionName): take kb_action as arg, simplify
5809         (funcHasFlag): add an assert, simplify.
5810
5811 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * toc.C (action): return a FuncRequest, simplify
5814
5815         * lyxfunc.C (processKeySym): adjust
5816         (getStatus): delete version that takes an int.
5817         (getStatus): adjust
5818         (dispatch): delete version that takes action as int
5819         (dispatch): adjust
5820         (sendDispatchMessage): simplify and adjust
5821
5822         * funcrequest.C (getArg): take unsigned int as arg
5823
5824         * ToolbarBackend.C (read): adjust
5825         (add): delete version that takes func as a string.
5826         (getIton): take a FuncRequest as arg
5827
5828         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5829         action.
5830
5831         * MenuBackend.C (MenuItem): add a new construct that only takes a
5832         Kind, simplify the constructor use for submenus.
5833         (add): adjust
5834         (expandLastfiles): adjust
5835         (expandDocuments): adjust
5836         (expandFormats): adjust
5837         (expandFloatListInsert): adjust
5838         (expandFloatInsert): adjust
5839         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5840
5841         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5842         Remove class variables lyx_pseudo_map and lyx_arg_map
5843
5844         * LyXAction.C (searchActionArg): delete function
5845         (getPseudoAction): delete function
5846         (retrieveActionArg): delete function
5847         (LookupFunc): make it return kb_action, simplify.
5848         (getActionName): simplify
5849
5850         * factory.C (createInset): fix new bug
5851
5852 2003-09-19  Angus Leeming  <leeming@lyx.org>
5853
5854         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5855         masterFilename_ parameter in the include inset.
5856
5857         * factory.C (createInset): changes due to the changes to InsetInclude.
5858
5859 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5860
5861         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5862
5863 2003-09-18  Angus Leeming  <leeming@lyx.org>
5864
5865         * buffer.C:
5866         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5867         Inset::fillWithBibKeys.
5868         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5869
5870 2003-09-18  Angus Leeming  <leeming@lyx.org>
5871
5872         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5873         variables.
5874         (ctor): pass and store a 'Buffer const &'
5875         (buffer): new member function.
5876
5877         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5878         '*this' to the LaTeXFeatures ctor.
5879
5880 2003-09-18  Angus Leeming  <leeming@lyx.org>
5881
5882         * LColor.h:
5883         * lyxfont.C:
5884         * lyxfont.h:
5885         * lyxtext.h:
5886         * text.C: rename EnumLColor as LColor_color.
5887
5888 2003-09-18  Angus Leeming  <leeming@lyx.org>
5889
5890         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5891         remove #include "insets/insetbase.h" from cursor.h.
5892
5893 2003-09-18  Angus Leeming  <leeming@lyx.org>
5894
5895         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5896         InsetOld_code to remove #include "inset.h".
5897
5898         * iterators.C: add #include "insets/inset.h"
5899
5900 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5901
5902         * BufferView.C: remove more locking stuff that apparently doesn't
5903         do anything sensible.
5904
5905 2003-09-16  André Pönitz  <poenitz@gmx.net>
5906
5907         * paragraph.[Ch]:
5908         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5909           performance boost.
5910
5911 2003-09-16  Angus Leeming  <leeming@lyx.org>
5912
5913         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5914
5915         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5916         arg/return type.
5917
5918         * paragraph.h: remove #include "lyxfont.h". Forward declare
5919         LyXFont_size.
5920
5921 2003-09-16  Angus Leeming  <leeming@lyx.org>
5922
5923         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5924         of support/textutils.h.
5925         (isWord): move the contents of support/textutils.h's IsWordChar here.
5926
5927         * buffer.C:
5928         * lyxfind.C:
5929         * rowpainter.C:
5930         * text.C:
5931         * text2.C: add #include "paragraph.h".
5932
5933         * rowpainter.C:
5934         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5935
5936 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * main.C:
5939         * lyx_main.C:
5940         * lyx_cb.C:
5941         * buffer.C:
5942         * LaTeX.C: use namespace alias for lyx::support::os
5943
5944 2003-09-16  Angus Leeming  <leeming@lyx.org>
5945
5946         * bufferparams.C:
5947         * bufferview_funcs.C:
5948         * factory.C:
5949         * lyxfunc.C:
5950         * paragraph_pimpl.C:
5951         * rowpainter.C:
5952         * text.C: add #include "LColor.h".
5953
5954 2003-09-16  Angus Leeming  <leeming@lyx.org>
5955
5956         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5957         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5958         return LyXFont &.
5959         Store the FontBits::color variable as an int rather than as an
5960         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5961         file.
5962
5963         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5964         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5965         string calls together.
5966
5967         * lyxrc.C: add #include "LColor.h".
5968
5969 2003-09-15  Angus Leeming  <leeming@lyx.org>
5970
5971         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5972         a cow_ptr.
5973
5974 2003-09-15  Angus Leeming  <leeming@lyx.org>
5975
5976         * LColor.h: add an EnumLColor wrapper for LColor::color.
5977
5978         * lyxfont.[Ch] (color, setColor, realColor):
5979         * lyxtext.h, text.C (backgroundColor):
5980         pass EnumLColor args to/from the functions, rather than LColor::color
5981         ones.
5982
5983         * lyxfont.h:
5984         * lyxtext.h: forward declare EnumLColor.
5985
5986         * lyx_main.C: add #include "LColor.h".
5987
5988 2003-09-15  Angus Leeming  <leeming@lyx.org>
5989
5990         * .cvsignore: add lyx-gtk.
5991
5992 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * Chktex.C
5995         * LaTeX.C
5996         * LaTeXFeatures.C
5997         * ParagraphParameters.C
5998         * Spacing.C
5999         * buffer.C
6000         * bufferparams.C
6001         * bufferview_funcs.C
6002         * chset.C
6003         * counters.C
6004         * funcrequest.C
6005         * lyxfont.C
6006         * lyxgluelength.C
6007         * lyxlength.C
6008         * paragraph.C
6009         * paragraph_funcs.C
6010         * text3.C
6011         * vc-backend.C: remove usage of STRCONV
6012
6013 2003-09-15  Angus Leeming  <leeming@lyx.org>
6014
6015         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6016         explicitly define the color passed to the painter.
6017
6018 2003-09-15  Angus Leeming  <leeming@lyx.org>
6019
6020         * bufferparams.C (BufferParams): reorder member initializers to avoid
6021         compiler warning.
6022
6023 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6024
6025         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6026         * text.C (updateRowPositions): remove an unusual nop
6027
6028 2003-09-12  André Pönitz  <poenitz@gmx.net>
6029
6030         * BufferView_pimpl.C:
6031         * Bullet.C:
6032         * layout.h:
6033         * lyxfunc.C:
6034         * lyxlayout.[Ch]:
6035         * lyxtextclass.C:
6036         * rowpainter.C:
6037         * text.C:
6038         * text2.C:
6039         * Counters.[Ch]: finish the 'automatic counters' job
6040
6041 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6042
6043         * aspell.C: include <boost/assert.cpp> (compile fix)
6044
6045 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6046
6047         * boost.C (assertion_failed): use lyx::support::abort instead of
6048         assert.
6049
6050 2003-09-10  Angus Leeming  <leeming@lyx.org>
6051
6052         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6053         with their _fwd progeny.
6054
6055 2003-09-09  Angus Leeming  <leeming@lyx.org>
6056
6057         134 files throughtout the source tree: replace 'using namespace abc;'
6058         directives with the appropriate 'using abc::xyz;' declarations.
6059
6060 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6061
6062         * boost.C (emergencyCleanup): moved here from LAssert.c
6063         (assertion_failed): new function, called by BOOST_ASSERT
6064
6065         * several files: change Assert to BOOST_ASSERT
6066
6067 2003-09-09  Angus Leeming  <leeming@lyx.org>
6068
6069         * buffer.[Ch]: Add an Impl class and move Buffer's member
6070         variables into it. As a result move several header files out of
6071         buffer.h.
6072
6073         Add header files to lots of .C files all over the tree as a result.
6074
6075 2003-09-09  Angus Leeming  <leeming@lyx.org>
6076
6077         * buffer.[Ch]: make Buffer's member variables private. Add
6078         accessor functions.
6079
6080         Lots of changes all over the tree as a result.
6081
6082 2003-09-08  Angus Leeming  <leeming@lyx.org>
6083
6084         * graph.C: #include <config.h>.
6085
6086 2003-09-08  Angus Leeming  <leeming@lyx.org>
6087
6088         * BranchList.C:
6089         * BufferView.C:
6090         * BufferView_pimpl.C:
6091         * CutAndPaste.C:
6092         * DepTable.C:
6093         * LaTeX.C:
6094         * LaTeXFeatures.C:
6095         * LyXAction.C:
6096         * MenuBackend.C:
6097         * TextCache.C:
6098         * aspell.C:
6099         * buffer.C:
6100         * bufferlist.C:
6101         * changes.C:
6102         * chset.C:
6103         * converter.C:
6104         * counters.C:
6105         * debug.C:
6106         * graph.C:
6107         * ispell.C:
6108         * lyx_cb.C:
6109         * lyxfind.C:
6110         * lyxfunc.C:
6111         * lyxlex_pimpl.C:
6112         * lyxrc.C:
6113         * lyxrow.C:
6114         * paragraph.C:
6115         * rowpainter.C:
6116         * texrow.C:
6117         * text.C:
6118         * text2.C:
6119         * toc.C: remove redundant using directives.
6120
6121 2003-09-07  Angus Leeming  <leeming@lyx.org>
6122
6123         * LaTeXFeatures.h: remove #include "support/types.h".
6124         * ToolbarBackend.h: remove #include <algorithm>.
6125         * changes.h: remove #include <ctime>.
6126         * debug.h: remove #include <iosfwd>.
6127         * graph.h: remove #include "support/std_string.h".
6128         * lyx_main.h: remove #include <csignal>.
6129         * lyxlex_pimpl.h: remove #include <fstream>.
6130         * sgml.h: remove #include <algorithm>, <utility>.
6131         * toc.h: remove #include "support/std_ostream.h".
6132         Add #include <iosfwd>.
6133
6134 2003-09-07  Angus Leeming  <leeming@lyx.org>
6135
6136         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6137
6138         * converter.h: forward declare LatexRunParams.
6139         * encoding.h: remove #include "lyxrc.h".
6140         * lyxtext.h: remove #include "LColor.h".
6141         * lyxtextclass.h: remove #include "support/types.h".
6142         * trans.h: remove #include "tex-accent.h".
6143         * trans_mgr.h: remove #include "tex-accent.h".
6144         * insets/inset.h: remove #include "support/types.h", <vector>.
6145         * insets/insetcollapsable.h: remove #include "LColor.h".
6146         * insets/insetinclude.h: remove #include "dimension.h".
6147         * insets/insetlatexaccent.h: remove #include "dimension.h".
6148         * insets/insetoptarg.h:: remove #include "insettext.h".
6149         * insets/insettext.h: remove #include "dimension.h",
6150         <boost/shared_ptr.hpp>
6151
6152         * insets/renderers.h: add #include "dimension.h".
6153         * insets/updatableinset.h: add #include "support/types.h".
6154
6155         * many .C files: Associated changes.
6156
6157 2003-09-06  Angus Leeming  <leeming@lyx.org>
6158
6159         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6160         one, inside testInvariant.
6161
6162         * PrinterParams.C: new file.
6163         * PrinterParams.[Ch]: move the function bodies out of line.
6164
6165 2003-09-06  Angus Leeming  <leeming@lyx.org>
6166
6167         * ParagraphParameters.h: forward declare ParameterStruct rather than
6168         including its header file.
6169         (depth): moved out-of-line.
6170
6171 2003-09-06  Angus Leeming  <leeming@lyx.org>
6172
6173         * BufferView_pimpl.h:
6174         * kbmap.h:
6175         * kbsequence.h:
6176         * lyxfunc.h: forward declare LyXKeySym rather than
6177         #include "frontends/LyXKeySym.h".
6178
6179         * BufferView_pimpl.C:
6180         * kbmap.C:
6181         * kbsequence.C:
6182         * lyxfunc.C: associated changes.
6183
6184 2003-09-06  Angus Leeming  <leeming@lyx.org>
6185
6186         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6187         As a result, can remove the #include "insets/inset.h" from BufferView.h
6188
6189 2003-09-06  Angus Leeming  <leeming@lyx.org>
6190
6191         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6192         As a result, can remove the #include "insets/inset.h" from BufferView.h
6193
6194 2003-09-06  Angus Leeming  <leeming@lyx.org>
6195
6196         * buffer_funcs.C:
6197         * buffer.h:
6198         * bufferlist.C:
6199         * BufferView.C:
6200         * bufferview_funcs.C:
6201         * BufferView_pimpl.C:
6202         * CutAndPaste.C:
6203         * lyx_cb.C:
6204         * lyxfunc.C:
6205         * paragraph.h:
6206         * ParagraphParameters.C:
6207         * tabular.C:
6208         * text3.C:
6209         * toc.C:
6210         * undo_funcs.C:
6211         * frontends/controllers/ControlDocument.C:
6212         * insets/insetcaption.C: rearrange the #includes into some sort of
6213         coherent order.
6214
6215         * buffer.h: remove #includes ErrorList.h, undo.h
6216
6217 2003-09-06  Angus Leeming  <leeming@lyx.org>
6218
6219         * support/types.h: add a 'depth_type' typedef, used to store the
6220         nesting depth of a paragraph.
6221
6222         * paragraph.h:
6223         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6224         defining explicitly.
6225
6226         * buffer.h:
6227         * paragraph_funcs.h:
6228         * ParagraphParameters.h:
6229         * sgml.h: use lyx::depth_type rather than Paragraph or
6230         ParameterStruct's depth_type.
6231
6232         * buffer.h
6233         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6234
6235         * BufferView.C:
6236         * BufferView_pimpl.C:
6237         * CutAndPaste.C:
6238         * ParagraphParameters.C:
6239         * buffer_funcs.C:
6240         * bufferlist.C:
6241         * bufferview_funcs.C:
6242         * lyx_cb.C:
6243         * lyxfunc.C:
6244         * tabular.C:
6245         * text3.C:
6246         * toc.C:
6247         * undo_funcs.C:
6248         * frontends/LyXView.C:
6249         * frontends/controllers/ControlDocument.C:
6250         * frontends/controllers/ControlErrorList.C:
6251         * insets/insetbibitem.C:
6252         * insets/insetbranch.C:
6253         * insets/insetcaption.C:
6254         * insets/insetcollapsable.C:
6255         * insets/insetenv.C:
6256         * insets/insetert.C:
6257         * insets/insetfloat.C:
6258         * insets/insetfoot.C:
6259         * insets/insetfootlike.C:
6260         * insets/insetnewline.C:
6261         * insets/insetquotes.C:
6262         * insets/insettabular.C:
6263         * insets/insettext.C:
6264         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6265
6266         * frontends/controllers/ControlChanges.C: #include "changes.h".
6267
6268 2003-09-06  Angus Leeming  <leeming@lyx.org>
6269
6270         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6271         than #including paragraph.h.
6272
6273         * ParagraphList.h:
6274         * RowList.h: deleted. Superfluous.
6275
6276         * CutAndPaste.h:
6277         * iterators.h:
6278         * lyxcursor.h:
6279         * lyxtext.h:
6280         * text_funcs.h:
6281         * undo.h:
6282         * undo_funcs.h:
6283         * insets/inset.h:
6284         * insets/insettext.h: use ParagraphList_fwd.h rather than
6285         ParagraphList.h.
6286
6287         * paragraph.h: don't forward declare ParagraphList.
6288
6289         * buffer.h:
6290         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6291         rather than ParagraphList.h. paragraph.h is still needed for the
6292         Paragraph::depth_type parameters.
6293
6294         * textcursor.h: enable it to compile stand-alone in light of the
6295         above changes.
6296
6297         * bufferview_funcs.C:
6298         * iterators.C:
6299         * lyxfunc.C:
6300         * lyxrow_funcs.C:
6301         * paragraph.C:
6302         * rowpainter.C:
6303         * text.C:
6304         * text2.C:
6305         * text3.C:
6306         * text_funcs.C:
6307         * textcursor.C:
6308         * undo.C:
6309         * frontends/controllers/ControlParagraph.C:
6310         * frontends/controllers/ControlTabular.C:
6311         * insets/insetmarginal.C:
6312         * insets/insetminipage.C:
6313         * insets/insetnote.C:
6314         * insets/insetoptarg.C: add header files needed to compile again.
6315
6316 2003-09-06  Angus Leeming  <leeming@lyx.org>
6317
6318         * RowList_fwd.h: new file, forward-declaring Row rather than
6319         #including lyxrow.h.
6320
6321         * lyxrow_funcs.h:
6322         * lyxtext.h:
6323         * paragraph.h:
6324         * insets/insettext.h: use it instead of RowList.h
6325
6326         * bufferview_funcs.C:
6327         * lyxfunc.C:
6328         * lyxrow_funcs.C:
6329         * paragraph.C:
6330         * rowpainter.C:
6331         * text.C:
6332         * text2.C:
6333         * text3.C: #include "RowList.h".
6334
6335 2003-09-05  Angus Leeming  <leeming@lyx.org>
6336
6337         * factory.C (createInset):
6338         * vspace.C (c-tor): replace sscanf call with an istringstream.
6339         * ispell.C: re-add missing HP/UX headers.
6340         * lyxserver.C: re-add missing  os2 headers.
6341
6342 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6343
6344         * BranchList.C:
6345         * graph.C:
6346         * ispell.C:
6347         * lastfiles.C:
6348         * lyx_cb.C:
6349         * lyxserver.C:
6350         * texrow.C:
6351         * text3.C: re-add missing system headers, needed for 2.95.2.
6352
6353 2003-09-05  Angus Leeming  <leeming@lyx.org>
6354
6355         Changes most place everywhere due to the removal of using directives
6356         from support/std_sstream.h.
6357
6358 2003-09-05  Angus Leeming  <leeming@lyx.org>
6359
6360         Replace LString.h with support/std_string.h,
6361         Lsstream.h with support/std_sstream.h,
6362         support/LIstream.h with support/std_istream.h,
6363         support/LOstream.h with support/std_ostream.h.
6364
6365         Changes resulting throughout the tree.
6366
6367 2003-09-05  Angus Leeming  <leeming@lyx.org>
6368
6369         * sgml.h: ensure that the header file can be compiled stand-alone.
6370         * *.C: strip out redundant #includes. (320 in total.)
6371
6372 2003-09-04  Angus Leeming  <leeming@lyx.org>
6373
6374         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6375         here (from getPackages).
6376
6377         * debug.[Ch]: add a new EXTERNAL tag.
6378
6379 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6380
6381         * text2.C (cursorEnd): simplify
6382         (setCursor): adjust
6383         (getColumnNearX): adjust
6384
6385         * text.C (computeBidiTables): adjust
6386         (fill): adjust
6387
6388         * rowpainter.C (paintChars): adjust
6389         (paintSelection): adjust
6390         (paintChangeBar): adjust
6391         (paintText): adjust
6392
6393         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6394         lastPos instead.
6395         (numberOfSeparators): adjust
6396
6397 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6398
6399         * LyXAction.C:
6400         * box.[Ch]:
6401         * lfuns.h:
6402         * lyxfunc.C:
6403         * text3.C: Restricts the mouse click functionality
6404         of insets like bibtex, include, toc and floatlist to the visible
6405         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6406         up the dialogs. Cursor has to be in front of the inset (i.e.
6407         start of row) for this to function.
6408
6409 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6410
6411         * bufferview_funcs.C (currentState): output row information
6412
6413 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6414
6415         * bufferview_funcs.C (currentState): output paragraph position
6416
6417 2003-09-04  Angus Leeming  <leeming@lyx.org>
6418
6419         * FloatList.h: move out #include "Floating.h".
6420         * LaTeX.h: move out #include "DepTable.h".
6421         * LyXAction.h: move out #include "funcrequest.h".
6422         * buffer.h: move out #include "author.h", "iterators.h".
6423         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6424         * lyx_main.h: move out #include "errorlist.h".
6425         * lyxfunc.h: move out #include "FuncStatus.h".
6426         * lyxtext: move out #include "lyxcursor.h".
6427         * paragraph_pimpl.h: move out #include "counters.h".
6428
6429 2003-09-03  Angus Leeming  <leeming@lyx.org>
6430
6431         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6432         preamble_snippets list, enabling us to add snippets to the preamble
6433         only if the snippet was not there already.
6434
6435 2003-09-04  Angus Leeming  <leeming@lyx.org>
6436
6437         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6438
6439 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6442         update
6443
6444 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6445
6446         * BranchList.C: point fix, earlier forgotten
6447
6448 2003-09-02  Angus Leeming  <leeming@lyx.org>
6449
6450         * box.C (contains): renamed from 'contained' after a fantastic
6451         amount of hot air.
6452
6453 2003-09-02  John Levon  <levon@movementarian.org>
6454
6455         * BufferView.C:
6456         * lyxcursor.h:
6457         * lyxcursor.C:
6458         * lyxfunc.C:
6459         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6460
6461 2003-09-02  John Levon  <levon@movementarian.org>
6462
6463         * text2.C: simplification of cursorEnd(), including partial
6464         fix for bug 1376
6465
6466 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * buffer.C (readFile): add a space
6469
6470 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6471
6472         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6473
6474 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6475
6476         * buffer.C (readFile): new function, take a filename and a
6477         ParagraphList::iterator
6478         (readFile): adjust
6479         (readFile): adjust, make it private. don't use setStream, make
6480         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6481         always contain the filename.
6482
6483         * BufferView.C (insertLyXFile): simplify and make it work for
6484         gzipped files.
6485
6486 2003-08-30  John Levon  <levon@movementarian.org>
6487
6488         * Makefile.am: fix dist (from Kayvan)
6489
6490 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * most files: change to use const Buffer refs
6493
6494 2003-08-27  André Pönitz  <poenitz@gmx.net>
6495
6496         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6497         on top of ownerPar().
6498
6499 2003-08-27  John Levon  <levon@movementarian.org>
6500
6501         * funcrequest.C: properly initialise POD members
6502
6503 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6504
6505         * lyxtext.h (top_y): move top_y from here
6506         * text.C:
6507         * text2.C:
6508         * text3.C:
6509         * BufferView.[Ch]:
6510         * BufferView_pimpl.[Ch]: to here
6511         * frontends/screen.C:
6512         * insets/insettabular.C:
6513         * insets/insettext.C: adjust
6514         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6515
6516 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6517
6518         * BufferView.[Ch]:
6519         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6520
6521 2003-08-26  André Pönitz  <poenitz@gmx.net>
6522
6523         * paragraph_func.[Ch] (outerPar): new function
6524
6525         * paragraph.C:
6526         * paragraph_funcs.C:
6527         * paragraph_funcs.h:
6528         * paragraph_pimpl.C:
6529         * text2.C: remove Inset::par_owner
6530
6531 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6532
6533         * lyxrow_funcs.C:
6534         * lyxtext.h:
6535         * text.C:
6536         * text2.C: eliminates the needFullRow/display() stuff
6537         altogether, putting the logic in metrics/draw in the insets.
6538
6539 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6540
6541         * text2.C (redoParagraphInternal, redoParagraphs):
6542         * text.C (redoParagraph): add a call to updateRowPositions at the
6543         end of each 'metrics-like' call. Remove all others.
6544         (getRow): remove the 'y-computing' version.
6545         (getRowNearY): do not compute nor return the real y. Solve the
6546         'y < 0' problem and simplify.
6547
6548 2003-08-22  Angus Leeming  <leeming@lyx.org>
6549
6550         * *.[Ch]: clean-up of licence and author blurbs.
6551         Also move config.h out of a few .h files and into a few .C files.
6552
6553 2003-08-22  André Pönitz  <poenitz@gmx.net>
6554
6555         * lyxrow.[Ch]: add x_ and *fill_ members
6556
6557         * lyxtext.h:
6558         * text.C:
6559         * rowpainter.C:
6560         * text2.C: adjust/remove prepareToPrint() calls
6561
6562 2003-08-22  André Pönitz  <poenitz@gmx.net>
6563
6564         * lyxrow.[Ch]: add  end_ member
6565
6566         * lyxrow_funcs.C: use LyXRow::end_
6567
6568         * lyxtext.h (singleWidth): add LyXFont parameter
6569
6570         * rowpainter.C:
6571         * text2.C: adjust LyXText::singleWidth() calls
6572
6573         * text.C (redoParagraph): simplify row breaking logic
6574
6575
6576 2003-08-19  André Pönitz  <poenitz@gmx.net>
6577
6578         * funcrequest.C: initialize button_ member
6579
6580         * text3.C:
6581         * rowpainter.[Ch]: interface consolidation
6582
6583 2003-08-18  André Pönitz  <poenitz@gmx.net>
6584
6585         * BufferView.C:
6586         * BufferView_pimpl.C:
6587         * lyxfind.C:
6588         * paragraph_funcs.C:
6589         * rowpainter.C:
6590         * text3.C: remove LyXScreen::draw() and fitCursor calls
6591
6592         * BranchList.h: remove spurious semicolons
6593
6594         * MenuBackend.C: fix branchlist related crash
6595
6596 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6597
6598         * BranchList.[Ch]:
6599         * InsetList.[Ch]:
6600         * LColor.[Ch]:
6601         * LyXAction.C:
6602         * Makefile.am:
6603         * MenuBackend.[Ch]:
6604         * bufferparams.[Ch]:
6605         * factory.C:
6606         * lfuns.h:
6607         * lyxfunc.C:
6608         * text3.C: implements the 'branch inset'
6609         idea. This allows the output of various versions of a document
6610         from a single source version, selectively outputing or suppressing
6611         output of parts of the text.
6612         This implementation contains a 'branch list editor' in a separate
6613         tab of the document settings dialog. Branches are user definable
6614         and have a "display colour" to distinguish them on-screen.
6615
6616         ColorHandler was somewhat cleaned up.
6617         (1) make possible a dynamically growing LColor list by allowing
6618         the graphic context cache to grow along (vector);
6619         (2) eliminate an IMHO unnecessary step in colour allocation.
6620
6621 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6622
6623         * BufferView_pimpl.C: compile fix
6624
6625 2003-08-15  André Pönitz  <poenitz@gmx.net>
6626
6627         * rowpainter.C: remove extra metrics calls
6628
6629         * lyxtext.h: merge the two constructors into a single one,
6630           pass reference to owner's par list
6631
6632         * BufferView_pimpl.C:
6633         * text.C:
6634         * text2.C: adjust
6635
6636 2003-08-15  André Pönitz  <poenitz@gmx.net>
6637
6638         * lyxrow_funcs.[Ch]:
6639         * lyxtext.h:
6640         * paragraph.h:
6641         * paragraph_funcs.C:
6642         * rowpainter.C:
6643         * text.C:
6644         * text2.C:
6645         * text3.C:
6646         * text_funcs.C: split LyXText::rowlist_ into individual
6647         Paragraph::rows_ chunks
6648
6649         * BufferView.[Ch]:
6650         * BufferView_pimpl.[Ch]:
6651         * lyxfind.C:
6652         * lyxtext.h:
6653         * text3.C: remove toggleSelection()
6654
6655 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6656
6657         * bufferlist.C: beautify two alerts (shorter text of buttons)
6658         * buffer.C: Remove redundant ' ' from message
6659         * tabular.h:
6660         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6661         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6662         rename VALIGN_CENTER to VALIGN_MIDDLE
6663
6664 2003-08-11  André Pönitz  <poenitz@gmx.net>
6665
6666         * lyxtext.h (getPar):
6667         * text.C: new function
6668
6669 2003-08-11  André Pönitz  <poenitz@gmx.net>
6670
6671         * Makefile.am:
6672         * tracer.[Ch]: remove unneeded files
6673
6674         * InsetList.[Ch]: remove resizeInsetsLyXText()
6675
6676         * lyxtext.h:
6677         * text.C:
6678         * text2.C:
6679         * text3.C: merge insertParagraphs() and appendParagraph()
6680         remove breakAgain(), update()
6681
6682         * BufferView_pimpl.[Ch]:
6683         * bufferview_funcs.[Ch]:
6684         * lyxfunc.C:
6685         * paragraph.[Ch]:
6686         * rowpainter.C:
6687         * tabular.C: adjust after text & InsetList changes.
6688
6689 2003-08-08  André Pönitz  <poenitz@gmx.net>
6690
6691         * text.C (insertChar, backspace): replace rowlist fiddling
6692         with rebreak of full par
6693
6694         * lyxtext.h:
6695         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6696         checkParagraph, updateInset): removed
6697
6698 2003-08-07  André Pönitz  <poenitz@gmx.net>
6699
6700         * paragraph.C:
6701         * text3.C: merge some LFUN handlers, remove dead code
6702
6703 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6704
6705         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6706
6707 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6708
6709         * text2.C (DEPM): fix part of bug 1255 and 1256
6710
6711 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6712
6713         * BufferView_pimpl.C (workAreaDispatch): change to use
6714         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6715         that are no mouse related.
6716
6717 2003-08-05  André Pönitz  <poenitz@gmx.net>
6718
6719         * BufferView.[Ch]:
6720         * BufferView_pimpl.[Ch]:
6721         * bufferview_funcs.C:
6722         * text2.C:
6723         * text3.C: rip out "deep update"
6724
6725         * textcursor.[Ch] (last_sel_cursor): remove unused member
6726
6727 2003-08-04  André Pönitz  <poenitz@gmx.net>
6728
6729         * BufferView.[Ch]:
6730         * BufferView_pimpl.[Ch]:
6731         * ParagraphParameters.C:
6732         * bufferview_funcs.C:
6733         * lyx_cb.C:
6734         * lyxfind.C:
6735         * lyxfunc.C:
6736         * text.C:
6737         * text2.C:
6738         * text3.C: replace "complicated" BufferView::update(...) calls with
6739         simpler ones.
6740
6741         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6742
6743 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6744
6745         * Makefile.am (lyx_SOURCES): add paper.h
6746
6747 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6748
6749         * Makefile.am: move things around so that both lyx-qt and
6750         lyx-xforms can be built (according to --with-frontend). Then lyx
6751         is a symbolic link to lyx-[firstfrontend]
6752
6753 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6754
6755         * Always use std::endl with lyxerr
6756
6757 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6758
6759         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6760
6761 2003-08-01  André Pönitz  <poenitz@gmx.net>
6762
6763         * BufferView.[Ch]:
6764         * BufferView_pimpl.[Ch]:
6765         * lyxfunc.C:
6766         * text3.C: merge BufferView::repaint() and BufferView::update()
6767
6768 2003-08-01  José Matos  <jamatos@lyx.org>
6769
6770         * buffer.[Ch]: file_format is no longer a buffer data element.
6771
6772 2003-08-01  André Pönitz  <poenitz@gmx.net>
6773
6774         * BufferView.C:
6775         * lyxtext.h:
6776         * text.C:
6777         * text2.C: make redoParagraph more independent of current cursor
6778
6779         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6780         * text.C:
6781         * text2.C: remove unneeded members
6782
6783 2003-07-30  André Pönitz  <poenitz@gmx.net>
6784
6785         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6786
6787         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6788           create a single function...
6789
6790         * paragraph_funcs.C (moveItem): ... here.
6791
6792         * text.C:
6793           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6794
6795 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6796
6797         * LColor.[Ch]: Add comment and greyedout logical colors.
6798
6799 2003-07-30  André Pönitz  <poenitz@gmx.net>
6800
6801         * tabular.C: don't use Assert too heavily. This crashes where it
6802           shouldn't
6803
6804 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6805
6806         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6807         is disabled (bug 1232)
6808
6809 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6810
6811         * factory.C: limited 'arg' scope
6812
6813 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6814
6815         * factory.C: fixed Note submenu issues
6816
6817 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6818
6819         * factory.C: submenu for Note/Comment/Greyedout
6820
6821 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * lyx_main.C (LyX):
6824         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6825
6826 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6827
6828         * LaTeXFeatures.C:
6829         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6830         greyedout. Patch provided by Jürgen Spitzmüller.
6831
6832 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6833
6834         * kbmap.C (read): fix error message when reading bind files
6835
6836 2003-07-29  Angus Leeming  <leeming@lyx.org>
6837
6838         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6839         certainly does not do what it purports to do. I am doing it, and
6840         us, a favour by killing it.
6841
6842 2003-07-28  José Matos  <jamatos@lyx.org>
6843
6844         * buffer.C (readBody, do_writeFile):
6845         * paragraph.C(readParagraph): \end_document replaces \the_end.
6846
6847 2003-07-29  André Pönitz  <poenitz@gmx.net>
6848
6849         * BufferView.[Ch]:
6850         * BufferView_pimpl.[Ch]:
6851         * lyxfunc.C:
6852         * text2.C:
6853         * text3.C:
6854         * textcursor.[Ch]: remove toggleToggle & Co
6855
6856 2003-07-28  José Matos  <jamatos@fep.up.pt>
6857
6858         * buffer.C (readParagraph):
6859         * params_func (readParToken, readParagraph):
6860         * paragraph.C (write): \layout -> \begin_layout.
6861
6862 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * lyxlex_pimpl.C (setFile): clean up slightly.
6865
6866         * bufferparams.h: add compressed var
6867
6868         * buffer_funcs.C (readFile): adjust for LyXLex change
6869         (newFile): ditto + simplify
6870
6871         * buffer.C (writeFile): handle writing of compressed files
6872
6873         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6874         Check if the file is compressed and set a bufferparm if so.
6875
6876         * Makefile.am (lyx_LDADD): remove explicit -lz
6877
6878 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6879
6880         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6881         makeDocBookFile): put the real LyX version in the first line of
6882         the file
6883
6884         * version.h:
6885         * version.C.in: remove lyx_docversion
6886
6887         * tabular.C (write_attribute): add a template-based version to
6888         write enums properly
6889
6890 2003-07-28  André Pönitz  <poenitz@gmx.net>
6891
6892         * lyxtext.h:
6893         * text.C:
6894         * text2.C:
6895         * text3.C: use doubles again for x-coordinates. They are needed.
6896
6897 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * messages.C (getLocaleDir): use lyx_localedir()
6900
6901         * lyxlex_pimpl.C (setFile): compress stuff
6902
6903         * buffer.C (writeFile): add some compression stuff
6904         (do_writeFile): new func, dont call expliti close... will this
6905         breake anything?
6906
6907         * Makefile.am (lyx_LDADD): add -lz
6908
6909 2003-07-28  José Matos  <jamatos@fep.up.pt>
6910
6911         * buffer.C: increment file format.
6912         * paragraph_funcs (readParagraph, readParToken):
6913         * paragraph.C (readParagraph): add \end_layout.
6914
6915 2003-07-27  Angus Leeming  <leeming@lyx.org>
6916
6917         * Makefile.am: remove special casing for configure-time setting of
6918         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6919
6920         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6921         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6922
6923 2003-07-26  André Pönitz  <poenitz@gmx.net>
6924
6925         * paragraph_func.[Ch]:
6926         * paragraph.C (realizeFont): inline it whereever it is used
6927
6928         * rowpainter.C:
6929         * text.C:
6930         * text2.C:
6931         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6932
6933
6934 2003-07-26  André Pönitz  <poenitz@gmx.net>
6935
6936         *       lyxtext.h:
6937         * text.C:
6938         * text2.C: get rid of LyXText::need_break_row
6939
6940 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * toc.[Ch]: put namespace toc inside namespace lyx
6943
6944         * MenuBackend.C (expandToc2): adjust for lyx::toc
6945         (expandToc): ditto
6946
6947         * lyxfunc.C (dispatch): adjust for lyx::find
6948
6949         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6950         lyx::find instead. Reorganize a bit.
6951         (LyXReplace): rename to replace
6952         (LyXFind): rename to find
6953
6954         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6955         (dispatch): ditto
6956
6957 2003-07-26  André Pönitz  <poenitz@gmx.net>
6958
6959         * text.C (setHeightOfRow): restrict scope of temporary variable
6960
6961         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6962           code (never has been used?)
6963
6964 2003-07-27  Asger Alstrup  <alstrup@local>
6965
6966         * text.C (fill): Optimise algorithm to exploit that we can reuse
6967         the LyXFont for many characters.
6968         (setHeightOfRow): Same thing.
6969         (rowBreakPoint): Same thing.
6970
6971 2003-07-26  Asger Alstrup  <alstrup@local>
6972
6973         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6974
6975         * text.C (singleWidth): Spurious font copying in hot-spot
6976         singleWidth avoided. Reorder tests for arabic for efficiency.
6977
6978         * text.C (fill): handle empty paragraphs better.
6979
6980 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6981
6982         * ispell.C:
6983         * encoding.h: add includes
6984
6985         * lyxrc.C: remove reading of bind files
6986
6987         * lyx_main.C (init): setup bindings and menus only if we have a
6988         gui.
6989
6990         * kbmap.C (read): new method. Do the actual reading of bind
6991         files.
6992
6993         * converter.C (dvipdfm_options):
6994         * bufferparams.C:
6995         * lyxrc.C (read):
6996         (output): adapt PAPER_* enums.
6997
6998         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6999
7000         * bufferparams.h: remove paper-related enums from there
7001
7002         * paper.h: New file. A trivial header file to hold paper-related
7003         enums. It should later expand to contain many paper-related
7004         horrors access.
7005
7006         * lyxrc.C: declare extern displayTranslator
7007
7008 2003-07-27  José Matos  <jamatos@fep.up.pt>
7009
7010         * tabular.[Ch] (linuxdoc): add support for tables and figures
7011         (linuxdoc).
7012
7013 2003-07-27  José Matos  <jamatos@fep.up.pt>
7014
7015         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7016         consistency in both functions.
7017         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7018
7019 2003-07-26  Asger Alstrup  <alstrup@local>
7020
7021         * rowpainter.C (paintRows): Change algorithm to work directly on
7022         the insets rather than asking every character in the document
7023         whether its an inset.
7024
7025 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7026
7027         * buffer.C (openFileWrite): factorize some code
7028
7029 2003-07-26  Angus Leeming  <leeming@lyx.org>
7030
7031         * lyx_cb.C:
7032         * lyx_main.[Ch]: replace occurances of system_tempdir with
7033         os::getTmpDir().
7034
7035 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * rename Inset to InsetOld
7038
7039 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7040
7041         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7042         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7043         which I think is a bit clearer. EDIT is gone, since it was
7044         premature optimisation, and broken for mathed anyway.
7045         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7046         with cursor positioning in insets as well (math insets still do not
7047         work, but that's a different story anyway.) It mysteriously
7048         crashes sometimes with undo in the first paragraph, but I'm fairly
7049         confident that this is a compiler bug.
7050
7051 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * paragraph.C (Paragraph): adjust for new clone return type
7054         (operator==): ditto
7055         (copyIntoMinibuffer): ditto
7056
7057 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7058
7059         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7060         by not having a special case, and always doing a full rebreak of
7061         the document after undo.
7062
7063 2003-07-23  Angus Leeming  <leeming@lyx.org>
7064
7065         * factory.C (createInset): InsetExternal::setParams now takes a
7066         Buffer const * arg.
7067
7068 2003-07-23  Angus Leeming  <leeming@lyx.org>
7069
7070         * factory.C (createInset): changed interface to the external and
7071         graphics mailers' string2params functions.
7072
7073 2003-07-23  Angus Leeming  <leeming@lyx.org>
7074
7075         * factory.C (createInset): pass a
7076         Buffer const * parameter to InsetExternalMailer's string2params.
7077
7078 2003-07-22  John Levon  <levon@movementarian.org>
7079
7080         * Thesaurus.h: include the right aiksaurus header
7081
7082 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7083
7084         * MenuBackend.C (expand): check menu shortcuts unconditionally
7085
7086 2003-07-21  Angus Leeming  <leeming@lyx.org>
7087
7088         * factory.C (createInset): pass a
7089         buffer_path parameter to InsetGraphicsMailer's string2params.
7090
7091 2003-07-21  Angus Leeming  <leeming@lyx.org>
7092
7093         * BufferView_pimpl.C (buffer):
7094         * buffer.C (d-tor):
7095         * lyx_main.C (LyX):
7096         * lyxfunc.C (dispatch):
7097         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7098         rather than the grfx shortcut.
7099
7100 2003-07-21  André Pönitz  <poenitz@gmx.net>
7101
7102         * rowpainter.C: remove unused variables
7103
7104         * tabular_funcs.C:
7105         * tabular_funcs.h: move to tabular.C
7106         * Makefile.am: adjust
7107
7108         * tabular.[Ch]: basic optical cleaning
7109
7110         * author.h: pass references, not values
7111
7112 2003-07-18  André Pönitz  <poenitz@gmx.net>
7113
7114         * lyxtext.h:
7115         * metricsinfo.C:
7116         * metricsinfo.h:
7117         * rowpainter.C:
7118         * text.C:
7119         * text2.C:
7120         * text3.C: two-phase drawing for InsetText and InsetTabular
7121         some float -> int changes.
7122
7123 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7124
7125         * lyx_main.C: fix the fix
7126
7127 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7128
7129         * lyx_main.C: fix a crash in batch mode if no files specified
7130         * converter.C: ws
7131
7132 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7133
7134         * format.[Ch] (papersize): moved to BufferParams
7135         * converter.[Ch] (dvips_options): moved to BufferParams
7136         (dvipdfm_options): moved to anon namespace
7137         * bufferparams.[Ch]: added above functions.
7138
7139 2003-07-17  André Pönitz  <poenitz@gmx.net>
7140
7141         * lyxtext.h:
7142         * rowpainter.C:
7143         * text2.C: don't call inset->update() anymore
7144
7145         * metricsinfo.[Ch]: add convenience constructor
7146
7147 2003-07-16  André Pönitz  <poenitz@gmx.net>
7148
7149         * lyxcursor.[Ch]:
7150         * lyxfunc.[Ch]:
7151         * text.C:
7152         * text2.C: replace the LyXCursor::irow_ member with
7153          on-demand computation of the value
7154
7155 2003-07-16  John Levon  <levon@movementarian.org>
7156
7157         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7158
7159 2003-07-15  André Pönitz  <poenitz@gmx.net>
7160
7161         * text.C:
7162         * text2.C: remove no more needed refresh_row
7163
7164 2003-07-15  André Pönitz  <poenitz@gmx.net>
7165
7166         * lyxtext.h:
7167         * rowpainter.C:
7168         * text2.C:
7169         * text3.C: refresh_status tristate -> need_update bool
7170
7171 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7172
7173         * lyxtext.h (init): remove reinit argument (act as if always true)
7174         * text2.C: adjust to that
7175
7176 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7177
7178         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7179         * text3.C: use it to delete selections in some cases
7180         (bugs 441, 673, 702, 954).
7181
7182 2003-07-14  André Pönitz  <poenitz@gmx.net>
7183
7184         * rowpainter.[Ch]: reduce interface
7185
7186 2003-07-14  André Pönitz  <poenitz@gmx.net>
7187
7188         * BufferView_pimpl.C:
7189         * text2.C: adjust after removing unused BufferView * argument
7190
7191 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7192
7193         * text2.C (init): fix a crash fired on resize
7194
7195 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * buffer.[Ch]: added new closing signal
7198         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7199         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7200         BufferView::Pimpl via the closing the signal
7201
7202 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7203
7204         * buffer.[Ch]: take out all bv-related from buffer
7205         * BufferView.C:
7206         * BufferView_pimpl.[Ch]: connect to new signals
7207         * CutAndPaste.C: removed useless asserts
7208         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7209         * lyxvc.[Ch]:
7210         * vc-backend.[Ch]:
7211         * lyxfunc.C: moved view-related funciontality from vc here
7212         * paragraph.C: removed outdated comments
7213         * text.C: ws
7214
7215 2003-07-10  André Pönitz  <poenitz@gmx.net>
7216
7217         * BufferView_pimpl.C:
7218         * tabular.h:
7219         * tabular_funcs.C:
7220         * text.C:
7221         * text2.C: remove InsetText::InnerCache, clean up consequences
7222
7223 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7224
7225         * ispell.C: fix two typos in error messages
7226
7227 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7228
7229         * Extend Note inset to other forms of annotation like Comment
7230         and Greyedout. Right button click gives dialog.
7231
7232         Files modified or added (+):
7233
7234         * insetnote.[Ch]
7235         * FormNote.[Ch]      +
7236         * ControlNote.[Ch]   +
7237         * form_note.fd       +
7238         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7239         frontends/controllers
7240         * xforms/Dialogs.C
7241         * factory.C
7242
7243 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7244
7245         * aspell.C: add missing namespace lyx::support
7246
7247 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * BufferView.[Ch] (newFile): Add
7250         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7251         * LaTeX.[Ch] (message): added this signal and use it
7252         * buffer.[Ch] (busy, message): added these signals and use them
7253         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7254         * converter.C:
7255         * exporter.C:
7256         * format.C:
7257         * importer.C: use buffer signals instead of direct bv calling
7258         * lyx_cb.[Ch] (ShowMessage): removed
7259         * lyx_main.C:
7260         * lyxfunc.C:
7261         * paragraph_funcs.C:
7262         * text2.C: use buffer signals
7263
7264 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * introduce namespace lyx::graphics
7267
7268 2003-07-02  André Pönitz  <poenitz@gmx.net>
7269
7270         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7271
7272 2003-07-01  André Pönitz  <poenitz@gmx.net>
7273
7274         * text.C:
7275         * text2.C:
7276         * text3.C:
7277         * text_funcs.[Ch]:
7278         * textcursor.h:
7279         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7280           text*.C to text_func.C
7281
7282 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * introduce namespace lyx::support
7285
7286 2003-06-30  André Pönitz  <poenitz@gmx.net>
7287
7288         * Chktex.C:
7289         * funcrequest.C:
7290         * lyxtext.h:
7291         * text.C: re-enable --with-included-string
7292
7293 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7294
7295         * textcursor.C: add <config.h>
7296
7297         * text.C (getWord): remove const from word_location arg
7298
7299         * lyxvc.C (getLogFile): fix const type order
7300
7301         * lyxtext.h: remove const from word_location arg, add arg name
7302
7303         * lyxlayout.h: currect type on labeltype.
7304
7305         * importer.C: correct \file
7306
7307         * converter.C (intToFormat): use std:: on ret val, ws changes
7308
7309         * bufferlist.h: correct \file
7310
7311         * buffer.C (makeLinuxDocFile): fix const type order
7312         (makeDocBookFile): ditto
7313         (fillWithBibKeys): use std:: on stdlib args.
7314
7315         * CutAndPaste.C: fix authors.
7316         (availableSelections): use std:: on return vector
7317
7318 2003-06-27  André Pönitz  <poenitz@gmx.net>
7319
7320         * BufferView_pimpl.C:
7321         * bufferview_funcs.C:
7322         * lyxcursor.C:
7323         * lyxcursor.h:
7324         * lyxfunc.C:
7325         * lyxtext.h:
7326         * rowpainter.C:
7327         * text.C:
7328         * text2.C:
7329         * text3.C: remove LyXCursor::row_ member
7330
7331         * lyxtext.h:
7332         * text.C: rename fullRebreak() to partialRebreak() and implement
7333           a fullRebreak() that really bereks fully
7334
7335         * textcursor.h: new struct for cursor-related data
7336
7337 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7338
7339         * lyx_main.C (LyX): get full path of document loaded on the
7340         command line
7341
7342 2003-06-26  André Pönitz  <poenitz@gmx.net>
7343
7344         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7345           remove unused/broken operator>,<,>=.
7346
7347         *       text.C: remove only use of broken operator<= in an Assert().
7348
7349 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7350
7351         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7352         moved errorlist_.clear to showErrorList
7353
7354 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7355
7356         * converter.C (scanLog, runLaTeX):
7357         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7358         move the bv->showErrorList call to the callers
7359         * lyxfunc.C: i.e. here...
7360         * text2.C: and here
7361         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7362         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7363         namespace, the second to...
7364         * buffer_funcs (BufferFormat, parseErrors): added
7365         * errorlist.C (ErrorList(TeXErrors const &)): removed
7366
7367 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7368
7369         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7370
7371 2003-06-24  "Garst R. Reese" <reese@isn.net>
7372
7373         * debug.C: fix typo
7374
7375 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7376
7377         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7378
7379         * version.C.in: change docversion to 1.4
7380
7381 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7382
7383         * buffer.C: fix a bug just introduced
7384
7385 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7386
7387         * buffer.[Ch]: added the parseError signal and use it, removed
7388         sgmlError
7389         * BufferView.[Ch] (addError): moved to ...
7390         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7391         to the Buffer::parseError signal to catch (guess what) parse errors
7392         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7393
7394 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7395
7396         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7397         ability to create a buffer and to return an existing one from
7398         the list. Moved these functions to...
7399         * buffer_funcs.[Ch]: added
7400         * BufferView.[Ch] (loadLyXFile): added
7401         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7402         job removed from bufferlist::loadLyXFile.
7403         * buffer.C (setReadOnly): make it work without view
7404         (i.e added an if (users))
7405
7406 2003-06-19  Angus Leeming  <leeming@lyx.org>
7407
7408         * lfuns.h:
7409         * LyXAction.C (init):
7410         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7411         with LFUN_DIALOG_SHOW <name> <data>.
7412
7413 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7414
7415         * CutAndPaste.C (availableSelections): small compilation fix for
7416         ancient (gcc 2.9x) compilers
7417
7418 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * text3.C (cursorNext): add tmp var
7421
7422         * text2.C (updateCounters): for function calling out of for clause
7423         (replaceSelectionWithString): ditto
7424         (insertStringAsParagraphs): ditto
7425         (getColumnNearX): add tmp var
7426         (setCursorFromCoordinates): add tmp var
7427         (cursorDownParagraph): add tmp var
7428         (deleteEmptyParagraphMechanism): add tmp var
7429
7430         * text.C (insertChar): add tmp var
7431
7432         * rowpainter.C (paintDepthBar): add tmp var
7433
7434         * CutAndPaste.C (availableSelections): potentially check all
7435         paragraphs in a cut to fill the shown strings.
7436
7437 2003-06-18  André Pönitz  <poenitz@gmx.net>
7438
7439         * kbmap.[Ch]: use vector<> instead of list<>
7440
7441 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7442
7443         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7444         pasteSelection with index
7445
7446         * text2.C (pasteSelection): modify, call pasteSelection with index
7447
7448         * paragraph.C (asString): reimplement version with no interval to
7449         call the one with interval.
7450
7451         * lyxtext.h: add index arg to pasteSelection
7452
7453         * MenuBackend.C (MenuItem): handle PasteRecent
7454         (Menu::read::Menutags): add md_pasterecent
7455         (read): handle it
7456         (expandPasteRecent): new function
7457         (expand): use it
7458
7459         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7460
7461         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7462         the limited stack
7463         (availableSelections): new function
7464
7465 2003-06-17  Angus Leeming  <leeming@lyx.org>
7466
7467         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7468
7469 2003-06-17  Angus Leeming  <leeming@lyx.org>
7470
7471         * lfuns.h:
7472         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7473
7474         * lyxfunc.C (dispatch): invoke it.
7475
7476 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7477
7478         * iterators.C (operator++, ParPosition): reintroduce some
7479         const_cast for the benefit of older compilers.
7480
7481 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7482
7483         * text3.C (dispatch): do not modify clipboard when doing
7484         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7485         LFUN_DELETE_SKIP on a selection selection
7486
7487 2003-06-16  André Pönitz  <poenitz@gmx.net>
7488
7489         * BufferView.C:
7490         * buffer.C:
7491         * buffer.h:
7492         * paragraph.C:
7493         * tabular.[Ch]: IU of clone() and getLabelList();
7494
7495 2003-06-13  André Pönitz  <poenitz@gmx.net>
7496
7497         * tabular.h: compactification
7498
7499 2003-06-12  André Pönitz  <poenitz@gmx.net>
7500
7501         * tabular.C:
7502         * tabular.h:
7503         * tabular_funcs.h: some renaming plus whitespace
7504
7505 2003-06-12  André Pönitz  <poenitz@gmx.net>
7506
7507         * BufferView.C:
7508         * BufferView_pimpl.C:
7509         * CutAndPaste.C:
7510         * buffer.C:
7511         * iterators.[Ch]:
7512         * lyxfunc.C:
7513         * text.C:
7514         * toc.C: Return a Paragraph & for ParIterator::operator*()
7515
7516 2003-06-11  John Levon  <levon@movementarian.org>
7517
7518         * lyx_main.C:
7519         * ToolbarBackend.h:
7520         * ToolbarBackend.C: add "Toolbars" section and
7521         put the flags there
7522
7523 2003-06-10  Angus Leeming  <leeming@lyx.org>
7524
7525         * lfuns.h:
7526         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7527
7528         * lyxfunc.C (dispatch): invoke it.
7529
7530 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * main.C: protect <ios> with HAVE_IOS
7533         (main): protect sync_with_stdio with HAVE_IOS
7534
7535 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7536
7537         * text2.C (cutSelection): adjust
7538         (pasteSelection): adjust
7539
7540         * messages.C: handle get of empty string
7541
7542         * main.C (main): use sync_with_stdio(false)
7543
7544         * lyxfunc.C (dispatch): adjust
7545
7546         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7547         (WriteAs): remove unneeded BufferView arg.
7548
7549         * bufferparams.h: use correct types on papersize, papersize2 and
7550         paperpackage.
7551
7552         * bufferparams.C (readToken): adjust for type
7553         (writeLaTeX): add missing cases to switch.
7554
7555         * bufferlist.C (quitWriteBuffer): adjust
7556         (close): adjust
7557
7558         * buffer.C (asciiParagraph): remove some commented code.
7559
7560         * CutAndPaste.C: remove current_view extern variable.
7561         (cutSelection): add BufferParams arg.
7562         (eraseSelection): add BufferParams arg.
7563         (pasteSelection): add Buffer const & arg
7564
7565 2003-06-07  John Levon  <levon@movementarian.org>
7566
7567         * buffer.C:
7568         * paragraph_funcs.C:
7569         * paragraph_pimpl.C:
7570         * text.C:
7571         * text2.C:
7572         * paragraph.h:
7573         * paragraph.C: allow InsetERT to freely space lines,
7574         and some consolidation of code
7575
7576 2003-06-06  José Matos  <jamatos@fep.up.pt>
7577
7578         * buffer.C (makeDocBookFile): fix bug #821
7579
7580 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7581
7582         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7583
7584 2003-06-04  Angus Leeming  <leeming@lyx.org>
7585
7586         * buffer.C: bump format to 224.
7587
7588 2003-06-05  André Pönitz  <poenitz@gmx.net>
7589
7590         * text2.C (redoParagraphs): remove two const_cast<>
7591
7592 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7593
7594         * ParagraphList.h: remove last remnants of NO_STD_LIST
7595
7596 2003-06-03  Angus Leeming  <leeming@lyx.org>
7597
7598         * factory.C (createInset): small change to the way InsetExternal's params
7599         are set.
7600
7601 2003-06-04  André Pönitz  <poenitz@gmx.net>
7602
7603         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7604
7605         * paragraph_pimpl.h:
7606         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7607
7608         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7609
7610         * undo_funcs.C: make some simple cases of undo work again
7611
7612 2003-06-03  John Levon  <levon@movementarian.org>
7613
7614         * ispell.C: HPUX doesn't have sys/select.h
7615         (from Albert Chin)
7616
7617 2003-06-03  John Levon  <levon@movementarian.org>
7618
7619         * CutAndPaste.C: update tabular and include inset
7620         buffer references
7621
7622         * buffer.h:
7623         * paragraph.h:
7624         * paragraph.C: remove owningBuffer(), don't pass Buffer
7625         to clone()
7626
7627         * factory.C: insetGraphicsParams changed
7628
7629 2003-06-02  John Levon  <levon@movementarian.org>
7630
7631         * LyXAction.C:
7632         * factory.C:
7633         * lfuns.h:
7634         * lyxfunc.C:
7635         * text3.C: remove insetparent
7636
7637 2003-06-02  John Levon  <levon@movementarian.org>
7638
7639         * buffer.h:
7640         * buffer.C: fix inset_iterator.end(), move out of line
7641         (bug 1149)
7642
7643 2003-06-01  John Levon  <levon@movementarian.org>
7644
7645         * text3.C: use a proper cut/paste when doing inset
7646         insert (from Jürgen Spitzmüller)
7647
7648 2003-06-01  John Levon  <levon@movementarian.org>
7649
7650         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7651
7652 2003-05-30  André Pönitz  <poenitz@gmx.net>
7653
7654         * rowpainter.C: unify second drawing phase
7655
7656 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * trans_mgr.C: remove one case of current_view
7659
7660         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7661
7662         * paragraph_funcs.h: remove paragraph.h include
7663
7664         * paragraph.h: delete NO_STD_LIST stuff
7665
7666         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7667
7668         * buffer.h: remove paragraph.h include
7669
7670         * ParagraphList.C: delete file
7671
7672         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7673
7674         * toc.C (getTocList): adjust
7675
7676         * paragraph_pimpl.C (validate): adjust
7677
7678         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7679
7680         * paragraph.C (Paragraph): adjust
7681         (getPositionOfInset): use const_iterator, adjust
7682         (bibitem): use const_iterator, adjust
7683         (setInsetOwner): adjust
7684
7685         * iterators.C (operator++): adjust
7686
7687         * InsetList.[Ch]: Replace selfmade iterator with standard
7688         vector::iterator also introduce const_iterator. Remove getPos,
7689         getInset and setInset from InsetTable. Adjust accordingly.
7690
7691         * BufferView.C (lockInset): adjust
7692         (ChangeInsets): adjust
7693
7694         * tabular.[Ch]: delete commented same_id functions
7695
7696 2003-05-28  John Levon  <levon@movementarian.org>
7697
7698         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7699
7700 2003-05-28  André Pönitz  <poenitz@gmx.net>
7701
7702         * metricsinfo.[Ch]: remove 'fullredraw' member
7703
7704 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7705
7706         * lyxtextclass.C (operator): remove caching.
7707
7708 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * text3.C: adjust
7711
7712         * text2.C (cursorBottom): adjust
7713         (setCounter): use ParagraphList::find, adjust
7714
7715         * text.C (workWidth): use ParagraphList::find, adjust
7716
7717         * lyxcursor.C (LyXCursor): adjust
7718
7719         * buffer.C (inset_iterator): adjust
7720
7721         * ParagraphList.h: make iterator(value_type) private, make
7722         ParagraphList a friend of iterator.
7723
7724         * ParagraphList.C (find): new function
7725
7726         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7727
7728 2003-05-27  André Pönitz  <poenitz@gmx.net>
7729
7730         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7731
7732 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7733
7734         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7735
7736 2003-05-26  John Levon  <levon@movementarian.org>
7737
7738         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7739
7740 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * remove same_id from function signatures, adjust.
7743
7744 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7747
7748         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7749
7750         * paragraph.C (Paragraph): get rid of same_ids parameter
7751
7752         * ParagraphList.C (insert): adjust
7753         (push_back): adjust
7754
7755 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * paragraph_funcs.C (breakParagraph): adjust
7758         (breakParagraphConservative): adjust
7759
7760         * buffer.C (readParagraph): adjust
7761
7762         * ParagraphList.C (insert): take a reference instead of a pointer
7763         (insert): adjust
7764
7765         * paragraph.[Ch] (id): new function
7766
7767         * bufferlist.C (newFile): adjust
7768
7769         * ParagraphList.C (ParagraphList): adjust
7770         (assign): adjust
7771         (push_back): take a reference instead of a pointer.
7772
7773         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7774
7775         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7776         instead.
7777
7778         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7779         set else use old code.
7780
7781         * ParagraphList.C: remove all NO_NEXT code and only compile this
7782         code of NO_STD_LIST is set.
7783
7784 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7785
7786         * BufferView_pimpl.C:
7787         * TextCache.C:
7788         * TextCache.h:
7789         * bufferlist.C:
7790         * errorlist.h:
7791         * format.C:
7792         * format.h:
7793         * graph.C:
7794         * lyxfunc.C:
7795         * lyxrc.C:
7796         * graphics/GraphicsConverter.C:
7797         * graphics/PreviewLoader.C: header adjustment
7798
7799 2003-05-23  Angus Leeming  <leeming@lyx.org>
7800
7801         * LaTeXFeatures.[Ch] (useBabel): new method.
7802         * bufferparams.C (writeLaTeX): use it.
7803
7804 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * ParagraphList.h (set): remove unused function.
7807
7808 2003-05-23  André Pönitz  <poenitz@gmx.net>
7809
7810         * BufferView.C:
7811         * BufferView_pimpl.C:
7812         * buffer.C:
7813         * buffer.h:
7814         * lyxfunc.C:
7815         * undo_funcs.C: setUndo reworked
7816
7817         * iterators.[Ch]: add access to topmost ParagraphList
7818
7819         * lyxtext.[Ch] (workWidth): add a const
7820
7821 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7822
7823         * texrow.[Ch] (increasePos): remove function
7824         * exporter.C (export): removed unused var and outdated comment
7825
7826 2003-05-23  Angus Leeming  <leeming@lyx.org>
7827
7828         * latexrunparams.h: rename fragile as moving_arg.
7829         * paragraph.C (simpleTeXOnePar): ditto.
7830         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7831
7832 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7835         (createUndo): ditto
7836         (textUndoOrRedo): comment out a currently unused var.
7837
7838         * paragraph.h (NO_NEXT): enable NO_NEXT
7839
7840         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7841
7842         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7843
7844         * exporter.C (Export): adjust for removeAutoInsets removal.
7845
7846         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7847
7848         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7849
7850         * BufferView.[Ch] (removeAutoInsets): delete function
7851
7852 2003-05-22  Angus Leeming  <leeming@lyx.org>
7853
7854         * latexrunparams.h: add a free_spacing variable.
7855
7856         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7857         to pass moving_arg, as the data is stored in runparams.fragile.
7858
7859         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7860         to Inset::latexOptional or to simpleTeXOnePar.
7861
7862         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7863         free_spacing arg to Inset::latexOptional.
7864
7865         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7866         free_spacing arg.
7867
7868 2003-05-22  Angus Leeming  <leeming@lyx.org>
7869
7870         * latexrunparams.h: add fragile and use_babel variables.
7871
7872         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7873         * buffer.C (makeLaTeXFile): store this returned value in
7874         runparams.use_babel, thus passing it to the inset::latex methods.
7875
7876         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7877         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7878
7879         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7880         longer has a fragile arg, as it is stored in runparams.fragile.
7881
7882         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7883         moving_arg parameter as the data is stored in runparams.fragile.
7884
7885         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7886         a fragile parameter as the data is stored in runparams.fragile.
7887
7888 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7891
7892 2003-05-22  Angus Leeming  <leeming@lyx.org>
7893
7894         * latexrunparams.h: add a 'bool nice' which defaults to false.
7895
7896         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7897         now encapsulated within runparams.
7898
7899         * bufferlist.C (updateIncludedTeXfiles):
7900         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7901
7902 2003-05-22  Angus Leeming  <leeming@lyx.org>
7903
7904         * latexrunparams.h: new file containing struct LatexRunParams.
7905         * Makefile.am: add new file.
7906
7907         * LaTeX.[Ch] (c-tor, run):
7908         * buffer.[Ch] (makeLaTeXFile):
7909         * bufferlist.[Ch] (updateIncludedTeXfiles):
7910         * converter.C (convert, scanLog):
7911         * converter.[Ch] (runLaTeX):
7912         * exporter.C (Export):
7913         * paragraph.[Ch] (simpleTeXOnePar):
7914         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7915         * paragraph_funcs.[Ch] (latexParagraphs):
7916         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7917         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7918         pass around a LatexRunParams parameter.
7919
7920 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7921
7922         * paragraph.[Ch]: remove unused constructor
7923
7924         * ParagraphList.C (erase): new function, taking two iterators
7925
7926 2003-05-22  André Pönitz  <poenitz@gmx.net>
7927
7928         * undo_funcs.C: remove duplicated code
7929
7930         * iterator.[Ch]: operator=
7931
7932 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * tabular.C (SetMultiColumn): ws changes
7935
7936         * rowpainter.C (paintFirst): get rid of a ->previous
7937
7938         * lyx_cb.C (getPossibleLabel): parlist simplification
7939
7940         * BufferView.C (ChangeInsets): simplify slightly.
7941
7942 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7943
7944         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7945         * lfuns.h: new LFUN_SPACE
7946         * lyxfunc.C: protected space has a new lfun
7947         * paragraph_funcs.C: read new space insets
7948         * text3.C:
7949         * factory.C: handle new space insets
7950
7951 2003-05-22  André Pönitz  <poenitz@gmx.net>
7952
7953         * BufferView.C:
7954         * BufferView_pimpl.C:
7955         * buffer.[Ch]:
7956         * lyxfunc.C:
7957         * undo_funcs.C: return a ParIterator from getParFromID.
7958
7959         * iterators.[Ch]: add two const's
7960
7961 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * toc.C (getTocList): adjust
7964
7965         * iterators.[Ch]: rework for parlist
7966
7967         * buffer.C (par_iterator_begin): adjust
7968         (par_iterator_end): adjust
7969
7970         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7971
7972         * BufferView.C (removeAutoInsets): adjust
7973         (ChangeInsets): adjust
7974
7975 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7976
7977         * text.C (top_y): fix bug 1110
7978
7979 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7980
7981         * errorlist.[Ch]: added
7982         * buffer.C:
7983         * BufferView.[Ch]:
7984         * BufferView_pimpl.C:
7985         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7986         instead
7987
7988 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * Makefile.am: ensure that lyx is relinked upon changes to the
7991         various "convenience" libs.
7992
7993 2003-05-20  Angus Leeming  <leeming@lyx.org>
7994
7995         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7996         files are compiled in alphabetical order again.
7997
7998         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7999
8000 2003-05-19  Angus Leeming  <leeming@lyx.org>
8001
8002         * gettext.[Ch]: remove "char const * _(char const *)".
8003
8004 2003-05-19  André Pönitz  <poenitz@gmx.net>
8005
8006         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8007
8008         * Makefile.am:
8009         * BufferView.C:
8010         * DepTable.h:
8011         * LaTeXFeatures.C:
8012         * buffer.C:
8013         * lyxfont.C:
8014         * lyxlex.h:
8015         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8016
8017 2003-05-19  André Pönitz  <poenitz@gmx.net>
8018
8019         * buffer.C:
8020         * lyxlayout.[Ch]:
8021         * lyxtextclass.[Ch]:
8022         * paragraph.C:
8023         * paragraph_funcs.[Ch]:
8024         * text2.C:
8025         * text3.C: more insetenv work
8026
8027 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * ParagraphParameters.C (params2string): small bug fixed
8030
8031 2003-05-16  André Pönitz  <poenitz@gmx.net>
8032
8033         * debug.C:
8034         * bufferview_funcs.C: patch from Kornel Benko to prevent
8035           crash when _(...) is called twice in a statement
8036
8037 2003-05-16  André Pönitz  <poenitz@gmx.net>
8038
8039         * BufferView.C:
8040         * lyxfunc.C:
8041         * text.C:
8042         * text2.C:
8043         * text3.C:
8044         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8045
8046 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8047
8048         * lyx_main.C (init): remove spurious static_cast
8049
8050 2003-05-14  André Pönitz  <poenitz@gmx.net>
8051
8052         * BufferView.C: fix format string
8053
8054 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8055
8056         * BufferView.[Ch] (insertErrors): removed
8057         * BufferView.[Ch] (showErrorList): added
8058         * buffer.C (runChkTeX):
8059         * converter.C (scanLog): call showErrorList instead of inserterrors
8060
8061 2003-05-13  André Pönitz  <poenitz@gmx.net>
8062
8063         * BufferView_pimpl.C:
8064         * buffer.C:
8065         * bufferview_func.C:
8066         * MenuBackend.C:
8067         * lyxfunc.C:
8068         * lyxrc.C:
8069         * tex-accent.C:
8070         * text3.C:
8071         * toc.C:
8072         * tabular_funcs.h: tostr() from its own header
8073
8074         * ParagraphParameters.C:
8075         * ToolbarBackend.C:
8076         * bufferparams.C:
8077         * format.C:
8078         * lyxlex_pimpl.C:
8079         * text3.C: STRCONV()
8080
8081 2003-05-12  André Pönitz  <poenitz@gmx.net>
8082
8083         * BufferView.C:
8084         * BufferView_pimpl.C:
8085         * CutAndPaste.C:
8086         * LaTeX.C:
8087         * LaTeXFeatures.C:
8088         * ParagraphParameters.C:
8089         * buffer.C:
8090         * bufferlist.C:
8091         * bufferparams.C:
8092         * bufferview_funcs.C:
8093         * converter.C:
8094         * counters.C:
8095         * debug.C:
8096         * exporter.C:
8097         * format.C:
8098         * importer.C:
8099         * lyx_cb.C:
8100         * lyx_main.C:
8101         * lyxfont.C:
8102         * lyxfunc.C:
8103         * lyxvc.C:
8104         * paragraph.C:
8105         * paragraph_funcs.C:
8106         * tabular.C:
8107         * tabular_funcs.C:
8108         * text2.C:
8109         * text3.C:  boost::format -> bformat  all over the place
8110
8111
8112 2003-05-09  André Pönitz  <poenitz@gmx.net>
8113
8114         * LColor.[Ch]: Pimpl the #include <map> away
8115
8116 2003-05-09  John Levon  <levon@movementarian.org>
8117
8118         * bufferlist.C: never remove emergency saves
8119
8120 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * Makefile.am: better lib building
8123
8124 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8125
8126         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8127         instead.
8128         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8129         (simpleTeXSpecialChars): adjust
8130         (simpleTeXSpecialChars): adjust
8131         * paragraph.C (simpleTeXOnePar): adjust
8132         * buffer.C (makeLaTeXFile): adjust
8133
8134         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8135
8136         * text2.C (changeDepth): parlist cleanup
8137         (getColumnNearX): ditto
8138
8139         * rowpainter.C (getLabelFont): parlist cleanup
8140
8141         * bufferlist.C (newFile): parlist cleanup
8142
8143         * CutAndPaste.C (eraseSelection): parlist cleanup
8144
8145         * BufferView_pimpl.C (trackChanges): parlist cleanup
8146         (dispatch): ditto
8147
8148         * BufferView.C (lockInset): parlist cleanup.
8149         (ChangeInsets): ditto
8150
8151 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * CutAndPaste.h: Update file header.
8154
8155         * CutAndPaste.C: Update file header.
8156         Store the parts cut out of the Document in a limited_stack.
8157         (copySelection): adjust
8158         (pasteSelection): new function, takes the index in the limited stack.
8159         (nrOfParagraphs): adjust
8160         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8161         simplify error inset insertion.
8162         (checkPastePossible): adjust
8163
8164 2003-05-06  John Levon  <levon@movementarian.org>
8165
8166         * text2.C: don't cast wrap inset to float
8167
8168 2003-05-05  André Pönitz  <poenitz@gmx.net>
8169
8170         * iterator.C:
8171         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8172
8173         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8174           few naked Paragraph *.
8175
8176 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8177
8178         * bufferparams.C: Output warning if a document with missing
8179         TeX document class is loaded
8180         * exporter.C: Disable TeX exports if the document class is missing
8181         * lyxtextclass.C:
8182         * lyxtextclass.h:
8183         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8184         isTeXClassAvailable()
8185
8186 2003-05-03  John Levon  <levon@movementarian.org>
8187
8188         * BufferView.h:
8189         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8190         explicit cursor show/hide
8191
8192         * BufferView_pimpl.h:
8193         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8194         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8195
8196         * lyxfunc.C: hide cursor before dispatching.
8197
8198         * lyx_cb.C:
8199         * lyxfind.C:
8200         * text.C:
8201         * text3.C: remove explicit cursor hides
8202
8203 2003-05-02  André Pönitz  <poenitz@gmx.net>
8204
8205         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8206
8207         * undo_funcs.C:
8208         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8209           linked lists
8210
8211         * text2.C: tiny whitespace
8212
8213 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * undo_funcs.C: almost only ws changes.
8216
8217         * ParagraphList.C (splice): just return if pl is empty.
8218
8219 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * ParagraphList.C (splice): new function.
8222
8223         * CutAndPaste.C (pasteSelection): use it
8224
8225 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * CutAndPaste.C (pasteSelection): remove the last next and
8228         previous from this file.
8229
8230 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * CutAndPaste.C (pasteSelection): more clean up, user proper
8233         ParagraphList functions for pasteing.
8234
8235         * ParagraphList.C (insert): new function, three arg insert
8236
8237 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * ParagraphList.C (insert): new function, three arg insert
8240
8241         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8242         not on paragraphs.
8243
8244 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8247
8248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8251
8252 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8255         (copySelection): clean up a bit.
8256         (pasteSelection): use make_pair
8257
8258         * ParagraphList.C (ParagraphList): implement copy constructor
8259         (operator=): implement, base on copy constructor.
8260         (assign): new func
8261
8262         * paragraph.C (erase): return a bool
8263
8264         * paragraph_pimpl.C (erasePos): remove function, move contents...
8265         (erase): ... here. Return a bool.
8266         (erase): call erase instead of erasePos.
8267
8268 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8269
8270         * ParagraphList.h: define PitPosPair
8271         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8272         ParagraphList, fix a bug on pasting multiple pars
8273         * text2.C: change interface to C&P
8274
8275 2003-04-30  André Pönitz  <poenitz@gmx.net>
8276
8277         * undo_func.C: revert part of yesterday's patch 2
8278
8279 2003-04-30  John Levon  <levon@movementarian.org>
8280
8281         * LColor.C: s/tabular/table/
8282
8283 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * text3.C (dispatch): do not convert iterator -> pointer
8286         * undo_funcs.C (setCursorParUndo): ditto
8287         * text_funcs.C (transposeChars): ditto
8288
8289         * text2.C (setLayout): ws changes only
8290
8291         * text.C (breakParagraph): do not convert iterator -> pointer
8292         (insertChar): ditto
8293         (acceptChange): ditto
8294         (rejectChange): ditto
8295         (changeCase): ditto
8296         (Delete): ditto
8297         (backspace): ditto
8298
8299         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8300         pointer
8301
8302 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8303
8304         * text3.C (gotoInset): YABG (yet another bad getChar)
8305
8306 2003-04-29  André Pönitz  <poenitz@gmx.net>
8307
8308         * paragraph.h: make operator= private unimplemented as long as
8309           it is unusable
8310
8311         * ParagraphList.C: whitespace
8312
8313         * paragraph.[Ch]:
8314         * paragraph_pimpl.[Ch]:
8315         * paragraph_funcs.C:
8316         * CutAndPaste.C:
8317         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8318
8319         * text2.C:
8320           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8321
8322 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8323
8324         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8325         * paragraph.[Ch] (erase):
8326         * paragraph_pimpl.[Ch] (erase): change return type and value
8327         * text2.C (cutSelection): some rework
8328
8329 2003-04-28  John Levon  <levon@movementarian.org>
8330
8331         * bufferlist.C: changes for unsaved changes dialog
8332
8333 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * bufferlist.C (newFile): set language (messages_) for new
8336         documents also.
8337
8338         * buffer.C (readFile): ws changes only.
8339
8340 2003-04-28  André Pönitz  <poenitz@gmx.net>
8341
8342         * undo_funcs.C:
8343         * lyxfunc.C:
8344         * buffer.[Ch]:
8345         * BufferView_pimpl.C:
8346         * BufferView.C: getParFromID related ParagraphList::iterator changes
8347
8348 2003-04-28  André Pönitz  <poenitz@gmx.net>
8349
8350         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8351           Changes
8352
8353 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * messages.C: remove one more localedir class variable.
8356
8357 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * messages.C (getLocaleDir): singleton generation function
8360         (Pimpl): use it.
8361         (Messages): add a default constructor.
8362
8363         * main.C (main): do not setup localedir here, do not call
8364         gettext_init.
8365
8366         * gettext.C (_): use it.
8367         (gettext_init): delete funciton
8368
8369 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * gettext.C (getLyXMessages): new singleton generating function.
8372
8373         * buffer.C (updateDocLang): adjust
8374
8375         * Makefile.am (messages.o): add target
8376         (main.o): remove target
8377
8378 2003-04-27  John Levon  <levon@movementarian.org>
8379
8380         * bufferlist.C:
8381         * lyx_cb.C:
8382         * lyxfunc.C:
8383         * lyxvc.C: specify cancel button in Alert::prompt
8384
8385 2003-04-26  John Levon  <levon@movementarian.org>
8386
8387         * text3.C:
8388         * lyxfunc.C:
8389         * lfuns.h:
8390         * LyXAction.C: add LFUN_INSET_SETTINGS
8391
8392         * lyxfunc.C: don't enable tabular-feature when there's
8393         just any locking inset
8394
8395 2003-04-26  John Levon  <levon@movementarian.org>
8396
8397         * bufferlist.C: re-add Cancel to buffer close question
8398
8399         * lyxfunc.C: fix import UI a bit
8400
8401 2003-04-25  John Levon  <levon@movementarian.org>
8402
8403         * gettext.C: remove the broken asserts for now
8404
8405 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * messages.C: make case where setlocale cannot comply work better.
8408
8409         * buffer.C (updateDocLang): new function
8410         (changeLanguage): use it
8411         (readFile): use it
8412
8413         * text2.C (setCounter): use B_ a bit.
8414
8415         * lyxlayout.C (Read): be sure to trim the label strings.
8416
8417         * messages.C (Messages): fix typo in comment
8418
8419         * buffer.C (readFile): set message_ after file is loaded.
8420         (makeDocBookFile): remove double return
8421         (changeLanguage): reset message_ upon language change.
8422         (B_): new func, use this to get translated buffer strings.
8423
8424         * main.C: add myself and Jean Marc as authors.
8425
8426 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8427
8428         * messages.[hC]: pimplify Messages, and three different pimpls to be
8429         used in different circumstances.
8430
8431         * gettext.[Ch]: change for use with new message code.
8432
8433 2003-04-24 André Pönitz <poenitz@gmx.net>
8434
8435         * factory.C: support for eqref
8436
8437 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * messages.[Ch]: add missing char
8440
8441         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8442
8443         * messages.[Ch]: New files
8444
8445 2003-04-18  John Levon  <levon@movementarian.org>
8446
8447         * BufferView.h:
8448         * BufferView.C:
8449         * BufferView_pimpl.C:
8450         * lfuns.h:
8451         * LyXAction.C:
8452         * lyxtext.h:
8453         * text2.C: remove layout-copy/paste (bug 778)
8454
8455 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8456
8457         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8458
8459 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8460
8461         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8462         if they succeed. Act accordingly.
8463
8464 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * text2.C (setCharFont): adjust
8467         (setCounter): adjust
8468         (insertStringAsLines): adjust
8469
8470         * text.C (leftMargin): adjust
8471         (setHeightOfRow): adjust
8472
8473         * rowpainter.C (paintFirst): adjust
8474         (paintLast): adjust
8475
8476         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8477         (outerHook): ditto
8478         (isFirstInSequence): ditto
8479         (getEndLabel): ditto
8480         (outerFont): adjust
8481
8482         * paragraph.C (getParLanguage): comment out some hard stuff.
8483
8484         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8485         (sgmlError): ditto
8486         (simpleDocBookOnePar): ditto
8487         (makeDocBookFile): use ParagraphList::iterator
8488
8489         * CutAndPaste.C (pasteSelection): adjust
8490
8491 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8492
8493         * text2.C (getFont): adjust
8494         (getLayoutFont): adjust
8495         (getLabelFont): adjust
8496
8497         * paragraph_funcs.C (TeXOnePar): adjust
8498
8499         * buffer.C (simpleLinuxDocOnePar): adjust
8500         (simpleDocBookOnePar): adjust
8501
8502         * CutAndPaste.C (pasteSelection): adjust
8503
8504         * BufferView.C (getEncoding): adjust
8505
8506         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8507
8508 2003-04-16  John Levon  <levon@movementarian.org>
8509
8510         * lyxfind.C: use parlist stuff for search/changes
8511
8512 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8515
8516         * text2.C (deleteEmptyParagraphMechanism): adjust
8517
8518         * text2.[Ch] (ownerParagraph): delete func (both of them
8519
8520 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8521
8522         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8523
8524 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * ParagraphList.C: prepare for NO_NEXT
8527
8528 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8529
8530         * text2.C (getFont): adjust
8531         (getLayoutFont): adjust
8532         (getLabelFont): adjust
8533
8534         * paragraph.C (getFont): adjust
8535         (getLabelFont): adjust
8536         (getLayoutFont): adjust
8537
8538         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8539
8540 2003-04-15  John Levon  <levon@movementarian.org>
8541
8542         From Angus Leeming
8543
8544         * lyx_main.C: handle Include in .ui files
8545
8546 2003-04-15  John Levon  <levon@movementarian.org>
8547
8548         * MenuBackend.C: make the doc files length shorter
8549
8550         * ToolbarBackend.h:
8551         * ToolbarBackend.C: handle toolbar placement flags,
8552         Minibuffer
8553
8554 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8555
8556         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8557         adjust
8558
8559         * paragraph_funcs.C (TeXOnePar): adjust
8560
8561         * paragraph.C (getLabelFont): add outerfont arg, adjust
8562         (getLayoutFont): ditto
8563         (simpleTeXOnePar): adjust
8564
8565         * paragraph_pimpl.C (realizeFont): delete func
8566
8567 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8568
8569         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8570         row argument, constify cur argument.
8571
8572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * text2.C (getFont): adjust
8575         (getLayoutFont): adjust
8576         (getLabelFont): adjust
8577
8578         * paragraph_funcs.C (TeXOnePar): adjust
8579         (outerFont): new func...
8580         (realizeFont): ...moved out from here, changed this to facilitate
8581         transition
8582
8583         * paragraph.C (getFont): take outerfont as arg, adjust
8584         (simpleTeXOnePar): add outerfont arg, adjust
8585
8586         * buffer.C (simpleLinuxDocOnePar): adjust
8587         (simpleDocBookOnePar): adjust
8588
8589         * CutAndPaste.C (pasteSelection): adjust
8590
8591         * BufferView.C (getEncoding): adjust
8592
8593 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8594
8595         * text2.C (setCharFont): adjust
8596         (setCounter): adjust
8597
8598         * text.C (leftMargin): adjust
8599         (setHeightOfRow): adjust
8600
8601         * rowpainter.C (paintFirst): adjust
8602         (paintLast): adjust
8603
8604         * paragraph_pimpl.C (realizeFont): adjust
8605
8606         * paragraph.C (isFirstInSequence): move from here...
8607         * paragraph_funcs.C (isFirstInSequence): ...to here
8608
8609         * paragraph.C (outerHook): move from here...
8610         * paragraph_funcs.C (outerHook): ...to here
8611
8612         * paragraph.C (depthHook): move from here...
8613         * paragraph_funcs.C (depthHook): ...to here
8614
8615         * paragraph.C (getEndLabel): move from here...
8616         * paragraph_funcs.C (getEndLabel): ...to here
8617
8618         * text2.C (realizeFont): move from here...
8619         * paragraph_funcs.C (realizeFont): ...to here
8620
8621 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8624
8625 2003-04-14  Angus Leeming  <leeming@lyx.org>
8626
8627         * LColor.[Ch]: scrap LColor mathcursor.
8628
8629 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8630
8631         * lyxlex.[Ch] (text): delete function
8632         * trans.C (Load): adjust
8633         * paragraph_funcs.C (readParToken): adjust
8634
8635 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8638         vector<char> instead of a char[].
8639
8640         * lyxlex_pimpl.C (getString): adjust
8641         (next): adjust
8642         (lex): use getString
8643         (eatLine): adjust
8644         (nextToken): adjust
8645
8646         * lyxlex.C (text): use pimpl_->getString()
8647         (getBool): ditto
8648         (findToken): ditto
8649
8650 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8651
8652         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8653         (makeFontEntriesLayoutSpecific): temp var for par.size()
8654         (setLayout): temp var for ownerParagraphs().end()
8655         (fullRebreak): temp var for rows().end()
8656         (selectionAsString): temp var for boost::next(startpit), realize
8657         that the while really is a regular for loop.
8658         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8659         setCursor in one place.
8660         (setParagraph): temp vr for ownerParagraphs().end()
8661         (updateCounters): make the while loop a for loop
8662         (cutSelection): temp var for ownerParagraphs().end()
8663         (updateInset): make the do {} while() a regular for loop
8664         (getCursorX): use temp vars
8665         (setCurrentFont): use temp vars
8666         (getColumnNearX): use temp vars
8667
8668 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8669
8670         * text.C (transformChar): use temp var for getChar
8671         (computeBidiTables): use temp var for row->par()
8672         (fill): move temp vars for row->par() and pit->layout() earlier in
8673         the function.
8674         (labelFill): use temp var for row->par()
8675         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8676         asc and desc, realize that pit never changes and that firstpit is
8677         just a duplicate and not needed. Exchange rit->par() with pit in a
8678         lot of places.
8679         (breakAgain): use a temp var for boost::next(rit)
8680         (breakAgainOneRow): ditto
8681         (breakParagraph): use a temp var for rows().begin()
8682         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8683         (cursorRightOneWord): use temp var for cursor.par() and
8684         cursor.pos(), remove usage of tmpcursor.
8685         (cursorLeftOneWord): use temp var for cursor.par() and
8686         cursor.pos() only set cur at end of function.
8687
8688 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * text.C, text2.C: exchange all usage of Paragraph::next with
8691         boost::next(ParagraphList::iterator)
8692
8693         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8694
8695         * text2.C (cursorTop): simplify implementation
8696         (cursorBottom): ditto
8697         (setParagraph): use ParagraphList::iterator
8698         (setCurrentFont): adjust
8699         (getColumnNearX): adjust
8700         (cursorRight): adjust
8701         (cursorLeft): remove usage of Paragraph::previous
8702         (cursorUpParagraph): ditto
8703         (deleteEmptyParagraphMechanism): slight cleanup
8704
8705         * text.C (isBoundary): take a Paragraph const & instead of a
8706         pointer as arg.
8707         (addressBreakPoint): ditto
8708         (leftMargin): remove usage of Paragraph::previous.
8709         (setHeightOfRow): ditto
8710         (cursorLeftOneWord): ditto
8711         (selectNextWordToSpellcheck): ditto
8712         (Delete): ditto
8713         (backspace): ditto
8714         (breakParagraph): remove one usage of Paragraph::next
8715         (redoParagraph): ditto
8716         (acceptChange): ditto
8717         (insertChar): adjust
8718         (rowBreakPoint): adjust
8719
8720         * bufferview_funcs.C (toggleAndShow): adjust
8721
8722 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8723
8724         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8725         methods to access it.
8726         * lyxtext.h:
8727         * text.C: Added updateRowPositions to compute all row positions.
8728         Make top_y and getRowNearY() to use the cached y position
8729
8730 2003-04-11  John Levon  <levon@movementarian.org>
8731
8732         * text.C (rowBreakPoint): reintroduce the labelEnd
8733         checks, code copied from the row fill stuff. Deep voodoo.
8734
8735         * text.C (fill): add a comment and debugging for the
8736         next poor soul.
8737
8738 2003-04-11  John Levon  <levon@movementarian.org>
8739
8740         * text.C: make sure fullrow insets get wrapped to the next line,
8741         even when they're in a manual label
8742
8743 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8744
8745         * text2.C (insertParagraph): make it take ParagraphList::iterator
8746         as arg.
8747         (setLayout): make it return ParagraphList::iterator
8748         (redoParagraphs): ditto
8749         (setCounter): ditto
8750         (checkParagraph): ditto
8751
8752         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8753
8754         * text2.C: adjust several funcs.
8755         (realizeFont): take a ParagraphList::iterator as arg.
8756         (getLayoutFont): ditto
8757         (getLabelFont): ditto
8758         (setCharFont): ditto
8759
8760         * text.C: adjust several funcs.
8761
8762 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8763
8764         * text.C (selectNextWordToSpellcheck): don't accidentally
8765         skip insets
8766
8767 2003-04-10  John Levon  <levon@movementarian.org>
8768
8769         * ToolbarBackend.C (getIcon): special handling for
8770         LFUN_MATH_DELIM
8771
8772 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8773
8774         * text2.C (cursorRight): a getChar assert fixed
8775
8776 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8777
8778         * text2.C (getFont): change to take a ParagraphList::iterator
8779         instead of Paragraph*
8780         Adjust several functions.
8781
8782         * text.C (transformChar): change to take a ParagraphList::iterator
8783         instead of Paragraph*
8784         (singleWidth): ditto
8785         Adjust several functions.
8786
8787         * rowpainter.C: adjust several functions
8788         * rowpainter.h:store a ParagraphList::iterator and not a
8789         Paragraph&.
8790
8791
8792 2003-04-09  John Levon  <levon@movementarian.org>
8793
8794         * lyxfunc.C:
8795         * lfuns.h:
8796         * LyXAction.h:
8797         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8798         and the "help" bits as well
8799
8800 2003-04-09  John Levon  <levon@movementarian.org>
8801
8802         * ToolbarBackend.h:
8803         * ToolbarBackend.C: allow multiple toolbars
8804
8805 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * undo_funcs.C (setCursorParUndo): adjust
8808
8809         * text_funcs.C (transposeChars): adjust
8810
8811         * text3.C (gotoNextInset): adjust
8812         (dispatch): adjust
8813
8814         * text2.C (setLayout): adjust
8815         (changeDepth): adjust
8816         (setFont): adjust
8817         (redoParagraphs): adjust
8818         (selectionAsString): adjust
8819         (setParagraph): adjust
8820         (insertInset): adjust
8821         (cutSelection): adjust
8822         (copySelection): adjust
8823         (pasteSelection): adjust
8824         (insertStringAsLines): adjust
8825         (updateInset): adjust
8826         (setCursor): change to take a ParagraphList::iterator parameter
8827         (setCursorIntern): change to take a ParagraphList::iterator parameter
8828         (setCurrentFont): adjust
8829         (cursorLeft): adjust
8830         (cursorRight): adjust
8831         (deleteEmptyParagraphMechanism): adjust
8832
8833         * text.C (breakParagraph): adjust
8834         (insertChar): adjust
8835         (acceptChange): adjust
8836         (rejectChange): adjust
8837         (selectNextWordToSpellcheck): adjust
8838         (changeCase): adjust
8839         (Delete): adjust
8840         (backspace): adjust
8841
8842         * lyxfind.C (SearchForward): adjust
8843         (SearchBackward): adjust
8844         (nextChange): adjust
8845
8846         * lyxcursor.C (par): adjust
8847
8848         * lyxcursor.h: store a ParagraphList::iterator instead of a
8849         Paragraph*
8850
8851         * lyx_cb.C (getPossibleLabel): adjust
8852
8853         * bufferview_funcs.C (toggleAndShow): adjust
8854
8855         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8856         (dispatch): adjust
8857
8858         * BufferView.C (removeAutoInsets): adjust
8859         (lockedInsetStoreUndo): adjust
8860
8861 2003-04-09  John Levon  <levon@movementarian.org>
8862
8863         * ToolbarBackend.C: try icon without argument
8864         if with argument fails
8865
8866 2003-04-08  John Levon  <levon@movementarian.org>
8867
8868         * ToolbarBackend.h:
8869         * ToolbarBackend.C: add getIcon(), handle tooltip,
8870         and change from "Icon" to "Item".
8871
8872 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8873
8874         * BufferView.C (lockInset): another bad getchar crunched
8875
8876 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8877
8878         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8879         again)
8880
8881 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8882
8883         * lyxfind.C (searchForward, searchBackwards): bug 782
8884
8885 2003-04-07  John Levon  <levon@movementarian.org>
8886
8887         * paragraph.C: remove dead comment
8888
8889         * text.C: remove troublesome depth-fiddling code
8890         in leftMargin() and rightMargin() (bug 1017)
8891
8892         * text.C: fix breaking of rows in nested lists
8893         (bug 1004)
8894
8895         * text2.C (updateCounters): fix up depth values
8896         (bug 1013)
8897
8898 2003-04-07  John Levon  <levon@movementarian.org>
8899
8900         * BufferView_pimpl.C: clear message when doc finishes resizing,
8901         and after a mouse event
8902
8903         * lyxfunc.C: clear message after exiting inset
8904
8905 2003-04-07  John Levon  <levon@movementarian.org>
8906
8907         * bufferview_funcs.C: show math status not outside
8908         status in the statusbar
8909
8910 2003-04-07  John Levon  <levon@movementarian.org>
8911
8912         * lyxfunc.C: note status changed after a depth change
8913
8914 2003-04-04  Angus Leeming  <leeming@lyx.org>
8915
8916         * LaTeX.h: move AuxInfo operator==, != out of line.
8917         Remove LaTeX virtual destructor; nothing derives from it.
8918         Move operator()() out of public area and rename it startscript().
8919         Change protected for private.
8920
8921 2003-04-04  Angus Leeming  <leeming@lyx.org>
8922
8923         * lyxfunc.C:
8924         * text2.C: remove unneeded #includes.
8925
8926 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8927
8928         * text2.C (dEPM): fix the heigth of the next row
8929
8930 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8931
8932         * text.C: squashed an invalid getChar requester + some ws changes
8933
8934 2003-04-03  John Levon  <levon@movementarian.org>
8935
8936         * bufferview_funcs.h:
8937         * bufferview_funcs.C:
8938         * lyxfunc.C:
8939         * lyxtext.h:
8940         * text2.C: make getStatus work for the env depth lfuns
8941
8942 2003-04-03  John Levon  <levon@movementarian.org>
8943
8944         * bufferview_funcs.h:
8945         * bufferview_funcs.C:
8946         * lyxfunc.C:
8947         * lyxtext.h:
8948         * text2.C: parlistize decDepth(), by merging it with incDepth()
8949
8950 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8951
8952         * lyxrow.h: store a ParagraphList::iterator instead of a
8953         Paragraph* and adjust other class functions to suit.
8954
8955         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8956         above.
8957
8958 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8959
8960         * text2.C (setCursor): do not anchor to cursor row for the time being
8961
8962 2003-04-02  John Levon  <levon@movementarian.org>
8963
8964         * LyXAction.C:
8965         * lfuns.h:
8966         * lyx_main.C:
8967         * lyxtext.h:
8968         * text.C:
8969         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8970
8971 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8972
8973         * paragraph.h: make ParagraphList and ParagraphList::iterator
8974         friends of Paragraph.
8975
8976         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8977
8978         * ParagraphList.C: Use the private next_ and previous_ from
8979         Paragraph.
8980
8981 2003-04-01  John Levon  <levon@movementarian.org>
8982
8983         * ToolbarBackend.h:
8984         * ToolbarBackend.C:
8985         * Makefile.am: rename, remove defaults gunk
8986
8987         * MenuBackend.h:
8988         * MenuBackend.C: remove defaults gunk
8989
8990         * Languages.h:
8991         * Languages.C: remove defaults gunk
8992
8993         * lyx_main.h:
8994         * lyx_main.C: error out if files couldn't be found.
8995
8996 2003-04-02  John Levon  <levon@movementarian.org>
8997
8998         * text2.C: make incDepth() use parlist
8999
9000 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * undo_funcs.C (firstUndoParagraph): adjust
9003
9004         * text3.C (gotoInset): adjust
9005         (dispatch): adjust, and rewrite loop.
9006
9007         * text2.C (init): adjust, and rewrite loop.
9008         (redoParagraphs): adjust
9009         (updateInset): adjust, and rewrite loop.
9010         (deleteEmptyParagraphMechanism): adjust
9011
9012         * tabular.C (LyXTabular): adjust
9013         (SetMultiColumn): adjust
9014         (TeXRow): adjust
9015
9016         * lyxtext.[Ch] (ownerParagraph): delete function
9017         (ownerParagraphs): new function returns a ParagraphList.
9018
9019         * BufferView.C (removeAutoInsets): adjust
9020         (insertErrors): adjust
9021         (setCursorFromRow): adjust
9022
9023 2003-04-01  Angus Leeming  <leeming@lyx.org>
9024
9025         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9026         in the frontends.
9027
9028 2003-04-02  John Levon  <levon@movementarian.org>
9029
9030         * lyxtext.h:
9031         * text.C:
9032         * Makefile.am:
9033         * text_funcs.h:
9034         * text_funcs.C: make transposeChars a free function
9035
9036         * lyxrow_funcs.C: remove wrong comment
9037
9038 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9039
9040         * lyxtext.h: adjust
9041         * rowpainter.C: adjust
9042         * text.C: adjust
9043         * text2.C: adjust
9044         * text3.C: adjust
9045
9046         * lyxrow_funcs. [Ch]: new files
9047
9048         * lyxrow.[Ch]: remove next and previous pointers
9049         (next,previous): remove accessor functions
9050         (isParEnd): move to lyxrow_funcs
9051         (lastPos): move to lyxrow_funcs
9052         (nextRowIsAllInset): move to lyxrow_funcs
9053         (lastPrintablePos): move to lyxrow_funcs
9054         (numberOfSeparators): move to lyxrow_funcs
9055         (numberOfHfills): move to lyxrow_funcs
9056         (numberOfLabelHfills): move to lyxrow_funcs
9057         (hfillExpansion): move to lyxrow_funcs
9058
9059         * lyxfunc.C: adjust
9060
9061         * bufferview_funcs.C (toggleAndShow): adjust
9062
9063         * RowList.h: Remove class RowList from file leave just a
9064         std::list<Row>.
9065
9066         * RowList.C: delete file
9067
9068         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9069         and lyxrow_funcs.h
9070
9071 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9072
9073         * text3.C (cursorPrevious): adjust
9074         (cursorNext): adjust
9075         (dispatch): adjust
9076
9077         * text2.C (redoHeightOfParagraph): adjust
9078         (redoDrawingOfParagraph): adjust
9079         (setCursor): adjust
9080
9081         * text.C (breakParagraph): adjust
9082         (insertChar): adjust
9083         (backspace): adjust
9084
9085         * rowpainter.C (RowPainter): adjust
9086         (leftMargin): simplify and adjust
9087         (most rowpainter functions): adjust.
9088
9089         * rowpainter.h: store the row as RowList::iterator not as Row*
9090
9091         * lyxcursor.C (row): taka RowList::iterator as arg
9092         (irow): ditto
9093
9094         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9095         of Row*.
9096
9097 2003-04-01  Angus Leeming  <leeming@lyx.org>
9098
9099         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9100         stuff like bool Bool.
9101
9102 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9103
9104         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9105         rewrite a loop
9106
9107 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9110         RowList::iterator.
9111
9112         * lyxtext.h (rows): drop one version and leve a const variant that
9113         returns a RowList::iterator.
9114
9115 2003-03-31  Angus Leeming  <leeming@lyx.org>
9116
9117         * text.C (fill): ensure that the signature is the same as that in the
9118         header file.
9119
9120 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9121
9122         * text2.C (redoParagraphs): adjust
9123         (updateCounters): adjust
9124         (checkParagraph): adjust
9125         (getColumnNearX): adjust and reformat a bit.
9126
9127         * text.C (top_y): adjust
9128         (workWidth): adjust
9129         (leftMargin): adjust
9130         (prepareToPrint): adjust
9131         (getRow): adjust
9132         (getRowNearY): adjust
9133
9134         * lyxtext.h: make rowlist_ mutable.
9135
9136         * RowList.h: add const_iterator
9137         * RowList.C: adjust for RowList::const_iterator.
9138
9139         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9140         adjust.
9141
9142 2003-03-31  John Levon  <levon@movementarian.org>
9143
9144         * lyxrc.h:
9145         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9146
9147         * lyx_main.C: set default fonts from using lyx_gui funcs
9148
9149         * exporter.C: pdf_mode moved from lyxrc
9150
9151         * lyx_cb.C:
9152         * lyxfunc.C: changes from above
9153
9154 2003-03-31  John Levon  <levon@movementarian.org>
9155
9156         * lyx_main.C: fix to the last fix
9157
9158 2003-03-31  John Levon  <levon@movementarian.org>
9159
9160         * bufferlist.C: "Load original" -> "Load Original"
9161
9162         * converter.C:
9163         * exporter.C:
9164         * importer.C:
9165         * lyx_main.C:
9166         * format.C: more Alert cleanups
9167
9168 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9169
9170         * text2.C (removeParagraph): make it take a RowList::iterator as
9171         arg, adjust.
9172         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9173         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9174
9175         * text.C (anchor_row): make it take a RowList::iterator as arg,
9176         adjust.
9177         (computeBidiTables): make it take a const reference to Row instead
9178         of Row pointer, adjust.
9179         (leftMargin): make it take a RowList::iterator as arg, adjust.
9180         (rowBreakPoint): adjust
9181         (breakAgainOneRow): make it take a RowList::iterator as arg,
9182         adjust.
9183         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9184
9185         * bufferview_funcs.C (toggleAndShow): adjust
9186
9187 2003-03-30  John Levon  <levon@movementarian.org>
9188
9189         * Makefile.am:
9190         * BoostFormat.h:
9191         * boost-inst.C: moved to support
9192
9193         * several files: changes as a result
9194
9195 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9196
9197         * text2.C (LyXText): adjust.
9198         (init): adjust
9199         (removeRow): make it take a RowList::iterator as arg, adjust.
9200         (fullRebreak): adjust
9201         (deleteEmptyParagraphMechanism): adjust
9202         (clearPaint): adjust
9203         (postPaint): adjust
9204
9205         * text.C (top_y): adjust
9206         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9207         (breakAgain): make it take a RowList::iterator as arg, adjust.
9208         (breakParagraph): adjust
9209         (insertChar): adjust
9210         (backspace): adjust
9211
9212         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9213         need_break_row, and refresh_row.
9214
9215         * text3.C (dispatch): adjust
9216
9217         * text2.C (checkParagraph): adjust
9218         (setCursor): adjust
9219         (setCursorFromCoordinates): adjust
9220
9221         * text.C (top_y): adjust
9222         (workWidth): adjust
9223         (getRow): make it return a RowList::iterator, adjust
9224         (getRowNearY): make it return a RowList::iterator, adjust
9225
9226         * text2.C (init): adjust
9227         (insertRow): remove function
9228         (insertParagraph): adjust
9229         (redoParagraphs): adjust
9230         (fullRebreak): adjust
9231         (updateCounters): adjust
9232
9233         * text.C (top_y): rewrite to use RowList iterators.
9234         (top_y): adjust
9235         (setHeightOfRow): rewrite to sue RowList iterators.
9236         (appendParagraph): adjust
9237         (breakAgain): adjust
9238         (breakAgainOneRow): adjust
9239         (breakParagraph): adjust
9240         (getRow): adjust
9241         (getRowNearY): adjust, and remove commented code.
9242
9243         * lyxtext.h (firstRow): delete function
9244         (lastRow): delete function
9245         (rows): new function (const and non-const versions.)
9246         (insertRow): delete function
9247
9248         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9249
9250 2003-03-29  John Levon  <levon@movementarian.org>
9251
9252         * BufferView_pimpl.C: always update scrollbar top
9253         because pasting text when we're anchored could mean we
9254         miss an update altogether
9255
9256 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9257
9258         * text2.C (init): use rowlist_.end() and not 0.
9259         (insertRow): change to take a RowList::iterator as arg, adjust
9260         for this.
9261         (insertParagraph): change to take a RowList::iterator as arg,
9262         adjust for this.
9263         (redoParagraphs): remove some debug msgs.
9264
9265         * text.C (appendParagraph): change to take a RowList::iterator
9266         arg, adjust for this.
9267         (breakAgain): add an assert
9268         (breakAgainOneRow): ditto
9269
9270 2003-03-29  John Levon  <levon@movementarian.org>
9271
9272         * text2.C: do not clear selection after inc/decDepth
9273         (bug 550)
9274
9275 2003-03-29  John Levon  <levon@movementarian.org>
9276
9277         * BufferView.C:
9278         * buffer.C: fix broken strerrors according to Lars
9279
9280 2003-03-29  John Levon  <levon@movementarian.org>
9281
9282         * converters.C: more Alert cleanups
9283
9284 2003-03-29  John Levon  <levon@movementarian.org>
9285
9286         * bufferview_funcs.C: remove pointless Alert
9287
9288         * buffer.C: fix confusing error message when
9289         a template is chmoded 000
9290
9291 2003-03-29  John Levon  <levon@movementarian.org>
9292
9293         * BufferView.C:
9294         * BufferView.h:
9295         * BufferView_pimpl.C: Alert fixes
9296
9297         * Makefile.am:
9298         * tabular.C:
9299         * tabular-old.C: remove unused table compat reading
9300
9301 2003-03-29  John Levon  <levon@movementarian.org>
9302
9303         * BufferView.C:
9304         * buffer.C:
9305         * lyx_cb.h:
9306         * lyx_cb.C: more Alert cleanups
9307
9308         * lyxfunc.C: don't allow chktex if not latex document
9309
9310 2003-03-29  John Levon  <levon@movementarian.org>
9311
9312         * lyx_cb.C:
9313         * BufferView.C:
9314         * buffer.C: warnings pushed down from support/,
9315         kill err_alert
9316
9317 2003-03-29  John Levon  <levon@movementarian.org>
9318
9319         * lyxfunc.C: safety check for C-r (revert)
9320
9321 2003-03-29  John Levon  <levon@movementarian.org>
9322
9323         * bufferlist.h:
9324         * bufferlist.C: several UI fixes using Alert::prompt.
9325         Fix the pointless looping quit code. Fix stupid revert
9326         behaviour (bug 938)
9327
9328         * lyxvc.h:
9329         * lyxvc.C:
9330         * lyx_cb.C: use Alert::prompt
9331
9332         * lyx_main.C: remove a silly question
9333
9334         * lyxfunc.C: remove a couple of silly questions,
9335         use Alert::prompt
9336
9337 2003-03-28  John Levon  <levon@movementarian.org>
9338
9339         * text2.C: fix bug 974 (End on empty par)
9340
9341 2003-03-28  John Levon  <levon@movementarian.org>
9342
9343         * BufferView_pimpl.C:
9344         * LyXAction.C:
9345         * lfuns.h: remove do-nothing math greek lfuns
9346
9347 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9348
9349         * lyxgluelength.h (isValidGlueLength): add default arg on
9350         parameter 2. Remove default arg from friend in class.
9351
9352         * lyxlength.h (isValidLength): add default arg on parameter 2.
9353         Remove default arg from friend in class.
9354
9355         * text2.C (LyXText): adjust, initialize refresh_row.
9356         (init): adjust
9357         (removeRow): adjust
9358         (insertRow): adjust
9359         (insertParagraph): adjst
9360         (redoParagraphs): adjust
9361         (fullRebreak): adjust
9362         (updateCounters): adjust
9363         (deleteEmptyParagraphMechanism): first attempt at fixing a
9364         crashing bug.
9365
9366         * text.C (top_y): adjust
9367         (setHeightOfRow): adjust
9368         (getRow): adjust
9369         (getRowNearY): adjust
9370
9371         * lyxtext.h: include RowList.h
9372         (~LyXText): not needed anymore, deleted.
9373         (firstRow): modify for RowList
9374         (lastRow): new function
9375         Delete firstrow and lastrow class variables, add a Rowlist
9376         rowlist_ class variable.
9377
9378         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9379         paragraph is empty.
9380
9381         * RowList.C (insert): fix case where it == begin().
9382
9383 2003-03-26  Angus Leeming  <leeming@lyx.org>
9384
9385         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9386         the thesaurus dialog.
9387
9388 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9389
9390         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9391
9392         * RowList.[Ch]: new files
9393
9394         * ParagraphList.C (erase): handle the case where it == begin
9395         correctly.
9396
9397 2003-03-25  John Levon  <levon@movementarian.org>
9398
9399         * Makefile.am:
9400         * aspell_local.h:
9401         * aspell.C: add new aspell support
9402
9403         * lyxrc.h:
9404         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9405         have it accessible.
9406
9407 2003-03-25  Angus Leeming  <leeming@lyx.org>
9408
9409         * lfuns.h:
9410         * LyXAction.C (init): new LFUN_INSET_INSERT.
9411
9412         * BufferView_pimpl.C (dispatch): split out part of the
9413         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9414
9415         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9416         LFUN_INSET_APPLY.
9417
9418 2003-03-25  Angus Leeming  <leeming@lyx.org>
9419
9420         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9421
9422 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9423
9424         * text2.C:
9425         * text3.C: remove useless row->height(0)
9426
9427 2003-03-25  John Levon  <levon@movementarian.org>
9428
9429         * lyxtext.h:
9430         * text2.C:
9431         * text3.C: rename the refreshing stuff to better names
9432
9433 2003-03-24  John Levon  <levon@movementarian.org>
9434
9435         * BufferView_pimpl.h:
9436         * BufferView_pimpl.C: update layout choice on a mouse
9437         press/release
9438
9439 2003-03-23  John Levon  <levon@movementarian.org>
9440
9441         * Makefile.am: fix commandtags.h reference
9442
9443 2003-03-22  John Levon  <levon@movementarian.org>
9444
9445         * BufferView_pimpl.C:
9446         * lyxtext.h:
9447         * rowpainter.C:
9448         * rowpainter.h:
9449         * text.C:
9450         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9451
9452 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9453
9454         * lyxtext.h:
9455         * text.C: take the rtl methods out of line
9456
9457 2003-03-21 André Pönitz <poenitz@gmx.net>
9458
9459         * metricsinfo.[Ch]: new files containing structures to be passed around
9460         during the two-phase-drawing...
9461
9462 2003-03-21 André Pönitz <poenitz@gmx.net>
9463
9464         * lyxtextclass.C: read 'environment' tag.
9465
9466 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9467
9468         * text2.C (removeRow): fix bug 964
9469
9470 2003-03-20  John Levon  <levon@movementarian.org>
9471
9472         * rowpainter.C:
9473         * text.C:
9474         * text2.C: paint cleanups. Inset::update() dropped font
9475         parameter
9476
9477 2003-03-19  John Levon  <levon@movementarian.org>
9478
9479         * lyxfunc.C: only fitcursor/markDirty if available()
9480
9481 2003-03-19  John Levon  <levon@movementarian.org>
9482
9483         * commandtags.h: rename to ...
9484
9485         * lfuns.h: ... this, and renumber / cleanup
9486
9487 2003-03-19  John Levon  <levon@movementarian.org>
9488
9489         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9490         fit the cursor after an lfun
9491
9492         * BufferView.h:
9493         * BufferView.C:
9494         * BufferView_pimpl.h:
9495         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9496
9497         * LyXAction.C: layout-character should have ReadOnly
9498
9499         * ParagraphParameters.C:
9500         * buffer.C:
9501         * bufferview_funcs.C:
9502         * lyx_cb.C:
9503         * lyxfind.C:
9504         * lyxtext.h:
9505         * text.C:
9506         * text2.C:
9507         * text3.C:
9508         * undo_funcs.C: changes from above
9509
9510 2003-03-18  John Levon  <levon@movementarian.org>
9511
9512         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9513         remove it from update()
9514
9515         * lyxfunc.C: update layout choice after an lfun
9516
9517         * text3.C: remove extra updateLayoutChoice()s
9518
9519 2003-03-18  John Levon  <levon@movementarian.org>
9520
9521         * text.C: top_y change means full repaint, fix
9522         a drawing bug with cursor movement
9523
9524 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9525
9526         * lyxtext.h:
9527         * text.C:
9528         * text2.C: anchor row on setCursor
9529
9530 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9531
9532         * lyxtext.h: remove almost all mutable keywords
9533         * text.C:
9534         * text2.C:
9535         * text3.C: remove const keywords accordingly
9536
9537 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9538
9539         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9540         anon namespace
9541         (TeXEnvironment): ditto
9542         (TeXOnePar): ditto
9543
9544 2003-03-17  John Levon  <levon@movementarian.org>
9545
9546         * text.C (rowBreakPoint): remove attempt to fix displayed
9547         math insets inside a manual label
9548
9549 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * lyxtext.h: remove BufferView* as first arg from almost all class
9552         functions.
9553         * other files: adjust.
9554
9555 2003-03-17  John Levon  <levon@movementarian.org>
9556
9557         * lyxtext.h:
9558         * undo_funcs.C:
9559         * text2.C: more paint cleanups
9560
9561         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9562
9563         * rowpainter.h:
9564         * rowpainter.C: remove "smart" background painting code
9565
9566 2003-03-16  John Levon  <levon@movementarian.org>
9567
9568         * lyxtext.h:
9569         * text.C:
9570         * text2.C:
9571         * text3.C: add helper functions for setting refresh_row/y
9572
9573 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9574
9575         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9576         newline inset which *can* get inserted in the pass_thru layouts.
9577         This is primarily for literate documents.
9578
9579 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9580
9581         * buffer.C: increment LYX_FORMAT to 223
9582
9583 2003-03-14 André Pönitz <poenitz@gmx.net>
9584
9585         * textclass.h: prepare for environment handling, ws changes
9586         * lyxlayout.C: read latexheader and latexfooter tags
9587
9588 2003-03-14  John Levon  <levon@movementarian.org>
9589
9590         * text2.C: rewrite ::status() a bit
9591
9592 2003-03-13  John Levon  <levon@movementarian.org>
9593
9594         * lyxtext.h: add some docs
9595
9596 2003-03-13  John Levon  <levon@movementarian.org>
9597
9598         * lyxtext.h:
9599         * text.C:
9600         * text2.C:
9601         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9602
9603 2003-03-13  John Levon  <levon@movementarian.org>
9604
9605         * text3.C: fix appendix redrawing
9606
9607 2003-03-13  John Levon  <levon@movementarian.org>
9608
9609         * text.C (setHeightOfRow):
9610         * rowpainter.h:
9611         * rowpainter.C: make appendix mark have the text
9612           "Appendix" so the user knows what it is
9613
9614         * LColor.h:
9615         * LColor.C: s/appendixline/appendix/ from above
9616
9617 2003-03-13  John Levon  <levon@movementarian.org>
9618
9619         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9620
9621         * text.C: fix a getChar(pos) bug properly
9622
9623 2003-03-13  Angus Leeming  <leeming@lyx.org>
9624
9625         * commandtags.h:
9626         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9627         Probably only temporary. Let's see how things pan out.
9628
9629         * BufferView.C (unlockInset):
9630         * BufferView_pimpl.C (fitCursor):
9631         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9632
9633         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9634         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9635
9636         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9637         new functions that convert ParagraphParameters to and from a string.
9638
9639         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9640         BufferView::Pimpl's dispatch.
9641         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9642
9643 2003-03-13 André Pönitz <poenitz@gmx.net>
9644
9645         * lyxfunc.C:
9646         * text3.C:
9647         * factory.C: make it aware of InsetEnv
9648
9649 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9650
9651         * text2.C (setCursor): never ask for one past last
9652         (setCursor): add some debugging messages.
9653
9654         * text.C (singleWidth): never ask for one past last
9655         (singleWidth): ditto
9656         (leftMargin): ditto
9657         (rightMargin): ditto
9658         (rowBreakPoint): ditto
9659         (setHeightOfRow): ditto
9660         (prepareToPrint): ditto
9661
9662         * rowpainter.C (paintBackground): never ask for one past last
9663         (paintText): never ask for one past last
9664
9665         * paragraph_pimpl.C (getChar): make the assert stricter, never
9666         allow the one past last pos to be taken
9667
9668         * paragraph.C (getChar): ws changes only
9669
9670         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9671         (numberOfSeparators): ditto
9672         (numberOfHfills): ditto
9673
9674 2003-03-12  John Levon  <levon@movementarian.org>
9675
9676         * author.h:
9677         * author.C:
9678         * bufferparams.h:
9679         * bufferparams.C:
9680         * paragraph_funcs.C: fix per-buffer authorlists
9681
9682 2003-03-12  John Levon  <levon@movementarian.org>
9683
9684         * text.C: fix newline in right address
9685
9686 2003-03-12  Angus Leeming  <leeming@lyx.org>
9687
9688         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9689         duplicate those in LyXFunc::dispatch.
9690
9691         * commandtags.h:
9692         * LyXAction.C:
9693         * ToolbarDefaults.C:
9694         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9695         Add LFUN_FONTFREE_UPDATE.
9696
9697         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9698         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9699
9700         * bufferview_func.[Ch]: several new functions to facilliate
9701         transfer of data to and from the character dialog.
9702
9703 2003-03-12  John Levon  <levon@movementarian.org>
9704
9705         * buffer.C:
9706         * paragraph.h:
9707         * paragraph.C:
9708         * paragraph_funcs.C:
9709         * paragraph_pimpl.C:
9710         * sgml.C:
9711         * tabular.C:
9712         * text.C:
9713         * text3.C: remove META_NEWLINE in favour of an inset
9714
9715         * rowpainter.h:
9716         * rowpainter.C: remove paintNewline (done by inset)
9717
9718 2003-03-12  John Levon  <levon@movementarian.org>
9719
9720         * paragraph_pimpl.C: complain about bad getChar()s
9721         for a while at least
9722
9723 2003-03-12  John Levon  <levon@movementarian.org>
9724
9725         * buffer.h:
9726         * buffer.C: move paragraph read into a separate function,
9727         a little renaming to reflect that.
9728
9729         * bufferparams.h:
9730         * bufferparams.C: remove the author_ids map, not necessary now
9731
9732         * factory.h:
9733         * factory.C: moved Buffer::readInset to here
9734
9735         * paragraph_funcs.h:
9736         * paragraph_funcs.C: readParagraph free function moved from
9737         buffer.C
9738
9739         * tabular.C: name change
9740
9741 2003-03-12  John Levon  <levon@movementarian.org>
9742
9743         * buffer.C:
9744         * ParagraphParameters.C: move par params input to
9745         a read() method
9746
9747         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9748         behave like a normal read from the stream wrt reading
9749         a line vs. a \\token
9750
9751 2003-03-12  John Levon  <levon@movementarian.org>
9752
9753         * paragraph.C:
9754         * ParagraphParameters.h:
9755         * ParagraphParameters.C: move output code to a
9756         ::write() method
9757
9758 2003-03-12  John Levon  <levon@movementarian.org>
9759
9760         * BufferView.C (insertLyXFile):
9761         * buffer.h:
9762         * buffer.C:
9763         * tabular.C: use a parlist iterator for creating the
9764           document.
9765
9766 2003-03-12  John Levon  <levon@movementarian.org>
9767
9768         * buffer.C: make current_change static local not
9769           static file-scope
9770
9771 2003-03-12  John Levon  <levon@movementarian.org>
9772
9773         * buffer.C: fix insertStringAsLines for change tracking
9774
9775 2003-03-12  John Levon  <levon@movementarian.org>
9776
9777         * BufferView.C:
9778         * tabular.C:
9779         * buffer.h:
9780         * buffer.C:
9781         * bufferparams.h:
9782         * bufferparams.C: move author list into params. Rename some
9783           functions. Move the header reading into a separate token
9784           loop. Move the header token reading into BufferParams.
9785
9786 2003-03-12  John Levon  <levon@movementarian.org>
9787
9788         * changes.C: put debug inside lyxerr.debugging() checks
9789
9790 2003-03-11 André Pönitz <poenitz@gmx.net>
9791
9792         * factory.C: make it aware of InsetHFill
9793
9794 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9795
9796         * buffer.C (latexParagraphs): move function from here...
9797         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9798         args.
9799
9800 2003-03-10  Angus Leeming  <leeming@lyx.org>
9801
9802         * LyXAction.C (init): fix bug in poplating array with multiple entries
9803         with the same LFUN (spotted by JMarc).
9804
9805 2003-03-10  John Levon  <levon@movementarian.org>
9806
9807         * text.C:
9808         * text2.C: move getColumnNearX() near its
9809         only call site
9810
9811 2003-03-10  John Levon  <levon@movementarian.org>
9812
9813         * text.C: fix break before a minipage
9814
9815 2003-03-10  John Levon  <levon@movementarian.org>
9816
9817         * text.C: fix the last commit
9818
9819 2003-03-09  John Levon  <levon@movementarian.org>
9820
9821         * lyxtext.h:
9822         * text.C:
9823         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9824         bug 365 (don't break before insets unless needed). Don't
9825         return a value > last under any circumstances.
9826
9827 2003-03-09  Angus Leeming  <leeming@lyx.org>
9828
9829         * BufferView_pimpl.C (trackChanges, dispatch): call
9830         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9831
9832 2003-03-09  Angus Leeming  <leeming@lyx.org>
9833
9834         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9835         than Dialogs::showAboutlyx().
9836
9837 2003-03-09  Angus Leeming  <leeming@lyx.org>
9838
9839         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9840         than Dialogs::showTabularCreate().
9841
9842 2003-03-09  John Levon  <levon@movementarian.org>
9843
9844         * lyxtext.h:
9845         * text.C:
9846         * text2.C: 3rd arg to nextBreakPoint was always the same.
9847           Use references.
9848
9849 2003-03-08  John Levon  <levon@movementarian.org>
9850
9851         * lyxrow.C:
9852         * paragraph.C:
9853         * paragraph.h:
9854         * rowpainter.C:
9855         * text.C:
9856         * text2.C: Remove the "main" bit from the "main body"
9857           notion.
9858
9859 2003-03-08  John Levon  <levon@movementarian.org>
9860
9861         * text.C (leftMargin): The left margin of an empty
9862         manual label paragraph should not include the label width
9863         string length.
9864
9865         * text.C (prepareToPrint): don't attempt to measure hfills
9866         for empty manual label paragraphs - the answer should be 0
9867
9868 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9869
9870         * CutAndPaste.C: remove commented code and reindent.
9871
9872 2003-03-08  John Levon  <levon@movementarian.org>
9873
9874         * lyxfunc.h:
9875         * lyxfunc.C: move reloadBuffer()
9876
9877         * BufferView.h:
9878         * BufferView.C: to here
9879
9880         * lyxvc.C: add comment
9881
9882         * vc-backend.h:
9883         * vc-backend.C: call bv->reload() to avoid
9884           getStatus() check on MENURELOAD
9885
9886 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9887
9888         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9889         to an old format .dep file.
9890
9891 2003-03-07  Angus Leeming  <leeming@lyx.org>
9892
9893         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9894         when the LFUN_MOUSE_RELEASE should have been handled by
9895         inset->localDispatch.
9896
9897 2003-03-07  Angus Leeming  <leeming@lyx.org>
9898
9899         * BufferView_pimpl.C (dispatch):
9900         * LyXAction.C (init):
9901         * ToolbarDefaults.C (init):
9902         * commandtags.h:
9903         * lyxfunc.C (getStatus):
9904         remove LFUN_INSET_GRAPHICS.
9905
9906         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9907
9908 2003-03-07  Angus Leeming  <leeming@lyx.org>
9909
9910         * commandtags.h:
9911         * LyXAction.C (init):
9912         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9913
9914         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9915
9916         * commandtags.h:
9917         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9918
9919         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9920         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9921
9922 2003-03-07  Angus Leeming  <leeming@lyx.org>
9923
9924         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9925         remove "ert".
9926
9927 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9928
9929         * ParagraphList.C (front): new function
9930         (back): implement
9931
9932 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9933
9934         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9935         and top_row_offset_. removed var first_y.
9936         * text.C (top_y):
9937         * text2.C (LyXText, removeRow):
9938         * text3.C:
9939         * BufferView_pimpl.C:
9940         use these methods instead of using first_y
9941
9942 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9943
9944         * text2.C (pasteSelection): adjust for checkPastePossible
9945
9946         * CutAndPaste.C: remove Paragraph * buf and replace with
9947         ParagraphList paragraphs.
9948         (DeleteBuffer): delete
9949         (cutSelection): change the tc type to textclass_type
9950         (copySelection): change the tc type to textclass_type
9951         (copySelection): adjust for ParagraphList
9952         (pasteSelection): change the tc type to textclass_type
9953         (pasteSelection): adjust for Paragraphlist
9954         (nrOfParagraphs): simplify for ParagraphList
9955         (checkPastePossible): simplify for ParagraphList
9956         (checkPastePossible): remove unused arg
9957
9958         * ParagraphList.C (insert): handle the case where there are no
9959         paragraphs yet.
9960
9961         * CutAndPaste.h: make CutAndPaste a namespace.
9962
9963         * text3.C (dispatch): adjust
9964
9965         * text.C (breakParagraph): add a ParagraphList as arg
9966
9967         * paragraph_funcs.C (breakParagraph): change to take a
9968         BufferParams and a ParagraphList as args.
9969         (breakParagraphConservative): ditto
9970         (mergeParagraph): ditto
9971         (TeXDeeper): add a ParagraphList arg
9972         (TeXEnvironment): ditto
9973         (TeXOnePar): ditto
9974
9975         * buffer.C (readLyXformat2): adjust
9976         (insertStringAsLines): adjust
9977         (latexParagraphs): adjust
9978
9979         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9980         (cutSelection): adjust
9981         (pasteSelection): adjust
9982
9983         * BufferView_pimpl.C (insertInset): adjust
9984
9985 2003-03-05  Angus Leeming  <leeming@lyx.org>
9986
9987         * commandtags.h:
9988         * LyXAction.C (init):
9989         * BufferView_pimpl.C (dispatch):
9990         * lyxfunc.C (getStatus):
9991         remove LFUN_CHILD_INSERT.
9992
9993         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9994
9995 2003-03-05  Angus Leeming  <leeming@lyx.org>
9996
9997         * commandtags.h:
9998         * LyXAction.C (init):
9999         * src/factory.C (createInset):
10000         * lyxfunc.C (getStatus):
10001         * text3.C (dispatch):
10002         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10003
10004         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10005
10006 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10007
10008         * ParagraphList.C (insert): handle insert right before end()
10009         (erase): fix cases where it can be first or last paragraph.
10010
10011 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10014         Paragraph::next and Paragraph::previous
10015         (TeXOnePar): ditto
10016
10017         * text.C (breakParagraph): adjust
10018
10019         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10020         BufferParams& as arg.
10021         (breakParagraph): use ParagraphList::insert
10022         (breakParagraphConservative): take a Buffer* instead of a
10023         BufferParams& as arg.
10024         (breakParagraphConservative): use ParagraphList::insert.
10025
10026         * buffer.C (insertStringAsLines): un-const it
10027         (insertStringAsLines): adjust
10028
10029         * ParagraphList.C (insert): new function
10030
10031         * CutAndPaste.C (pasteSelection): adjust
10032
10033         * text.C (backspace): adjust
10034
10035         * tabular.C (SetMultiColumn): adjust
10036
10037         * CutAndPaste.C (cutSelection): adjust
10038         (pasteSelection): adjust
10039
10040         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10041         Buffer const * as arg
10042
10043         * ParagraphList.C (erase): new function
10044         * paragraph_funcs.C (mergeParagraph): use it
10045         (mergeParagraph): make it take a Buffer* instead of a
10046         BufferParams* as arg
10047
10048         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10049         as arg
10050         (breakParagraphConservative): ditto
10051
10052         * paragraph.h: remove the breakParagraph friend
10053
10054         * paragraph.C (eraseIntern): new function
10055         (setChange): new function
10056
10057         * paragraph_funcs.C (mergeParagraph): make it take a
10058         ParagraphList::iterator instead of a Paragraph *, adjust
10059         accordingly.
10060
10061         * paragraph.h: move an #endif so that the change tracking stuff
10062         also works in the NO_NEXT case.
10063
10064 2003-03-04  Angus Leeming  <leeming@lyx.org>
10065
10066         * commandtags.h:
10067         * LyXAction.C: new LFUN_INSET_MODIFY.
10068
10069         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10070         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10071
10072 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10073
10074         * several files: ws changes only
10075
10076         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10077         (TeXEnvironment): ditto
10078         (TeXDeeper): ditto
10079
10080         * buffer.C (makeLaTeXFile): adjust
10081         (latexParagraphs): make it take ParagraphList::iterator as args
10082
10083 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10084
10085         * buffer.C (latexParagraphs): adjust
10086
10087         * paragraph.C (TeXOnePar): move function...
10088         (optArgInset): move function...
10089         (TeXEnvironment): move function...
10090         * paragraph_pimpl.C (TeXDeeper): move function...
10091         * paragraph_funcs.C: ...here
10092
10093         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10094
10095 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10096
10097         * buffer.C (readInset): remove compability code for old Figure and
10098         InsetInfo insets
10099
10100 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10101
10102         * buffer.C: ws changes
10103         (readInset):
10104
10105         * BufferView_pimpl.C: ditto
10106         * author.C: ditto
10107         * buffer.h: ditto
10108         * bufferlist.h: ditto
10109         * changes.h: ditto
10110         * lyxfunc.C: ditto
10111
10112 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10113
10114         * converter.[Ch]: split into itself +
10115         * graph.[Ch]
10116         * format.[Ch]
10117         * Makefile.am: += graph.[Ch] + format.[Ch]
10118         * MenuBackend.C
10119         * buffer.C
10120         * exporter.C
10121         * importer.C
10122         * lyx_main.C
10123         * lyxfunc.C
10124         * lyxrc.C: added #include "format.h"
10125
10126 2003-02-27  Angus Leeming  <leeming@lyx.org>
10127
10128         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10129           a label.
10130
10131         * factory.C (createInset): add "label" to the factory.
10132
10133         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10134           string and do no more.
10135
10136 2003-02-27  Angus Leeming  <leeming@lyx.org>
10137
10138         * commandtags.h:
10139         * LyXAction.C (init):
10140         * factory.C (createInset):
10141         * BufferView_pimpl.C (dispatch):
10142           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10143
10144         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10145
10146         * lyxfunc.C (dispatch):
10147         * text3.C (dispatch): pass name to params2string.
10148
10149 2003-02-26  Angus Leeming  <leeming@lyx.org>
10150
10151         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10152           blocks together.
10153           Rearrange the ~includes. Strip out the unnecessary ones.
10154
10155         * factory.C (createInset): reformat.
10156           create new insets for the various LFUN_XYZ_APPLY lfuns.
10157
10158 2003-02-26  John Levon  <levon@movementarian.org>
10159
10160         * lyxrow.h:
10161         * lyxrow.C: add isParStart,isParEnd helpers
10162
10163         * paragraph.h: make isInserted/DeletedText take refs
10164
10165         * paragraph_funcs.h:
10166         * paragraph_funcs.C: remove #if 0'd code
10167
10168         * lyxtext.h:
10169         * text3.C:
10170         * text2.C:
10171         * text.C: use lyxrow helpers above.
10172           Move draw and paint routines to RowPainter.
10173           Make several methods use refs not pointers.
10174           Make backgroundColor() const.
10175           Add markChangeInDraw(), isInInset().
10176           Merge changeRegionCase into changeCase.
10177           Make workWidth() shouldn't-happen code into an Assert.
10178
10179         * rowpainter.h:
10180         * rowpainter.C: new class for painting a row.
10181
10182         * vspace.h:
10183         * vspace.C: make inPixels take a ref
10184
10185 2003-02-26  Angus Leeming  <leeming@lyx.org>
10186
10187         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10188         LFUN_REF_APPLY.
10189
10190 2003-02-25  John Levon  <levon@movementarian.org>
10191
10192         * ispell.C: give the forked command a more accurate name
10193
10194 2003-02-22  John Levon  <levon@movementarian.org>
10195
10196         * toc.h:
10197         * toc.C: make TocItem store an id not a Paragraph *
10198           (bug #913)
10199
10200 2003-02-21  Angus Leeming  <leeming@lyx.org>
10201
10202         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10203           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10204           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10205           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10206           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10207           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10208
10209         * BufferView_pimpl.C (dispatch):
10210         * LyXAction.C (init):
10211         * factory.C (createInset):
10212         * lyxfunc.C (getStatus, dispatch):
10213         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10214
10215 2003-02-21  Angus Leeming  <leeming@lyx.org>
10216
10217         * BufferView_pimpl.C (MenuInsertLyXFile):
10218         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10219         * lyxfunc.C (menuNew, open, doImport):
10220           no longer pass a LyXView & to fileDlg.
10221
10222 2003-02-21  Angus Leeming  <leeming@lyx.org>
10223
10224         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10225         * LyXAction.C: change, BIBKEY to BIBITEM.
10226         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10227         Change InsetBibKey to InsetBibitem.
10228         Change BIBKEY_CODE to BIBITEM_CODE.
10229         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10230         * factory.C: replace insetbib.h with insetbibitem.h.
10231         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10232         * paragraph.C: replace insetbib.h with insetbibitem.h.
10233         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10234         Change bibkey() to bibitem().
10235         * text.C: remove insetbib.h.
10236         * text2.C: replace insetbib.h with insetbibitem.h.
10237         change bibkey() to bibitem().
10238         * text3.C: remove insetbib.h.
10239         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10240
10241 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10242
10243         * lyxrc.C (output): enclose user email in quotes (in case there are
10244         several words)
10245
10246 2003-02-18  John Levon  <levon@movementarian.org>
10247
10248         * buffer.h: add std::
10249
10250 2003-02-17  John Levon  <levon@movementarian.org>
10251
10252         * SpellBase.h:
10253         * ispell.h:
10254         * ispell.C:
10255         * pspell.h:
10256         * pspell.C: reworking. Especially in ispell, a large
10257           number of clean ups and bug fixes.
10258
10259         * lyxfunc.C: fix revert to behave sensibly
10260
10261 2003-02-17 André Pönitz <poenitz@gmx.net>
10262
10263         * LyXAction.C:
10264         * commandtags.h: new LFUN_INSERT_BIBKEY
10265
10266         * layout.h:
10267         * lyxlayout.C:
10268         * buffer.C:
10269         * factory.C:
10270         * text.C:
10271         * text2.C:
10272         * text3.C:
10273         * paragraph.[Ch]:
10274         * paragraph_func.C: remove special bibkey handling
10275
10276 2003-02-17  John Levon  <levon@movementarian.org>
10277
10278         * text.C (Delete): fix case where delete at the end of
10279           the very first paragraph would not merge the pars
10280
10281 2003-02-17  John Levon  <levon@movementarian.org>
10282
10283         * lyxrow.C: fix lastPrintablePos()
10284
10285 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10286
10287         * bufferparams.C (writeLaTeX): add a std:here
10288
10289         * buffer.C: and remove a using directive there
10290
10291 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * buffer.C (makeLaTeXFile): move the code that generates the
10294           preamble...
10295
10296         * bufferparams.C (writeLaTeX): ... in this new method
10297
10298         * LaTeXFeatures.C (getEncodingSet): make const
10299           (getLanguages): make const
10300
10301         * MenuBackend.C (binding): returns the binding associated to this
10302           action
10303           (add): sets the status of each item by calling getStatus. Adds
10304           some intelligence.
10305           (read): add support for OptSubMenu
10306           (expand): remove extra separator at the end of expanded menu
10307
10308 2003-02-15  John Levon  <levon@movementarian.org>
10309
10310         * BufferView.C:
10311         * BufferView_pimpl.C:
10312         * bufferlist.h:
10313         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10314           inset code that had no actual effect. Remove unneeded status
10315           code.
10316
10317 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10320           in preamble
10321
10322 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10323
10324         * text.C (drawLengthMarker): also draw an arrow marker for
10325           symbolic lengths (medskip...)
10326
10327 2003-02-14  John Levon  <levon@movementarian.org>
10328
10329         * tabular.h:
10330         * tabular.C: better method names
10331
10332 2003-02-14  John Levon  <levon@movementarian.org>
10333
10334         * BufferView_pimpl.C:
10335         * bufferlist.C:
10336         * buffer.C:
10337         * converter.C:
10338         * lyx_cb.C:
10339         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10340           it's a more accurate name. Remove some pointless uses.
10341
10342 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10343
10344         * text2.C (LyXText): change order of initilizers to shut off
10345           warnings
10346
10347 2003-02-14  John Levon  <levon@movementarian.org>
10348
10349         * buffer.C: use ParIterator for getParFromID()
10350
10351         * paragraph.h:
10352         * paragraph.C:
10353         * paragraph_pimpl.h:
10354         * paragraph_pimpl.C: remove unused getParFromID()
10355
10356 2003-02-14  John Levon  <levon@movementarian.org>
10357
10358         * buffer.C: remove some very old #if 0'd parse code
10359
10360 2003-02-13  John Levon  <levon@movementarian.org>
10361
10362         * text.h:
10363         * text.C:
10364         * text2.C: move hfillExpansion(), numberOfSeparators(),
10365           rowLast(), rowLastPrintable(), numberofHfills(),
10366           numberOfLabelHfills() ...
10367
10368         * lyxrow.h:
10369         * lyxrow.C: ... to member functions here.
10370
10371         * paragraph.h:
10372         * paragraph.C:
10373         * lyxtext.h:
10374         * text.C: remove LyXText::beginningOfMainBody(), and call
10375           p->beginningOfMainBody() directly. Move the check for
10376           LABEL_MANUAL into the latter.
10377
10378         * text.h:
10379         * text.C:
10380         * text2.C:
10381         * vspace.C:
10382         * BufferView.h:
10383         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10384
10385         * text.h:
10386         * text.C:
10387         * text2.C:
10388         * text3.C:
10389         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10390           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10391
10392 2003-02-13  John Levon  <levon@movementarian.org>
10393
10394         * CutAndPaste.C: remove debug
10395
10396 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * paragraph.C (asString): remove two unused variables
10399
10400         * lyxtextclass.C (readTitleType):
10401           (Read):
10402           (LyXTextClass): handle new members titletype_ and titlename_
10403
10404         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10405
10406 2003-02-09  John Levon  <levon@movementarian.org>
10407
10408         * buffer.h:
10409         * buffer.C: replace hand-coded list with a map for the dep clean
10410
10411 2003-02-08  John Levon  <levon@movementarian.org>
10412
10413         * LaTeX.C: consolidate code into showRunMessage() helper
10414
10415 2003-02-08  John Levon  <levon@movementarian.org>
10416
10417         * lyxfind.C:
10418         * lyxtext.h:
10419         * text2.C:
10420         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10421           and pass the size in explicitly
10422
10423         * BufferView_pimpl.h:
10424         * BufferView_pimpl.C:
10425         * BufferView.h:
10426         * BufferView.C: add getCurrentChange()
10427
10428         * BufferView_pimpl.h:
10429         * BufferView_pimpl.C: handle change lfuns
10430
10431         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10432           for changes. Mark pasted paragraphs as new.
10433
10434         * support/lyxtime.h:
10435         * support/lyxtime.C:
10436         * DepTable.C: abstract time_t as lyx::time_type
10437
10438         * LColor.h:
10439         * LColor.C: add colours for new text, deleted text, changebars
10440
10441         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10442           package use "usenames" option.
10443
10444         * commandtags.h:
10445         * lyxfunc.C:
10446         * LyXAction.C: add change lfuns
10447
10448         * Makefile.am:
10449         * author.h:
10450         * author.C: author handling
10451
10452         * buffer.h:
10453         * buffer.C: add a per-buffer author list, with first entry as
10454           current author. Handle new .lyx tokens for change tracking. Output
10455           author list to .lyx file. Output dvipost stuff to .tex preamble.
10456           Bump lyx format to 222.
10457
10458         * bufferlist.h:
10459         * bufferlist.C: add setCurrentAuthor() to reset current author details
10460           in all buffers.
10461
10462         * bufferparams.h:
10463         * bufferparams.C: add param for tracking
10464
10465         * bufferview_funcs.C: output change info in minibuffer
10466
10467         * Makefile.am:
10468         * changes.h:
10469         * changes.C: add change-tracking structure
10470
10471         * debug.h:
10472         * debug.C: add CHANGES debug flag
10473
10474         * lyxfind.h:
10475         * lyxfind.C: add code for finding the next change piece
10476
10477         * lyxrc.h:
10478         * lyxrc.C: add user_name and user_email
10479
10480         * lyxrow.h:
10481         * lyxrow.C: add a metric for the top of the text line
10482
10483         * lyxtext.h:
10484         * text.C: implement accept/rejectChange()
10485
10486         * lyxtext.h:
10487         * text.C: paint changebars. Paint new/deleted text in the chosen
10488         colours. Strike through deleted text.
10489
10490         * paragraph.h:
10491         * paragraph.C:
10492         * paragraph_pimpl.h:
10493         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10494           in the current change to the insert functions. Rework erase to
10495           mark text as deleted, adding an eraseIntern() and a range-based
10496           erase(). Implement per-paragraph change lookup and
10497           accept/reject.
10498
10499         * paragraph_funcs.C: Fixup paste for change tracking.
10500
10501         * tabular.C: mark added row/columns as new.
10502
10503         * text.C: fix rowLast() to never return -1. Don't allow
10504           spellchecking of deleted text. Track transpose changes. Don't
10505           allow paragraph break or merge where appropriate.
10506
10507         * text2.C: leave cursor at end of selection after a cut.
10508
10509 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10510
10511         * text.C (getLengthMarkerHeight):
10512         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10513         visible on screen too.
10514
10515 2003-02-07  John Levon  <levon@movementarian.org>
10516
10517         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10518
10519 2003-02-05  Angus Leeming  <leeming@lyx.org>
10520
10521         * lyxserver.C (read_ready): revert my patch of 11 September last year
10522         as it sends PC cpu through the roof. Presumably this means that
10523         the lyxserver will no longer run on an Alpha...
10524
10525 2003-01-30  Angus Leeming  <leeming@lyx.org>
10526
10527         * factory.C (createInset): create an InsetCommandParam of type "index"
10528         and use it to 'do the right thing'.
10529
10530         * text2.C (getStringToIndex): ensure that cursor position is always
10531         reset to the reset_cursor position.
10532
10533 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10534
10535         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10536         disabled.
10537
10538 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10539
10540         * bufferview.C:
10541         * lyxcb.C:
10542         * lyxfunc.C: Output messages with identical spelling, punctuation,
10543         and spaces
10544
10545 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10546
10547         * MenuBackend.C (expandFormats): List only viewable export formats
10548         in "View" menu
10549
10550         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10551         message
10552
10553         * lyxfunc.C (getStatus): Make sure that formats other than
10554         "fax" can also be disabled
10555
10556 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10557
10558         * text3.C (dispatch): put the lfuns that insert insets in 3
10559         groups, and call doInsertInset with appropriate arguments.
10560         (doInsertInset): new function, that creates an inset and inserts
10561         it according to some boolean parameters.
10562
10563 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10564
10565         * buffer.C (readFile): remember to pass on 'par' when calling
10566         readFile recursively.
10567
10568 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10569
10570         * MenuBackend.C (expandFormats): add "..." to import formats.
10571
10572 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10573
10574         * paragraph.C (asString): Remove XForms RTL hacks.
10575
10576 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10577         * buffer.C: fix typo
10578
10579 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10580
10581         * Makefile.am (LIBS): delete var
10582         (lyx_LDADD): add @LIBS@ here instead.
10583
10584 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10585
10586         * Clarify the meaning of "wheel mouse jump"
10587
10588 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10591         tabular in a float
10592
10593 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10594
10595         * importer.C (Loaders): do not preallocate 3 elements in the
10596         vector, since one ends up with 6 elements otherwise
10597
10598 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * DepTable.C (write): write the file name as last element of the
10601         .dep file (because it may contain spaces)
10602         (read): read info in the right order
10603
10604 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10605
10606         * paragraph_pimpl.C (simpleTeXBlanks):
10607         (simpleTeXSpecialChars):
10608         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10609
10610         * tabular.C (latex): add some missing case statements. Reindent.
10611
10612         * MenuBackend.C (expandToc): remove unused variable.
10613
10614 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10615
10616         * LColor.C:
10617         * LaTeX.C:
10618         * LyXAction.C:
10619         * MenuBackend.C:
10620         * buffer.C:
10621         * exporter.C:
10622         * lyxfunc.C:
10623         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10624         and the like.
10625
10626 2003-01-05  John Levon  <levon@movementarian.org>
10627
10628         * BufferView.h:
10629         * BufferView.C: add getEncoding()
10630
10631         * kbsequence.h:
10632         * kbsequence.C: do not store last keypress
10633
10634         * lyxfunc.h:
10635         * lyxfunc.C: store last keypress here instead. Pass encoding
10636           to getISOEncoded()
10637
10638 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * lyx_main.C (init): remove annoying error message when following
10641         symbolic links (bug #780)
10642
10643 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * text.C (insertChar):
10646         * lyxrc.C (getDescription): remove extra spaces
10647
10648 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * lyxrc.C (getDescription): remove extra spaces
10651
10652 2002-12-20  John Levon  <levon@movementarian.org>
10653
10654         * text3.C: hack fix for page up/down across tall rows
10655
10656 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10659         not been invoked
10660
10661 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10662
10663         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10664         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10665         thesaurus is not compiled in
10666
10667 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10668
10669         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10670
10671 2002-12-16  Angus Leeming  <leeming@lyx.org>
10672
10673         * lyxrc.[Ch]:
10674         * lyx_main.C (init): remove override_x_deadkeys stuff.
10675
10676 2002-12-12  John Levon  <levon@movementarian.org>
10677
10678         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10679           insert. Only remove shift modifier under strict
10680           circumstances.
10681
10682 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10683
10684         * MenuBackend.C (expandToc): fix crash.
10685
10686 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10687
10688         * MenuBackend.C (expandToc): gettext on float names.
10689
10690 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10691
10692         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10693         implement bool empty() [bug 490]
10694
10695 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10696
10697         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10698
10699 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10700
10701         * several files: ws changes
10702
10703 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10704
10705         * text2.C (setCounter): clean up a bit, use boost.format.
10706         (updateCounters): initialize par upon declaration.
10707
10708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10709         if the layout exists. We do not just store the layout any more.
10710         (SwitchLayoutsBetweenClasses): use boost.format
10711
10712 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * converter.C (convert): if from and to files are the same, use a
10715         temporary files as intermediary
10716
10717 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * commandtags.h:
10720         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10721
10722 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10725
10726 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10727
10728         * tabular.C (asciiPrintCell): use string(size, char) instead of
10729         explicit loop.
10730
10731         * sgml.C (openTag): fix order of arguments to string constructor
10732         (closeTag): ditto
10733
10734         * lyxfunc.C (dispatch): use boost.format
10735
10736         * lots of files: change "c" -> 'c'
10737
10738 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10739
10740         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10741
10742 2002-11-25  Angus Leeming  <leeming@lyx.org>
10743
10744         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10745
10746         * lyx_main.C (init): compile fix.
10747
10748 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10749
10750         * lyx_cb.C (start): boost.formatify
10751         do not include <iostream>
10752
10753         * lengthcommon.C: ws only
10754
10755         * boost-inst.C,BoostFormat.h: add more explict instantations
10756
10757 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10758
10759         * lots of files: handle USE_BOOST_FORMAT
10760
10761 2002-11-21  John Levon  <levon@movementarian.org>
10762
10763         * pspell.C: fix compile
10764
10765 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10766
10767         * lyxfunc.C (dispatch): use boost::format
10768         (open): ditto
10769         (doImport): ditto
10770
10771         * lyxfont.C (stateText): use boost::format
10772
10773         * lyx_main.C (LyX): use boost::format
10774         (init): ditto
10775         (queryUserLyXDir): ditto
10776         (readRcFile): ditto
10777         (parse_dbg): ditto
10778         (typedef boost::function): use the recommened syntax.
10779
10780         * importer.C (Import): use boost::format
10781
10782         * debug.C (showLevel): use boost::format
10783
10784         * converter.C (view): use boost::format
10785         (convert): ditto
10786         (move): ditto
10787         (scanLog): ditto
10788
10789         * bufferview_funcs.C (currentState): use boost::format
10790
10791         * bufferlist.C (emergencyWrite): use boost::format
10792
10793         * buffer.C (readLyXformat2): use boost::format
10794         (parseSingleLyXformat2Token): ditto
10795
10796         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10797
10798         * LaTeX.C (run): use boost::format
10799
10800         * Chktex.C (scanLogFile): use boost::format
10801
10802         * BufferView_pimpl.C (savePosition): use boost::format
10803         (restorePosition): ditto
10804         (MenuInsertLyXFile): ditto
10805
10806         * BoostFormat.h: help file for explicit instation.
10807
10808 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10809
10810         * tabular.C (latex): Support for block alignment in fixed width
10811         columns.
10812
10813 2002-11-17  John Levon  <levon@movementarian.org>
10814
10815         * BufferView_pimpl.C:
10816         * lyx_cb.C:
10817         * lyxfunc.C: split filedialog into open/save
10818
10819 2002-11-08  Juergen Vigna  <jug@sad.it>
10820
10821         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10822         by my last patch (hopefully).
10823
10824 2002-11-08  John Levon  <levon@movementarian.org>
10825
10826         * iterators.h:
10827         * iterators.C:
10828         * buffer.h:
10829         * buffer.C:
10830         * paragraph.h:
10831         * paragraph.C:
10832         * toc.h:
10833         * toc.C: ParConstIterator, and use it (from Lars)
10834
10835 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10836
10837         * lyxtextclass.[Ch]: revise and add doxygen comments
10838
10839 2002-11-07  John Levon  <levon@movementarian.org>
10840
10841         * text.C: fix progress value for spellchecker
10842
10843         * toc.C: fix navigate menu for insetwrap inside minipage
10844
10845         * paragraph_funcs.C: added FIXME for suspect code
10846
10847 2002-11-07  John Levon  <levon@movementarian.org>
10848
10849         * BufferView_pimpl.C: fix redrawing of insets
10850           on buffer switch
10851
10852 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * text2.C (updateCounters): fix bug 668
10855
10856 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10857
10858         * text3.C (dispatch): Do not make the buffer dirty when moving the
10859         cursor.
10860
10861 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10862
10863         * vc-backend.C: STRCONV
10864         (scanMaster): ditto
10865
10866         * text2.C (setCounter): STRCONV
10867
10868         * paragraph.C (asString): STRCONV
10869
10870         * lyxlength.C (asString): STRCONV
10871         (asLatexString): ditto
10872
10873         * lyxgluelength.C (asString): STRCONV
10874         (asLatexString): ditto
10875
10876         * lyxfunc.C (dispatch): STRCONV
10877         (open): ditto
10878
10879         * lyxfont.C (stateText): STRCONV
10880
10881         * importer.C (Import): STRCONV
10882
10883         * counters.C (labelItem): STRCONV
10884         (numberLabel): ditto
10885         (numberLabel): remove unused ostringstream o
10886
10887         * chset.C: STRCONV
10888         (loadFile): ditto
10889
10890         * bufferview_funcs.C (currentState): STRCONV
10891
10892         * buffer.C (readFile): STRCONV
10893         (asciiParagraph): ditto
10894         (makeLaTeXFile): ditto
10895
10896         * Spacing.C (writeEnvirBegin): STRCONV
10897
10898         * LaTeXFeatures.C (getLanguages): STRCONV
10899         (getPackages): ditto
10900         (getMacros): ditto
10901         (getBabelOptions): ditto
10902         (getTClassPreamble): ditto
10903         (getLyXSGMLEntities): ditto
10904         (getIncludedFiles): ditto
10905
10906         * LaTeX.C: STRCONV
10907         (run): ditto
10908         (scanAuxFile): ditto
10909         (deplog): ditto
10910
10911         * LString.h: add the STRCONV macros
10912
10913         * BufferView_pimpl.C (savePosition): STRCONV
10914         (restorePosition): ditto
10915         (MenuInsertLyXFile): ditto
10916
10917         * vc-backend.C (scanMaster): change from submatch[...] to
10918         submatch.str(...)
10919
10920         * funcrequest.C: include config.h
10921
10922         * factory.C: include config.h
10923
10924         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10925
10926         * box.C: include config.h
10927
10928         * LaTeX.C (scanAuxFile): change from submatch[...] to
10929         submatch.str(...)
10930         (deplog): ditto
10931
10932 2002-10-25  Angus Leeming  <leeming@lyx.org>
10933
10934         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10935
10936         * ispell.[Ch] (setError): new method.
10937         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10938         Use setError() insetead of goto END.
10939
10940         * lyx_cb.C (AutoSave): move out child process into new class
10941         AutoSaveBuffer.
10942
10943 2002-10-30  John Levon  <levon@movementarian.org>
10944
10945         * text3.C: make start appendix undoable
10946
10947 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10948
10949         * lyxlength.C (inPixels): Fix returned value.
10950
10951         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10952         environment.
10953
10954 2002-10-24  Angus Leeming  <leeming@lyx.org>
10955
10956         * lyxgluelength.h: no need to forward declare BufferParams
10957         or BufferView, so don't.
10958
10959 2002-10-21  John Levon  <levon@movementarian.org>
10960
10961         * BufferView.C: menuUndo ->undo, redo
10962
10963         * BufferView.h: document, remove dead, make some methods private
10964
10965         * paragraph_funcs.h:
10966         * paragraph_funcs.C:
10967         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10968
10969         * buffer.h:
10970         * buffer.C:
10971         * sgml.h:
10972         * sgml.C: move sgml open/close tag into sgml.C
10973
10974         * bufferview_funcs.h: unused prototype
10975
10976         * lyxfunc.h:
10977         * lyxfunc.C: remove unused
10978
10979         * lyxtext.h:
10980         * text.C: remove unused
10981
10982 2002-10-21  John Levon  <levon@movementarian.org>
10983
10984         * BufferView.h:
10985         * BufferView.C:
10986         * BufferView_pimpl.h:
10987         * BufferView_pimpl.C: fix mouse wheel handling based on
10988           patch from Darren Freeman
10989
10990 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10991
10992         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10993
10994 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10995
10996         * lyxlength.C (inPixels): Fix hanfling of negative length.
10997         Fix LyXLength::MU case.
10998
10999 2002-10-16  John Levon  <levon@movementarian.org>
11000
11001         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11002
11003 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11004
11005         * converter.C (view): add support for $$i (file name) and $$p
11006         (file path) for the viewer command. If $$i is not specified, then
11007         it is appended to the command (for compatibility with old syntax)
11008
11009 2002-10-14  Juergen Vigna  <jug@sad.it>
11010
11011         * undo_funcs.C (textHandleUndo): alter the order in which the
11012         new undopar is added to the LyXText, as we have to set first
11013         the right prev/next and then add it as otherwise the rebuild of
11014         LyXText is not correct. Also reset the cursor to the right paragraph,
11015         with this IMO we could remove the hack in "redoParagraphs()".
11016
11017 2002-10-09  Angus Leeming  <leeming@lyx.org>
11018
11019         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11020         to turn off an optimisation if a new inset is to be inserted.
11021
11022 2002-10-11 André Pönitz <poenitz@gmx.net>
11023
11024         * lyxtext.h: make some functions public to allow access
11025         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11026
11027 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11028
11029         * text3.C (dispatch): when changing layout, avoid an infinite loop
11030         [bug #652]
11031
11032 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * lyxrc.C (read): treat a viewer or converter command of "none" as
11035         if it were empty.
11036
11037         * MenuBackend.C (expandFormats): for an update, also allow the
11038         formats that are not viewable
11039
11040         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11041         script if it is newer than the lyxrc.defaults in user directory
11042
11043 2002-10-07 André Pönitz <poenitz@gmx.net>
11044
11045         * text.C: Vitaly Lipatov's small i18n fix
11046
11047 2002-09-25  Angus Leeming  <leeming@lyx.org>
11048
11049         * ispell.h: doxygen fix.
11050
11051 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11052
11053         * buffer.h (readFile): Add a new argument to the method, to allow
11054         reading of old-format templates.
11055
11056 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11057
11058         * toc.C (getTocList): Get TOC from InsetWrap.
11059
11060 2002-09-16  John Levon  <levon@movementarian.org>
11061
11062         * lyxfunc.C: check tabular for cut/copy too
11063
11064 2002-09-12  John Levon  <levon@movementarian.org>
11065
11066         * LyXAction.C: tidy
11067
11068         * factory.h:
11069         * factory.C: add header
11070
11071         * paragraph_funcs.h:
11072         * paragraph_funcs.C: cleanup
11073
11074 2002-09-11  John Levon  <levon@movementarian.org>
11075
11076         * PrinterParams.h: odd/even default to true
11077
11078 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11079
11080         * PrinterParams.h: update printer parameters for new xforms dialog
11081
11082 2002-09-11  Angus Leeming  <leeming@lyx.org>
11083
11084         * lyxserver.C (read_ready): re-write to make it more transparent
11085         and to make it work in coherent fashion under Tru64 Unix.
11086
11087 2002-09-11  André Pönitz <poenitz@gmx.net>
11088
11089         * commandtags.h:
11090         * LyXAction.C:
11091         * text3.C: implement LFUN_WORDSEL
11092
11093 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11094
11095         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11096         make floatlist_ a boost::shared_ptr<FloatList>
11097
11098         * lyxtextclass.C: include FloatList.h
11099         (LyXTextClass): initialize floatlist_
11100         (TextClassTags): add TC_NOFLOAT
11101         (Read): match "nofloat" to TC_NOFLOAT and use it.
11102         (readFloat): modify call to floatlist_
11103         (floats): ditto
11104         (floats): ditto
11105
11106         * FloatList.[Ch] (FloatList): remove commented out float
11107         initialization.
11108         (erase): new function
11109
11110 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11111
11112         * MenuBackend.C (expandToc): fix crash when there is no document
11113         open
11114
11115 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11116
11117         * many files: Add insetwrap.
11118
11119 2002-09-09  John Levon  <levon@movementarian.org>
11120
11121         * text2.C: remove confusing and awkward depth wraparound
11122
11123 2002-09-09  John Levon  <levon@movementarian.org>
11124
11125         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11126
11127         * buffer.h:
11128         * buffer.C: remove getIncludeonlyList()
11129
11130         * paragraph.C:
11131         * lyxfunc.C: remove headers
11132
11133 2002-09-09  Juergen Vigna  <jug@sad.it>
11134
11135         * text.C (getColumnNearX): fix form Michael this is most
11136         probably a cut&paste bug.
11137
11138 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11139
11140         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11141
11142         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11143         references, ws changes.
11144
11145         * text2.C (init): update counters after init
11146         (insertParagraph): no need to set counter on idividual paragraphs.
11147         (setCounter): access the counters object in the textclass object
11148         on in the buffer object.
11149         (updateCounters): ditto
11150
11151         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11152         shared_ptr<Counters> to avoid loading counters.h in all
11153         compilation units.
11154         (LyXTextClass): initialize ctrs_
11155         (TextClassTags): add TC_COUNTER, and ...
11156         (Read): use it here.
11157         (CounterTags): new tags
11158         (readCounter): new function
11159         (counters): new funtion
11160         (defaultLayoutName): return a const reference
11161
11162         * counters.C (Counters): remove contructor
11163         (newCounter): remove a couple of unneeded statements.
11164         (newCounter): simplify a bit.
11165         (numberLabel): some small formatting changes.
11166
11167         * buffer.[Ch]: remove all traces of counters, move the Counters
11168         object to the LyXTextClass.
11169
11170 2002-09-06  Alain Castera  <castera@in2p3.fr>
11171
11172         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11173         package to set the horizontal alignment on fixed width columns.
11174
11175         * lyx_sty.C:
11176         * lyx_sty.h: added tabularnewline macro def.
11177
11178         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11179
11180 2002-09-06  John Levon  <levon@movementarian.org>
11181
11182         * LyXAction.C: tooltips for sub/superscript
11183
11184         * MenuBackend.C: a bit more verbose
11185
11186         * lyxfunc.C: tiny clean
11187
11188         * undo_funcs.C: document undo_frozen
11189
11190 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11191
11192         * counters.C (Counters): add missing algorithm counter.
11193
11194         * text2.C (setCounter): lookup the counter with layouts latexname
11195         instead of by section number.
11196         (setCounter): use a hackish way to lookup the correct enum
11197         counter.
11198         a float name->type change
11199         reset enum couners with counter name directly instead of depth value.
11200
11201         * counters.C (Counters): remove the push_backs, change to use the
11202         float type not the float name.
11203         (labelItem): remove unused string, float name->type change
11204
11205         * counters.h: don't include vector, loose the enums and sects vectors
11206
11207 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11208
11209         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11210         (Read): add float->TC_FLOAT to textclassTags
11211         (Read): and handle it in the switch
11212         (readFloat): new function
11213
11214         * FloatList.C (FloatList): comment out the hardcoded float
11215         definitions.
11216
11217         * lyxlayout.h: ws change.
11218
11219 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11220
11221         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11222
11223 2002-09-03  Angus Leeming  <leeming@lyx.org>
11224
11225         * BufferView_pimpl.h: qualified name is not allowed in member
11226         declaration: WorkArea & Pimpl::workarea() const;
11227
11228         * factory.C: added using std::endl directive.
11229
11230         * text3.C: added using std::find and std::vector directives.
11231
11232 2002-08-29  André Pönitz <poenitz@gmx.net>
11233
11234         * lyxtext.h:
11235         * text2.C: remove unused member number_of_rows
11236
11237         * Makefile.am:
11238         * BufferView2.C: remove file, move contents to...
11239         * BufferView.C: ... here
11240
11241         * BufferView_pimpl.C:
11242         * factory.C: move more inset creation to factory
11243
11244         * vspace.C: avoid direct usage of LyXText, ws changes
11245
11246         * BufferView.[Ch]:
11247                 don't provide direct access to WorkArea, use two simple
11248                 acessors haveSelction() and workHeight() instead
11249
11250
11251 2002-08-29  John Levon  <levon@movementarian.org>
11252
11253         * BufferView_pimpl.C (dispatch): do not continue when
11254           no buffer
11255
11256 2002-08-28  André Pönitz <poenitz@gmx.net>
11257
11258         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11259
11260         * BufferView.h:
11261         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11262
11263 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11264
11265         * buffer.C: increment LYX_FORMAT to 221
11266
11267         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11268         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11269
11270         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11271
11272         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11273
11274 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * factory.C (createInset): use LyXTextClass::floats
11277
11278         * MenuBackend.C (expandFloatListInsert):
11279         (expandFloatInsert):
11280         (expandToc):
11281
11282         * text2.C (setCounter):
11283
11284         * LaTeXFeatures.C (useFloat):
11285         (getFloatDefinitions):
11286
11287         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11288
11289         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11290         floatlist_, with accessor floats().
11291
11292         * FloatList.h: remove global FloatList
11293
11294 2002-08-26  André Pönitz <poenitz@gmx.net>
11295
11296         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11297
11298         * BufferView.h:
11299         * BufferView2.C:
11300         * BufferView_pimpl.C:
11301         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11302
11303 2002-08-25  John Levon  <levon@movementarian.org>
11304
11305         * LyXAction.C: fix margin note description
11306
11307 2002-08-24  John Levon  <levon@movementarian.org>
11308
11309         * buffer.C:
11310         * bufferlist.C:
11311         * bufferview_funcs.C:
11312         * lyxfont.C:
11313         * undo_funcs.C: cleanups
11314
11315         * lyxfunc.C: disable CUT/COPY when no selection
11316
11317 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11318
11319         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11320         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11321
11322         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11323         Add backward compatibility to "mono", "gray" and "no".
11324
11325 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11326
11327         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11328         (and file_format >= 200).
11329
11330 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11333
11334 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11337
11338 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11339
11340         * BufferView_pimpl.C:
11341         * LyXAction.C:
11342         * buffer.C:
11343         * commandtags.h:
11344         * lyxfunc.C:
11345         * paragraph.[Ch]:
11346         * text2.C:
11347         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11348         inset and code to make it  work with the paragraph code. The inset
11349         can be anywhere in the paragraph, but will only do the expected
11350         thing in LaTeX if the layout file contains the parameter line
11351                         OptionalArgs    1
11352         (or more generally, a nonzero value) for that layout.
11353
11354 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11355
11356         * paragraph.h: remove the declaration of undefined counters class
11357         function.
11358
11359 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11360
11361         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11362         Dr. Richard Hawkins.
11363
11364 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * paragraph_funcs.h: remove some unneeded includes
11367
11368         * text.C (backspace): pasteParagraph now in global scipe
11369
11370         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11371         (pasteSelection): ditto
11372
11373         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11374         * paragraph_funcs.C (pasteParagraph): ... here
11375
11376 2002-08-20  André Pönitz <poenitz@gmx.net>
11377
11378         * commandtags.h: new LFUNs for swapping/copying table row/colums
11379
11380         * LyXAction.C:
11381         * lyxfunc.C: support for new lfuns
11382
11383 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11384
11385         * tabular.C:
11386         * buffer.[Ch]: remove NO_COMPABILITY stuff
11387
11388 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11389
11390         * boost.C (throw_exception): new file, with helper function for
11391         boost compiled without exceptions.
11392
11393         * paragraph.h:
11394         * lyxlength.C:
11395         * buffer.C:
11396         * ParameterStruct.h:
11397         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11398
11399         * bufferlist.C (emergencyWriteAll): use boost bind
11400
11401         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11402
11403         * text.C: include paragraph_funcs.h
11404         (breakParagraph): breakParagraph is now in global scope
11405
11406         * paragraph_funcs.[Ch]: new files
11407
11408         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11409         global scope
11410
11411         * buffer.C: include paragraph_funcs.h
11412         (insertStringAsLines): breakParagraph is now in global scope
11413
11414         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11415         paragraph_funcs.C
11416
11417         * CutAndPaste.C: include paragraph_funcs.h
11418         (cutSelection): breakParagraphConservative is now in global scope
11419         (pasteSelection): ditto
11420
11421         * buffer.h: declare oprator== and operator!= for
11422         Buffer::inset_iterator
11423
11424         * bufferlist.C (emergencyWrite): don't use fmt(...)
11425
11426         * text3.C: add using std::endl
11427
11428         * BufferView.C (moveCursorUpdate): remove default arg
11429
11430 2002-08-20  André Pönitz <poenitz@gmx.net>
11431
11432         * buffer.[Ch]: move inline functions to .C
11433
11434         * BufferView2.C:
11435         * BufferView_pimpl.C:
11436         * text.C:
11437         * buffer.[Ch]: use improved inset_iterator
11438
11439         * buffer.C:
11440         * paragraph.[Ch]: write one paragraph at a time
11441
11442 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11443
11444         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11445         style if style is not specified.
11446
11447 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * text2.C (setCounter): when searching for right label for a
11450         caption, make sure to recurse to parent insets (so that a caption
11451         in a minipage in a figure float works) (bug #568)
11452
11453 2002-08-20  André Pönitz <poenitz@gmx.net>
11454
11455         * text3.C: new file for LyXText::dispatch() and helpers
11456
11457         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11458
11459         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11460
11461 2002-08-19  André Pönitz <poenitz@gmx.net>
11462
11463         * lyxtext.h:
11464         * text.C: new LyXText::dispatch()
11465
11466         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11467
11468 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11469
11470         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11471
11472         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11473         Hebrew text.
11474
11475 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11476
11477         * Makefile.am: use $(variables) instead of @substitutions@
11478
11479 2002-08-15  André Pönitz <poenitz@gmx.net>
11480
11481         * lyxfunc.C:
11482         * BufferView_pimpl.C: streamlining mathed <-> outer world
11483         interaction
11484
11485         * commandtags.h:
11486         * LyXAction.C: remove unused LFUN_MATH
11487
11488 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11489
11490         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11491
11492 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11493
11494         * paragraph.C (Paragraph): reformat a bit
11495         (cutIntoMinibuffer): use builtin InsetList function instad of
11496         doing it manually.
11497         (getInset): ditto
11498
11499         * buffer.C: include boost/bind.hpp, add using std::for_each
11500         (writeFileAscii): use ParagraphList iterators
11501         (validate): use for_each for validate traversal of paragraphs
11502         (getBibkeyList): use ParagraphList iterators
11503         (resizeInsets): use for_each to resizeInsetsLyXText for all
11504         paragraphs.
11505         (getParFromID): use ParagraphList iterators
11506
11507         * BufferView2.C (lockInset): use paragraph list and iterators
11508
11509 2002-08-14  John Levon  <levon@movementarian.org>
11510
11511         * lyxserver.C: remove spurious xforms include
11512
11513 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11516
11517 2002-08-13  André Pönitz <poenitz@gmx.net>
11518
11519         * LyXAction.[Ch]:
11520         * lyxfunc.C: further cleaning
11521
11522 2002-08-13  André Pönitz <poenitz@gmx.net>
11523
11524         * funcrequest.h: new constructor
11525
11526         * funcrequest.C: move stuff here from .h
11527
11528         * Makefile.am:
11529         * BufferView_pimpl.C:
11530         * LyXAction.C:
11531         * toc.C:
11532         * lyxfunc.C: subsequent changes
11533
11534         * lyxfunc.h: new view() member function
11535
11536         * lyxfunc.C: subsequent changes
11537
11538 2002-08-13  Angus Leeming  <leeming@lyx.org>
11539
11540         * BufferView2.C:
11541         * BufferView_pimpl.C:
11542         * buffer.C:
11543         * converter.C:
11544         * importer.C:
11545         * lyxfunc.C:
11546         * lyxvc.C:
11547         * toc.C:
11548         * vc-backend.C:
11549         changes due to the changed LyXView interface that now returns references
11550         to member variables not pointers.
11551
11552 2002-08-13  Angus Leeming  <leeming@lyx.org>
11553
11554         * WordLangTuple (word, lang_code): return references to strings,
11555         not strings.
11556
11557         * BufferView.h:
11558         * SpellBase.h:
11559         * lyxtext.h: forward-declare WordLangTuple.
11560
11561         * BufferView2.C:
11562         * ispell.C:
11563         * pspell.C:
11564         * text.C: #include "WordLangTuple.h".
11565
11566         * lyxtext.h:
11567         * text.C: (selectNextWordToSpellcheck): constify return type.
11568
11569 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11570
11571         * buffer.C:
11572         * buffer.h:
11573         * lyxtext.h:
11574         * paragraph.C:
11575         * paragraph_pimpl.h:
11576         * text.C:
11577         * text2.C:
11578         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11579         suggested by Angus.
11580         Made updateCounter always count from start of buffer, and removed
11581         second argument (par).
11582         Reverted floats number display to '#'. Perhaps I'll try again when the
11583         code base is sanitized a bit.
11584
11585 2002-08-12  Angus Leeming  <leeming@lyx.org>
11586
11587         * buffer.[Ch] (getLabelList): constify.
11588
11589 2002-08-07  André Pönitz <poenitz@gmx.net>
11590
11591         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11592
11593         * funcrequest.h: extension to keep mouse (x,y) position
11594
11595 2002-08-12  Juergen Vigna  <jug@sad.it>
11596
11597         * BufferView2.C (insertErrors): forbid undo when inserting error
11598         insets.
11599
11600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11601
11602 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11603
11604         * ParagraphList.[Ch]: new files
11605
11606         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11607
11608         * BufferView2.C (lockInset): ParagraphList changes
11609         * toc.C: ditto
11610         * text2.C: ditto
11611         * bufferlist.C: ditto
11612         * buffer.h: ditto
11613         * buffer.C: ditto
11614
11615 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11616
11617         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11618         unused class variable counter_,
11619
11620         * paragraph.[Ch] (getFirstCounter): delete unused function
11621
11622         * counters.C: include LAssert.h
11623         (reset): add a new function with no arg, change other version to
11624         not have def. arg and to not allow empty arg.
11625
11626         * text2.C (setCounter): remove empty arg from call to Counters::reset
11627
11628 2002-08-11  John Levon  <levon@movementarian.org>
11629
11630         * Makefile.am: add WordLangTuple.h
11631
11632 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11633
11634         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11635         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11636
11637         * insets/insettext.C: InsetList changes
11638
11639         * graphics/GraphicsSupport.C (operator()): InsetList changes
11640
11641         * toc.C (getTocList): InsetList changes
11642
11643         * paragraph_pimpl.[Ch]: InsetList changes
11644
11645         * paragraph.[Ch]: InsetList changes
11646
11647         * buffer.C (inset_iterator): InsetList changes
11648         (setParagraph): ditto
11649         * buffer.h (inset_iterator): ditto
11650         * iterators.C (operator++): ditto
11651         * iterators.h: ditto
11652
11653         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11654
11655         * InsetList.[Ch]: new files, most InsetList handling moved out of
11656         paragraph.C.
11657
11658         * BufferView2.C (removeAutoInsets): InsetList changes
11659         (lockInset): ditto
11660         (ChangeInsets): ditto
11661
11662 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11663
11664         * paragraph_pimpl.h (empty): new function
11665
11666         * paragraph.[Ch] (empty): new function
11667
11668         * other files: use the new Paragraph::empty function
11669
11670 2002-08-09  John Levon  <levon@movementarian.org>
11671
11672         * lyxtext.h: remove unused refresh_height
11673
11674 2002-08-09  John Levon  <levon@movementarian.org>
11675
11676         * Makefile.am:
11677         * sgml.h:
11678         * sgml.C:
11679         * buffer.C:
11680         * paragraph.h:
11681         * paragraph.C: move sgml char escaping out of paragraph
11682
11683         * paragraph.h:
11684         * paragraph.C: remove id setter
11685
11686         * buffer.C:
11687         * paragraph.C:
11688         * paragraph_pimpl.C: remove dead tex_code_break_column
11689
11690         * bufferview_funcs.C: small cleanup
11691
11692         * lyxfunc.C: remove dead proto
11693
11694         * lyxtext.h: make some stuff private. Remove some dead stuff.
11695
11696         * lyxgluelength.C: make as[LyX]String() readable
11697
11698 2002-08-08  John Levon  <levon@movementarian.org>
11699
11700         * LyXAction.h:
11701         * LyXAction.C:
11702         * MenuBackend.C:
11703         * ToolbarDefaults.C:
11704         * lyxfunc.C:
11705         * lyxrc.C:
11706         * toc.C: lyxaction cleanup
11707
11708 2002-08-08  John Levon  <levon@movementarian.org>
11709
11710         * BufferView2.C: small cleanup
11711
11712         * lyxfind.h:
11713         * lyxfind.C: move unnecessary header into the .C
11714
11715 2002-08-08  John Levon  <levon@movementarian.org>
11716
11717         * funcrequest.h: just tedious nonsense
11718
11719         * lyx_main.h:
11720         * lyx_main.C: cleanups
11721
11722         * buffer.C:
11723         * vspace.C: remove dead header lyx_main.h
11724
11725 2002-08-07  Angus Leeming  <leeming@lyx.org>
11726
11727         * Paragraph.[Ch]:
11728         * paragraph_pimpl.h:
11729         Forward declare class Counters in paragraph.h by moving the ctrs member
11730         variable into Paragraph::Pimpl.
11731         (counters): new method, returning a reference to pimpl_->ctrs.
11732
11733         * text2.C: ensuing changes.
11734
11735 2002-08-07  John Levon  <levon@movementarian.org>
11736
11737         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11738
11739         * BufferView_pimpl.C: announce X selection on double/triple
11740           click
11741
11742         * lyx_main.C: use correct bool in batch dispatch
11743
11744         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11745
11746 2002-08-07  André Pönitz <poenitz@gmx.net>
11747
11748         * funcrequest.h: new class to wrap a kb_action and its argument
11749
11750         * BufferView.[Ch]:
11751         * BufferView_pimpl[Ch]:
11752         * LaTeX.C:
11753         * LyXAction.[Ch]:
11754         * lyxfunc.[Ch]:
11755         * lyxrc.C: subsequent changes
11756
11757
11758 2002-08-07  John Levon  <levon@movementarian.org>
11759
11760         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11761           document options change.
11762
11763 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11764
11765         * counters.[Ch]
11766         * text2.C
11767         * paragraph.[Ch]
11768         * makefile.am: move counters functionality over from
11769         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11770
11771 2002-08-06  John Levon  <levon@movementarian.org>
11772
11773         * WordLangTuple.h: new file for word + language code tuple
11774
11775         * SpellBase.h:
11776         * pspell.h:
11777         * pspell.C:
11778         * ispell.h:
11779         * ispell.C:
11780         * lyxtext.h:
11781         * text.C:
11782         * text2.C:
11783         * BufferView.h:
11784         * BufferView2.C: use WordLangTuple
11785
11786         * layout.h:
11787         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11788
11789 2002-08-06  John Levon  <levon@movementarian.org>
11790
11791         * lyx_main.C: fix cmdline batch handling
11792
11793 2002-08-06  André Pönitz <poenitz@gmx.net>
11794
11795         * lyxrc.C: set default for show_banner to true
11796
11797 2002-08-06  John Levon  <levon@movementarian.org>
11798
11799         * pspell.C: fix a crash, and allow new aspell to work
11800
11801 2002-08-06  John Levon  <levon@movementarian.org>
11802
11803         * lyxfunc.C:
11804         * kbmap.C: small cleanup
11805
11806         * vspace.h:
11807         * vspace.C: add const
11808
11809 2002-08-05  John Levon  <levon@movementarian.org>
11810
11811         * LyXAction.C: back to tabular-insert
11812
11813 2002-08-04  John Levon  <levon@movementarian.org>
11814
11815         * BufferView.h:
11816         * BufferView.C: cosmetic change
11817
11818         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11819
11820         * bufferlist.C:
11821         * buffer.h:
11822         * buffer.C:
11823         * lyxcb.h:
11824         * lyxcb.C:
11825         * lyxserver.C:
11826         * lyxvc.C:
11827         * vc-backend.C:
11828         * BufferView2.C: purge all "Lyx" not "LyX" strings
11829
11830         * lyxcursor.h:
11831         * lyxcursor.C: attempt to add some documentation
11832
11833         * lyxfunc.C:
11834         * commandtags.h:
11835         * LyXAction.C:
11836         * ToolbarDefaults.C:
11837         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11838           merge with LFUN_TABULAR_INSERT
11839
11840         * Makefile.am:
11841         * SpellBase.h:
11842         * ispell.h:
11843         * ispell.C:
11844         * pspell.h:
11845         * pspell.C: split up i/pspell implementations into separate
11846           files, many cleanups
11847
11848         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11849
11850         * text2.C: some cleanup
11851
11852         * lyxfunc.C: don't check for isp_command == "none" any more, it
11853           didn't make any sense
11854
11855 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11856
11857         * counters.[Ch]
11858         * text2.C
11859         * paragraph.[Ch]
11860         * makefile.am: move counters functionality over
11861         from text2.C/paragraph.[Ch] to counters.[Ch], and
11862         make proper C++.
11863 2002-08-02  John Levon  <levon@movementarian.org>
11864
11865         * buffer.C: s/lyxconvert/lyx2lyx/
11866
11867 2002-08-02  Angus Leeming  <leeming@lyx.org>
11868
11869         * lyxlex.C: revert John's change as it breaks reading of the user
11870         preamble.
11871
11872 2002-08-02  Angus Leeming  <leeming@lyx.org>
11873
11874         * importer.C (Import):
11875         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11876         changes due to LyXView::view() now returning a boost::shared_ptr.
11877
11878 2002-08-02  John Levon  <levon@movementarian.org>
11879
11880         * lyxlex.C: small cleanup
11881
11882 2002-08-02  John Levon  <levon@movementarian.org>
11883
11884         * text2.C (status): small cleanup, no logic change
11885
11886 2002-08-01  John Levon  <levon@movementarian.org>
11887
11888         * buffer.h:
11889         * buffer.C (writeFile): don't output alerts, caller
11890           handles this
11891
11892         * bufferlist.C:
11893         * lyx_cb.C: from above
11894
11895         * lyxfunc.C: allow to open non-existent files
11896
11897 2002-07-31  John Levon  <levon@movementarian.org>
11898
11899         * lyxserver.C: don't let incidental errors get
11900           in the way (errno)
11901
11902 2002-07-30  John Levon  <levon@movementarian.org>
11903
11904         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11905
11906 2002-07-30  John Levon  <levon@movementarian.org>
11907
11908         * lyxserver.h:
11909         * lyxserver.C: remove I/O callback too
11910
11911 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11914         log.
11915
11916 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11917
11918         * many files: strip,frontStrip -> trim,ltrim,rtrim
11919
11920 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11921
11922         * PrinterParams.h: remove extern containsOnly, and include
11923         support/lstrings.h instead.
11924
11925         * LaTeX.C (scanAuxFile): modify because of strip changes
11926         (deplog): ditto
11927         * buffer.C (makeLaTeXFile): ditto
11928         * bufferparams.C (writeFile): ditt
11929         * lyxfont.C (stateText): ditto
11930         * lyxserver.C (read_ready): ditto
11931         * vc-backend.C (scanMaster): ditto
11932
11933         * BufferView_pimpl.h: ws changes
11934
11935         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11936
11937 2002-07-26  André Pönitz <poenitz@gmx.net>
11938
11939         * kb_sequence.C: remove unnedred usings
11940
11941 2002-07-26  Juergen Vigna  <jug@sad.it>
11942
11943         * lyxfind.C (LyXReplace): we have to check better if the returned
11944         text is not of theLockingInset()->getLockingInset().
11945
11946 2002-07-25  Juergen Vigna  <jug@sad.it>
11947
11948         * lyxfind.C (LyXReplace): don't replace if we don't get the
11949         right LyXText.
11950
11951         * undo_funcs.C (createUndo): remove debugging code.
11952
11953 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11954
11955         * buffer.C (parseSingleLyXformat2Token): Use default placement
11956         when reading old floats.
11957
11958         * FloatList.C (FloatList): Change the default placement of figure
11959         and tables to "tbp".
11960
11961 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * MenuBackend.C: using std::max
11964
11965 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * MenuBackend.C (expandToc):
11968         (expandToc2): code moved from xforms menu frontend. It is now
11969         generic and TOCs are transparent to menu frontends.
11970
11971 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11972
11973         * toc.C (getTocList): protect against buf=0
11974
11975         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11976         Menu as first parameter. Now, this calls itself recursively to
11977         expand a whole tree (this will be useful for TOC handling)
11978         (expandFloatInsert): remove 'wide' version of floats
11979
11980         * MenuBackend.h (submenuname): returns the name of the submenu.
11981         (submenu): returns the submenu itself, provided it has been
11982         created by MenuBackend::expand
11983
11984 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11987         insets which have noFontChange == true. (bug #172)
11988
11989 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11990
11991         * BufferView_pimpl.C: add connection objects and use them...
11992         (Pimpl): here.
11993
11994 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11995
11996         * MenuBackend.C (expandLastfiles):
11997         (expandDocuments):
11998         (expandFormats):
11999         (expandFloatListInsert):
12000         (expandFloatInsert):
12001         (expand): split expand in parts
12002
12003 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * lyx_gui.C: use lyx_gui::exit()
12006
12007 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * LyXAction.C: show the failing pseudo action
12010
12011 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12012
12013         * buffer.C (readFile): Run the lyxconvert script in order to read
12014         old files.
12015
12016 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * LyXAction.C:
12019         * commandtags.h:
12020         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12021
12022 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * LyXAction.C:
12025         * commandtags.h:
12026         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12027
12028 2002-07-22  Herbert Voss  <voss@lyx.org>
12029
12030         * lengthcommon.C:
12031         * lyxlength.[Ch]: add support for the vertical lengths
12032
12033 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * toc.[Ch]: std:: fixes
12036
12037 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12038
12039         * lyxrc.C: do not include lyx_main.h
12040
12041         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12042         for layouts
12043
12044         * lyxrc.C:
12045         * encoding.C:
12046         * bufferlist.C:
12047         * BufferView2.C: include "lyxlex.h"
12048
12049         * tabular.h:
12050         * bufferparams.h: do not #include "lyxlex.h"
12051
12052         * lyxtextclasslist.C (Add): remove method
12053         (classlist): renamed to classlist_
12054
12055         * paragraph_pimpl.C:
12056         * paragraph.C:
12057         * text2.C:
12058         * CutAndPaste.C:
12059         * bufferview_funcs.C:
12060         * bufferlist.C:
12061         * text.C:
12062         * LaTeXFeatures.C:
12063         * buffer.C:
12064         * toc.C (getTocList): use BufferParams::getLyXTextClass
12065
12066         * toc.C (getTocList): use InsetFloat::addToToc
12067
12068         * toc.[Ch]: new files, containing helper functions to handle table
12069         of contents
12070
12071         * lyxfunc.C (dispatch): no need to remove spaces around command
12072         given as a string
12073         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12074         first command of the sequence; it is not very clever, but I do not
12075         have a better idea, actually
12076
12077         * LyXAction.C (LookupFunc): make sure to remove space at the
12078         beginning and end of the command
12079
12080 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12081
12082         * MenuBackend.C (getMenubar): new method: return the menubar of
12083         this menu set
12084         (read): treat differently reading of menu and menubar (in
12085         particular, the menubar has no name now)
12086         (Menu::menubar): remove
12087
12088         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12089         saving is finished
12090
12091 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12092
12093         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12094         a bibitem inset in a RTL paragraph.
12095
12096 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12097
12098         * paragraph_pimpl.C: constify
12099
12100         * BufferView_pimpl.C:
12101         * LaTeX.C:
12102         * lyxfunc.C: fix dispatch in a nicer way
12103
12104 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * lyxfunc.C (dispatch):
12107         * BufferView_pimpl.C:
12108         * BufferView_pimpl.h:
12109         * BufferView.C:
12110         * BufferView.h: rename Dispatch() to dispatch()
12111
12112         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12113
12114         * lyxlayout.C (Read): honor DependsOn tag
12115
12116         * lyxlayout.[Ch] (depends_on): new method
12117
12118         * version.C.in: update lyx_docversion
12119
12120         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12121
12122         * paragraph.C (validate): remove from here...
12123         * paragraph_pimpl.C (validate): ... and move here
12124         (isTextAt): make it const
12125
12126         * buffer.C (getLists): ws cleanup
12127
12128 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12129
12130         * language.C (read): Use iso8859-1 encoding in latex_lang
12131         (this prevents LyX from crashing when using iso10646-1 encoding).
12132
12133 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12134
12135         * text2.C (toggleInset): if cursor is inside an inset, close the
12136         inset and leave cursor _after_ it
12137
12138 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * lyxfunc.C: move minibuffer completion handling out of here
12141
12142 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * BufferView_pimpl.C:
12145         * LaTeX.C: fix dispatch calls
12146
12147 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12148
12149         * text.C (drawChars): Fix Arabic text rendering.
12150
12151 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * LyXAction.C:
12154         * commandtags.h:
12155         * lyxfunc.C: remove message-push/pop
12156
12157         * lyxserver.C:
12158         * lyxfunc.h:
12159         * lyxfunc.C: rationalise some code by removing verboseDispatch
12160           in favour of a bool argument to dispatch()
12161
12162 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12163
12164         * lyx_main.C (init): make sure to read symlinks as absolute paths
12165
12166 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * lyxfunc.h:
12169         * lyxfunc.C: no need for commandshortcut to be a member
12170
12171 2002-07-15  André Pönitz <poenitz@gmx.net>
12172
12173         * converter.C: add support for $$s (scripts from lib/scripts dir)
12174         * lyx_main.C: white space
12175
12176 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * bufferlist.C:
12179         * lyxrc.h:
12180         * lyxrc.C: remove second exit confirmation
12181
12182 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * BufferView.h:
12185         * BufferView.C:
12186         * BufferView2.C:
12187         * BufferView_pimpl.h:
12188         * BufferView_pimpl.C:
12189         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12190
12191 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12192
12193         * MenuBackend.C (expand): add numeric shortcuts to document menu
12194
12195         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12196
12197 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12198
12199         * lyxfont.C (setLyXFamily):
12200         (setLyXSeries):
12201         (setLyXShape):
12202         (setLyXSize):
12203         (setLyXMisc):
12204         (lyxRead):
12205         * debug.C (value):
12206         * buffer.C (asciiParagraph): use ascii_lowercase
12207
12208 2002-07-15  Mike Fabian  <mfabian@suse.de>
12209
12210         * lyxlex_pimpl.C (search_kw):
12211         * lyxlex.C (getLongString):
12212         * converter.h (operator<):
12213         * converter.C (operator<):
12214         * buffer.C (parseSingleLyXformat2Token):
12215         (asciiParagraph):
12216         * ToolbarDefaults.C (read):
12217         * MenuBackend.C (checkShortcuts):
12218         (read):
12219         * LColor.C (getFromGUIName):
12220         (getFromLyXName): use the compare_ascii_no_case instead of
12221         compare_no_case, because in turkish, 'i' is not the lowercase
12222         version of 'I', and thus turkish locale breaks parsing of tags.
12223
12224 2002-07-16  Angus Leeming  <leeming@lyx.org>
12225
12226         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12227         now takes a Buffer const & argument.
12228
12229 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * BufferView.C (resize): check there's a buffer to resize
12232
12233 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * lyxfunc.C: remove dead code
12236
12237         * lyxserver.h:
12238         * lyxserver.C: use lyx_guii::set_read_callback
12239
12240 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12241
12242         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12243         an inset in a RTL paragraph.
12244
12245 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * lyxfunc.C: repaint after a font size update
12248
12249 2002-07-15  André Pönitz <poenitz@gmx.net>
12250
12251         * lyxlength.C: inBP should be able to return negative values
12252
12253 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12254
12255         * lyxfunc.C: use lyx_gui::update_fonts()
12256
12257 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * lyxfunc.C: use lyx_gui::update_color()
12260
12261 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * bufferlist.C:
12264         * lyxfunc.h:
12265         * lyxfunc.C:
12266         * lyxrc.h:
12267         * lyxrc.C: remove file->new asks for name option, and let
12268           buffer-new take an argument
12269
12270 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * BufferView_pimpl.C: remove unneeded extra repaint()
12273
12274 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * LyXAction.C: allow command-sequence with NoBuffer
12277
12278         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12279
12280 2002-07-10  Angus Leeming  <leeming@lyx.org>
12281
12282         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12283
12284 2002-07-09  Angus Leeming  <leeming@lyx.org>
12285
12286         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12287
12288 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * lengthcommon.h: whitespace
12291
12292         * lyxfunc.C: update scrollbar after goto paragraph
12293
12294         * lyxtext.h: factor out page break drawing, and fix it so
12295           page break/added space paints as selected nicely
12296
12297 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * BufferView_pimpl.C: add FIXMEs, clean up a little
12300
12301 2002-07-09  André Pönitz <poenitz@gmx.net>
12302
12303         * lyxfont.[Ch]: support for wasy symbols
12304
12305 2002-07-08  André Pönitz <poenitz@gmx.net>
12306
12307         * BufferView_pimpl.C: apply John's patch for #93.
12308
12309 2002-07-05  Angus Leeming  <leeming@lyx.org>
12310
12311         * BufferView_pimpl.C (buffer): generate previews if desired.
12312
12313         * LColor.h: add "preview" to the color enum.
12314
12315         * LColor.C (LColor): add a corresponding entry to the items array.
12316
12317         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12318         with this buffer.
12319
12320 2002-07-05  Angus Leeming  <leeming@lyx.org>
12321
12322         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12323         The body of the code is now in the method that is passed an ostream &
12324         rather than a file name.
12325         Pass an additional only_preamble parameter, useful for the forthcoming
12326         preview stuff.
12327
12328 2002-07-03  André Pönitz <poenitz@gmx.net>
12329
12330         * lyxfunc.C: simplify getStatus() a bit for math stuff
12331
12332 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12333
12334         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12335
12336 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * text.C (changeRegionCase): do not change case of all the
12339         document when region ends at paragraph end (bug #461)
12340
12341 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * paragraph.C (startTeXParParams):
12344         (endTeXParParams): add \protect when necessary
12345
12346 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * BufferView_pimpl.C (workAreaExpose): remove warning
12349
12350 2002-06-27  Angus Leeming  <leeming@lyx.org>
12351
12352         * Makefile.am: add lyxlayout_ptr_fwd.h.
12353
12354 2002-06-26  André Pönitz <poenitz@gmx.net>
12355
12356         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12357
12358 2002-06-25  Angus Leeming  <leeming@lyx.org>
12359
12360         * lyxfunc.C (dispatch): Comment out the call to
12361         grfx::GCache::changeDisplay. The method no longer exists now that the
12362         pixmap generation part of the graphics loader has been moved into
12363         InsetGraphics.
12364
12365 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * text2.C: layout as layout
12368
12369         * text.C: layout as layout
12370
12371         * tabular.C (OldFormatRead): layout as layout
12372
12373         * paragraph_pimpl.C (TeXDeeper): layout as layout
12374         (realizeFont): layout as layout
12375
12376         * paragraph.C (writeFile): layout as layout
12377         (validate): layout as layout
12378         (getFont): layout as layout
12379         (getLabelFont): layout as layout
12380         (getLayoutFont): layout as layout
12381         (breakParagraph): layout as layout
12382         (stripLeadingSpaces): layout as layout
12383         (getEndLabel): layout as layout
12384         (getMaxDepthAfter): layout as layout
12385         (applyLayout): layout as layout
12386         (TeXOnePar): layout as layout
12387         (simpleTeXOnePar): layout as layout
12388         (TeXEnvironment): layout as layout
12389         (layout): layout as layout
12390         (layout): layout as layout
12391
12392         * lyxtextclass.C (compare_name): new functor to work with
12393         shared_ptr, layout as layout
12394         (Read): layout as layout
12395         (hasLayout): layout as layout
12396         (operator): layout as layout
12397         (delete_layout): layout as layout
12398         (defaultLayout): layout as layout
12399
12400         * lyxlayout_ptr_fwd.h: new file
12401
12402         * lyxlayout.C (Read): layout as layout
12403
12404         * lyx_cb.C (MenuInsertLabel): layout as layout
12405
12406         * bufferlist.C (newFile): layout as layout
12407
12408         * buffer.C (readLyXformat2): layout as layout
12409         (parseSingleLyXformat2Token): layout as layout
12410         (insertStringAsLines): layout as layout
12411         (asciiParagraph): layout as layout
12412         (latexParagraphs): layout as layout
12413         (makeLinuxDocFile): layout as layout
12414         (simpleLinuxDocOnePar): layout as layout
12415         (makeDocBookFile): layout as layout
12416         (simpleDocBookOnePar): layout as layout
12417         (getLists): layout as layout
12418
12419         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12420
12421         * CutAndPaste.C (cutSelection): layout as layout
12422         (pasteSelection): layout as layout
12423         (SwitchLayoutsBetweenClasses): layout as layout
12424
12425         * BufferView_pimpl.C (Dispatch): layout as layout
12426         (smartQuote): layout as layout
12427
12428         * BufferView2.C (unlockInset): layout as layout
12429
12430 2002-06-24  André Pönitz <poenitz@gmx.net>
12431
12432         * lyxfunc.C: fix #487
12433
12434 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * lyxrc.h:
12437         * lyxrc.C:
12438         * lyxfunc.C: remove display_shortcuts, show_banner
12439
12440 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * Buffer_pimpl.C: oops, update on resize
12443
12444 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * buffer.C:
12447         * converter.C:
12448         * exporter.C:
12449         * lyxfunc.C:
12450         * BufferView.h:
12451         * BufferView.C: use repaint()
12452
12453         * BufferView_pimpl.h:
12454         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12455           as it's a clearer description. Remove superfluous
12456           redraws.
12457
12458 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * text.C: fix bug 488. Not ideal, but getting
12461           getWord() to work properly for the insets that
12462           matter is more difficult ...
12463
12464 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * BufferView_pimpl.C:
12467         * LyXAction.C:
12468         * commandtags.h:
12469         * lyxfunc.C: remove the six million index lyxfuncs to just
12470           one, and DTRT (bug 458)
12471
12472 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * BufferView.h:
12475         * BufferView.C:
12476         * BufferView_pimpl.h:
12477         * BufferView_pimpl.C: clean up resize() stuff,
12478           and unnecessary updateScreen()s
12479
12480 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12481
12482         * BufferView.h:
12483         * BufferView.C:
12484         * BufferView_pimpl.h:
12485         * BufferView_pimpl.C:
12486         * lyxfind.h:
12487         * lyxfind.C:
12488         * minibuffer.C: remove focus management of workarea,
12489           not needed. Use screen's greyOut()
12490
12491 2002-06-17  Herbert Voss  <voss@lyx.org>
12492
12493         * converter.C: (convert) do not post a message, when converting
12494         fails, let the calling function decide what to do in this case
12495
12496 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * lyxfunc.C: tidy up a little
12499
12500 2002-06-16    <alstrup@diku.dk>
12501
12502         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12503         Got rid of FORMS_H_LOCATION include. Now we are
12504         GUII.
12505
12506 2002-06-15  LyX Development team  <lyx@rilke>
12507
12508         * buffer.[Ch] (sgmlOpenTag):
12509         (sgmlCloseTag): Added support for avoiding pernicious mixed
12510         content. Return number of lines written.
12511
12512         (makeLinuxDocFile):
12513         (makeDocBookFile): Fixed calls to sgml*Tag.
12514         Simple white space clean.
12515
12516         (simpleDocBookOnePar): Simple white space clean.
12517
12518         * tabular.[Ch] (docBook): Renamed to docbook and got another
12519         argument to related with the pernicious mixed content.
12520
12521         (docbookRow): Fixed calls for docbook inset method.
12522
12523 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12524
12525         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12526         so it's X11 independent.
12527
12528         * kb*.[Ch]: ditto.
12529
12530         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12531
12532 2002-06-15  Lyx Development team  <lyx@electronia>
12533
12534         * intl.h: Renamed getTrans to getTransManager.
12535
12536 2002-06-14  Angus Leeming  <leeming@lyx.org>
12537
12538         * Makefile.am: nuke forgotten stl_string_fwd.h.
12539
12540 2002-06-12  Angus Leeming  <leeming@lyx.org>
12541
12542         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12543
12544 2002-06-13  Angus Leeming  <leeming@lyx.org>
12545
12546         * LaTeX.C:
12547         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12548
12549 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12550
12551         * kbmap.C (getiso): add support for cyrillic and greek
12552
12553 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * BufferView.h:
12556         * BufferView.C:
12557         * BufferView_pimpl.h:
12558         * BufferView_pimpl.C: move bogus scrolling logic
12559           to xforms
12560
12561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * lyxfunc.C:
12564         * BufferView_pimpl.C: view->resize() change
12565
12566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * BufferView_pimpl.C: topCursorVisible
12569           prototype change
12570
12571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * Makefile.am:
12574         * lyx_gui.h:
12575         * lyx_gui.C: move to frontends/
12576
12577         * main.C:
12578         * lyx_main.h:
12579         * lyx_main.C: changes from above
12580
12581 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * intl.C:
12584         * intl.h:
12585         * kbmap.C:
12586         * kbsequence.C:
12587         * lyx_cb.C:
12588         * lyx_main.C: minor tidy
12589
12590 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * BufferView_pimpl.h:
12593         * BufferView_pimpl.C:
12594         * BufferView.h:
12595         * BufferView.C: make painter() const,
12596           remove dead code
12597
12598         * BufferView2.C: use screen() accessor
12599
12600         * lyx_main.h:
12601         * lyx_main.C: some minor cleanup
12602
12603 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * BufferView_pimpl.h:
12606         * BufferView_pimpl.C: remove enter/leaveView,
12607           use workHeight()
12608
12609 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * BufferView.h:
12612         * BufferView.C:
12613         * BufferView2.C:
12614         * BufferView_pimpl.h:
12615         * BufferView_pimpl.C: only construct screen once,
12616           rename
12617
12618         * lyxrc.C: remove pointless comment
12619
12620 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * BufferView.h:
12623         * BufferView.C: remove active() and belowMouse()
12624
12625         * BufferView_pimpl.h:
12626         * BufferView_pimpl.C: use workarea() not workarea_,
12627           and make it use a scoped_ptr instead
12628
12629 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * lyx_gui.C: add debug message on BadWindow
12632
12633 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * sp_spell.C: fdopen is not part of the C++ standard.
12636
12637         * paragraph.C (InsetIterator): use >= instead of ==
12638
12639 2002-06-07  Angus Leeming  <leeming@lyx.org>
12640
12641         Fixes needed to compile with Compaq cxx 6.5.
12642         * BufferView_pimpl.C:
12643         * DepTable.C:
12644         * buffer.C:
12645         * converter.C:
12646         * encoding.C:
12647         * lyx_gui.C:
12648         * lyx_main.C:
12649         * lyxtextclasslist.C:
12650         * minibuffer.C:
12651         * sp_spell.C:
12652         * tabular_funcs.C:
12653         * vc-backend.C:
12654         all c-library variables have been moved into namespace std. Wrap
12655         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12656
12657         * lyxlength.C:
12658         * tabular-old.C:
12659         * tabular.C:
12660         Add a using std::abs declaration.
12661
12662         * kbmap.h (modifier_pair):
12663         * paragraph.h (InsetTable, InsetList):
12664         * lyxfont.h (FontBits):
12665         type definition made public.
12666
12667         * bufferlist.C (emergencyWriteAll): the compiler complains that
12668         there is more than one possible lyx::class_fun template to choose from.
12669         I re-named the void specialisation as lyx::void_class_fun.
12670
12671         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12672
12673         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12674         the compiler is is unable to find tostr in write_attribute.
12675
12676 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12677
12678         * buffer.C (sgmlError): hide #warning
12679
12680 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12681
12682         * xtl/*: get rid of xtl, which is not in use anyway
12683
12684         * LyXAction.C (init):
12685         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12686         were unimplemented xtl experimentation
12687
12688 2002-06-04  André Pönitz <poenitz@gmx.net>
12689
12690         * lyxfunc.C: disable array operation on simple formulae
12691
12692 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * converter.C: constify a bit
12695
12696 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * lyx_gui.C: check xforms version correctly
12699
12700 2002-04-30  Herbert Voss  <voss@lyx.org>
12701
12702         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12703         "keep" option
12704
12705 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12708           attempt to register it with a VCS)
12709
12710 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * lyx_main.C (init): honor variables LYX_DIR_13x and
12713         LYX_USERDIR_13x
12714
12715 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * buffer.h:
12718         * buffer.C:
12719         * lyx_main.C: fix a crash on bad command line,
12720           and give a useful exit status on error
12721
12722         * lyxfunc.C (doImport): allow -i lyx to work
12723
12724 2002-03-30  André Pönitz <poenitz@gmx.net>
12725
12726         * lyxfunc.C: mathed font changes
12727
12728 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * LaTeX.C:
12731         * importer.h:
12732         * importer.C:
12733         * lyx_sty.h:
12734         * lyx_sty.C:
12735         * lyxlex.C:
12736         * lyxrow.h:
12737         * lyxtext.h:
12738         * paragraph.h:
12739         * paragraph.C:
12740         * texrow.h:
12741         * texrow.C:
12742         * text.C:
12743         * trans_mgr.h: srcdocs, and some minor cleanups
12744
12745 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12746
12747         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12748         call getFont all the time)
12749
12750 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * switch from SigC signals to boost::signals
12753
12754 2002-05-29  André Pönitz <poenitz@gmx.net>
12755
12756         * paragraph_pimpl.C (getChar): don't call size() too often...
12757
12758 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * paragraph_pimpl.C (insertChar): do not try to update tables when
12761         appending (pos == size())
12762
12763         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12764         in order to reduce drastically the number of comparisons needed to
12765         parse a large document
12766
12767 2002-05-29  André Pönitz <poenitz@gmx.net>
12768
12769         * text.C:
12770         * text2.C:
12771         * lyxtextclass.C:
12772         * sp_pspell.h:
12773         * textclasslist.[Ch]:
12774         * sp_ispell.h: whitespace change
12775
12776 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12777
12778         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12779         lyxaction directly now.
12780
12781 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * trans.C:
12784         * lyxfont.C:
12785         * lyxvc.C: remove unused headers
12786
12787 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * Makefile.am:
12790         * buffer.h:
12791         * undostack.h:
12792         * undostack.C:
12793         * undo_funcs.h:
12794         * undo_funcs.C: some cleanups. Use shared_ptr
12795           and a template for the undo stacks.
12796
12797 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * BufferView_pimpl.h:
12800         * BufferView_pimpl.C:
12801         * kbmap.h:
12802         * kbmap.C:
12803         * kbsequence.h:
12804         * kbsequence.C:
12805         * lyxfunc.h:
12806         * lyxfunc.C:
12807         * text2.C: use key_state/mouse_state
12808
12809 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12812         and LSubstring
12813
12814         * chset.C: change include order
12815         (loadFile): use boost regex and get rid of LRegex and LSubstring
12816
12817         * Makefile.am (BOOST_LIBS): new variable
12818         (lyx_LDADD): use it
12819
12820         * LaTeX.C: change include order.
12821         (scanAuxFile): use boost regex and get rid of LRegex and
12822         LSubstring
12823         (deplog): ditto
12824
12825 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * ColorHandler.h:
12828         * ColorHandler.C:
12829         * FontInfo.h:
12830         * FontInfo.C: moved to frontends/xforms/
12831
12832         * FontLoader.h:
12833         * FontLoader.C: moved into frontends for GUIIzation
12834
12835         * Makefile.am:
12836         * lyx_gui.C:
12837         * lyxfont.C:
12838         * lyxfunc.C: changes from above
12839
12840 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * LColor.C: remove spurious X include
12843
12844         * BufferView_pimpl.C:
12845         * Makefile.am:
12846         * font.h:
12847         * font.C:
12848         * text.C:
12849         * text2.C: move font metrics to frontends/
12850
12851 2002-05-24  Juergen Vigna  <jug@sad.it>
12852
12853         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12854         setting the undo_cursor.
12855
12856         * ParagraphParameters.h: include local includes first.
12857
12858 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * BufferView_pimpl.C:
12861         * BufferView_pimpl.h:
12862         * Makefile.am:
12863         * WorkArea.h:
12864         * WorkArea.C:
12865         * screen.C: move WorkArea into frontends/
12866
12867         * lyxscreen.h:
12868         * screen.C:
12869         * text.C:
12870         * BufferView.C:
12871         * BufferView2.C: move LyXScreen into frontends/
12872
12873         * lyxlookup.h:
12874         * lyxlookup.C:
12875         * lyx_gui.C: move lyxlookup into frontends/xforms/
12876
12877 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * BufferView2.C:
12880         * BufferView_pimpl.C:
12881         * FontLoader.C:
12882         * LyXView.h:
12883         * LyXView.C:
12884         * Makefile.am:
12885         * WorkArea.C:
12886         * XFormsView.h:
12887         * XFormsView.C:
12888         * buffer.C:
12889         * bufferlist.C:
12890         * bufferview_funcs.C:
12891         * converter.C:
12892         * importer.C:
12893         * lyx_cb.C:
12894         * lyx_gui.C:
12895         * lyx_main.C:
12896         * lyx_find.C:
12897         * lyxfunc.C:
12898         * lyxvc.C:
12899         * minibuffer.C:
12900         * text.C:
12901         * text2.C:
12902         * trans.C:
12903         * vc-backend.C: move LyX/XFormsView into frontends/
12904
12905 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * Makefile.am:
12908         * PainterBase.C:
12909         * PainterBase.h:
12910         * Painter.C:
12911         * Painter.h:
12912         * WorkArea.C:
12913         * WorkArea.h:
12914         * screen.C:
12915         * tabular.C:
12916         * text.C:
12917         * text2.C: move Painter to frontends/
12918
12919 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * buffer.C: comment out some some code that depend upon lyx_format
12922         < 220
12923
12924         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12925         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12926
12927         * buffer.h (NO_COMPABILITY): turn off compability
12928
12929         * ColorHandler.C: include scoped_array.hpp
12930
12931         * font.C: Use more specific smart_ptr header.
12932         * Painter.C: ditto
12933         * gettext.C: ditto
12934         * ShareContainer.h: ditto
12935         * lyx_main.h: ditto
12936         * kbmap.h: ditto
12937         * FontInfo.h: ditto
12938         * BufferView_pimpl.h: ditto
12939         * ColorHandler.h: ditto
12940
12941         * kbmap.C (defkey): change call to shared_ptr::reset
12942
12943 2002-05-21  Juergen Vigna  <jug@sad.it>
12944
12945         * buffer.C (insertErtContents): fix to insert ert asis if it is
12946         non empty. Skip it completely if it contains only whitespaces.
12947
12948 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12949
12950         * BufferView_pimpl.C:
12951         * BufferView2.C: clear selection on paste (bug 393)
12952
12953 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * DepTable.C: include ctime
12956
12957 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12960
12961 2002-05-14  Juergen Vigna  <jug@sad.it>
12962
12963         * text.C (breakParagraph): fixed function to honor the keepempty
12964         layout in the right maner and also to permit the right breaking
12965         algorithm on empty or non empyt keepempty paragraphs.
12966
12967         * paragraph.C (breakParagraph): we have to check also if the par
12968         is really empty (!size()) for isempty otherwise we do the wrong
12969         paragraph break.
12970
12971 2002-05-10  Juergen Vigna  <jug@sad.it>
12972
12973         * buffer.[Ch] : The following are only changes to the ert
12974         compatibility read reading old LaTeX layout and font stuff and
12975         convert it to ERTInsets.
12976
12977         * buffer.h: added isErtInset().
12978
12979         * buffer.C (struct ErtComp): add a fromlayout bool to check
12980         if we're inside a LaTeX layout.
12981         (isErtInset): new helper function.
12982         (insertErtContents): look for other ert insets before this one
12983         and insert the contents there, so that we don't have subsequent
12984         ERT insets with nothing between them. This way we create only one
12985         inset with multiple paragraphs. Also check if we don't insert only
12986         spaces ' ' as they are ignored anyway afterwards in the .tex file
12987         so if we have only spaces we will ignore this latex part in the
12988         new file.
12989         (parseSingleLyXformat2Token \\layout): better compatibility when
12990         reading layout-latex stuff.
12991         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12992         language tag.
12993         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12994         stuff after reading the inset only get the information back from
12995         the stack.
12996
12997 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12998
12999         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13000
13001         * LaTeXFeatures.C (getBabelOptions): New method.
13002
13003 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * BufferView_pimpl.C (Dispatch): work around missing argument for
13006         'layout'
13007
13008 2002-05-08  Juergen Vigna  <jug@sad.it>
13009
13010         * text.C (leftMargin): handle paragraph leftindent.
13011
13012         * paragraph.C (writeFile): write the new \\leftindent tag.
13013         (validate): handle leftindent code.
13014         (TeXEnvironment): handle paragraphleftindent code again.
13015
13016         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13017
13018         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13019         for paragrap_extra indent code and new token \\leftindent.
13020         (latexParagraphs): handle the leftindent as environment.
13021
13022         * ParameterStruct.h: added leftindent support.
13023
13024         * ParagraphParameters.C (leftIndent): added support functions for
13025         the paragraph left indent.
13026
13027         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13028         more appropriate.
13029
13030 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13031
13032         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13033         inside insetERT.
13034
13035         * text.C (computeBidiTables): No bidi in insetERT.
13036
13037         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13038         in RTL documents.
13039
13040 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * version.C.in: pre 5
13043
13044 2002-05-02  José Matos  <jamatos@fep.up.pt>
13045         * buffer.C (makeDocBookFile): white space changes, add newline to
13046         command styles.
13047         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13048
13049         * tabular.C (docBook): fix typo.
13050
13051 2002-05-03  Juergen Vigna  <jug@sad.it>
13052
13053         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13054         change in LyXText as we can not be sure it was not freed.
13055         (drawOneRow): remove unused code.
13056
13057         * text.C (drawInset): redo the calculation of the need_break_row as
13058         it could have a row which was already freed.
13059         (draw): look at the return value of drawInset and return false if
13060         it also returned false.
13061         (paintRowText): look at the return value of draw and return false if
13062         it also returned false.
13063
13064         * lyxtext.h: added bool return type to drawInset() and draw() so that
13065         if we have a change in the row so that the rowbreak has to be redone
13066         we abort drawing as it will be called again.
13067
13068 2002-05-02  Juergen Vigna  <jug@sad.it>
13069
13070         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13071         a change in the maintext also if we're inside an inset.
13072         (Dispatch): set the cursor again after a break line and after the
13073         screen has been updated as it could be we're in a different row.
13074
13075         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13076         to set the cursor behind the pargraph with > size().
13077         (setCursor): check also for the same paragraph when checking where
13078         to put the cursor if we have a NFR inset.
13079
13080         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13081         parts of layout read further up as it still was in the wrong
13082         position.
13083
13084 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * screen.C (drawFromTo): change sine fullRebreak always return
13087         true.
13088
13089         * buffer.C (parseSingleLyXformat2Token): reindent some
13090
13091         * BufferView_pimpl.C (update): change since fullRebreak always
13092         return true.
13093         (Dispatch): git rid of the last hardcoded "Standard"s.
13094
13095 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * text2.[Ch] (fullRebreak): make it return void now that we always
13098         returned true.
13099
13100 2002-04-30  Juergen Vigna  <jug@sad.it>
13101
13102         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13103         ert compatibility check for "latex" layout.
13104
13105 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13106
13107         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13108         minipages: use col% instead of p%, and also use the current font.
13109         (makeLaTeXFile): Fix use babel condition.
13110         (parseSingleLyXformat2Token): Correct font when reading old floats.
13111
13112 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13113
13114         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13115         inserting list of floats.
13116
13117 2002-04-25  Herbert Voss  <voss@lyx.org>
13118
13119         * MenuBackend.C (expand): don't add the graphics extensions to the
13120         export menu
13121
13122 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13123
13124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13125         non-existing layout, do not complain if it was the default layout
13126         of the original class (bug #342)
13127
13128 2002-04-24  Juergen Vigna  <jug@sad.it>
13129
13130         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13131         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13132
13133 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * buffer.C (getBibkeyList): If using \bibliography, return the
13136         option field with the reference itself. Enables us to provide natbib
13137         support when using \bibliography.
13138
13139 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13140
13141         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13142
13143         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13144         natbib is provided by the LaTeX class.
13145
13146 2002-04-23  Juergen Vigna  <jug@sad.it>
13147
13148         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13149         Wakeup functions.
13150
13151         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13152
13153 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13154
13155         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13156
13157         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13158         ensuremath around textordmasculine, textordfeminine and
13159         textdegree.
13160
13161 2002-04-19  Juergen Vigna  <jug@sad.it>
13162
13163         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13164         reinitializing the buffer otherwise row-dimensions may be wrong.
13165         (update): reset also the selection cursors if they do exits otherwise
13166         their x/y positions may be wrong.
13167
13168         * text2.C (cursorDown): don't enter the inset if we came from a row
13169         above and are one row over the inset.
13170
13171         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13172         really leaving an inset.
13173
13174 2002-04-18  Juergen Vigna  <jug@sad.it>
13175
13176         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13177         of the selected paragraph does not have the selected layout also if
13178         the last one had!
13179
13180         * text2.C (setLayout): fixed bug which did not change last selected
13181         paragraph.
13182
13183         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13184         changed the read and substituted \\end_float with \\end_inset!
13185
13186         * BufferView_pimpl.C (cursorPrevious):
13187         (cursorNext): fixed to make it work with rows heigher than the work
13188         area without moving the cursor only the draw of the row.
13189         (workAreaMotionNotify): fix jumping over high rows.
13190
13191 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13194         Ressler.
13195
13196 2002-04-16  Juergen Vigna  <jug@sad.it>
13197
13198         * text2.C (setCursor): set also the irow().
13199         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13200         (cursorUp):
13201         (cursorDown): support for locking an inset if the x_fix value goes
13202         inside it. That way I can transverse insets too with cursor up/down.
13203
13204         * lyxrow.h: added irow helper function same as other (i) functions.
13205
13206         * BufferView_pimpl.C (cursorPrevious):
13207         (cursorNext): fixed for insets!
13208
13209 2002-04-15  Juergen Vigna  <jug@sad.it>
13210
13211         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13212         position otherwise it is wrong in some cases.
13213
13214         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13215         inside the inset before the call.
13216
13217 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13218
13219         * buffer.[Ch] (getBibkeyList): make it const.
13220
13221 2002-04-12  Juergen Vigna  <jug@sad.it>
13222
13223         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13224
13225         * text2.C (getCursorX): new helper function
13226         (setCursor): compute also ix_
13227         (setCursorFromCoordinates): set also ix.
13228
13229         * lyxcursor.h: added ix_ and helper functions.
13230
13231         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13232
13233         * buffer.C (insertStringAsLines): dont break paragraph if the this
13234         paragraph is inside an inset which does not permit it!
13235
13236         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13237         also with no chars on this paragraph.
13238         (paintRowText): only paint stuff if it's inside the workarea!
13239
13240         * paragraph.C (breakParagraph): honor keepempty flag and break the
13241         paragraph always below not above.
13242
13243         * BufferView2.C (unlockInset): update the paragraph layout on inset
13244         unlock as we changed paragraph in such a case.
13245
13246         * lyxfind.C (LyXFind): clear the former selection if not found!
13247
13248         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13249         again called in insertChar().
13250
13251         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13252         an inset which uses the whole row!
13253         (rightMargin): ditto.
13254         (insertChar): force a rebreak if we inserted an inset!
13255
13256 2002-03-28  Herbert Voss  <voss@lyx.org>
13257
13258         * lyxlength.[Ch]: add inBP() to get the right PS-point
13259         units (BigPoint). With inPixels we have rounding errors
13260
13261 2002-04-11  Juergen Vigna  <jug@sad.it>
13262
13263         * text2.C (setCursorFromCoordinates): set iy to the right value.
13264         (setCursor): add check if row->previous exists!
13265
13266         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13267         an old float_type as this was the case in the old code!
13268
13269         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13270
13271         * BufferView2.C (showLockedInsetCursor): use iy
13272         (fitLockedInsetCursor): ditto
13273
13274         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13275         locked insets as there we have the right value now.
13276
13277         * lyxcursor.C: added iy_ variable and iy functions to set to the
13278         baseline of cursor-y of the locked inset.
13279
13280         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13281         (setCursor): fixed for insets which need a full row.
13282
13283         * text.C (rowLastPrintable): don't ignore the last space when before
13284         an inset which needs a full row.
13285         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13286         as last character of a row when before a inset which needs a full row.
13287
13288 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * version.C.in: update date
13291
13292         * text2.C (fullRebreak): try to always return true and see what
13293         happens...
13294
13295 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * MenuBackend.C (expand): use Floating::listName
13298
13299         * FloatList.C (FloatList): add listName argument to the built-in
13300         floats
13301
13302         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13303         text associated with the float.
13304
13305 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13308
13309 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * ShareContainer.h: add a couple of missing typenames.
13312
13313 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * lyxrc.C (getDescription): use _() correctly rather than N_().
13316
13317 2002-03-28  Herbert Voss  <voss@lyx.org>
13318
13319         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13320         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13321
13322 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13325         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13326
13327 2002-03-29  Juergen Vigna  <jug@sad.it>
13328
13329         * lyxfunc.C (dispatch): add a missing fitCursor call.
13330
13331         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13332         it was scrolled by a cursor move, so return the bool status.
13333
13334         * BufferView.C (fitCursor): return the bool flag also to the outside
13335         world as this is needed.
13336
13337         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13338
13339         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13340         call the edit() as it is not needed (and wrong) IMO.
13341         (workAreaButtonPress): set the screen_first variable before evt.
13342         unlock the inset as this may change screen_first and then we have
13343         a wrong y position for the click!
13344
13345 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13346
13347         * MenuBackend.C (expand): another translation that I missed
13348
13349 2002-03-28  Juergen Vigna  <jug@sad.it>
13350
13351         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13352
13353         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13354
13355 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13356
13357         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13358
13359         * MenuBackend.C (expand): fix export/view/update when there is no
13360         document open.
13361
13362 2002-03-27  Herbert Voss  <voss@lyx.org>
13363
13364         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13365         and text%
13366
13367 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * bufferview_funcs.C (currentState): only show paragraph number
13370         for is DEVEL_VERSION is set.
13371
13372         * lyxfunc.C (dispatch): put warning in INFO channel
13373
13374         * MenuBackend.C (expand): translate the name of floats
13375
13376         * FloatList.C (FloatList): mark the float names for translation
13377
13378         * converter.C (convert): use LibScriptSearch
13379
13380 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13381
13382         * MenuBackend.C (defaults): fix default menu (we might as well get
13383         rid of it...)
13384
13385 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13386
13387         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13388         directory.
13389
13390 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * lyxvc.C: reorder includes.
13393
13394 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13397           properly
13398
13399 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * CutAndPaste.C: change layouts earlier on paste
13402           to avoid crashing when calling getFont()
13403
13404 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13405
13406         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13407         irritating #error.
13408
13409 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * WorkArea.C: remove 'Pending' debug message.
13412
13413         * most files: ws cleanup
13414
13415         * buffer.[Ch]: ws changes
13416
13417         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13418
13419 2002-03-21  Juergen Vigna  <jug@sad.it>
13420
13421         * tabular.C (SetMultiColumn): collapse also the contents of the
13422         cells and set the last border right. Added a Buffer const * param.
13423
13424 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13427         linking or not.
13428
13429 2002-03-19  Juergen Vigna  <jug@sad.it>
13430
13431         * text2.C (clearSelection): reset also xsel_cache.
13432
13433         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13434         where it needs to be called (John tells us to do so too :)
13435         (selectionLost): reset sel_cache.
13436
13437         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13438
13439 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13440
13441         * text2.C (setCursorIntern): put debuging code in INSETS channel
13442
13443 2002-03-19  André Pönitz <poenitz@gmx.net>
13444
13445         * lyxfunc.C: tiny whitespace change
13446
13447 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13448
13449         * ToolbarDefaults.C (init):
13450         * LyXAction.C (init):
13451         * commandtags.h:
13452         * BufferView_pimpl.C (Dispatch):
13453         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13454
13455 2002-03-19  Allan Rae  <rae@lyx.org>
13456
13457         * exporter.C (Export): removeAutoInsets before doing anything else.
13458         While I've just introduced a dependency on BufferView this really is
13459         the best place to clean the buffer otherwise you need to cleanup in
13460         a dozen places before calling export or cleanup in a dozen functions
13461         that export calls.
13462
13463         * converter.C (runLaTeX):
13464         (scanLog): Better handling of removeAutoInsets and screen updates.
13465
13466         * lyxfunc.C (dispatch): small whitespace changes
13467
13468 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * WorkArea.C (C_WorkAreaEvent): return a value.
13471         (event_cb): return 1 if we handled the event, 0 otherwise.
13472
13473         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13474
13475 2002-03-18  Juergen Vigna  <jug@sad.it>
13476
13477         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13478         (GetAdditionalWidth): ditto.
13479         (RightLine): ditto.
13480         (LeftLine): ditto.
13481
13482         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13483         inset if we're there actually (probably not used right now but this
13484         is the direction to go for unifying code).
13485         (paste): disable code to clear the selection.
13486
13487         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13488         inside an InsetText and move the check further up as it is in the
13489         wrong place.
13490
13491         * text2.C (pasteSelection): set a selection over the pasted text.
13492
13493 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13494
13495         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13496         and libgraphics to build on Cygwin.
13497
13498 2002-03-15  Juergen Vigna  <jug@sad.it>
13499
13500         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13501         inserting an Inset into the paragraph. I know this is not the best
13502         fix but we already use current_view in CutAndPaste so we will remove
13503         all of it's using at the same time.
13504
13505         * buffer.C (sgmlError): deactivated function till it is rewritten in
13506         the right mode, now it can create problems.
13507
13508         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13509         before accessing it.
13510
13511 2002-03-14  Juergen Vigna  <jug@sad.it>
13512
13513         * undo_funcs.C (textHandleUndo): do the right thing when updating
13514         the inset after the undo/redo.
13515
13516         * text2.C (setCursor): just some testcode for #44 not ready yet.
13517
13518         * undo_funcs.C (textHandleUndo): set the next() and previous()
13519         pointers of the paragraph to 0 before deleting otherwise we have
13520         problems with the Paragraph::[destructor].
13521
13522         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13523         on a paragraph insertion.
13524
13525 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13526
13527         * buffer.C (asciiParagraph): use += operator for char append to
13528         string.
13529
13530         * paragraph.C (getFontSettings): compare >= not just >
13531         (highestFontInRange): ditto
13532         (setFont): ditto
13533
13534 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13535
13536         * paragraph.C: change several algorithm to be more appripriate for
13537         the problem domain. This is lookip in FontList and in the InsetList.
13538
13539 2002-03-13  André Pönitz <poenitz@gmx.net>
13540
13541         * commandtags.h:
13542         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13543
13544 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * commandtags.h:
13547         * LyXAction.C:
13548         * lyxfunc.C:
13549         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13550
13551 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * Painter.C (display): anon helper function, adjust code for this
13554         change.
13555         (pixmap): remove function.
13556
13557         * Painter.h: remove private display variable.
13558
13559         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13560
13561 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13562
13563         * WorkArea.[Ch]: remove figinset_canvas cruft.
13564
13565 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * lyxtextclass.C (operator): add one item cache optimization.
13568
13569         * bufferlist.h: doxy changes
13570
13571         * bufferlist.C: ws changes
13572
13573         * DepTable.[Ch] (ext_exist): place const in the right spot.
13574
13575         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13576         call resizeInsets.
13577         (workAreaExpose): call resizeInsets when the with BufferView changes.
13578         (Dispatch): adjust for protectedBlank removal
13579         (specialChar): call updateInset if the insert went ok.
13580
13581         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13582         specialChar instead.
13583
13584         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13585
13586         * BufferView.h: doxy change
13587
13588         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13589
13590         * lyxtextclass.C (operator[]): remove non-const version
13591         (defaultLayout): remove non-const version
13592
13593 2002-03-12  Juergen Vigna  <jug@sad.it>
13594
13595         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13596         did resize the LyXText too.
13597
13598         * buffer.C (readLyXformat2): set layout information on newly allocated
13599         paragraphs.
13600
13601         * tabular.C (OldFormatRead): set layout information on the paragraph.
13602
13603 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13604
13605         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13606
13607 2002-03-11  Juergen Vigna  <jug@sad.it>
13608
13609         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13610         plainly wrong.
13611         (resizeCurrentBuffer): force also the insets to resize themselfes.
13612         (moveCursorUpdate): fixed up for InsetText.
13613
13614 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13615
13616         * commandtags.h:
13617         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13618         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13619         value of Dialogs::tooltipsEnabled().
13620         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13621
13622 2002-03-08  Juergen Vigna  <jug@sad.it>
13623
13624         * BufferView_pimpl.C (updateInset): update inset inside inset also
13625         if it isn't inside theLockingInset().
13626
13627 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * buffer.C (asciiParagraph): redo some of the word and line length
13630         handling.
13631         (getLists): look for Caption instead of caption.
13632
13633 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13634
13635         * buffer.C (Buffer): initialize niceFile to true
13636         (makeLaTeXFile):
13637         (makeLinuxDocFile):
13638         (makeDocBookFile): make sure niceFile is true on exit
13639
13640 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13641
13642         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13643
13644 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13645
13646         * LyXSendto.C: remove.
13647         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13648         * lyx_gui.C: remove now-redundant comment.
13649         * ColorHandler.h: remove forward declaration of class WorkArea.
13650         * lyxfunc.C: remove #include "WorkArea.h".
13651
13652 2002-03-07  Juergen Vigna  <jug@sad.it>
13653
13654         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13655         got moved away with the DEPM and also set the inset_owner always
13656         right which before could have been omitted.
13657
13658 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13661         wanted layout is not found.
13662
13663 2002-03-07  Juergen Vigna  <jug@sad.it>
13664
13665         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13666
13667 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * paragraph.C (breakParagraph): use default layout not layout of
13670         prev paragraph.
13671         (Paragraph): clear ParagraphParameters.
13672
13673 2002-03-06  Juergen Vigna  <jug@sad.it>
13674
13675         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13676         otherwise it would not be a valid lenght. Fixed a special case in
13677         the minipage compatibility read where we end the document with a
13678         minipage.
13679
13680         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13681         was set as it could be 0 for InsetTexts first entry.
13682
13683 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * paragraph.C (writeFile): if layout is empty write out
13686         defaultLayoutName().
13687
13688         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13689         file without named layout we set layout to defaultLayoutName().
13690
13691 2002-03-06  Juergen Vigna  <jug@sad.it>
13692
13693         * CutAndPaste.C (copySelection): set layout for new paragraph.
13694
13695         * text.C (prepareToPrint): leave ERT inset left aligned
13696         (leftMargin): don't indent paragraphs inside ERT insets
13697
13698 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * paragraph.C (breakParagraph): dont call clear do the work manually
13701
13702         * paragraph.[Ch] (clear): remove function
13703
13704 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * paragraph.C (Paragraph): dont call clear, the work has already
13707         been done.
13708
13709         * lyxtextclass.C (operator): assert if n is empty
13710
13711         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13712         work manually instead.
13713
13714 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * BufferView_pimpl.C: protect selectionLost against text == 0
13717
13718 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * text.C (breakParagraph): fix a setting layout to '0' problem.
13721
13722 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13723
13724         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13725         final location of file, for the included files, and graphics.
13726
13727 2002-03-05  Juergen Vigna  <jug@sad.it>
13728
13729         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13730
13731 2002-03-04  Juergen Vigna  <jug@sad.it>
13732
13733         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13734
13735         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13736         last column of multicolumn cells.
13737         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13738
13739 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13740
13741         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13742         file if it doesn't go to a temporary file.
13743
13744         * buffer.C (sgmlOpenTag):
13745         (sgmlCloseTag):  remove extra newline insertion.
13746
13747 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * text.C (getRowNearY): comment out debug msg
13750
13751 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13752
13753         * text2.C: first -> first_y
13754
13755         * text.C (getRowNearY): add some attemts at a possible
13756         optimization, not working.
13757
13758         * tabular.[Ch]: add BufferParams to several function so that newly
13759         created paragraph can be initialized to he default layotu for the
13760         buffers textclass.
13761
13762         * tabular-old.C (ReadOld): add buf->params to call of Init
13763
13764         * screen.C: rename text->first to text->first_y
13765
13766         * paragraph.C (breakParagraph): always set layout in the broken
13767         paragraph
13768
13769         * lyxtextclass.C (Read): remove lowercase
13770         (hasLayout): ditto
13771         (operator): ditto
13772         (delete_layout): ditto
13773
13774         * lyxtext.h: rename first -> first_y
13775
13776         * lyxlayout.C (Read): remove lowercase
13777         (name): ditto
13778         (setName): ditto
13779         (obsoleted_by): ditto
13780
13781         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13782
13783         * buffer.C (insertErtContents): add params are to InsetERT
13784         (parseSingleLyXformat2Token): add code to check if a paragraphs
13785         layout really exist.
13786         (parseSingleLyXformat2Token): add params to several inset
13787         constructors
13788         (asciiParagraph): remove lowercase, do the layout comparisons with
13789         no_case
13790
13791         * BufferView_pimpl.C (cursorNext): first -> first_y
13792         (resizeCurrentBuffer): first -> first_y
13793         (updateScrollbar): first -> first_y
13794         (scrollCB): first -> first_y
13795         (workAreaMotionNotify): first -> first_y
13796         (workAreaButtonPress): first -> first_y
13797         (checkInsetHit): first -> first_y
13798         (cursorPrevious): first -> first_y
13799         (cursorNext): first -> first_y
13800         (Dispatch): add buffer_->params to severl inset contructors
13801
13802 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * lyxlayout.C (Read): remove some debug info that I forgot.
13805
13806         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13807         clean up the code slightly.
13808         (makeLinuxDocFile): ditto
13809         (makeDocBookFile): ditto
13810
13811         * text2.C: layout as string
13812
13813         * text.C: layout as string
13814
13815         * paragraph_pimpl.C: layout as string
13816
13817         * paragraph.[Ch]: layout as string
13818
13819         * lyxtextclasslist.[Ch]: layout as string
13820
13821         * lyxtextclass.[Ch]: layout as string
13822
13823         * lyxtext.h: layout as string
13824
13825         * lyxlayout.[Ch]: layout as string
13826
13827         * lyx_cb.C: layout as string
13828
13829         * bufferview_funcs.C: layout as string
13830
13831         * bufferparams.C: layout as string
13832
13833         * buffer.C: layout as string
13834
13835         * LyXView.[Ch]: layout as string
13836
13837         * LaTeXFeatures.[Ch]: layout as string
13838
13839         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13840
13841         * BufferView_pimpl.C: change current_layout to string, remove
13842         lyx::layout_type.
13843         (Dispatch):
13844         (smartQuote):
13845         (insertInset):
13846         (workAreaButtonRelease): layout as string
13847
13848         * BufferView2.C (unlockInset): adjust
13849
13850         * vspace.C (asLatexCommand): use an explict temp variable.
13851
13852 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * Makefile.am: use FRONTEND_*
13855
13856 2002-03-01  Juergen Vigna  <jug@sad.it>
13857
13858         * tabular.C (SetWidthOfMulticolCell): changed to something better
13859         I hope but still work in progress.
13860         (recalculateMulticolumnsOfColumn): renamed function from
13861         recalculateMulticolCells as it is more appropriate now.
13862         (SetWidthOfCell): calculate multicols better.
13863
13864 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13865
13866         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13867
13868         * lyxfunc.C (processKeySym): print sequence also if it is
13869         `deleted' (complete)
13870
13871         * kbsequence.C (print): print sequence even if it is deleted
13872         (complete would be a better word, actually).
13873
13874         * lyxfunc.C (dispatch): print complete options after a prefix key
13875
13876         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13877
13878 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13879
13880         * text2.C (setCharFont): eliminate setCharFont code duplication.
13881
13882 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13883
13884         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13885         LFUN_TABULAR_FEATURE (bug #177)
13886
13887 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13888
13889         * Makefile.am: remove figure.h
13890
13891 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * Bufferview_pimpl.C:
13894         * CutAndPasteC:
13895         * LaTeX.C:
13896         * LyXSendto.C:
13897         * buffer.C:
13898         * bufferlist.C:
13899         * converter.C:
13900         * language.C:
13901         * lyxfunc.C:
13902         * lyxvc.C:
13903         * paragraph.C:
13904         * text.C:
13905         * text2.C: remove #include "lyx_gui_misc.h".
13906
13907         * LaTeX.C: added #include <cstdio>
13908
13909 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13910
13911         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13912         that the paragraph following this one can have.
13913
13914         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13915
13916         * vspace.C (asLatexCommand): fix bogus gcc warning
13917
13918         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13919
13920 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13921
13922         * text2.C (setLayout): get rid of redundant code
13923
13924 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13925
13926         * text2.C (incDepth): make sure depth cannot be increased beyond
13927         reasonable values.
13928
13929 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13930
13931         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13932         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13933
13934         * PainterBase.h (image):
13935         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13936         a LyXImage const *.
13937
13938 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13939
13940         * BufferView.C:
13941         * BufferView.h:
13942         * BufferView_pimpl.C:
13943         * BufferView_pimpl.h:
13944         * LaTeXFeatures.C:
13945         * LyXAction.C:
13946         * LyXView.C:
13947         * Makefile.am:
13948         * UpdateList.h:
13949         * UpdateList.C:
13950         * buffer.C:
13951         * figure.h:
13952         * figureForm.C:
13953         * figureForm.h:
13954         * figure_form.C:
13955         * figure_form.h:
13956         * lyx_cb.C:
13957         * lyx_gui.C:
13958         * lyx_gui_misc.C:
13959         * lyxfunc.C:
13960         * sp_base.h:
13961         * sp_ispell.h:
13962         * sp_pspell.h:
13963         * sp_spell.C: remove fig inset, and the crap house of
13964           cards that follows it
13965
13966 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13967
13968         * Makefile.am:
13969         * lyxserver.C:
13970         * os2_defines.h:
13971         * os2_errortable.h:
13972         * nt_defines.h: move .h into support/
13973
13974         * vms_defines.h: remove
13975
13976         * WorkArea.C: add space in debug output
13977
13978         * text2.C:
13979         * paragraph.C:
13980         * buffer.C: add WITH_WARNINGS
13981
13982         * vc-backend.h:
13983         * vc-backend.C:
13984         * bufferlist.C: s/retrive/retrieve/, add docs
13985
13986         * vspace.h:
13987         * vspace.C:
13988         * kbmap.h:
13989         * lyxlength.h:
13990         * lyxgluelength.h:
13991         * length_common.h:
13992         * chset.h:
13993         * chset.C: add docs
13994
13995         * lyxgui.C: add ID to X error handler
13996
13997         * lyxtestclass.c: fix typo
13998
13999 2002-02-26  Juergen Vigna  <jug@sad.it>
14000
14001         * tabular_funcs.C (write_attribute): changed so that some default
14002         attributes are not written at all.
14003         (getTokenValue): set default values before trying to read the
14004         value so we have the return value always set as default if we don't
14005         find the token we search for.
14006
14007         * tabular.C (Write): write bools as bools not as strings!
14008
14009 2002-02-22  Juergen Vigna  <jug@sad.it>
14010
14011         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14012         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14013
14014         * text.C (leftMargin): don't add an indent for paragraphs inside
14015         tabular cells (fix #208).
14016
14017 2002-02-21  José Matos  <jamatos@fep.up.pt>
14018
14019         * tabular.C (docBook): fixed support for long tables.
14020
14021 2002-02-20  Juergen Vigna  <jug@sad.it>
14022
14023         * text2.C (getFont): get the drawing font of the Inset if this
14024         paragraph is inside an inset (only important for InsetERT for now).
14025
14026         * buffer.C (insertErtContents): use new lanugage params in ERT
14027         constructor.
14028
14029         * CutAndPaste.C: commenting out seemingly uneeded code.
14030
14031 2002-02-19  Allan Rae  <rae@lyx.org>
14032
14033         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14034         Iterators might be simple to use but they also get invalidated.
14035         (removeAutoInsets): renamed saved cursor tracking variables and added
14036         some comments to clarify what everything does.
14037
14038 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * Chktex.C:
14041         * LaTeX.C:
14042         * LyXSendto.C:
14043         * converter.C:
14044         * lyx_cb.C:
14045         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14046         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14047
14048         * lyxfunc.C:
14049         * vc-backend.h: remove #include "support/syscall.h"
14050
14051         * LaTeX.C:
14052         * LyXSendto.C:
14053         * converter.C: rearrange #includes in Lars' approved fashion.
14054
14055         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14056         forward declare class Timeout in the header file.
14057
14058         * XFormsView.C: changes due to the above.
14059
14060         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14061         similar to LyXView.
14062
14063         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14064         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14065
14066 2002-02-18  José Matos  <jamatos@fep.up.pt>
14067
14068         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14069         insets contents.
14070
14071 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14072
14073         * a lot of small ws changes
14074         * add a lot of using std::XXX
14075         * use std construcs some places where approp.
14076         * use some exisint stuff from lyxfunctional where approp.
14077         * Make file changes to use partial linking (lets test this now...)
14078
14079 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14080
14081         * Chktex.C:
14082         * buffer.C:
14083         remove #include "support/syscontr.h" as it's redundant. Always has been.
14084
14085         * Chktex.C:
14086         * LaTeX.C:
14087         * LyXSendto.C:
14088         * converter.C:
14089         * lyx_cb.C:
14090         * vc-backend.C:
14091         change Systemcalls::System to Systemcalls::Wait and
14092         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14093         No change of functionality, just reflects the stripped down Systemcalls
14094         class.
14095
14096 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14097
14098         * debug.[Ch]: add a GRAPHICS type to the enum.
14099
14100 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14101
14102         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14103
14104         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14105         there is an inset.
14106
14107 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14108
14109         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14110         match the changes below.
14111
14112         * text2.C (toggleInset): if there is not editable inset at cursor
14113         position, try to see if cursor is _inside_ a collapsable inset
14114         and close it.
14115
14116 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14117
14118         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14119         document menu has a nice checkbox
14120
14121 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14122
14123         * lyxlength.C (asLatexString): change PW to output as percent of
14124         \textwidth.
14125
14126         * lengthcommon.C: change '%' to 't%'
14127
14128         * lyxfunc.C (dispatch): a few comments from Martin
14129
14130 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * WorkArea.h:
14133         * WorkArea.C:
14134         * BufferView_pimpl.h:
14135         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14136           the X selection.
14137
14138 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14139
14140         * vspace.C (inPixels): fix compiler warning
14141
14142 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14143
14144         * lyxfunc.C (getStatus): fix status message for disabled commands.
14145
14146 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * BufferView_pimpl.C: fix crash on close buffer
14149         during selection (#227)
14150
14151 2002-01-27  Herbert Voss  <voss@lyx.org>
14152
14153         * buffer.C: link old Figure to new graphic inset
14154
14155 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14156
14157         * FontLoader.C (getFontinfo): Change the latex font names in order
14158         to match the names of type1inst.
14159
14160 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14163
14164         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14165         (extchanged): ditto
14166         (ext_exist): ditto
14167         (remove_files_with_extension): ditto
14168         (remove_file): ditto
14169         (write): ditto
14170
14171         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14172         document is smaller than the work area height. Do not initialize
14173         static variables to 0.
14174
14175 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14176
14177         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14178
14179         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14180         LFUN_LAYOUT_PARAGRAPHS.
14181
14182         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14183         tabular. It is possible to provide a possible cell, which will
14184         typically be the actcell from the corresponding insettabular
14185
14186         * lyxfunc.C (getStatus): small cleanup; disable
14187         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14188         true
14189
14190 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14191
14192         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14193
14194         * paragraph.C (startTeXParParams):
14195         (endTeXParParams): new methods. The LaTeX code to
14196         start/end paragraph formatting
14197         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14198         empty (fixes bug #200)
14199
14200         * vspace.C (inPixels): adapt to the change below
14201         (inPixels): [later] more cleanups (remove unused variables)
14202
14203         * lyxlength.C (inPixels): change to use a width and a height as
14204         parameter.
14205
14206 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14207
14208         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14209         Replaced with \paperwidth
14210
14211         * DepTable.C (insert): add std:: qualifier
14212
14213 2002-01-18  Allan Rae  <rae@lyx.org>
14214
14215         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14216         updated also?
14217
14218         * text.C (drawInset): Turned out I didn't know enough about how
14219         rebreaking worked.  This fixes most of the redraw problems.  I see
14220         an occasional cursor trail when a line is broken now and the cursor
14221         placement can seem out by a few pixels also after a rebreak.
14222
14223 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14224
14225         * buffer.C (parseSingleLyXformat2Token): update because minipage
14226         width is now a LyXLength
14227
14228         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14229
14230         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14231         math insets
14232
14233 2002-01-17  Juergen Vigna  <jug@sad.it>
14234
14235         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14236
14237         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14238         is set correctly and the inset is updated correctly.
14239
14240 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14241
14242         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14243         the beginning of the loop.
14244
14245 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * lyxrc.C: improve help for use_scalable_fonts
14248
14249 2002-01-17  Allan Rae  <rae@lyx.org>
14250
14251         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14252
14253 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14254
14255         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14256         make sure to set their inset_owner to the right value (bug #171)
14257
14258 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14259
14260         * DepTable.h
14261         * DepTable.C: Implement mtime checking to reduce time spent doing
14262         CRCs.
14263
14264 2002-01-16  Juergen Vigna  <jug@sad.it>
14265
14266         * tabular.C (GetAdditionalHeight): one of error fixed.
14267
14268         * lyxrc.C (output): small fix in writing use_pspell.
14269
14270 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * sp_base.h: #include LString.h
14273
14274 2002-01-16  Allan Rae  <rae@lyx.org>
14275
14276         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14277         Can someone check this please?
14278
14279         * text.C (drawInset): It was possible that p.row would be removed by
14280         breakAgainOneRow upsetting a few other settings.  There may be another
14281         small tweak possible by setting need_break_row = 0 when p.row has been
14282         removed but I don't know enough about the logic here.
14283
14284 2002-01-15  Allan Rae  <rae@lyx.org>
14285
14286         * text.C (insertChar): removed conditional truism.
14287
14288         * BufferView2.C (removeAutoInsets): More tweaks.
14289         cur_par_prev could be a stray pointer.  Check for trailing empty line
14290         in case last line was cur_par and only had an error inset on it.
14291
14292 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14293
14294         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14295         absolute
14296
14297         * vc-backend.C (most methods):
14298         * exporter.C (Export):
14299         * converter.C (convert):
14300         (runLaTeX):
14301         * LyXSendto.C (SendtoApplyCB):
14302         * lyxfunc.C (dispatch):
14303         (menuNew):
14304         (open):
14305         (doImport):
14306         * lyx_cb.C (AutoSave):
14307         (InsertAsciiFile):
14308         * BufferView_pimpl.C (MenuInsertLyXFile):
14309         * buffer.C (runChktex): use Buffer::filePath().
14310
14311         * buffer.h: rename filename to filename_; rename filepath to
14312         filepath_ and make it private
14313         (filePath): new method
14314
14315         * buffer.C (writeFile): use fileName()
14316         (getLatexName):
14317
14318         * lyx_main.C (init): fix starting  of LyX when the binary is a
14319         link from so,ewhere else.
14320
14321         * minibuffer.C: include <cctype> for isprint
14322
14323 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14324
14325         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14326         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14327         name clash with InsetCollapsable's width function.
14328
14329 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14330
14331         * lastfiles.C: include <iterator>
14332
14333 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14336         std::count.
14337
14338         * buffer.C (makeLaTeXFile): ditto.
14339         Also make loop operation more transparent.
14340
14341 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14342
14343         * ToolbarDefaults.C: remove trailing comma closing namespace.
14344
14345         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14346
14347         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14348         as in WorkArea.
14349
14350         * trans.C (Load): comment out unused variable, allowed.
14351
14352 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14353
14354         * minibuffer.[Ch] (append_char): new method to recieve input from the
14355         drop-down completion browser. If a key was pressed, then recieve this
14356         char and append it to the existing string.
14357         (peek_event): modify the positioning data passed to the completion
14358         browser so that it can be placed above the minibuffer rather than below.
14359 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * LyXAction.C (init): alloe error-next for readonly documents.
14362
14363         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14364         count.
14365
14366 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14367
14368         * bufferlist.C (readFile): create the buffer _after_ checking that
14369         the file exists.
14370
14371         * lyxfunc.C (verboseDispatch): fix handling of arguments
14372
14373         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14374
14375         * lyxrc.C: use string::erase() instead of initializing to "".
14376
14377
14378 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * BufferView_pimpl.h:
14381         * BufferView_pimpl.C:
14382         * WorkArea.h:
14383         * WorkArea.C:
14384         * text2.C: tell X when we have made a selection for copying
14385
14386 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14387
14388         * BufferView_pimpl.C (MenuInsertLyXFile):
14389         * lyxfunc.C (menuNew):
14390         (open):
14391         (doImport): add shortcuts to directory buttons
14392
14393         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14394         open a float)
14395
14396         * lyxfunc.C (setStatusMessage):
14397         (getStatusMessage): new methods
14398         (getStatus):use setStatusMessage instead of setErrorMessage
14399         (dispatch): when function is disabled, set error message here
14400         [instead of in getStatus previously]
14401
14402         * BufferView_pimpl.C (workAreaButtonRelease): update
14403         toolbar/menubar here too.
14404
14405 2002-01-13  Allan Rae  <rae@lyx.org>
14406
14407         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14408         Now seems indestructible.  Remaining task is to audit all other
14409         code affected by deleteEmptyParagraphMechanism.  One small quirk
14410         left is that an empty document with an error in the preamble can
14411         be made to report an error but no error box appears.  I don't know
14412         where it goes.
14413         (removeAutoInsets): Improved comments.
14414
14415 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14416
14417         * Thesaurus.h:
14418         * Thesaurus.C: update for Aiksaurus 0.14
14419
14420 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * text2.C (firstParagraph): removed member function, all uses
14423         replaces with ownerParagraph
14424         (redoParagraphs): here
14425         (updateInset): here
14426         (toggleAppendix): here
14427         * BufferView2.C (insertErrors): here
14428         (setCursorFromRow): here
14429
14430 2002-01-13  Allan Rae  <rae@lyx.org>
14431
14432         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14433         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14434         There is still a way to segfault this although you may have to do this
14435         multiple times: Have an InsetERT with an unknown command in it.
14436         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14437         <down-arrow>, <Enter> again, View->DVI, BANG!
14438
14439         * text2.C (setCursor):
14440         (deleteEmptyParagraphMechanism):
14441         * lyxtext.h (setCursor):
14442         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14443         Making use of the return value may help fix other bugs.
14444
14445 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14446
14447         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14448
14449         * LyXView.C (updateMenubar): call MenuBar::update here
14450         (updateToolbar): but not here
14451         (showState): do not update toolbar/menubar
14452
14453         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14454         should need to care about that.
14455
14456         * lyxfunc.C (verboseDispatch): simplify a bit
14457         (getStatus): have a version which takes a pseudoaction, and
14458         another which requires a (kb_action,string).
14459
14460         * LyXAction.C (retrieveActionArg): make it work also when action
14461         is not a pseudo-action.
14462         (getActionName): simplify a bit
14463         (helpText):
14464
14465 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14466
14467         * lyxfunc.C (verboseDispatch): new families of methods with
14468         several ways to specify a command and a bool to indicate whether
14469         the command name and shortcut should be displayed in minibuffer
14470         (eventually, we could extend that to a finer bitmask like
14471         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14472         (dispatch): the pristine dispatch command which just, well,
14473         dispatchs! Note it still sets its result to minibuffer; I'm not
14474         sure we want that.
14475
14476         * lyxfunc.h: remove setHintMessage
14477
14478         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14479
14480 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14481
14482         * BufferView_pimpl.C (specialChar): delete new inset if we have
14483         not been able to insert it.
14484
14485         * kbmap.C: revert to using int instead of kb_action, since all we
14486         are dealing with is pseudo-actions.
14487
14488         * LyXAction.C (searchActionArg): change to return int instead of
14489         kb_action, since the result is a pseudoaction.
14490
14491 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14492
14493         * buffer.C (insertErtContents): Fix (partially) the font bug.
14494
14495 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14498         as the other one is broken on my machine!
14499
14500 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14501
14502         * commandtags.h:
14503         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14504
14505 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14506
14507         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14508         reflect their actual use. Provide compatibility code for older lyxrc
14509         files.
14510
14511         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14512         FL_NORMAL_STYLE.
14513         change names of popup font variables in line with the changes to lyxrc.C
14514
14515 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14516
14517         * buffer.C (asciiParagraph): avoid outputing a word twice after
14518         an inset.
14519
14520         * lyxrc.C (getDescription): document that document_path and
14521         template_path can be empty.
14522
14523 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14524
14525         * LaTeXFeatures.C (getMacros):
14526         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14527
14528         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14529
14530         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14531         getPackages.
14532         (getPackages): rename feature "floats" to "float". Use an array to
14533         iterate over 'simple' features (i.e. just a \usepackage). Add
14534         handling of "amsmath" (renamed from "amsstyle").
14535
14536 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14537
14538         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14539         features list.
14540
14541 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14542
14543         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14544         FuncStaus::FuncStatus & FuncStaus::some_method().
14545
14546 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14547
14548         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14549         of the func_satus stuff. Edited and massaged in various ways by
14550         JMarc.
14551
14552         * lyxfunc.C (getStatus): use FuncStatus
14553
14554 2002-01-08  Juergen Vigna  <jug@sad.it>
14555
14556         * text.C (nextBreakPoint): use function Inset::isChar().
14557
14558         * paragraph.C (TeXOnePar): use function
14559         Inset::forceDefaultParagraphs.
14560
14561         * buffer.C (latexParagraphs): use function
14562         Inset::forceDefaultParagraphs.
14563
14564 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14565
14566         * lyx_gui.C (init): set the style of the menu popups to
14567         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14568
14569 2002-01-07  Juergen Vigna  <jug@sad.it>
14570
14571         * text.C (setHeightOfRow): small fix
14572         (prepareToPrint): don't look at alignment if we don't have the place
14573         for doing it.
14574
14575 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14576
14577         * box.C: New file. Move the Box methods and functions out of box.h,
14578         following Lars' suggestion.
14579
14580 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14581
14582         * box.h: #include "support/LOstream.h", needed for inlined function.
14583
14584         * lyxtextclass.C:
14585         * lyxtextclasslist.C: added some using std declarations.
14586
14587 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * box.h: make signed dimensions to allow insets wider than
14590           the screen (bug #162)
14591
14592         * BufferView_pimpl.C: add some insetHit debug
14593
14594 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * vc-backend.C: add FIXME
14597
14598 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14599
14600         * lyxfunc.C (getStatus): enable code for showing math font status
14601         in toolbar/menu.
14602
14603 2002-01-07  Juergen Vigna  <jug@sad.it>
14604
14605         * text.C (nextBreakPoint): removed debug output not needed anymore.
14606
14607 2002-01-06  Juergen Vigna  <jug@sad.it>
14608
14609         * text.C (nextBreakPoint): fixed up this function we had this bug
14610         since ever but now hopefully we break row better.
14611         (insertChar): we have to check if an inset is the next char as it
14612         could now happen that a large inset is causing a break.
14613
14614 2002-01-05  Juergen Vigna  <jug@sad.it>
14615
14616         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14617         if it doesn't like to be drawed.
14618
14619 2002-01-04  Juergen Vigna  <jug@sad.it>
14620
14621         * BufferView2.C (lockInset): forgot to set a cursor.
14622
14623         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14624
14625 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14626
14627         * FormMathsPanel.C:
14628         * FormMathsPanel.h
14629         * MathsSymbols.C:
14630         * form_maths_panel.C:
14631         * form_maths_panel.h:
14632         * form_maths_panel.fd: implemented sub- and super- buttons in math
14633         panel.
14634
14635         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14636         (or ^ space) to be used as in TeX (req'd by Andr�.
14637
14638         * lyxfunc.C: Allow ^ and _ again to be used both as
14639         super/subscript (mathed) and as themselves (in text).
14640
14641 2002-01-03  Allan Rae  <rae@lyx.org>
14642
14643         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14644         "LyX" or the filename of the current buffer if it has one.  This is a
14645         modified form of John Levon's patch.
14646
14647         * XFormsView.C (setWindowTitle): also set icon title.
14648
14649         * LyXView.h (setWindowTitle): signature changed.
14650         * XFormsView.h (setWindowTitle): ditto.
14651
14652 2002-01-02  Juergen Vigna  <jug@sad.it>
14653
14654         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14655
14656 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * screen.C (topCursorVisible): introduce a temp var for
14659         text->cursor.row(), handle the case where this row is null. (kindo
14660         hachish)
14661
14662         * text2.C (setCursor): add a couple of asserts.
14663
14664         * paragraph.h (inset_iterator): add -> operator
14665
14666         * paragraph.[Ch] (autoDeleteInsets): remove member function
14667
14668         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14669         cursor pos correctly and handle inset deletion by itself.
14670         (insertErrors): move iterator declaration out of for expression
14671
14672         * lyxtextclass.C: add <algorithm>
14673
14674         * Makefile.am: added the new files to sources, removed layout.C
14675
14676         * layout.C: removed file
14677
14678         * layout.h: remove LYX_DUMMY_LAYOUT
14679
14680         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14681         layout.
14682
14683         * lyxlayout.[Ch]:
14684         * lyxtextclass.[Ch]:
14685         * lyxtextclasslist.[Ch]: new files
14686
14687         * include order changes to a lot of files, also changes because of
14688         the six new files.
14689
14690 2001-12-27  Juergen Vigna  <jug@sad.it>
14691
14692         * buffer.C (asciiParagraph): more fixes.
14693
14694         * tabular.C (ascii): make ascii export support export of only the
14695         data separated by a column-delimiter.
14696         (ascii): better support for ascii export.
14697
14698         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14699
14700 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * tabular_funcs.C: use a "using std::getline" instead of the
14703         previous fix from Angus (necessary for cxx + lyxstring)
14704
14705 2001-12-24  Juergen Vigna  <jug@sad.it>
14706
14707         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14708
14709         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14710         problems. First check a minipage also if we have some ert-contents
14711         (not only on par->size(), second set the right depth of the paragraph
14712         on the relink to the root-paragraph-list!
14713
14714         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14715         which then did not anymore update the main paragraphs on undo/redo!
14716
14717 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14718
14719         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14720         code. Support all font-changing funcs (even those which are not in
14721         menu currently). Support for reporting font settings in
14722         mathed (disabled until Andre provides a function on mathed's side).
14723
14724         * func_status.h (toggle): small helper function to set toggle
14725         state on a flag.
14726
14727 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14728
14729         * tabular_funcs.C: getline -> std::getline
14730
14731 2001-12-21  Juergen Vigna  <jug@sad.it>
14732
14733         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14734         accessed and could be 0 (I couldn't generate this but it seems
14735         Michael could!).
14736
14737 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14738
14739         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14740         * tabular_funcs.h: here and include iosfwd
14741
14742 2001-12-20  Juergen Vigna  <jug@sad.it>
14743
14744         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14745         inside inset but undo_par was.
14746
14747 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14748
14749         * Thesaurus.C: always include <config.h> in sources.
14750
14751         * Painter.h:
14752         * lyxlookup.h:
14753         * box.h: do not include <config.h> in header files
14754
14755         * text.C (paintLastRow): remove unused variable
14756
14757         * text.C (transformChar):
14758         (insertChar):
14759         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14760
14761         * Painter.C (text):
14762         * font.C (width): rewrite to use uppercase() instead of
14763         islower/toupper.
14764
14765         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14766
14767 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14768
14769         * lyxfind.C: clean up of find failure position change
14770
14771 2001-12-20  Juergen Vigna  <jug@sad.it>
14772
14773         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14774
14775         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14776         (TeXRow): added to LaTeX a single tabular row.
14777         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14778         (Latex): simplified and finally good LT-h/f support.
14779         (various_functions): just small adaptions for LT-h/f support.
14780
14781         * tabular_funcs.[hC]: added and moved here all not classfunctions
14782         of LyXTabular.
14783
14784 2001-12-19  Juergen Vigna  <jug@sad.it>
14785
14786         * tabular.[Ch]: better support for longtabular options (not finished
14787         yet!)
14788
14789 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14790
14791         * text.C (paintLastRow): use the label font instead of the font of
14792         the last character to compute the size of *_BOX. This makes more
14793         sense and avoids a crash with empty paragraphs.
14794         Use Painter::rectangle to draw EMPTY_BOX.
14795
14796 2001-12-19  Juergen Vigna  <jug@sad.it>
14797
14798         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14799         the paragraphs if the replaced paragraph is not the first one!
14800         Tried to delete not used paragraphs but does not work yet so for
14801         now it's inside #ifdef's and by default off!
14802
14803 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14804
14805         * MenuBackend.C: include "lyx_main.h" instead of declaring
14806         lastfiles (actually was declared as LastFiles* instead of a
14807         scoped_ptr).
14808
14809 2001-12-17  Juergen Vigna  <jug@sad.it>
14810
14811         * tabular.C (AppendColumn): applied John's fix
14812
14813 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14814
14815         * BufferView.h:
14816         * BufferView.C:
14817         * BufferView_pimpl.h:
14818         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14819
14820         * Makefile.am:
14821         * box.h: new start of class for above
14822
14823         * lyxfunc.C: ignore space-only minibuffer dispatches.
14824           Show the command name when it doesn't exist
14825
14826         * minibuffer.C: don't add empty lines to the history
14827
14828         * minibuffer.C: add a space on dropdown completion
14829
14830 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * text.C: fix line above/below drawing in insets
14833
14834 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14835
14836         * lyxlength.C (LyXLength): Initialize private variables.
14837
14838 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14839
14840         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14841         when inserting error insets.
14842
14843 2001-12-13  Juergen Vigna  <jug@sad.it>
14844
14845         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14846         actually sometimes the before-paragraph.
14847         (setUndo): don't clear the redostack if we're not actually undoing!
14848
14849 2001-12-06  Juergen Vigna  <jug@sad.it>
14850
14851         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14852         and fixed redoing of main paragraph, so we can use it now ;)
14853
14854         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14855
14856 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14857
14858         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14859         Juergen's request
14860
14861 2001-12-13  André Pönitz <poenitz@gmx.net>
14862
14863         * undostack.[Ch]:
14864         * undo_func.C: minor cleanup
14865
14866 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14867
14868         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14869         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14870         font in urw-fonts package which is marked as -urw-fontspecific and
14871         does not work (incidentally, changing the encoding in the
14872         fonts.dir of this package to -adobe-fontspecific fixes the
14873         problem).
14874
14875         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14876         is a crash when undoing first paragraph (Juergen, please take a
14877         look). THis does not mean the undo fix is wrong, just that it
14878         uncovers problems.
14879
14880         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14881         the (Paragraph*) version when needed instead of duplicating the
14882         code.
14883
14884         * text.C (workWidth): use Inset::parOwner to find out where the
14885         inset has been inserted. This is a huge performance gain for large
14886         documents with lots of insets. If Inset::parOwner is not set, fall
14887         back on the brute force method
14888
14889         * paragraph_pimpl.C (insertInset):
14890         * paragraph.C (Paragraph):
14891         (cutIntoMinibuffer): set parOwner of insets when
14892         inserting/removing them
14893
14894         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14895
14896 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14897
14898         * commandtags.h:
14899         * LyXAction.C:
14900         * lyx_main.C:
14901         * lyxfunc.C:
14902         * mathed/formulabase.C:
14903         * mathed/math_cursor.[Ch]:
14904         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14905
14906
14907 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14908
14909         * lyxlength.[Ch] (operator!=): new function
14910
14911 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14912
14913         * text.C (workWidth): use Inset::parOwner to find out where the
14914         inset has been inserted. This is a huge performance gain for large
14915         documents with lots of insets. If Inset::parOwner is not set, fall
14916         back on the brute force method
14917
14918         * paragraph_pimpl.C (insertInset):
14919         * paragraph.C (Paragraph):
14920         (cutIntoMinibuffer): set parOwner of insets when
14921         inserting/removing them
14922
14923         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14924
14925 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14926
14927         * tabular-old.C (getTokenValue):
14928         * tabular.C (getTokenValue):
14929         (write_attribute): new versions for LyXLength
14930         (everywhere): adjust the use of widths
14931
14932         * tabular.h: change the type of widths from string to LyXLength
14933
14934 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14935
14936         * paragraph.C: fixed missing line number count when exporting
14937         Environments to LaTeX file
14938
14939         * buffer.C: added informational message for checking line numbers.
14940
14941 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14942
14943         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14944         paragraph, do the 'double space' part, but not the 'empty
14945         paragraph' one.
14946
14947         * text.C (workWidth): small optimization
14948         (getLengthMarkerHeight): use minimal size for negative lengths.
14949
14950 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14951
14952         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14953
14954         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14955
14956 2001-12-11  André Pönitz <poenitz@gmx.net>
14957
14958         * FontLoader.C:
14959         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14960
14961 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14962
14963         * text2.C: keep selection on a setFont()
14964
14965 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * lyx_cb.C: another bv->text misuse, from insert label
14968
14969 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * kbsequence.h:
14972         * kbsequence.C: re-instate nmodifier mask
14973
14974 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14975
14976         * lyx_main.h: make lyxGUI private.
14977
14978 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14979
14980         * lyxfind.C: place the cursor correctly on failed search
14981
14982 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14983
14984         * text.C (getLengthMarkerHeight): for small heights, the arrows
14985         are not always on top/bottom of the text
14986         (drawLengthMarker): smaller arrows; take the left margin in
14987         account; draw also vfills.
14988         (paintFirstRow):
14989         (paintLastRow): remove special code for vfill and standard spaces,
14990         since everything is handled in drawLengthMarker now.
14991
14992 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * buffer.C (insertErtContents): try to handle font and language
14995         interaction a bit better.g
14996
14997         * ColorHandler.C (updateColor): change the hash to cover the whole
14998         LColor enum, ws cleanup
14999         (getGCLinepars): ditto
15000         (getGCLinepars): only lookup in the linecache once.
15001
15002 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * iterators.C (operator++): Make the iterator more robust
15005
15006         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15007         (John's patch)
15008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15009
15010 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15011
15012         * lyxtext.h:
15013         * text.C: better added space drawing
15014
15015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15016
15017         * LyXView.C:
15018         * BufferView2.C: fix layout combo update on inset unlock
15019
15020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * Makefile.am: don't compile unused files
15023
15024 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15025
15026         * lyxfunc.C:
15027         * commandtags.h:
15028         * LyXAction.C: remove old LFUN_LAYOUTNO
15029
15030 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * paragraph_pimpl.h:
15033         * paragraph_pimpl.C: isTextAt() doesn't need font param
15034
15035 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * lyxlex.h:
15038         * lyxlex.C: little cleanup
15039
15040 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * BufferView_pimpl.C: fix insertAscii for insets
15043
15044 2001-12-05  Juergen Vigna  <jug@sad.it>
15045
15046         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15047         set the right font on the "multi" paragraph paste!
15048
15049 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15050
15051         * trans_decl.h:
15052         * trans_mgr.[Ch]:
15053         * trans.[Ch]:
15054         * lyxgluelength.C:
15055         * lyxlength.C: remove out-commented code.
15056
15057         * BufferView_pimpl:
15058         * CutAndPaste.C:
15059         * DepTable.C:
15060         * buffer.C:
15061         * chset.C:
15062         * lastfiles.C:
15063         * lyxlex.C:
15064         * lyxlex_pimpl.C:
15065         * lyxserver.C:
15066         * screen.C:
15067         * tabular-old.C:
15068         * tabular.C:
15069         * text.C:
15070         * trans_mgr.C:
15071         * vc-backend.C: change "while(" to "while ("
15072
15073         * lyxlength.[Ch]: add zero function to check if length is zero or
15074         not
15075         * lyxgluelength.C: use it
15076
15077 2001-12-05  Allan Rae  <rae@lyx.org>
15078
15079         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15080         Works for 2.95.3, from what I understand of Garst's reports this should
15081         work for other g++ versions.  We're screwed if the abs(int) definition
15082         changed between bugfix releases of gcc.
15083
15084 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * text.C: fix chapter label offset !
15087
15088 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * lyxtext.h:
15091         * text.C: fix hfill at end of line, clean up
15092
15093 2001-12-04  Juergen Vigna  <jug@sad.it>
15094
15095         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15096         that we force an update of the inset and it's owners if neccessary.
15097
15098 2001-12-03  Juergen Vigna  <jug@sad.it>
15099
15100         * text.C (rowLast): simplified code
15101
15102 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * lyxfunc.C: fix show options on timeout
15105
15106 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15107
15108         * screen.C (topCursorVisible): scroll half a page when the cursor
15109         reached top of bottom of screen
15110
15111 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15112
15113         * minibuffer.C: deactivate on loss of focus
15114
15115 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15116
15117         * vspace.[Ch] (operator!=): add operator.
15118
15119 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15120
15121         * BufferView_pimpl.C: refuse to open an inset when
15122         there's a selection.
15123
15124 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15125
15126         * BufferView_pimpl.C: allow to click on RHS of full row insets
15127
15128 2001-11-30  Juergen Vigna  <jug@sad.it>
15129
15130         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15131         insets for undo reasons.
15132
15133 2001-11-28  André Pönitz <poenitz@gmx.net>
15134
15135         * vspace.[Ch]: cosmetical changes
15136
15137 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15138
15139         * LyXAction.h:
15140         * LyXAction.C:
15141         * lyxfunc.h:
15142         * lyxfunc.C:
15143         * kbmap.h:
15144         * kbmap.C:
15145         * lyxrc.C:
15146         * kbsequence.h:
15147         * kbsequence.C: part re-write of old kb code
15148
15149         * Painter.C:
15150         * WorkArea.C: remove Lgb_bug_find_hack
15151
15152 2001-11-30  José Matos <jamatos@fep.up.pt>
15153
15154         * buffer.C (makeDocBookFile): add a comment to point a hack.
15155         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15156         Fixed a double write of labels.
15157
15158 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15159
15160         * LaTeX.C:
15161         * LaTeX.h Fixed bug in LaTeX class where it would not
15162         re-run latex if no depfiles were changed, but the .dvi was removed.
15163
15164 2001-11-28  André Pönitz <poenitz@gmx.net>
15165
15166         * all the files from the change on 2001/11/26:
15167         use lyx::layout_type instead of LyXTextClass::size_type
15168         use lyx::textclass_type instead of LyXTextClassList::size_type
15169
15170 2001-11-29  Juergen Vigna  <jug@sad.it>
15171
15172         * text.C: added support for paragraph::isFreeSpacing()
15173
15174         * buffer.C: same as above
15175
15176         * paragraph.h: inserted isFreeSpacing() function to enable
15177         FreeSpacing inside InsetERT.
15178
15179         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15180         of the paragraph's in the cut/copy buffer to 0!
15181
15182         * text2.C (removeRow): remove the assert as it can!
15183
15184         * lyxtext.h: added helper function firstRow returning firstrow and
15185         made firstrow private again.
15186
15187         * BufferView2.C (lockInset): don't relock if we're already locked!
15188
15189         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15190         the only paragraph.
15191         (removeRow): added Assert::(firstrow)
15192
15193         * debug.C: forgot to add INSETTEXT here.
15194
15195 2001-11-28  Juergen Vigna  <jug@sad.it>
15196
15197         * sp_spell.C (initialize): changed error text to more general
15198         spellchecker command use (not only ispell!)
15199
15200         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15201
15202         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15203
15204 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * vspace.C: initialise lyxgluelength on failure
15207
15208 2001-11-28  Allan Rae  <rae@lyx.org>
15209
15210         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15211         declaration & definition that looks like a function declaration.
15212
15213 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15214
15215         * BufferView2.C (copy):
15216         (copyEnvironment): do not clear the selection when doing a copy.
15217
15218         * text.C (paintFirstRow): compilation fix
15219
15220 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15221
15222         * tabular.C (Latex): correct line count when writing latex.
15223
15224 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15225
15226         * paragraph_pimpl.h:
15227         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15228           bug a bit
15229
15230 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * text.C:
15233         * LColor.h:
15234         * LColor.C: change vfillline->added_space
15235
15236         * text.C: add markers and text for added space
15237
15238         * vspace.C: fix comment
15239
15240 2001-11-28  André Pönitz <poenitz@gmx.net>
15241
15242         * paragraph.C: whitespace changes
15243         * all the other files from the change on 2001/11/26:
15244         change *::pos_type into lyx::pos_type
15245
15246 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15247
15248         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15249         language of the document when inserting error insets.
15250
15251 2001-11-26  André Pönitz <poenitz@gmx.net>
15252
15253         * BufferView_pimpl.[Ch]:
15254         *       CutAndPaste.C:
15255         * buffer.[Ch]:
15256         * lyxcursor.[Ch]:
15257         * lyxfind.C:
15258         * lyxfunc.C:
15259         * lyxrow.[Ch]:
15260         * paragraph.[Ch]:
15261         * paragraph_pimpl.[Ch]:
15262         * sp_spell.C:
15263         * text.C:
15264         * text2.C: reduce header dependencies, introduce type for positions
15265
15266 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * <various>: change to use Alert.h
15269
15270 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15271
15272         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15273         when encountering an unknown token.
15274         (readLyXformat2): Show an error message if there were unknown tokens.
15275
15276 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * BufferView2.C:
15279         * BufferView_pimpl.C:
15280         * buffer.C:
15281         * paragraph.h:
15282         * text.C:
15283         * text2.C: use par->isInset()
15284
15285 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * paragraph_pimpl.h:
15288         * paragraph_pimpl.C: cleanup
15289
15290 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * text2.C (removeRow):
15293         * text.C (setHeightOfRow): remove useless (and costly) call to
15294         getRow.
15295
15296 2001-11-20  Allan Rae  <rae@lyx.org>
15297
15298         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15299         Now need Inset*::checkInsertChar() to return true for appropriate
15300         cases so that the characters in the minibuffer will actually be
15301         inserted.
15302
15303 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15304
15305         * text.C: change the order of the includes.
15306         (workWidth): initialize it at once.
15307         (workWidth): make maxw unsigned
15308         (setHeightOfRow): remove unused variable (inset)
15309         (selectSelectedWord): remove unused variable (inset)
15310         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15311
15312 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15315         server is not running.
15316         (openConnection):
15317         (closeConnection): add debug info when server is disabled.
15318
15319         * ColorHandler.C (getGCForeground): send debug message to GUI
15320         channel.
15321
15322         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15323
15324         * kbmap.C (bind): modify because return conventions of
15325         kb_sequence::parse have changed.
15326
15327         * kbsequence.C (parse): only ignore spaces and not any stupid
15328         control character. This avoids tests like s[i] <= ' ', which are
15329         guaranteed to fail with 8bit characters and signed chars.
15330         Change return code to string::npos when there have been no error
15331         (0 was a bad idea when error is at first character)
15332
15333 2001-11-14  José Matos  <jamatos@fep.up.pt>
15334
15335         * buffer.h:
15336         * buffer.C (simpleDocBookOnePar): removed unused argument.
15337
15338 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15341         insets which are part of a word. Paragraph::isLetter takes care of
15342         that now. Use Paragraph::isInset to identify insets.
15343         (selectSelectedWord): do not test for hyphenation break.
15344
15345         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15346         that protected spaces are considered as spaces.
15347
15348         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15349         Inset::isLetter.
15350
15351 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15352
15353         * lyxserver.h:
15354         * lyxserver.C: fix it. and small cleanup.
15355
15356 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15357
15358         * BufferView_pimpl.C: use inline helpers
15359
15360         * LaTeXFeatures.h:
15361         * LaTeXFeatures.C: fix typos
15362
15363         * Spacing.h:
15364         * Spacing.C: move spacing_string into class
15365
15366         * ToolbarDefaults.C: move stuff into namespace anon
15367
15368         * layout.h: update enum
15369
15370         * lyxfunc.C: use better debug
15371
15372         * minibuffer.h: fix typo
15373
15374         * debug.h:
15375         * debug.C:
15376         * WorkArea.C: add and use Debug::WORKAREA
15377
15378         * lyxtext.h:
15379         * text.C:
15380         * text2.C: code re-organisation, inline helpers
15381
15382 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15383
15384         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15385         std::vector.empty().
15386
15387 2001-11-09  Allan Rae  <rae@lyx.org>
15388
15389         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15390         '\n's after tables.  Tabular and ERT inset work now makes this no
15391         longer necessary.
15392
15393 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * minibuffer.h:
15396         * minibuffer.C: fix crash, improve drop-down completion
15397
15398 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15399
15400         * lyxserver.h:
15401         * lyxserver.C: invalidate fd's when doing endPipe()
15402
15403 2001-11-08  José Matos  <jamatos@fep.up.pt>
15404
15405         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15406         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15407
15408         * paragraph.h:
15409         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15410
15411 2001-11-07  José Matos  <jamatos@fep.up.pt>
15412
15413         * buffer.h:
15414         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15415         const qualifier.
15416
15417         * buffer.C (sgmlOpenTag):
15418         * buffer.C (sgmlCloseTag): removed debug info.
15419
15420         * buffer.h (sgmlOpenTag):
15421         * buffer.h (sgmlCloseTag): made public.
15422
15423 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15424
15425         * buffer.C (saveParamsAsDefaults):
15426         * lyx_cb.C (MenuLayoutSave): remove
15427
15428         * LyXAction.C (init):
15429         * commandtags.h:
15430         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15431
15432 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * buffer.C (setPaperStuff): removed from here...
15435
15436         * bufferparams.C (setPaperStuff): ... and moved there.
15437
15438 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15439
15440         * minibuffer.h:
15441         * minibuffer.C:
15442         * XFormsView.C: add support for drop-down completion
15443
15444 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15445
15446         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15447         commands.
15448
15449 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15452         disabled.
15453
15454 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15455
15456         * lyx_main.C: change ref to known bugs
15457
15458 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15459
15460         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15461         to work around older babel problems.
15462
15463 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15464
15465         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15466
15467 2001-10-24  Juergen Vigna  <jug@sad.it>
15468
15469         * tabular-old.C (ReadOld): below variable changes reflected.
15470
15471         * tabular.[Ch]: added ltType struct for longtable header/footer
15472         defines and changed all instances where they are used. Added
15473         future support for double top/bottom rows.
15474
15475 2001-10-24  José Matos  <jamatos@fep.up.pt>
15476
15477         * buffer.h (docbookHandleCaption):
15478         * buffer.C (docbookHandleCaption): removed unused function.
15479         (makeDocBookFile): moved docbook supported version to v4.1.
15480
15481 2001-10-24  José Matos  <jamatos@fep.up.pt>
15482
15483         * tabular.h:
15484         * tabular.C (docbookRow): new function to export docbook code of a row.
15485         (DocBook): now honors the longtable flags.
15486
15487 2001-10-23  José Matos  <jamatos@fep.up.pt>
15488
15489         * LaTeXFeatures.h:
15490         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15491         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15492
15493         * buffer.C (makeLinuxDocFile):
15494         (makeDocBookFile): reworked the preamble, more clean, and with
15495         support for lyx defined entities. Changed the document declaration
15496         to be more XML friendly.
15497
15498         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15499         if we need to output XML that should be done with a filter.
15500
15501 2001-10-22  Juergen Vigna  <jug@sad.it>
15502
15503         * sp_pspell.h (class PSpell): add alive function needed in the
15504         controller to see if the spellchecker could be started.
15505
15506 2001-10-22  Juergen Vigna  <jug@sad.it>
15507
15508         * buffer.C (insertStringAsLines): modify the font for inserting
15509         chars in certain conditions by calling checkInsertChar(font).
15510
15511 2001-10-19  Juergen Vigna  <jug@sad.it>
15512
15513         * text.C (workWidth): use getRow instead of wrong algorithm.
15514         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15515
15516 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15517
15518         * lyxserver.h:
15519         * lyxserver.C:
15520         * lyx_main.h:
15521         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15522
15523 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * text.C (workWidth): do not search for the exact row when
15526         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15527         optimization for big documents.
15528
15529 2001-10-18  Juergen Vigna  <jug@sad.it>
15530
15531         * text.C (workWidth): new function with added Inset * parameter.
15532
15533 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15536
15537         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15538         change return type of getColumnNearX.
15539
15540
15541         * text.C (changeRegionCase): use uppercase/lowercase instead of
15542         toupper/tolower.
15543         (leftMargin):
15544         (rightMargin): simplify code by factoring out the uses of
15545         textclasslist.
15546         (labelFill):
15547         (numberOfHfills):
15548         (setHeightOfRow):
15549         (appendParagraph): use Paragraph::size_type
15550
15551 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * vspace.C (asLatexString): add a missing break
15554
15555 2001-10-15  Herbert Voss  <voss@perce.de>
15556
15557         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15558
15559 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15562         is not available.
15563
15564 2001-10-10  André Pönitz <poenitz@gmx.net>
15565
15566         * lyxfunc.C: removed greek_kb_flag.
15567
15568 2001-10-10  Herbert Voss  <voss@perce.de>
15569
15570         * lyx_main.C: delete global string help_lyxdir.
15571
15572 2001-10-09  Herbert Voss  <voss@perce.de>
15573
15574         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15575
15576         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15577
15578         * lyx_main.C: added global string help_lyxdir.
15579
15580         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15581
15582 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15583
15584         * lyxrc.C (set_font_norm_type): support iso8859-4
15585
15586 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15587
15588         * LaTeX.C (deplog): add another regex for MikTeX
15589
15590 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15591
15592         * lyxrc.C (set_font_norm_type): support iso8859-3
15593
15594 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15597
15598         * LaTeXFeatures.C: remove special case of french and index
15599
15600         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15601         before \begin{document}). This solves several incompatibilities.
15602
15603 2001-10-03  Garst Reese  <reese@isn.net>
15604
15605         * lyx_cb.C: change CheckTex error msg.
15606
15607 2001-10-03  José Matos  <jamatos@fep.up.pt>
15608
15609         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15610
15611 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * .cvsignore: update
15614
15615         * lyx_main.C (commandLineVersionInfo): use new style version info.
15616
15617         * buffer.C (writeFile):
15618         (makeLaTeXFile):
15619         (makeLinuxDocFile):
15620         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15621
15622         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15623
15624         * version.h: update to use stuff in version.C
15625
15626         * version.C.in: new file. Contains version information determined
15627         at compile time. This is a merging of version.h and
15628         version_info.h.in.
15629
15630 2001-10-03  Juergen Vigna  <jug@sad.it>
15631
15632         * BufferView_pimpl.C (update): don't change "dirty" status in
15633         updateInset call.
15634
15635 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15636
15637         * WorkArea.C (c-tor): re-position version string slightly.
15638
15639 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15642         revert to previous code.
15643
15644         WorkArea.[Ch]: (show, destroySplash): methods removed.
15645
15646         WorkArea.C: rework code so that it's an amalgam of the codes before and
15647         after the splash screen was moved to WorkArea.
15648
15649 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * lyxrc.C (read):
15652         * vspace.C (inPixels):
15653         (lyx_advance):
15654         * kbmap.C (bind):
15655         * buffer.C (insertStringAsLines):
15656         (asciiParagraph): fix types to be large enough
15657
15658         * lyxlex_pimpl.h: change member status from short to int
15659
15660         * layout.h: fix type of endlabeltype
15661
15662         * kbmap.C (bind):
15663         * kbsequence.C (parse): change return type to string::size_type
15664
15665         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15666         variable
15667
15668         * Bullet.C (bulletSize):
15669         (bulletEntry): do not use short ints as parameters
15670
15671         * BufferView2.C (insertLyXFile): change a char to an int.
15672
15673         * WorkArea.C (WorkArea): remove unneeded floats in computation
15674
15675 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15676
15677         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15678
15679         * paragraph.C (asString): Do not ignore newline/hfill chars when
15680         copying to the clipboard.
15681
15682 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15683
15684         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15685         after a multi-line inset.
15686
15687 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15688
15689         * paragraph.C (validate): Set NeedLyXFootnoteCode
15690
15691 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15692
15693         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15694         and decrease-error to decrease.
15695
15696 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15699         it more readable (should be equivalent)
15700
15701 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15702
15703         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15704
15705 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15706
15707         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15708         of a cursor (row, etc.) after a character has been deleted
15709         (deleteEmptyParagraphMechanism): call the method above on _all_
15710         cursors held by the LyXText when a double space has been
15711         detected/deleted.
15712
15713 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15714
15715         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15716         pixmap.
15717         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15718
15719         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15720         background. Use greyOut() and the new show() methods to toggle between
15721         the foreground and background. Add code to remove the splash after
15722         its initial showing.
15723
15724         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15725         (create_forms): no longer call Dialogs::showSplash.
15726
15727 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * .cvsignore: add version_info.h
15730
15731 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * version_info.h.in: new file
15734
15735         * Makefile.am: add version_info.h.in
15736
15737         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15738         version_info.h instead of VERSION_INFO
15739
15740 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15741
15742         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15743         The ERT inset now returns string().
15744
15745 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * lyxtext.h, text.C (selectNextWord): renamed as
15748         selectNextWordToSpellcheck.
15749
15750         * text.C (selectNextWordToSpellcheck): Modified to not select
15751         words inside an ERT inset.
15752
15753 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * lyx_cb.C (MenuLayoutSave): change a bit the question
15756
15757         * sp_base.h: include <sys/types.h>
15758
15759 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15760
15761         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15762
15763 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15764
15765         * several files: fix typos in user-visible strings
15766
15767 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * text2.C (pasteSelection): do not set the selection, since it
15770         will be cleared later. Actually, the intent was to fix the way the
15771         selection was set, but I figured rmoving the code was just as good.
15772
15773 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15774
15775         * FontLoader.C (available): Check if font is available without
15776         loading the font.
15777
15778 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15779
15780         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15781
15782 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15783
15784         * lyxrc.[Ch]: added display_graphics variable and associated code.
15785
15786 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15787
15788         * bufferparams.C (hasClassDefaults): new method. Returns true if
15789         the buffer parameters correspond to known class defaults
15790
15791 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15792
15793         * XFormsView.C (show): set minimum size to the main window.
15794
15795 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15796
15797         * text2.C (copySelection):
15798         (cutSelection):
15799         * lyxfind.C (LyXReplace):
15800         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15801         LyXText::selectionAsString.
15802
15803         * paragraph.C (asString): add "label" argument to the second form
15804
15805         * text2.C (selectionAsString): add "label" argument and pass it to
15806         Paragraph::asString.
15807
15808 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15809
15810         * lyx_main.C (commandLineHelp): remove version information
15811
15812 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15813
15814         * lyx_main.C: add -version commandline option
15815
15816 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15817
15818         * paragraph.h: make the optional constructor arg required instead.
15819         some modifications to other files because of this.
15820
15821         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15822
15823         * lyxserver.C (C_LyXComm_callback): make it static
15824
15825         * lyx_main.C (error_handler): make it static
15826
15827         * lyx_gui.C (LyX_XErrHandler): make it static
15828
15829         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15830
15831         * WorkArea.C: make the extern "C" methods static.
15832
15833         * Makefile.am (lyx_LDADD): simplify
15834
15835 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15836
15837         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15838         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15839
15840         * LyXAction.C (init):
15841         * lyxfunc.C (dispatch): associated code removal.
15842
15843 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15844
15845         * lyxfont.h (isSymbolFont): shut off warning
15846
15847         * text.C (setHeightOfRow):
15848         (getVisibleRow): fix crash with empty paragraphs which have a
15849         bottom line
15850
15851 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15852
15853         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15854         code.
15855
15856 2001-09-04  José Matos  <jamatos@fep.up.pt>
15857         * buffer.C
15858         * buffer.h
15859         * tabular.C (docbook): rename docBook method to docbook.
15860
15861 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15862
15863         * Makefile.am: add dependencies to main.o.
15864
15865 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15866
15867         * FontLoader.C (available): Return false if !lyxrc.use_gui
15868
15869 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15870
15871         * FontInfo.C (query):
15872         * converter.C (view):
15873         * importer.C (Import):
15874         * exporter.C (Export): Can not -> cannot.
15875
15876 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15877
15878         * BufferView_pimpl.C: allow to create index inset even if
15879           string is empty
15880
15881 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15882
15883         * buffer.C (getLists): replace boost::tie code with an explicit pair
15884         as boost::tie can break some compilers.
15885
15886         * iterators.h: Added a std:: declaration to the return type of
15887         ParIterator::size.
15888
15889 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15890
15891         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15892           case.
15893
15894 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15895
15896         * iterators.[Ch]: New files. Provide paragraph iterators.
15897
15898         * buffer.C (changeLanguage): Use paragraph iterators.
15899         (isMultiLingual): ditto
15900
15901         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15902
15903 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * FontLoader.C: Support for cmr font.
15906
15907 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15908
15909         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15910         (available): New method.
15911
15912         * FontInfo.C (getFontname): Use scalable fonts even when
15913         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15914         found.
15915
15916 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15917
15918         * converter.C (Formats::view): reverted! Incorrect fix.
15919
15920 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15921
15922         * converter.C (Formats::view): only output the -paper option
15923         if the dvi viewer is xdvi, thereby fixing bug #233429.
15924
15925 2001-08-23  Herbert Voss  <voss@perce>
15926
15927         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15928
15929 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15930
15931         * Spacing.h (Spacing): Set space to Default on in the default
15932         constructor.
15933
15934 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15935
15936         * vc-backend.h (RCS::versionString): add RCS to version
15937         (CVS::versionString): add CVS to version
15938
15939         * vc-backend.C (scanMaster): do not add CVS to version.
15940         (scanMaster): do not add RCS to version
15941
15942         * lyxvc.C (versionString): new method
15943
15944         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15945
15946 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15947
15948         * Spacing.C (set): initialize fval
15949
15950 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15951
15952         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15953         " or \.
15954
15955 2001-08-16  Juergen Vigna  <jug@sad.it>
15956
15957         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15958
15959 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15960
15961         * BufferView_pimpl.C:
15962         * figureForm.C:
15963         * lyxtext.h:
15964         * text2.C: setParagraph takes linespacing now
15965
15966 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15967
15968         * LyxAction.C: add internal LFUN_CITATION_INSERT
15969
15970         * LyXView.C: actually apply fix
15971
15972         * bufferlist.C: fix open non-existent file
15973
15974         * lyxfind.C: fix indentation
15975
15976         * lyxfunc.C: remove unneeded assert, fix typo
15977
15978 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15979
15980         * MenuBackend.C: use "Floatname List"
15981
15982 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15983
15984         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15985         when converting LaTeX layout to insetERT.
15986         Generate a non-collapsed float when reading old float
15987
15988 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15989
15990         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15991         ERT insets.
15992
15993 2001-08-13  Juergen Vigna  <jug@sad.it>
15994
15995         * text.C (fill): return 0 instead of 20 as this seems to be the more
15996         correct value.
15997
15998 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15999
16000         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16001         lyxrc.font_norm.
16002
16003 2001-08-13  Juergen Vigna  <jug@sad.it>
16004
16005         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16006         casesensitive off.
16007         (SearchBackward): comment out the unlocking of the inset_owner this
16008         should not be needed!
16009
16010 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16011
16012         * Many files: Remove inherit_language, and add latex_language
16013
16014         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16015         collapsible insets.
16016
16017 2001-08-10  Juergen Vigna  <jug@sad.it>
16018
16019         * text.C (prepareToPrint): fixed hfill-width in draw!
16020
16021         * BufferView2.C (selectLastWord): save the selection cursor as this
16022         now is cleared in the function LyXText::clearSelection!
16023
16024 2001-08-08  Juergen Vigna  <jug@sad.it>
16025
16026         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16027         BACKSPACE type functions.
16028
16029         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16030         is only cutted from the document but not put in the cut-buffer, where
16031         still the old stuff should be.
16032
16033         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16034
16035         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16036
16037         * tabular.C (SetWidthOfCell): fixed special case where the width
16038         was not updated!
16039         (LeftLine): handle '|' in align_special.
16040         (RightLine): ditto
16041         (LeftAlreadyDrawed): ditto
16042         (SetWidthOfCell): ditto
16043
16044 2001-08-07  Juergen Vigna  <jug@sad.it>
16045
16046         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16047
16048 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16049
16050         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16051         * lyxlex.[hC]: ditto
16052
16053 2001-08-06  Juergen Vigna  <jug@sad.it>
16054
16055         * text.C (getVisibleRow): fix up row clearing a bit.
16056
16057 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16058
16059         * minibuffer.C: make sure the X server sees the changes in the input.
16060
16061 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16062
16063         * paragraph.C (getFont): split into...
16064         (getLabelFont): this
16065         (getLayoutFont): and this
16066         * paragraph_pimpl.C (realizeFont): calling this
16067
16068         * text2.C (getFont): split into...
16069         (getLayoutFont): this
16070         (getLabelFont): and this
16071         (realizeFont): all three calling this
16072
16073         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16074         files where used.
16075
16076 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16077
16078         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16079
16080 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16081
16082         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16083         layouts from the Quote inset insertion.
16084
16085 2001-08-03  Juergen Vigna  <jug@sad.it>
16086
16087         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16088
16089         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16090         only if status not is already CHANGED_IN_DRAW (second level).
16091
16092         * text.C (draw): don't set the need_break_row when inside an
16093         InsetText LyXText.
16094
16095 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16096
16097         * buffer.C (parseSingleLyXformat2Token): handle more latex
16098         conversion cases.
16099
16100         * bufferview_funcs.[hC]: change function names to
16101         begin with small char, adjust other files.
16102
16103 2001-08-02  André Pönitz <poenitz@gmx.net>
16104
16105         * lyxfunc.C:
16106         BufferView_pimpl.C: remove broken special code for math-greek
16107
16108 2001-08-02  Juergen Vigna  <jug@sad.it>
16109
16110         * BufferView_pimpl.C (update): redone this function so that we
16111         update the text again if there was a CHANGE_IN_DRAW.
16112
16113         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16114         (drawFromTo): added a new internal bool which is used by draw() and
16115         redraw() function.
16116         (general): some cursor drawing problems fixed.
16117
16118 2001-08-01  Juergen Vigna  <jug@sad.it>
16119
16120         * lyxfind.C (LyXFind): fixed
16121         (SearchForward): ditto
16122         (SearchBackward): ditto
16123
16124         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16125         spurius drawing of the cursor in the main area.
16126
16127         * text2.C (status): small fix which could lead to a segfault!
16128         (clearSelection): remove unneeded BufferView param.
16129
16130 2001-08-01  André Pönitz <poenitz@gmx.net>
16131
16132         * lyxfunc.C: small change due to changed mathed interface
16133
16134 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16137
16138 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16139
16140         * lyxfunc.c: fail gracefully if file doesn't exist
16141
16142         * LyXSendto.C:
16143         * buffer.C:
16144         * lyxfunc.C:
16145         * BufferView_pimpl.C: IsDirWriteable() proto changed
16146
16147         * LyXView.C: fix updateWindowTitle() to store the last title
16148
16149 2001-07-31  Juergen Vigna  <jug@sad.it>
16150
16151         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16152         the font (wrong since using of Paragraph::highestFontInRange).
16153
16154         * paragraph.C (highestFontInRange): added a default_size parameter.
16155
16156         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16157         (setHeightOfRow): reformat
16158
16159 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16160
16161         * converter.[hC] + affected files: move to (inital-char)lowercase
16162         function names.
16163
16164         * ParagraphParameters.C (ParagraphParameters): remove commented code
16165
16166         * PainterBase.[Ch]: remove commented code
16167
16168         * LaTeXFeatures.h: add "bool floats" for float.sty
16169
16170         * LaTeXFeatures.C (LaTeXFeatures): init floats
16171         (require): handle float
16172         (getPackages): do it with floats
16173
16174 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16175
16176         * BufferView_pimpl.C (Dispatch): improve handling of
16177         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16178
16179         * commandtags.h: #include lyxfont.h here temporarily to avoid
16180         keybinding bug.
16181
16182         * bufferlist.h: include LString.h here.
16183
16184 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16185
16186         * text2.C (getStringToIndex): new method.
16187
16188 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16189
16190         * *: Reduced header file dependencies all over.
16191
16192 2001-07-30  Baruch Even  <baruch@lyx.org>
16193
16194         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16195
16196 2001-07-29  Baruch Even  <baruch@lyx.org>
16197
16198         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16199
16200 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * ParameterStruct.h (endif): add a default constructor to make
16203         sure that all variables is initialized.
16204
16205         * ParagraphParameters.C (ParagraphParameters): adjust
16206
16207 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16208
16209         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16210         index; also, check that there is something to index, and that it
16211         does not span over several paragraphs.
16212         (doubleClick): use WHOLE_WORD_STRICT for double click.
16213
16214         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16215
16216         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16217         scheme.
16218
16219 2001-07-26  Baruch Even  <baruch@lyx.org>
16220
16221         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16222         an InsetFig figure, backwards compatible reading of old figure code.
16223
16224 2001-07-27  Juergen Vigna  <jug@sad.it>
16225
16226         * text2.C: font.realize function adaption.
16227
16228         * text.C (draw): add a warnings lyxerr text if needed.
16229
16230         * layout.C: font.realize function adaption.
16231
16232         * language.C: add inherit_language and implement it's handlings
16233
16234         * bufferview_funcs.C (StyleReset): remove language parameter from
16235         font creation (should be language_inherit now).
16236
16237         * bufferparams.C (writeFile): handle ignore_language.
16238
16239         * paragraph.C (getFontSettings): the language has to be resolved
16240         otherwise we have problems in LyXFont!
16241
16242         * lyxfont.C (lyxWriteChanges): added document_language parameter
16243         (update): removed unneeded language parameter
16244
16245         * paragraph.C (validate): fixed wrong output of color-package when
16246         using interface colors for certain fonts in certain environments,
16247         which should not seen as that on the final output.
16248
16249 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16250
16251         * BufferView_pimpl.C:
16252         * Thesaurus.h:
16253         * Thesaurus.C:
16254         * Makefile.am:
16255         * commandtags.h:
16256         * LyXAction.C: add thesaurus support
16257
16258         * lyxfind.h:
16259         * lyxfind.C: add "once" parameter, for thesaurus, to not
16260           move to the next match
16261
16262 2001-07-26  Juergen Vigna  <jug@sad.it>
16263
16264         * lyxfont.C (realize): honor ignore_language too!
16265         (resolved): ditto.
16266
16267         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16268
16269         * text.C (draw): one place more for ignore_language to not draw
16270         itself!
16271
16272 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16273
16274         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16275
16276 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16279         the minipage conversion problem.
16280
16281 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16284         insert an inset.
16285
16286 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16287
16288         * BufferView.h: don't forward declare WorkArea
16289
16290         * BufferView.C: don't include WorkArea.h
16291
16292 2001-07-25  André Pönitz <poenitz@gmx.net>
16293
16294         * commandtags.h:
16295         * LyXAction.C:
16296         * lyxfunc.C:  new LFUN 'math-space'
16297
16298         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16299
16300 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * text2.C (toggleInset): call open/close
16303
16304 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16305
16306         * lyxfunc.C (dispatch): add debug for the disabled case
16307
16308         * font.C (buttonText): make similar to rectText
16309
16310         * buffer.C (readInset): comment out parsing of insetlist and
16311         insttheorem
16312
16313         * PainterBase.C (rectText): small correction
16314
16315         * BufferView_pimpl.C: comment out insettheorem and insetlist
16316         * LyXAction.C: ditto
16317         * commandtags.h: ditto
16318
16319 2001-07-24  Juergen Vigna  <jug@sad.it>
16320
16321         * text.C (draw): honor the ignore_language.
16322
16323         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16324
16325 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16328         char inset.
16329
16330 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16331
16332         * lyxtext.h: remove unused (and unimplemented) methods
16333
16334 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16335
16336         * text.C (getVisibleRow): honor background color
16337
16338         * PainterBase.h:
16339         * Painter.h: remove default color argument for fillRectangle
16340
16341         * text.C (backgroundColor): new method
16342
16343 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * text.C (getVisibleRow): adjust
16346
16347         * font.[Ch] (rectText): new method, metrics
16348         (buttonText): new method, metrics
16349
16350         * PainterBase.[hC]: make rectText and buttonText always draw and take
16351         fewer paramteres.
16352
16353 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16354
16355         * ToolbarDefaults.C (read):
16356         * MenuBackend.C (read): allow escaping in all strings
16357
16358         * BufferView_pimpl.C (insertAndEditInset): new method.
16359         (Dispatch): use insertAndEditInset whenever appropriate.
16360
16361         * BufferView_pimpl.C (insertNote): removed
16362
16363         * BufferView_pimpl.C (smartQuote): new method, moved from
16364         BufferView; if an insetquote cannot be inserted, insert a '"'
16365         character instead.
16366
16367         * BufferView2.C: remove insertCorrectQuote();
16368
16369         * lyxfunc.C (getStatus): Add support for all remaingin
16370         inset-insert lfuns.
16371
16372         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16373
16374         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16375         command (necessary to pass " as parameter of self-insert.
16376
16377         * text.C (selectWordWhenUnderCursor):
16378         (selectWord): add word_location parameter
16379         (selectWordWhenUnderCursor): same + remove special code for word
16380         boundary.
16381         (selectNextWord): use kind() to guess type of insetspecialchar,
16382         not latex().
16383
16384         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16385         (insertErtContents): create ert insets as collapsed.
16386         (readInset): better compatibility code for Info inset.
16387
16388 2001-07-20  Juergen Vigna  <jug@sad.it>
16389
16390         * lyxfunc.C (dispatch): use always LyXFind now!
16391
16392         * text2.C (init): add a reinit flag so that the LyXText can be
16393         reinited instead of deleted and reallocated (used in InsetText).
16394
16395         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16396
16397         * text.C: ditto
16398
16399         * text2.C: ditto
16400
16401 2001-07-18  Juergen Vigna  <jug@sad.it>
16402
16403         * text.C (selectNextWord): handle insets inside inset by calling
16404         always the bv->text functions so that we can go up the_locking_inset!
16405
16406         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16407         in strange locations when inside an inset!
16408
16409         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16410         handling to include insets.
16411
16412         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16413
16414 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * LyXAction.C (init):
16417         * commandtags.h:
16418         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16419         LIGATURE_BREAK, since the name is so stupid.
16420
16421 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16422
16423         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16424         InsetInfos.
16425
16426         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16427
16428         * sp_form.[Ch]: remove.
16429
16430         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16431
16432         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16433         InsetInfo.
16434
16435         * src/buffer.C (readInset): ditto.
16436
16437 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16438
16439         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16440         menuSeparator(), endOfSentenceDot(), ldots() and
16441         hyphenationPoint(), which are therefore removed.
16442         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16443
16444         * LyXAction.C (init):
16445         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16446
16447         * paragraph.C (getWord): removed.
16448
16449         * BufferView_pimpl.C (Dispatch): use last word or selection for
16450         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16451
16452         * lyx_main.C (queryUserLyXDir): do not ask before creating
16453         user_dir, except if it has been named explicitely.
16454
16455 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16456
16457         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16458         a document of zero size.
16459
16460 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16461
16462         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16463         approriately in the c-tor and in require().
16464         (getPackages): output the appropriate LaTeX for natbib support.
16465
16466         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16467         variables "use_natbib" and "use_numerical_citations" when reading the
16468         LyX file.
16469         (readInset): read the various natbib cite commands.
16470         (validate): white-space change.
16471
16472         * bufferparams.[Ch]: new variables "bool use_natbib" and
16473         "bool use_numerical_citations".
16474         (writeFile): output them in the LyX file.
16475
16476 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16477
16478         * lyxfunc.C (getStatus): add support for all the inset insertion
16479         commands.
16480
16481         * text2.C (insertInset):
16482         * paragraph.C (insetAllowed):
16483         * BufferView_pimpl.C (insertInset): update to take in account the
16484         renaming of insertInsetAllowed
16485
16486         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16487
16488         * text2.C (getInset): new method. returns inset at cursor position.
16489
16490         * BufferView_pimpl.C (Dispatch): changes because of this.
16491
16492         * LyXAction.C (init): rename open-stuff to inset-toggle.
16493
16494         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16495
16496         * text2.C (toggleInset): renamed from openStuff; use
16497         Inset::open().
16498
16499 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16500
16501         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16502
16503         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16504
16505 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16506
16507         * buffer.C (readLyXformat2): Add filename to the error dialog
16508
16509 2001-07-18  Juergen Vigna  <jug@sad.it>
16510
16511         * tabular.C (GetCellNumber): put an assert here instead of the check!
16512
16513 2001-07-17  Juergen Vigna  <jug@sad.it>
16514
16515         * BufferView_pimpl.C (toggleSelection): adapted too.
16516
16517         * text.C (selectNextWord): adapted for use with insets.
16518         (selectSelectedWord): ditto
16519
16520 2001-07-17  Juergen Vigna  <jug@sad.it>
16521
16522         * sp_spell.C (PSpell): fix initialitation order.
16523
16524 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16525
16526         * paragraph.C: spacing
16527
16528 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16529
16530         * sp_spell.C: repair language selection for pspell
16531
16532 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16533
16534         * lyxfunc.h: change more methods to begin with lower char.
16535
16536 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16537
16538         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16539         for unknown layouts.
16540
16541 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16542
16543         * buffer.C (readLyXformat2): Generate an error dialog if there are
16544         unknown layouts.
16545
16546 2001-07-16  Juergen Vigna  <jug@sad.it>
16547
16548         * sp_spell.C: always compile ISpell part.
16549
16550         * lyxrc.C: added use_pspell entry and it's handling.
16551
16552 2001-07-13  Juergen Vigna  <jug@sad.it>
16553
16554         * sp_spell.C: removed double includes.
16555
16556 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16557
16558         Consistent use of Lsstream.h:
16559         * Lsstream.h: added using std::stringstream for consistencies sake.
16560
16561         * buffer.C: removed using std::stringstream
16562
16563         * lyxfont.C (stateText):
16564         * paragraph.C (asString):
16565         * text.C (selectNextWord, selectSelectedWord):
16566         * text2.C (setCounter):
16567         * vspace.C (asString, asLatexString):
16568         std::ostringstream -> ostringstream.
16569
16570 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16571
16572         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16573         * commandtags.h: add LFUN_HELP_ABOUTLYX
16574         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16575
16576 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16577
16578         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16579         cursorToggle()
16580         * lyx_gui_misc.C: remove spellchecker
16581         * lyxfunc.C: showSpellchecker
16582         * sp_base.h: added
16583         * sp_ispell.h: added
16584         * sp_pspell.h: added
16585         * sp_spell.C: added
16586         * sp_form.[Ch]: removed
16587         * spellchecker.[Ch]: removed
16588
16589 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16590
16591         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16592         is set.
16593         (simpleTeXSpecialChars): Simply print the input character without
16594         any special translation if pass_thru is set.
16595
16596         * layout.h: Added bool pass_thru to layout class for being able to
16597         implement pass through of a paragraph for Literate Programming.
16598
16599         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16600         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16601         * layout.C (Read): add "passthru" to list of layout tags and add
16602         code to set the pass_thru boolean when it is read.
16603
16604 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * trans_decl.h: remove allowed from KmodInfo
16607
16608         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16609         remove allowed code
16610         (Load): adjust
16611
16612         * paragraph_pimpl.C (erase): use boost::prior
16613
16614         * Painter.C (text): use data() instead of c_str() when length is
16615         also provided.
16616         * WorkArea.C (putClipboard): ditto
16617         * font.h (width): ditto
16618
16619         * BufferView2.C: use it-> instead of (*it). for iterators
16620         * texrow.C: ditto
16621         * paragraph_pimpl.C: ditto
16622         * paragraph.C: ditto
16623         * minibuffer.C: ditto
16624         * language.C: ditto
16625         * kbmap.C: ditto
16626         * encoding.C: ditto
16627         * counters.C: ditto
16628         * converter.C: ditto
16629         * chset.C: ditto
16630         * Variables.C: ditto
16631         * TextCache.C: ditto
16632         * MenuBackend.C: ditto
16633         * LyXAction.C: ditto
16634         * LColor.C: ditto
16635         * FloatList.C: ditto
16636         * DepTable.C: ditto
16637         * ColorHandler.C (LyXColorHandler): ditto
16638
16639 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16640
16641         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16642
16643         * text2.C (openStuff): reintroduce this method (which had been
16644         nuked in NEW_INSETS frenzy).
16645
16646         * lyxfunc.C (Dispatch): when an action has not been handled, use
16647         its name in the error message, not its number.
16648
16649         * paragraph.C (inInset): change method name to begin with lowercase.
16650
16651         * undo_funcs.C:
16652         * text2.C: updates because of this.
16653
16654 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16655
16656         * ToolbarDefaults.C (add): add spaces in error message
16657
16658 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16661         (readLyXformat2): rename return_par to first_par, use lyxlex's
16662         pushToken and remove the manual push handling.
16663         (parseSingleLyXformat2Token): add another ert comp. variable:
16664         in_tabular, rename return_par to first_par. handle newlines better
16665
16666 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16667
16668         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16669
16670 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16671
16672         * text2.C (getParFromID): removed
16673
16674         * buffer.C (getParFromID): new method moved form lyxtext.
16675         * BufferView2.C (insertErrors): adjust
16676         (setCursorFromRow): adjust
16677         * BufferView_pimpl.C (restorePosition): adjust
16678         * lyxfunc.C (Dispatch): adjust
16679         * undo_funcs.C (textUndo): adjust
16680         (textRedo): adjust
16681         (textHandleUndo): adjust
16682         (textHandleUndo): adjust
16683
16684 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * buffer.C: up' the LYX_FORMAT
16687
16688         * lyxfont.h: turn NO_LATEX on as default
16689
16690         * buffer.C (insertErtContents): new methods of tex style compability.
16691         (parseSingleLyXformat2Token): use it several places.
16692         * tabular.C (OldFormatRead): and here
16693
16694 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16695
16696         * text2.C: remove some commented code.
16697         reindent file.
16698
16699         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16700         * trans.C: changes because of the above.
16701
16702 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16703
16704         * text2.C (setCounter): Fix counters bug with bibliography layout.
16705
16706 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16709         own member functions
16710         (simpleTeXSpecialChars): ditto
16711
16712 2001-07-06  Juergen Vigna  <jug@sad.it>
16713
16714         * a lot of files: changed the access to LyXText::status and the
16715         call of undo-functions.
16716
16717         * undo.[Ch]: added a inset_id to the undo informations.
16718
16719         * undo_funcs.[Ch]: added and moved here all undo functions.
16720
16721         * lyxtext.h: give the status enum a weight, made status_ a private
16722         variable and made accessor functions for it, removed the whole bunch
16723         of undo-functions as they are now in their own file, make some
16724         functions publically available. Added function ownerParagraph with
16725         int parameter.
16726
16727         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16728         made InInset() a const function, added getParFromID() function.
16729
16730         * buffer.[Ch]: added const version for inset_iterator functions,
16731         added getInsetFromID() function.
16732
16733         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16734         changed undo functions for new version.
16735
16736 2001-07-05  Juergen Vigna  <jug@sad.it>
16737
16738         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16739         unknow mechanism does not call the proper constructor but only this
16740         one also if I request the other!?
16741
16742 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16745
16746         * text2.C (LyXText): use initialization lists.
16747
16748         * lyxtext.h (Selection): initialize set_ and mark_
16749         (init): remove method
16750
16751 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16752
16753         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16754
16755 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16756
16757         * screen.[Ch]: change method names to begin with lowercase
16758
16759         * BufferView_pimpl.C (updateScrollbar): simplify further and
16760         hopefully make it a bit faster.
16761
16762 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16763
16764         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16765         calling directly xforms functions.
16766
16767         * Painter.C (Painter):
16768         * lyx_cb.C (MenuWrite):
16769         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16770         fl_display.
16771
16772         * lyx_gui.C: remove bogus guiruntime extern declaration.
16773
16774 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16775
16776         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16777         in NEW_INSETS
16778         (redoDrawingOfParagraph): ditto
16779         (redoParagraphs): ditto
16780         (cutSelection): don't create a object for CutAndPaste use the
16781         static method directly
16782         (pasteSelection): ditto
16783
16784         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16785         LyXview (+ rename)
16786
16787 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16788
16789         * modifications to some other files because of this.
16790
16791         * Makefile.am (lyx_SOURCES): add XFormsView
16792
16793         * XFormsView.[Ch]: new files
16794
16795         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16796         the main window. Move the gui dependent stuff to XFormsView
16797
16798 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16799
16800         * tabular.C (GetCellInset): update cur_cell also in the row/col
16801         version of this function.
16802
16803         * lyxfunc.C: no need to include figure_form.h here.
16804
16805         * FontLoader.h:
16806         * lyxfunc.h:
16807         * lyxscreen.h:
16808         * text2.C:
16809         * lyxvc.C: no need to include forms.h here.
16810
16811 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16812
16813         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16814
16815         * lyxfunc.C (Dispatch):
16816         * Spacing.C (set):
16817         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16818         constructor argument.
16819
16820 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16821
16822         * paragraph.C (Paragraph): dont't clear, and just set layout.
16823         (makeSameLayout): use params's copy contructor.
16824
16825         * ParagraphParameters.[Ch] (makeSame): delete method
16826
16827 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16828
16829         * Variables.[Ch]: fix indentation, rename set to isSet
16830
16831 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16832
16833         * lyxfunc.C (Dispatch): fix typo
16834
16835 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16836
16837         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16838         upper_bound.
16839
16840         * bufferlist.C: include assert.h for emergencyWrite().
16841
16842 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16843
16844         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16845           give up at last (bug #425202) !
16846
16847 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16848
16849         * lyx_gui_misc.C:
16850         * sp_form.h:
16851         * sp_form.C:
16852         * spellchecker.h:
16853         * spellchecker.C: strip spellchecker options and bring up
16854           preferences tab instead
16855
16856 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16857
16858         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16859         the istringstream constructor
16860
16861 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16862
16863         * paragraph.C (getLayout): fix return value
16864
16865         * paragraph.h: do not declare getLayout as inline.
16866
16867         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16868
16869 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16870
16871         * lyxcursor.h (operator<): new func
16872         (operator>): new func
16873         (operator>=): new func
16874         (operator<=): new func
16875
16876         * text.C (changeCase): use selection.start and selection.end
16877         (changeRegionCase): require from to be <= to. Require par to be a
16878         valid paragraph.
16879
16880         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16881
16882 2001-06-27  Juergen Vigna  <jug@sad.it>
16883
16884         * text.C (cursorLeftOneWord): changed to return the cursor and added
16885         overlay with BufferView * parameter which calls this one.
16886         (getWord): added
16887         (selectWord): use new getWord function.
16888         (changeCase): renamed from changeWordCase as and extended to work
16889         also on selections.
16890
16891         * lyxtext.h: added enum word_location
16892
16893         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16894         changeCase as this operates now also on selections.
16895
16896 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16897
16898         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16899
16900         * many files: send debug output to Debug::INFO instead of
16901         Debug::ANY.
16902
16903         * converter.C (View):
16904         (Convert):
16905         (Move): send debug output to Debug::FILES instead of console.
16906
16907 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16908
16909         * lyxfunc.C (getStatus): use func_status
16910
16911         * func_status.h: new header, describing the results of
16912         LyXFunc::getStatus;
16913
16914         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16915         LFUN_MATH_HALIGN.
16916
16917 2001-06-25  The LyX Project  <jug@sad.it>
16918
16919         * buffer.C (sgmlOpenTag):
16920         (sgmlCloseTag):
16921         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16922
16923 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16924
16925         * text2.C: remove some dead code
16926
16927         * tabular.C (GetCellInset): store the last cell checked (gotten)
16928
16929         * tabular.h: add the helper for the speedup
16930
16931         * lyxtext.h: remove some dead code
16932
16933 2001-06-26  The LyX Project  <Asger>
16934
16935         * paragraph.C: Change export to LaTeX of alignment to
16936         \begin{center} and family for better roundtrip work with reLyX.
16937
16938         * Tune the math drawing a bit.
16939
16940 2001-06-25  The LyX Project  <Asger>
16941
16942         * LColor.C (LColor): New color for math background. New color
16943         for buttons.
16944
16945 2001-06-25  The LyX Project  <jug@sad.it>
16946
16947         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16948
16949         * lyxfunc.C (Open):
16950         * bufferlist.C (newFile): do not restrict to files ending with
16951         .lyx
16952
16953         * BufferView_pimpl.C (MenuInsertLyXFile):
16954
16955 2001-06-24  The LyX Project  <jug@sad.it>
16956
16957         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16958         of compare_no_case
16959
16960 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16961
16962         * lyxtext.h: rename most methods to begin with a small char.
16963         Lots of changes because of this.
16964
16965         * paragraph.C (Paragraph): do not call fitToSize
16966         (erase): call Pimpl::erase
16967         (insertChar): call Pimpl::insertChar
16968         (insertInset): call Pipl::insertInset
16969         (breakParagraph): do not call fitToSize
16970         (breakParagraphConservative): do not call fitToSize
16971         (fitToSize): remove method
16972
16973         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16974
16975 2001-06-24  The LyX Project  <Asger>
16976
16977         * Fix Qt compilation^2
16978
16979 2001-06-24  The LyX Project  <jug@sad.it>
16980
16981         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16982         depthHook(getDepth()-1).
16983
16984         * paragraph.h:
16985         * ParagraphParameters.h:
16986         * ParameterStruct.h: change type of depth to unsigned int ==
16987         depth_type. Many adaptations to other files before of that.
16988
16989 2001-06-24  The LyX Project  <Asger>
16990
16991         * Fix Qt compilation.
16992
16993 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16994
16995         * paragraph.h: renamed several methods to begin with small letter.
16996         several changes to many parts of the code because of this.
16997
16998 2001-06-23  The LyX Project  <jug@sad.it>
16999
17000         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17001         rewritten to discard all double spaces when KeepEmpty is off
17002         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17003         to only handle newlines but not fiddle with spaces and friends.
17004
17005         * lyxfunc.C (MenuNew): when doing 'new from template', use
17006         template_path as default directory
17007
17008 2001-06-23  The LyX Project  <Asger>
17009
17010         * Clean-up of header file includes all over
17011         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17012
17013 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17014
17015         * paragraph.h: renamed from lyxparagraph.h
17016
17017 2001-06-23  Asger  <lyx@violet.home.sad.it>
17018
17019         * Buffer.h: Removed Buffer::resize
17020         * BufferList.h: Removed BufferList::resize
17021         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17022         the document lazily when we change the width, or the font settings.
17023
17024 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17025
17026         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17027
17028 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17029
17030         * buffer.h: remove out of date comment
17031
17032 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17033
17034         * lyxscreen.h:
17035         * screen.C: fix "theoretical" GC leak
17036
17037 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17038
17039         * LaTeX.C (scanAuxFile):
17040         (deplog): remove trailing \r when reading stream (useful under
17041         win32)
17042
17043 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17044
17045         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17046         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17047         and BufferView::theLockingInset(Inset*), so should use them and not
17048         access bv_->text->the_locking_inset directly.
17049
17050         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17051
17052 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17053
17054         * Makefile.am:
17055         * tex-defs.h: remove old unused file
17056
17057 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17058
17059         * BufferView_pimpl.C: fix typo, remove minibuffer message
17060           when buffer has loaded
17061
17062 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17063
17064         * lyxfunc.C (Dispatch): use stringstream
17065         (MenuNew): use stringstream
17066         (Open): use stringstream
17067
17068         * importer.C (Import): use stringstream
17069
17070         * bufferview_funcs.C (CurrentState): use stringstream
17071
17072         * LaTeX.C (run): use stringstream
17073
17074         * BufferView_pimpl.C (savePosition): use stringstream
17075         (restorePosition): use stringstream
17076         (MenuInsertLyXFile): use stringstream
17077
17078 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17079
17080         * BufferView.C:
17081         * Bullet.C:
17082         * ColorHandler.C:
17083         * FontInfo.C:
17084         * FontLoader.C:
17085         * LColor.C:
17086         * LaTeXFeatures.C:
17087         * Painter.C:
17088         * gettext.C:
17089         * lyx_gui_misc.C:
17090         * lyxserver.C:
17091         * vspace.C: removed // -*- C++ -*- as first line.
17092
17093         * lyxfind.h:
17094         * version.h: added // -*- C++ -*- as first line.
17095
17096 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17097
17098         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17099
17100         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17101         of string
17102
17103 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17106         of floats.
17107
17108 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17109
17110         * gettext.C: include LString.h even when --disable-nls is on.
17111
17112 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17113
17114         * converter.h (Get): changed argument type from int to
17115         FormatList::size_type to avoid unnecessary conversion.
17116
17117         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17118         before using it.
17119
17120 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17121
17122         * gettext.h: include LString.h even when --disable-nls is on.
17123
17124 2001-06-07  Juergen Vigna  <jug@sad.it>
17125
17126         * text.C (BreakAgain): subst spaces with tabs.
17127
17128         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17129         (resizeInsetsLyXText): set force on resizeLyXText.
17130
17131 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * gettext.h (gettext_init):
17134         (locale_init): use a real definition instead of a macro
17135
17136 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17137
17138         * Bufferview_pimpl.C:
17139         * LColor.h:
17140         * LColor.C: further lcolor tidies
17141
17142 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17143
17144         * BufferView_pimpl.C (updateScrollbar): simplify.
17145
17146         * BufferView2.C: don't include insets/insetinfo.h, change
17147         prototype for insertInset and call the Pimpl version. let
17148         updateInset call Pimpl version.
17149
17150         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17151         gotoInset to BufferView::Pimpl
17152
17153 2001-06-01  Juergen Vigna  <jug@sad.it>
17154
17155         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17156         inside a LockingInset (is the update needed at all?).
17157
17158 2001-05-31  Juergen Vigna  <jug@sad.it>
17159
17160         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17161         here not the old one otherwise how should we compare it afterwards
17162         if it's the same!
17163
17164 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17165
17166         * lyxfont.C:
17167         * tabular.C:
17168         * tabular-old.C:
17169         * FontInfo.C: bring C functions into global namespace when
17170         necessary
17171
17172 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17173
17174         * LString.h: make sure config.h has been loaded before LString.h.
17175
17176         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17177         (one for each char read by EatLine!).
17178
17179         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17180         variables.
17181
17182 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17183
17184         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17185         to the same as the par we break from
17186
17187 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17188
17189         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17190
17191         * MenuBackend.C (expand): also create menu entries for wide
17192         versions of the floats.
17193
17194         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17195
17196         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17197
17198         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17199         frontends/Makefile.am
17200
17201         * text2.C: adjust
17202         * text.C: adjust
17203
17204
17205         * tabular.C (getTokenValue): add std::
17206
17207         * tabular-old.C (getTokenValue): add std::
17208         (getTokenValue): ditto
17209         (getTokenValue): ditto
17210
17211         * screen.C (ToggleSelection): adjust
17212
17213         * lyxtext.h: put selection cursors inside a Selection struct.
17214
17215         * lyxfunc.C (moveCursorUpdate): adjust
17216
17217         * lyxfont.C (latexWriteStartChanges): add std::
17218
17219         * lyxfind.C: adjust
17220
17221         * font.h: delete with(char const *, LyXFont const &)
17222
17223         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17224
17225         * FontInfo.C (getFontname): add std::
17226
17227         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17228         (workAreaButtonPress): adjust
17229         (tripleClick): adjust
17230         (update): adjust
17231         (moveCursorUpdate): adjust
17232         (Dispatch): adjust
17233
17234         * BufferView2.C (gotoInset): adjust
17235
17236 2001-05-30  Juergen Vigna  <jug@sad.it>
17237
17238         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17239         to check pspell I add this as default as I now have new pspell
17240         libraries and they seem to use this.
17241
17242 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * text2.C (CutSelection): make the cursor valid before the call to
17245         ClearSelection.
17246
17247 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17250         relied on 0 terminated strings and other horrors. Bug found due to
17251         the new assert in lyxstring!
17252
17253         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17254         KP_ keys.
17255
17256 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17257
17258         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17259         to latinkeys.bind.
17260
17261         * lyxfunc.C (processKeySym): change method of getting to the
17262         self-insert char.
17263
17264         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17265         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17266         * BufferView_pimpl.[Ch]: here as private methods.
17267
17268 2001-05-28  Juergen Vigna  <jug@sad.it>
17269
17270         * text.C (SetHeightOfRow): added the update() call again as it is
17271         needed to initialize inset dimensions!
17272
17273 2001-05-16  Juergen Vigna  <jug@sad.it>
17274
17275         * text2.C (SetCharFont): Add new function with BufferView * and
17276         bool toggleall parameters for setting insets internal fonts.
17277         (SetFont): Freeze the undo as we may change fonts in Insets and
17278         all this change should be inside only one Undo!
17279
17280         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17281         setting font's in insets as for them we have the SetFont function!
17282
17283 2001-05-15  Juergen Vigna  <jug@sad.it>
17284
17285         * text2.C (ClearSelection): to be sure we REALLY don't have any
17286         selection anymore!
17287
17288         * tabular.C (TeXCellPreamble): fixed the left border problem for
17289         multicolumn cells.
17290
17291 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17292
17293         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17294         dependancy file
17295
17296 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17297
17298         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17299         LFUN_BREAKPARAGRAPH.
17300
17301         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17302         help test to "internal only", similar for LFUN_INSERT_URL
17303
17304         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17305         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17306         auto_region_delete and deadkeys.
17307
17308 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17309
17310         * LColor.h:
17311         * LColor.C: remove some dead entries, tidy a little
17312
17313 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17314
17315         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17316         commented code.
17317         (Dispatch): implement LFUN_ESCAPE
17318
17319         * commandtags.h: add LFUN_ESCAPE
17320
17321         * LyXAction.C (init): add entry for LFUN_ESCAPE
17322
17323         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17324         Remove commented code.
17325         (insertNote): moved here
17326         (open_new_inset): moved here
17327
17328         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17329         BufferView_pimpl
17330
17331 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17332
17333         * kbmap.C (findbinding): clean it up and make it work correctly.
17334
17335         * lyx_main.C (init): do not pass argc and argv as parameters
17336
17337 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17338
17339         * buffer.C: fix path for OS/2 & Win32
17340
17341         * lyx_gui.C:
17342         * lyx_main:
17343         * lyx_main.C: Added os:: class.
17344
17345         * os2_defines.h: update
17346
17347 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17348
17349         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17350         better by trying again with reduced state.
17351
17352 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17353
17354         * lyxrc.C (read): print error about invalid key sequence only when
17355         debugging (because not all latinX keysyms are known to some X
17356         servers)
17357
17358         * kbsequence.C (getiso): add a few std:: qualifiers
17359         (getiso): comment out extra return statement.
17360
17361 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17362
17363         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17364         handling.
17365         (Dispatch): enhance the accent inset a bit. (not perfect)
17366
17367 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17368
17369         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17370
17371 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17372
17373         * bufferlist.C (emergencyWrite): fix assert() call
17374
17375 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17376
17377         * text.C (InsertChar): Added trivial patch to only send the "you
17378         can not do multiple spaces this way" message once during a
17379         session.
17380
17381 2001-05-08  Baruch Even  <baruch@lyx.org>
17382
17383         * Makefile.am: Changed order of libraries to get LyX to link properly
17384         with the gnome frontend.
17385
17386 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17387
17388         * LaTeXFeatures.h: add a std:: qualifier
17389
17390 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17391
17392         * paragraph.C (String): use stringstream
17393
17394 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17395
17396         * paragraph.C (writeFile): remove footflag arg
17397
17398         * buffer.C (makeLaTeXFile): use stringstream
17399         (latexParagraphs): remove footnot gurba
17400
17401         * LaTeXFeatures.C (getPackages): use stringstream
17402         (getMacros): likewise
17403         (getTClassPreamble): likewise
17404         (getFloatDefinitions): new method
17405
17406         * paragraph.C (writeFile): reindent
17407         (Erase): reindent
17408
17409         * WorkArea.h: revert the xpos + etc changes.
17410
17411         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17412
17413         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17414
17415         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17416         (pasteSelection): likewise
17417         * text2.C (CreateUndo): likewise
17418
17419 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17420
17421         * minibuffer.C (peek_event): temporarily reduce the functionality
17422         of the minibuffer (to allow args on lfuns)
17423
17424         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17425         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17426
17427         * buffer.C (readInset): add compability reading of old float
17428         lists, add reading of new style float list.
17429         (readInset): avoid reevaluation of inscmd.getCmdName()
17430         (getLists): reindent
17431
17432         * MenuBackend.C (MenuItem): implement parsing of
17433         md_floatlistinsert and md_floatinsert.
17434         (expand::LastFiles): move initalizaton of iterators out of loop,
17435         avoid reevaluation.
17436         (expand::Documents): introduce typdedef vector<string> Strings,
17437         and use it.
17438         (expand::ExportFormats): introduce typedef vector<Format const *>
17439         Formats, and use it.
17440         (expand): implement FloatListInsert and FloatInsert.
17441
17442         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17443         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17444         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17445
17446         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17447         handling.
17448         (Dispatch::LFUN_FLOAT_LIST): implement
17449
17450 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17451
17452         * LaTeX.C (run): Fix problem with --export code.
17453
17454 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17455
17456         * BufferView.[Ch] (workarea): removed.
17457         (getClipboard) new method; wrapper for workarea()->getClipboard()
17458
17459         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17460         bug.
17461
17462         * WorkArea.h (width, height, xpos, ypos): These methods all
17463         returned the dimensions of the work_area sub-area of WorkArea,
17464         resulting in a position error if the WorkArea were resized. Now
17465         return the dimensions of the entire WorkArea.
17466
17467         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17468
17469 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17470
17471         * LaTeX.C (deplog): correct the syntax of regex reg1
17472
17473 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17474
17475         * undo.C: remove !NEW_INSETS cruft
17476
17477 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17478
17479         * text2.C: remove !NEW_INSETS cruft
17480
17481         * text.C: remove !NEW_INSETS cruft
17482
17483         * tabular.C: remove !NEW_INSETS cruft
17484
17485         * spellchecker.C: remove !NEW_INSETS cruft
17486
17487         * lyxtext.h: remove !NEW_INSETS cruft
17488
17489         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17490
17491         * lyxfunc.C: remove !NEW_INSETS cruft
17492
17493         * lyxfind.C: remove !NEW_INSETS cruft
17494
17495         * lyx_cb.C: remove !NEW_INSETS cruft
17496
17497         * figureForm.C: remove  !NEW_INSETS cruft
17498
17499         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17500
17501         * buffer.[Ch]: remove !NEW_INSETS cruft
17502
17503         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17504
17505         * CutAndPaste.C: remove !NEW_INSETS cruft
17506
17507         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17508
17509         * BufferView2.C: remove !NEW_INSETS cruft
17510
17511         * BufferView.h: remove !NEW_INSETS cruft
17512
17513 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17514
17515         * Lsstream.h: include LString.h before the sstream headers to
17516         fix problem with gcc 2.95.3 and lyxstring
17517
17518 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17519
17520         * lyx_main.C: add using directives when needed for C functions
17521         declared in std:: namespace.
17522
17523 2001-04-27  Juergen Vigna  <jug@sad.it>
17524
17525         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17526         (SetHeightOfRow): comment out the update call should not be needed!
17527
17528 2001-04-13  Juergen Vigna  <jug@sad.it>
17529
17530         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17531         (LyXTabular): tried to minimize operator= operations (and realized
17532         hopfully Lars wish).
17533
17534 2001-04-27  Juergen Vigna  <jug@sad.it>
17535
17536         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17537
17538 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17539
17540         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17541
17542         * buffer.C (readInset): hack to make listof algorithm work
17543
17544         * BufferView_pimpl.C: hack to make listof algorithm work
17545
17546 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17547
17548         * LyXAction.C: removed all !NEW_INSETS cruft
17549         (init): moved lfun_item in method
17550
17551         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17552
17553 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17554
17555         * BufferView2.C (theLockingInset): white space.
17556
17557 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17558
17559         * minibuffer.C: include <iostream>
17560
17561         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17562
17563         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17564
17565         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17566
17567         * text.[Ch] (TransposeChars): new method
17568
17569 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17570
17571         * call message directly through LyXView instead of through LyXFunc
17572         * BufferView2.C: adjust
17573         * BufferView_pimpl.C: adjust
17574         * FontLoader.C: adjust
17575         * buffer.C: adjust
17576         * bufferview_funcs.C: adjust
17577         * converter.C: adjust
17578         * figureForm.C: adjust
17579         * importer.C: adjust
17580         * lyx_cb.C: adjust
17581         * lyx_gui_misc.C: adjust
17582         * lyxfunc.C: adjust
17583         * lyxvc.C: adjust
17584         * text2.C: adjust
17585         + more files in subdirs
17586
17587         * lyxparagraph.h (size): move up int file
17588         (GetLayout): ditto
17589
17590         * adjust all uses of Assert to lyx::Assert.
17591
17592         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17593         lyxfunctional in namespace lyx
17594         * layout.C (hasLayout): ditto
17595         (GetLayout): ditto
17596         (GetLayout): ditto
17597         (delete_layout): ditto
17598         (NumberOfClass): ditto
17599         * converter.C (GetFormat): ditto
17600         (GetNumber): ditto
17601         (Add): ditto
17602         (Delete): ditto
17603         (SetViewer): ditto
17604         * bufferlist.C (getFileNames): ditto
17605         (emergencyWriteAll): ditto
17606         (exists): ditto
17607         (getBuffer): ditto
17608         * MenuBackend.C (hasSubmenu): ditto
17609         (hasMenu): ditto
17610         (getMenu): ditto
17611         * BufferView_pimpl.C (getInsetByCode): ditto
17612
17613 2001-04-18  Juergen Vigna  <jug@sad.it>
17614
17615         * vspace.C (asLatexString): fixed the 100% problem.
17616
17617 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17618
17619         * lyxfunc.C (Dispatch):
17620         * minibuffer.C:
17621         * minibuffer.h: add a few std:: qualifiers
17622
17623 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17624
17625         * minibuffer.[Ch]: reimplement so that commands is initiated and
17626         run from lyxfunc, simplified som handling, and made the completion
17627         and history code for complete. wip.
17628
17629         * lyxfunc.C (processKeySym): call message
17630         (miniDispatch): new temporary method
17631         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17632         (LFUN_MESSAGE): implement
17633         (LFUN_MESSAGE_PUSH): implement
17634         (LFUN_MESSAGE_POP): implement
17635         (initMiniBuffer): the initial/defualt minibuffer message.
17636
17637         * lyxfont.[Ch]: inline some more getters
17638
17639         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17640
17641         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17642
17643         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17644         (AutoSave): use LFUN_MESSAGE
17645         (Reconfigure): ditto
17646
17647         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17648
17649         * figureForm.C: use LFUN_MESSAGE
17650
17651         * converter.C (runLaTeX): use LFUN_MESSAGE
17652
17653         * bufferview_funcs.C: use LFUN_MESSAGE
17654         (Melt): ditto
17655         (changeDepth): ditto
17656
17657         * bufferparams.h: use boost::
17658
17659         * bufferlist.h: inherit privately from noncopyable
17660
17661         * bufferlist.C (loadLyXFile): remove some commented code.
17662
17663         * buffer.C (runChktex): use LFUN_MESSAGE
17664
17665         * ShareContainer.h: inherit privately from noncopyable
17666
17667         * ParagraphParameters.[hC] (depth): inline it.
17668
17669         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17670         methods.
17671         (message): new method
17672         (messagePush): ditto
17673         (messagePop): ditto
17674         (show): init minibuffer
17675         (showState): direct call
17676
17677         * LaTeX.[Ch]: inherit privately from noncopyable
17678         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17679         instead of WriteStatus.
17680
17681         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17682
17683         * BufferView_pimpl.C (buffer): don't init minibuffer
17684         (workAreaButtonPress): use LFUN_MESSAGE
17685         (workAreaButtonRelease): ditto
17686         (savePosition): ditto
17687         (restorePosition): ditto
17688         (MenuInsertLyXFile): ditto
17689         (workAreaExpose): don't init minibuffer
17690         (update): remove commented code, simplify
17691
17692         * BufferView2.C (openStuff): use LFUN_MESSAGE
17693         (toggleFloat): ditto
17694         (menuUndo): ditto
17695         (menuRedo): ditto
17696         (copyEnvironment): ditto
17697         (pasteEnvironment): ditto
17698         (copy): ditto
17699         (cut): ditto
17700         (paste): ditto
17701         (gotoInset): ditto
17702         (updateInset): remove some commented code
17703
17704         * lastfiles.h: inherit privately from noncopyable
17705         * layout.h: ditto
17706         * lyx_gui.h: ditto
17707         * lyx_main.h: ditto
17708         * lyxlex.h: ditto
17709         * lyxlex_pimpl.h: ditto
17710
17711         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17712         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17713         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17714
17715         * LyXAction.h: inherit privately from noncopyable, add methods
17716         func_begin, func_end, returning iterators to the func map.
17717
17718         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17719         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17720         (func_begin): new method
17721         (func_end): new method
17722
17723         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17724         and not)
17725         (copySelection): ditto
17726         (pasteSelection): ditto
17727
17728         * BufferView.C: whitespace change
17729         * BufferView.h: inherit privately from noncopyable
17730
17731 2001-04-16  Allan Rae  <rae@lyx.org>
17732
17733         * tabular-old.C (l_getline):
17734         * spellchecker.C (sc_check_word):
17735         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17736         an unrecognised preprocessor directive.  So ensure they're wrapped.
17737
17738 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17739
17740         * src/exporter.C (Export): Give an error message when path to file
17741         contains spaces.
17742
17743 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17744
17745         * LaTeX.C (deplog): Always check that foundfile exists.
17746
17747 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17748
17749         * lyx_main.h:
17750         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17751
17752 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17753
17754         * tabular.[Ch] (getLabelList): implement new method
17755
17756         * minibuffer.h: comment ouf setTiimer
17757
17758         * minibuffer.C (ExecutingCB): constify res
17759         (peek_event): constify s
17760         (Set): constify ntext
17761         (Init): constify nicename
17762
17763         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17764
17765         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17766         (savePosition): use two params to Minibuffer::Set
17767         (restorePosition): ditto
17768
17769 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17770
17771         * lyx_main.C: include language.h
17772
17773         * Makefile.am (lyx_main.o): add language.h
17774
17775 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17776
17777         * exporter.C:
17778         * paragraph.C:
17779         * screen.C:
17780         * tabular.C:
17781         * CutAndPaste.C: include gettext.h
17782
17783         * lyxfont.h: remove old hack with ON and OFF.
17784
17785         * lyxparagraph.h:
17786         * lyxfont.h: do not include language.h...
17787
17788         * BufferView2.C:
17789         * LaTeXFeatures.C:
17790         * Painter.C:
17791         * bufferview_funcs.C:
17792         * font.C:
17793         * lyxfont.C:
17794         * text.C:
17795         * text2.C:
17796         * trans_mgr.C:
17797         * paragraph.C: ... but do it here instead
17798
17799 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17800
17801         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17802
17803         * tabular.C: small reformat
17804
17805         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17806         NEW_INSETS version
17807         (GetChar): ditto
17808         (BreakParagraph): ditto
17809         (SetOnlyLayout): ditto
17810         (SetLayout): ditto
17811
17812         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17813         with one arg less.
17814
17815         * lastfiles.C: removed most using decl, add std:: where needed
17816
17817         * buffer.C: ws changes
17818
17819         * MenuBackend.C (class compare_format): put into anon namespace
17820         (expand): constify label, names, action, action2
17821         (expand):
17822
17823         * text.C (SingleWidth): constify font
17824         (IsBoundary): constify rtl2
17825         (GetVisibleRow): constify ww
17826
17827         * LaTeX.C (deplog): constify logfile
17828
17829         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17830         start_x, end_x
17831         (workAreaExpose): constify widthChange, heightChange
17832
17833         * lyxrow.C (par): moved
17834         (height): moved
17835         (next): moved
17836         * lyxrow.h: as inlines here
17837
17838         * lyxfont.h (shape): moved from lyxfont.C
17839         (emph): moved from lyxfont.C
17840
17841         * lyxfont.C (LyXFont): use initialization list for all
17842         constructors
17843         (shape): move to lyxfont.h as inline
17844         (emph): move to lyxfont.h as inline
17845
17846
17847 2001-04-04  Juergen Vigna  <jug@sad.it>
17848
17849         * vspace.C: had to include stdio.h for use of sscanf
17850
17851 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17852
17853         * BufferView.h:
17854         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17855         independent of xforms.
17856
17857 2001-04-02  Juergen Vigna  <jug@sad.it>
17858
17859         * spellchecker.C: fixed namespace placing!
17860
17861 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17862
17863         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17864         the LyXParagraph * is 0.
17865
17866 2001-03-29  Juergen Vigna  <jug@sad.it>
17867
17868         * vspace.C: added support for %, c%, p%, l%.
17869         (stringFromUnit): added helper function.
17870         (asLatexString): changed to give right results for the %-values.
17871
17872         * buffer.C: convert the widthp in a width%.
17873
17874 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17875
17876         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17877         figureForm.[Ch].
17878
17879         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17880         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17881
17882         * lyx_cb.[Ch]: see above.
17883
17884         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17885         form1.[Ch].
17886
17887         * form1.[Ch]:
17888         * lyx.[Ch]: replaced by figure_form.[Ch].
17889
17890         * lyx_gui.C:
17891         * lyx_gui_misc.C:
17892         * lyxfunc.C: changed headers associated with above changes.
17893
17894 2001-03-27  Juergen Vigna  <jug@sad.it>
17895
17896         * BufferView_pimpl.C: set the temporary cursor right!
17897
17898 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17899
17900         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17901
17902 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17903
17904         * LString.h: removed "using std::getline"!
17905
17906         * BufferView_pimpl.C (Dispatch): changes due to changes in
17907         InsetInclude::Params.
17908
17909         * buffer.C (tag_name): removed redundant break statements as they were
17910         producing lots of warnings with my compiler.
17911
17912 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17913
17914         * LString.h: add "using std::getline" when using the real <string>.
17915
17916 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17917
17918         * buffer.C: removed bitset usage.
17919         PAR_TAG moved to an anonymous name space.
17920         (tag_name): new funtion, also in the anonymous namespace.
17921         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17922         (makeDocBookFile): clean code. Completed transition from string arrays
17923         to string vectors.
17924         (SimpleDocBookOnePar): code clean.
17925
17926 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17927
17928         * tabular.C: add some comments.
17929
17930 2001-03-22  Juergen Vigna  <jug@sad.it>
17931
17932         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17933         compatibility read a bit and fixed bug with minipage in different
17934         depth.
17935
17936 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17937
17938         * buffer.C (pop_tag): removed.
17939         (push_tag): removed.
17940         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17941         array replaced with vector. Added support for CDATA sections.
17942         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17943         at any nest level.
17944         (makeDocBookFile): XML conformant declaration of CDATA section,
17945         fixed bug related to <emphasis> in the first paragraph char.
17946         (sgmlOpenTag): exclude empty tags.
17947         (sgmlCloseTag): ditto.
17948
17949         * buffer.h (pop_tag): removed.
17950         (push_tag): removed.
17951
17952 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17953
17954         * language.h (Languages): added size_type and size().
17955
17956 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17957
17958         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17959         response on compability reading of minipages. One probliem is that
17960         the old usage of minipages was flertydig
17961
17962         * several files here and in subdirs: don't use static at file
17963         scope use anon namespaces instead.
17964
17965 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17966
17967         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17968         LaTeX output. This is necessary for Literate document
17969         processing.
17970
17971 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17972
17973         * buffer.C: insert hfill when needed.
17974
17975         * tabular.C (l_getline): use string::erase, small whitespace change.
17976
17977         * BufferView_pimpl.C: try the anon namespace.
17978         * WorkArea.C: ditto
17979
17980 2001-03-16  Juergen Vigna  <jug@sad.it>
17981
17982         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17983         otherwise it won't open options-dialogs.
17984
17985         * buffer.C: honor pextraWidth(p) on converting minipages.
17986
17987         * tabular.C (l_getline): changed the functions to strip trailing \r.
17988
17989 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17990
17991         * BufferView_pimpl.C:
17992         * minibuffer..C: added "using SigC::slot" declaration.
17993
17994 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17995
17996         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17997
17998         * text2.C: ditto
17999
18000         * text.C: ditto
18001
18002         * paragraph.C: ditto
18003
18004         * lyxtext.h: NO_PEXTRA
18005
18006         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18007
18008         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18009         * ParameterStruct.h: ditto
18010         * ParagraphParameters.h: ditto
18011         * lyxparagraph.h: ditto
18012
18013 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18014
18015         * buffer.C: add compability for minipage alignment.
18016         (latexParagraphs): remove unwanted pextra check.
18017
18018         * several files: remove CXX_WORKING_NAMESPACES
18019
18020         * buffer.C (pop_tag): tie is in namespace boost
18021
18022         * BufferView.h: noncopyable is in namespace boost
18023         * lyxlex.h: ditto
18024         * lyx_main.h: ditto
18025         * lyx_gui.h: ditto
18026         * layout.h: ditto
18027         * lastfiles.h: ditto
18028         * bufferlist.h: ditto
18029         * ShareContainer.h: ditto
18030         * LyXView.h: ditto
18031         * LyXAction.h: ditto
18032         * LaTeX.h: ditto
18033
18034 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18035
18036         * Merging changes from BRANCH_MVC back into HEAD.
18037
18038         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18039
18040 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18041
18042         * BufferView_pimpl.C: change from intl.C
18043
18044         * combox.h:
18045         * combox.C:
18046         * Makefile.am: move combox.*
18047
18048         * form1.h:
18049         * form1.C:
18050         * lyx_gui.C:
18051         * intl.h:
18052         * intl.C: remove dialog (covered by prefs)
18053
18054 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18055
18056         * lyxfunc.C (Dispatch): removed redundant break statement.
18057
18058 2001-03-14  Juergen Vigna  <jug@sad.it>
18059
18060         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18061
18062 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18063
18064         * buffer.C: add hack to fix compability reading of minipages.
18065
18066 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18067
18068         * buffer.C (getLists): Cleanup.
18069
18070 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18071
18072         * lyxfont.C (update): don't honor toggleall on font size.
18073
18074 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18075
18076         * bmtable.c:
18077         * bmtable.h:
18078         * Makefile.am: moved to frontends/xforms/
18079
18080         * lyx_gui_misc.C:
18081         * lyxfunc.C:
18082         * BufferView_pimpl.C: changes for moved mathpanel
18083
18084 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18085
18086         * gettext.h: fix gettext_init() in --disable-nls
18087
18088 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18089
18090         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18091
18092 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18093
18094         * lyx.C:
18095         * lyx.h: strip external form
18096
18097 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18098
18099         * BufferView_pimpl.C: add comment, destroySplash()
18100
18101 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18102
18103         * BufferView_pimpl.C:
18104         * LyXAction.C:
18105         * buffer.C:
18106         * commandtags.h:
18107         * lyxfunc.C: use re-worked insetinclude
18108
18109 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18110
18111         * buffer.C: add using std::stringstream.
18112
18113         * lyx_cb.C: readd using std::ios.
18114
18115         * buffer.C: add using std::map.
18116
18117         * BufferView_pimpl.C: add using std::vector.
18118
18119         * ShareContainer.h: add std:: to swap.
18120
18121         * buffer.h: add some typedefs
18122         * buffer.C (getLists): use them
18123         (getLists): renamed from getTocList.
18124         add a counter for the different float types and use it in the
18125         generated string.
18126         (getLists): use the same counter for the NEW_INSETS and the "non"
18127         NEW_INSETS
18128
18129         * lyx_cb.h: remove unused items, includes, using etc.
18130
18131         * ShareContainer.h: remove some commented code, add more comments
18132         and "documentation".
18133
18134 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18135
18136         * buffer.C (getTocList): make the list also when NEW_INSETS is
18137         defined.
18138
18139         * buffer.h: remove TocType
18140
18141         * buffer.C (getTocList): change to return a map<string,
18142         vector<TocItem> >, implement for dynamic number of list.
18143
18144         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18145         * text2.C (PasteSelection): adjust
18146         * CutAndPaste.C (pasteSelection): adjust
18147
18148         * FloatList.C (FloatList): update from the new_insets branch.
18149         * Floating.[Ch]: ditto
18150         * LaTeXFeatures.C: ditto
18151         * buffer.C: ditto
18152         * lyxlex_pimpl.C: ditto
18153
18154         * paragraph.C (Last): remove when NEW_INSETS is defined.
18155
18156         * other file: changes because of the above.
18157
18158 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18159
18160         * lyxparagraph.h: rename next to next_, previous to previous_,
18161         make them private for NEW_INSETS. Rename Next() to next(),
18162         Previous() to previous().
18163
18164         * other files: changes because of the above.
18165
18166 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18167
18168         * BufferView.h:
18169         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18170         problem.
18171
18172 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18173
18174         * main.C (main): pass lyx_localedir to gettext_init().
18175
18176         * gettext.h: remove locale_init and gettext_init macros
18177
18178         * gettext.C (locale_init): new function
18179         (gettext_init): new function
18180
18181         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18182         setlocale().
18183
18184 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18185
18186         * Moved credits to frontends:
18187         * credits.[Ch]: removed
18188         * credits_form.[Ch]: removed
18189         * lyx_gui_misc.C: remove credits stuff
18190         * Makefile.am:
18191
18192 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18193
18194         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18195
18196         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18197         unneeded destructor.
18198
18199         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18200         a standalone pointer again.
18201
18202         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18203
18204 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18205
18206         * Makefile.am:
18207         * filedlg.h:
18208         * filedlg.C:
18209         * LyXAction.C:
18210         * ToolbarDefaults.C:
18211         * bufferlist.C:
18212         * commandtags.h:
18213         * form1.C:
18214         * form1.h:
18215         * lyx_cb.C:
18216         * lyx_cb.h:
18217         * lyxfunc.h:
18218         * lyxfunc.C:
18219         * BufferView_pimpl.C: use new file dialog in GUII
18220
18221         * lyx_cb.h:
18222         * lyx_cb.C: remove LayoutsCB to Toolbar
18223
18224 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18225
18226         * ShareContainer.h (get): add std:: qualifier
18227
18228 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18229
18230         * ShareContainer.h: define a proper ShareContainer::value_type
18231         type (and use typename to please compaq cxx)
18232
18233 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18234
18235         * lyxparagraph.h: move serveral local vars to
18236         ParameterStruct/ParagraphParameters., use ShareContainer in
18237         FontTable., make vars in FontTable private and add getter and
18238         setter.
18239
18240         * paragraph.C: changes because of the above.
18241
18242         * lyxfont.h: remove copy constructor and copy assignment. (the
18243         default ones is ok), move number inside FontBits. move inlines to
18244         lyxfont.C
18245
18246         * lyxfont.C: add number to initializaton of statics, move several
18247         inlines here. constify several local vars. some whitespace
18248         cleanup. Dont hide outerscope variables.
18249
18250         * Spacing.h: add two new constructors to match the set methods.
18251
18252         * ShareContainer.h: new file, will perhaps be moved to support
18253
18254         * ParameterStruct.h: new file
18255
18256         * ParagraphParameters.h: new file
18257
18258         * ParagraphParameters.C: new file
18259
18260         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18261         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18262
18263         * BufferView_pimpl.C: ParagraphParameter changes.
18264         * buffer.C: Likewise.
18265         * bufferview_funcs.C: Likewise.
18266         * text.C: Likewise.
18267         * text2.C: Likewise.
18268
18269 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18270
18271         * lyxfind.C (LyXReplace): do not redefine default argument in
18272         implementation.
18273         (IsStringInText): ditto
18274         (SearchForward): ditto
18275         (SearchBackward): ditto
18276
18277 2001-03-06  Juergen Vigna  <jug@sad.it>
18278
18279         * lyxfind.C (IsStringInText): put parentes around expressions.
18280
18281 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18282
18283         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18284
18285 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18286
18287         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18288
18289         * stl_string_fwd.h: add comment
18290
18291         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18292
18293         * tabular.h:
18294         * tabular.C: remove unused DocBook methods
18295
18296         * intl.C:
18297         * language.C:
18298         * paragraph.C:
18299         * buffer.C:
18300         killed DO_USE_DEFAULT_LANGUAGE
18301
18302 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18303
18304         * lyx_gui.C: do not include language.h.
18305
18306         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18307         arguments in function implementation.
18308
18309 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18310
18311         * BufferView_pimpl.C: add <ctime>
18312
18313 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18314
18315         * BufferView_pimpl.C: add using std::find_if
18316
18317 2001-02-27  José Matos  <jamatos@fep.up.pt>
18318
18319         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18320         by OnlyPath.
18321
18322 2001-02-11  José Matos  <jamatos@fep.up.pt>
18323
18324         * buffer.C (makeDocBookFile): command styles now have a parameter as
18325         "title" by default.
18326
18327 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18328
18329         * layout_forms.[Ch]: removed
18330         * lyx_cb.[Ch]: out character
18331         * lyx_gui.C: out character
18332         * lyx_gui_misc.C: out character
18333         * bufferview_funcs.C: : out character,
18334         added toggleall as parameter in ToggleAndShow
18335
18336 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18337
18338         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18339
18340         * text2.C (SetCurrentFont): Disable number property at boundary.
18341
18342 2001-02-26  Juergen Vigna  <jug@sad.it>
18343
18344         * lyxfunc.C (getStatus): added a string argument override function so
18345         that this is correctly called from LyXFunc::Dispatch if it contains a
18346         do_not_use_argument which is used!
18347         (Dispatch): added check for "custom" export and call appropriate func.
18348
18349 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18350
18351         * lyxrc.C: Add language_command_local, language_use_babel and
18352         language_global_options.
18353
18354         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18355
18356         * buffer.C (makeLaTeXFile): Use language_use_babel and
18357         language_global_options.
18358
18359 2001-02-23  Juergen Vigna  <jug@sad.it>
18360
18361         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18362         which works with LyXText and putted it inside BufferView. Here now we
18363         only call for that part the BufferView::Dispatch() function.
18364
18365         * BufferView.C (Dispatch): added.
18366
18367         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18368         functions which needs to use a LyXText over from LyXFunc.
18369         (MenuInsertLyXFile): added
18370         (getInsetByCode): added
18371         (moveCursorUpdate): added
18372         (static TEXT): added
18373
18374 2001-02-22  Juergen Vigna  <jug@sad.it>
18375
18376         * BufferView_pimpl.C (update): call a status update to see if LyXText
18377         needs it.
18378
18379 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18380
18381         * vc-backend.C (revert): implement for CVS
18382         (getLog): implement for CVS
18383
18384 2001-02-20  Juergen Vigna  <jug@sad.it>
18385
18386         * text2.C (ClearSelection): added BufferView param for inset_owner call
18387
18388         * lyxfunc.C (TEXT): added this function and use it instead of
18389         directly owner->view()-text of getLyXText().
18390
18391 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18392
18393         * src/layout_forms.C: out preamble
18394         * src/layout_forms.h: out preamble
18395         * src/lyx_cb.C: out preamble
18396         * src/lyx_cb.h: out preamble
18397         * src/lyx_gui.C: out preamble
18398         * src/lyx_gui_misc.C: out preamble
18399         * src/lyxfunc.C: connect with guii preamble
18400
18401 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18402
18403         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18404
18405 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18406
18407         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18408         whether to run bibtex.
18409
18410 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18411
18412         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18413
18414 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18415
18416         * Makefile.am (lyx_SOURCES): removed bibforms.h
18417
18418         * vspace.h: doxygen
18419
18420         * text.C (GetVisibleRow): make several local vars const
18421
18422         * tabular.C: small cleanup.
18423
18424         * lyxserver.C (callback): use compare instead of strncmp
18425
18426         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18427         inlines to after class or to paragraph.C
18428
18429         * lyxfont.h: remove friend operator!=
18430
18431         * converter.h: move friend bool operator< to non friend and after
18432         class def.
18433
18434         * combox.h: small cleanup
18435
18436         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18437         to inlines after class def.
18438
18439         * buffer.C (pop_tag): use string operations instead of strcmp
18440
18441         * bmtable.c: doxygen, small cleanup
18442
18443         * LaTeX.h: remove friend operator==
18444
18445 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18446
18447         * screen.C:
18448         * lyxrc.[Ch]:
18449         * lyxfunc.C:
18450         * lyxfont.[Ch]:
18451         * lyx_cb.C:
18452         * intl.[Ch]:
18453         * commandtags.h:
18454         * buffer.C:
18455         * WorkArea.[Ch]:
18456         * LyXAction.C:
18457         * BufferView_pimpl.C:
18458         * BufferView.[Ch]: remove cruft
18459
18460 2001-02-14  Juergen Vigna  <jug@sad.it>
18461
18462         * lyxfunc.C: removed #if 0 unused code
18463
18464         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18465
18466         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18467
18468         * text2.C (SetSelection): added a BufferView * parameter
18469
18470 2001-02-13  Juergen Vigna  <jug@sad.it>
18471
18472         * lyxfunc.C (Dispatch): fixed protected blank problem.
18473         * BufferView2.C (protectedBlank): added LyxText * parameter.
18474
18475         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18476         (AppendColumn): same as above for column_info.
18477
18478         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18479         (moveCursorUpdate): use a LyXText param for support of InsetText.
18480
18481         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18482         (tripleClick): ditto
18483
18484         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18485
18486         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18487
18488         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18489
18490         * text2.C (SetSelection): set correct update status if inset_owner
18491         (ToggleFree): ditto
18492
18493 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18494
18495         * tabular.C: remove some commented code.
18496
18497 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18498
18499         * BufferView_pimpl.C: call hideSplash()
18500
18501         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18502
18503         * include_form.h:
18504         * bibforms.h: remove
18505
18506         * lyxfunc.C:
18507         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18508           add LFUN_CHILD_CREATE
18509
18510         * counters.h: fix tiny typo
18511
18512         * lyx_cb.C:
18513         * lyx.h:
18514         * lyx_gui.C:
18515         * lyx.C: move splash to frontends/xforms/
18516
18517         * lyx_gui_misc.C: move Include and Bibform to frontends
18518
18519         * lyxvc.h: clarify comment
18520
18521         * vspace.C: tiny housekeeping
18522
18523 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18524
18525         * text.C (PrepareToPrint): RTL Fix.
18526
18527         * paragraph.C (GetUChar): New method.
18528         (String):  Use GetUChar.
18529
18530         * buffer.C (asciiParagraph): Use GetUChar.
18531
18532 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18533
18534         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18535
18536 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18537
18538         * buffer.h:
18539         * buffer.C: rename to getLogName(), handle
18540           build log / latex log nicely
18541
18542 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18543
18544         * MenuBackend.C:
18545         * MenuBackend.h: remove support for reference menuitem type.
18546
18547 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18548
18549         * BufferView_pimpl.C: housekeeping
18550         * BufferView_pimpl.h:
18551         * LyXView.h:
18552         * Makefile.am:
18553         * Timeout.C:
18554         * Timeout.h:
18555         * minibuffer.h: move Timeout GUI-I
18556
18557 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18558
18559         * lyxrc.C (read): Update converters data-structures.
18560
18561 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18562
18563         * LaTeX.h (operator!=): add operator != for Aux_Info
18564
18565 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18566
18567         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18568
18569         * LaTeXLog.C: deleted, useful code moved to Buffer
18570
18571         * buffer.h:
18572         * buffer.C: new function getLatexLogName()
18573
18574         * lyx_gui_misc.C:
18575         * lyx_gui.C:
18576         * lyxvc.C:
18577         * lyxvc.h:
18578         * lyxfunc.C: use frontends for LaTeX and VC logs
18579
18580 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18581
18582         * LaTeX.h: yet another std:: that Allan forgot.
18583
18584         * Variables.C (set): renamed from isset(), because this clashes
18585         with some HP-UX macros (grr).
18586
18587 2001-02-06  Allan Rae  <rae@lyx.org>
18588
18589         * LaTeX.h: Another bug fix.  Missing std:: this time.
18590
18591 2001-02-04  Allan Rae  <rae@lyx.org>
18592
18593         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18594         floats problem. I've left it commented out because it's not quite
18595         correct.  It should also test that the current object is a table or
18596         figure inset.  But I haven't gotten around to figuring out how to do
18597         that.  I *think* it'll be something like: "table" == inset.type()
18598
18599         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18600         bool.
18601
18602 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18603
18604         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18605         all the citation/databases/styles in the auxilary file.
18606         (run): Rerun latex if there was a babel language error.
18607
18608 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18609
18610         * text.C (Backspace): Preserve the font when changing newline char
18611         with a space.
18612         (BreakParagraph): If the cursor is before a space, delete the space.
18613
18614         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18615
18616 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18617
18618         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18619         new argument (code).
18620         (ChangeCitationsIfUnique): New method.
18621
18622         * paragraph.C (GetPositionOfInset): Handle bibkey.
18623
18624 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18625
18626         * BufferView_pimpl.h: change type of Position::par_pos to
18627         LyXParagraph::size_type.
18628
18629 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18630
18631         * BufferView_pimpl.C (savePosition, restorePosition): Write
18632         messages to minibuffer.
18633
18634 2001-01-28  José Matos  <jamatos@fep.up.pt>
18635
18636         * buffer.C (makeDocBookFile): adds support for document language.
18637         A silly restriction on the name of LatexCommand types where removed.
18638         Added support for CDATA sections, allows to chars unescaped, used
18639         among others in code, to avoid escape < and >.
18640
18641 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18642
18643         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18644         saved positions instrad of a stack. Furthermore, a position is
18645         stored using paragraph id/paragraph position.
18646
18647         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18648         Remove LFUN_REF_BACK.
18649
18650 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18651
18652         * converter.C (dvipdfm_options): New method.
18653
18654 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18655
18656         * vspace.C (isValidLength): Fix for empty input string.
18657
18658 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18659
18660         * LyXAction.C (init): change description of LFUN_FIGURE to
18661         "Insert Graphics"
18662
18663 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18664
18665         * LaTeX.C: add using directive
18666
18667 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18668
18669         * MenuBackend.C (expand): Fix the sorting of the formats.
18670
18671 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18672
18673         * lyx_main.C: tiny error message fix
18674
18675 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18676
18677         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18678         calling fl_initialize(). This fixes the problem with ',' as
18679         decimal separator in text files.
18680
18681 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18682
18683         * trans.C (process): Fix the keymap bug.
18684
18685 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18686
18687         * LaTeX.C (scanAuxFiles): New method. Provides support for
18688         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18689         (scanLogFile) Scan for "run BibTeX" messages.
18690
18691         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18692         OT1 font encoding. Also, load the aecompl package if the ae
18693         package is loaded.
18694
18695         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18696
18697 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18698
18699         * texrow.C (increasePos): turn two error messages into debug
18700         messages.
18701
18702 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18703
18704         * LaTeX.C (scanAux): Handle the \@input macro.
18705         (runBibTeX): Use scanAux().
18706
18707         * language.C (latex_options_): New field.
18708
18709         * LaTeXFeatures.C (getMacros): Add language macros.
18710
18711         * buffer.C (makeLaTeXFile): Small fix.
18712
18713 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18714
18715         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18716
18717         * text2.C: add a using directive.
18718
18719 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18720
18721         * BufferView2.C:
18722         * lyx_gui_misc.h:
18723         * lyxfr1.C:
18724         * lyxfunc.C: kill LyXBell.
18725
18726 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18727
18728         * text.C (IsBoundary): Remove the error message
18729
18730         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18731
18732         * lyxrc.C (setDefaults): Correct initialization value for
18733         font_norm_type.
18734
18735 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18736
18737         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18738         gotoError().
18739
18740         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18741         and GotoNextNote().
18742
18743         * src/LyXAction.C: Added reference-next.
18744
18745         * text.C (InsertChar): Use contains instead of strchr.
18746
18747         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18748
18749 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18750
18751         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18752         alignment commands (when needed).
18753
18754         * text.C (InsertChar): Add ':' to number separator chars.