]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
The speed patch: redraw only rows that have changed
[lyx.git] / src / ChangeLog
1 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * RowList_fwd.h:
4         * paragraph.C:
5         * paragraph.h:
6         * rowpainter.C: Speed up rendering by only re-painting rows that
7         have changed. When selection or whole-screen update active, all rows
8         are repainted, as are all rows within insets.
9
10 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
11
12         * version.C.in: Use PACKAGE_VERSION instead of VERSION
13
14 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
15
16         * tabular.C (toggleFixedWidth): Use default layout of text class
17         instead of hardcoded "Standard"
18
19 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
20
21         * lyxfunc.C (dispatch): do not call getStatus again to determine
22         whether a lfun is disabled (bug 2172).
23
24 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
25
26         * cursor.C (macroModeClose): set the cursor inside the new math
27         atom if relevant (think \frac{}{}) (bug 2034)
28
29 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
30
31         * lyxtext.h:
32         * text.C:
33         * text3.C (Delete, backspace): force update when merging paragraphs
34
35 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * BufferView.C (mouseSetCursor): clear the selection properly (bug
38         2163). 
39
40 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
41
42         * text.C (redoParagraph): honor inset->noFontChange()
43         * rowpainter.C (paintInset): ditto
44
45 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * lyx_main.C (priv_exec): don't initialize Math on startup 
48         (initMath() has been moved to math_hullinset).
49
50 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
51
52         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
53         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
54         * paper.h: dispose dead PAPER_PACKAGES enum.
55
56 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
59         without X support.
60
61 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
62
63         * exporter.C (Export): Don't try to copy a file if it does not exist
64         (bug 1888)
65
66 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * text2.C (makeFontEntriesLayoutSpecific): remove.
69         (setLayout): adapt.
70
71         * text.C (insertChar): remove bogus caching of fonts (did not do
72         anything). 
73
74         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
75         ALL_SANE). (bug 2146)
76
77 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * rowpainter.C (paintFirst): fix centering of
80         LABEL_CENTERED_TOP_ENVIRONMENT. 
81
82 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * BufferView.C (mouseSetCursor): new method. Calls
85         deleteEmptyParagraphMechanism if necessary.
86
87         * lyxtext.h: make deleteEmptyParagraphMechanism public.
88
89         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
90         BufferView::mouseSetCursor (bug 2109).
91         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
92
93 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
94
95         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
96         do not remove it (this inset behaves differently from the others).
97
98 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         Fix bug 2096.
101         
102         * BufferView_pimpl.C (getStatus): it is only possible to insert a
103         file in a text inset.
104
105         * buffer.C (readDocument): remove pit argument and code releated
106         to it; set the inset owner correctly (unrelated, but useful).
107         (readFile): get rid of pit argument.
108
109         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
110         textclass instead of a selection index.
111         (pasteParagraphList): new function.
112         (pasteSelection): make it a wrapper around pasteParagraphList.
113
114         * BufferView_pimpl.C (MenuInsertLyXFile): use
115         cap::pasteParagraphList to insert a file.
116
117 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
118
119         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
120
121 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
122
123         * exporter.C: fix typo in text message
124
125 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * text2.C (setLayout): move recUndo call to other setLayout method
128         * tabular.C (toggleFixedWidth): new, handle cell width changes
129         * tabular.C (setColumnPWidth): move some code from insettabular.C here
130         and use toggleFixedWidth
131         * tabular.C (setMColumnPWidth): ditto
132
133 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
134
135         * paragraph.C (asString): use new inset->textString method (fix
136         bug 2089) 
137
138 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * CutAndPaste.C (numberOfSelections): new helper function.
141
142         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
143
144         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
145         LyXFunc::getStatus; implement LFUN_PASTE.
146
147 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * dociterator.[Ch]: new member realInset() that returns the cell
150         for tabulars and the inset for the rest (bug 1952).
151         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
152         (bug 1952).
153
154 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
157
158 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * lyxfunc.C:
161         * paragraph.C:
162         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
163         argument.
164
165 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
168         line after typing ctrl-enter
169
170 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
173         math insets do not return a proper editable() state yet (bug 2124).
174
175 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
178         docs containing very large paragraphs.
179
180 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
181
182         * cursor.C (selectionBegin, selectionEnd):
183         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
184         cursor at different depths.
185
186 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
187
188         * bufferview_funcs.C (coordOffset): do not call cursorPos
189         for collapsed collapsables (fix bug 2094).
190
191 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * paragraph.C (fontSpan): make sure that the FontSpan does not
194         span across beginOfBody (bug 1947).
195
196 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
199
200 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
201
202         * messages.C: fix crash and localization on MinGW/Windows platform
203
204 2005-11-02  Angus Leeming  <leeming@lyx.org>
205
206         * Bidi.C:
207         * lyxtextclass.C: trivial fixes to some MSVS warnings.
208
209 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * text3.C (getStatus): re-enable disabled code. (bug 2081)
212
213         * BranchList.h (empty): constify.
214
215 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * text3.C (getStatus): 
218         * MenuBackend.C (expandBranches): take the branch list from the
219         master document (bug 2092).
220         
221         * MenuBackend.C (expandBranches): 
222         * bufferparams.C (writeFile): use BranchList type.
223
224 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * text3.C (dispatch, getStatus): 
227         * LyXAction.C (init): 
228         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
229
230 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
233
234 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
235
236         * text.C (insertChar): do not reset boundary (bug 2061)
237
238 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * dociterator.C (updateInsets): new method. Updates the inset_
241         cache of all the slices of the iterator.
242
243         * text2.C (deleteEmptyParagraphMechanism): compare also containing
244         insets when comparing pit/pos; pass the right cursor to
245         recordUndo; when a paragraph has been deleted, compare `old.top()' to
246         the right cursor slice of `cur'; use updateInsets on cur to make
247         sure that the inset caches are correct; general cleanup.
248
249 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
252         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
253         containg inset. If this does not work, the same command will be
254         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
255
256         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
257         a dispatch.
258
259 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * lyxtextclass.C (Read): convert layout file if the format is wrong
262         * lyxtextclass.C (layout2layout): new, needed for the above
263
264 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * messages.C: do not forget to include <cerrno>.
267
268 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
269
270         * dociterator.h (StableDocIterator): add access to pos().
271         * undo.C (samePar): new method to check if two
272         iterators are in the same paragraph
273         * undo.C (recordUndo): check for samePar instead of cell identity
274         (which includes pos() and is too strict) (fixes bug 2097)
275
276 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * text.C (setCursorFromCoordinates): return a bool telling whether
279         dEPM triggered.
280
281         * text3.C (cursorPrevious): update if needed after
282         setCursorFromCoordinates (when dEPM triggered).
283
284         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
285         (otherwise the anchor may be completely wrong and make dEPM assert).
286
287 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
288
289         * buffer.C: version upgrade to 245.
290         * bufferparams.C: remove \quotes_times (bug 2090).
291         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
292         quotation marks as default.
293
294 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
295
296         * CutAndPaste.C (nrOfParagraphs): remove (unused)
297         * CutAndPaste.C (cutSelection): Remove debug message
298         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
299         undo information and only copy if this is a real cut
300         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
301         call
302         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
303         (bug 2059)
304         * CutAndPaste.C (eraseSelection): prevent cursor corruption
305         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
306         superflous cur.selection() setting
307         * CutAndPaste.[Ch] (grabSelection): take a const cursor
308         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
309
310 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
313         change anything.
314
315 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
316
317         * BufferView_pimpl.C: comment layout change
318
319 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
320
321         * LyXAction.C:
322         * lfuns.h:
323         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
324         by bibliography managers (bug 2071).
325
326 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
327
328         * BufferView_pimpl.C (update): choose arguments to update call so
329         that single-par update works most times
330         * text3.C (dispatch): carefully tune updating separately for
331         whole-screen and current-paragraph
332         * rowpainter.C (paintText): 1) replace painting by caching for
333         the two extra paragraphs, because we can;
334         2) suppress greying out of areas below/above drawn area in case of
335         single-par refresh
336         * lyxfunc.C (dispatch): remove superfluous update
337         * LyXAction.[Ch]: introduce SingleParUpdate
338
339 2005-10-05  Angus Leeming  <leeming@lyx.org>
340
341         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
342         always initialised before use.
343
344         * text.C (setHeightOfRow): squash warning about comparison
345         of signed and unsigned types.
346
347 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
348
349         * text.C (cursorX): two fixes involving RtL text drawing
350
351 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
354         items, not only large ones (part of bug 2057)
355
356 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
359         argument, use "newcommand".
360
361 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
362
363         * cursor.C (setSelection): do not open collapsable insets;
364         the insets do by themselves now (autoopen).
365
366 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
367
368         * buffer.C: format is up to 244.
369
370 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
371
372         * text.C (redoParagraph): fix calcultation of inset width wrt 
373         leftMargin (bug 1957).
374
375         * text3.C (dispatch): leave inset to the right when hitting ESC 
376         (bug 2034).
377
378 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         * text2.C: 
381         * text.C: 
382         * factory.C:
383         * messages.C: include <boost/current_function.hpp> 
384
385 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
388         when command is internal. (bug 1941)
389
390 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * text2.C (cursorRight): do not honor boundary when at the end of
393         a paragraph. (bug 2010 again)
394
395 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
398
399 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
400
401         * rowpainter.C (paintText): fix RtL space width display bug (2029)
402
403 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * text2.C (setCursor): remove the unused 'boundary' parameter for
406         the CursorSlice version; adapt the LCursor version.
407
408         * lyxrc.C (write): 
409         * paragraph_pimpl.C (markErased): 
410         * cursor.C (bruteFind2, bruteFond3): fix warnings.
411
412 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
415         as is already done for "chapter".
416
417 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
420         textclass; do not record undo if nothing is changed.
421
422 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
423
424         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
425
426 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
427
428         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
429
430 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
433         combox, it is necessary to search for the topmost paragraph in the
434         cursor stack (bug 1926)
435
436 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
439         end of paragraph. (bug 2010)
440
441 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
442
443         * text.C (leftMargin): check for inInset == 0
444
445 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
446
447         * text.C (leftMargin): test for insetbase's new neverIndent()
448         bool instead of listing each and every inset that does not
449         wish par indendation.
450
451 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * buffer_funcs.C (setCounter): put the code to compute enum label
454         here (where it belongs).
455
456         * counters.C (enumLabel): move code to buffer_funcs.C.
457
458 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
459
460         * outputparams.[Ch]: store local_font instead of local_language
461         * paragraph.C (simpleTeXOnePar): adapt to the change above
462
463 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
464
465         * buffer_funcs.C:
466         * counters.[Ch]: clean up special code for Hebrew.
467
468 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
471         than 2.
472
473 2005-09-08  Angus Leeming  <leeming@lyx.org>
474
475         * ispell.C:
476         * lyxrc.C: correct grammar describing invocation of the
477         spellchecker.
478
479 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * text.C (read): remove unused variable.
482         (readParToken): remove static Change variable (never good in
483         recursive settings...); add it as a parameter instead.
484
485         * paragraph_pimpl.C (acceptChange): make debug info conditional.
486
487         * metricsinfo.C (PainterInfo): add new member erased_.
488
489         * rowpainter.C (RowPainter): add erased_ member, initialized from
490         PainterInfo. 
491         (paintInset): pass erased_ to Inset::draw.
492
493         * lyxfunc.C (lookupChange): new function. Tells whether change 
494         tracking is disabled at a given postion.
495         (getStatus): disable some actions when in deleted text with change
496         tracking. 
497
498 2005-08-03  John Levon  <levon@movementarian.org>
499         
500         * tabular.C (appendColumn, setMultiColumn): adapt to change to
501         InsetText::clear().
502
503         * paragraph_pimpl.C (markErased): add bool argument and handle it.
504         Also make sure to mark insets recursively.
505         (rejectChange, erase): be recursive
506
507         * paragraph.C (markErased): add bool argument.
508 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * lyxfind.C (findNextChange): tiny cleanup.
511
512         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
513         change tracking with the cursor in an inset; make sure the first
514         change is not skipped.
515
516 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
517
518         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
519         tabularStackDirty to work around bug 1919 (tabular needs
520         to know whether its own cell paste buffer or the one of 
521         texted is newer.
522         * CutAndPaste.C: mark tabular_stack_ clean after copy.
523
524 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
525
526         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
527
528 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
529
530         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
531         use old deleteion algorithm when changetracking is on.
532
533 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * messages.C (get): add debug output.
536
537 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
538
539         * text.C (cursorX): fix bug 1965: cursor movement at
540         line end broken in RtL.
541         (drawSelection): fix bug 1970: drawing of single-line 
542         selection broken for RtL.
543
544 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         bug 465.
547
548         * dociterator.h (clear, push_back, pop_back): change from
549         protected to public.
550
551         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
552         and changed to just return the value of the item depth; take a
553         ParIterator as argument; take the itemdepth at outer nesting level
554         in account if necessary; cleanup and comment the code.
555         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
556         and changed to just return true if reset is needed; take a
557         ParIterator as argument; cleanup and comment the code.
558         (setCounter): adapt to above changes.
559
560 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * text3.C (dispatch): make debug message optional
563
564 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
567         inset. (bug 1963)
568
569 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
572
573 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
574
575         * text.C (insertChar):
576         * text2.C (deleteEmptyParagraphMechanism): take care whether 
577         a blank has been deleted (in change tracking mode) (bug 1254).
578
579 2005-07-20  John Levon  <levon@movementarian.org>
580
581         * text2.C (insertStringAsLines): remove old dubious code,
582         fixing bug 1939.
583
584 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * MenuBackend.C (expandToc): use Floating::listName() as title of
587         the floats submenus.
588
589 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
590
591         * toc.[Ch]: Do not use translatable strings (bug 1870).
592
593 2005-07-20  John Levon  <levon@movementarian.org>
594
595         * tabular.C: fix 1748 - setting multicolumn adds
596           left line to the first cell
597
598 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
599
600         bug 1920
601         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
602         pars in one go.
603
604 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
605
606         * messages.C: supress some lyxerr messages
607
608 2005-07-18  Juergen Vigna  <jug@lyx.org>
609
610         * text.C (drawSelection): honor boundary when asking for cursorX.
611
612 2005-07-17  José Matos  <jamatos@fc.up.pt>
613
614         * tabular.C (recalculateMulticolumns): fix handling of one column
615         tables.
616
617 2005-07-17  Juergen Vigna  <jug@lyx.org>
618
619         * text.C (Delete, backspace): fixed so that paragraph with the
620         same layout can be merged by Delete/Backspace.
621
622 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
623
624         * text.C (readParToken): fix spelling.
625
626 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * text2.C: fix counter update for DEPM problem reported by
629         Georg Baum
630
631 2005-07-17  Juergen Vigna  <jug@lyx.org>
632
633         * BufferView_pimpl.C (setBuffer): save/restore the
634         cursor/selection when switching buffers
635
636         * buffer.h: 
637         * buffer.C (saveCursor): add saveDocumentIterators to save the
638         cursor when switching buffer.
639
640 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
641
642         * debug.C: fix typo
643         * buffer.C: clarify message
644         
645 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
646
647         * dociterator.C (DocIterator): fix initialization order
648
649 2005-07-17  Juergen Vigna  <jug@lyx.org>
650
651         * text2.C (cursorHome): 
652         * text.C (drawSelection, cursorX): 
653         * dociterator.C (textRow): add boundary to getRow() call
654
655         * paragraph.C (getRow): implementation of below
656
657         * paragraph.h: add parameter boundary for getRow() function
658
659 2005-07-17  José Matos  <jamatos@fc.up.pt>
660
661         * buffer.C:
662         * bufferparams.[Ch]:
663         * tex-strings.[Ch]: new file format, remove support for a4.sty,
664         a4wide.sty and a4widemargins.
665
666 2005-07-17  Juergen Vigna  <jug@lyx.org>
667
668         * text2.C (cursorLeft): fix one of error
669
670 2005-07-17  Juergen Vigna  <jug@lyx.org>
671
672         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
673                    cursorEnd):
674         more fixes for boundary handling
675
676         * text3.C (dispatch): don't reset cursor if boundary has changed
677         on cursor movement.
678
679 2005-07-16  Juergen Vigna  <jug@lyx.org>
680
681         * text2.C (getColumnNearX): hopefully got it right now,
682         check if we are on column 0 for special case.
683
684 2005-07-16  Juergen Vigna  <jug@lyx.org>
685
686         * text2.C (getColumnNearX): handle special case Newline Inset
687
688         * text.C (singleWidth): Just remove bogus check
689
690 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
691
692         * funcrequest.C (split): avoid reading uninitialized char c
693
694 2005-07-16  José Matos  <jamatos@fc.up.pt>
695
696         * buffer.C:
697         * converter.C:
698         * lyxrc.C:
699         * paper.h:
700         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
701         single papersize variable.
702
703 2005-07-16  Juergen Vigna  <jug@lyx.org>
704
705         * text3.C (dispatch): honor boundary when checking if a cursor
706         movement has been done
707
708         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
709         (setCursor, setCursorIntern): fix cursor movement with boundary
710
711 2005-07-16  Juergen Vigna  <jug@lyx.org>
712
713         * text.C (currentState): output the actual Boundary
714
715 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * factory.C (createInset): fix bad logic for tabular creation
718
719 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
720
721         * lyx_main.C (init): change some reLyX reference to tex2lyx
722
723 2005-07-16  Juergen Vigna  <jug@lyx.org>
724
725         * dociterator.C (DocIterator): initialize boundary
726
727 2005-07-16  Juergen Vigna  <jug@lyx.org>
728
729         * text2.C (getColumnNearX): Consider rows without trailing blank.  
730
731 2005-07-16  André Pönitz  <poenitz@gmx.net>
732
733         * lyxfont.h: Change order of declarations to give the compiler
734         a better chance to inline things
735
736         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
737         questions on unsaved docs for better scritability
738
739 2005-07-16  André Pönitz  <poenitz@gmx.net>
740
741         * paragraph.h (getChar): remove asserts as the same kind of security
742         can be achieved by using a suitable standard library implementation
743         and the function was in the critical path (25.9% in profiler)
744
745 2005-07-16  Juergen Vigna  <jug@lyx.org>
746
747         * cursor.C (bruteFind2):
748         * bufferview_funcs.C (coordOffset): 
749         * text.C (cursorX,cursorY): Handle cursor position after last char
750         in row before a inset which uses a whole row.
751
752 2005-07-15  José Matos <jamatos@lyx.org>
753
754         * output_plaintext.[Ch] (writeFileAscii): control reference title
755         printing.
756         (asciiParagraph): noparbreak was already deal and was incorrectly
757         used.
758
759 2005-07-15  Juergen Vigna <jug@lyx.org>
760
761         * lyxfunc.C (dispatch): save and restore the cursor after a
762         textclass switch.
763
764 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
765
766         * text.C (backspace): bug 806 for empty keepempty paragraphs we
767         change the layout to default before letting DEPM do its thing.
768
769         * paragraph_funcs.C (breakParagraph): dont reset the layout on
770         keepEmpty paragraphs
771
772         * text.C (setCursorFromCoordinates): add a debug statement
773
774         * text2.C (getColumnNearX): bug 1825 make sure that we don't
775         return a pos that is not on the row
776
777         * output_latex.C (TeXDeeper): get rid of potential dereferencing
778         of past the end iterator
779
780 2005-07-14  André Pönitz  <poenitz@gmx.net>
781
782         * undo.C (recordUndoFullBuffer): implement undo for
783         textclass switches
784
785 2005-07-14  André Pönitz  <poenitz@gmx.net>
786
787         * cursor.C (setSelection): open insets when selection is set there
788         to avoid crashs with cold coord cache
789
790 2005-07-14  André Pönitz  <poenitz@gmx.net>
791
792         * trans_mgr.C (insert): move cursor to the right after inserting
793         a char.
794
795 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
796
797         * BufferView_pimpl.C (update): dampen some of the debug blabbering
798         * factory.C (readInset): ditto
799         * text.C, text2.C: ditto
800
801 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * buffer.C: format incremented to 242. There is no file format per
804         se, but the "frenchb" language has been removed from lib/language
805         and has to be translated to "french" by lyx2lyx.
806
807 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * cursor_slice.h, dociterator.h: add some documentation
810         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
811
812 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
813
814         * text.C (leftMargin): do not add identation to display() style
815         insets, because they are always centered (bug 1293).
816
817 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
818
819         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
820         formatted_time methods in support/lyxtime.
821
822 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
823
824         * toc.[Ch]: new method getGuiName, which is used by the frontends 
825         to set the toc combo (fixes bug 1870). Make TOC string translatable.
826
827 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
830         StableDocIterator const &)
831         * undo.C (recordUndo): use the above instead of cell.size() comparison
832         (fixes bug 1808; instructed by Andr�.
833
834 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
835
836         * cursor_slice.h: 
837         * dociterator.h: Fix the assert when copying rows/cols in math
838
839 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
840
841         * BufferView_pimpl.C:
842         * LyXAction.C:
843         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
844
845         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
846         (findInset): new functions, refactored from goto Inset that return 
847         the position of a certain inset without setting the buffer's cursor
848         (by Jean-Marc); 
849         (gotoInset): rewrite to call findInset and then set the cursor
850         (by Jean-Marc).
851
852 2005-06-16  Angus Leeming  <leeming@lyx.org>
853
854         * lyxrc.C (output, read): wrap all input and output of paths with
855         calls to os::internal_path and os::external_path, respectively.
856         (output): wrap bind_file inside quotes.
857
858         * format.C (view): enable the viewer to use the '$$s' placeholder.
859
860 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * LColor.[Ch] (getFromLaTeXName): new
863
864 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
867
868 2005-06-14  Angus Leeming  <leeming@lyx.org>
869
870         * lyx_main.C (init): ensure that the LyX binary dir is the first
871         element in the PATH on non-POSIX builds.
872
873 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
874
875         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
876
877 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * rowpainter.C (paintInset, paintHebrewComposeChar)
880         (paintArabicComposeChar, paintChars): add a LyXFont argument.
881         (paintChars): use getFontSpan to reduce calls to getFont to a
882         minimum; use Paragraph::lookupChange instead of isXXXText.
883         (paintForeignMark): rename LyXFont argument.
884         (paintFromPos): pass a LyXFont object to the various paintXXX
885         methods.
886
887         * FontIterator.C (FontIterator, operator++): use
888         Paragraph::getFontSpan
889
890         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
891         version that returns the font span as a pair.
892
893 2005-06-09  Angus Leeming  <leeming@lyx.org>
894
895         * converter.C (convert): Don't forget "outfile = real_outfile" as
896         the final step in a conversion where the input and output file names
897         are the same. Otherwise, future conversion steps won't work...
898
899 2005-06-09  Angus Leeming  <leeming@lyx.org>
900
901         * lyxsocket.C: remove stub code as it isn't needed by
902         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
903
904 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
907         effectively disabled -x
908
909 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
910
911         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
912         when it actually makes sense.
913
914 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
915
916         * BufferView_pimpl.C: revert to showCursor in connection with
917         Lars's front-end stack
918
919 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * text.C (redoParagraph): move cursor right after a bibitem
922         has been inserted.
923
924         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
925
926 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * buffer_funcs.C (bufferErrors): fix computation of the end of an
929         error range.
930
931 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
932
933         * BufferView.[Ch] (update):
934         * BufferView_pimpl.[Ch] (update, metrics):
935         * dimension.h (operator==):
936         * lyxfunc.C (dispatch):
937         * metricsinfo.h (ViewMetricsInfo):
938         * rowpainter.C (paintText):
939         * lyxtext.h:
940         * text.C (redoParagraph):
941         * text3.C (dispatch): Make LyX only repaint current paragraph in
942         case of character insert --> speedup. Also fix cursor draw
943         artifacts
944
945 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
946
947         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
948         avoid a crash (bug 1891)
949
950 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
951
952         Fix bug 1892:
953
954         * text2.C (getStringToIndex): constify cur argument.
955
956         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
957         argument has been given
958         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
959         try to invoke LFUN_INSET_APPLY).
960
961         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
962         if no inset was created by doInsertInset
963         (doInsertInset): return true if an inset has been inserted.
964
965 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * vspace.C (asGUIName): new method. A version of the space
968         suitable for showing on screen.
969
970 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
971
972         * MenuBackend.C:
973         * lyxrc.C: rename "ASCII" to "Plain Text"
974
975 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * buffer_funcs.C (expandLabel): take a Buffer as argument;
978         translate the labelstring.
979         (setCounter): translate labelstring as needed.
980
981         * output_docbook.C (makeCommand): fix expandLabel invokation
982
983 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
984
985         * BufferView.C: fix dialog title
986
987 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * lyx_main.C (priv_exec): fix logic error with help from Angus
990         * lyx_main.C (parse_execute): set is_gui = false and remove now
991         obsolete comment about a segfault
992
993 2005-05-18  Angus Leeming  <leeming@lyx.org>
994
995         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
996
997 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * tabular.[hC]: added setCellInset to fix tabular paste.
1000
1001 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1002
1003         * buffer.C (save): check if destination is writable before trying
1004         to copy a file
1005
1006 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * BufferView_pimpl.C (update): fix processEvents -caused update
1009         recursion bug
1010
1011 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1012
1013         * buffer_funcs.C (setCounter): fix test for numbering of
1014         environments.
1015
1016         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1017         depth correctly; use optional argument when it exists
1018
1019         * lyxtextclass.C: remove unused MaxCounterTags enum
1020         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1021         (max_toclevel, min_toclevel): new methods.
1022
1023         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1024         the smallest depth in toc.
1025
1026         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1027         layouts that should not appear in a table of contents.
1028
1029 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1030
1031         * cursor.h (undispatched, noUpdate): add comments from Andr�
1032 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1033
1034         * lfuns.h:
1035         * LyXAction.C:
1036         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1037
1038 2005-05-07  André Pönitz  <poenitz@gmx.net>
1039
1040         * cursor.[Ch] (leaveInset): new function
1041
1042 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1043
1044         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1045
1046 2005-05-04  Angus Leeming  <leeming@lyx.org>
1047
1048         * lyxfunc.C (getStatus): disable the spell checker dialog if
1049         none of USE_[AIP]SPELL are defined.
1050
1051 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * tabular.C (setWidthOfCell): remove obsolete comment
1054
1055 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * paragraph.C (bibitem):
1058         * buffer_funcs.C (setCounter):
1059         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1060
1061 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * text3.C (getStatus): immediately return after setOnOff
1064
1065         * rowpainter.C: fix drawing of appendix start
1066
1067 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1068
1069         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1070         SwitchBetweenClasses and remove the unused return value.
1071         Handle character styles, too
1072
1073 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * factory.C (createInset): handle undefined character styles
1076
1077 2005-05-02  Angus Leeming  <leeming@lyx.org>
1078
1079         * buffer.C: protect the #include of utime.h with a preprocessor
1080         guard.
1081
1082 2005-05-02  Angus Leeming  <leeming@lyx.org>
1083
1084         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1085         function so that auto-saving works, albeit in a blocking manner.
1086
1087         * Makefile.am: make compilation of the client sub directory, of
1088         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1089         on conditionals set at configure time.
1090
1091         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1092         it can be compiled in its own right but has no-op functionality.
1093
1094         * aspell.C, pspell.C: remove preprocessor guards. The files should
1095         be compiled only if the necessary functionality exists.
1096
1097         * lyxserver.C, lyxsocket.C: disable on Windows.
1098
1099 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * text.C (leftMargin): Fix the parindent use bug (1764)
1102         by dirty trick
1103
1104 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1105
1106         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1107         argument.
1108
1109 2005-04-25  Angus Leeming  <leeming@lyx.org>
1110
1111         * Bidi.[Ch]:
1112         * coordcache.[Ch]:
1113         * ispell.C:
1114         * lyxserver.C:
1115         * mover.C:
1116         * pch.h:
1117         include <config.h> in .C files, not .h ones.
1118         add licence blurb.
1119         protect headers inside preprocessor guards.
1120
1121 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1122
1123         * FuncStatus.h (StatusCodes): document
1124
1125 2005-04-21  André Pönitz  <poenitz@gmx.net>
1126
1127         * FuncStatus.h (enabled, onoff): document
1128
1129 2005-04-19  Angus Leeming  <leeming@lyx.org>
1130
1131         * BufferView_pimpl.C (cursorToggle): no longer test whether
1132         any child processes have been reaped before calling
1133         handleCompletedProcesses().
1134
1135 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * text3.C (dispatch): fix, finally fix, the language problem in
1138         new lyxtexts, without disabling on-the-fly font changes (Helge's
1139         bug report)
1140
1141 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1142
1143         * text3.C (dispatch): set cursor on double/triple click events
1144         (bug 1811)
1145
1146 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1147
1148         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1149         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1150
1151         * rowpainter.C (paintFirst): simplify the code a little bit. In
1152         particular, remove the test for secnumdepth.
1153         * text.C (setHeightOfRow): only allocate space for chapter number
1154         when updateCounters provided an actual label, instead of looking
1155         at secnumdepth directly.
1156
1157         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1158
1159         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1160         paragraphs when secnumdepth is large enough or, for environments,
1161         when they are not the first in a sequence.
1162
1163 2005-04-17  Angus Leeming  <leeming@lyx.org>
1164
1165         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1166         containing space and '~' characters with a call to latex_path().
1167
1168 2005-04-17  Angus Leeming  <leeming@lyx.org>
1169
1170         * converter.C (convert): protect all args of convertDefault.sh
1171         script with quotes.
1172
1173 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * text3.C (dispatch): change the layout to "Caption" after inserting
1176         a float.
1177
1178 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1179
1180         * text3.C (dispatch): fix language problem in newly created
1181         textinsets (and main text) in non-english docs
1182
1183 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1184
1185         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1186         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1187         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1188
1189 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * lyxtext.h:
1192         * text.C (metrics):
1193         * text2.C (getFont):
1194         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1195         fonts fix
1196
1197 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1198
1199         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1200         output of \item arguments without trailing text.
1201
1202 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1203
1204         * FontIterator.C (operator*): avoid a copy of the font.
1205
1206 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * rowpainter.C (getFont): fix language bug from previous fix
1209
1210 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1211
1212         * rowpainter.C (RowPainter, getFont): fix font inside inset
1213         (bugs 1766, 1809)
1214
1215 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1216
1217         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1218         preventing inserted font, deco, delim insets jumping to start of
1219         surrounding inset.
1220
1221 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * lyxfunc.C (dispatch): translate message before sending it to the
1224         minibuffer.
1225
1226 2005-03-29  Angus Leeming  <leeming@lyx.org>
1227
1228         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1229         to LyX on the command line.
1230
1231 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1232
1233         * vc-backend.C: use QuoteName to protect file names wherever
1234         necessary.
1235
1236 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1237
1238         * buffer.[Ch]:
1239         * BranchList.h: fix bugs 1844,1845: document settings don't
1240         stick
1241
1242 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * lyxrc.C (setDefaults, read, output, getDescription): add support
1245         for tex_allows_spaces.
1246
1247         * exporter.C (Export): allows files in directory containing spaces
1248         if tex_allows_spaces is true.
1249
1250         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1251         output it in double quotes.
1252
1253 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1254
1255         * rowpainter.C: use default text height for drawing change tracker
1256         strikeout lines.
1257
1258 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1259
1260         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1261
1262 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1265         directory is missing.
1266
1267 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1268
1269         * text2.C: fixed the fix, extended to other case.
1270
1271 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1272
1273         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1274
1275 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1276
1277         * text2.C (cursorUp): get rid of a crash
1278         * text.C (x2pos): add an assert
1279
1280 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1283
1284         * text3.C:
1285         * lyxfunc.C:
1286         * dociterator.C: include <boost/current_function.hpp>, which is
1287         needed when assertions are disabled.
1288
1289 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1290
1291         * text2.C: fix for stuck cursor when traversing two
1292         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1293
1294 2005-02-25  Andreas Vox  <avox@arcor.de>
1295
1296         * output_docbook.C (makeParagraph): suppress trailing newline
1297         after a run of paragraphs
1298
1299 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1300
1301         * paragraph.C: fix for confused change tracker when pasting
1302         text that begins with a lineseparator. [bug 1827]
1303         (setChange(0, Change::INSERTED);)
1304
1305         * paragraph_funcs.C: fix for lost changes on triple-paste
1306         in change tracking mode [bug 1827] (par.setChange()).
1307
1308 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * text2.C (updateCounters, setCounter, expandLabel): move to
1311         buffer_funcs.
1312
1313         * buffer_funcs.C (updateCounters): turn into a free standing
1314         function and add a buffer parameter. Remove dead code for tracking
1315         labelstring change.
1316         (setCounter): change into a free-standing function which gets a
1317         dociterator as argument. Use this iterator to fix captions in a
1318         simple way. When no float is found above the caption, use the
1319         labelstring of the caption layout as default.
1320
1321         * text.C (breakParagraph, backspace):
1322         * text2.C (init, setLayout, changeDepth):
1323         * text3.C (dispatch):
1324         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1325         updateCounters.
1326
1327         * dociterator.C (forwardPar): make it much faster by calling
1328         forwardPos() only when really necessary.
1329
1330         * output_docbook.C (makeCommand): adapt to expandLabel move.
1331
1332         * cursor.C: remove unused variable
1333
1334 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1335
1336         * paragraph_funcs.C: fix crash when pasting insets in change
1337         tracking mode [bug 1277] (honour change type in moveItem).
1338
1339 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1340
1341         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1342
1343 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1344
1345         * BufferView.C (setCursor): change to use a DocIterator.
1346         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1347         (putSelectionAt): adapt to BufferView::setCursor change.
1348
1349         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1350         moved here from LyXText and rewritten to use proper cursor
1351         methods. Fixes bug 1787, 616 and 835.
1352
1353         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1354         when inside an inset (part of bug 781).
1355         (dispatch): adapt to change of BufferView::setCursor.
1356         (getStatus, dispatch): handle LFUN_GOTOERROR,
1357         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1358
1359         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1360         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1361         * text3.C (gotoNextInset, gotoInset): removed.
1362
1363 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1364
1365         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1366
1367 2005-02-15  Angus Leeming  <leeming@lyx.org>
1368
1369         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1370         can be used meaningfully in a comparison.
1371
1372 2005-02-13  André Pönitz  <poenitz@gmx.net>
1373
1374         * bufferview_funcs.C (coordOffset): improve cursor drawing
1375
1376 2005-02-13  André Pönitz  <poenitz@gmx.net>
1377
1378         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1379         * Cursor.C (dispatch): use fixIfBroken
1380         * lyxfunc.C (getStatus): use fixIfBroken
1381
1382 2005-02-15  Angus Leeming  <leeming@lyx.org>
1383
1384         * lyx_main.C (error_handler):
1385         * lyxfunc.C:
1386         * lyxrc.C (setDefaults):
1387         s/GetEnv/getEnv/.
1388         #include "environment.h".
1389
1390         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1391
1392 2005-02-15  Angus Leeming  <leeming@lyx.org>
1393
1394         * lyxserver.C (startPipe): squash MSVC warning "local variable
1395         'fd' used without having been initialized".
1396
1397 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1398
1399         * BufferView_pimpl.C: revert accidental commit.
1400
1401 2005-02-14  André Pönitz  <poenitz@gmx.net>
1402
1403         * dociterator.[Ch]: new member forwardPosNoDescent(),
1404         which doesn't enter nested insets.
1405         * text2.C (setFont): use forwardPosNoDescent() instead
1406         of ForwardPos() (fixes crash on font change).
1407
1408 2005-02-13  Angus Leeming  <leeming@lyx.org>
1409
1410         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1411         only if lyxrc.path_prefix is not empty.
1412
1413 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1414
1415         * bufferparams.C (readGraphicsDriver): prevent crash
1416
1417 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1418
1419         * text2.C (setCounter): check for inInset() == 0
1420
1421 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1424         but use update() to get correct screen display; use convert
1425         instead of istringstream.
1426         (getStatus): handle LFUN_GOTO_PARAGRAPH
1427
1428         * lyxfunc.C (dispatch, getStatus): do not handle
1429         LFUN_GOTO_PARAGRAPH here.
1430
1431 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1432
1433         * text3.C (dispatch): size() -> depth()
1434
1435         * text2.C: remove some debug output
1436
1437         * paragraph.C: ws changes only
1438
1439         * lyxfunc.C (getStatus): size() -> depth()
1440
1441         * dociterator.h (clear, push_back, pop_back, internalData,
1442         operator[], resize, empty): new functions
1443         Make StableDocIterator and operator== be friends. Don't inherit
1444         from std::vector use a privat class variable slices_ instead.
1445         Modify to fit.
1446
1447         * dociterator.C: update because of not inheriting from std::vector
1448         anymore. Call explictly to slices_ instead. Use depth() instead of
1449         size() and top() instead of back()
1450
1451         * cursor.C: chagne size() -> depth and back() -> top(). Also
1452         remove some direct operator[](i) calls in favour of foo[i]
1453         (getFont): remove some dead code
1454
1455         * bufferview_funcs.C (coordOffset): size() -> depth()
1456
1457         * buffer.C: ws changes only
1458
1459         * CutAndPaste.C (eraseSelection): back() -> top()
1460
1461         * BufferView_pimpl.C (selectionRequested): back() -> top()
1462
1463         * BufferView.C (setCursor): size() -> depth()
1464
1465 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1466
1467         * text3.C (cursorPrevious): return true if depm changed something
1468         (cursorNext): ditto
1469         (dispatch): rename sl to oldTopSlice, remove moving use the new
1470         NoUpdate func attrib instead. Make sure that needsUpdate is set
1471         for function that have NoUpdate, but where depm might have changed
1472         the buffer anyway.
1473
1474         * text2.C (cursorLeft): make us return true if depm changed
1475         something
1476         (cursorRight): ditto
1477         (cursorUpParagraph): ditto
1478         (curosrDownParagraph): ditto
1479         (cursorUp, cursorDown): ditto, make sure to read comments in code
1480         (deleteEmptyParagraphMechanism): remove an assert, also return
1481         true if just a single char was deleted.
1482
1483         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1484         cursor that we modify, to avoid modifying an active cursor before
1485         we call setCursor. This allows depm to run. Also return true if
1486         depm deleted something.
1487
1488         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1489         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1490         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1491         something was changed in the buffer because of them (ie. depm run)
1492
1493         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1494         debug messages. Make update by default be false. Make sure that
1495         the result of update is retained throught several calls down to
1496         dispatch.
1497
1498         * LyXAction.h: add a new func_attrib: NoUpdate
1499
1500         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1501         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1502         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1503         and LFUN_WORDLEFT
1504         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1505
1506 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1509         bv_->owner(), bv_->buffer() by direct references to the private
1510         members.
1511         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1512         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1513         (fitCursor): center() is in BufferView::Pimpl.
1514         (getStatus, trackChanges, dispatch): no need for a temporary buf
1515         variable
1516         (fitCursor, workAreaDispatch): use workarea().workheight()
1517
1518 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1519
1520         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1521
1522 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1523
1524         * buffer.C: format up to 241.
1525         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1526         break if pasting into ERT
1527         * lyxfunc.C (getStatus): suppress mathpanel and
1528         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1529
1530 2005-02-01  Angus Leeming  <leeming@lyx.org>
1531
1532         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1533
1534 2005-02-01  Angus Leeming  <leeming@lyx.org>
1535
1536         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1537         calling fs::is_directory().
1538
1539 2005-01-31  Angus Leeming  <leeming@lyx.org>
1540
1541         * lyx_main.C (priv_exec): specify explicitly the relative location
1542         of the top level build directory when run in-place.
1543
1544 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1545
1546         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1547         LyXText containing the cursor, not the top-level one.
1548
1549         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1550         true.
1551         (insertStringAsLines): rename par to pit; use temporary variable
1552         par to hold a Paragraph; do not store par.layout() in a variable,
1553         since the pointer may die when breaking paragraphs; pass pars to
1554         breakParagraph() instead of Buffer::paragraphs().
1555
1556 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1557
1558         * lyxlex_pimpl.h: #include <fstream>.
1559
1560         * BufferView.[Ch] (getLyXText): add a const version.
1561
1562         * BufferView_pimpl.C: add debug aids.
1563
1564         * RowList_fwd.h:
1565         * buffer.h:
1566         * lyxrow.h:
1567         * paragraph_funcs.h: add commentary explaining what the class does.
1568
1569
1570         * coordcache.[Ch]: add lots of commentary.
1571         (startUpdating, doneUpdating): debug aids.
1572         (arrays, insets, parPos, getParPos): accessors to private data.
1573
1574         * cursor_slice.[Ch] (text): add a const version.
1575         * dociterator.[Ch] (text, innerText): add const versions.
1576
1577         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1578         bool.
1579
1580         * paragraph.C (getRow, pos2ros): add asserts.
1581
1582         * paragraph.h: add commentary. Lots of.
1583
1584         * paragraph.[Ch] (metrucs, draw): removed.
1585
1586         * cursor.C:
1587         * rowpainter.[Ch]: const-correct changes.
1588
1589         * text.C: various obvious clean-ups. Removal of ancient cruft.
1590         Bug fixes, even.
1591
1592 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * vc-backend.C (find_file): rewrite to use boost.filesystem
1595         (scanMaster): ditto
1596
1597         * main.C (main): set default name check for boost.filesystem to
1598         no check
1599
1600         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1601         (open): ditto
1602         (doImport): ditto
1603         (actOnUpdatedPrefs): ditto
1604
1605         * lyx_main.C (init): rewrite to use boost.filesystem
1606         (queryUserLyXDir): ditto
1607
1608         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1609         (getContentsOfAsciiFile): ditto
1610
1611         * lastfiles.C (readFile): rewrite to use boost.filesystem
1612
1613         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1614
1615         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1616         (loadLyXFile): ditto
1617
1618         * buffer.C (Buffer): adjust for destroydir
1619         (getLogName): rewrite to use boost.filesystem
1620         (setFileName): ditto
1621         (save): use fs::copy_file (from fs_extras)
1622
1623         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1624
1625         * LaTeX.C (run): rewrite to use boost.filesystem
1626         (scanAuxFiles): ditto
1627         (handleFoundFile): ditto
1628
1629 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1630
1631         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1632
1633         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1634
1635 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1636
1637         * lyxlayout.[Ch]: change some vars from float to double
1638
1639         * buffer.C (readFile): make a local var const
1640
1641         * Several files: use convert<> instead of atoi,strToXXX and friends
1642
1643 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1644
1645         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1646         holds the contents of packages.lst. New functions getAvailable
1647         and isAvailable to parse and check that list, resp.
1648
1649         * LyXAction.C:
1650         * lfuns.h:
1651         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1652
1653         * bufferparams.[Ch]: new param output_changes.
1654
1655         * Buffer.C: increase file format to 240.
1656         Use output_changes and isVailable.
1657
1658         * changes.[Ch]:
1659         * paragraph.C:
1660         * paragraph_pimpl.C: Use output_changes and isVailable.
1661
1662 2005-01-23  Angus Leeming  <leeming@lyx.org>
1663
1664         * output_latex.C: #include "insetbibitem.h", rather than
1665         forward declare function bibitemWidest.
1666
1667 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1668
1669         * lyx_main.C (init): make it compile on the Mac.
1670
1671 2005-01-20  Angus Leeming  <leeming@lyx.org>
1672
1673         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1674         (setLyXMisc): (char string literal) != (char string literal) is
1675         performing a comparison on the addresses. Convert one operand
1676         explicitly to string to guarantee expected behaviour.
1677         From MSVC warning.
1678
1679 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1680
1681         * buffer.C:
1682         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1683
1684         * output_plaintext.C: remove unneeded #include gzstream.h.
1685
1686 2005-01-20  Angus Leeming  <leeming@lyx.org>
1687
1688         * SpellBase.h: rename some of the elements of the Result enum.
1689
1690         * aspell_local.h:
1691         * ispell.h:
1692         * pspell.h:
1693         * aspell.C (check):
1694         * ispell.C (check):
1695         * pspell.C (check): ditto
1696
1697 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1698
1699         * buffer.C: add #include <fstream>.
1700
1701         * lyx_main.C (init): Compile fix.
1702
1703         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1704
1705 2005-01-20  Angus Leeming  <leeming@lyx.org>
1706
1707         * mover.h: change commentary to reflect the changed meaning of
1708         the $$s placeholder.
1709
1710 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1713
1714         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1715
1716 2005-01-20  Angus Leeming  <leeming@lyx.org>
1717
1718         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1719         printing diagnostic data by not dereferecing an iterator past the
1720         end.
1721
1722 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1723
1724         * buffer.C (readHeader): use "&&" rather than "and".
1725
1726         * lyxserver.h (inPipeName, outPipeName): make these const.
1727
1728 2005-01-19  Angus Leeming  <leeming@lyx.org>
1729
1730         * lyx_main.C (error_handler, init): protect SIGHUP with
1731         #ifdef SIGHUP guards.
1732
1733 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1736
1737 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1738
1739         * text.C (setHeightOfRow): add a margin at the top and bottom of
1740         the document (bug 1761)
1741
1742 2005-01-17  Angus Leeming  <leeming@lyx.org>
1743
1744         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1745         with "python ". Workaround for a brain-dead Windows.
1746
1747 2005-01-16  Angus Leeming  <leeming@lyx.org>
1748
1749         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1750         for MacOSX and Windows to use prependEnvPath.
1751         Strip out the hard-coded block to add elements to the PATH for
1752         MacOSX and replace it with a call to prependEnvPath using the
1753         contents of LyXRC::path_prefix.
1754         (queryUserLyXDir): strip out the code to run reconfigure, instead
1755         returning a boolean indicating the necessity to do so.
1756         (reconfigureUserLyXDir): contains the code to reconfigure the
1757         user support directory. Is now called after the various LyXRC data
1758         files have been read.
1759
1760         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1761
1762 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1763
1764         * converter.[Ch] (convert): take a new parameter try_default. Use
1765         a default converter (imagemagick) if try_default is true.
1766
1767 2005-01-13  Angus Leeming  <leeming@lyx.org>
1768
1769         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1770         os::cygwin_path_fix.
1771         (write): output LyXRC::cygwin_path_fix as necessary.
1772
1773 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1774
1775         * lyxrc.h:
1776         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1777
1778 2005-01-12  Angus Leeming  <leeming@lyx.org>
1779
1780         * lyx_main.C (init): set the PATH variable to include the
1781         directory containing the LyX binary when running on Mac or Windows.
1782
1783 2005-01-12  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyx_main.C (init): remove cruft that purports to set the locale
1786         dir. It doesn't and is not needed anyway.
1787
1788 2005-01-10  Angus Leeming  <leeming@lyx.org>
1789
1790         * Makefile.am: remove the lyx_main.C special casing.
1791
1792         * BufferView_pimpl.C:
1793         * bufferlist.C:
1794         * exporter.C:
1795         * lyx_cb.C:
1796         * lyx_main.C:
1797         * lyxfunc.C:
1798         * messages.C: use support/package.h to provide the paths to the
1799         various directories used by LyX.
1800
1801 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1802
1803         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1804         layout if pasting into an empty paragraph)
1805
1806 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1807
1808         * tex-accent.C: add <string>
1809
1810 2005-01-06  José Matos  <jamatos@lyx.org>
1811
1812         * ParagraphParameters.C (write): put every parameter in its own line.
1813         * paragraph.C (write): reduce number of consecutive empty lines exported.
1814         * buffer.C (LYX_FORMAT): increase file format to 239.
1815
1816 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1817
1818         * everywhere: change support/tostr.h -> support/convert.h
1819
1820         * tabular.C: make all write_attributes templates, tostr -> convert
1821
1822         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1823         (emptyTag): and -> &&, and fix type for ret from getChar
1824         (getFirstWord): fix type for ret from getChar
1825         (onlyText): and -> &&
1826         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1827         getChar
1828
1829         * toc.C (goTo, action):
1830         * text3.C (dispatch):
1831         * text.C (currentState):
1832         * tex-accent.C (DoAccent):
1833         * sgml.C:
1834         * lyxrc.C:
1835         * lyxfunc.C (menuNew):
1836         * lyxfinc.C (replace):
1837         * counters.C (laberItem):
1838         * bufferview_funcs.C (font2string):
1839         * bufferparams.C (writeFile):
1840         * buffer.C (readFile):
1841         * Spacing.C (set):
1842         * MenuBackend.C: tostr -> convert
1843
1844         * LaTeX.C (runMessage): fix format
1845         (scanAuxFiles): tostr -> convert
1846
1847         * BufferView_pimpl.C (savePosition): fix format
1848         (restorePosition): ditto
1849         (dispatch): ditto
1850
1851 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1852
1853         * Spacing.[Ch]: New method getValueAsString().
1854
1855         * Spacing.[Ch]:
1856         * bufferparams.C:
1857         * ParagraphParameters.C:
1858         * lyxlayout.C:
1859         * text.C:
1860         * text3.C: store/read spacing value as string.
1861
1862         * rowpainter.C: change float value (spacing_val) to double.
1863
1864         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1865         broken custom document spacing).
1866
1867 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1868
1869         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1870         namespace, also more use of temp references and const
1871
1872         * cursor.[Ch] (getStatus): move to lyxfunc.C
1873
1874         * bufferparams.C: reformat slightly
1875
1876         * bufferview_funcs.C (font2string): constify arg
1877
1878         * changes.C:
1879         * converter.C:
1880         * counters.C:
1881         * bufferlist.C:
1882         * buffer_funcs.C: (many funcs): constify arg on function
1883         definitions, also make more local vars const, also add ASSERTS on
1884         pointer args.
1885
1886         * buffer.C (LYX_FORMAT): put const in correct place
1887         (many funcs): constify arg on function definitions, also make
1888         more local vars const
1889
1890         * aspell_local.h: remove "struct" from typdef setup
1891
1892         * aspell.C (check): make word_ok const
1893         (nextMiss): simplify slightly
1894         (error): ditto
1895
1896 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1897
1898         * lyxrc.[Ch]: store all float values as strings.
1899         use int (not float) for lyxrc.dpi.
1900
1901 2005-01-04  Angus Leeming  <leeming@lyx.org>
1902
1903         * lyx_cb.C (Reconfigure):
1904         * lyx_main.C (queryUserLyXDir):
1905         to run the <system_lyxdir>/configure correctly on Windows, prefix
1906         the path to the script with "sh " when generating the string that
1907         is passed to system().
1908
1909 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1910
1911         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1912
1913 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1914
1915         * lyxlength.C (asLatexString): get rid of setprecision
1916
1917 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1918
1919         * text2.C (setLayout): remove unused variable endpit.
1920         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1921
1922         * paragraph.C (onlyText): remove unused variable style.
1923
1924         * cursor.C (bruteFind): remove unused variables beg and end.
1925
1926         * Makefile.am (dist_noinset_DATA): not needed anymore
1927
1928         * cheaders/*: remove.
1929
1930 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1931
1932         * text3.C: fix LFUN_MATH_MODE.
1933
1934 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * buffer_funcs.C (countWords): new function. Counts words between
1937         two iterators.
1938
1939         * BufferView_pimpl.C (getStatus, dispatch): handle
1940         LFUN_WORDS_COUNT.
1941
1942         * LyXAction.C (init):
1943         * lfuns.h: add LFUN_WORDS_COUNT.
1944
1945 2004-12-19  Angus Leeming  <leeming@lyx.org>
1946
1947         * buffer.C (save): s/slashify_path/internal_path/.
1948
1949 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1950
1951         * lyxfind.C (findChange): do not search for end of pars, because
1952         the change tracker cannot handle this (fixes bug 1719).
1953
1954 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1955
1956         * paragraph.[Ch] (autoBreakRows): remove
1957
1958         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1959
1960         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1961         avoid using the paragraph one
1962
1963         * text2.C (LyXText, insertStringAsLines): adjust
1964
1965 2004-12-16  Angus Leeming  <leeming@lyx.org>
1966
1967         * bufferlist.C:
1968         * lyx_main.C:
1969         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1970
1971 2004-12-14  Angus Leeming  <leeming@lyx.org>
1972
1973         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1974
1975         * bufferlist.C (emergencyWrite):
1976         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1977         GetEnvPath("HOME").
1978
1979 2004-12-14  Angus Leeming  <leeming@lyx.org>
1980
1981         * main.C: (main): no longer pass pointers to os::init.
1982
1983 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1984
1985         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1986         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1987
1988 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1989
1990         * lyxfunc.C:
1991         * text3.C: remove selection_possible global flag
1992
1993 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * text2.C (getSelectionSpan): remove
1996         (changeDepth, changeDepthAllowed): adjust
1997
1998 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1999
2000         * Makefile.am (BOOST_LIBS): use boost variables
2001
2002 2004-12-03  José Matos  <jamatos@lyx.org>
2003
2004         * buffer.C: format up to 238.
2005
2006 2004-12-03  José Matos  <jamatos@lyx.org>
2007
2008         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2009
2010 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2011
2012         * cursor.C (goUpDown): remove call to idxUpDown2
2013
2014 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2015
2016         * tabular.[Ch]: use size_t-like types for cell, row and column
2017         indices
2018
2019 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2020
2021         * lyxfunc.C (getStatus): do not lose previous information when
2022         calling BufferView::getStatus; do not set a default "Command
2023         disabled" message at the beginning, but just before returning.
2024
2025 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2026
2027         * cursor.h (getStatus): add better comment from src/cursor.C
2028
2029 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * text3.C (getStatus): return false when the lfun is not handled
2032
2033 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * broken_headers.h: remove
2036
2037         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2038
2039 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2040
2041         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2042         offset_ref accessors
2043
2044         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2045         top_y_, merge fitcursor with update
2046         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2047         coord scheme
2048         (metrics): introduce
2049         (workAreaDispatch): adapt to new coord scheme
2050         (redoCurrentBuffer): remove
2051
2052         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2053
2054         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2055         CurStatus enum.
2056
2057         * coordcache.[Ch]: add paragraph cache and helpers
2058
2059         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2060         adjust everywhere
2061
2062         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2063         (targetX, setTargetX): introduce
2064
2065         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2066         baseline -> ascent, as the rest of lyx
2067
2068         * lyxtext.h: remove redoParagraphs, updateParPositions,
2069         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2070         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2071         have ascent/descent (ascent is ascent of first par)
2072
2073         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2074         step of BufferView
2075
2076         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2077
2078         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2079
2080         * pariterator.C: fix infinite loop introduced in par->pit renaming
2081
2082         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2083         in insets and LyXText, draw two off-screen paragraphs using
2084         NullPainter, and adapt to new coord scheme
2085
2086         * text.C:
2087         * text2.C:
2088         * text3.C: adapt lfun handlers to the new coord scheme, which
2089         means: there's only guaranteed coord information for onscreen pars
2090         plus one above and one below. This implies that one can do search
2091         from y coordinates in the range [-1,workHeight]
2092
2093 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2094
2095         * rename a lot of InsetOld to InsetBase
2096
2097 2004-11-25  Angus Leeming  <leeming@lyx.org>
2098
2099         * BufferView_pimpl.C:
2100         * lyx_cb.C:
2101         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2102
2103 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2104
2105         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2106         call BufferView::getStatus if LCursor::getStatus did nothing
2107         (setStatusMessage, getStatusMessage): removed.
2108
2109         * FuncStatus.C (message): new methods. Used to provide an error
2110         message indicating why a command is disabled.
2111         (clear, |=, FuncStatus): update for message.
2112
2113 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2114
2115         * lyxfunc.C (dispatch): always call sendDispatchMessage
2116
2117 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2118
2119         * BufferView.C:
2120         * BufferView_pimpl.C:
2121         * CutAndPaste.C:
2122         * FontIterator.C:
2123         * buffer.C:
2124         * cursor.C:
2125         * cursor_slice.[Ch]:
2126         * dociterator.[Ch]:
2127         * lyxfind.C:
2128         * paragraph_funcs.C:
2129         * pariterator.C:
2130         * rowpainter.C:
2131         * text.C:
2132         * text2.C:
2133         * text3.C:
2134         * undo.C: par->pit renaming
2135
2136 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * tabular.C (cellstruct): use initialization, store a shared_ptr
2139         to insettext instead of the insettext directly, adjust to fit.
2140         (operator=):  new function
2141         (swap): new function
2142         (rowstruct): use initialization
2143         (columnstruct): use initialization
2144         (ltType): use initialization
2145
2146
2147         * lyxlength.h (swap): new function
2148
2149         * LColor.[Ch] (operator=): use the common semantics
2150
2151 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * lyxfind.C (findNextChange): update the bufferview after setting
2154         the selection.
2155
2156 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2159         number of InsetOptArgs has already been inserted.
2160
2161         * output_latex.C (latexOptArgInsets): new method. This outputs all
2162         the optarg insets, up to the limit defined in the layout file.
2163         (optArgInset): removed
2164         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2165
2166 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * paragraph.C (isLetter): remove special spellchecker-related
2169         code; return true also for digits
2170         (isWord, isKomma): remove
2171
2172         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2173         * lyxfind.C (MatchString()): use isLetter instead of isWord
2174
2175 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * pariterator.h (operatir=): comment out un-implemented member
2178         function.
2179
2180         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2181         static cast.
2182
2183 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2184
2185         * lyxfont.h: include LColor.h to satisfy concept checks.
2186
2187 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2188
2189         * pariterator.h: add typdefs for value_type, difference_type,
2190         pointer and reference to satisfy concept checks. Also add default
2191         constructor for same reason.
2192
2193         * pariterator.C (operator++): add post-increment operator to
2194         satisfy concept checks.
2195
2196         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2197         checks.
2198
2199         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2200
2201         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2202         checks. Also rename base_type to BaseType to follow naming
2203         standard better.
2204
2205         * FloatList.h: include Floating.h to satisfy concept checks.
2206
2207 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * lyxfunc.C (getStatus): when the origin of the request is menu or
2210         toolbar, and the LyXView does not have focus, do as if there was
2211         no buffer (bug 1720)
2212
2213         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2214         FuncRequest to individual entries of LFUN_SEQUENCE
2215
2216 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * output_latex.C (TeXOnePar): override runparams.moving_arg
2219         according to the needprotect value of the current paragraph (bug
2220         1739)
2221
2222         * paragraph.C (simpleTeXOnePar): no need to override
2223         runparams.moving_args here
2224
2225 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2226
2227         * vspace.C: fix off-by-one-error, related to fix #1682
2228
2229 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2230
2231         * lengthcommon.C: a more general fix for bug 1682
2232
2233 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * text.C (backspace): fix crash
2236
2237 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2238
2239         * format.[Ch] (getFormatFromFile): new method
2240         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2241
2242 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2243
2244         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2245
2246 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         * lyxfunc.C (dispatch): remove the verbose argument
2249         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2250         instead
2251
2252         * kbmap.C (defkey): set the origin of func to KEYBOARD
2253
2254         * MenuBackend.C (MenuItem):
2255         * ToolbarBackend.C (add): set the origin of func to UI
2256
2257         * funcrequest.[Ch]: add origin member, which indicates which part
2258         of LyX requests an action
2259
2260 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2261
2262         * converter.C (move): don't lie in the error message
2263         * converter.h (isReachable, move): document
2264
2265 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2266
2267         * buffer.C: remove unused using lyx::support::atoi
2268         * paragraph_funcs.C: ditto
2269
2270 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2271
2272         * bufferlist.C (exists): use bind and equal_to instead of
2273         compare_memfun
2274         (getBuffer): ditto
2275         * lyxtextclasslist.C (NumberOfClass): ditto
2276
2277         * cursor.C (insert): use for_each instead of explicit for loop
2278
2279         * bufferlist.C (getFileNames): use std::transform and
2280         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2281
2282         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2283         for loop
2284
2285         * buffer.C (changeLanguage): use for_each instead of explicit for
2286         loop
2287         (hasParWithID): implement using getParFromID
2288
2289         * LaTeXFeatures.C: ws change only
2290
2291         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2292         to cleanup a bit.
2293
2294         * BufferView_pimpl.C (trackChanges): use for_each instead of
2295         expilicit for loop
2296
2297 2004-11-04  André Pönitz  <poenitz@gmx.net>
2298
2299         * undo.h:
2300         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2301
2302         * dociterator.C (asDocIterator): use hard assert again.
2303
2304 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * lyxlength.C (asLatexString): rewrite so that it does not use
2307         snprintf anymore
2308
2309 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * text3.C (specialChar, dispatch): make sure cursor moves to the
2312         right after inserting an inset
2313
2314 2004-11-02  José Matos  <jamatos@lyx.org>
2315
2316         * output_docbook.C (docbook):
2317         * paragraph.C (getID):
2318         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2319         garantee that the output is always legal.
2320
2321         * tabular.C (docbook):
2322         * outputprams.[Ch]: remove mixed contents.
2323
2324 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2325
2326         * text2.C (setCounter): prevent endless loop
2327
2328 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2329
2330         * exporter.C (copyFile): use the mover instead of support::copy()
2331         * exporter.C (Export): pass format and latex name to copyFile()
2332         * exporter.h (addExternalFile): document
2333         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2334
2335 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2336
2337         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2338
2339 2004-10-30  José Matos  <jamatos@lyx.org>
2340
2341         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2342         text and no inset or font change. This allows to use CDATA
2343         sections just for the whole paragraph.
2344
2345 2004-10-30  José Matos  <jamatos@lyx.org>
2346
2347         * paragraph.C (getFirstWord): remove unused variable.
2348
2349 2004-10-30  José Matos  <jamatos@lyx.org>
2350
2351         * paragraph.C (getFirstWord): the content should always be escaped
2352         there.
2353         (simpleDocBookOnePar):
2354         * output_docbook.C (makeEnvironment): replace reference to CDATA
2355         to style pass_thru.
2356
2357 2004-10-30  José Matos  <jamatos@lyx.org>
2358
2359         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2360
2361 2004-10-30  José Matos  <jamatos@lyx.org>
2362
2363         * output_docbook.C (makeParagraphs):
2364         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2365         standard paragraph has only a given type of content drop the wrapper.
2366
2367 2004-10-29  José Matos  <jamatos@lyx.org>
2368
2369         * output_docbook.C (makeEnvironment):
2370         * sgml.C (openTag):
2371         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2372
2373 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2374
2375         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2376         (cleanID): sanitize any id.
2377
2378 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2379
2380         * buffer.C, lyxlex_pimpl.C:
2381         * lyxlex_pimpl.C (setFile):
2382         s/getExtFromContents/getFormatFromContents/
2383
2384 2004-10-28  José Matos  <jamatos@lyx.org>
2385
2386         * output_docbook.C (makeEnvironment): move id to broadest possible
2387         scope.
2388
2389         * sgml.C (openTag): apply substitution of <> for all attributes.
2390
2391 2004-10-28  José Matos  <jamatos@lyx.org>
2392
2393         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2394         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2395         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2396
2397         * sgml.[Ch]: new version for open and closeTag for paragraph and
2398         for strings. Now they handle the ids of paragraphs.
2399
2400 2004-10-26  Angus Leeming  <leeming@lyx.org>
2401
2402         * Makefile.am: add mover.[Ch].
2403
2404         * converter.C (convert, move): use the new Movers to move external
2405         files to the temp directory.
2406
2407         * lyx_main.C (init): ensure that the global system_movers data
2408         is initialised.
2409
2410         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2411         preferences file.
2412
2413         * mover.[Ch]: new files, defining a Mover as a utility to move an
2414         external file between directories and, if necessary, manipulate this
2415         file using a helper script.
2416
2417 2004-10-25  José Matos  <jamatos@lyx.org>
2418
2419         * output_docbook.C (makeCommand): merge two if's that tested the
2420         same condition.
2421
2422 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * sgml.C (escapeString): fix warning in a better way
2425
2426 2004-10-25  José Matos  <jamatos@lyx.org>
2427
2428         * sgml.C (escapeString): import the require boosts header file for
2429         tie, and avoid a signed unsigned comparison.
2430
2431 2004-10-25  José Matos  <jamatos@lyx.org>
2432
2433         * sgml.h: add #include <string>
2434
2435 2004-10-25  José Matos  <jamatos@lyx.org>
2436
2437         * sgml.[Ch] (escapeString): new function to escape all the string.
2438
2439 2004-10-24  José Matos  <jamatos@lyx.org>
2440
2441         * paragraph.[Ch] (getFirstWord): new function to get the first
2442         word. Useful for description.
2443         (simpleDocBookOnePar): remove depth argument, add another that
2444         says where to start the paragraph.
2445
2446         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2447         use the new functions to fix cleanly the support for descriptions.
2448
2449 2004-10-24  José Matos  <jamatos@lyx.org>
2450
2451         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2452         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2453         * output_linuxdoc.C (linuxdocParagraphs):
2454         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2455         add buffer as argument.
2456
2457 2004-10-24  José Matos  <jamatos@lyx.org>
2458
2459         * output_docbook.C (makeEnvironment, searchEnvironment): place
2460         CDATA inside paragraphs and fix scope for listitems.
2461
2462 2004-10-24  José Matos  <jamatos@lyx.org>
2463
2464         * output_docbook.C: remove using statement for stack.
2465
2466 2004-10-23  José Matos  <jamatos@lyx.org>
2467
2468         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2469         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2470         docbook. The new scheme is recursive and makes use of iterators, the
2471         same as latex export works.
2472         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2473         directly with the paragraph contents. This code was moved up to
2474         output_docbook.C (docbookParagraphs).
2475         * sgml.C (openTag, closeTag): removed unneeded newlines.
2476         (closeEnvTags) removed.
2477
2478 2004-10-23  André Pönitz  <poenitz@gmx.net>
2479
2480         * undo.C (textUndoOrRedo):
2481         * dociterator.C (asDocIterator): work around crash
2482
2483         * cursor.C (getStatus): replace ASSERT by more verbose error message
2484           and manual correction of the problem. Should increase stability
2485           while providing more sensible information.
2486
2487 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2488
2489         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2490
2491         * bufferlist.C (previous, next): new methods
2492
2493         * lfuns.h:
2494         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2495
2496 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2497
2498         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2499         entities to preamble.
2500
2501 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2502
2503         * messages.C (Pimpl): strip off translation context information
2504
2505 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2506
2507         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2508         the cursor is correct (bug 1694)
2509
2510 2004-10-13  José Matos  <jamatos@lyx.org>
2511
2512         * output_docbook.C (docbookParagraphs): fix closing tags in the
2513         end of the document.
2514
2515 2004-10-09  José Matos  <jamatos@lyx.org>
2516
2517         * buffer.C: format up to 237.
2518         * bufferparams.C (write): use tostr to convert booleans to strings.
2519
2520 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2521
2522         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2523
2524 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * LaTeX.C: implement use of babel language in xindy.
2527
2528 2004-10-05  José Matos  <jamatos@lyx.org>
2529
2530         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2531         Add new translators to help reading and writing the lyx file.
2532
2533 2004-10-05  José Matos  <jamatos@lyx.org>
2534
2535         * ParagraphParameters.C (read):
2536         * text.C (readParToken): replace nexToken by more appropriate lex
2537         methods.
2538
2539 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2540
2541         * LaTeX.C (runMakeIndex):
2542         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2543         (usually 'makeindex') configurable.
2544
2545         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2546         with a variable rather than with a number.
2547
2548 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2549
2550         * output_latex.C (TeXOnePar): make sure font setting is the first
2551         thing that gets output (and the last at the end). Should fix bug
2552         1404.
2553
2554 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * pch.h: use proper signal include
2557
2558         * LaTeX.h: Use preferred calling of Boost.Signal
2559         * buffer.h: ditto
2560
2561 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2562
2563         * pch.h: dont include <boost/function/function0.hpp>
2564
2565         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2566
2567         * paragraph_pimpl.h: remove usage of ShareContainer
2568
2569         * paragraph_pimpl.C: remove initialization of ShareContainer.
2570
2571 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2572
2573         Fix bug #1666
2574
2575         * BufferView.C (putSelectionAt): change the semantics when
2576         backwards == true: now, this just swaps cursor and anchor wrt the
2577         forward case
2578
2579         * BufferView.h (putSelectionAt): add some documentation
2580
2581         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2582         make sure backwardChar is done at least once (to avoid getting
2583         stuck)
2584         (findNextChange): use putSelectionAt in the forward direction
2585         (operator()): use Paragraph::isWord
2586
2587 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * Spacing.C (set): c_str fix
2590
2591 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2592
2593         * lyx_cb.C (Reconfigure): quote the name of configure script in
2594         case it contains spaces
2595
2596 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2597
2598         * client: new dir
2599
2600         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2601         (BOOST_LIBS): use top_buildir when looking for the file
2602
2603 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2604
2605         * pch.h: do not use include boost/format.hpp, multiple symbols
2606                 will result (gcc bug)
2607
2608
2609 2004-08-23  José Matos  <jamatos@lyx.org>
2610
2611         * bufferparams.C (readToken): fix reading of the author field.
2612
2613 2004-08-20  José Matos  <jamatos@lyx.org>
2614
2615         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2616
2617 2004-08-20  José Matos  <jamatos@lyx.org>
2618
2619         * lyxlex.[Ch] (findToken): remove function.
2620
2621         * ParagraphParameters.C (findToken):
2622         * bufferparams.C (findToken): replace call for previous function
2623         with local copy. This local function has one more argument, the
2624         read string argument.
2625
2626 2004-08-16  José Matos  <jamatos@lyx.org>
2627
2628         * ParagraphParameters.C (write):
2629         * Spacing.C (writeFile):
2630         * bufferparams.C (writeLaTeX):
2631         * lyx_cb.C (Reconfigure):
2632         * paragraph.C (write):
2633         * tabular.C (write): remove unnecessary space at end of line.
2634
2635
2636 2004-08-16  José Matos  <jamatos@lyx.org>
2637
2638         * text.C (readParagraph): remove debug message.
2639
2640 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2641
2642         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2643         crash
2644
2645         * output_plaintext.C (asciiParagraph): set depth correctly
2646
2647         * outputparams.h: add member depth
2648
2649         * paragraph_funcs.C (ownerPar): remove.
2650
2651         * text2.C (setCounter): remove first_pit; comment out some
2652         non-working code that uses ownerPar
2653
2654         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2655         uses ownerPar
2656
2657 2004-08-16  José Matos  <jamatos@lyx.org>
2658
2659         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2660         For the same level of importance use the same chanel to report problems.
2661         (read): add code to deal with \begin_body and \end_body.
2662
2663
2664 2004-08-15  José Matos  <jamatos@lyx.org>
2665
2666         * lyxlex.C (getString): fix comment, buffer::readBody is now
2667         buffer:readDocument.
2668
2669         * tex-strings.C (string_papersize): Default -> default,
2670         Custom -> custom, for consistency with other options.
2671
2672 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * pch.h: new file
2675
2676         * Makefile.am: support pch
2677
2678 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2679
2680         * text.C (readParToken): remove the static LyXFont variable and
2681         pass it as a parameter instead. This fixes a nasty bug where an
2682         inset will be inserted with a bad font in some situations
2683         (readParagraph): adapt
2684
2685         * text2.C (setCounter): reduce number of calls to pars_[pit]
2686
2687         * text.C (singleWidth): add an assert, fix a test
2688
2689         * rowpainter.C (paintText): reduce number of calls to singleWidth
2690
2691         * paragraph.C (isHfill):
2692         (isNewline): ws only
2693
2694 2004-08-14  André Pönitz  <poenitz@gmx.net>
2695
2696         * text.C:
2697         * text2.C:
2698         * rowpainter.C:
2699         * lyxtext.h (several functions): use a Paragraph & argument
2700         instead of par_type
2701
2702 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703
2704         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2705
2706         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2707
2708         * text.C (singleWidth): remove useless test
2709
2710 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * tabular.h: remove bogus comments
2713
2714         * tabular.C (getDescentOfRow):
2715         (isPartOfMultiColumn): add assertions
2716
2717         * lyxlength.C (inPixels): remove #warning
2718
2719 2004-08-14  André Pönitz  <poenitz@gmx.net>
2720
2721         * paragraph.h: inline getChar()
2722
2723         * BufferView.h: remove unused declarations
2724
2725 2004-08-14  José Matos  <jamatos@lyx.org>
2726
2727         * Buffer.[Ch] (readDocument): new name for old readBody.
2728         * Buffer.C: new file format, new keywords: \begin_document,
2729         \begin_header, \begin_body, \end_body.
2730
2731         * bufferparams.C (readToken): replace all calls to lex.nextToken
2732         by lex.next(). Do the same to eatLine except where really needed.
2733
2734         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2735         line when writing to the lyx file.
2736
2737         * output_plaintext.C (asciiParagraph): fix Bibliography style
2738         handling.
2739
2740         * text.C (read): fix end of file handling.
2741
2742 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2743
2744         * MenuBackend.C (Menu::operator[]): new method to access
2745         individual menu items
2746         (Menu::hasFunc): new method. search for an item that corresponds
2747         to a given func
2748         (MenuBackend::specialMenu): new method
2749         (MenuBackend::expand): if a special menu has been set, skip
2750         entries whose func() appears in this menu
2751
2752 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2753
2754         * text3.C: use Debug::DEBUG a bit more
2755
2756         * text.C (leftMargin): try to simplify a tiny bit change var x to
2757         l_margin. Dont output the wide margins always.
2758         (rightMargin): no margin in inner texts
2759
2760         * rowpainter.h (nestMargin): new func
2761         (changebarMargin): new func
2762         (rightMargin): new func
2763
2764         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2765         now functions.
2766         (paintLast): ditto
2767
2768         * factory.C (createInset): modify setDrawFrame
2769
2770         * cursor.C: use Debug::DEBUG a bit more
2771
2772 2004-08-14  André Pönitz  <poenitz@gmx.net>
2773
2774         * coordcache.[Ch]:
2775         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2776         cache for all insets in (at least partially) visible (top-level)
2777         paragraphs.
2778
2779         * BufferView_pimpl.C: reset external coord cache before every update.
2780         This means the coord cache only contains valid entries.
2781
2782 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2783
2784         bug 1096
2785         * BufferView_pimpl.C (getInsetByCode): move function out of class
2786         and change in to a template in anon namespace. Also fix to do what
2787         suits us better.
2788
2789 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2790
2791         bug 1305
2792         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2793         of char
2794         (breakParagraph): rename par to par_offset and use a local
2795         reference. Add code to keep the language over a rebreak.
2796         (breakParagraphConservative): rename par to par_offset, use a
2797         local reference
2798         (mergeParagraph): ditto
2799         (outerHook): ditto
2800         (isFirstInSequence): ditto
2801         (outerFont): rename pit to par_offset
2802
2803         * paragraph.C: ws change
2804         * paragraph.h: ditto
2805         * text3.C: ditto
2806         * text.C: ditto
2807
2808 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2811         treatment for ']'
2812
2813         * paragraph.C (simpleTeXOnePar): when we have a \item with
2814         optional argument, enclose the argument with curly brackets (in
2815         case it contains a closing square bracket)
2816
2817         * text2.C (editXY):
2818         * text2.C (editXY):
2819         * text3.C (checkInsetHit): constify
2820
2821 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2822
2823         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2824         documents (bug 1629)
2825
2826 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2827
2828         Fix toggling of collapsable insets with the mouse (bug 1558)
2829
2830         * lyxfunc.C (dispatch): adapt to LCursor changes
2831
2832         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2833         make sure that dispatch is not invoked twice
2834
2835         * cursor.C (needsUpdate): new method
2836         (dispatch): return void
2837         (result): new method, to access the DispatchResult of the cursor.
2838
2839 2004-08-13  José Matos  <jamatos@lyx.org>
2840
2841         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2842
2843 2004-08-13  André Pönitz  <poenitz@gmx.net>
2844
2845         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2846
2847         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2848           multiple cells
2849
2850 2004-08-12  André Pönitz  <poenitz@gmx.net>
2851
2852         * text3.C: take out the 'cursor right' form insertInset and only
2853         do it in those places when it is really needed. Fixes crash on
2854         C-m...
2855
2856 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2857
2858         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2859
2860         * BufferView_pimpl.C (setBuffer): initialize the current font of
2861         the underlying LyXText
2862
2863 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2864
2865         * kbsequence.C (print): use UI native formatting for menu
2866         shortcuts
2867
2868         * text.C (insertChar): call Paragraph::insertChar with a font
2869         argument (cosmetic)
2870
2871         * paragraph.C (insertInset, insertChar): the version that takes a
2872         LyXFont argument is now a wrapper around the other one (the
2873         opposite used to be true).
2874
2875         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2876         argument. Font setting is done in Paragraph now.
2877
2878 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2879
2880         * outputparams.h: add new members intitle and lang.
2881
2882         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2883         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2884
2885 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * text3.C (dispatch): remove special handling of button 4 and 5,
2888         it is now taken care of in the frontend code.
2889
2890 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2891
2892         * Spacing.h: add <string> (STLPort compile fix)
2893
2894 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2895
2896         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2897
2898 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2901         to bool.
2902
2903         * converter.C (showMessage): inherit from unary_function, make
2904         operator() const.
2905
2906         * buffer.C (writeFile): initialize retval
2907
2908         * InsetList.h: rename private variable list to list_
2909         * InsetList.[Ch]: adjust accordingly.
2910
2911 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2914         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2915         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2916         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2917         * ParagraphParameters.C, LaTeXFeatures.C: replace
2918         "support/std_sstream.h" with <sstream>
2919
2920 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2923         * lyxsocket.C (LyXServerSocket): ditto
2924         (serverCallback): ditto
2925
2926 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2927
2928         * LaTeXFeatures.C: check release date when loading jurabib.
2929
2930 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2931
2932         * lyxserver.C (startPipe): call register_socket_callback
2933         (endPipe): call unregister_socket_callback
2934
2935 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2938         (LyXServerSocket): register the callback
2939         (LyXServerSocket): unregister the callback
2940         (fd): delete function
2941         (serverCallback): improve error checking and setup the callbacks.
2942         (dataCallback): change arg to fd.
2943         (writeln): new func (copied fro the client socket) used for server
2944         write to client.
2945         (LyXDataSocket): simplify
2946         (~LyXDataSocket): close ann unregiser callback
2947         (server): delete function
2948         (fd): delete function
2949         (readln): small changes, improve some std::string usage
2950         (writeln): constify a bit
2951
2952 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2953
2954         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2955         Qt frontend
2956
2957 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2958
2959         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2960         after it has been populated
2961
2962 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2963
2964         * text2.C (insertInset): move cursor when inserting inset.
2965
2966 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2967
2968         * kbmap.C (findbindings): a couple of new methods. returns a
2969         container of kb_sequence objects. The real work is done by the
2970         private recursive version
2971         (printbindings): uses findbindings to print out a bracketed list
2972         of bindings (renamed from findbinding).
2973
2974         * MenuBackend.C (binding): use kb_keymap::findbindings
2975
2976         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2977
2978 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2979
2980         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2981
2982 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2983
2984         * paragraph.C (isWord): return true on insets that report
2985         isLetter().
2986
2987         * text.C (getWord): use Paragraph::isWord to decide what is in a
2988         word and what is not; fix bug 1609.
2989
2990 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2991
2992         * tex-strings.C: add "none" to string_paperpackages[], fixes
2993         off-by-one-error in the paperpackage selection.
2994
2995         * lyxlex.[Ch]:
2996         * tex-strings.[Ch]: char const * string[n]
2997         -> char const * const string[]
2998
2999 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3000
3001         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3002         command, return early.
3003
3004 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3005
3006         * debug.h: add DEBUG to enum and fix size of ANY.
3007
3008         * debug.C: add support for Debug::DEBUG
3009         (showTags): cast errorTags.level to unsigned int
3010
3011         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3012         (redoCurrentBuffer): ditto
3013         (updateScrollbar): ditto
3014         * cursor.C (dispatch): ditto
3015         * text2.C (setLayout): ditto
3016         (setFont): ditto
3017         (updateCounters): ditto
3018         (editXY): ditto
3019         (deleteEmptyParagraphMechanism): ditto
3020
3021 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3024         annotations to cleanup the Makefile slightly.
3025
3026 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3027
3028         * lyxrc.C: do not set user_email to a default value but use empty
3029         instead. The entry used to be translated, which does not work
3030         since at the point where lyxrc is constructed there is no
3031         translation service available
3032
3033         * messages.C (getLocaleDir): remove and use directly
3034         lyx_localedir() instead
3035
3036 2004-06-02  Angus Leeming  <leeming@lyx.org>
3037
3038         Fix crash caused by dereferencing null pointer 'exportdata' in
3039         OutputParams by creating a new ExportData variable on the heap,
3040         storing it in a boost::shared_ptr.
3041         The crash was triggered when generating an Instant Preview
3042         of an external inset.
3043
3044         * Makefile.am: add outputparams.C
3045
3046         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3047         (c-tor): allocate memory to it.
3048
3049         * exporter.C (c-tor): associated changes.
3050
3051 2004-06-01  Angus Leeming  <leeming@lyx.org>
3052
3053         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3054         contains data before calling isInset(0). (Bug 1513.)
3055
3056 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3057
3058         * exporter.C (checkOverwrite): new method
3059         * exporter.C (copyFile): new method
3060         * exporter.C (Export): copy referenced files to the document dir
3061         * exporter.[Ch]: new class ExportedFile
3062         * exporter.[Ch]: new class ExportData. Contains currently the
3063         names of referenced external files
3064         * outputparams.h: add exportdata member.
3065
3066 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3069         version.C-tmp
3070
3071 2004-05-19  Angus Leeming  <leeming@lyx.org>
3072
3073         * LaTeXFeatures.C:
3074         * ToolbarBackend.C:
3075         * bufferparams.C:
3076         * lyxfunc.C: small changes due to the introduction of namespace
3077         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3078
3079 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * text3.C (dispatch): supress update when only moving the cursor
3082         * cursor.C (selHandle): remove commented code
3083
3084 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3085
3086         * paragraph.C (startTeXParParams): correct column count
3087         * CutAndPaste.C (pasteSelection): remove const_cast
3088         * output_docbook.C (docbookParagraphs): remove const_cast
3089         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3090         const_cast and return ParagraphList::const_iterator
3091         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3092         * output_plaintext.C (writeFileAscii): remove const_cast
3093         * paragraph.[Ch] (simpleTeXOnePar): make const
3094         * paragraph_funcs.C (outerPar): use const iterators
3095         * paragraph_pimpl.C (validate): use const iterators
3096         * text.C (setHeightOfRow): use const iterators
3097
3098 2004-05-17  Angus Leeming  <leeming@lyx.org>
3099
3100         * lfuns.h:
3101         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3102
3103         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3104         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3105         if the citation engine has changed.
3106
3107 2004-05-14  José Matos  <jamatos@lyx.org>
3108
3109         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3110         if the textclass does not provide it. Have it different for sgml and
3111         xml.
3112         support the language of document.
3113         * output_docbook.C (docbookParagraphs):
3114         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3115         first anchor as the id of the paragraph, remove special case code.
3116         * sgml.C (escapeChar): escape only < & >.
3117
3118 2004-05-14  Angus Leeming  <leeming@lyx.org>
3119
3120         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3121         dependencies on src/frontends/controllers/biblio.h. Define a
3122         CiteEngine_enum wrapper class to enable the enum to be forward
3123         declared.
3124
3125 2004-05-12  Angus Leeming  <leeming@lyx.org>
3126
3127         * buffer.C: up LYX_FORMAT to 234.
3128         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3129         use_numerical_citations with a single biblio::CiteEngine cite_engine
3130         variable.
3131         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3132
3133 2004-05-13  José Matos  <jamatos@lyx.org>
3134
3135         * converter.h:
3136         * converter.C (Converter, readFlags): add xml member.
3137         * outputparams.h: add XML flavor.
3138         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3139
3140 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3141
3142         * lyxfunc.C (dispatch):
3143         (getStatus): fix handling of LFUN_SEQUENCE
3144
3145 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3146
3147         * debug.C (showLevel): do not forget the end-of-line marker
3148
3149 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3150
3151         * kbmap.C (read): do not stop parsing a bind file when an error
3152         occurs (bug 1575)
3153
3154 2004-04-29  Angus Leeming  <leeming@lyx.org>
3155
3156         * cursor.C:
3157         * factory.C:
3158         * pariterator.C:
3159         * text2.C: wrap a bunch of #warning statements
3160         inside #ifdef WITH_WARNINGS blocks.
3161
3162 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3163
3164         * buffer.C: increment format to 233.
3165
3166 2004-04-28  Angus Leeming  <leeming@lyx.org>
3167
3168         * BufferView_pimpl.C:
3169         * lyxfunc.C:
3170         * text3.C:
3171         s/updateToolbar()/updateToolbars()/
3172         s/Toolbar.h/Toolbars.h/
3173
3174 2004-04-28  Angus Leeming  <leeming@lyx.org>
3175
3176         * BufferView.[Ch] (c-tor):
3177         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3178         No longer passes these data to the WorkArea generator.
3179
3180 2004-04-28  Angus Leeming  <leeming@lyx.org>
3181
3182         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3183
3184 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3185
3186         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3187
3188 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3189
3190         * output_latex.C (TeXEnvironment): make sure that there is a line
3191         break before \end{foo} for the last paragraph of a document
3192         (TeXOnePar): if the paragraph is at the end of the document (or
3193         inset) and the language has to be reset, then make sure that the
3194         line break is _before_ the language command, not after (fixes bug
3195         1225); also make sure that the language reset command is the first
3196         thing after the paragraph (to ensure proper nesting of
3197         environments and thus fix bug 1404)
3198
3199 2004-04-21  John Levon  <levon@movementarian.org>
3200
3201         * ToolbarBackend.h:
3202         * ToolbarBackend.C: make "name" be a programmatic name
3203         and a gui_name field.
3204
3205         * lyxfunc.C: display the minibuffer on M-x
3206
3207 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3210         (bug 1526)
3211
3212 2004-04-19  Angus Leeming  <leeming@lyx.org>
3213
3214         * BufferView_pimpl.C (setBuffer): changed preview interface.
3215
3216         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3217         possible values.
3218
3219 2004-04-19  John Levon  <levon@movementarian.org>
3220
3221         * BufferView_pimpl.C:
3222         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3223
3224 2004-04-05  Angus Leeming  <leeming@lyx.org>
3225
3226         * text.C (redoParagraphs): add call to updateCounters(), thereby
3227         fixing the missing "Figure #:" label from the caption of a
3228         figure float.
3229
3230 2004-04-13  Angus Leeming  <leeming@lyx.org>
3231
3232         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3233         cursor is clicked out of an inset.
3234
3235 2004-04-13  Angus Leeming  <leeming@lyx.org>
3236
3237         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3238         than an InsetOld one.
3239
3240 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3241
3242         * format.[Ch]: add editor to Format
3243         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3244         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3245
3246 2004-04-08  André Pönitz  <poenitz@gmx.net>
3247
3248         * metricsinfo.h: remove PainterInfo::width member
3249
3250 2004-04-08  Angus Leeming  <leeming@lyx.org>
3251
3252         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3253         "\providecommand" rather than "\newcommand", thereby preventing
3254         clashes with packages that define "\boldsymbol" themselves.
3255         Eg, beamer.
3256
3257 2004-04-08  Angus Leeming  <leeming@lyx.org>
3258
3259         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3260         thereby squashing an unnecessary warning.
3261
3262 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3263
3264         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3265         setBuffer()
3266
3267 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3268
3269         * BufferView.C (setCursor): call redoParagraph (some insets could
3270         have been opened)
3271         (putSelectionAt): remove the 'double update' trick
3272
3273         * BufferView_pimpl.C (fitCursor): call refreshPar
3274         (workAreaDispatch): remove an uneeded update call
3275         (dispatch): remove some manual update calls
3276
3277         * cursor.[Ch]: remove cached_y_, updatePos
3278         (selHandle): set noUpdate when appropriate
3279
3280         * lyxfunc.C (dispatch): track if we need an update
3281
3282         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3283
3284         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3285         (paintSelection): cheap optimization, do not call cursorX when not
3286         needed
3287         (paintPars): change signature
3288         (refreshPar): add
3289         (paintText): adjust
3290         (paintTextInset): adjust
3291
3292         * text.C: adjust
3293
3294 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3295
3296         * lengthcommon.C: compilation fix: remove explicit array size from
3297         unit_name[] and friends
3298
3299 2004-04-05  Angus Leeming  <leeming@lyx.org>
3300
3301         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3302
3303         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3304         present only for the preferences dialog.
3305         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3306
3307 2004-04-05  Angus Leeming  <leeming@lyx.org>
3308
3309         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3310         to enable the frontends to export changes to lyxrc correctly.
3311
3312         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3313
3314 2004-04-07  André Pönitz  <poenitz@gmx.net>
3315
3316         * cursor.[Ch] (selClear, adjust): remove math
3317
3318         * cursor_slice.C: more agressive assert
3319
3320         * lyxfunc.C:
3321         * BufferView_pimpl.C: rework mouse event dispatch
3322
3323         * dociterator.C:
3324         * paragraph.C:
3325         * text2.C:
3326         * text3.C: adjust
3327
3328 2004-04-05  André Pönitz  <poenitz@gmx.net>
3329
3330         * cursor.[Ch] (valign, halign...): remove unneeded functions
3331
3332 2004-04-05  Angus Leeming  <leeming@lyx.org>
3333
3334         * lyxlength.[Ch] (unit_name et al.): const-correct.
3335
3336 2004-04-05  Angus Leeming  <leeming@lyx.org>
3337
3338         * BufferView_pimpl.C:
3339         * buffer.C:
3340         * counters.C:
3341         * cursor.C:
3342         * lyxfunc.C
3343         * paragraph.C:
3344         * pariterator.C:
3345         * text.C:
3346         * text2.C:
3347         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3348
3349 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3352
3353 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3356         * BufferView_pimpl.[Ch] (getStatus)
3357         * BufferView.[Ch] (getStatus): add
3358         * lyxfunc.C (getStatus): move lfuns handled in
3359         BufferView::dispatch to te function above
3360         * Cursor.C (setSelection): set selection() = true
3361
3362 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3363
3364         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3365
3366 2004-03-31  Angus Leeming  <leeming@lyx.org>
3367
3368         * lyxfunc.C (dispatch): Fall through to the generic
3369         Dialogs::show("preamble").
3370
3371 2004-03-31  Angus Leeming  <leeming@lyx.org>
3372
3373         * lyxfunc.C (dispatch): Fall through to the generic
3374         Dialogs::show("spellchecker").
3375
3376 2004-03-31  Angus Leeming  <leeming@lyx.org>
3377
3378         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3379         preferences dialog.
3380
3381 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3382
3383         * BufferView.C
3384         * cursor.[Ch]
3385         * dociterator.[Ch]:
3386         * insetiterator.[Ch]:
3387         * lyxfind.C:
3388         * lyxfunc.C:
3389         * pariterator.[Ch]:
3390         * text2.C:
3391         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3392
3393 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3394
3395         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3396         insets where we are putting the cursor.
3397
3398 2004-03-31  Angus Leeming  <leeming@lyx.org>
3399
3400         * lfuns.h:
3401         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3402
3403         * lyxrc.[Ch] (read, write): overloaded member functions taking
3404         a std::[io]stream arguments.
3405
3406         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3407
3408 2004-03-31  Angus Leeming  <leeming@lyx.org>
3409
3410         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3411         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3412
3413         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3414         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3415
3416 2004-03-31  Angus Leeming  <leeming@lyx.org>
3417
3418         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3419         the LFUN_ALL_INSETS_TOGGLE code.
3420
3421 2004-03-30  Angus Leeming  <leeming@lyx.org>
3422
3423         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3424         has died. Fall through to the generic Dialogs::show("document").
3425
3426 2004-03-30  Angus Leeming  <leeming@lyx.org>
3427
3428         * lfuns.h:
3429         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3430         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3431
3432         * lyxfunc.C (getStatus, dispatch): define the actions for these
3433         lfuns. Little more than a cut and pste job from ControlDocument.C
3434
3435         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3436
3437 2004-03-30  Angus Leeming  <leeming@lyx.org>
3438
3439         * lfuns.h:
3440         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3441         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3442
3443         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3444         open/closed state of ollapsable insets. Usage:
3445
3446         all-inset-toggle <state> <name>, where
3447         <state> == "open" || "closed" || "toggle" and
3448         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3449
3450         * lyxtext.h, text2.C (toggleInset): removed.
3451
3452         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3453         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3454         now passes LFUN_INSET_TOGGLE to the found inset.
3455
3456         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3457         is now invoked as "all-insets-toggle toggle branch".
3458
3459 2004-03-30  Angus Leeming  <leeming@lyx.org>
3460
3461         * dociterator.C:
3462         * insetiterator.C:
3463         * pariterator.[Ch]: added/corrected header blurb.
3464
3465 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * dociterator.[Ch]: add an inset_ member
3468         (backwardPos): implemented
3469         (backwardPos, forwardPos): use inset_ when the stack is empty.
3470         (doc_iterator_begin, doc_iterator_end): implemented
3471         * pariterator.[Ch]: adjust, add begin, end
3472         * insetiterator.[Ch]: adjust, add begin, end
3473         * cursor.C:
3474         * document.C:
3475         * BufferView.C:
3476         * BufferView_pimpl.C:
3477         * CutAndPaste.C: adjust
3478
3479 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3480
3481         * buffer.C: increment file format to 232.
3482         * LaTeXFeatures.C: add bibtopic package.
3483         * bufferparams.[Ch]: param \use_bibtopic.
3484
3485         * lyxrc.[Ch]: add lyxrc bibtex_command
3486         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3487
3488         * buffer.C: increment file format to 231.
3489
3490 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3491
3492         * dociterator.C: implement forwardPar
3493         * iterators.[Ch]: remove, replaced by
3494         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3495         * BufferView.C:
3496         * BufferView_pimpl.C:
3497         * CutAndPaste.C:
3498         * buffer.C:
3499         * bufferview_funcs.C:
3500         * cursor.C:
3501         * lyxfind.C
3502         * lyxfunc.C
3503         * paragraph_funcs.C
3504         * toc.C:
3505         * Makefile.am: adjust
3506
3507 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3508
3509         * CutAndPaste.C (pasteSelection): fix 2 crashes
3510         (eraseSelection): fix a crash
3511         * paragraph_funcs.C: remove a warning
3512
3513 2004-03-28  Angus Leeming  <leeming@lyx.org>
3514
3515         * lfuns.h:
3516         * LyXAction.C (init): new LFUN_PRINT.
3517
3518         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3519
3520 2004-03-27  Angus Leeming  <leeming@lyx.org>
3521
3522         * lfuns.h:
3523         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3524
3525         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3526
3527 2004-03-27  Angus Leeming  <leeming@lyx.org>
3528
3529         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3530         insetlist always contains non-null pointers to insets.
3531
3532 2004-03-26  Angus Leeming  <leeming@lyx.org>
3533
3534         * src/BufferView_pimpl.C:
3535         * src/CutAndPaste.C:
3536         * src/buffer.C:
3537         * src/iterators.C:
3538         * src/output_plaintext.C:
3539         * src/outputparams.h:
3540         * src/paragraph_funcs.C:
3541         * src/rowpainter.C:
3542         * src/text.C:
3543         * src/text2.C:
3544         * src/frontends/controllers/ControlErrorList.C:
3545         * src/frontends/gtk/FileDialogPrivate.C:
3546         * src/frontends/gtk/GPainter.C:
3547         * src/frontends/gtk/GToolbar.C:
3548         * src/frontends/qt2/QRef.C:
3549         * src/mathed/math_scriptinset.C: squash compiler warnings.
3550
3551 2004-03-26  Angus Leeming  <leeming@lyx.org>
3552
3553         * ispell.C (LaunchIspell::start):
3554         * lyx_cb.C (AutoSaveBuffer::start):
3555         invoke run(DontWait) rather than runNonBlocking().
3556
3557 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3558
3559         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3560
3561 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3562
3563         * kbsequence.C (print): adjust
3564
3565         * kbmap.C (printKeySym): rename and change signature
3566         (printKey): use LyXKeySym::print()
3567
3568 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3569
3570         * undo.C: add using std::advance to compile for stlport
3571
3572 2004-03-24  Angus Leeming  <leeming@lyx.org>
3573
3574         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3575         it leads to a crash when no buffer is present.
3576
3577 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3578             Martin Vermeer  <martin.vermeer@hut.fi>
3579
3580         * lyxfunc.C (dispatch):
3581         * bufferparams.C (readToken): use the new LColor::setColor
3582
3583         * LColor.[Ch] (setColor): new version that takes two strings as
3584         argument and creates a new color entry if necessary
3585
3586 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3587
3588         * buffer.C (makeLaTeXFile): if the main latex file that is
3589         processed is usually a subdocument of some master, then pretend
3590         for a while that it is actually the master
3591
3592 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3593
3594         * buffer.C (getLabelList):
3595         (getBibkeyList): use getMasterBuffer()
3596         (getMasterBuffer): new method. Returns the main document in the
3597         case where one is using included documents.
3598
3599 2004-03-25  André Pönitz  <poenitz@gmx.net>
3600
3601         * Makefile.am:
3602         * iterators.[Ch]:
3603         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3604
3605         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3606
3607         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3608         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3609
3610         * ParameterStruct.h: merge with ParagraphParameters
3611
3612         * lyxtext.h: remove LyXText::parOffset() and getPar()
3613
3614         * text3.C: Remove all 'manual' update calls. We do now one per user
3615         interaction which is completely sufficient.
3616
3617         * Bidi.C:
3618         * BufferView.[Ch]:
3619         * BufferView_pimpl.C:
3620         * FontIterator.[Ch]:
3621         * MenuBackend.C:
3622         * ParagraphParameters.[Ch]:
3623         * buffer.C:
3624         * buffer.h:
3625         * bufferlist.C:
3626         * cursor.[Ch]:
3627         * cursor_slice.[Ch]:
3628         * dociterator.[Ch]:
3629         * errorlist.[Ch]:
3630         * factory.C:
3631         * lfuns.h:
3632         * lyxfind.C:
3633         * lyxfunc.C:
3634         * output_docbook.[Ch]:
3635         * output_latex.[Ch]:
3636         * output_linuxdoc.[Ch]:
3637         * output_plaintext.[Ch]:
3638         * paragraph.[Ch]:
3639         * paragraph_funcs.[Ch]:
3640         * paragraph_pimpl.[Ch]:
3641         * rowpainter.C:
3642         * tabular.[Ch]:
3643         * text.C:
3644         * text2.C:
3645         * toc.C:
3646         * undo.[Ch]: adjust
3647
3648         * frontends/controllers/ControlDocument.C:
3649         * frontends/controllers/ControlErrorList.C:
3650         * frontends/controllers/ControlSpellchecker.C:
3651         * insets/inset.C:
3652         * insets/inset.h:
3653         * insets/insetbase.h:
3654         * insets/insetbibitem.C:
3655         * insets/insetbox.C:
3656         * insets/insetbranch.C:
3657         * insets/insetcaption.C:
3658         * insets/insetcharstyle.C:
3659         * insets/insetcharstyle.h:
3660         * insets/insetcollapsable.C:
3661         * insets/insetcollapsable.h:
3662         * insets/insetert.C:
3663         * insets/insetfloat.C:
3664         * insets/insetfoot.C:
3665         * insets/insetmarginal.C:
3666         * insets/insetnote.C:
3667         * insets/insetoptarg.C:
3668         * insets/insettabular.C:
3669         * insets/insettext.C:
3670         * insets/insettext.h:
3671         * insets/insetwrap.C:
3672         * mathed/math_mboxinset.C:
3673         * mathed/math_nestinset.C:
3674         * mathed/math_scriptinset.C:
3675         * mathed/math_scriptinset.h:
3676         * support/types.h:
3677
3678 2004-03-24  Angus Leeming  <leeming@lyx.org>
3679
3680         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3681         deal with any child processes that have finished but are waiting to
3682         communicate this fact to the rest of LyX.
3683
3684 2004-03-24  Angus Leeming  <leeming@lyx.org>
3685
3686         64-bit compile fixes.
3687
3688         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3689         (c-tor): pass lyx::pos_types rather than ints.
3690
3691         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3692         lyx::pos_type.
3693
3694         * text.C (Delete): compile fix.
3695         (getPar): ensure that function declaration is the same as that in
3696         the header file.
3697
3698 2004-03-23  Angus Leeming  <leeming@lyx.org>
3699
3700         * ispell.C (LaunchIspell):
3701         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3702         a boost::shred_ptr rather than a std::auto_ptr.
3703
3704 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3705
3706         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3707         handle LFUN_FILE_INSERT_*
3708
3709         * lyxrc.C (setDefaults, getDescription, output, read):
3710         * lyxrc.h: remove ps_command
3711
3712 2004-03-22  Angus Leeming  <leeming@lyx.org>
3713
3714         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3715         Ensure that error_handler is processed once only and that all data
3716         is saved before attempting to output any warning messages.
3717
3718         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3719
3720 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3721
3722         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3723
3724 2004-03-19  André Pönitz  <poenitz@gmx.net>
3725
3726         * cursor.[Ch] (reset): take main text inset as argument
3727
3728         * BufferView: adjust
3729         * BufferView_pimpl.C: adjust
3730
3731         * paragraph.[Ch]: fix completely broken operator=()
3732
3733 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3734
3735         * LColor.C (getFromLyXName): make sure that the color name is used
3736         as lowercase.
3737
3738 2004-03-17  Angus Leeming  <leeming@lyx.org>
3739
3740         * lfuns.h:
3741         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3742
3743         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3744         dialog and to kill a forked process.
3745
3746 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3747
3748         * text2.C (setCursorFromCoordinates): fix font problem
3749
3750 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3753         bogus "rebuild cursor" code
3754
3755 2004-03-11  André Pönitz  <poenitz@gmx.net>
3756
3757         * buffer.[Ch]: use InsetText instead of LyXText as container for
3758         the main lyx text.
3759
3760         * dociterator.[Ch]: drop the BufferView * member which is not needed
3761         anymore after the change to buffer.C
3762
3763         * paragraph_funcs.C:
3764         * text.C:
3765         * text2.C:
3766         * BufferView.[Ch]:
3767         * BufferView_pimpl.[Ch]:
3768         * cursor.[Ch]:
3769         * cursor_slice.[Ch]: adjust
3770
3771         * text3.C: fix bug in mathDispatch
3772
3773 2004-03-08  André Pönitz  <poenitz@gmx.net>
3774
3775         * undo.[Ch]: use 'StableDocumentIterator' as base for
3776         the Undo struct.
3777
3778 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3779
3780         * LaTeXFeatures.C:
3781         * bufferparams.[Ch]: add jurabib support and param.
3782
3783         * LaTeX.C: add FIXME/comment.
3784
3785 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3786
3787         * buffer.C: increment file format to 230.
3788
3789 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3790
3791         * cursor.C (dispatch): avoid infinite loops
3792
3793 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3794
3795         * rowpainter.C (paintSelection): fix x coordinates
3796
3797 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3798
3799         * text.C (rowBreakPoint): fix breaking before displayed insets
3800
3801 2004-03-01  André Pönitz  <poenitz@gmx.net>
3802
3803         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3804
3805         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3806
3807         * Makefile.am:
3808         * BufferView.C:
3809         * BufferView_pimpl.C:
3810         * buffer.C:
3811         * lyxfind.C:
3812         * lyxfunc.C:
3813         * text.C:
3814         * text2.C:
3815         * text3.C: adjust
3816
3817 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * lyxtext.h:
3820         * text.C:
3821         * text2.C:
3822         * rowpainter.C:
3823         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3824         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3825
3826 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3827
3828         * Bidi.[Ch] (computeTables): const correctness
3829         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3830         fill_hfill, fill_label_hfill and x from Row
3831         * lyxtext.h: prepareToPrint returns a RowMetrics
3832         * rowPainter.C: adjust
3833         * text.C (prepareToPrint): use width, not textWidth. adjust
3834         (redoParagraphInternal, cursorX): adjust
3835         * text2.C (getColumnNearX): adjust
3836         (init): put a default value to the top LyXText::width
3837
3838 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3841
3842 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * lyxtext.h: add FontIterator class
3845
3846         * text.C (FontIterator, operator*, operator->, operator++): add
3847         (rowBreakPoint, setRowWidth): adjust (fixing a
3848         rebreaking bug)
3849
3850 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3851
3852         * BufferView_pimpl.C (workAreaDispatch): allow also
3853         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3854
3855 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * text.C (rowBreakPoint): fix a bug showing with very large insets
3858
3859 2004-02-25  André Pönitz  <poenitz@gmx.net>
3860
3861         * text3.C:
3862         * cursor.[Ch]: move some mathed specific code to mathed
3863
3864 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3865
3866         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3867         use_tempdir in preferences
3868         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3869         tempfile creation
3870         * lyx_main.C: ensure that tempdir is valid
3871         * lyxlex.h: correct typo
3872         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3873         * paragraph.[Ch] (isMultiLingual): make const
3874         * cursor.[Ch] (openable): make const
3875
3876 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3877
3878         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3879
3880 2004-02-20  André Pönitz  <poenitz@gmx.net>
3881
3882         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3883
3884         * cursor.[Ch]: prepare for localized getStatus()
3885
3886         * lyxtext.h:
3887         * tabular.C:
3888         * text.C:
3889         * text2.C:
3890         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3891
3892 2004-02-20  André Pönitz  <poenitz@gmx.net>
3893
3894         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3895
3896 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * text2.C (setCursorFromCoordinates): switch to absolute coords
3899         (cursorUp): adjust
3900         (cursorDown): adjust
3901         * text3.C (dispatch): adjust
3902
3903 2004-02-16  André Pönitz  <poenitz@gmx.net>
3904
3905         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3906           insets/ChangeLog)
3907
3908         * cursor_slice.[Ch]: remove unneeded acessor function
3909
3910         * lyxtext.h: rename rtl() to isRTL()
3911
3912         * rowpainter.C:
3913         * tabular.C:
3914         * text.C:
3915         * text2.C:
3916         * text3.C: adjust
3917
3918 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3919
3920         * rowpainter.C (paintSelection): coord fix
3921
3922 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3923
3924         * Spacing.C: compile fix
3925
3926 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3927
3928         * cursor.C (dispatch): restore current_ before returning
3929
3930 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * text2.C (cursorUp, cursorDown): fix coords
3933         (moveUp): fix crash
3934
3935 2004-02-12  André Pönitz  <poenitz@gmx.net>
3936
3937         * lyxtext.h:
3938         * text.C:
3939         * text2.C:
3940         * text3.C: add LCursor & parameter to most cursor movement functions
3941           remove usage of LyXText::cursorRow() and cursorPar()
3942
3943         * cursor.[Ch]: add textRow() needed members
3944
3945         * BufferView.C:
3946         * BufferView_pimpl.C:
3947         * paragraph.[Ch]:
3948         * BufferView.C:
3949         * BufferView_pimpl.C: adjust
3950
3951 2004-02-11  André Pönitz  <poenitz@gmx.net>
3952
3953         * lyxfunc.C:
3954         * BufferView.[Ch]:
3955         * BufferView_pimpl.C: shift undo/redo handling
3956
3957         * cursor.[Ch]: fix mathed crash
3958
3959         * lyxfind.C:
3960         * lyxtext.h: move selectionAsText to LCursor
3961
3962         * output_latex.C:
3963         * paragraph.C:
3964         * text.C:
3965         * text2.C:
3966         * text3.C: adjust
3967
3968         * rowpainter.C: fix excessive drawing
3969
3970 2004-02-06  André Pönitz  <poenitz@gmx.net>
3971
3972         * BufferView.[Ch]:
3973         * BufferView_pimpl.[Ch]:
3974         * text3.C: move some text specific LFUN handling
3975
3976 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3977
3978         * text3.C (checkInsetHit): adjust coords
3979         * text2.C (getColumnNearX): adjust coords
3980         (edit): adjust coords
3981         * text.C (getRowNearY): add two asserts
3982
3983 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3984
3985         * converter.C:
3986         * format.C: add using std::distance to compile on gcc 2.95/stlport
3987
3988 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3989
3990         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3991
3992 2004-02-04  André Pönitz  <poenitz@gmx.net>
3993
3994         * BufferView.[Ch] (insertInset):
3995         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3996
3997         * text2.C:
3998         * text3.C: adjust
3999
4000 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4001
4002         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4003         on the default clause of the switch
4004         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4005         wasn't catched by LCursor::dispatch
4006
4007 2004-02-03  André Pönitz  <poenitz@gmx.net>
4008
4009         * BufferView.C:
4010         * cursor.[Ch]: some additional asserts
4011
4012         * undo.[Ch]: remove LyXText dependency in interface
4013
4014         * lyxfunc.C: adjust
4015
4016         * lyxtext.h (firstPar, lastPar): remove dead functions
4017
4018         * text.C:
4019         * text2.C:
4020         * text3.C:
4021         * paragraph.[Ch]: adjust
4022
4023 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * lyxfind.C (find): fix argument order in call to ::find
4026
4027 2004-02-02  André Pönitz  <poenitz@gmx.net>
4028
4029         * cursor.[Ch]: remove direct access to anchor
4030
4031         * text.C: remove findText() hack
4032
4033 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * iterators.[Ch] (lockPath): remove in favour of...
4036         * BufferView.[Ch] (setCursor): this addition
4037         * BufferView.C (putSelectionAt): adjust
4038         * undo.C (performUndoOrRedo): adjust
4039         * lyxfunc.C (dispatch): adjust
4040
4041 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * iterators.C (lockPath): add a missing slice
4044         * undo.C (performUndoOrRedo): remove redundant positioning code
4045
4046 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * vc-backend.C (scanMaster): ";" -> ';'
4049
4050 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4053         std::binary_function
4054
4055         * lyxtextclass.C (compare_name): rename to...
4056         (LayoutNamesEqual): ...this
4057
4058         * lyxlex_pimpl.C (compare_tags): inherit from
4059         std::binary_function, put back into anon namespace
4060
4061         * lyxfind.C (MatchString): inherig from std::binary_function
4062         (findChange): use empty() istead of !size()
4063
4064         * format.C (FormatNamesEqual): new functor
4065         (getFormat): use it
4066         (getNumber): use it
4067         (add): use it
4068         (erase): use it
4069         (setViewer): use it
4070
4071         * converter.C (compare_Converter): rename to...
4072         (ConverterEqual): ...this, and fixup a bit.
4073         (getConverter): use it, and make function const
4074         (getNumber): use it, and make function const
4075         (add): use it
4076         (erase): use it:
4077
4078         * bufferlist.C: add using boost::bind
4079
4080         * MenuBackend.C (MenuNamesEqual): new functor
4081         (hasMenu): use it, and make function const
4082         (hasSubmenu): use nested bind to get rid of compare_memfun.
4083
4084 2004-01-30  André Pönitz  <poenitz@gmx.net>
4085
4086         * BufferView_pimpl.C:
4087         * cursor.C:
4088         * cursor.h:
4089         * cursor_slice.[Ch]:
4090         * lyxfunc.C:
4091         * lyxtext.h:
4092         * paragraph_funcs.C:
4093         * paragraph_funcs.h:
4094         * rowpainter.C:
4095         * text.C:
4096         * text2.C:
4097         * text3.C: move some of the edit(x,y) handling to the insets
4098         some coordinate changes.
4099
4100 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * text.C: add using statements for std::advance and std::distance
4103
4104         * paragraph.C: add using statement for std::distance
4105
4106         * lyxfind.C: add using statement for std::advance
4107
4108         * cursor.C (region): remove std:: from swap
4109         (openable): use nucleus in stead of operator->
4110
4111         * BufferView.C: add using statements for std::distance and std::swap
4112
4113 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * iterators.C: Remove the pimple, move the needed structures to
4116         the header file. Create accessor for the positions stack.
4117         (asPosIterator): remove function
4118
4119         * PosIterator.C (PosIterator): move constructors to top of file
4120         (PosIterator): reimplement the constructor taking a ParIterator in
4121         terms of setFrom.
4122         (setFrom): new function
4123         (operator!=): inline it
4124
4125 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * lyxfind.C (replaceAll): use std::advance
4128
4129         * iterators.h: inherit from std::iterator.
4130
4131         * PosIterator.C (advance, distance): remove
4132         * PosIterator.h: interit from std::iterator.
4133
4134 2004-01-26  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.[Ch]:
4137         * BufferView_pimpl.[Ch]:
4138         * InsetList.[Ch]:
4139         * PosIterator.[Ch]:
4140         * buffer.h:
4141         * bufferview_funcs.C:
4142         * cursor.[Ch]:
4143         * cursor_slice.h:
4144         * factory.[Ch]:
4145         * iterators.[Ch]:
4146         * lyxfind.C:
4147         * lyxfunc.C:
4148         * lyxtext.h:
4149         * output_docbook.C:
4150         * output_latex.C:
4151         * output_linuxdoc.C:
4152         * output_plaintext.C:
4153         * paragraph.[Ch]:
4154         * paragraph_funcs.[Ch]:
4155         * paragraph_pimpl.[Ch]:
4156         * rowpainter.C:
4157         * tabular.C:
4158         * tabular.h:
4159         * text.C:
4160         * text2.C:
4161         * text3.C: more IU:  dumps most of the rest of the mathcursor
4162     implementation into cursor.[Ch]; "globalize" a bit of it.
4163
4164 2004-01-25  Angus Leeming  <leeming@lyx.org>
4165
4166         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4167
4168 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4169
4170         * LaTeXFeatures.h: add nice_ and nice() const
4171         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4172
4173 2004-01-20  André Pönitz  <poenitz@gmx.net>
4174
4175         * BufferView.[Ch]:
4176         * BufferView_pimpl.C:
4177         * PosIterator.C:
4178         * bufferview_funcs.C:
4179         * cursor.[Ch]:
4180         * cursor_slice.[Ch]:
4181         * factory.C:
4182         * iterators.C:
4183         * lyx_cb.C:
4184         * lyxfind.C:
4185         * lyxfunc.C:
4186         * lyxtext.h:
4187         * rowpainter.C:
4188         * text.C:
4189         * text2.C:
4190         * text3.C:
4191         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4192           LCursor and mathcursor parts to LCursor and InsetBase.
4193
4194 2004-01-15  André Pönitz  <poenitz@gmx.net>
4195
4196         * cursor_slice.[Ch]: add a few covienience functions
4197
4198         * funcrequest.[Ch]: remove BufferView * member
4199
4200         * BufferView_pimpl.C:
4201         * cursor.C:
4202         * factory.[Ch]:
4203         * lyxfind.[Ch]:
4204         * lyxfunc.C:
4205         * lyxtext.h:
4206         * text3.C:
4207         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4208
4209 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4210
4211         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4212         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4213
4214 2004-01-13  André Pönitz  <poenitz@gmx.net>
4215
4216         * textcursor.[Ch]:
4217         * lyxtext.h: hide cursor and selection anchor behind accessor function
4218
4219         * BufferView.C:
4220         * BufferView_pimpl.[Ch]:
4221         * PosIterator.C:
4222         * bufferview_funcs.C:
4223         * cursor.h:
4224         * lyxfind.C:
4225         * lyxfunc.C:
4226         * text.C:
4227         * text2.C:
4228         * text3.C:
4229         * undo.C: adjust
4230
4231         * cursor.h:
4232         * cursor_slice.[Ch]: some integer type changes for inset unification
4233
4234         * lyxcursor.[hC]: remove, it's CursorSlice now.
4235
4236         * Makefile.am:
4237         * BufferView_pimpl.[Ch]:
4238         * bufferview_funcs.C:
4239         * cursor_slice.C:
4240         * lyxtext.h:
4241         * text.C:
4242         * text2.C:
4243         * text3.C:
4244         * textcursor.[Ch]: adjust
4245
4246 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4247
4248         * text2.C (undoSpan): add and use
4249         * text.C (breakParagraph): use undoSpan (fix bug 578)
4250         * lyxtext.h: adjust
4251
4252 2004-01-08  Angus Leeming  <leeming@lyx.org>
4253
4254         * BufferView_pimpl.C (MenuInsertLyXFile):
4255         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4256         * lyxfunc.C (menuNew, open, doImport):
4257         FileFilterList change to the FileDialog open and save functions.
4258
4259 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * ShareContainer.h: make isEqual and isUnique adaptable
4262
4263         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4264
4265 2004-01-07  Angus Leeming  <leeming@lyx.org>
4266
4267         * LyXAction.C:
4268         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4269
4270         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4271
4272         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4273         functions replacing find, replace and replaceAll.
4274
4275         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4276         LFUN_WORDFIND(FORWARD|BACKWARD).
4277
4278 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4279
4280         * text.C (breakParagraph): remove an outdated #warning
4281
4282 2004-01-07  André Pönitz  <poenitz@gmx.net>
4283
4284         * lyxfind.C: somewhat clearer logic
4285
4286         * text.C: prevent crash in cursorX on unitialized row cache
4287
4288 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4289
4290         * lyxcursor.[Ch] (operator>): add
4291         * textcursor.C (selStart, selEnd): use std::min and std::max
4292
4293 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * Chktex.C: include boost/format.hpp
4296
4297 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * InsetList.C: replace functor MathcIt with adaptable functor
4300         InsetTablePosLess
4301         (insetIterator): modify accordingly
4302
4303         * BranchList.h: move the BranchNamesEqual functor here from...
4304         * BranchList.C: ... to here
4305
4306         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4307         SameName and match.
4308         (add): replace a finding loop with std::find_if.
4309
4310 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4311
4312         * output_docbook.C: moving LatexParam functionality into
4313         .layout files
4314
4315 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4316
4317         * buffer.C: increment format to 229.
4318
4319 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4320
4321         * LaTeXFeatures.C:
4322         * lyx_sty.[Ch]: remove minipageindent_def
4323
4324         * LyXAction.C:
4325         * factory.C:
4326         * lfuns.h:
4327         * lyxfunc.C:
4328         * text3.C: remove LFUN_INSET_MINIPAGE
4329
4330 2003-12-28  Angus Leeming  <leeming@lyx.org>
4331
4332         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4333
4334 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4335
4336         * text2.C (setParagraph): fix off-by-one crash
4337
4338 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4339
4340         * output_docbook.C: header stuff for AGU
4341
4342 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4343
4344         * text2.C (redoCursor): remove
4345         * text.C:
4346         * text3.C:
4347         * BufferView_pimpl.C: remove calls to redoCursor and
4348         setCursor(cursor.par(), cursor.pos()) all around
4349
4350 2003-12-15  Angus Leeming  <leeming@lyx.org>
4351
4352         * buffer.C: up the format to 228.
4353
4354 2003-12-15  André Pönitz  <poenitz@gmx.net>
4355
4356         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4357         slices
4358
4359         * Makefile.am:
4360
4361         * BufferView_pimpl.C:
4362         * cursor.[Ch]:
4363         * lyxcursor.[Ch]:
4364         * rowpainter.[Ch]:
4365         * lyxtext.h:
4366         * text.C:
4367         * text2.C:
4368         * text3.C: adjust
4369
4370 2003-12-15  Angus Leeming  <leeming@lyx.org>
4371
4372         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4373         than getFromGUIName to manipulate the color.
4374
4375 2003-12-14  Angus Leeming  <leeming@lyx.org>
4376
4377         * BranchList.[Ch]: minimize the API.
4378         (Branch::getBranch, getColor): now return a 'const &'.
4379         (Branch::setSelected) now returns a bool set to true if the
4380         selection status changes.
4381         (BranchList::clear, size, getColor, setColor, setSelected,
4382         allBranches, allSelected, separator): removed.
4383         (BranchList::find): new functions, returning the Branch with
4384         the given name.
4385         (BranchList::add, remove): return a bool indicating that
4386         the operation was successful.
4387
4388         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4389         new InsetBranch::isBranchSlected member function.
4390
4391         * LColor.[Ch]: mimimize the API.
4392         (fill): renamed as addColor and made private.
4393         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4394         versions of these functions taking a string arg have been removed.
4395
4396         * bufferparams.C (readToken):
4397         * lyxfunc.C (dispatch):
4398         * lyxrc.C (read): changes due to the altered BranchList and
4399         LColor APIs.
4400
4401         * factory.C (createInset, readInset): changes due to altered
4402         InsetBranch c-tor.
4403
4404 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4405
4406         * factory.C:
4407         * lyxfunc.C: remove insetminipage. "minipage-insert"
4408         now produces a frameless minipage box inset.
4409
4410 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4411
4412         * textcursor.[Ch] (selStart,selEnd): add new methods
4413         remove selection::start, end, use LyXCursor::operator<
4414         * lyxcursor.[Ch] (operator<): add
4415         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4416         * BufferView.[Ch] (unsetXSel): add
4417         * text2.C (clearSelection): use unsetXSel,adjust
4418         * text.C: adjust
4419         * text3.C: adjust
4420         * rowpainter.C: adjust
4421         * bufferview_funcs.C (put_selection_at): adjust
4422
4423 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4424
4425         * BufferView_pimpl.C: small coord. correction
4426
4427 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4428
4429         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4430         dragging over the splash screen.
4431
4432 2003-12-11  Angus Leeming  <leeming@lyx.org>
4433
4434         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4435         as it is now handled in LyXText::dispatch.
4436
4437         * text3.C (doInsertInset): remove a level of nesting.
4438
4439 2003-12-11  Angus Leeming  <leeming@lyx.org>
4440
4441         * factory.C (createInset): changes due to the changed interface to
4442         InsetCommandMailer::string2params.
4443
4444 2003-12-10  Angus Leeming  <leeming@lyx.org>
4445
4446         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4447         'dialog-show-new-inset <inset name>'
4448
4449 2003-12-10  Angus Leeming  <leeming@lyx.org>
4450
4451         * buffer.C: up the format to 227.
4452
4453         * factory.C: the box inset is now identified simply by 'Box'.
4454
4455 2003-12-10  Angus Leeming  <leeming@lyx.org>
4456
4457         * buffer.C: up the format to 226.
4458
4459         * factory.C: the note inset is now identified simply by 'Note'.
4460
4461 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4464         when a pit is enough. Standarize a couple of loops.
4465
4466 2003-12-05  Angus Leeming  <leeming@lyx.org>
4467
4468         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4469         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4470         data to the re-worked "log" dialog.
4471
4472 2003-12-03  André Pönitz  <poenitz@gmx.net>
4473
4474         * PosIterator.C:
4475         * iterators.C:
4476         * lyxtext.h:
4477         * output_latex.C:
4478         * paragraph_funcs.C:
4479         * text.C:
4480         * text2.C: use Inset::getText instead of Inset::getParagraph
4481
4482 2003-12-03  André Pönitz  <poenitz@gmx.net>
4483
4484         * buffer.[Ch]:
4485         * lyxtext.h:
4486         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4487         InsetText::read() as LyXText::read()
4488
4489 2003-12-02  Angus Leeming  <leeming@lyx.org>
4490
4491         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4492         type. Add a comment in the implementation that the function uses
4493         the stream's bad() function rather than fail() as the std::streams
4494         would do.
4495
4496 2003-12-02  André Pönitz  <poenitz@gmx.net>
4497
4498         * lyxlex.[Ch]: make interface more similar to std::stream
4499
4500         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4501
4502 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4503
4504         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4505
4506 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4507
4508         * vspace.[Ch]: remove VSpace::NONE
4509
4510 2003-12-01  André Pönitz  <poenitz@gmx.net>
4511
4512         * buffer.[Ch]:
4513         * lyxtext.h: move ParagraphList member to LyXText
4514         rename LyXText::ownerParagraphs to LyXText::paragraph
4515
4516         * CutAndPaste.C:
4517         * bufferview_funcs.C:
4518         * iterators.[Ch]:
4519         * lyx_cb.C:
4520         * paragraph.C:
4521         * rowpainter.C:
4522         * tabular.C:
4523         * text.C:
4524         * text2.C:
4525         * text3.C: adjust
4526
4527         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4528
4529         * undo.C: fix cursor positioning
4530
4531 2003-12-01  John Levon  <levon@movementarian.org>
4532
4533         * BufferView_pimpl.C: fix a crash on exit with
4534         a buffer open
4535
4536 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * BranchList.C: fix setSelected() method.
4539
4540 2003-11-28  André Pönitz  <poenitz@gmx.net>
4541
4542         * ParagraphParameters.[Ch]:
4543         * ParameterStruct.h: remove space above/below from Paragraph to
4544          InsetVSpace
4545
4546         * BufferView_pimpl.C:
4547         * factory.C:
4548         * lyxfunc.C:
4549         * lyxtext.h:
4550         * output_latex.C:
4551         * paragraph.C:
4552         * paragraph_funcs.C:
4553         * rowpainter.[Ch]:
4554         * text.C:
4555         * text2.C:
4556         * text3.C: adjust
4557
4558 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4559
4560         * factory.C: Syntax change for CharStyles
4561
4562 2003-11-28  André Pönitz  <poenitz@gmx.net>
4563
4564         * BufferView.[Ch]:
4565         * BufferView.[Ch]:
4566         * buffer.[Ch]:
4567         * buffer.[Ch]: move LyXText member
4568
4569 2003-11-28  André Pönitz  <poenitz@gmx.net>
4570
4571         * BufferView.[Ch]: make LyXText * text a private member
4572
4573         * BufferView_pimpl.C:
4574         * cursor.C:
4575         * iterators.C:
4576         * lyx_cb.C:
4577         * lyxfind.C:
4578         * lyxtext.h:
4579         * rowpainter.[Ch]:
4580         * text.C:
4581         * text2.C:
4582         * undo.C: adjust
4583
4584         * output_plaintext.C: cleanup
4585
4586 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4587
4588         * buffer.C:
4589         * lyxtextclass.[Ch]: parametrize SGML document header
4590
4591 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4592
4593         * converter.[Ch]:
4594         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4595         getFlavor().
4596
4597 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4598
4599         * text2.C (setFont): rework using PosIterator (no more recursive)
4600         (setCharFont): no more needed
4601         (setLayout): no more selection cursors fiddling (done by redoCursor)
4602         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4603         destroy remaining ones)
4604
4605 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4606
4607         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4608         * lyxtext.h: ditto
4609         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4610         selection cursors
4611         * lyxfunc.C: adjust
4612         * text3.C: adjust + re-allow multi par depth changes
4613         * textcursor.C: simplify a bit
4614
4615 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * src/buffer.C:
4618         * src/lyxlayout.C:
4619         * src/lyxlayout.h:
4620         * src/lyxtext.h:
4621         * src/output_docbook.C:
4622         * src/output_latex.C:
4623         * src/paragraph.C:
4624         * src/paragraph.h:
4625         * src/sgml.C:
4626         * src/sgml.h:
4627         * src/text2.C: Introducing a number of tags parametrizing various
4628         XML formats that we may want to support
4629
4630 2003-11-25  André Pönitz  <poenitz@gmx.net>
4631
4632         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4633
4634         * lyxtext.h (leftMargin/rightMargin): simplify interface
4635
4636         * rowpainter.C:
4637         * text.C:
4638         * text2.C:
4639         * text3.C: adjust
4640
4641 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4642
4643         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4644         master file to any child files. Fixes bug 546.
4645
4646 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4647
4648         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4649
4650 2003-11-24  André Pönitz  <poenitz@gmx.net>
4651
4652         * rowpainter.C: simplification
4653
4654         * text2.C (updateCounters): remove call to redoParagraph on
4655         changed labels as this is far too expensive.
4656
4657 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4658
4659         * converter.C (convert): fix a crash: this function gets
4660         called with buffer == 0 from importer code.
4661
4662 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * text3.C (cursorPrevious): make sure that we do not compare
4665         iterators form different containers.
4666         (cursorNext): ditto
4667
4668         * rowpainter.C (paintSelection): make sure that we do not compare
4669         iterators from different containers.
4670
4671         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4672         iterators from different ParagraphList containers.
4673         [NEXT] ditto
4674
4675         * text2.C (LyXText): change order of initialization slightly
4676         (operator=): new function. copy all variables except cache_par_
4677         (moveUp): make sure that we do not compare iterators from
4678         different ParagraphList constainers.
4679         (moveDown): ditto
4680
4681         * text.C (firstPar): new function
4682         (lastPar): new function
4683         (endPar): new function
4684
4685         * lyxtext.h: move things around and group public functions, public
4686         variables, private functions, private variables
4687
4688 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4689
4690         * factory.C: change call to InsetERT constructor to avoid
4691         additional invocation of method status
4692         * text2.C (toggleInset): remove redundant update() call
4693         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4694         instead of a Bufferview pointer
4695
4696 2003-11-21  André Pönitz  <poenitz@gmx.net>
4697
4698         * rowpainter.C: simplification
4699
4700 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4701
4702         * text3.C (dispatch): make possible to extend a word/row selection
4703         with the mouse
4704
4705 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4706
4707         * lyxtext.h: x0_,y0_ -> xo_,yo_
4708         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4709         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4710         * rowpainter.C (paintRows): paint full paragraphs
4711
4712 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4713
4714         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4715         screen coordinates)
4716
4717 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4718
4719         * lyxtext.h: add x0_, y0_
4720         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4721         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4722
4723 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4724
4725         * text2.C (setCursorIntern): move the x_target update here *
4726         * text3.C: change some bv() to true/false in calls to
4727         cursorUp/Down/Right/Left
4728         * cursor.C: use helper function.
4729
4730 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4731
4732         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4733         * paragraph_funcs.[Ch]: correct comment
4734         * rowpainter.C: do not paint selections away from bv->cursor()
4735         Fix a long standing selection painting bug.
4736         * text3.C: generalize mouse-selection code to LyXTexts other that
4737         top one
4738         * textcursor.C: do not use y coords if we can use par offsets
4739
4740 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4741
4742         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4743         cursor position after e.g. inset insert)
4744
4745 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4746
4747         * lyxfind.C (replace): adjust to locking removal + some
4748         code simplification
4749
4750 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4751
4752         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4753         of the path
4754
4755 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4756
4757         * lyxlayout.[Ch]:
4758         * output_docbook.C: XML sanitation: new layout
4759         parameters InnerTag and CommandDepth
4760
4761 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4762
4763         * BufferView_pimpl.C:
4764         * factory.C:
4765         * text3.C: Fix the insertion and modification of button-style
4766         insets
4767
4768 2003-11-13  André Pönitz  <poenitz@gmx.net>
4769
4770         * InsetList.[Ch]: remove deleteLyXText
4771
4772         * paragraph.[Ch]: cache beginOfBody position
4773
4774         * Bidi.C:
4775         * text.C:
4776         * text2.C:
4777         * text3.C: remove superfluous update() calls
4778
4779         * vspace.C: cleanup
4780
4781 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4782
4783         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4784         * BufferView.C (fitLockedInsetCursor): remove
4785         * cursor.[Ch] (getDim): add
4786         * text.C (getRowNearY): add faster version
4787         * text3.C: remove some update calls
4788
4789 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4790
4791         * LaTeXFeatures.C:
4792         * LyXAction.C:
4793         * MenuBackend.C:
4794         * MenuBackend.h:
4795         * dispatchresult.h:
4796         * factory.C:
4797         * lfuns.h:
4798         * lyxfunc.C:
4799         * lyxtextclass.C:
4800         * lyxtextclass.h:
4801         * text3.C: The Character Style /XML short element patch.
4802
4803 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4804
4805         * text3.C:
4806         * factory.C: Small step to solving 'unable to insert some insets'
4807         problem
4808
4809 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4810
4811         * cursor.[Ch] (updatePos): new function for updating the y
4812         position of the tip inset
4813         * bufferview_funcs.C (put_selection_at):
4814         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4815
4816 2003-11-11  André Pönitz  <poenitz@gmx.net>
4817
4818         * text.C: remove big comment on invalid Paragraph pointers as it is
4819         not valid anymore
4820
4821 2003-11-11  André Pönitz  <poenitz@gmx.net>
4822
4823         * text_funcs.[Ch]: merge with ...
4824
4825         * text.C: ... this
4826
4827         * lyxtext.h:
4828         * text2.C:
4829         * text3.C: adjust
4830
4831         * Makefile.am: remove text_funcs.[Ch]
4832
4833 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * cursor.C (getPos): return absolute cached y coord
4836
4837         * BufferView_pimpl.C (fitCursor): new simplistic code
4838         (workAreaDispatch): add a fitCursor call
4839
4840 2003-11-10  André Pönitz  <poenitz@gmx.net>
4841
4842         * BufferView.[Ch]:
4843         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4844
4845 2003-11-10  André Pönitz  <poenitz@gmx.net>
4846
4847         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4848         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4849         indicate that the cursor needs to leave an inset
4850
4851         * lyxtext.h: remove inset locking
4852
4853         * cursor.[Ch]: re-implement functionality provided by inset locking
4854
4855         * BufferView.[Ch]:
4856         * BufferView_pimpl.[Ch]:
4857         * LyXAction.C:
4858         * bufferview_funcs.[Ch]:
4859         * factory.C:
4860         * funcrequest.[Ch]:
4861         * iterators.C:
4862         * lyx_cb.C:
4863         * lyxfind.C:
4864         * lyxfunc.C:
4865         * text.C:
4866         * text2.C:
4867         * text3.C:
4868         * undo.C: adjust
4869
4870 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * PosIterator.[Ch]: replace the stack with a vector, add inset
4873         accesor
4874         * iterators.[C]: adjust
4875
4876 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4877
4878         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4879         replaced
4880         * paragraph_funcs.C (readParToken): put the correct id in the
4881         error item, not the id of the top paragraph
4882
4883 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4884
4885         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4886         * bufferview_funcs.C (put_selection_at): use the above
4887
4888 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4891
4892 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4893
4894         * output_linuxdoc.h:
4895         * output_plaintext.h:
4896         * output.h:
4897         * output_docbook.h: add #include statements
4898
4899 2003-11-05  José Matos  <jamatos@lyx.org>
4900
4901         * output_docbook.[Ch]:
4902         * output_latex.[Ch]:
4903         * output_linuxdoc.[Ch]:
4904         * output_plaintext.[Ch]: New files for output formats.
4905         * output.[Ch]: New file for helper functions.
4906
4907         * buffer.[Ch]:
4908         * paragraph_funcs.[Ch]: output functions moved to new files.
4909
4910         * outputparams.h: rename of latexrunparams.h
4911
4912         * LaTeX.[Ch]:
4913         * buffer.[Ch]:
4914         * bufferlist.[Ch]:
4915         * converter.[Ch]:
4916         * exporter.C:
4917         * paragraph.[Ch]:
4918         * paragraph_funcs.[Ch]:
4919         * paragraph_pimpl.[Ch]:
4920         * tabular.[Ch]: rename ascii to plaintext
4921         and LatexRunParams to OutputParams.
4922
4923 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * iterators.[Ch] (text): require bv argument
4926         * undo.C (recordUndo):
4927         * lyxfunc.C (dispatch):
4928         * bufferview_funcs.C (put_selection_at): adjust
4929
4930 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4931
4932         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4933
4934 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4937         nestings
4938
4939 2003-11-04  André Pönitz  <poenitz@gmx.net>
4940
4941         * cursor.[Ch]: restructure
4942
4943         * BufferView.[Ch]:
4944         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4945
4946         * iterators.[Ch] (asCursor): remove
4947
4948         * lfuns.h: remove LFUN_INSET_EDIT
4949
4950         * lyxfunc.C:
4951         * tabular.C:
4952         * text.C:
4953         * text2.C:
4954         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4955
4956 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * lyxfind.[Ch]: complete overhaul
4959         * BufferView_pimpl.C:
4960         * lyxfunc.C: adjust
4961         * paragraph.[Ch] (insert): add
4962
4963 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * BufferView.[Ch]:
4966         * lyxtext.h:
4967         * text.C: remove dead spellcheck code
4968
4969 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * dispatchresult.h: add a val setter
4972
4973         * cursor.C (dispatch): use a tempvar for data_[i]
4974
4975 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4976
4977         * PosIterator.[Ch]: compile fix
4978
4979 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * text.C (cursorPar): deactivate the cursor cache
4982
4983 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4986
4987 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * text3.C (dispatch): adjust for new DisptchResult semantics.
4990
4991         * lyxfunc.C (dispatch): handle update when return from
4992         Cursor::dispatch, adjust for new DispatchResult semantics.
4993
4994         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4995         DispatchResult(true) mean to not update. Add class functions for
4996         setting dispatched and update, as well as reading.
4997
4998         * cursor.C (dispatch): don't handle update here
4999
5000 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5003         * trans_mgr.C: adjust
5004
5005         * paragraph_funcs.C (readParToken): exception safety
5006
5007         * lyxvc.h: store the vcs pointer in a scoped_ptr
5008         * lyxvc.C: adjust
5009
5010         * lyxsocket.C (serverCallback): exception safety
5011
5012         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5013
5014         * ispell.C (clone): make it return a auto_ptr
5015
5016         * factory.C (createInset): exception safety
5017         (readInset): exception safety
5018
5019         * bufferlist.C (newBuffer): exception safety
5020
5021         * Thesaurus.C (Thesaurus): use initialization for aik_
5022
5023         * MenuBackend.C (expandToc): exception safety.
5024
5025 2003-11-03  André Pönitz  <poenitz@gmx.net>
5026
5027         * buffer.C:
5028         * buffer.h:
5029         * bufferview_funcs.C: remove getInsetFromId()
5030
5031         * lyxcursor.[Ch]:
5032         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5033
5034         * lyxfunc.C:
5035         * text2.C:
5036         * text3.C: adjust
5037
5038 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * PosIterator.C (distance, advance): new
5041         * bufferview_funcs.[Ch] (put_selection_at): new
5042         * iterators.[Ch] (lockPath): new
5043
5044 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5045
5046         * iterators.[Ch] (asPosIterator): added
5047         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5048         * PosIterator.[Ch]: added
5049
5050 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * text3.C:
5053         * lyxfunc.C:
5054         * cursor.C (dispatch):
5055         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5056
5057         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5058         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5059         contructor, add a class function dispatched. Remove operator>=
5060
5061 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * debug.C: only use the default constructor for debugstream
5064         (lyxerr) here.
5065
5066         * main.C (main): include debug.h and setup the lyxerr streambuf
5067         here.
5068
5069 2003-10-31  José Matos  <jamatos@lyx.org>
5070
5071         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5072
5073         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5074         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5075         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5076         * paragraph_pimpl.C (simpleTeXSpecialC):
5077         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5078         add LatexRunParams argument.
5079
5080         * exporter.C (Export): change call accordingly.
5081
5082         * latexrunparams.h: add new member to take care of the other backends.
5083 2003-10-30  José Matos  <jamatos@lyx.org>
5084
5085         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5086         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5087         factorise code for paragraph output.
5088         * buffer.[Ch]:
5089         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5090         move functions.
5091
5092 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * text3.C (dispatch):
5095         * lyxfunc.C (dispatch):
5096         * cursor.C (dispatch):
5097         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5098
5099         * dispatchresult.h: make the dispatch_result_t ctor explicit
5100
5101 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5102
5103         * sgml.[Ch]:
5104         * buffer.C: small refactoring of docbook stuff
5105
5106 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5109         meaning.
5110
5111 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5114         operator dispatch_result_t, and operators for == != and >=
5115
5116         * cursor.C (dispatch): adjust for operator dispatch_result_t
5117         removal. comment out call to update
5118
5119         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5120
5121 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * text3.C:
5124         * text2.C:
5125         * text.C:
5126         * lyxtext.h:
5127         * lyxfunc.C:
5128         * cursor.C:
5129         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5130         (dispatch):
5131
5132         * dispatchresult.h: new file, DispatchResult broken out of
5133         insets/insetbase.h
5134
5135         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5136
5137 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * text.C (rowBreakPoint): put a hack inside #if 0
5140
5141 2003-10-28  André Pönitz  <poenitz@gmx.net>
5142
5143         * lyxtext.h:
5144         * metricsinfo.C:
5145         * paragraph_funcs.C:
5146         * rowpainter.C:
5147         * text.C:
5148         * text2.C: general cleanup (lots of small stuff)
5149
5150 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * text2.C (cursorEnd): simple fix to the "end key goes to one
5153         before the end on last row" bug
5154
5155 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * text.C (backspace): fix the "zombie characters"
5158
5159 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5162
5163 2003-10-27  André Pönitz  <poenitz@gmx.net>
5164
5165         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5166
5167         * factory.C: handle new InsetPagebreak, InsetLine
5168
5169         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5170         and move handling into new InsetPagebreak, InsetLine
5171
5172         * BufferView_pimpl.C:
5173         * LyXAction.C:
5174         * ParagraphParameters.C:
5175         * ParameterStruct.h:
5176         * lyxfunc.C:
5177         * lyxtext.h:
5178         * paragraph.C:
5179         * paragraph.h:
5180         * paragraph_funcs.C:
5181         * paragraph_pimpl.C:
5182         * rowpainter.C:
5183         * text.C:
5184         * text2.C:
5185         * text3.C: adjust
5186
5187 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * text.C:
5190         * lyxrow_funcs.[Ch]:
5191         * Bidi.C:
5192         * paragraph.C:
5193         * lyxtext.h:
5194         * rowpainter.C:
5195         * text2.C:
5196         * text3.C: remove lastPos uses in favour of Row::endpos
5197
5198 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5199
5200         * undo.C (performUndoOrRedo): fix two crashes by setting a
5201         cursor by hand and reordering some calls. Use bv->lockInset instead
5202         of inset->edit because the latter loses cursor information
5203
5204 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5205
5206         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5207         by Martin
5208         (rowBreakPoint): fix width. change point to point + 1.
5209         Add a missing check.
5210
5211 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5212
5213         * MenuBackend.C:
5214         * lyxfunc.C: fix (at least partly) the problems
5215         with the Nav menu and headers inside branch insets
5216         reported by Kayvan
5217
5218 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * paragraph.C (getChar): add strong asserts
5221
5222         * lyxrow_funcs.C (lastPos): remove hideous hack
5223
5224         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5225         (fill): adjust to that (avoid an infinite loop)
5226
5227 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5228
5229         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5230
5231 2003-10-23  André Pönitz  <poenitz@gmx.net>
5232
5233         * RowList_fwd.h: change list<> to vector<> to gain speed
5234         after suggestion from Alfredo
5235
5236 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5237
5238         * lyxtext.h: move the bidi stuff from here...
5239         * text.C: and here
5240         * text2.C: and here
5241         * Bidi.[Ch]: ... to here
5242
5243 2003-10-23  André Pönitz  <poenitz@gmx.net>
5244
5245         * lyxtext.h:
5246         * text.C (isLastRow, isFirstRow): new functions
5247
5248         * paragraph.h: new width cache member
5249
5250         * rowpainter.C: replace RowList::iterator with Row & where possible
5251
5252         * lyxfunc.C: replace several view()->text with a single call
5253
5254         * toc.C: fix 'unused' warning
5255
5256 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5259         when woring with stream::pos_type
5260         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5261
5262 2003-10-22  André Pönitz  <poenitz@gmx.net>
5263
5264         * lyxtext.h:
5265         * text.C: use Row & instead of RowList::iterator
5266
5267         * lyxrow.h: rename end() to endpos()
5268
5269         * rowpainter.C:
5270         * text.C:
5271         * text2.C: adjust
5272
5273 2003-10-22  Angus Leeming  <leeming@lyx.org>
5274
5275         * buffer.[Ch] (fully_loaded): new member function, returning true
5276         only when the file has been loaded fully.
5277         Used to prevent the premature generation of previews and by the
5278         citation inset to prevent computation of the natbib-style label.
5279
5280         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5281         templates are all set up.
5282
5283         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5284
5285 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5286
5287         * text.C: fixed an "oops" in the "is a bit silly"
5288         bug fix
5289
5290 2003-10-21  André Pönitz  <poenitz@gmx.net>
5291
5292         * FuncStatus.[Ch]: small stuff, whitespace
5293
5294         * lyxfont.[Ch]: operator<<() for debug reasons
5295
5296         * lyxfunc.C:
5297         * lyxrow_funcs.C:
5298         * lyxtext.h: whitespace, spelling
5299
5300         * paragraph.C: naming of variables
5301
5302         * text.C:
5303         * text2.C: small stuff
5304
5305
5306 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5307
5308         * text.C: (1) finish off the inset display() work;
5309         (2) fix the "is a bit silly" bug (accessing char
5310         past end of par).
5311
5312 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5313
5314         * text.C: re-introduce display() for insets, fixing the
5315         various bugs (stretch of line above, math inset
5316         positioning, ...)
5317
5318 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5319
5320         * text.C (rightMargin): remove spurious semicolon
5321
5322         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5323         1415)
5324
5325 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5326
5327         * text3.C: fix one crash due to wrong cursor def
5328
5329 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * vc-backend.C (scanMaster): make the regex static
5332
5333         * LaTeX.C (scanAuxFile): make the regexs static
5334
5335         * text3.C (doInsertInset, dispatch, dispatch):
5336         * text2.C (cursorUp, cursorDown):
5337         * text.C (selectNextWordToSpellcheck):
5338         * BufferView_pimpl.C (dispatch):
5339         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5340
5341 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5342
5343         * lyxsocket.C: include <cerrno>
5344
5345 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * lyxfunc.C (dispatch): remove textcache stuff
5348
5349         * bufferlist.C (release): remove textcache stuff
5350         (closeAll): ditto
5351
5352         * TextCache.C: delete file
5353         * TextCache.h: delete file
5354
5355         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5356
5357         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5358         delete of the bv_->text.
5359         (resizeCurrentBuffer): remove texcache stuff
5360         (workAreaResize): ditto
5361
5362 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5365         action.
5366
5367 2003-10-16  André Pönitz  <poenitz@gmx.net>
5368
5369         * lyxrow.[Ch]:
5370         * paragraph.h:
5371         * rowpainter.C:
5372         * text.C:
5373         * text2.C:
5374         * text3.C: speed up by storing y positions per paragraph plus per-row
5375         offset instead of having a 'full' y position in the row.
5376
5377 2003-10-15  André Pönitz  <poenitz@gmx.net>
5378
5379         * iterators.[Ch]:
5380         * iterators.[Ch]:
5381         * undo.[Ch]: make undo aware of inner insets
5382
5383 2003-10-14  Angus Leeming  <leeming@lyx.org>
5384
5385         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5386         static member functions LyX::ref() and LyX::cref.
5387         (lastfiles): new accessor functions for the new lastfiles_ member var.
5388         (addLyXView, views_): add a new LyXView to the list of views_.
5389         (updateInset): loop over all LyXViews to call their own updateInset
5390         member function, returning a pointer to the Buffer owning the inset.
5391
5392         * BufferView_pimpl.C (loadLyXFile):
5393         * MenuBackend.C (expandLastfiles):
5394         * bufferlist.C (MenuWrite, QuitLyX):
5395         lastfiles is no longer a global variable.
5396         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5397
5398         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5399         static function. Access through LyX::cref().emergencyCleanup().
5400
5401 2003-10-14  André Pönitz  <poenitz@gmx.net>
5402
5403         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5404
5405         * undo.[Ch]: restoring part of 'undo in insets'
5406
5407         * Makefile.am:
5408         * undo_funcs.[Ch]: merge with undo.[Ch]
5409
5410         * tabular.C: small cleansing stuff
5411
5412 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5413
5414         * paragraph_funcs.C (readParToken): report unknown insets as error
5415         boxes. Use the outer paragraph as location (also for unknown
5416         tokens).
5417
5418         * factory.C (readInset): do not abort on reading an unknown inset.
5419         Eat it and return 0.
5420
5421 2003-10-13  Angus Leeming  <leeming@lyx.org>
5422
5423         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5424
5425         * lyxrc.C: displayTranslator is now a function,
5426         declared in GraphicsTypes.h.
5427
5428 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5429
5430         * format.C: new placeholder $$a to pass the socket address.
5431
5432         * bufferlist.[Ch]: new function getBufferFromTmp.
5433
5434         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5435           files in the temporary dir.
5436
5437 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5438
5439         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5440
5441         * Makefile.am: add lyxsocket.[Ch].
5442
5443         * lyx_main.C (error_handler): handle SIGPIPE.
5444
5445 2003-10-13  André Pönitz  <poenitz@gmx.net>
5446
5447         * BufferView_pimpl.C:
5448         * lyxtext.h:
5449         * text.C:
5450         * text2.C:
5451         * text3.C:
5452         * undo_funcs.[Ch]: use paroffset_type instead of
5453           ParagraphList::iterators to prevent multiple conversion
5454           (and get a more robust interface)
5455
5456 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5459         * lyxtext.h: ditto
5460         * text3.C (dispatch): ditto
5461
5462 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5463
5464         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5465         move the onlyfile, use onlyfile instead of foundfile in a couple
5466         of places.
5467
5468         * DepTable.C (update): flush the error stream a bit more
5469
5470 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * lyxserver.C (callback): adjust
5473
5474         * lyxfunc.C (getStatus): add a missing brace in commented code
5475         (ensureBufferClean): reindent
5476         (dispatch): delete version taking a string
5477
5478 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * LaTeX.C (deplog): move found file handlig from here...
5481         (handleFoundFile): .. to new function here.
5482         (deplog): make sure to discover several files mentioned on the
5483         same log line.
5484
5485 2003-10-10  André Pönitz  <poenitz@gmx.net>
5486
5487         * lyxfunc.C:
5488         * lyxtext.h:
5489         * tabular.C:
5490         * text.C:
5491         * text2.C:
5492         * text3.C: fix some of the tabular crashes
5493
5494 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5495
5496         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5497
5498         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5499
5500 2003-10-09  André Pönitz  <poenitz@gmx.net>
5501
5502         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5503
5504         * BufferView.C:
5505         * BufferView_pimpl.C:
5506         * bufferview_funcs.C:
5507         * lyx_cb.C:
5508         * lyxcursor.C:
5509         * lyxfind.C:
5510         * lyxfunc.C:
5511         * lyxtext.h:
5512         * text.C:
5513         * text2.C:
5514         * text3.C:
5515         * text_funcs.[Ch]:
5516         * textcursor.[Ch]:
5517         * undo_funcs.C: adjust
5518
5519 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * text2.C (incrementItemDepth): new function, use a backtracking
5522         algorithm to discover the correct item depth.
5523         (resetEnumCounterIfNeeded): new function, use a backtracking
5524         algorithm to discover if counter reset is needed.
5525         (setCounter): use them. Simplify a bit. Add different labels for
5526         different item depths for itemize.
5527
5528         * paragraph.C (Paragraph): remove initialization of enumdepth
5529         (operator=): ditto
5530
5531         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5532         enumerate and itemize. Change the type of itemdepth to signed char.
5533
5534 2003-10-08  André Pönitz  <poenitz@gmx.net>
5535
5536         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5537           thing assignable.
5538         * text.C:
5539         * text2.C: adjust
5540
5541         * tabular.[Ch]: fix crash after 'row-insert'
5542
5543 2003-10-08  Angus Leeming  <leeming@lyx.org>
5544
5545         Fix doxygen warnings.
5546
5547         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5548         Remove CutAndPaste:: prefix from header file declaration.
5549
5550         * LColor.h (fill): remove LColor:: prefix from declaration.
5551
5552         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5553         use lyx::depth_type rather than Paragraph::depth_type so that
5554         header file and .C file match.
5555
5556         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5557
5558         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5559         * aspell.C: \file aspell_local.C -> \file aspell.C
5560         * gettext.C: \file gettext.C -> \file src/gettext.C
5561         * gettext.h: \file gettext.h -> \file src/gettext.h
5562         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5563         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5564         * text.C: \file text.C -> \file src/text.C
5565
5566         * toc.C: move comment so that doxygen is not confused.
5567
5568 2003-10-07  Angus Leeming  <leeming@lyx.org>
5569
5570         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5571
5572 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5573
5574         * aspell.C:
5575         * aspell_local.h: add forgotten std::string's.
5576
5577 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5578
5579         * LaTeXFeatures.C:
5580         * LyXAction.C:
5581         * factory.C:
5582         * lfuns.h:
5583         * lyxfunc.C:
5584         * text3.C: The Box patch. Fancybox support, minipage, parbox
5585
5586 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5587
5588         * CutAndPaste.h:
5589         * DepTable.h:
5590         * FloatList.h:
5591         * LaTeXFeatures.h:
5592         * ParagraphParameters.h:
5593         * TextCache.h:
5594         * Thesaurus.h:
5595         * bufferlist.h:
5596         * exporter.h:
5597         * importer.h:
5598         * lastfiles.h:
5599         * lyxfind.h:
5600         * lyxfont.h:
5601         * lyxlex.h:
5602         * lyxtextclasslist.h:
5603         * messages.h:
5604         * paragraph.h:
5605         * paragraph_pimpl.C:
5606         * textcursor.h: add <string> and other small fixes to make Lars'
5607         std::string patch compile with STLport.
5608
5609 2003-10-06  Angus Leeming  <leeming@lyx.org>
5610
5611         * LColor.h: Add missing #include <string>.
5612
5613 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * All most all file in all subdirs: Make <string> be the prefered
5616         way of getting to std::string, add using declarations.
5617
5618 2003-10-06  André Pönitz  <poenitz@gmx.net>
5619
5620         * metricsinfo.C: initialize LyXFont before changing attribute.
5621         (fixes the 'math in \emph is upright' bug)
5622
5623 2003-10-06  André Pönitz  <poenitz@gmx.net>
5624
5625         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5626
5627 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5628
5629         * graph.C:
5630         * paragraph_pimpl.C: Small fixes to build using STLport
5631
5632 2003-10-02  André Pönitz  <poenitz@gmx.net>
5633
5634         * lyxfunc.C:
5635         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5636
5637 2003-10-01  André Pönitz  <poenitz@gmx.net>
5638
5639         * factory.C: assert early
5640
5641 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * lyx_main.C: remove the global debug object
5644
5645         * debug.h: adjust for new debugstream
5646
5647         * debug.C: adjust for new debugstream and keep the global debug
5648         object here.
5649
5650 2003-09-22  Angus Leeming  <leeming@lyx.org>
5651
5652         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5653         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5654         an incomplete class LyXFont.
5655
5656 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5657
5658         * factory.C: bug fix in branches
5659
5660 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * lyxfunc.C (processKeySym): adjust
5663         (dispatch): adjust
5664         (dispatch): change arg name from ev to func, adjust
5665         (sendDispatchMessage): ditto
5666
5667         * lyx_main.C (defaultKeyBindings): adjust keybindings
5668         (deadKeyBindings): ditto
5669
5670         * kbsequence.C (addkey): return a FuncRequest
5671
5672         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5673
5674         * kbmap.C (bind): take a FuncRequest as arg, adjust
5675         (read): adjust
5676         (lookup): adjust
5677         (defkey): change to take a FuncRequest as arg, adjust
5678         (findbinding): take a FuncRequest as arg, adjust.
5679
5680         * funcrequest.h (operator=): added
5681
5682         * funcrequest.C (FuncRequest): default kb_action changed from
5683         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5684
5685         * buffer.C (dispatch): simplify
5686         (dispatch): adjust to take a FuncRequest as arg, adjust
5687
5688         * boost.C (assertion_failed): change assertion message slightly
5689
5690         * ToolbarBackend.C (read): simplify
5691
5692         * MenuBackend.C (binding): adjust call to findbinding, add a
5693         message if no binding is found.
5694         (read): simplify
5695         (expandToc): correct by adding a empty FuncRequest
5696
5697         * LyXAction.C: include <boost/assert.hpp>
5698         (isPseudoAction): delete function
5699         (LookupFunc): change name to...
5700         (lookupFunc): this. change return type to FuncRequest.
5701         (getActionName): take kb_action as arg, simplify
5702         (funcHasFlag): add an assert, simplify.
5703
5704 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * toc.C (action): return a FuncRequest, simplify
5707
5708         * lyxfunc.C (processKeySym): adjust
5709         (getStatus): delete version that takes an int.
5710         (getStatus): adjust
5711         (dispatch): delete version that takes action as int
5712         (dispatch): adjust
5713         (sendDispatchMessage): simplify and adjust
5714
5715         * funcrequest.C (getArg): take unsigned int as arg
5716
5717         * ToolbarBackend.C (read): adjust
5718         (add): delete version that takes func as a string.
5719         (getIton): take a FuncRequest as arg
5720
5721         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5722         action.
5723
5724         * MenuBackend.C (MenuItem): add a new construct that only takes a
5725         Kind, simplify the constructor use for submenus.
5726         (add): adjust
5727         (expandLastfiles): adjust
5728         (expandDocuments): adjust
5729         (expandFormats): adjust
5730         (expandFloatListInsert): adjust
5731         (expandFloatInsert): adjust
5732         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5733
5734         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5735         Remove class variables lyx_pseudo_map and lyx_arg_map
5736
5737         * LyXAction.C (searchActionArg): delete function
5738         (getPseudoAction): delete function
5739         (retrieveActionArg): delete function
5740         (LookupFunc): make it return kb_action, simplify.
5741         (getActionName): simplify
5742
5743         * factory.C (createInset): fix new bug
5744
5745 2003-09-19  Angus Leeming  <leeming@lyx.org>
5746
5747         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5748         masterFilename_ parameter in the include inset.
5749
5750         * factory.C (createInset): changes due to the changes to InsetInclude.
5751
5752 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5753
5754         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5755
5756 2003-09-18  Angus Leeming  <leeming@lyx.org>
5757
5758         * buffer.C:
5759         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5760         Inset::fillWithBibKeys.
5761         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5762
5763 2003-09-18  Angus Leeming  <leeming@lyx.org>
5764
5765         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5766         variables.
5767         (ctor): pass and store a 'Buffer const &'
5768         (buffer): new member function.
5769
5770         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5771         '*this' to the LaTeXFeatures ctor.
5772
5773 2003-09-18  Angus Leeming  <leeming@lyx.org>
5774
5775         * LColor.h:
5776         * lyxfont.C:
5777         * lyxfont.h:
5778         * lyxtext.h:
5779         * text.C: rename EnumLColor as LColor_color.
5780
5781 2003-09-18  Angus Leeming  <leeming@lyx.org>
5782
5783         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5784         remove #include "insets/insetbase.h" from cursor.h.
5785
5786 2003-09-18  Angus Leeming  <leeming@lyx.org>
5787
5788         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5789         InsetOld_code to remove #include "inset.h".
5790
5791         * iterators.C: add #include "insets/inset.h"
5792
5793 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5794
5795         * BufferView.C: remove more locking stuff that apparently doesn't
5796         do anything sensible.
5797
5798 2003-09-16  André Pönitz  <poenitz@gmx.net>
5799
5800         * paragraph.[Ch]:
5801         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5802           performance boost.
5803
5804 2003-09-16  Angus Leeming  <leeming@lyx.org>
5805
5806         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5807
5808         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5809         arg/return type.
5810
5811         * paragraph.h: remove #include "lyxfont.h". Forward declare
5812         LyXFont_size.
5813
5814 2003-09-16  Angus Leeming  <leeming@lyx.org>
5815
5816         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5817         of support/textutils.h.
5818         (isWord): move the contents of support/textutils.h's IsWordChar here.
5819
5820         * buffer.C:
5821         * lyxfind.C:
5822         * rowpainter.C:
5823         * text.C:
5824         * text2.C: add #include "paragraph.h".
5825
5826         * rowpainter.C:
5827         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5828
5829 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5830
5831         * main.C:
5832         * lyx_main.C:
5833         * lyx_cb.C:
5834         * buffer.C:
5835         * LaTeX.C: use namespace alias for lyx::support::os
5836
5837 2003-09-16  Angus Leeming  <leeming@lyx.org>
5838
5839         * bufferparams.C:
5840         * bufferview_funcs.C:
5841         * factory.C:
5842         * lyxfunc.C:
5843         * paragraph_pimpl.C:
5844         * rowpainter.C:
5845         * text.C: add #include "LColor.h".
5846
5847 2003-09-16  Angus Leeming  <leeming@lyx.org>
5848
5849         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5850         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5851         return LyXFont &.
5852         Store the FontBits::color variable as an int rather than as an
5853         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5854         file.
5855
5856         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5857         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5858         string calls together.
5859
5860         * lyxrc.C: add #include "LColor.h".
5861
5862 2003-09-15  Angus Leeming  <leeming@lyx.org>
5863
5864         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5865         a cow_ptr.
5866
5867 2003-09-15  Angus Leeming  <leeming@lyx.org>
5868
5869         * LColor.h: add an EnumLColor wrapper for LColor::color.
5870
5871         * lyxfont.[Ch] (color, setColor, realColor):
5872         * lyxtext.h, text.C (backgroundColor):
5873         pass EnumLColor args to/from the functions, rather than LColor::color
5874         ones.
5875
5876         * lyxfont.h:
5877         * lyxtext.h: forward declare EnumLColor.
5878
5879         * lyx_main.C: add #include "LColor.h".
5880
5881 2003-09-15  Angus Leeming  <leeming@lyx.org>
5882
5883         * .cvsignore: add lyx-gtk.
5884
5885 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * Chktex.C
5888         * LaTeX.C
5889         * LaTeXFeatures.C
5890         * ParagraphParameters.C
5891         * Spacing.C
5892         * buffer.C
5893         * bufferparams.C
5894         * bufferview_funcs.C
5895         * chset.C
5896         * counters.C
5897         * funcrequest.C
5898         * lyxfont.C
5899         * lyxgluelength.C
5900         * lyxlength.C
5901         * paragraph.C
5902         * paragraph_funcs.C
5903         * text3.C
5904         * vc-backend.C: remove usage of STRCONV
5905
5906 2003-09-15  Angus Leeming  <leeming@lyx.org>
5907
5908         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5909         explicitly define the color passed to the painter.
5910
5911 2003-09-15  Angus Leeming  <leeming@lyx.org>
5912
5913         * bufferparams.C (BufferParams): reorder member initializers to avoid
5914         compiler warning.
5915
5916 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5917
5918         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5919         * text.C (updateRowPositions): remove an unusual nop
5920
5921 2003-09-12  André Pönitz  <poenitz@gmx.net>
5922
5923         * BufferView_pimpl.C:
5924         * Bullet.C:
5925         * layout.h:
5926         * lyxfunc.C:
5927         * lyxlayout.[Ch]:
5928         * lyxtextclass.C:
5929         * rowpainter.C:
5930         * text.C:
5931         * text2.C:
5932         * Counters.[Ch]: finish the 'automatic counters' job
5933
5934 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5935
5936         * aspell.C: include <boost/assert.cpp> (compile fix)
5937
5938 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5939
5940         * boost.C (assertion_failed): use lyx::support::abort instead of
5941         assert.
5942
5943 2003-09-10  Angus Leeming  <leeming@lyx.org>
5944
5945         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5946         with their _fwd progeny.
5947
5948 2003-09-09  Angus Leeming  <leeming@lyx.org>
5949
5950         134 files throughtout the source tree: replace 'using namespace abc;'
5951         directives with the appropriate 'using abc::xyz;' declarations.
5952
5953 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5954
5955         * boost.C (emergencyCleanup): moved here from LAssert.c
5956         (assertion_failed): new function, called by BOOST_ASSERT
5957
5958         * several files: change Assert to BOOST_ASSERT
5959
5960 2003-09-09  Angus Leeming  <leeming@lyx.org>
5961
5962         * buffer.[Ch]: Add an Impl class and move Buffer's member
5963         variables into it. As a result move several header files out of
5964         buffer.h.
5965
5966         Add header files to lots of .C files all over the tree as a result.
5967
5968 2003-09-09  Angus Leeming  <leeming@lyx.org>
5969
5970         * buffer.[Ch]: make Buffer's member variables private. Add
5971         accessor functions.
5972
5973         Lots of changes all over the tree as a result.
5974
5975 2003-09-08  Angus Leeming  <leeming@lyx.org>
5976
5977         * graph.C: #include <config.h>.
5978
5979 2003-09-08  Angus Leeming  <leeming@lyx.org>
5980
5981         * BranchList.C:
5982         * BufferView.C:
5983         * BufferView_pimpl.C:
5984         * CutAndPaste.C:
5985         * DepTable.C:
5986         * LaTeX.C:
5987         * LaTeXFeatures.C:
5988         * LyXAction.C:
5989         * MenuBackend.C:
5990         * TextCache.C:
5991         * aspell.C:
5992         * buffer.C:
5993         * bufferlist.C:
5994         * changes.C:
5995         * chset.C:
5996         * converter.C:
5997         * counters.C:
5998         * debug.C:
5999         * graph.C:
6000         * ispell.C:
6001         * lyx_cb.C:
6002         * lyxfind.C:
6003         * lyxfunc.C:
6004         * lyxlex_pimpl.C:
6005         * lyxrc.C:
6006         * lyxrow.C:
6007         * paragraph.C:
6008         * rowpainter.C:
6009         * texrow.C:
6010         * text.C:
6011         * text2.C:
6012         * toc.C: remove redundant using directives.
6013
6014 2003-09-07  Angus Leeming  <leeming@lyx.org>
6015
6016         * LaTeXFeatures.h: remove #include "support/types.h".
6017         * ToolbarBackend.h: remove #include <algorithm>.
6018         * changes.h: remove #include <ctime>.
6019         * debug.h: remove #include <iosfwd>.
6020         * graph.h: remove #include "support/std_string.h".
6021         * lyx_main.h: remove #include <csignal>.
6022         * lyxlex_pimpl.h: remove #include <fstream>.
6023         * sgml.h: remove #include <algorithm>, <utility>.
6024         * toc.h: remove #include "support/std_ostream.h".
6025         Add #include <iosfwd>.
6026
6027 2003-09-07  Angus Leeming  <leeming@lyx.org>
6028
6029         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6030
6031         * converter.h: forward declare LatexRunParams.
6032         * encoding.h: remove #include "lyxrc.h".
6033         * lyxtext.h: remove #include "LColor.h".
6034         * lyxtextclass.h: remove #include "support/types.h".
6035         * trans.h: remove #include "tex-accent.h".
6036         * trans_mgr.h: remove #include "tex-accent.h".
6037         * insets/inset.h: remove #include "support/types.h", <vector>.
6038         * insets/insetcollapsable.h: remove #include "LColor.h".
6039         * insets/insetinclude.h: remove #include "dimension.h".
6040         * insets/insetlatexaccent.h: remove #include "dimension.h".
6041         * insets/insetoptarg.h:: remove #include "insettext.h".
6042         * insets/insettext.h: remove #include "dimension.h",
6043         <boost/shared_ptr.hpp>
6044
6045         * insets/renderers.h: add #include "dimension.h".
6046         * insets/updatableinset.h: add #include "support/types.h".
6047
6048         * many .C files: Associated changes.
6049
6050 2003-09-06  Angus Leeming  <leeming@lyx.org>
6051
6052         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6053         one, inside testInvariant.
6054
6055         * PrinterParams.C: new file.
6056         * PrinterParams.[Ch]: move the function bodies out of line.
6057
6058 2003-09-06  Angus Leeming  <leeming@lyx.org>
6059
6060         * ParagraphParameters.h: forward declare ParameterStruct rather than
6061         including its header file.
6062         (depth): moved out-of-line.
6063
6064 2003-09-06  Angus Leeming  <leeming@lyx.org>
6065
6066         * BufferView_pimpl.h:
6067         * kbmap.h:
6068         * kbsequence.h:
6069         * lyxfunc.h: forward declare LyXKeySym rather than
6070         #include "frontends/LyXKeySym.h".
6071
6072         * BufferView_pimpl.C:
6073         * kbmap.C:
6074         * kbsequence.C:
6075         * lyxfunc.C: associated changes.
6076
6077 2003-09-06  Angus Leeming  <leeming@lyx.org>
6078
6079         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6080         As a result, can remove the #include "insets/inset.h" from BufferView.h
6081
6082 2003-09-06  Angus Leeming  <leeming@lyx.org>
6083
6084         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6085         As a result, can remove the #include "insets/inset.h" from BufferView.h
6086
6087 2003-09-06  Angus Leeming  <leeming@lyx.org>
6088
6089         * buffer_funcs.C:
6090         * buffer.h:
6091         * bufferlist.C:
6092         * BufferView.C:
6093         * bufferview_funcs.C:
6094         * BufferView_pimpl.C:
6095         * CutAndPaste.C:
6096         * lyx_cb.C:
6097         * lyxfunc.C:
6098         * paragraph.h:
6099         * ParagraphParameters.C:
6100         * tabular.C:
6101         * text3.C:
6102         * toc.C:
6103         * undo_funcs.C:
6104         * frontends/controllers/ControlDocument.C:
6105         * insets/insetcaption.C: rearrange the #includes into some sort of
6106         coherent order.
6107
6108         * buffer.h: remove #includes ErrorList.h, undo.h
6109
6110 2003-09-06  Angus Leeming  <leeming@lyx.org>
6111
6112         * support/types.h: add a 'depth_type' typedef, used to store the
6113         nesting depth of a paragraph.
6114
6115         * paragraph.h:
6116         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6117         defining explicitly.
6118
6119         * buffer.h:
6120         * paragraph_funcs.h:
6121         * ParagraphParameters.h:
6122         * sgml.h: use lyx::depth_type rather than Paragraph or
6123         ParameterStruct's depth_type.
6124
6125         * buffer.h
6126         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6127
6128         * BufferView.C:
6129         * BufferView_pimpl.C:
6130         * CutAndPaste.C:
6131         * ParagraphParameters.C:
6132         * buffer_funcs.C:
6133         * bufferlist.C:
6134         * bufferview_funcs.C:
6135         * lyx_cb.C:
6136         * lyxfunc.C:
6137         * tabular.C:
6138         * text3.C:
6139         * toc.C:
6140         * undo_funcs.C:
6141         * frontends/LyXView.C:
6142         * frontends/controllers/ControlDocument.C:
6143         * frontends/controllers/ControlErrorList.C:
6144         * insets/insetbibitem.C:
6145         * insets/insetbranch.C:
6146         * insets/insetcaption.C:
6147         * insets/insetcollapsable.C:
6148         * insets/insetenv.C:
6149         * insets/insetert.C:
6150         * insets/insetfloat.C:
6151         * insets/insetfoot.C:
6152         * insets/insetfootlike.C:
6153         * insets/insetnewline.C:
6154         * insets/insetquotes.C:
6155         * insets/insettabular.C:
6156         * insets/insettext.C:
6157         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6158
6159         * frontends/controllers/ControlChanges.C: #include "changes.h".
6160
6161 2003-09-06  Angus Leeming  <leeming@lyx.org>
6162
6163         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6164         than #including paragraph.h.
6165
6166         * ParagraphList.h:
6167         * RowList.h: deleted. Superfluous.
6168
6169         * CutAndPaste.h:
6170         * iterators.h:
6171         * lyxcursor.h:
6172         * lyxtext.h:
6173         * text_funcs.h:
6174         * undo.h:
6175         * undo_funcs.h:
6176         * insets/inset.h:
6177         * insets/insettext.h: use ParagraphList_fwd.h rather than
6178         ParagraphList.h.
6179
6180         * paragraph.h: don't forward declare ParagraphList.
6181
6182         * buffer.h:
6183         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6184         rather than ParagraphList.h. paragraph.h is still needed for the
6185         Paragraph::depth_type parameters.
6186
6187         * textcursor.h: enable it to compile stand-alone in light of the
6188         above changes.
6189
6190         * bufferview_funcs.C:
6191         * iterators.C:
6192         * lyxfunc.C:
6193         * lyxrow_funcs.C:
6194         * paragraph.C:
6195         * rowpainter.C:
6196         * text.C:
6197         * text2.C:
6198         * text3.C:
6199         * text_funcs.C:
6200         * textcursor.C:
6201         * undo.C:
6202         * frontends/controllers/ControlParagraph.C:
6203         * frontends/controllers/ControlTabular.C:
6204         * insets/insetmarginal.C:
6205         * insets/insetminipage.C:
6206         * insets/insetnote.C:
6207         * insets/insetoptarg.C: add header files needed to compile again.
6208
6209 2003-09-06  Angus Leeming  <leeming@lyx.org>
6210
6211         * RowList_fwd.h: new file, forward-declaring Row rather than
6212         #including lyxrow.h.
6213
6214         * lyxrow_funcs.h:
6215         * lyxtext.h:
6216         * paragraph.h:
6217         * insets/insettext.h: use it instead of RowList.h
6218
6219         * bufferview_funcs.C:
6220         * lyxfunc.C:
6221         * lyxrow_funcs.C:
6222         * paragraph.C:
6223         * rowpainter.C:
6224         * text.C:
6225         * text2.C:
6226         * text3.C: #include "RowList.h".
6227
6228 2003-09-05  Angus Leeming  <leeming@lyx.org>
6229
6230         * factory.C (createInset):
6231         * vspace.C (c-tor): replace sscanf call with an istringstream.
6232         * ispell.C: re-add missing HP/UX headers.
6233         * lyxserver.C: re-add missing  os2 headers.
6234
6235 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6236
6237         * BranchList.C:
6238         * graph.C:
6239         * ispell.C:
6240         * lastfiles.C:
6241         * lyx_cb.C:
6242         * lyxserver.C:
6243         * texrow.C:
6244         * text3.C: re-add missing system headers, needed for 2.95.2.
6245
6246 2003-09-05  Angus Leeming  <leeming@lyx.org>
6247
6248         Changes most place everywhere due to the removal of using directives
6249         from support/std_sstream.h.
6250
6251 2003-09-05  Angus Leeming  <leeming@lyx.org>
6252
6253         Replace LString.h with support/std_string.h,
6254         Lsstream.h with support/std_sstream.h,
6255         support/LIstream.h with support/std_istream.h,
6256         support/LOstream.h with support/std_ostream.h.
6257
6258         Changes resulting throughout the tree.
6259
6260 2003-09-05  Angus Leeming  <leeming@lyx.org>
6261
6262         * sgml.h: ensure that the header file can be compiled stand-alone.
6263         * *.C: strip out redundant #includes. (320 in total.)
6264
6265 2003-09-04  Angus Leeming  <leeming@lyx.org>
6266
6267         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6268         here (from getPackages).
6269
6270         * debug.[Ch]: add a new EXTERNAL tag.
6271
6272 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6273
6274         * text2.C (cursorEnd): simplify
6275         (setCursor): adjust
6276         (getColumnNearX): adjust
6277
6278         * text.C (computeBidiTables): adjust
6279         (fill): adjust
6280
6281         * rowpainter.C (paintChars): adjust
6282         (paintSelection): adjust
6283         (paintChangeBar): adjust
6284         (paintText): adjust
6285
6286         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6287         lastPos instead.
6288         (numberOfSeparators): adjust
6289
6290 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6291
6292         * LyXAction.C:
6293         * box.[Ch]:
6294         * lfuns.h:
6295         * lyxfunc.C:
6296         * text3.C: Restricts the mouse click functionality
6297         of insets like bibtex, include, toc and floatlist to the visible
6298         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6299         up the dialogs. Cursor has to be in front of the inset (i.e.
6300         start of row) for this to function.
6301
6302 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6303
6304         * bufferview_funcs.C (currentState): output row information
6305
6306 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6307
6308         * bufferview_funcs.C (currentState): output paragraph position
6309
6310 2003-09-04  Angus Leeming  <leeming@lyx.org>
6311
6312         * FloatList.h: move out #include "Floating.h".
6313         * LaTeX.h: move out #include "DepTable.h".
6314         * LyXAction.h: move out #include "funcrequest.h".
6315         * buffer.h: move out #include "author.h", "iterators.h".
6316         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6317         * lyx_main.h: move out #include "errorlist.h".
6318         * lyxfunc.h: move out #include "FuncStatus.h".
6319         * lyxtext: move out #include "lyxcursor.h".
6320         * paragraph_pimpl.h: move out #include "counters.h".
6321
6322 2003-09-03  Angus Leeming  <leeming@lyx.org>
6323
6324         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6325         preamble_snippets list, enabling us to add snippets to the preamble
6326         only if the snippet was not there already.
6327
6328 2003-09-04  Angus Leeming  <leeming@lyx.org>
6329
6330         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6331
6332 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6335         update
6336
6337 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6338
6339         * BranchList.C: point fix, earlier forgotten
6340
6341 2003-09-02  Angus Leeming  <leeming@lyx.org>
6342
6343         * box.C (contains): renamed from 'contained' after a fantastic
6344         amount of hot air.
6345
6346 2003-09-02  John Levon  <levon@movementarian.org>
6347
6348         * BufferView.C:
6349         * lyxcursor.h:
6350         * lyxcursor.C:
6351         * lyxfunc.C:
6352         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6353
6354 2003-09-02  John Levon  <levon@movementarian.org>
6355
6356         * text2.C: simplification of cursorEnd(), including partial
6357         fix for bug 1376
6358
6359 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * buffer.C (readFile): add a space
6362
6363 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6364
6365         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6366
6367 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * buffer.C (readFile): new function, take a filename and a
6370         ParagraphList::iterator
6371         (readFile): adjust
6372         (readFile): adjust, make it private. don't use setStream, make
6373         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6374         always contain the filename.
6375
6376         * BufferView.C (insertLyXFile): simplify and make it work for
6377         gzipped files.
6378
6379 2003-08-30  John Levon  <levon@movementarian.org>
6380
6381         * Makefile.am: fix dist (from Kayvan)
6382
6383 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * most files: change to use const Buffer refs
6386
6387 2003-08-27  André Pönitz  <poenitz@gmx.net>
6388
6389         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6390         on top of ownerPar().
6391
6392 2003-08-27  John Levon  <levon@movementarian.org>
6393
6394         * funcrequest.C: properly initialise POD members
6395
6396 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * lyxtext.h (top_y): move top_y from here
6399         * text.C:
6400         * text2.C:
6401         * text3.C:
6402         * BufferView.[Ch]:
6403         * BufferView_pimpl.[Ch]: to here
6404         * frontends/screen.C:
6405         * insets/insettabular.C:
6406         * insets/insettext.C: adjust
6407         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6408
6409 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6410
6411         * BufferView.[Ch]:
6412         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6413
6414 2003-08-26  André Pönitz  <poenitz@gmx.net>
6415
6416         * paragraph_func.[Ch] (outerPar): new function
6417
6418         * paragraph.C:
6419         * paragraph_funcs.C:
6420         * paragraph_funcs.h:
6421         * paragraph_pimpl.C:
6422         * text2.C: remove Inset::par_owner
6423
6424 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6425
6426         * lyxrow_funcs.C:
6427         * lyxtext.h:
6428         * text.C:
6429         * text2.C: eliminates the needFullRow/display() stuff
6430         altogether, putting the logic in metrics/draw in the insets.
6431
6432 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6433
6434         * text2.C (redoParagraphInternal, redoParagraphs):
6435         * text.C (redoParagraph): add a call to updateRowPositions at the
6436         end of each 'metrics-like' call. Remove all others.
6437         (getRow): remove the 'y-computing' version.
6438         (getRowNearY): do not compute nor return the real y. Solve the
6439         'y < 0' problem and simplify.
6440
6441 2003-08-22  Angus Leeming  <leeming@lyx.org>
6442
6443         * *.[Ch]: clean-up of licence and author blurbs.
6444         Also move config.h out of a few .h files and into a few .C files.
6445
6446 2003-08-22  André Pönitz  <poenitz@gmx.net>
6447
6448         * lyxrow.[Ch]: add x_ and *fill_ members
6449
6450         * lyxtext.h:
6451         * text.C:
6452         * rowpainter.C:
6453         * text2.C: adjust/remove prepareToPrint() calls
6454
6455 2003-08-22  André Pönitz  <poenitz@gmx.net>
6456
6457         * lyxrow.[Ch]: add  end_ member
6458
6459         * lyxrow_funcs.C: use LyXRow::end_
6460
6461         * lyxtext.h (singleWidth): add LyXFont parameter
6462
6463         * rowpainter.C:
6464         * text2.C: adjust LyXText::singleWidth() calls
6465
6466         * text.C (redoParagraph): simplify row breaking logic
6467
6468
6469 2003-08-19  André Pönitz  <poenitz@gmx.net>
6470
6471         * funcrequest.C: initialize button_ member
6472
6473         * text3.C:
6474         * rowpainter.[Ch]: interface consolidation
6475
6476 2003-08-18  André Pönitz  <poenitz@gmx.net>
6477
6478         * BufferView.C:
6479         * BufferView_pimpl.C:
6480         * lyxfind.C:
6481         * paragraph_funcs.C:
6482         * rowpainter.C:
6483         * text3.C: remove LyXScreen::draw() and fitCursor calls
6484
6485         * BranchList.h: remove spurious semicolons
6486
6487         * MenuBackend.C: fix branchlist related crash
6488
6489 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6490
6491         * BranchList.[Ch]:
6492         * InsetList.[Ch]:
6493         * LColor.[Ch]:
6494         * LyXAction.C:
6495         * Makefile.am:
6496         * MenuBackend.[Ch]:
6497         * bufferparams.[Ch]:
6498         * factory.C:
6499         * lfuns.h:
6500         * lyxfunc.C:
6501         * text3.C: implements the 'branch inset'
6502         idea. This allows the output of various versions of a document
6503         from a single source version, selectively outputing or suppressing
6504         output of parts of the text.
6505         This implementation contains a 'branch list editor' in a separate
6506         tab of the document settings dialog. Branches are user definable
6507         and have a "display colour" to distinguish them on-screen.
6508
6509         ColorHandler was somewhat cleaned up.
6510         (1) make possible a dynamically growing LColor list by allowing
6511         the graphic context cache to grow along (vector);
6512         (2) eliminate an IMHO unnecessary step in colour allocation.
6513
6514 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6515
6516         * BufferView_pimpl.C: compile fix
6517
6518 2003-08-15  André Pönitz  <poenitz@gmx.net>
6519
6520         * rowpainter.C: remove extra metrics calls
6521
6522         * lyxtext.h: merge the two constructors into a single one,
6523           pass reference to owner's par list
6524
6525         * BufferView_pimpl.C:
6526         * text.C:
6527         * text2.C: adjust
6528
6529 2003-08-15  André Pönitz  <poenitz@gmx.net>
6530
6531         * lyxrow_funcs.[Ch]:
6532         * lyxtext.h:
6533         * paragraph.h:
6534         * paragraph_funcs.C:
6535         * rowpainter.C:
6536         * text.C:
6537         * text2.C:
6538         * text3.C:
6539         * text_funcs.C: split LyXText::rowlist_ into individual
6540         Paragraph::rows_ chunks
6541
6542         * BufferView.[Ch]:
6543         * BufferView_pimpl.[Ch]:
6544         * lyxfind.C:
6545         * lyxtext.h:
6546         * text3.C: remove toggleSelection()
6547
6548 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6549
6550         * bufferlist.C: beautify two alerts (shorter text of buttons)
6551         * buffer.C: Remove redundant ' ' from message
6552         * tabular.h:
6553         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6554         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6555         rename VALIGN_CENTER to VALIGN_MIDDLE
6556
6557 2003-08-11  André Pönitz  <poenitz@gmx.net>
6558
6559         * lyxtext.h (getPar):
6560         * text.C: new function
6561
6562 2003-08-11  André Pönitz  <poenitz@gmx.net>
6563
6564         * Makefile.am:
6565         * tracer.[Ch]: remove unneeded files
6566
6567         * InsetList.[Ch]: remove resizeInsetsLyXText()
6568
6569         * lyxtext.h:
6570         * text.C:
6571         * text2.C:
6572         * text3.C: merge insertParagraphs() and appendParagraph()
6573         remove breakAgain(), update()
6574
6575         * BufferView_pimpl.[Ch]:
6576         * bufferview_funcs.[Ch]:
6577         * lyxfunc.C:
6578         * paragraph.[Ch]:
6579         * rowpainter.C:
6580         * tabular.C: adjust after text & InsetList changes.
6581
6582 2003-08-08  André Pönitz  <poenitz@gmx.net>
6583
6584         * text.C (insertChar, backspace): replace rowlist fiddling
6585         with rebreak of full par
6586
6587         * lyxtext.h:
6588         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6589         checkParagraph, updateInset): removed
6590
6591 2003-08-07  André Pönitz  <poenitz@gmx.net>
6592
6593         * paragraph.C:
6594         * text3.C: merge some LFUN handlers, remove dead code
6595
6596 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6597
6598         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6599
6600 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6601
6602         * text2.C (DEPM): fix part of bug 1255 and 1256
6603
6604 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6605
6606         * BufferView_pimpl.C (workAreaDispatch): change to use
6607         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6608         that are no mouse related.
6609
6610 2003-08-05  André Pönitz  <poenitz@gmx.net>
6611
6612         * BufferView.[Ch]:
6613         * BufferView_pimpl.[Ch]:
6614         * bufferview_funcs.C:
6615         * text2.C:
6616         * text3.C: rip out "deep update"
6617
6618         * textcursor.[Ch] (last_sel_cursor): remove unused member
6619
6620 2003-08-04  André Pönitz  <poenitz@gmx.net>
6621
6622         * BufferView.[Ch]:
6623         * BufferView_pimpl.[Ch]:
6624         * ParagraphParameters.C:
6625         * bufferview_funcs.C:
6626         * lyx_cb.C:
6627         * lyxfind.C:
6628         * lyxfunc.C:
6629         * text.C:
6630         * text2.C:
6631         * text3.C: replace "complicated" BufferView::update(...) calls with
6632         simpler ones.
6633
6634         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6635
6636 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6637
6638         * Makefile.am (lyx_SOURCES): add paper.h
6639
6640 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6641
6642         * Makefile.am: move things around so that both lyx-qt and
6643         lyx-xforms can be built (according to --with-frontend). Then lyx
6644         is a symbolic link to lyx-[firstfrontend]
6645
6646 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6647
6648         * Always use std::endl with lyxerr
6649
6650 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6651
6652         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6653
6654 2003-08-01  André Pönitz  <poenitz@gmx.net>
6655
6656         * BufferView.[Ch]:
6657         * BufferView_pimpl.[Ch]:
6658         * lyxfunc.C:
6659         * text3.C: merge BufferView::repaint() and BufferView::update()
6660
6661 2003-08-01  José Matos  <jamatos@lyx.org>
6662
6663         * buffer.[Ch]: file_format is no longer a buffer data element.
6664
6665 2003-08-01  André Pönitz  <poenitz@gmx.net>
6666
6667         * BufferView.C:
6668         * lyxtext.h:
6669         * text.C:
6670         * text2.C: make redoParagraph more independent of current cursor
6671
6672         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6673         * text.C:
6674         * text2.C: remove unneeded members
6675
6676 2003-07-30  André Pönitz  <poenitz@gmx.net>
6677
6678         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6679
6680         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6681           create a single function...
6682
6683         * paragraph_funcs.C (moveItem): ... here.
6684
6685         * text.C:
6686           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6687
6688 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6689
6690         * LColor.[Ch]: Add comment and greyedout logical colors.
6691
6692 2003-07-30  André Pönitz  <poenitz@gmx.net>
6693
6694         * tabular.C: don't use Assert too heavily. This crashes where it
6695           shouldn't
6696
6697 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6698
6699         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6700         is disabled (bug 1232)
6701
6702 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6703
6704         * factory.C: limited 'arg' scope
6705
6706 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6707
6708         * factory.C: fixed Note submenu issues
6709
6710 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6711
6712         * factory.C: submenu for Note/Comment/Greyedout
6713
6714 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6715
6716         * lyx_main.C (LyX):
6717         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6718
6719 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6720
6721         * LaTeXFeatures.C:
6722         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6723         greyedout. Patch provided by Jürgen Spitzmüller.
6724
6725 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6726
6727         * kbmap.C (read): fix error message when reading bind files
6728
6729 2003-07-29  Angus Leeming  <leeming@lyx.org>
6730
6731         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6732         certainly does not do what it purports to do. I am doing it, and
6733         us, a favour by killing it.
6734
6735 2003-07-28  José Matos  <jamatos@lyx.org>
6736
6737         * buffer.C (readBody, do_writeFile):
6738         * paragraph.C(readParagraph): \end_document replaces \the_end.
6739
6740 2003-07-29  André Pönitz  <poenitz@gmx.net>
6741
6742         * BufferView.[Ch]:
6743         * BufferView_pimpl.[Ch]:
6744         * lyxfunc.C:
6745         * text2.C:
6746         * text3.C:
6747         * textcursor.[Ch]: remove toggleToggle & Co
6748
6749 2003-07-28  José Matos  <jamatos@fep.up.pt>
6750
6751         * buffer.C (readParagraph):
6752         * params_func (readParToken, readParagraph):
6753         * paragraph.C (write): \layout -> \begin_layout.
6754
6755 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * lyxlex_pimpl.C (setFile): clean up slightly.
6758
6759         * bufferparams.h: add compressed var
6760
6761         * buffer_funcs.C (readFile): adjust for LyXLex change
6762         (newFile): ditto + simplify
6763
6764         * buffer.C (writeFile): handle writing of compressed files
6765
6766         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6767         Check if the file is compressed and set a bufferparm if so.
6768
6769         * Makefile.am (lyx_LDADD): remove explicit -lz
6770
6771 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6772
6773         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6774         makeDocBookFile): put the real LyX version in the first line of
6775         the file
6776
6777         * version.h:
6778         * version.C.in: remove lyx_docversion
6779
6780         * tabular.C (write_attribute): add a template-based version to
6781         write enums properly
6782
6783 2003-07-28  André Pönitz  <poenitz@gmx.net>
6784
6785         * lyxtext.h:
6786         * text.C:
6787         * text2.C:
6788         * text3.C: use doubles again for x-coordinates. They are needed.
6789
6790 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6791
6792         * messages.C (getLocaleDir): use lyx_localedir()
6793
6794         * lyxlex_pimpl.C (setFile): compress stuff
6795
6796         * buffer.C (writeFile): add some compression stuff
6797         (do_writeFile): new func, dont call expliti close... will this
6798         breake anything?
6799
6800         * Makefile.am (lyx_LDADD): add -lz
6801
6802 2003-07-28  José Matos  <jamatos@fep.up.pt>
6803
6804         * buffer.C: increment file format.
6805         * paragraph_funcs (readParagraph, readParToken):
6806         * paragraph.C (readParagraph): add \end_layout.
6807
6808 2003-07-27  Angus Leeming  <leeming@lyx.org>
6809
6810         * Makefile.am: remove special casing for configure-time setting of
6811         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6812
6813         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6814         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6815
6816 2003-07-26  André Pönitz  <poenitz@gmx.net>
6817
6818         * paragraph_func.[Ch]:
6819         * paragraph.C (realizeFont): inline it whereever it is used
6820
6821         * rowpainter.C:
6822         * text.C:
6823         * text2.C:
6824         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6825
6826
6827 2003-07-26  André Pönitz  <poenitz@gmx.net>
6828
6829         *       lyxtext.h:
6830         * text.C:
6831         * text2.C: get rid of LyXText::need_break_row
6832
6833 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * toc.[Ch]: put namespace toc inside namespace lyx
6836
6837         * MenuBackend.C (expandToc2): adjust for lyx::toc
6838         (expandToc): ditto
6839
6840         * lyxfunc.C (dispatch): adjust for lyx::find
6841
6842         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6843         lyx::find instead. Reorganize a bit.
6844         (LyXReplace): rename to replace
6845         (LyXFind): rename to find
6846
6847         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6848         (dispatch): ditto
6849
6850 2003-07-26  André Pönitz  <poenitz@gmx.net>
6851
6852         * text.C (setHeightOfRow): restrict scope of temporary variable
6853
6854         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6855           code (never has been used?)
6856
6857 2003-07-27  Asger Alstrup  <alstrup@local>
6858
6859         * text.C (fill): Optimise algorithm to exploit that we can reuse
6860         the LyXFont for many characters.
6861         (setHeightOfRow): Same thing.
6862         (rowBreakPoint): Same thing.
6863
6864 2003-07-26  Asger Alstrup  <alstrup@local>
6865
6866         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6867
6868         * text.C (singleWidth): Spurious font copying in hot-spot
6869         singleWidth avoided. Reorder tests for arabic for efficiency.
6870
6871         * text.C (fill): handle empty paragraphs better.
6872
6873 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6874
6875         * ispell.C:
6876         * encoding.h: add includes
6877
6878         * lyxrc.C: remove reading of bind files
6879
6880         * lyx_main.C (init): setup bindings and menus only if we have a
6881         gui.
6882
6883         * kbmap.C (read): new method. Do the actual reading of bind
6884         files.
6885
6886         * converter.C (dvipdfm_options):
6887         * bufferparams.C:
6888         * lyxrc.C (read):
6889         (output): adapt PAPER_* enums.
6890
6891         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6892
6893         * bufferparams.h: remove paper-related enums from there
6894
6895         * paper.h: New file. A trivial header file to hold paper-related
6896         enums. It should later expand to contain many paper-related
6897         horrors access.
6898
6899         * lyxrc.C: declare extern displayTranslator
6900
6901 2003-07-27  José Matos  <jamatos@fep.up.pt>
6902
6903         * tabular.[Ch] (linuxdoc): add support for tables and figures
6904         (linuxdoc).
6905
6906 2003-07-27  José Matos  <jamatos@fep.up.pt>
6907
6908         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6909         consistency in both functions.
6910         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6911
6912 2003-07-26  Asger Alstrup  <alstrup@local>
6913
6914         * rowpainter.C (paintRows): Change algorithm to work directly on
6915         the insets rather than asking every character in the document
6916         whether its an inset.
6917
6918 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6919
6920         * buffer.C (openFileWrite): factorize some code
6921
6922 2003-07-26  Angus Leeming  <leeming@lyx.org>
6923
6924         * lyx_cb.C:
6925         * lyx_main.[Ch]: replace occurances of system_tempdir with
6926         os::getTmpDir().
6927
6928 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * rename Inset to InsetOld
6931
6932 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6933
6934         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6935         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6936         which I think is a bit clearer. EDIT is gone, since it was
6937         premature optimisation, and broken for mathed anyway.
6938         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6939         with cursor positioning in insets as well (math insets still do not
6940         work, but that's a different story anyway.) It mysteriously
6941         crashes sometimes with undo in the first paragraph, but I'm fairly
6942         confident that this is a compiler bug.
6943
6944 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * paragraph.C (Paragraph): adjust for new clone return type
6947         (operator==): ditto
6948         (copyIntoMinibuffer): ditto
6949
6950 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6951
6952         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6953         by not having a special case, and always doing a full rebreak of
6954         the document after undo.
6955
6956 2003-07-23  Angus Leeming  <leeming@lyx.org>
6957
6958         * factory.C (createInset): InsetExternal::setParams now takes a
6959         Buffer const * arg.
6960
6961 2003-07-23  Angus Leeming  <leeming@lyx.org>
6962
6963         * factory.C (createInset): changed interface to the external and
6964         graphics mailers' string2params functions.
6965
6966 2003-07-23  Angus Leeming  <leeming@lyx.org>
6967
6968         * factory.C (createInset): pass a
6969         Buffer const * parameter to InsetExternalMailer's string2params.
6970
6971 2003-07-22  John Levon  <levon@movementarian.org>
6972
6973         * Thesaurus.h: include the right aiksaurus header
6974
6975 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6976
6977         * MenuBackend.C (expand): check menu shortcuts unconditionally
6978
6979 2003-07-21  Angus Leeming  <leeming@lyx.org>
6980
6981         * factory.C (createInset): pass a
6982         buffer_path parameter to InsetGraphicsMailer's string2params.
6983
6984 2003-07-21  Angus Leeming  <leeming@lyx.org>
6985
6986         * BufferView_pimpl.C (buffer):
6987         * buffer.C (d-tor):
6988         * lyx_main.C (LyX):
6989         * lyxfunc.C (dispatch):
6990         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6991         rather than the grfx shortcut.
6992
6993 2003-07-21  André Pönitz  <poenitz@gmx.net>
6994
6995         * rowpainter.C: remove unused variables
6996
6997         * tabular_funcs.C:
6998         * tabular_funcs.h: move to tabular.C
6999         * Makefile.am: adjust
7000
7001         * tabular.[Ch]: basic optical cleaning
7002
7003         * author.h: pass references, not values
7004
7005 2003-07-18  André Pönitz  <poenitz@gmx.net>
7006
7007         * lyxtext.h:
7008         * metricsinfo.C:
7009         * metricsinfo.h:
7010         * rowpainter.C:
7011         * text.C:
7012         * text2.C:
7013         * text3.C: two-phase drawing for InsetText and InsetTabular
7014         some float -> int changes.
7015
7016 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7017
7018         * lyx_main.C: fix the fix
7019
7020 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7021
7022         * lyx_main.C: fix a crash in batch mode if no files specified
7023         * converter.C: ws
7024
7025 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7026
7027         * format.[Ch] (papersize): moved to BufferParams
7028         * converter.[Ch] (dvips_options): moved to BufferParams
7029         (dvipdfm_options): moved to anon namespace
7030         * bufferparams.[Ch]: added above functions.
7031
7032 2003-07-17  André Pönitz  <poenitz@gmx.net>
7033
7034         * lyxtext.h:
7035         * rowpainter.C:
7036         * text2.C: don't call inset->update() anymore
7037
7038         * metricsinfo.[Ch]: add convenience constructor
7039
7040 2003-07-16  André Pönitz  <poenitz@gmx.net>
7041
7042         * lyxcursor.[Ch]:
7043         * lyxfunc.[Ch]:
7044         * text.C:
7045         * text2.C: replace the LyXCursor::irow_ member with
7046          on-demand computation of the value
7047
7048 2003-07-16  John Levon  <levon@movementarian.org>
7049
7050         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7051
7052 2003-07-15  André Pönitz  <poenitz@gmx.net>
7053
7054         * text.C:
7055         * text2.C: remove no more needed refresh_row
7056
7057 2003-07-15  André Pönitz  <poenitz@gmx.net>
7058
7059         * lyxtext.h:
7060         * rowpainter.C:
7061         * text2.C:
7062         * text3.C: refresh_status tristate -> need_update bool
7063
7064 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * lyxtext.h (init): remove reinit argument (act as if always true)
7067         * text2.C: adjust to that
7068
7069 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7070
7071         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7072         * text3.C: use it to delete selections in some cases
7073         (bugs 441, 673, 702, 954).
7074
7075 2003-07-14  André Pönitz  <poenitz@gmx.net>
7076
7077         * rowpainter.[Ch]: reduce interface
7078
7079 2003-07-14  André Pönitz  <poenitz@gmx.net>
7080
7081         * BufferView_pimpl.C:
7082         * text2.C: adjust after removing unused BufferView * argument
7083
7084 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7085
7086         * text2.C (init): fix a crash fired on resize
7087
7088 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7089
7090         * buffer.[Ch]: added new closing signal
7091         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7092         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7093         BufferView::Pimpl via the closing the signal
7094
7095 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * buffer.[Ch]: take out all bv-related from buffer
7098         * BufferView.C:
7099         * BufferView_pimpl.[Ch]: connect to new signals
7100         * CutAndPaste.C: removed useless asserts
7101         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7102         * lyxvc.[Ch]:
7103         * vc-backend.[Ch]:
7104         * lyxfunc.C: moved view-related funciontality from vc here
7105         * paragraph.C: removed outdated comments
7106         * text.C: ws
7107
7108 2003-07-10  André Pönitz  <poenitz@gmx.net>
7109
7110         * BufferView_pimpl.C:
7111         * tabular.h:
7112         * tabular_funcs.C:
7113         * text.C:
7114         * text2.C: remove InsetText::InnerCache, clean up consequences
7115
7116 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7117
7118         * ispell.C: fix two typos in error messages
7119
7120 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7121
7122         * Extend Note inset to other forms of annotation like Comment
7123         and Greyedout. Right button click gives dialog.
7124
7125         Files modified or added (+):
7126
7127         * insetnote.[Ch]
7128         * FormNote.[Ch]      +
7129         * ControlNote.[Ch]   +
7130         * form_note.fd       +
7131         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7132         frontends/controllers
7133         * xforms/Dialogs.C
7134         * factory.C
7135
7136 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7137
7138         * aspell.C: add missing namespace lyx::support
7139
7140 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7141
7142         * BufferView.[Ch] (newFile): Add
7143         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7144         * LaTeX.[Ch] (message): added this signal and use it
7145         * buffer.[Ch] (busy, message): added these signals and use them
7146         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7147         * converter.C:
7148         * exporter.C:
7149         * format.C:
7150         * importer.C: use buffer signals instead of direct bv calling
7151         * lyx_cb.[Ch] (ShowMessage): removed
7152         * lyx_main.C:
7153         * lyxfunc.C:
7154         * paragraph_funcs.C:
7155         * text2.C: use buffer signals
7156
7157 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * introduce namespace lyx::graphics
7160
7161 2003-07-02  André Pönitz  <poenitz@gmx.net>
7162
7163         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7164
7165 2003-07-01  André Pönitz  <poenitz@gmx.net>
7166
7167         * text.C:
7168         * text2.C:
7169         * text3.C:
7170         * text_funcs.[Ch]:
7171         * textcursor.h:
7172         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7173           text*.C to text_func.C
7174
7175 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * introduce namespace lyx::support
7178
7179 2003-06-30  André Pönitz  <poenitz@gmx.net>
7180
7181         * Chktex.C:
7182         * funcrequest.C:
7183         * lyxtext.h:
7184         * text.C: re-enable --with-included-string
7185
7186 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * textcursor.C: add <config.h>
7189
7190         * text.C (getWord): remove const from word_location arg
7191
7192         * lyxvc.C (getLogFile): fix const type order
7193
7194         * lyxtext.h: remove const from word_location arg, add arg name
7195
7196         * lyxlayout.h: currect type on labeltype.
7197
7198         * importer.C: correct \file
7199
7200         * converter.C (intToFormat): use std:: on ret val, ws changes
7201
7202         * bufferlist.h: correct \file
7203
7204         * buffer.C (makeLinuxDocFile): fix const type order
7205         (makeDocBookFile): ditto
7206         (fillWithBibKeys): use std:: on stdlib args.
7207
7208         * CutAndPaste.C: fix authors.
7209         (availableSelections): use std:: on return vector
7210
7211 2003-06-27  André Pönitz  <poenitz@gmx.net>
7212
7213         * BufferView_pimpl.C:
7214         * bufferview_funcs.C:
7215         * lyxcursor.C:
7216         * lyxcursor.h:
7217         * lyxfunc.C:
7218         * lyxtext.h:
7219         * rowpainter.C:
7220         * text.C:
7221         * text2.C:
7222         * text3.C: remove LyXCursor::row_ member
7223
7224         * lyxtext.h:
7225         * text.C: rename fullRebreak() to partialRebreak() and implement
7226           a fullRebreak() that really bereks fully
7227
7228         * textcursor.h: new struct for cursor-related data
7229
7230 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7231
7232         * lyx_main.C (LyX): get full path of document loaded on the
7233         command line
7234
7235 2003-06-26  André Pönitz  <poenitz@gmx.net>
7236
7237         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7238           remove unused/broken operator>,<,>=.
7239
7240         *       text.C: remove only use of broken operator<= in an Assert().
7241
7242 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7243
7244         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7245         moved errorlist_.clear to showErrorList
7246
7247 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7248
7249         * converter.C (scanLog, runLaTeX):
7250         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7251         move the bv->showErrorList call to the callers
7252         * lyxfunc.C: i.e. here...
7253         * text2.C: and here
7254         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7255         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7256         namespace, the second to...
7257         * buffer_funcs (BufferFormat, parseErrors): added
7258         * errorlist.C (ErrorList(TeXErrors const &)): removed
7259
7260 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7261
7262         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7263
7264 2003-06-24  "Garst R. Reese" <reese@isn.net>
7265
7266         * debug.C: fix typo
7267
7268 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7269
7270         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7271
7272         * version.C.in: change docversion to 1.4
7273
7274 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * buffer.C: fix a bug just introduced
7277
7278 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * buffer.[Ch]: added the parseError signal and use it, removed
7281         sgmlError
7282         * BufferView.[Ch] (addError): moved to ...
7283         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7284         to the Buffer::parseError signal to catch (guess what) parse errors
7285         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7286
7287 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7288
7289         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7290         ability to create a buffer and to return an existing one from
7291         the list. Moved these functions to...
7292         * buffer_funcs.[Ch]: added
7293         * BufferView.[Ch] (loadLyXFile): added
7294         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7295         job removed from bufferlist::loadLyXFile.
7296         * buffer.C (setReadOnly): make it work without view
7297         (i.e added an if (users))
7298
7299 2003-06-19  Angus Leeming  <leeming@lyx.org>
7300
7301         * lfuns.h:
7302         * LyXAction.C (init):
7303         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7304         with LFUN_DIALOG_SHOW <name> <data>.
7305
7306 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7307
7308         * CutAndPaste.C (availableSelections): small compilation fix for
7309         ancient (gcc 2.9x) compilers
7310
7311 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * text3.C (cursorNext): add tmp var
7314
7315         * text2.C (updateCounters): for function calling out of for clause
7316         (replaceSelectionWithString): ditto
7317         (insertStringAsParagraphs): ditto
7318         (getColumnNearX): add tmp var
7319         (setCursorFromCoordinates): add tmp var
7320         (cursorDownParagraph): add tmp var
7321         (deleteEmptyParagraphMechanism): add tmp var
7322
7323         * text.C (insertChar): add tmp var
7324
7325         * rowpainter.C (paintDepthBar): add tmp var
7326
7327         * CutAndPaste.C (availableSelections): potentially check all
7328         paragraphs in a cut to fill the shown strings.
7329
7330 2003-06-18  André Pönitz  <poenitz@gmx.net>
7331
7332         * kbmap.[Ch]: use vector<> instead of list<>
7333
7334 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7335
7336         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7337         pasteSelection with index
7338
7339         * text2.C (pasteSelection): modify, call pasteSelection with index
7340
7341         * paragraph.C (asString): reimplement version with no interval to
7342         call the one with interval.
7343
7344         * lyxtext.h: add index arg to pasteSelection
7345
7346         * MenuBackend.C (MenuItem): handle PasteRecent
7347         (Menu::read::Menutags): add md_pasterecent
7348         (read): handle it
7349         (expandPasteRecent): new function
7350         (expand): use it
7351
7352         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7353
7354         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7355         the limited stack
7356         (availableSelections): new function
7357
7358 2003-06-17  Angus Leeming  <leeming@lyx.org>
7359
7360         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7361
7362 2003-06-17  Angus Leeming  <leeming@lyx.org>
7363
7364         * lfuns.h:
7365         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7366
7367         * lyxfunc.C (dispatch): invoke it.
7368
7369 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7370
7371         * iterators.C (operator++, ParPosition): reintroduce some
7372         const_cast for the benefit of older compilers.
7373
7374 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7375
7376         * text3.C (dispatch): do not modify clipboard when doing
7377         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7378         LFUN_DELETE_SKIP on a selection selection
7379
7380 2003-06-16  André Pönitz  <poenitz@gmx.net>
7381
7382         * BufferView.C:
7383         * buffer.C:
7384         * buffer.h:
7385         * paragraph.C:
7386         * tabular.[Ch]: IU of clone() and getLabelList();
7387
7388 2003-06-13  André Pönitz  <poenitz@gmx.net>
7389
7390         * tabular.h: compactification
7391
7392 2003-06-12  André Pönitz  <poenitz@gmx.net>
7393
7394         * tabular.C:
7395         * tabular.h:
7396         * tabular_funcs.h: some renaming plus whitespace
7397
7398 2003-06-12  André Pönitz  <poenitz@gmx.net>
7399
7400         * BufferView.C:
7401         * BufferView_pimpl.C:
7402         * CutAndPaste.C:
7403         * buffer.C:
7404         * iterators.[Ch]:
7405         * lyxfunc.C:
7406         * text.C:
7407         * toc.C: Return a Paragraph & for ParIterator::operator*()
7408
7409 2003-06-11  John Levon  <levon@movementarian.org>
7410
7411         * lyx_main.C:
7412         * ToolbarBackend.h:
7413         * ToolbarBackend.C: add "Toolbars" section and
7414         put the flags there
7415
7416 2003-06-10  Angus Leeming  <leeming@lyx.org>
7417
7418         * lfuns.h:
7419         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7420
7421         * lyxfunc.C (dispatch): invoke it.
7422
7423 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * main.C: protect <ios> with HAVE_IOS
7426         (main): protect sync_with_stdio with HAVE_IOS
7427
7428 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7429
7430         * text2.C (cutSelection): adjust
7431         (pasteSelection): adjust
7432
7433         * messages.C: handle get of empty string
7434
7435         * main.C (main): use sync_with_stdio(false)
7436
7437         * lyxfunc.C (dispatch): adjust
7438
7439         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7440         (WriteAs): remove unneeded BufferView arg.
7441
7442         * bufferparams.h: use correct types on papersize, papersize2 and
7443         paperpackage.
7444
7445         * bufferparams.C (readToken): adjust for type
7446         (writeLaTeX): add missing cases to switch.
7447
7448         * bufferlist.C (quitWriteBuffer): adjust
7449         (close): adjust
7450
7451         * buffer.C (asciiParagraph): remove some commented code.
7452
7453         * CutAndPaste.C: remove current_view extern variable.
7454         (cutSelection): add BufferParams arg.
7455         (eraseSelection): add BufferParams arg.
7456         (pasteSelection): add Buffer const & arg
7457
7458 2003-06-07  John Levon  <levon@movementarian.org>
7459
7460         * buffer.C:
7461         * paragraph_funcs.C:
7462         * paragraph_pimpl.C:
7463         * text.C:
7464         * text2.C:
7465         * paragraph.h:
7466         * paragraph.C: allow InsetERT to freely space lines,
7467         and some consolidation of code
7468
7469 2003-06-06  José Matos  <jamatos@fep.up.pt>
7470
7471         * buffer.C (makeDocBookFile): fix bug #821
7472
7473 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7474
7475         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7476
7477 2003-06-04  Angus Leeming  <leeming@lyx.org>
7478
7479         * buffer.C: bump format to 224.
7480
7481 2003-06-05  André Pönitz  <poenitz@gmx.net>
7482
7483         * text2.C (redoParagraphs): remove two const_cast<>
7484
7485 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7486
7487         * ParagraphList.h: remove last remnants of NO_STD_LIST
7488
7489 2003-06-03  Angus Leeming  <leeming@lyx.org>
7490
7491         * factory.C (createInset): small change to the way InsetExternal's params
7492         are set.
7493
7494 2003-06-04  André Pönitz  <poenitz@gmx.net>
7495
7496         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7497
7498         * paragraph_pimpl.h:
7499         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7500
7501         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7502
7503         * undo_funcs.C: make some simple cases of undo work again
7504
7505 2003-06-03  John Levon  <levon@movementarian.org>
7506
7507         * ispell.C: HPUX doesn't have sys/select.h
7508         (from Albert Chin)
7509
7510 2003-06-03  John Levon  <levon@movementarian.org>
7511
7512         * CutAndPaste.C: update tabular and include inset
7513         buffer references
7514
7515         * buffer.h:
7516         * paragraph.h:
7517         * paragraph.C: remove owningBuffer(), don't pass Buffer
7518         to clone()
7519
7520         * factory.C: insetGraphicsParams changed
7521
7522 2003-06-02  John Levon  <levon@movementarian.org>
7523
7524         * LyXAction.C:
7525         * factory.C:
7526         * lfuns.h:
7527         * lyxfunc.C:
7528         * text3.C: remove insetparent
7529
7530 2003-06-02  John Levon  <levon@movementarian.org>
7531
7532         * buffer.h:
7533         * buffer.C: fix inset_iterator.end(), move out of line
7534         (bug 1149)
7535
7536 2003-06-01  John Levon  <levon@movementarian.org>
7537
7538         * text3.C: use a proper cut/paste when doing inset
7539         insert (from Jürgen Spitzmüller)
7540
7541 2003-06-01  John Levon  <levon@movementarian.org>
7542
7543         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7544
7545 2003-05-30  André Pönitz  <poenitz@gmx.net>
7546
7547         * rowpainter.C: unify second drawing phase
7548
7549 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * trans_mgr.C: remove one case of current_view
7552
7553         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7554
7555         * paragraph_funcs.h: remove paragraph.h include
7556
7557         * paragraph.h: delete NO_STD_LIST stuff
7558
7559         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7560
7561         * buffer.h: remove paragraph.h include
7562
7563         * ParagraphList.C: delete file
7564
7565         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7566
7567         * toc.C (getTocList): adjust
7568
7569         * paragraph_pimpl.C (validate): adjust
7570
7571         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7572
7573         * paragraph.C (Paragraph): adjust
7574         (getPositionOfInset): use const_iterator, adjust
7575         (bibitem): use const_iterator, adjust
7576         (setInsetOwner): adjust
7577
7578         * iterators.C (operator++): adjust
7579
7580         * InsetList.[Ch]: Replace selfmade iterator with standard
7581         vector::iterator also introduce const_iterator. Remove getPos,
7582         getInset and setInset from InsetTable. Adjust accordingly.
7583
7584         * BufferView.C (lockInset): adjust
7585         (ChangeInsets): adjust
7586
7587         * tabular.[Ch]: delete commented same_id functions
7588
7589 2003-05-28  John Levon  <levon@movementarian.org>
7590
7591         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7592
7593 2003-05-28  André Pönitz  <poenitz@gmx.net>
7594
7595         * metricsinfo.[Ch]: remove 'fullredraw' member
7596
7597 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7598
7599         * lyxtextclass.C (operator): remove caching.
7600
7601 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7602
7603         * text3.C: adjust
7604
7605         * text2.C (cursorBottom): adjust
7606         (setCounter): use ParagraphList::find, adjust
7607
7608         * text.C (workWidth): use ParagraphList::find, adjust
7609
7610         * lyxcursor.C (LyXCursor): adjust
7611
7612         * buffer.C (inset_iterator): adjust
7613
7614         * ParagraphList.h: make iterator(value_type) private, make
7615         ParagraphList a friend of iterator.
7616
7617         * ParagraphList.C (find): new function
7618
7619         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7620
7621 2003-05-27  André Pönitz  <poenitz@gmx.net>
7622
7623         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7624
7625 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7626
7627         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7628
7629 2003-05-26  John Levon  <levon@movementarian.org>
7630
7631         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7632
7633 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * remove same_id from function signatures, adjust.
7636
7637 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7640
7641         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7642
7643         * paragraph.C (Paragraph): get rid of same_ids parameter
7644
7645         * ParagraphList.C (insert): adjust
7646         (push_back): adjust
7647
7648 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * paragraph_funcs.C (breakParagraph): adjust
7651         (breakParagraphConservative): adjust
7652
7653         * buffer.C (readParagraph): adjust
7654
7655         * ParagraphList.C (insert): take a reference instead of a pointer
7656         (insert): adjust
7657
7658         * paragraph.[Ch] (id): new function
7659
7660         * bufferlist.C (newFile): adjust
7661
7662         * ParagraphList.C (ParagraphList): adjust
7663         (assign): adjust
7664         (push_back): take a reference instead of a pointer.
7665
7666         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7667
7668         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7669         instead.
7670
7671         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7672         set else use old code.
7673
7674         * ParagraphList.C: remove all NO_NEXT code and only compile this
7675         code of NO_STD_LIST is set.
7676
7677 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7678
7679         * BufferView_pimpl.C:
7680         * TextCache.C:
7681         * TextCache.h:
7682         * bufferlist.C:
7683         * errorlist.h:
7684         * format.C:
7685         * format.h:
7686         * graph.C:
7687         * lyxfunc.C:
7688         * lyxrc.C:
7689         * graphics/GraphicsConverter.C:
7690         * graphics/PreviewLoader.C: header adjustment
7691
7692 2003-05-23  Angus Leeming  <leeming@lyx.org>
7693
7694         * LaTeXFeatures.[Ch] (useBabel): new method.
7695         * bufferparams.C (writeLaTeX): use it.
7696
7697 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * ParagraphList.h (set): remove unused function.
7700
7701 2003-05-23  André Pönitz  <poenitz@gmx.net>
7702
7703         * BufferView.C:
7704         * BufferView_pimpl.C:
7705         * buffer.C:
7706         * buffer.h:
7707         * lyxfunc.C:
7708         * undo_funcs.C: setUndo reworked
7709
7710         * iterators.[Ch]: add access to topmost ParagraphList
7711
7712         * lyxtext.[Ch] (workWidth): add a const
7713
7714 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7715
7716         * texrow.[Ch] (increasePos): remove function
7717         * exporter.C (export): removed unused var and outdated comment
7718
7719 2003-05-23  Angus Leeming  <leeming@lyx.org>
7720
7721         * latexrunparams.h: rename fragile as moving_arg.
7722         * paragraph.C (simpleTeXOnePar): ditto.
7723         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7724
7725 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7728         (createUndo): ditto
7729         (textUndoOrRedo): comment out a currently unused var.
7730
7731         * paragraph.h (NO_NEXT): enable NO_NEXT
7732
7733         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7734
7735         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7736
7737         * exporter.C (Export): adjust for removeAutoInsets removal.
7738
7739         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7740
7741         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7742
7743         * BufferView.[Ch] (removeAutoInsets): delete function
7744
7745 2003-05-22  Angus Leeming  <leeming@lyx.org>
7746
7747         * latexrunparams.h: add a free_spacing variable.
7748
7749         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7750         to pass moving_arg, as the data is stored in runparams.fragile.
7751
7752         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7753         to Inset::latexOptional or to simpleTeXOnePar.
7754
7755         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7756         free_spacing arg to Inset::latexOptional.
7757
7758         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7759         free_spacing arg.
7760
7761 2003-05-22  Angus Leeming  <leeming@lyx.org>
7762
7763         * latexrunparams.h: add fragile and use_babel variables.
7764
7765         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7766         * buffer.C (makeLaTeXFile): store this returned value in
7767         runparams.use_babel, thus passing it to the inset::latex methods.
7768
7769         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7770         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7771
7772         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7773         longer has a fragile arg, as it is stored in runparams.fragile.
7774
7775         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7776         moving_arg parameter as the data is stored in runparams.fragile.
7777
7778         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7779         a fragile parameter as the data is stored in runparams.fragile.
7780
7781 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7784
7785 2003-05-22  Angus Leeming  <leeming@lyx.org>
7786
7787         * latexrunparams.h: add a 'bool nice' which defaults to false.
7788
7789         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7790         now encapsulated within runparams.
7791
7792         * bufferlist.C (updateIncludedTeXfiles):
7793         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7794
7795 2003-05-22  Angus Leeming  <leeming@lyx.org>
7796
7797         * latexrunparams.h: new file containing struct LatexRunParams.
7798         * Makefile.am: add new file.
7799
7800         * LaTeX.[Ch] (c-tor, run):
7801         * buffer.[Ch] (makeLaTeXFile):
7802         * bufferlist.[Ch] (updateIncludedTeXfiles):
7803         * converter.C (convert, scanLog):
7804         * converter.[Ch] (runLaTeX):
7805         * exporter.C (Export):
7806         * paragraph.[Ch] (simpleTeXOnePar):
7807         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7808         * paragraph_funcs.[Ch] (latexParagraphs):
7809         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7810         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7811         pass around a LatexRunParams parameter.
7812
7813 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * paragraph.[Ch]: remove unused constructor
7816
7817         * ParagraphList.C (erase): new function, taking two iterators
7818
7819 2003-05-22  André Pönitz  <poenitz@gmx.net>
7820
7821         * undo_funcs.C: remove duplicated code
7822
7823         * iterator.[Ch]: operator=
7824
7825 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * tabular.C (SetMultiColumn): ws changes
7828
7829         * rowpainter.C (paintFirst): get rid of a ->previous
7830
7831         * lyx_cb.C (getPossibleLabel): parlist simplification
7832
7833         * BufferView.C (ChangeInsets): simplify slightly.
7834
7835 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7836
7837         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7838         * lfuns.h: new LFUN_SPACE
7839         * lyxfunc.C: protected space has a new lfun
7840         * paragraph_funcs.C: read new space insets
7841         * text3.C:
7842         * factory.C: handle new space insets
7843
7844 2003-05-22  André Pönitz  <poenitz@gmx.net>
7845
7846         * BufferView.C:
7847         * BufferView_pimpl.C:
7848         * buffer.[Ch]:
7849         * lyxfunc.C:
7850         * undo_funcs.C: return a ParIterator from getParFromID.
7851
7852         * iterators.[Ch]: add two const's
7853
7854 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * toc.C (getTocList): adjust
7857
7858         * iterators.[Ch]: rework for parlist
7859
7860         * buffer.C (par_iterator_begin): adjust
7861         (par_iterator_end): adjust
7862
7863         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7864
7865         * BufferView.C (removeAutoInsets): adjust
7866         (ChangeInsets): adjust
7867
7868 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7869
7870         * text.C (top_y): fix bug 1110
7871
7872 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7873
7874         * errorlist.[Ch]: added
7875         * buffer.C:
7876         * BufferView.[Ch]:
7877         * BufferView_pimpl.C:
7878         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7879         instead
7880
7881 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * Makefile.am: ensure that lyx is relinked upon changes to the
7884         various "convenience" libs.
7885
7886 2003-05-20  Angus Leeming  <leeming@lyx.org>
7887
7888         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7889         files are compiled in alphabetical order again.
7890
7891         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7892
7893 2003-05-19  Angus Leeming  <leeming@lyx.org>
7894
7895         * gettext.[Ch]: remove "char const * _(char const *)".
7896
7897 2003-05-19  André Pönitz  <poenitz@gmx.net>
7898
7899         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7900
7901         * Makefile.am:
7902         * BufferView.C:
7903         * DepTable.h:
7904         * LaTeXFeatures.C:
7905         * buffer.C:
7906         * lyxfont.C:
7907         * lyxlex.h:
7908         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7909
7910 2003-05-19  André Pönitz  <poenitz@gmx.net>
7911
7912         * buffer.C:
7913         * lyxlayout.[Ch]:
7914         * lyxtextclass.[Ch]:
7915         * paragraph.C:
7916         * paragraph_funcs.[Ch]:
7917         * text2.C:
7918         * text3.C: more insetenv work
7919
7920 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7921
7922         * ParagraphParameters.C (params2string): small bug fixed
7923
7924 2003-05-16  André Pönitz  <poenitz@gmx.net>
7925
7926         * debug.C:
7927         * bufferview_funcs.C: patch from Kornel Benko to prevent
7928           crash when _(...) is called twice in a statement
7929
7930 2003-05-16  André Pönitz  <poenitz@gmx.net>
7931
7932         * BufferView.C:
7933         * lyxfunc.C:
7934         * text.C:
7935         * text2.C:
7936         * text3.C:
7937         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7938
7939 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7940
7941         * lyx_main.C (init): remove spurious static_cast
7942
7943 2003-05-14  André Pönitz  <poenitz@gmx.net>
7944
7945         * BufferView.C: fix format string
7946
7947 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7948
7949         * BufferView.[Ch] (insertErrors): removed
7950         * BufferView.[Ch] (showErrorList): added
7951         * buffer.C (runChkTeX):
7952         * converter.C (scanLog): call showErrorList instead of inserterrors
7953
7954 2003-05-13  André Pönitz  <poenitz@gmx.net>
7955
7956         * BufferView_pimpl.C:
7957         * buffer.C:
7958         * bufferview_func.C:
7959         * MenuBackend.C:
7960         * lyxfunc.C:
7961         * lyxrc.C:
7962         * tex-accent.C:
7963         * text3.C:
7964         * toc.C:
7965         * tabular_funcs.h: tostr() from its own header
7966
7967         * ParagraphParameters.C:
7968         * ToolbarBackend.C:
7969         * bufferparams.C:
7970         * format.C:
7971         * lyxlex_pimpl.C:
7972         * text3.C: STRCONV()
7973
7974 2003-05-12  André Pönitz  <poenitz@gmx.net>
7975
7976         * BufferView.C:
7977         * BufferView_pimpl.C:
7978         * CutAndPaste.C:
7979         * LaTeX.C:
7980         * LaTeXFeatures.C:
7981         * ParagraphParameters.C:
7982         * buffer.C:
7983         * bufferlist.C:
7984         * bufferparams.C:
7985         * bufferview_funcs.C:
7986         * converter.C:
7987         * counters.C:
7988         * debug.C:
7989         * exporter.C:
7990         * format.C:
7991         * importer.C:
7992         * lyx_cb.C:
7993         * lyx_main.C:
7994         * lyxfont.C:
7995         * lyxfunc.C:
7996         * lyxvc.C:
7997         * paragraph.C:
7998         * paragraph_funcs.C:
7999         * tabular.C:
8000         * tabular_funcs.C:
8001         * text2.C:
8002         * text3.C:  boost::format -> bformat  all over the place
8003
8004
8005 2003-05-09  André Pönitz  <poenitz@gmx.net>
8006
8007         * LColor.[Ch]: Pimpl the #include <map> away
8008
8009 2003-05-09  John Levon  <levon@movementarian.org>
8010
8011         * bufferlist.C: never remove emergency saves
8012
8013 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * Makefile.am: better lib building
8016
8017 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8020         instead.
8021         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8022         (simpleTeXSpecialChars): adjust
8023         (simpleTeXSpecialChars): adjust
8024         * paragraph.C (simpleTeXOnePar): adjust
8025         * buffer.C (makeLaTeXFile): adjust
8026
8027         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8028
8029         * text2.C (changeDepth): parlist cleanup
8030         (getColumnNearX): ditto
8031
8032         * rowpainter.C (getLabelFont): parlist cleanup
8033
8034         * bufferlist.C (newFile): parlist cleanup
8035
8036         * CutAndPaste.C (eraseSelection): parlist cleanup
8037
8038         * BufferView_pimpl.C (trackChanges): parlist cleanup
8039         (dispatch): ditto
8040
8041         * BufferView.C (lockInset): parlist cleanup.
8042         (ChangeInsets): ditto
8043
8044 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * CutAndPaste.h: Update file header.
8047
8048         * CutAndPaste.C: Update file header.
8049         Store the parts cut out of the Document in a limited_stack.
8050         (copySelection): adjust
8051         (pasteSelection): new function, takes the index in the limited stack.
8052         (nrOfParagraphs): adjust
8053         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8054         simplify error inset insertion.
8055         (checkPastePossible): adjust
8056
8057 2003-05-06  John Levon  <levon@movementarian.org>
8058
8059         * text2.C: don't cast wrap inset to float
8060
8061 2003-05-05  André Pönitz  <poenitz@gmx.net>
8062
8063         * iterator.C:
8064         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8065
8066         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8067           few naked Paragraph *.
8068
8069 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8070
8071         * bufferparams.C: Output warning if a document with missing
8072         TeX document class is loaded
8073         * exporter.C: Disable TeX exports if the document class is missing
8074         * lyxtextclass.C:
8075         * lyxtextclass.h:
8076         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8077         isTeXClassAvailable()
8078
8079 2003-05-03  John Levon  <levon@movementarian.org>
8080
8081         * BufferView.h:
8082         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8083         explicit cursor show/hide
8084
8085         * BufferView_pimpl.h:
8086         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8087         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8088
8089         * lyxfunc.C: hide cursor before dispatching.
8090
8091         * lyx_cb.C:
8092         * lyxfind.C:
8093         * text.C:
8094         * text3.C: remove explicit cursor hides
8095
8096 2003-05-02  André Pönitz  <poenitz@gmx.net>
8097
8098         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8099
8100         * undo_funcs.C:
8101         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8102           linked lists
8103
8104         * text2.C: tiny whitespace
8105
8106 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * undo_funcs.C: almost only ws changes.
8109
8110         * ParagraphList.C (splice): just return if pl is empty.
8111
8112 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * ParagraphList.C (splice): new function.
8115
8116         * CutAndPaste.C (pasteSelection): use it
8117
8118 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * CutAndPaste.C (pasteSelection): remove the last next and
8121         previous from this file.
8122
8123 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8124
8125         * CutAndPaste.C (pasteSelection): more clean up, user proper
8126         ParagraphList functions for pasteing.
8127
8128         * ParagraphList.C (insert): new function, three arg insert
8129
8130 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * ParagraphList.C (insert): new function, three arg insert
8133
8134         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8135         not on paragraphs.
8136
8137 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8140
8141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8144
8145 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8146
8147         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8148         (copySelection): clean up a bit.
8149         (pasteSelection): use make_pair
8150
8151         * ParagraphList.C (ParagraphList): implement copy constructor
8152         (operator=): implement, base on copy constructor.
8153         (assign): new func
8154
8155         * paragraph.C (erase): return a bool
8156
8157         * paragraph_pimpl.C (erasePos): remove function, move contents...
8158         (erase): ... here. Return a bool.
8159         (erase): call erase instead of erasePos.
8160
8161 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8162
8163         * ParagraphList.h: define PitPosPair
8164         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8165         ParagraphList, fix a bug on pasting multiple pars
8166         * text2.C: change interface to C&P
8167
8168 2003-04-30  André Pönitz  <poenitz@gmx.net>
8169
8170         * undo_func.C: revert part of yesterday's patch 2
8171
8172 2003-04-30  John Levon  <levon@movementarian.org>
8173
8174         * LColor.C: s/tabular/table/
8175
8176 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * text3.C (dispatch): do not convert iterator -> pointer
8179         * undo_funcs.C (setCursorParUndo): ditto
8180         * text_funcs.C (transposeChars): ditto
8181
8182         * text2.C (setLayout): ws changes only
8183
8184         * text.C (breakParagraph): do not convert iterator -> pointer
8185         (insertChar): ditto
8186         (acceptChange): ditto
8187         (rejectChange): ditto
8188         (changeCase): ditto
8189         (Delete): ditto
8190         (backspace): ditto
8191
8192         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8193         pointer
8194
8195 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8196
8197         * text3.C (gotoInset): YABG (yet another bad getChar)
8198
8199 2003-04-29  André Pönitz  <poenitz@gmx.net>
8200
8201         * paragraph.h: make operator= private unimplemented as long as
8202           it is unusable
8203
8204         * ParagraphList.C: whitespace
8205
8206         * paragraph.[Ch]:
8207         * paragraph_pimpl.[Ch]:
8208         * paragraph_funcs.C:
8209         * CutAndPaste.C:
8210         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8211
8212         * text2.C:
8213           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8214
8215 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8216
8217         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8218         * paragraph.[Ch] (erase):
8219         * paragraph_pimpl.[Ch] (erase): change return type and value
8220         * text2.C (cutSelection): some rework
8221
8222 2003-04-28  John Levon  <levon@movementarian.org>
8223
8224         * bufferlist.C: changes for unsaved changes dialog
8225
8226 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * bufferlist.C (newFile): set language (messages_) for new
8229         documents also.
8230
8231         * buffer.C (readFile): ws changes only.
8232
8233 2003-04-28  André Pönitz  <poenitz@gmx.net>
8234
8235         * undo_funcs.C:
8236         * lyxfunc.C:
8237         * buffer.[Ch]:
8238         * BufferView_pimpl.C:
8239         * BufferView.C: getParFromID related ParagraphList::iterator changes
8240
8241 2003-04-28  André Pönitz  <poenitz@gmx.net>
8242
8243         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8244           Changes
8245
8246 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * messages.C: remove one more localedir class variable.
8249
8250 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * messages.C (getLocaleDir): singleton generation function
8253         (Pimpl): use it.
8254         (Messages): add a default constructor.
8255
8256         * main.C (main): do not setup localedir here, do not call
8257         gettext_init.
8258
8259         * gettext.C (_): use it.
8260         (gettext_init): delete funciton
8261
8262 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * gettext.C (getLyXMessages): new singleton generating function.
8265
8266         * buffer.C (updateDocLang): adjust
8267
8268         * Makefile.am (messages.o): add target
8269         (main.o): remove target
8270
8271 2003-04-27  John Levon  <levon@movementarian.org>
8272
8273         * bufferlist.C:
8274         * lyx_cb.C:
8275         * lyxfunc.C:
8276         * lyxvc.C: specify cancel button in Alert::prompt
8277
8278 2003-04-26  John Levon  <levon@movementarian.org>
8279
8280         * text3.C:
8281         * lyxfunc.C:
8282         * lfuns.h:
8283         * LyXAction.C: add LFUN_INSET_SETTINGS
8284
8285         * lyxfunc.C: don't enable tabular-feature when there's
8286         just any locking inset
8287
8288 2003-04-26  John Levon  <levon@movementarian.org>
8289
8290         * bufferlist.C: re-add Cancel to buffer close question
8291
8292         * lyxfunc.C: fix import UI a bit
8293
8294 2003-04-25  John Levon  <levon@movementarian.org>
8295
8296         * gettext.C: remove the broken asserts for now
8297
8298 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * messages.C: make case where setlocale cannot comply work better.
8301
8302         * buffer.C (updateDocLang): new function
8303         (changeLanguage): use it
8304         (readFile): use it
8305
8306         * text2.C (setCounter): use B_ a bit.
8307
8308         * lyxlayout.C (Read): be sure to trim the label strings.
8309
8310         * messages.C (Messages): fix typo in comment
8311
8312         * buffer.C (readFile): set message_ after file is loaded.
8313         (makeDocBookFile): remove double return
8314         (changeLanguage): reset message_ upon language change.
8315         (B_): new func, use this to get translated buffer strings.
8316
8317         * main.C: add myself and Jean Marc as authors.
8318
8319 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * messages.[hC]: pimplify Messages, and three different pimpls to be
8322         used in different circumstances.
8323
8324         * gettext.[Ch]: change for use with new message code.
8325
8326 2003-04-24 André Pönitz <poenitz@gmx.net>
8327
8328         * factory.C: support for eqref
8329
8330 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8331
8332         * messages.[Ch]: add missing char
8333
8334         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8335
8336         * messages.[Ch]: New files
8337
8338 2003-04-18  John Levon  <levon@movementarian.org>
8339
8340         * BufferView.h:
8341         * BufferView.C:
8342         * BufferView_pimpl.C:
8343         * lfuns.h:
8344         * LyXAction.C:
8345         * lyxtext.h:
8346         * text2.C: remove layout-copy/paste (bug 778)
8347
8348 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8349
8350         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8351
8352 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8353
8354         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8355         if they succeed. Act accordingly.
8356
8357 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * text2.C (setCharFont): adjust
8360         (setCounter): adjust
8361         (insertStringAsLines): adjust
8362
8363         * text.C (leftMargin): adjust
8364         (setHeightOfRow): adjust
8365
8366         * rowpainter.C (paintFirst): adjust
8367         (paintLast): adjust
8368
8369         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8370         (outerHook): ditto
8371         (isFirstInSequence): ditto
8372         (getEndLabel): ditto
8373         (outerFont): adjust
8374
8375         * paragraph.C (getParLanguage): comment out some hard stuff.
8376
8377         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8378         (sgmlError): ditto
8379         (simpleDocBookOnePar): ditto
8380         (makeDocBookFile): use ParagraphList::iterator
8381
8382         * CutAndPaste.C (pasteSelection): adjust
8383
8384 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * text2.C (getFont): adjust
8387         (getLayoutFont): adjust
8388         (getLabelFont): adjust
8389
8390         * paragraph_funcs.C (TeXOnePar): adjust
8391
8392         * buffer.C (simpleLinuxDocOnePar): adjust
8393         (simpleDocBookOnePar): adjust
8394
8395         * CutAndPaste.C (pasteSelection): adjust
8396
8397         * BufferView.C (getEncoding): adjust
8398
8399         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8400
8401 2003-04-16  John Levon  <levon@movementarian.org>
8402
8403         * lyxfind.C: use parlist stuff for search/changes
8404
8405 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8408
8409         * text2.C (deleteEmptyParagraphMechanism): adjust
8410
8411         * text2.[Ch] (ownerParagraph): delete func (both of them
8412
8413 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8414
8415         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8416
8417 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8418
8419         * ParagraphList.C: prepare for NO_NEXT
8420
8421 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * text2.C (getFont): adjust
8424         (getLayoutFont): adjust
8425         (getLabelFont): adjust
8426
8427         * paragraph.C (getFont): adjust
8428         (getLabelFont): adjust
8429         (getLayoutFont): adjust
8430
8431         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8432
8433 2003-04-15  John Levon  <levon@movementarian.org>
8434
8435         From Angus Leeming
8436
8437         * lyx_main.C: handle Include in .ui files
8438
8439 2003-04-15  John Levon  <levon@movementarian.org>
8440
8441         * MenuBackend.C: make the doc files length shorter
8442
8443         * ToolbarBackend.h:
8444         * ToolbarBackend.C: handle toolbar placement flags,
8445         Minibuffer
8446
8447 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8450         adjust
8451
8452         * paragraph_funcs.C (TeXOnePar): adjust
8453
8454         * paragraph.C (getLabelFont): add outerfont arg, adjust
8455         (getLayoutFont): ditto
8456         (simpleTeXOnePar): adjust
8457
8458         * paragraph_pimpl.C (realizeFont): delete func
8459
8460 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8461
8462         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8463         row argument, constify cur argument.
8464
8465 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * text2.C (getFont): adjust
8468         (getLayoutFont): adjust
8469         (getLabelFont): adjust
8470
8471         * paragraph_funcs.C (TeXOnePar): adjust
8472         (outerFont): new func...
8473         (realizeFont): ...moved out from here, changed this to facilitate
8474         transition
8475
8476         * paragraph.C (getFont): take outerfont as arg, adjust
8477         (simpleTeXOnePar): add outerfont arg, adjust
8478
8479         * buffer.C (simpleLinuxDocOnePar): adjust
8480         (simpleDocBookOnePar): adjust
8481
8482         * CutAndPaste.C (pasteSelection): adjust
8483
8484         * BufferView.C (getEncoding): adjust
8485
8486 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * text2.C (setCharFont): adjust
8489         (setCounter): adjust
8490
8491         * text.C (leftMargin): adjust
8492         (setHeightOfRow): adjust
8493
8494         * rowpainter.C (paintFirst): adjust
8495         (paintLast): adjust
8496
8497         * paragraph_pimpl.C (realizeFont): adjust
8498
8499         * paragraph.C (isFirstInSequence): move from here...
8500         * paragraph_funcs.C (isFirstInSequence): ...to here
8501
8502         * paragraph.C (outerHook): move from here...
8503         * paragraph_funcs.C (outerHook): ...to here
8504
8505         * paragraph.C (depthHook): move from here...
8506         * paragraph_funcs.C (depthHook): ...to here
8507
8508         * paragraph.C (getEndLabel): move from here...
8509         * paragraph_funcs.C (getEndLabel): ...to here
8510
8511         * text2.C (realizeFont): move from here...
8512         * paragraph_funcs.C (realizeFont): ...to here
8513
8514 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8515
8516         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8517
8518 2003-04-14  Angus Leeming  <leeming@lyx.org>
8519
8520         * LColor.[Ch]: scrap LColor mathcursor.
8521
8522 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * lyxlex.[Ch] (text): delete function
8525         * trans.C (Load): adjust
8526         * paragraph_funcs.C (readParToken): adjust
8527
8528 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8529
8530         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8531         vector<char> instead of a char[].
8532
8533         * lyxlex_pimpl.C (getString): adjust
8534         (next): adjust
8535         (lex): use getString
8536         (eatLine): adjust
8537         (nextToken): adjust
8538
8539         * lyxlex.C (text): use pimpl_->getString()
8540         (getBool): ditto
8541         (findToken): ditto
8542
8543 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8546         (makeFontEntriesLayoutSpecific): temp var for par.size()
8547         (setLayout): temp var for ownerParagraphs().end()
8548         (fullRebreak): temp var for rows().end()
8549         (selectionAsString): temp var for boost::next(startpit), realize
8550         that the while really is a regular for loop.
8551         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8552         setCursor in one place.
8553         (setParagraph): temp vr for ownerParagraphs().end()
8554         (updateCounters): make the while loop a for loop
8555         (cutSelection): temp var for ownerParagraphs().end()
8556         (updateInset): make the do {} while() a regular for loop
8557         (getCursorX): use temp vars
8558         (setCurrentFont): use temp vars
8559         (getColumnNearX): use temp vars
8560
8561 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * text.C (transformChar): use temp var for getChar
8564         (computeBidiTables): use temp var for row->par()
8565         (fill): move temp vars for row->par() and pit->layout() earlier in
8566         the function.
8567         (labelFill): use temp var for row->par()
8568         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8569         asc and desc, realize that pit never changes and that firstpit is
8570         just a duplicate and not needed. Exchange rit->par() with pit in a
8571         lot of places.
8572         (breakAgain): use a temp var for boost::next(rit)
8573         (breakAgainOneRow): ditto
8574         (breakParagraph): use a temp var for rows().begin()
8575         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8576         (cursorRightOneWord): use temp var for cursor.par() and
8577         cursor.pos(), remove usage of tmpcursor.
8578         (cursorLeftOneWord): use temp var for cursor.par() and
8579         cursor.pos() only set cur at end of function.
8580
8581 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * text.C, text2.C: exchange all usage of Paragraph::next with
8584         boost::next(ParagraphList::iterator)
8585
8586         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8587
8588         * text2.C (cursorTop): simplify implementation
8589         (cursorBottom): ditto
8590         (setParagraph): use ParagraphList::iterator
8591         (setCurrentFont): adjust
8592         (getColumnNearX): adjust
8593         (cursorRight): adjust
8594         (cursorLeft): remove usage of Paragraph::previous
8595         (cursorUpParagraph): ditto
8596         (deleteEmptyParagraphMechanism): slight cleanup
8597
8598         * text.C (isBoundary): take a Paragraph const & instead of a
8599         pointer as arg.
8600         (addressBreakPoint): ditto
8601         (leftMargin): remove usage of Paragraph::previous.
8602         (setHeightOfRow): ditto
8603         (cursorLeftOneWord): ditto
8604         (selectNextWordToSpellcheck): ditto
8605         (Delete): ditto
8606         (backspace): ditto
8607         (breakParagraph): remove one usage of Paragraph::next
8608         (redoParagraph): ditto
8609         (acceptChange): ditto
8610         (insertChar): adjust
8611         (rowBreakPoint): adjust
8612
8613         * bufferview_funcs.C (toggleAndShow): adjust
8614
8615 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8616
8617         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8618         methods to access it.
8619         * lyxtext.h:
8620         * text.C: Added updateRowPositions to compute all row positions.
8621         Make top_y and getRowNearY() to use the cached y position
8622
8623 2003-04-11  John Levon  <levon@movementarian.org>
8624
8625         * text.C (rowBreakPoint): reintroduce the labelEnd
8626         checks, code copied from the row fill stuff. Deep voodoo.
8627
8628         * text.C (fill): add a comment and debugging for the
8629         next poor soul.
8630
8631 2003-04-11  John Levon  <levon@movementarian.org>
8632
8633         * text.C: make sure fullrow insets get wrapped to the next line,
8634         even when they're in a manual label
8635
8636 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8637
8638         * text2.C (insertParagraph): make it take ParagraphList::iterator
8639         as arg.
8640         (setLayout): make it return ParagraphList::iterator
8641         (redoParagraphs): ditto
8642         (setCounter): ditto
8643         (checkParagraph): ditto
8644
8645         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8646
8647         * text2.C: adjust several funcs.
8648         (realizeFont): take a ParagraphList::iterator as arg.
8649         (getLayoutFont): ditto
8650         (getLabelFont): ditto
8651         (setCharFont): ditto
8652
8653         * text.C: adjust several funcs.
8654
8655 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8656
8657         * text.C (selectNextWordToSpellcheck): don't accidentally
8658         skip insets
8659
8660 2003-04-10  John Levon  <levon@movementarian.org>
8661
8662         * ToolbarBackend.C (getIcon): special handling for
8663         LFUN_MATH_DELIM
8664
8665 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8666
8667         * text2.C (cursorRight): a getChar assert fixed
8668
8669 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * text2.C (getFont): change to take a ParagraphList::iterator
8672         instead of Paragraph*
8673         Adjust several functions.
8674
8675         * text.C (transformChar): change to take a ParagraphList::iterator
8676         instead of Paragraph*
8677         (singleWidth): ditto
8678         Adjust several functions.
8679
8680         * rowpainter.C: adjust several functions
8681         * rowpainter.h:store a ParagraphList::iterator and not a
8682         Paragraph&.
8683
8684
8685 2003-04-09  John Levon  <levon@movementarian.org>
8686
8687         * lyxfunc.C:
8688         * lfuns.h:
8689         * LyXAction.h:
8690         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8691         and the "help" bits as well
8692
8693 2003-04-09  John Levon  <levon@movementarian.org>
8694
8695         * ToolbarBackend.h:
8696         * ToolbarBackend.C: allow multiple toolbars
8697
8698 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * undo_funcs.C (setCursorParUndo): adjust
8701
8702         * text_funcs.C (transposeChars): adjust
8703
8704         * text3.C (gotoNextInset): adjust
8705         (dispatch): adjust
8706
8707         * text2.C (setLayout): adjust
8708         (changeDepth): adjust
8709         (setFont): adjust
8710         (redoParagraphs): adjust
8711         (selectionAsString): adjust
8712         (setParagraph): adjust
8713         (insertInset): adjust
8714         (cutSelection): adjust
8715         (copySelection): adjust
8716         (pasteSelection): adjust
8717         (insertStringAsLines): adjust
8718         (updateInset): adjust
8719         (setCursor): change to take a ParagraphList::iterator parameter
8720         (setCursorIntern): change to take a ParagraphList::iterator parameter
8721         (setCurrentFont): adjust
8722         (cursorLeft): adjust
8723         (cursorRight): adjust
8724         (deleteEmptyParagraphMechanism): adjust
8725
8726         * text.C (breakParagraph): adjust
8727         (insertChar): adjust
8728         (acceptChange): adjust
8729         (rejectChange): adjust
8730         (selectNextWordToSpellcheck): adjust
8731         (changeCase): adjust
8732         (Delete): adjust
8733         (backspace): adjust
8734
8735         * lyxfind.C (SearchForward): adjust
8736         (SearchBackward): adjust
8737         (nextChange): adjust
8738
8739         * lyxcursor.C (par): adjust
8740
8741         * lyxcursor.h: store a ParagraphList::iterator instead of a
8742         Paragraph*
8743
8744         * lyx_cb.C (getPossibleLabel): adjust
8745
8746         * bufferview_funcs.C (toggleAndShow): adjust
8747
8748         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8749         (dispatch): adjust
8750
8751         * BufferView.C (removeAutoInsets): adjust
8752         (lockedInsetStoreUndo): adjust
8753
8754 2003-04-09  John Levon  <levon@movementarian.org>
8755
8756         * ToolbarBackend.C: try icon without argument
8757         if with argument fails
8758
8759 2003-04-08  John Levon  <levon@movementarian.org>
8760
8761         * ToolbarBackend.h:
8762         * ToolbarBackend.C: add getIcon(), handle tooltip,
8763         and change from "Icon" to "Item".
8764
8765 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8766
8767         * BufferView.C (lockInset): another bad getchar crunched
8768
8769 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8770
8771         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8772         again)
8773
8774 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8775
8776         * lyxfind.C (searchForward, searchBackwards): bug 782
8777
8778 2003-04-07  John Levon  <levon@movementarian.org>
8779
8780         * paragraph.C: remove dead comment
8781
8782         * text.C: remove troublesome depth-fiddling code
8783         in leftMargin() and rightMargin() (bug 1017)
8784
8785         * text.C: fix breaking of rows in nested lists
8786         (bug 1004)
8787
8788         * text2.C (updateCounters): fix up depth values
8789         (bug 1013)
8790
8791 2003-04-07  John Levon  <levon@movementarian.org>
8792
8793         * BufferView_pimpl.C: clear message when doc finishes resizing,
8794         and after a mouse event
8795
8796         * lyxfunc.C: clear message after exiting inset
8797
8798 2003-04-07  John Levon  <levon@movementarian.org>
8799
8800         * bufferview_funcs.C: show math status not outside
8801         status in the statusbar
8802
8803 2003-04-07  John Levon  <levon@movementarian.org>
8804
8805         * lyxfunc.C: note status changed after a depth change
8806
8807 2003-04-04  Angus Leeming  <leeming@lyx.org>
8808
8809         * LaTeX.h: move AuxInfo operator==, != out of line.
8810         Remove LaTeX virtual destructor; nothing derives from it.
8811         Move operator()() out of public area and rename it startscript().
8812         Change protected for private.
8813
8814 2003-04-04  Angus Leeming  <leeming@lyx.org>
8815
8816         * lyxfunc.C:
8817         * text2.C: remove unneeded #includes.
8818
8819 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8820
8821         * text2.C (dEPM): fix the heigth of the next row
8822
8823 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8824
8825         * text.C: squashed an invalid getChar requester + some ws changes
8826
8827 2003-04-03  John Levon  <levon@movementarian.org>
8828
8829         * bufferview_funcs.h:
8830         * bufferview_funcs.C:
8831         * lyxfunc.C:
8832         * lyxtext.h:
8833         * text2.C: make getStatus work for the env depth lfuns
8834
8835 2003-04-03  John Levon  <levon@movementarian.org>
8836
8837         * bufferview_funcs.h:
8838         * bufferview_funcs.C:
8839         * lyxfunc.C:
8840         * lyxtext.h:
8841         * text2.C: parlistize decDepth(), by merging it with incDepth()
8842
8843 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * lyxrow.h: store a ParagraphList::iterator instead of a
8846         Paragraph* and adjust other class functions to suit.
8847
8848         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8849         above.
8850
8851 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8852
8853         * text2.C (setCursor): do not anchor to cursor row for the time being
8854
8855 2003-04-02  John Levon  <levon@movementarian.org>
8856
8857         * LyXAction.C:
8858         * lfuns.h:
8859         * lyx_main.C:
8860         * lyxtext.h:
8861         * text.C:
8862         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8863
8864 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8865
8866         * paragraph.h: make ParagraphList and ParagraphList::iterator
8867         friends of Paragraph.
8868
8869         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8870
8871         * ParagraphList.C: Use the private next_ and previous_ from
8872         Paragraph.
8873
8874 2003-04-01  John Levon  <levon@movementarian.org>
8875
8876         * ToolbarBackend.h:
8877         * ToolbarBackend.C:
8878         * Makefile.am: rename, remove defaults gunk
8879
8880         * MenuBackend.h:
8881         * MenuBackend.C: remove defaults gunk
8882
8883         * Languages.h:
8884         * Languages.C: remove defaults gunk
8885
8886         * lyx_main.h:
8887         * lyx_main.C: error out if files couldn't be found.
8888
8889 2003-04-02  John Levon  <levon@movementarian.org>
8890
8891         * text2.C: make incDepth() use parlist
8892
8893 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8894
8895         * undo_funcs.C (firstUndoParagraph): adjust
8896
8897         * text3.C (gotoInset): adjust
8898         (dispatch): adjust, and rewrite loop.
8899
8900         * text2.C (init): adjust, and rewrite loop.
8901         (redoParagraphs): adjust
8902         (updateInset): adjust, and rewrite loop.
8903         (deleteEmptyParagraphMechanism): adjust
8904
8905         * tabular.C (LyXTabular): adjust
8906         (SetMultiColumn): adjust
8907         (TeXRow): adjust
8908
8909         * lyxtext.[Ch] (ownerParagraph): delete function
8910         (ownerParagraphs): new function returns a ParagraphList.
8911
8912         * BufferView.C (removeAutoInsets): adjust
8913         (insertErrors): adjust
8914         (setCursorFromRow): adjust
8915
8916 2003-04-01  Angus Leeming  <leeming@lyx.org>
8917
8918         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8919         in the frontends.
8920
8921 2003-04-02  John Levon  <levon@movementarian.org>
8922
8923         * lyxtext.h:
8924         * text.C:
8925         * Makefile.am:
8926         * text_funcs.h:
8927         * text_funcs.C: make transposeChars a free function
8928
8929         * lyxrow_funcs.C: remove wrong comment
8930
8931 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * lyxtext.h: adjust
8934         * rowpainter.C: adjust
8935         * text.C: adjust
8936         * text2.C: adjust
8937         * text3.C: adjust
8938
8939         * lyxrow_funcs. [Ch]: new files
8940
8941         * lyxrow.[Ch]: remove next and previous pointers
8942         (next,previous): remove accessor functions
8943         (isParEnd): move to lyxrow_funcs
8944         (lastPos): move to lyxrow_funcs
8945         (nextRowIsAllInset): move to lyxrow_funcs
8946         (lastPrintablePos): move to lyxrow_funcs
8947         (numberOfSeparators): move to lyxrow_funcs
8948         (numberOfHfills): move to lyxrow_funcs
8949         (numberOfLabelHfills): move to lyxrow_funcs
8950         (hfillExpansion): move to lyxrow_funcs
8951
8952         * lyxfunc.C: adjust
8953
8954         * bufferview_funcs.C (toggleAndShow): adjust
8955
8956         * RowList.h: Remove class RowList from file leave just a
8957         std::list<Row>.
8958
8959         * RowList.C: delete file
8960
8961         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8962         and lyxrow_funcs.h
8963
8964 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * text3.C (cursorPrevious): adjust
8967         (cursorNext): adjust
8968         (dispatch): adjust
8969
8970         * text2.C (redoHeightOfParagraph): adjust
8971         (redoDrawingOfParagraph): adjust
8972         (setCursor): adjust
8973
8974         * text.C (breakParagraph): adjust
8975         (insertChar): adjust
8976         (backspace): adjust
8977
8978         * rowpainter.C (RowPainter): adjust
8979         (leftMargin): simplify and adjust
8980         (most rowpainter functions): adjust.
8981
8982         * rowpainter.h: store the row as RowList::iterator not as Row*
8983
8984         * lyxcursor.C (row): taka RowList::iterator as arg
8985         (irow): ditto
8986
8987         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8988         of Row*.
8989
8990 2003-04-01  Angus Leeming  <leeming@lyx.org>
8991
8992         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8993         stuff like bool Bool.
8994
8995 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8996
8997         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8998         rewrite a loop
8999
9000 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9001
9002         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9003         RowList::iterator.
9004
9005         * lyxtext.h (rows): drop one version and leve a const variant that
9006         returns a RowList::iterator.
9007
9008 2003-03-31  Angus Leeming  <leeming@lyx.org>
9009
9010         * text.C (fill): ensure that the signature is the same as that in the
9011         header file.
9012
9013 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * text2.C (redoParagraphs): adjust
9016         (updateCounters): adjust
9017         (checkParagraph): adjust
9018         (getColumnNearX): adjust and reformat a bit.
9019
9020         * text.C (top_y): adjust
9021         (workWidth): adjust
9022         (leftMargin): adjust
9023         (prepareToPrint): adjust
9024         (getRow): adjust
9025         (getRowNearY): adjust
9026
9027         * lyxtext.h: make rowlist_ mutable.
9028
9029         * RowList.h: add const_iterator
9030         * RowList.C: adjust for RowList::const_iterator.
9031
9032         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9033         adjust.
9034
9035 2003-03-31  John Levon  <levon@movementarian.org>
9036
9037         * lyxrc.h:
9038         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9039
9040         * lyx_main.C: set default fonts from using lyx_gui funcs
9041
9042         * exporter.C: pdf_mode moved from lyxrc
9043
9044         * lyx_cb.C:
9045         * lyxfunc.C: changes from above
9046
9047 2003-03-31  John Levon  <levon@movementarian.org>
9048
9049         * lyx_main.C: fix to the last fix
9050
9051 2003-03-31  John Levon  <levon@movementarian.org>
9052
9053         * bufferlist.C: "Load original" -> "Load Original"
9054
9055         * converter.C:
9056         * exporter.C:
9057         * importer.C:
9058         * lyx_main.C:
9059         * format.C: more Alert cleanups
9060
9061 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9062
9063         * text2.C (removeParagraph): make it take a RowList::iterator as
9064         arg, adjust.
9065         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9066         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9067
9068         * text.C (anchor_row): make it take a RowList::iterator as arg,
9069         adjust.
9070         (computeBidiTables): make it take a const reference to Row instead
9071         of Row pointer, adjust.
9072         (leftMargin): make it take a RowList::iterator as arg, adjust.
9073         (rowBreakPoint): adjust
9074         (breakAgainOneRow): make it take a RowList::iterator as arg,
9075         adjust.
9076         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9077
9078         * bufferview_funcs.C (toggleAndShow): adjust
9079
9080 2003-03-30  John Levon  <levon@movementarian.org>
9081
9082         * Makefile.am:
9083         * BoostFormat.h:
9084         * boost-inst.C: moved to support
9085
9086         * several files: changes as a result
9087
9088 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9089
9090         * text2.C (LyXText): adjust.
9091         (init): adjust
9092         (removeRow): make it take a RowList::iterator as arg, adjust.
9093         (fullRebreak): adjust
9094         (deleteEmptyParagraphMechanism): adjust
9095         (clearPaint): adjust
9096         (postPaint): adjust
9097
9098         * text.C (top_y): adjust
9099         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9100         (breakAgain): make it take a RowList::iterator as arg, adjust.
9101         (breakParagraph): adjust
9102         (insertChar): adjust
9103         (backspace): adjust
9104
9105         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9106         need_break_row, and refresh_row.
9107
9108         * text3.C (dispatch): adjust
9109
9110         * text2.C (checkParagraph): adjust
9111         (setCursor): adjust
9112         (setCursorFromCoordinates): adjust
9113
9114         * text.C (top_y): adjust
9115         (workWidth): adjust
9116         (getRow): make it return a RowList::iterator, adjust
9117         (getRowNearY): make it return a RowList::iterator, adjust
9118
9119         * text2.C (init): adjust
9120         (insertRow): remove function
9121         (insertParagraph): adjust
9122         (redoParagraphs): adjust
9123         (fullRebreak): adjust
9124         (updateCounters): adjust
9125
9126         * text.C (top_y): rewrite to use RowList iterators.
9127         (top_y): adjust
9128         (setHeightOfRow): rewrite to sue RowList iterators.
9129         (appendParagraph): adjust
9130         (breakAgain): adjust
9131         (breakAgainOneRow): adjust
9132         (breakParagraph): adjust
9133         (getRow): adjust
9134         (getRowNearY): adjust, and remove commented code.
9135
9136         * lyxtext.h (firstRow): delete function
9137         (lastRow): delete function
9138         (rows): new function (const and non-const versions.)
9139         (insertRow): delete function
9140
9141         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9142
9143 2003-03-29  John Levon  <levon@movementarian.org>
9144
9145         * BufferView_pimpl.C: always update scrollbar top
9146         because pasting text when we're anchored could mean we
9147         miss an update altogether
9148
9149 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * text2.C (init): use rowlist_.end() and not 0.
9152         (insertRow): change to take a RowList::iterator as arg, adjust
9153         for this.
9154         (insertParagraph): change to take a RowList::iterator as arg,
9155         adjust for this.
9156         (redoParagraphs): remove some debug msgs.
9157
9158         * text.C (appendParagraph): change to take a RowList::iterator
9159         arg, adjust for this.
9160         (breakAgain): add an assert
9161         (breakAgainOneRow): ditto
9162
9163 2003-03-29  John Levon  <levon@movementarian.org>
9164
9165         * text2.C: do not clear selection after inc/decDepth
9166         (bug 550)
9167
9168 2003-03-29  John Levon  <levon@movementarian.org>
9169
9170         * BufferView.C:
9171         * buffer.C: fix broken strerrors according to Lars
9172
9173 2003-03-29  John Levon  <levon@movementarian.org>
9174
9175         * converters.C: more Alert cleanups
9176
9177 2003-03-29  John Levon  <levon@movementarian.org>
9178
9179         * bufferview_funcs.C: remove pointless Alert
9180
9181         * buffer.C: fix confusing error message when
9182         a template is chmoded 000
9183
9184 2003-03-29  John Levon  <levon@movementarian.org>
9185
9186         * BufferView.C:
9187         * BufferView.h:
9188         * BufferView_pimpl.C: Alert fixes
9189
9190         * Makefile.am:
9191         * tabular.C:
9192         * tabular-old.C: remove unused table compat reading
9193
9194 2003-03-29  John Levon  <levon@movementarian.org>
9195
9196         * BufferView.C:
9197         * buffer.C:
9198         * lyx_cb.h:
9199         * lyx_cb.C: more Alert cleanups
9200
9201         * lyxfunc.C: don't allow chktex if not latex document
9202
9203 2003-03-29  John Levon  <levon@movementarian.org>
9204
9205         * lyx_cb.C:
9206         * BufferView.C:
9207         * buffer.C: warnings pushed down from support/,
9208         kill err_alert
9209
9210 2003-03-29  John Levon  <levon@movementarian.org>
9211
9212         * lyxfunc.C: safety check for C-r (revert)
9213
9214 2003-03-29  John Levon  <levon@movementarian.org>
9215
9216         * bufferlist.h:
9217         * bufferlist.C: several UI fixes using Alert::prompt.
9218         Fix the pointless looping quit code. Fix stupid revert
9219         behaviour (bug 938)
9220
9221         * lyxvc.h:
9222         * lyxvc.C:
9223         * lyx_cb.C: use Alert::prompt
9224
9225         * lyx_main.C: remove a silly question
9226
9227         * lyxfunc.C: remove a couple of silly questions,
9228         use Alert::prompt
9229
9230 2003-03-28  John Levon  <levon@movementarian.org>
9231
9232         * text2.C: fix bug 974 (End on empty par)
9233
9234 2003-03-28  John Levon  <levon@movementarian.org>
9235
9236         * BufferView_pimpl.C:
9237         * LyXAction.C:
9238         * lfuns.h: remove do-nothing math greek lfuns
9239
9240 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * lyxgluelength.h (isValidGlueLength): add default arg on
9243         parameter 2. Remove default arg from friend in class.
9244
9245         * lyxlength.h (isValidLength): add default arg on parameter 2.
9246         Remove default arg from friend in class.
9247
9248         * text2.C (LyXText): adjust, initialize refresh_row.
9249         (init): adjust
9250         (removeRow): adjust
9251         (insertRow): adjust
9252         (insertParagraph): adjst
9253         (redoParagraphs): adjust
9254         (fullRebreak): adjust
9255         (updateCounters): adjust
9256         (deleteEmptyParagraphMechanism): first attempt at fixing a
9257         crashing bug.
9258
9259         * text.C (top_y): adjust
9260         (setHeightOfRow): adjust
9261         (getRow): adjust
9262         (getRowNearY): adjust
9263
9264         * lyxtext.h: include RowList.h
9265         (~LyXText): not needed anymore, deleted.
9266         (firstRow): modify for RowList
9267         (lastRow): new function
9268         Delete firstrow and lastrow class variables, add a Rowlist
9269         rowlist_ class variable.
9270
9271         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9272         paragraph is empty.
9273
9274         * RowList.C (insert): fix case where it == begin().
9275
9276 2003-03-26  Angus Leeming  <leeming@lyx.org>
9277
9278         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9279         the thesaurus dialog.
9280
9281 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9282
9283         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9284
9285         * RowList.[Ch]: new files
9286
9287         * ParagraphList.C (erase): handle the case where it == begin
9288         correctly.
9289
9290 2003-03-25  John Levon  <levon@movementarian.org>
9291
9292         * Makefile.am:
9293         * aspell_local.h:
9294         * aspell.C: add new aspell support
9295
9296         * lyxrc.h:
9297         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9298         have it accessible.
9299
9300 2003-03-25  Angus Leeming  <leeming@lyx.org>
9301
9302         * lfuns.h:
9303         * LyXAction.C (init): new LFUN_INSET_INSERT.
9304
9305         * BufferView_pimpl.C (dispatch): split out part of the
9306         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9307
9308         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9309         LFUN_INSET_APPLY.
9310
9311 2003-03-25  Angus Leeming  <leeming@lyx.org>
9312
9313         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9314
9315 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9316
9317         * text2.C:
9318         * text3.C: remove useless row->height(0)
9319
9320 2003-03-25  John Levon  <levon@movementarian.org>
9321
9322         * lyxtext.h:
9323         * text2.C:
9324         * text3.C: rename the refreshing stuff to better names
9325
9326 2003-03-24  John Levon  <levon@movementarian.org>
9327
9328         * BufferView_pimpl.h:
9329         * BufferView_pimpl.C: update layout choice on a mouse
9330         press/release
9331
9332 2003-03-23  John Levon  <levon@movementarian.org>
9333
9334         * Makefile.am: fix commandtags.h reference
9335
9336 2003-03-22  John Levon  <levon@movementarian.org>
9337
9338         * BufferView_pimpl.C:
9339         * lyxtext.h:
9340         * rowpainter.C:
9341         * rowpainter.h:
9342         * text.C:
9343         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9344
9345 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9346
9347         * lyxtext.h:
9348         * text.C: take the rtl methods out of line
9349
9350 2003-03-21 André Pönitz <poenitz@gmx.net>
9351
9352         * metricsinfo.[Ch]: new files containing structures to be passed around
9353         during the two-phase-drawing...
9354
9355 2003-03-21 André Pönitz <poenitz@gmx.net>
9356
9357         * lyxtextclass.C: read 'environment' tag.
9358
9359 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9360
9361         * text2.C (removeRow): fix bug 964
9362
9363 2003-03-20  John Levon  <levon@movementarian.org>
9364
9365         * rowpainter.C:
9366         * text.C:
9367         * text2.C: paint cleanups. Inset::update() dropped font
9368         parameter
9369
9370 2003-03-19  John Levon  <levon@movementarian.org>
9371
9372         * lyxfunc.C: only fitcursor/markDirty if available()
9373
9374 2003-03-19  John Levon  <levon@movementarian.org>
9375
9376         * commandtags.h: rename to ...
9377
9378         * lfuns.h: ... this, and renumber / cleanup
9379
9380 2003-03-19  John Levon  <levon@movementarian.org>
9381
9382         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9383         fit the cursor after an lfun
9384
9385         * BufferView.h:
9386         * BufferView.C:
9387         * BufferView_pimpl.h:
9388         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9389
9390         * LyXAction.C: layout-character should have ReadOnly
9391
9392         * ParagraphParameters.C:
9393         * buffer.C:
9394         * bufferview_funcs.C:
9395         * lyx_cb.C:
9396         * lyxfind.C:
9397         * lyxtext.h:
9398         * text.C:
9399         * text2.C:
9400         * text3.C:
9401         * undo_funcs.C: changes from above
9402
9403 2003-03-18  John Levon  <levon@movementarian.org>
9404
9405         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9406         remove it from update()
9407
9408         * lyxfunc.C: update layout choice after an lfun
9409
9410         * text3.C: remove extra updateLayoutChoice()s
9411
9412 2003-03-18  John Levon  <levon@movementarian.org>
9413
9414         * text.C: top_y change means full repaint, fix
9415         a drawing bug with cursor movement
9416
9417 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9418
9419         * lyxtext.h:
9420         * text.C:
9421         * text2.C: anchor row on setCursor
9422
9423 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9424
9425         * lyxtext.h: remove almost all mutable keywords
9426         * text.C:
9427         * text2.C:
9428         * text3.C: remove const keywords accordingly
9429
9430 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9433         anon namespace
9434         (TeXEnvironment): ditto
9435         (TeXOnePar): ditto
9436
9437 2003-03-17  John Levon  <levon@movementarian.org>
9438
9439         * text.C (rowBreakPoint): remove attempt to fix displayed
9440         math insets inside a manual label
9441
9442 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9443
9444         * lyxtext.h: remove BufferView* as first arg from almost all class
9445         functions.
9446         * other files: adjust.
9447
9448 2003-03-17  John Levon  <levon@movementarian.org>
9449
9450         * lyxtext.h:
9451         * undo_funcs.C:
9452         * text2.C: more paint cleanups
9453
9454         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9455
9456         * rowpainter.h:
9457         * rowpainter.C: remove "smart" background painting code
9458
9459 2003-03-16  John Levon  <levon@movementarian.org>
9460
9461         * lyxtext.h:
9462         * text.C:
9463         * text2.C:
9464         * text3.C: add helper functions for setting refresh_row/y
9465
9466 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9467
9468         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9469         newline inset which *can* get inserted in the pass_thru layouts.
9470         This is primarily for literate documents.
9471
9472 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9473
9474         * buffer.C: increment LYX_FORMAT to 223
9475
9476 2003-03-14 André Pönitz <poenitz@gmx.net>
9477
9478         * textclass.h: prepare for environment handling, ws changes
9479         * lyxlayout.C: read latexheader and latexfooter tags
9480
9481 2003-03-14  John Levon  <levon@movementarian.org>
9482
9483         * text2.C: rewrite ::status() a bit
9484
9485 2003-03-13  John Levon  <levon@movementarian.org>
9486
9487         * lyxtext.h: add some docs
9488
9489 2003-03-13  John Levon  <levon@movementarian.org>
9490
9491         * lyxtext.h:
9492         * text.C:
9493         * text2.C:
9494         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9495
9496 2003-03-13  John Levon  <levon@movementarian.org>
9497
9498         * text3.C: fix appendix redrawing
9499
9500 2003-03-13  John Levon  <levon@movementarian.org>
9501
9502         * text.C (setHeightOfRow):
9503         * rowpainter.h:
9504         * rowpainter.C: make appendix mark have the text
9505           "Appendix" so the user knows what it is
9506
9507         * LColor.h:
9508         * LColor.C: s/appendixline/appendix/ from above
9509
9510 2003-03-13  John Levon  <levon@movementarian.org>
9511
9512         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9513
9514         * text.C: fix a getChar(pos) bug properly
9515
9516 2003-03-13  Angus Leeming  <leeming@lyx.org>
9517
9518         * commandtags.h:
9519         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9520         Probably only temporary. Let's see how things pan out.
9521
9522         * BufferView.C (unlockInset):
9523         * BufferView_pimpl.C (fitCursor):
9524         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9525
9526         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9527         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9528
9529         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9530         new functions that convert ParagraphParameters to and from a string.
9531
9532         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9533         BufferView::Pimpl's dispatch.
9534         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9535
9536 2003-03-13 André Pönitz <poenitz@gmx.net>
9537
9538         * lyxfunc.C:
9539         * text3.C:
9540         * factory.C: make it aware of InsetEnv
9541
9542 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * text2.C (setCursor): never ask for one past last
9545         (setCursor): add some debugging messages.
9546
9547         * text.C (singleWidth): never ask for one past last
9548         (singleWidth): ditto
9549         (leftMargin): ditto
9550         (rightMargin): ditto
9551         (rowBreakPoint): ditto
9552         (setHeightOfRow): ditto
9553         (prepareToPrint): ditto
9554
9555         * rowpainter.C (paintBackground): never ask for one past last
9556         (paintText): never ask for one past last
9557
9558         * paragraph_pimpl.C (getChar): make the assert stricter, never
9559         allow the one past last pos to be taken
9560
9561         * paragraph.C (getChar): ws changes only
9562
9563         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9564         (numberOfSeparators): ditto
9565         (numberOfHfills): ditto
9566
9567 2003-03-12  John Levon  <levon@movementarian.org>
9568
9569         * author.h:
9570         * author.C:
9571         * bufferparams.h:
9572         * bufferparams.C:
9573         * paragraph_funcs.C: fix per-buffer authorlists
9574
9575 2003-03-12  John Levon  <levon@movementarian.org>
9576
9577         * text.C: fix newline in right address
9578
9579 2003-03-12  Angus Leeming  <leeming@lyx.org>
9580
9581         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9582         duplicate those in LyXFunc::dispatch.
9583
9584         * commandtags.h:
9585         * LyXAction.C:
9586         * ToolbarDefaults.C:
9587         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9588         Add LFUN_FONTFREE_UPDATE.
9589
9590         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9591         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9592
9593         * bufferview_func.[Ch]: several new functions to facilliate
9594         transfer of data to and from the character dialog.
9595
9596 2003-03-12  John Levon  <levon@movementarian.org>
9597
9598         * buffer.C:
9599         * paragraph.h:
9600         * paragraph.C:
9601         * paragraph_funcs.C:
9602         * paragraph_pimpl.C:
9603         * sgml.C:
9604         * tabular.C:
9605         * text.C:
9606         * text3.C: remove META_NEWLINE in favour of an inset
9607
9608         * rowpainter.h:
9609         * rowpainter.C: remove paintNewline (done by inset)
9610
9611 2003-03-12  John Levon  <levon@movementarian.org>
9612
9613         * paragraph_pimpl.C: complain about bad getChar()s
9614         for a while at least
9615
9616 2003-03-12  John Levon  <levon@movementarian.org>
9617
9618         * buffer.h:
9619         * buffer.C: move paragraph read into a separate function,
9620         a little renaming to reflect that.
9621
9622         * bufferparams.h:
9623         * bufferparams.C: remove the author_ids map, not necessary now
9624
9625         * factory.h:
9626         * factory.C: moved Buffer::readInset to here
9627
9628         * paragraph_funcs.h:
9629         * paragraph_funcs.C: readParagraph free function moved from
9630         buffer.C
9631
9632         * tabular.C: name change
9633
9634 2003-03-12  John Levon  <levon@movementarian.org>
9635
9636         * buffer.C:
9637         * ParagraphParameters.C: move par params input to
9638         a read() method
9639
9640         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9641         behave like a normal read from the stream wrt reading
9642         a line vs. a \\token
9643
9644 2003-03-12  John Levon  <levon@movementarian.org>
9645
9646         * paragraph.C:
9647         * ParagraphParameters.h:
9648         * ParagraphParameters.C: move output code to a
9649         ::write() method
9650
9651 2003-03-12  John Levon  <levon@movementarian.org>
9652
9653         * BufferView.C (insertLyXFile):
9654         * buffer.h:
9655         * buffer.C:
9656         * tabular.C: use a parlist iterator for creating the
9657           document.
9658
9659 2003-03-12  John Levon  <levon@movementarian.org>
9660
9661         * buffer.C: make current_change static local not
9662           static file-scope
9663
9664 2003-03-12  John Levon  <levon@movementarian.org>
9665
9666         * buffer.C: fix insertStringAsLines for change tracking
9667
9668 2003-03-12  John Levon  <levon@movementarian.org>
9669
9670         * BufferView.C:
9671         * tabular.C:
9672         * buffer.h:
9673         * buffer.C:
9674         * bufferparams.h:
9675         * bufferparams.C: move author list into params. Rename some
9676           functions. Move the header reading into a separate token
9677           loop. Move the header token reading into BufferParams.
9678
9679 2003-03-12  John Levon  <levon@movementarian.org>
9680
9681         * changes.C: put debug inside lyxerr.debugging() checks
9682
9683 2003-03-11 André Pönitz <poenitz@gmx.net>
9684
9685         * factory.C: make it aware of InsetHFill
9686
9687 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9688
9689         * buffer.C (latexParagraphs): move function from here...
9690         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9691         args.
9692
9693 2003-03-10  Angus Leeming  <leeming@lyx.org>
9694
9695         * LyXAction.C (init): fix bug in poplating array with multiple entries
9696         with the same LFUN (spotted by JMarc).
9697
9698 2003-03-10  John Levon  <levon@movementarian.org>
9699
9700         * text.C:
9701         * text2.C: move getColumnNearX() near its
9702         only call site
9703
9704 2003-03-10  John Levon  <levon@movementarian.org>
9705
9706         * text.C: fix break before a minipage
9707
9708 2003-03-10  John Levon  <levon@movementarian.org>
9709
9710         * text.C: fix the last commit
9711
9712 2003-03-09  John Levon  <levon@movementarian.org>
9713
9714         * lyxtext.h:
9715         * text.C:
9716         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9717         bug 365 (don't break before insets unless needed). Don't
9718         return a value > last under any circumstances.
9719
9720 2003-03-09  Angus Leeming  <leeming@lyx.org>
9721
9722         * BufferView_pimpl.C (trackChanges, dispatch): call
9723         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9724
9725 2003-03-09  Angus Leeming  <leeming@lyx.org>
9726
9727         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9728         than Dialogs::showAboutlyx().
9729
9730 2003-03-09  Angus Leeming  <leeming@lyx.org>
9731
9732         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9733         than Dialogs::showTabularCreate().
9734
9735 2003-03-09  John Levon  <levon@movementarian.org>
9736
9737         * lyxtext.h:
9738         * text.C:
9739         * text2.C: 3rd arg to nextBreakPoint was always the same.
9740           Use references.
9741
9742 2003-03-08  John Levon  <levon@movementarian.org>
9743
9744         * lyxrow.C:
9745         * paragraph.C:
9746         * paragraph.h:
9747         * rowpainter.C:
9748         * text.C:
9749         * text2.C: Remove the "main" bit from the "main body"
9750           notion.
9751
9752 2003-03-08  John Levon  <levon@movementarian.org>
9753
9754         * text.C (leftMargin): The left margin of an empty
9755         manual label paragraph should not include the label width
9756         string length.
9757
9758         * text.C (prepareToPrint): don't attempt to measure hfills
9759         for empty manual label paragraphs - the answer should be 0
9760
9761 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9762
9763         * CutAndPaste.C: remove commented code and reindent.
9764
9765 2003-03-08  John Levon  <levon@movementarian.org>
9766
9767         * lyxfunc.h:
9768         * lyxfunc.C: move reloadBuffer()
9769
9770         * BufferView.h:
9771         * BufferView.C: to here
9772
9773         * lyxvc.C: add comment
9774
9775         * vc-backend.h:
9776         * vc-backend.C: call bv->reload() to avoid
9777           getStatus() check on MENURELOAD
9778
9779 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9780
9781         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9782         to an old format .dep file.
9783
9784 2003-03-07  Angus Leeming  <leeming@lyx.org>
9785
9786         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9787         when the LFUN_MOUSE_RELEASE should have been handled by
9788         inset->localDispatch.
9789
9790 2003-03-07  Angus Leeming  <leeming@lyx.org>
9791
9792         * BufferView_pimpl.C (dispatch):
9793         * LyXAction.C (init):
9794         * ToolbarDefaults.C (init):
9795         * commandtags.h:
9796         * lyxfunc.C (getStatus):
9797         remove LFUN_INSET_GRAPHICS.
9798
9799         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9800
9801 2003-03-07  Angus Leeming  <leeming@lyx.org>
9802
9803         * commandtags.h:
9804         * LyXAction.C (init):
9805         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9806
9807         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9808
9809         * commandtags.h:
9810         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9811
9812         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9813         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9814
9815 2003-03-07  Angus Leeming  <leeming@lyx.org>
9816
9817         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9818         remove "ert".
9819
9820 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9821
9822         * ParagraphList.C (front): new function
9823         (back): implement
9824
9825 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9826
9827         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9828         and top_row_offset_. removed var first_y.
9829         * text.C (top_y):
9830         * text2.C (LyXText, removeRow):
9831         * text3.C:
9832         * BufferView_pimpl.C:
9833         use these methods instead of using first_y
9834
9835 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * text2.C (pasteSelection): adjust for checkPastePossible
9838
9839         * CutAndPaste.C: remove Paragraph * buf and replace with
9840         ParagraphList paragraphs.
9841         (DeleteBuffer): delete
9842         (cutSelection): change the tc type to textclass_type
9843         (copySelection): change the tc type to textclass_type
9844         (copySelection): adjust for ParagraphList
9845         (pasteSelection): change the tc type to textclass_type
9846         (pasteSelection): adjust for Paragraphlist
9847         (nrOfParagraphs): simplify for ParagraphList
9848         (checkPastePossible): simplify for ParagraphList
9849         (checkPastePossible): remove unused arg
9850
9851         * ParagraphList.C (insert): handle the case where there are no
9852         paragraphs yet.
9853
9854         * CutAndPaste.h: make CutAndPaste a namespace.
9855
9856         * text3.C (dispatch): adjust
9857
9858         * text.C (breakParagraph): add a ParagraphList as arg
9859
9860         * paragraph_funcs.C (breakParagraph): change to take a
9861         BufferParams and a ParagraphList as args.
9862         (breakParagraphConservative): ditto
9863         (mergeParagraph): ditto
9864         (TeXDeeper): add a ParagraphList arg
9865         (TeXEnvironment): ditto
9866         (TeXOnePar): ditto
9867
9868         * buffer.C (readLyXformat2): adjust
9869         (insertStringAsLines): adjust
9870         (latexParagraphs): adjust
9871
9872         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9873         (cutSelection): adjust
9874         (pasteSelection): adjust
9875
9876         * BufferView_pimpl.C (insertInset): adjust
9877
9878 2003-03-05  Angus Leeming  <leeming@lyx.org>
9879
9880         * commandtags.h:
9881         * LyXAction.C (init):
9882         * BufferView_pimpl.C (dispatch):
9883         * lyxfunc.C (getStatus):
9884         remove LFUN_CHILD_INSERT.
9885
9886         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9887
9888 2003-03-05  Angus Leeming  <leeming@lyx.org>
9889
9890         * commandtags.h:
9891         * LyXAction.C (init):
9892         * src/factory.C (createInset):
9893         * lyxfunc.C (getStatus):
9894         * text3.C (dispatch):
9895         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9896
9897         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9898
9899 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9900
9901         * ParagraphList.C (insert): handle insert right before end()
9902         (erase): fix cases where it can be first or last paragraph.
9903
9904 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9905
9906         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9907         Paragraph::next and Paragraph::previous
9908         (TeXOnePar): ditto
9909
9910         * text.C (breakParagraph): adjust
9911
9912         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9913         BufferParams& as arg.
9914         (breakParagraph): use ParagraphList::insert
9915         (breakParagraphConservative): take a Buffer* instead of a
9916         BufferParams& as arg.
9917         (breakParagraphConservative): use ParagraphList::insert.
9918
9919         * buffer.C (insertStringAsLines): un-const it
9920         (insertStringAsLines): adjust
9921
9922         * ParagraphList.C (insert): new function
9923
9924         * CutAndPaste.C (pasteSelection): adjust
9925
9926         * text.C (backspace): adjust
9927
9928         * tabular.C (SetMultiColumn): adjust
9929
9930         * CutAndPaste.C (cutSelection): adjust
9931         (pasteSelection): adjust
9932
9933         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9934         Buffer const * as arg
9935
9936         * ParagraphList.C (erase): new function
9937         * paragraph_funcs.C (mergeParagraph): use it
9938         (mergeParagraph): make it take a Buffer* instead of a
9939         BufferParams* as arg
9940
9941         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9942         as arg
9943         (breakParagraphConservative): ditto
9944
9945         * paragraph.h: remove the breakParagraph friend
9946
9947         * paragraph.C (eraseIntern): new function
9948         (setChange): new function
9949
9950         * paragraph_funcs.C (mergeParagraph): make it take a
9951         ParagraphList::iterator instead of a Paragraph *, adjust
9952         accordingly.
9953
9954         * paragraph.h: move an #endif so that the change tracking stuff
9955         also works in the NO_NEXT case.
9956
9957 2003-03-04  Angus Leeming  <leeming@lyx.org>
9958
9959         * commandtags.h:
9960         * LyXAction.C: new LFUN_INSET_MODIFY.
9961
9962         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9963         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9964
9965 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * several files: ws changes only
9968
9969         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9970         (TeXEnvironment): ditto
9971         (TeXDeeper): ditto
9972
9973         * buffer.C (makeLaTeXFile): adjust
9974         (latexParagraphs): make it take ParagraphList::iterator as args
9975
9976 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9977
9978         * buffer.C (latexParagraphs): adjust
9979
9980         * paragraph.C (TeXOnePar): move function...
9981         (optArgInset): move function...
9982         (TeXEnvironment): move function...
9983         * paragraph_pimpl.C (TeXDeeper): move function...
9984         * paragraph_funcs.C: ...here
9985
9986         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9987
9988 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9989
9990         * buffer.C (readInset): remove compability code for old Figure and
9991         InsetInfo insets
9992
9993 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9994
9995         * buffer.C: ws changes
9996         (readInset):
9997
9998         * BufferView_pimpl.C: ditto
9999         * author.C: ditto
10000         * buffer.h: ditto
10001         * bufferlist.h: ditto
10002         * changes.h: ditto
10003         * lyxfunc.C: ditto
10004
10005 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10006
10007         * converter.[Ch]: split into itself +
10008         * graph.[Ch]
10009         * format.[Ch]
10010         * Makefile.am: += graph.[Ch] + format.[Ch]
10011         * MenuBackend.C
10012         * buffer.C
10013         * exporter.C
10014         * importer.C
10015         * lyx_main.C
10016         * lyxfunc.C
10017         * lyxrc.C: added #include "format.h"
10018
10019 2003-02-27  Angus Leeming  <leeming@lyx.org>
10020
10021         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10022           a label.
10023
10024         * factory.C (createInset): add "label" to the factory.
10025
10026         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10027           string and do no more.
10028
10029 2003-02-27  Angus Leeming  <leeming@lyx.org>
10030
10031         * commandtags.h:
10032         * LyXAction.C (init):
10033         * factory.C (createInset):
10034         * BufferView_pimpl.C (dispatch):
10035           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10036
10037         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10038
10039         * lyxfunc.C (dispatch):
10040         * text3.C (dispatch): pass name to params2string.
10041
10042 2003-02-26  Angus Leeming  <leeming@lyx.org>
10043
10044         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10045           blocks together.
10046           Rearrange the ~includes. Strip out the unnecessary ones.
10047
10048         * factory.C (createInset): reformat.
10049           create new insets for the various LFUN_XYZ_APPLY lfuns.
10050
10051 2003-02-26  John Levon  <levon@movementarian.org>
10052
10053         * lyxrow.h:
10054         * lyxrow.C: add isParStart,isParEnd helpers
10055
10056         * paragraph.h: make isInserted/DeletedText take refs
10057
10058         * paragraph_funcs.h:
10059         * paragraph_funcs.C: remove #if 0'd code
10060
10061         * lyxtext.h:
10062         * text3.C:
10063         * text2.C:
10064         * text.C: use lyxrow helpers above.
10065           Move draw and paint routines to RowPainter.
10066           Make several methods use refs not pointers.
10067           Make backgroundColor() const.
10068           Add markChangeInDraw(), isInInset().
10069           Merge changeRegionCase into changeCase.
10070           Make workWidth() shouldn't-happen code into an Assert.
10071
10072         * rowpainter.h:
10073         * rowpainter.C: new class for painting a row.
10074
10075         * vspace.h:
10076         * vspace.C: make inPixels take a ref
10077
10078 2003-02-26  Angus Leeming  <leeming@lyx.org>
10079
10080         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10081         LFUN_REF_APPLY.
10082
10083 2003-02-25  John Levon  <levon@movementarian.org>
10084
10085         * ispell.C: give the forked command a more accurate name
10086
10087 2003-02-22  John Levon  <levon@movementarian.org>
10088
10089         * toc.h:
10090         * toc.C: make TocItem store an id not a Paragraph *
10091           (bug #913)
10092
10093 2003-02-21  Angus Leeming  <leeming@lyx.org>
10094
10095         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10096           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10097           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10098           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10099           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10100           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10101
10102         * BufferView_pimpl.C (dispatch):
10103         * LyXAction.C (init):
10104         * factory.C (createInset):
10105         * lyxfunc.C (getStatus, dispatch):
10106         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10107
10108 2003-02-21  Angus Leeming  <leeming@lyx.org>
10109
10110         * BufferView_pimpl.C (MenuInsertLyXFile):
10111         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10112         * lyxfunc.C (menuNew, open, doImport):
10113           no longer pass a LyXView & to fileDlg.
10114
10115 2003-02-21  Angus Leeming  <leeming@lyx.org>
10116
10117         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10118         * LyXAction.C: change, BIBKEY to BIBITEM.
10119         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10120         Change InsetBibKey to InsetBibitem.
10121         Change BIBKEY_CODE to BIBITEM_CODE.
10122         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10123         * factory.C: replace insetbib.h with insetbibitem.h.
10124         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10125         * paragraph.C: replace insetbib.h with insetbibitem.h.
10126         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10127         Change bibkey() to bibitem().
10128         * text.C: remove insetbib.h.
10129         * text2.C: replace insetbib.h with insetbibitem.h.
10130         change bibkey() to bibitem().
10131         * text3.C: remove insetbib.h.
10132         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10133
10134 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10135
10136         * lyxrc.C (output): enclose user email in quotes (in case there are
10137         several words)
10138
10139 2003-02-18  John Levon  <levon@movementarian.org>
10140
10141         * buffer.h: add std::
10142
10143 2003-02-17  John Levon  <levon@movementarian.org>
10144
10145         * SpellBase.h:
10146         * ispell.h:
10147         * ispell.C:
10148         * pspell.h:
10149         * pspell.C: reworking. Especially in ispell, a large
10150           number of clean ups and bug fixes.
10151
10152         * lyxfunc.C: fix revert to behave sensibly
10153
10154 2003-02-17 André Pönitz <poenitz@gmx.net>
10155
10156         * LyXAction.C:
10157         * commandtags.h: new LFUN_INSERT_BIBKEY
10158
10159         * layout.h:
10160         * lyxlayout.C:
10161         * buffer.C:
10162         * factory.C:
10163         * text.C:
10164         * text2.C:
10165         * text3.C:
10166         * paragraph.[Ch]:
10167         * paragraph_func.C: remove special bibkey handling
10168
10169 2003-02-17  John Levon  <levon@movementarian.org>
10170
10171         * text.C (Delete): fix case where delete at the end of
10172           the very first paragraph would not merge the pars
10173
10174 2003-02-17  John Levon  <levon@movementarian.org>
10175
10176         * lyxrow.C: fix lastPrintablePos()
10177
10178 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * bufferparams.C (writeLaTeX): add a std:here
10181
10182         * buffer.C: and remove a using directive there
10183
10184 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * buffer.C (makeLaTeXFile): move the code that generates the
10187           preamble...
10188
10189         * bufferparams.C (writeLaTeX): ... in this new method
10190
10191         * LaTeXFeatures.C (getEncodingSet): make const
10192           (getLanguages): make const
10193
10194         * MenuBackend.C (binding): returns the binding associated to this
10195           action
10196           (add): sets the status of each item by calling getStatus. Adds
10197           some intelligence.
10198           (read): add support for OptSubMenu
10199           (expand): remove extra separator at the end of expanded menu
10200
10201 2003-02-15  John Levon  <levon@movementarian.org>
10202
10203         * BufferView.C:
10204         * BufferView_pimpl.C:
10205         * bufferlist.h:
10206         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10207           inset code that had no actual effect. Remove unneeded status
10208           code.
10209
10210 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10211
10212         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10213           in preamble
10214
10215 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10216
10217         * text.C (drawLengthMarker): also draw an arrow marker for
10218           symbolic lengths (medskip...)
10219
10220 2003-02-14  John Levon  <levon@movementarian.org>
10221
10222         * tabular.h:
10223         * tabular.C: better method names
10224
10225 2003-02-14  John Levon  <levon@movementarian.org>
10226
10227         * BufferView_pimpl.C:
10228         * bufferlist.C:
10229         * buffer.C:
10230         * converter.C:
10231         * lyx_cb.C:
10232         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10233           it's a more accurate name. Remove some pointless uses.
10234
10235 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10236
10237         * text2.C (LyXText): change order of initilizers to shut off
10238           warnings
10239
10240 2003-02-14  John Levon  <levon@movementarian.org>
10241
10242         * buffer.C: use ParIterator for getParFromID()
10243
10244         * paragraph.h:
10245         * paragraph.C:
10246         * paragraph_pimpl.h:
10247         * paragraph_pimpl.C: remove unused getParFromID()
10248
10249 2003-02-14  John Levon  <levon@movementarian.org>
10250
10251         * buffer.C: remove some very old #if 0'd parse code
10252
10253 2003-02-13  John Levon  <levon@movementarian.org>
10254
10255         * text.h:
10256         * text.C:
10257         * text2.C: move hfillExpansion(), numberOfSeparators(),
10258           rowLast(), rowLastPrintable(), numberofHfills(),
10259           numberOfLabelHfills() ...
10260
10261         * lyxrow.h:
10262         * lyxrow.C: ... to member functions here.
10263
10264         * paragraph.h:
10265         * paragraph.C:
10266         * lyxtext.h:
10267         * text.C: remove LyXText::beginningOfMainBody(), and call
10268           p->beginningOfMainBody() directly. Move the check for
10269           LABEL_MANUAL into the latter.
10270
10271         * text.h:
10272         * text.C:
10273         * text2.C:
10274         * vspace.C:
10275         * BufferView.h:
10276         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10277
10278         * text.h:
10279         * text.C:
10280         * text2.C:
10281         * text3.C:
10282         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10283           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10284
10285 2003-02-13  John Levon  <levon@movementarian.org>
10286
10287         * CutAndPaste.C: remove debug
10288
10289 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * paragraph.C (asString): remove two unused variables
10292
10293         * lyxtextclass.C (readTitleType):
10294           (Read):
10295           (LyXTextClass): handle new members titletype_ and titlename_
10296
10297         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10298
10299 2003-02-09  John Levon  <levon@movementarian.org>
10300
10301         * buffer.h:
10302         * buffer.C: replace hand-coded list with a map for the dep clean
10303
10304 2003-02-08  John Levon  <levon@movementarian.org>
10305
10306         * LaTeX.C: consolidate code into showRunMessage() helper
10307
10308 2003-02-08  John Levon  <levon@movementarian.org>
10309
10310         * lyxfind.C:
10311         * lyxtext.h:
10312         * text2.C:
10313         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10314           and pass the size in explicitly
10315
10316         * BufferView_pimpl.h:
10317         * BufferView_pimpl.C:
10318         * BufferView.h:
10319         * BufferView.C: add getCurrentChange()
10320
10321         * BufferView_pimpl.h:
10322         * BufferView_pimpl.C: handle change lfuns
10323
10324         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10325           for changes. Mark pasted paragraphs as new.
10326
10327         * support/lyxtime.h:
10328         * support/lyxtime.C:
10329         * DepTable.C: abstract time_t as lyx::time_type
10330
10331         * LColor.h:
10332         * LColor.C: add colours for new text, deleted text, changebars
10333
10334         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10335           package use "usenames" option.
10336
10337         * commandtags.h:
10338         * lyxfunc.C:
10339         * LyXAction.C: add change lfuns
10340
10341         * Makefile.am:
10342         * author.h:
10343         * author.C: author handling
10344
10345         * buffer.h:
10346         * buffer.C: add a per-buffer author list, with first entry as
10347           current author. Handle new .lyx tokens for change tracking. Output
10348           author list to .lyx file. Output dvipost stuff to .tex preamble.
10349           Bump lyx format to 222.
10350
10351         * bufferlist.h:
10352         * bufferlist.C: add setCurrentAuthor() to reset current author details
10353           in all buffers.
10354
10355         * bufferparams.h:
10356         * bufferparams.C: add param for tracking
10357
10358         * bufferview_funcs.C: output change info in minibuffer
10359
10360         * Makefile.am:
10361         * changes.h:
10362         * changes.C: add change-tracking structure
10363
10364         * debug.h:
10365         * debug.C: add CHANGES debug flag
10366
10367         * lyxfind.h:
10368         * lyxfind.C: add code for finding the next change piece
10369
10370         * lyxrc.h:
10371         * lyxrc.C: add user_name and user_email
10372
10373         * lyxrow.h:
10374         * lyxrow.C: add a metric for the top of the text line
10375
10376         * lyxtext.h:
10377         * text.C: implement accept/rejectChange()
10378
10379         * lyxtext.h:
10380         * text.C: paint changebars. Paint new/deleted text in the chosen
10381         colours. Strike through deleted text.
10382
10383         * paragraph.h:
10384         * paragraph.C:
10385         * paragraph_pimpl.h:
10386         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10387           in the current change to the insert functions. Rework erase to
10388           mark text as deleted, adding an eraseIntern() and a range-based
10389           erase(). Implement per-paragraph change lookup and
10390           accept/reject.
10391
10392         * paragraph_funcs.C: Fixup paste for change tracking.
10393
10394         * tabular.C: mark added row/columns as new.
10395
10396         * text.C: fix rowLast() to never return -1. Don't allow
10397           spellchecking of deleted text. Track transpose changes. Don't
10398           allow paragraph break or merge where appropriate.
10399
10400         * text2.C: leave cursor at end of selection after a cut.
10401
10402 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10403
10404         * text.C (getLengthMarkerHeight):
10405         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10406         visible on screen too.
10407
10408 2003-02-07  John Levon  <levon@movementarian.org>
10409
10410         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10411
10412 2003-02-05  Angus Leeming  <leeming@lyx.org>
10413
10414         * lyxserver.C (read_ready): revert my patch of 11 September last year
10415         as it sends PC cpu through the roof. Presumably this means that
10416         the lyxserver will no longer run on an Alpha...
10417
10418 2003-01-30  Angus Leeming  <leeming@lyx.org>
10419
10420         * factory.C (createInset): create an InsetCommandParam of type "index"
10421         and use it to 'do the right thing'.
10422
10423         * text2.C (getStringToIndex): ensure that cursor position is always
10424         reset to the reset_cursor position.
10425
10426 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10427
10428         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10429         disabled.
10430
10431 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10432
10433         * bufferview.C:
10434         * lyxcb.C:
10435         * lyxfunc.C: Output messages with identical spelling, punctuation,
10436         and spaces
10437
10438 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10439
10440         * MenuBackend.C (expandFormats): List only viewable export formats
10441         in "View" menu
10442
10443         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10444         message
10445
10446         * lyxfunc.C (getStatus): Make sure that formats other than
10447         "fax" can also be disabled
10448
10449 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10450
10451         * text3.C (dispatch): put the lfuns that insert insets in 3
10452         groups, and call doInsertInset with appropriate arguments.
10453         (doInsertInset): new function, that creates an inset and inserts
10454         it according to some boolean parameters.
10455
10456 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10457
10458         * buffer.C (readFile): remember to pass on 'par' when calling
10459         readFile recursively.
10460
10461 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10462
10463         * MenuBackend.C (expandFormats): add "..." to import formats.
10464
10465 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10466
10467         * paragraph.C (asString): Remove XForms RTL hacks.
10468
10469 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10470         * buffer.C: fix typo
10471
10472 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10473
10474         * Makefile.am (LIBS): delete var
10475         (lyx_LDADD): add @LIBS@ here instead.
10476
10477 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10478
10479         * Clarify the meaning of "wheel mouse jump"
10480
10481 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10482
10483         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10484         tabular in a float
10485
10486 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10487
10488         * importer.C (Loaders): do not preallocate 3 elements in the
10489         vector, since one ends up with 6 elements otherwise
10490
10491 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10492
10493         * DepTable.C (write): write the file name as last element of the
10494         .dep file (because it may contain spaces)
10495         (read): read info in the right order
10496
10497 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10498
10499         * paragraph_pimpl.C (simpleTeXBlanks):
10500         (simpleTeXSpecialChars):
10501         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10502
10503         * tabular.C (latex): add some missing case statements. Reindent.
10504
10505         * MenuBackend.C (expandToc): remove unused variable.
10506
10507 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10508
10509         * LColor.C:
10510         * LaTeX.C:
10511         * LyXAction.C:
10512         * MenuBackend.C:
10513         * buffer.C:
10514         * exporter.C:
10515         * lyxfunc.C:
10516         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10517         and the like.
10518
10519 2003-01-05  John Levon  <levon@movementarian.org>
10520
10521         * BufferView.h:
10522         * BufferView.C: add getEncoding()
10523
10524         * kbsequence.h:
10525         * kbsequence.C: do not store last keypress
10526
10527         * lyxfunc.h:
10528         * lyxfunc.C: store last keypress here instead. Pass encoding
10529           to getISOEncoded()
10530
10531 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10532
10533         * lyx_main.C (init): remove annoying error message when following
10534         symbolic links (bug #780)
10535
10536 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * text.C (insertChar):
10539         * lyxrc.C (getDescription): remove extra spaces
10540
10541 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10542
10543         * lyxrc.C (getDescription): remove extra spaces
10544
10545 2002-12-20  John Levon  <levon@movementarian.org>
10546
10547         * text3.C: hack fix for page up/down across tall rows
10548
10549 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10550
10551         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10552         not been invoked
10553
10554 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10555
10556         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10557         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10558         thesaurus is not compiled in
10559
10560 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10561
10562         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10563
10564 2002-12-16  Angus Leeming  <leeming@lyx.org>
10565
10566         * lyxrc.[Ch]:
10567         * lyx_main.C (init): remove override_x_deadkeys stuff.
10568
10569 2002-12-12  John Levon  <levon@movementarian.org>
10570
10571         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10572           insert. Only remove shift modifier under strict
10573           circumstances.
10574
10575 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10576
10577         * MenuBackend.C (expandToc): fix crash.
10578
10579 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10580
10581         * MenuBackend.C (expandToc): gettext on float names.
10582
10583 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10584
10585         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10586         implement bool empty() [bug 490]
10587
10588 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10589
10590         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10591
10592 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10593
10594         * several files: ws changes
10595
10596 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10597
10598         * text2.C (setCounter): clean up a bit, use boost.format.
10599         (updateCounters): initialize par upon declaration.
10600
10601         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10602         if the layout exists. We do not just store the layout any more.
10603         (SwitchLayoutsBetweenClasses): use boost.format
10604
10605 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10606
10607         * converter.C (convert): if from and to files are the same, use a
10608         temporary files as intermediary
10609
10610 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * commandtags.h:
10613         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10614
10615 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10616
10617         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10618
10619 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10620
10621         * tabular.C (asciiPrintCell): use string(size, char) instead of
10622         explicit loop.
10623
10624         * sgml.C (openTag): fix order of arguments to string constructor
10625         (closeTag): ditto
10626
10627         * lyxfunc.C (dispatch): use boost.format
10628
10629         * lots of files: change "c" -> 'c'
10630
10631 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10634
10635 2002-11-25  Angus Leeming  <leeming@lyx.org>
10636
10637         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10638
10639         * lyx_main.C (init): compile fix.
10640
10641 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10642
10643         * lyx_cb.C (start): boost.formatify
10644         do not include <iostream>
10645
10646         * lengthcommon.C: ws only
10647
10648         * boost-inst.C,BoostFormat.h: add more explict instantations
10649
10650 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10651
10652         * lots of files: handle USE_BOOST_FORMAT
10653
10654 2002-11-21  John Levon  <levon@movementarian.org>
10655
10656         * pspell.C: fix compile
10657
10658 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * lyxfunc.C (dispatch): use boost::format
10661         (open): ditto
10662         (doImport): ditto
10663
10664         * lyxfont.C (stateText): use boost::format
10665
10666         * lyx_main.C (LyX): use boost::format
10667         (init): ditto
10668         (queryUserLyXDir): ditto
10669         (readRcFile): ditto
10670         (parse_dbg): ditto
10671         (typedef boost::function): use the recommened syntax.
10672
10673         * importer.C (Import): use boost::format
10674
10675         * debug.C (showLevel): use boost::format
10676
10677         * converter.C (view): use boost::format
10678         (convert): ditto
10679         (move): ditto
10680         (scanLog): ditto
10681
10682         * bufferview_funcs.C (currentState): use boost::format
10683
10684         * bufferlist.C (emergencyWrite): use boost::format
10685
10686         * buffer.C (readLyXformat2): use boost::format
10687         (parseSingleLyXformat2Token): ditto
10688
10689         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10690
10691         * LaTeX.C (run): use boost::format
10692
10693         * Chktex.C (scanLogFile): use boost::format
10694
10695         * BufferView_pimpl.C (savePosition): use boost::format
10696         (restorePosition): ditto
10697         (MenuInsertLyXFile): ditto
10698
10699         * BoostFormat.h: help file for explicit instation.
10700
10701 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10702
10703         * tabular.C (latex): Support for block alignment in fixed width
10704         columns.
10705
10706 2002-11-17  John Levon  <levon@movementarian.org>
10707
10708         * BufferView_pimpl.C:
10709         * lyx_cb.C:
10710         * lyxfunc.C: split filedialog into open/save
10711
10712 2002-11-08  Juergen Vigna  <jug@sad.it>
10713
10714         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10715         by my last patch (hopefully).
10716
10717 2002-11-08  John Levon  <levon@movementarian.org>
10718
10719         * iterators.h:
10720         * iterators.C:
10721         * buffer.h:
10722         * buffer.C:
10723         * paragraph.h:
10724         * paragraph.C:
10725         * toc.h:
10726         * toc.C: ParConstIterator, and use it (from Lars)
10727
10728 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10729
10730         * lyxtextclass.[Ch]: revise and add doxygen comments
10731
10732 2002-11-07  John Levon  <levon@movementarian.org>
10733
10734         * text.C: fix progress value for spellchecker
10735
10736         * toc.C: fix navigate menu for insetwrap inside minipage
10737
10738         * paragraph_funcs.C: added FIXME for suspect code
10739
10740 2002-11-07  John Levon  <levon@movementarian.org>
10741
10742         * BufferView_pimpl.C: fix redrawing of insets
10743           on buffer switch
10744
10745 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10746
10747         * text2.C (updateCounters): fix bug 668
10748
10749 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10750
10751         * text3.C (dispatch): Do not make the buffer dirty when moving the
10752         cursor.
10753
10754 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10755
10756         * vc-backend.C: STRCONV
10757         (scanMaster): ditto
10758
10759         * text2.C (setCounter): STRCONV
10760
10761         * paragraph.C (asString): STRCONV
10762
10763         * lyxlength.C (asString): STRCONV
10764         (asLatexString): ditto
10765
10766         * lyxgluelength.C (asString): STRCONV
10767         (asLatexString): ditto
10768
10769         * lyxfunc.C (dispatch): STRCONV
10770         (open): ditto
10771
10772         * lyxfont.C (stateText): STRCONV
10773
10774         * importer.C (Import): STRCONV
10775
10776         * counters.C (labelItem): STRCONV
10777         (numberLabel): ditto
10778         (numberLabel): remove unused ostringstream o
10779
10780         * chset.C: STRCONV
10781         (loadFile): ditto
10782
10783         * bufferview_funcs.C (currentState): STRCONV
10784
10785         * buffer.C (readFile): STRCONV
10786         (asciiParagraph): ditto
10787         (makeLaTeXFile): ditto
10788
10789         * Spacing.C (writeEnvirBegin): STRCONV
10790
10791         * LaTeXFeatures.C (getLanguages): STRCONV
10792         (getPackages): ditto
10793         (getMacros): ditto
10794         (getBabelOptions): ditto
10795         (getTClassPreamble): ditto
10796         (getLyXSGMLEntities): ditto
10797         (getIncludedFiles): ditto
10798
10799         * LaTeX.C: STRCONV
10800         (run): ditto
10801         (scanAuxFile): ditto
10802         (deplog): ditto
10803
10804         * LString.h: add the STRCONV macros
10805
10806         * BufferView_pimpl.C (savePosition): STRCONV
10807         (restorePosition): ditto
10808         (MenuInsertLyXFile): ditto
10809
10810         * vc-backend.C (scanMaster): change from submatch[...] to
10811         submatch.str(...)
10812
10813         * funcrequest.C: include config.h
10814
10815         * factory.C: include config.h
10816
10817         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10818
10819         * box.C: include config.h
10820
10821         * LaTeX.C (scanAuxFile): change from submatch[...] to
10822         submatch.str(...)
10823         (deplog): ditto
10824
10825 2002-10-25  Angus Leeming  <leeming@lyx.org>
10826
10827         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10828
10829         * ispell.[Ch] (setError): new method.
10830         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10831         Use setError() insetead of goto END.
10832
10833         * lyx_cb.C (AutoSave): move out child process into new class
10834         AutoSaveBuffer.
10835
10836 2002-10-30  John Levon  <levon@movementarian.org>
10837
10838         * text3.C: make start appendix undoable
10839
10840 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10841
10842         * lyxlength.C (inPixels): Fix returned value.
10843
10844         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10845         environment.
10846
10847 2002-10-24  Angus Leeming  <leeming@lyx.org>
10848
10849         * lyxgluelength.h: no need to forward declare BufferParams
10850         or BufferView, so don't.
10851
10852 2002-10-21  John Levon  <levon@movementarian.org>
10853
10854         * BufferView.C: menuUndo ->undo, redo
10855
10856         * BufferView.h: document, remove dead, make some methods private
10857
10858         * paragraph_funcs.h:
10859         * paragraph_funcs.C:
10860         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10861
10862         * buffer.h:
10863         * buffer.C:
10864         * sgml.h:
10865         * sgml.C: move sgml open/close tag into sgml.C
10866
10867         * bufferview_funcs.h: unused prototype
10868
10869         * lyxfunc.h:
10870         * lyxfunc.C: remove unused
10871
10872         * lyxtext.h:
10873         * text.C: remove unused
10874
10875 2002-10-21  John Levon  <levon@movementarian.org>
10876
10877         * BufferView.h:
10878         * BufferView.C:
10879         * BufferView_pimpl.h:
10880         * BufferView_pimpl.C: fix mouse wheel handling based on
10881           patch from Darren Freeman
10882
10883 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10884
10885         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10886
10887 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10888
10889         * lyxlength.C (inPixels): Fix hanfling of negative length.
10890         Fix LyXLength::MU case.
10891
10892 2002-10-16  John Levon  <levon@movementarian.org>
10893
10894         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10895
10896 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * converter.C (view): add support for $$i (file name) and $$p
10899         (file path) for the viewer command. If $$i is not specified, then
10900         it is appended to the command (for compatibility with old syntax)
10901
10902 2002-10-14  Juergen Vigna  <jug@sad.it>
10903
10904         * undo_funcs.C (textHandleUndo): alter the order in which the
10905         new undopar is added to the LyXText, as we have to set first
10906         the right prev/next and then add it as otherwise the rebuild of
10907         LyXText is not correct. Also reset the cursor to the right paragraph,
10908         with this IMO we could remove the hack in "redoParagraphs()".
10909
10910 2002-10-09  Angus Leeming  <leeming@lyx.org>
10911
10912         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10913         to turn off an optimisation if a new inset is to be inserted.
10914
10915 2002-10-11 André Pönitz <poenitz@gmx.net>
10916
10917         * lyxtext.h: make some functions public to allow access
10918         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10919
10920 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * text3.C (dispatch): when changing layout, avoid an infinite loop
10923         [bug #652]
10924
10925 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10926
10927         * lyxrc.C (read): treat a viewer or converter command of "none" as
10928         if it were empty.
10929
10930         * MenuBackend.C (expandFormats): for an update, also allow the
10931         formats that are not viewable
10932
10933         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10934         script if it is newer than the lyxrc.defaults in user directory
10935
10936 2002-10-07 André Pönitz <poenitz@gmx.net>
10937
10938         * text.C: Vitaly Lipatov's small i18n fix
10939
10940 2002-09-25  Angus Leeming  <leeming@lyx.org>
10941
10942         * ispell.h: doxygen fix.
10943
10944 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10945
10946         * buffer.h (readFile): Add a new argument to the method, to allow
10947         reading of old-format templates.
10948
10949 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10950
10951         * toc.C (getTocList): Get TOC from InsetWrap.
10952
10953 2002-09-16  John Levon  <levon@movementarian.org>
10954
10955         * lyxfunc.C: check tabular for cut/copy too
10956
10957 2002-09-12  John Levon  <levon@movementarian.org>
10958
10959         * LyXAction.C: tidy
10960
10961         * factory.h:
10962         * factory.C: add header
10963
10964         * paragraph_funcs.h:
10965         * paragraph_funcs.C: cleanup
10966
10967 2002-09-11  John Levon  <levon@movementarian.org>
10968
10969         * PrinterParams.h: odd/even default to true
10970
10971 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10972
10973         * PrinterParams.h: update printer parameters for new xforms dialog
10974
10975 2002-09-11  Angus Leeming  <leeming@lyx.org>
10976
10977         * lyxserver.C (read_ready): re-write to make it more transparent
10978         and to make it work in coherent fashion under Tru64 Unix.
10979
10980 2002-09-11  André Pönitz <poenitz@gmx.net>
10981
10982         * commandtags.h:
10983         * LyXAction.C:
10984         * text3.C: implement LFUN_WORDSEL
10985
10986 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10987
10988         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10989         make floatlist_ a boost::shared_ptr<FloatList>
10990
10991         * lyxtextclass.C: include FloatList.h
10992         (LyXTextClass): initialize floatlist_
10993         (TextClassTags): add TC_NOFLOAT
10994         (Read): match "nofloat" to TC_NOFLOAT and use it.
10995         (readFloat): modify call to floatlist_
10996         (floats): ditto
10997         (floats): ditto
10998
10999         * FloatList.[Ch] (FloatList): remove commented out float
11000         initialization.
11001         (erase): new function
11002
11003 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11004
11005         * MenuBackend.C (expandToc): fix crash when there is no document
11006         open
11007
11008 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11009
11010         * many files: Add insetwrap.
11011
11012 2002-09-09  John Levon  <levon@movementarian.org>
11013
11014         * text2.C: remove confusing and awkward depth wraparound
11015
11016 2002-09-09  John Levon  <levon@movementarian.org>
11017
11018         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11019
11020         * buffer.h:
11021         * buffer.C: remove getIncludeonlyList()
11022
11023         * paragraph.C:
11024         * lyxfunc.C: remove headers
11025
11026 2002-09-09  Juergen Vigna  <jug@sad.it>
11027
11028         * text.C (getColumnNearX): fix form Michael this is most
11029         probably a cut&paste bug.
11030
11031 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11032
11033         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11034
11035         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11036         references, ws changes.
11037
11038         * text2.C (init): update counters after init
11039         (insertParagraph): no need to set counter on idividual paragraphs.
11040         (setCounter): access the counters object in the textclass object
11041         on in the buffer object.
11042         (updateCounters): ditto
11043
11044         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11045         shared_ptr<Counters> to avoid loading counters.h in all
11046         compilation units.
11047         (LyXTextClass): initialize ctrs_
11048         (TextClassTags): add TC_COUNTER, and ...
11049         (Read): use it here.
11050         (CounterTags): new tags
11051         (readCounter): new function
11052         (counters): new funtion
11053         (defaultLayoutName): return a const reference
11054
11055         * counters.C (Counters): remove contructor
11056         (newCounter): remove a couple of unneeded statements.
11057         (newCounter): simplify a bit.
11058         (numberLabel): some small formatting changes.
11059
11060         * buffer.[Ch]: remove all traces of counters, move the Counters
11061         object to the LyXTextClass.
11062
11063 2002-09-06  Alain Castera  <castera@in2p3.fr>
11064
11065         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11066         package to set the horizontal alignment on fixed width columns.
11067
11068         * lyx_sty.C:
11069         * lyx_sty.h: added tabularnewline macro def.
11070
11071         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11072
11073 2002-09-06  John Levon  <levon@movementarian.org>
11074
11075         * LyXAction.C: tooltips for sub/superscript
11076
11077         * MenuBackend.C: a bit more verbose
11078
11079         * lyxfunc.C: tiny clean
11080
11081         * undo_funcs.C: document undo_frozen
11082
11083 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11084
11085         * counters.C (Counters): add missing algorithm counter.
11086
11087         * text2.C (setCounter): lookup the counter with layouts latexname
11088         instead of by section number.
11089         (setCounter): use a hackish way to lookup the correct enum
11090         counter.
11091         a float name->type change
11092         reset enum couners with counter name directly instead of depth value.
11093
11094         * counters.C (Counters): remove the push_backs, change to use the
11095         float type not the float name.
11096         (labelItem): remove unused string, float name->type change
11097
11098         * counters.h: don't include vector, loose the enums and sects vectors
11099
11100 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11101
11102         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11103         (Read): add float->TC_FLOAT to textclassTags
11104         (Read): and handle it in the switch
11105         (readFloat): new function
11106
11107         * FloatList.C (FloatList): comment out the hardcoded float
11108         definitions.
11109
11110         * lyxlayout.h: ws change.
11111
11112 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11113
11114         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11115
11116 2002-09-03  Angus Leeming  <leeming@lyx.org>
11117
11118         * BufferView_pimpl.h: qualified name is not allowed in member
11119         declaration: WorkArea & Pimpl::workarea() const;
11120
11121         * factory.C: added using std::endl directive.
11122
11123         * text3.C: added using std::find and std::vector directives.
11124
11125 2002-08-29  André Pönitz <poenitz@gmx.net>
11126
11127         * lyxtext.h:
11128         * text2.C: remove unused member number_of_rows
11129
11130         * Makefile.am:
11131         * BufferView2.C: remove file, move contents to...
11132         * BufferView.C: ... here
11133
11134         * BufferView_pimpl.C:
11135         * factory.C: move more inset creation to factory
11136
11137         * vspace.C: avoid direct usage of LyXText, ws changes
11138
11139         * BufferView.[Ch]:
11140                 don't provide direct access to WorkArea, use two simple
11141                 acessors haveSelction() and workHeight() instead
11142
11143
11144 2002-08-29  John Levon  <levon@movementarian.org>
11145
11146         * BufferView_pimpl.C (dispatch): do not continue when
11147           no buffer
11148
11149 2002-08-28  André Pönitz <poenitz@gmx.net>
11150
11151         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11152
11153         * BufferView.h:
11154         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11155
11156 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11157
11158         * buffer.C: increment LYX_FORMAT to 221
11159
11160         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11161         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11162
11163         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11164
11165         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11166
11167 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * factory.C (createInset): use LyXTextClass::floats
11170
11171         * MenuBackend.C (expandFloatListInsert):
11172         (expandFloatInsert):
11173         (expandToc):
11174
11175         * text2.C (setCounter):
11176
11177         * LaTeXFeatures.C (useFloat):
11178         (getFloatDefinitions):
11179
11180         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11181
11182         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11183         floatlist_, with accessor floats().
11184
11185         * FloatList.h: remove global FloatList
11186
11187 2002-08-26  André Pönitz <poenitz@gmx.net>
11188
11189         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11190
11191         * BufferView.h:
11192         * BufferView2.C:
11193         * BufferView_pimpl.C:
11194         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11195
11196 2002-08-25  John Levon  <levon@movementarian.org>
11197
11198         * LyXAction.C: fix margin note description
11199
11200 2002-08-24  John Levon  <levon@movementarian.org>
11201
11202         * buffer.C:
11203         * bufferlist.C:
11204         * bufferview_funcs.C:
11205         * lyxfont.C:
11206         * undo_funcs.C: cleanups
11207
11208         * lyxfunc.C: disable CUT/COPY when no selection
11209
11210 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11211
11212         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11213         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11214
11215         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11216         Add backward compatibility to "mono", "gray" and "no".
11217
11218 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11221         (and file_format >= 200).
11222
11223 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11226
11227 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11228
11229         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11230
11231 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11232
11233         * BufferView_pimpl.C:
11234         * LyXAction.C:
11235         * buffer.C:
11236         * commandtags.h:
11237         * lyxfunc.C:
11238         * paragraph.[Ch]:
11239         * text2.C:
11240         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11241         inset and code to make it  work with the paragraph code. The inset
11242         can be anywhere in the paragraph, but will only do the expected
11243         thing in LaTeX if the layout file contains the parameter line
11244                         OptionalArgs    1
11245         (or more generally, a nonzero value) for that layout.
11246
11247 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11248
11249         * paragraph.h: remove the declaration of undefined counters class
11250         function.
11251
11252 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11253
11254         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11255         Dr. Richard Hawkins.
11256
11257 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * paragraph_funcs.h: remove some unneeded includes
11260
11261         * text.C (backspace): pasteParagraph now in global scipe
11262
11263         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11264         (pasteSelection): ditto
11265
11266         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11267         * paragraph_funcs.C (pasteParagraph): ... here
11268
11269 2002-08-20  André Pönitz <poenitz@gmx.net>
11270
11271         * commandtags.h: new LFUNs for swapping/copying table row/colums
11272
11273         * LyXAction.C:
11274         * lyxfunc.C: support for new lfuns
11275
11276 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11277
11278         * tabular.C:
11279         * buffer.[Ch]: remove NO_COMPABILITY stuff
11280
11281 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11282
11283         * boost.C (throw_exception): new file, with helper function for
11284         boost compiled without exceptions.
11285
11286         * paragraph.h:
11287         * lyxlength.C:
11288         * buffer.C:
11289         * ParameterStruct.h:
11290         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11291
11292         * bufferlist.C (emergencyWriteAll): use boost bind
11293
11294         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11295
11296         * text.C: include paragraph_funcs.h
11297         (breakParagraph): breakParagraph is now in global scope
11298
11299         * paragraph_funcs.[Ch]: new files
11300
11301         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11302         global scope
11303
11304         * buffer.C: include paragraph_funcs.h
11305         (insertStringAsLines): breakParagraph is now in global scope
11306
11307         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11308         paragraph_funcs.C
11309
11310         * CutAndPaste.C: include paragraph_funcs.h
11311         (cutSelection): breakParagraphConservative is now in global scope
11312         (pasteSelection): ditto
11313
11314         * buffer.h: declare oprator== and operator!= for
11315         Buffer::inset_iterator
11316
11317         * bufferlist.C (emergencyWrite): don't use fmt(...)
11318
11319         * text3.C: add using std::endl
11320
11321         * BufferView.C (moveCursorUpdate): remove default arg
11322
11323 2002-08-20  André Pönitz <poenitz@gmx.net>
11324
11325         * buffer.[Ch]: move inline functions to .C
11326
11327         * BufferView2.C:
11328         * BufferView_pimpl.C:
11329         * text.C:
11330         * buffer.[Ch]: use improved inset_iterator
11331
11332         * buffer.C:
11333         * paragraph.[Ch]: write one paragraph at a time
11334
11335 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11338         style if style is not specified.
11339
11340 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * text2.C (setCounter): when searching for right label for a
11343         caption, make sure to recurse to parent insets (so that a caption
11344         in a minipage in a figure float works) (bug #568)
11345
11346 2002-08-20  André Pönitz <poenitz@gmx.net>
11347
11348         * text3.C: new file for LyXText::dispatch() and helpers
11349
11350         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11351
11352         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11353
11354 2002-08-19  André Pönitz <poenitz@gmx.net>
11355
11356         * lyxtext.h:
11357         * text.C: new LyXText::dispatch()
11358
11359         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11360
11361 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11364
11365         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11366         Hebrew text.
11367
11368 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * Makefile.am: use $(variables) instead of @substitutions@
11371
11372 2002-08-15  André Pönitz <poenitz@gmx.net>
11373
11374         * lyxfunc.C:
11375         * BufferView_pimpl.C: streamlining mathed <-> outer world
11376         interaction
11377
11378         * commandtags.h:
11379         * LyXAction.C: remove unused LFUN_MATH
11380
11381 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11382
11383         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11384
11385 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11386
11387         * paragraph.C (Paragraph): reformat a bit
11388         (cutIntoMinibuffer): use builtin InsetList function instad of
11389         doing it manually.
11390         (getInset): ditto
11391
11392         * buffer.C: include boost/bind.hpp, add using std::for_each
11393         (writeFileAscii): use ParagraphList iterators
11394         (validate): use for_each for validate traversal of paragraphs
11395         (getBibkeyList): use ParagraphList iterators
11396         (resizeInsets): use for_each to resizeInsetsLyXText for all
11397         paragraphs.
11398         (getParFromID): use ParagraphList iterators
11399
11400         * BufferView2.C (lockInset): use paragraph list and iterators
11401
11402 2002-08-14  John Levon  <levon@movementarian.org>
11403
11404         * lyxserver.C: remove spurious xforms include
11405
11406 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11409
11410 2002-08-13  André Pönitz <poenitz@gmx.net>
11411
11412         * LyXAction.[Ch]:
11413         * lyxfunc.C: further cleaning
11414
11415 2002-08-13  André Pönitz <poenitz@gmx.net>
11416
11417         * funcrequest.h: new constructor
11418
11419         * funcrequest.C: move stuff here from .h
11420
11421         * Makefile.am:
11422         * BufferView_pimpl.C:
11423         * LyXAction.C:
11424         * toc.C:
11425         * lyxfunc.C: subsequent changes
11426
11427         * lyxfunc.h: new view() member function
11428
11429         * lyxfunc.C: subsequent changes
11430
11431 2002-08-13  Angus Leeming  <leeming@lyx.org>
11432
11433         * BufferView2.C:
11434         * BufferView_pimpl.C:
11435         * buffer.C:
11436         * converter.C:
11437         * importer.C:
11438         * lyxfunc.C:
11439         * lyxvc.C:
11440         * toc.C:
11441         * vc-backend.C:
11442         changes due to the changed LyXView interface that now returns references
11443         to member variables not pointers.
11444
11445 2002-08-13  Angus Leeming  <leeming@lyx.org>
11446
11447         * WordLangTuple (word, lang_code): return references to strings,
11448         not strings.
11449
11450         * BufferView.h:
11451         * SpellBase.h:
11452         * lyxtext.h: forward-declare WordLangTuple.
11453
11454         * BufferView2.C:
11455         * ispell.C:
11456         * pspell.C:
11457         * text.C: #include "WordLangTuple.h".
11458
11459         * lyxtext.h:
11460         * text.C: (selectNextWordToSpellcheck): constify return type.
11461
11462 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11463
11464         * buffer.C:
11465         * buffer.h:
11466         * lyxtext.h:
11467         * paragraph.C:
11468         * paragraph_pimpl.h:
11469         * text.C:
11470         * text2.C:
11471         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11472         suggested by Angus.
11473         Made updateCounter always count from start of buffer, and removed
11474         second argument (par).
11475         Reverted floats number display to '#'. Perhaps I'll try again when the
11476         code base is sanitized a bit.
11477
11478 2002-08-12  Angus Leeming  <leeming@lyx.org>
11479
11480         * buffer.[Ch] (getLabelList): constify.
11481
11482 2002-08-07  André Pönitz <poenitz@gmx.net>
11483
11484         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11485
11486         * funcrequest.h: extension to keep mouse (x,y) position
11487
11488 2002-08-12  Juergen Vigna  <jug@sad.it>
11489
11490         * BufferView2.C (insertErrors): forbid undo when inserting error
11491         insets.
11492
11493         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11494
11495 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11496
11497         * ParagraphList.[Ch]: new files
11498
11499         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11500
11501         * BufferView2.C (lockInset): ParagraphList changes
11502         * toc.C: ditto
11503         * text2.C: ditto
11504         * bufferlist.C: ditto
11505         * buffer.h: ditto
11506         * buffer.C: ditto
11507
11508 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11509
11510         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11511         unused class variable counter_,
11512
11513         * paragraph.[Ch] (getFirstCounter): delete unused function
11514
11515         * counters.C: include LAssert.h
11516         (reset): add a new function with no arg, change other version to
11517         not have def. arg and to not allow empty arg.
11518
11519         * text2.C (setCounter): remove empty arg from call to Counters::reset
11520
11521 2002-08-11  John Levon  <levon@movementarian.org>
11522
11523         * Makefile.am: add WordLangTuple.h
11524
11525 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11526
11527         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11528         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11529
11530         * insets/insettext.C: InsetList changes
11531
11532         * graphics/GraphicsSupport.C (operator()): InsetList changes
11533
11534         * toc.C (getTocList): InsetList changes
11535
11536         * paragraph_pimpl.[Ch]: InsetList changes
11537
11538         * paragraph.[Ch]: InsetList changes
11539
11540         * buffer.C (inset_iterator): InsetList changes
11541         (setParagraph): ditto
11542         * buffer.h (inset_iterator): ditto
11543         * iterators.C (operator++): ditto
11544         * iterators.h: ditto
11545
11546         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11547
11548         * InsetList.[Ch]: new files, most InsetList handling moved out of
11549         paragraph.C.
11550
11551         * BufferView2.C (removeAutoInsets): InsetList changes
11552         (lockInset): ditto
11553         (ChangeInsets): ditto
11554
11555 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11556
11557         * paragraph_pimpl.h (empty): new function
11558
11559         * paragraph.[Ch] (empty): new function
11560
11561         * other files: use the new Paragraph::empty function
11562
11563 2002-08-09  John Levon  <levon@movementarian.org>
11564
11565         * lyxtext.h: remove unused refresh_height
11566
11567 2002-08-09  John Levon  <levon@movementarian.org>
11568
11569         * Makefile.am:
11570         * sgml.h:
11571         * sgml.C:
11572         * buffer.C:
11573         * paragraph.h:
11574         * paragraph.C: move sgml char escaping out of paragraph
11575
11576         * paragraph.h:
11577         * paragraph.C: remove id setter
11578
11579         * buffer.C:
11580         * paragraph.C:
11581         * paragraph_pimpl.C: remove dead tex_code_break_column
11582
11583         * bufferview_funcs.C: small cleanup
11584
11585         * lyxfunc.C: remove dead proto
11586
11587         * lyxtext.h: make some stuff private. Remove some dead stuff.
11588
11589         * lyxgluelength.C: make as[LyX]String() readable
11590
11591 2002-08-08  John Levon  <levon@movementarian.org>
11592
11593         * LyXAction.h:
11594         * LyXAction.C:
11595         * MenuBackend.C:
11596         * ToolbarDefaults.C:
11597         * lyxfunc.C:
11598         * lyxrc.C:
11599         * toc.C: lyxaction cleanup
11600
11601 2002-08-08  John Levon  <levon@movementarian.org>
11602
11603         * BufferView2.C: small cleanup
11604
11605         * lyxfind.h:
11606         * lyxfind.C: move unnecessary header into the .C
11607
11608 2002-08-08  John Levon  <levon@movementarian.org>
11609
11610         * funcrequest.h: just tedious nonsense
11611
11612         * lyx_main.h:
11613         * lyx_main.C: cleanups
11614
11615         * buffer.C:
11616         * vspace.C: remove dead header lyx_main.h
11617
11618 2002-08-07  Angus Leeming  <leeming@lyx.org>
11619
11620         * Paragraph.[Ch]:
11621         * paragraph_pimpl.h:
11622         Forward declare class Counters in paragraph.h by moving the ctrs member
11623         variable into Paragraph::Pimpl.
11624         (counters): new method, returning a reference to pimpl_->ctrs.
11625
11626         * text2.C: ensuing changes.
11627
11628 2002-08-07  John Levon  <levon@movementarian.org>
11629
11630         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11631
11632         * BufferView_pimpl.C: announce X selection on double/triple
11633           click
11634
11635         * lyx_main.C: use correct bool in batch dispatch
11636
11637         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11638
11639 2002-08-07  André Pönitz <poenitz@gmx.net>
11640
11641         * funcrequest.h: new class to wrap a kb_action and its argument
11642
11643         * BufferView.[Ch]:
11644         * BufferView_pimpl[Ch]:
11645         * LaTeX.C:
11646         * LyXAction.[Ch]:
11647         * lyxfunc.[Ch]:
11648         * lyxrc.C: subsequent changes
11649
11650
11651 2002-08-07  John Levon  <levon@movementarian.org>
11652
11653         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11654           document options change.
11655
11656 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11657
11658         * counters.[Ch]
11659         * text2.C
11660         * paragraph.[Ch]
11661         * makefile.am: move counters functionality over from
11662         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11663
11664 2002-08-06  John Levon  <levon@movementarian.org>
11665
11666         * WordLangTuple.h: new file for word + language code tuple
11667
11668         * SpellBase.h:
11669         * pspell.h:
11670         * pspell.C:
11671         * ispell.h:
11672         * ispell.C:
11673         * lyxtext.h:
11674         * text.C:
11675         * text2.C:
11676         * BufferView.h:
11677         * BufferView2.C: use WordLangTuple
11678
11679         * layout.h:
11680         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11681
11682 2002-08-06  John Levon  <levon@movementarian.org>
11683
11684         * lyx_main.C: fix cmdline batch handling
11685
11686 2002-08-06  André Pönitz <poenitz@gmx.net>
11687
11688         * lyxrc.C: set default for show_banner to true
11689
11690 2002-08-06  John Levon  <levon@movementarian.org>
11691
11692         * pspell.C: fix a crash, and allow new aspell to work
11693
11694 2002-08-06  John Levon  <levon@movementarian.org>
11695
11696         * lyxfunc.C:
11697         * kbmap.C: small cleanup
11698
11699         * vspace.h:
11700         * vspace.C: add const
11701
11702 2002-08-05  John Levon  <levon@movementarian.org>
11703
11704         * LyXAction.C: back to tabular-insert
11705
11706 2002-08-04  John Levon  <levon@movementarian.org>
11707
11708         * BufferView.h:
11709         * BufferView.C: cosmetic change
11710
11711         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11712
11713         * bufferlist.C:
11714         * buffer.h:
11715         * buffer.C:
11716         * lyxcb.h:
11717         * lyxcb.C:
11718         * lyxserver.C:
11719         * lyxvc.C:
11720         * vc-backend.C:
11721         * BufferView2.C: purge all "Lyx" not "LyX" strings
11722
11723         * lyxcursor.h:
11724         * lyxcursor.C: attempt to add some documentation
11725
11726         * lyxfunc.C:
11727         * commandtags.h:
11728         * LyXAction.C:
11729         * ToolbarDefaults.C:
11730         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11731           merge with LFUN_TABULAR_INSERT
11732
11733         * Makefile.am:
11734         * SpellBase.h:
11735         * ispell.h:
11736         * ispell.C:
11737         * pspell.h:
11738         * pspell.C: split up i/pspell implementations into separate
11739           files, many cleanups
11740
11741         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11742
11743         * text2.C: some cleanup
11744
11745         * lyxfunc.C: don't check for isp_command == "none" any more, it
11746           didn't make any sense
11747
11748 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11749
11750         * counters.[Ch]
11751         * text2.C
11752         * paragraph.[Ch]
11753         * makefile.am: move counters functionality over
11754         from text2.C/paragraph.[Ch] to counters.[Ch], and
11755         make proper C++.
11756 2002-08-02  John Levon  <levon@movementarian.org>
11757
11758         * buffer.C: s/lyxconvert/lyx2lyx/
11759
11760 2002-08-02  Angus Leeming  <leeming@lyx.org>
11761
11762         * lyxlex.C: revert John's change as it breaks reading of the user
11763         preamble.
11764
11765 2002-08-02  Angus Leeming  <leeming@lyx.org>
11766
11767         * importer.C (Import):
11768         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11769         changes due to LyXView::view() now returning a boost::shared_ptr.
11770
11771 2002-08-02  John Levon  <levon@movementarian.org>
11772
11773         * lyxlex.C: small cleanup
11774
11775 2002-08-02  John Levon  <levon@movementarian.org>
11776
11777         * text2.C (status): small cleanup, no logic change
11778
11779 2002-08-01  John Levon  <levon@movementarian.org>
11780
11781         * buffer.h:
11782         * buffer.C (writeFile): don't output alerts, caller
11783           handles this
11784
11785         * bufferlist.C:
11786         * lyx_cb.C: from above
11787
11788         * lyxfunc.C: allow to open non-existent files
11789
11790 2002-07-31  John Levon  <levon@movementarian.org>
11791
11792         * lyxserver.C: don't let incidental errors get
11793           in the way (errno)
11794
11795 2002-07-30  John Levon  <levon@movementarian.org>
11796
11797         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11798
11799 2002-07-30  John Levon  <levon@movementarian.org>
11800
11801         * lyxserver.h:
11802         * lyxserver.C: remove I/O callback too
11803
11804 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11807         log.
11808
11809 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11810
11811         * many files: strip,frontStrip -> trim,ltrim,rtrim
11812
11813 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11814
11815         * PrinterParams.h: remove extern containsOnly, and include
11816         support/lstrings.h instead.
11817
11818         * LaTeX.C (scanAuxFile): modify because of strip changes
11819         (deplog): ditto
11820         * buffer.C (makeLaTeXFile): ditto
11821         * bufferparams.C (writeFile): ditt
11822         * lyxfont.C (stateText): ditto
11823         * lyxserver.C (read_ready): ditto
11824         * vc-backend.C (scanMaster): ditto
11825
11826         * BufferView_pimpl.h: ws changes
11827
11828         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11829
11830 2002-07-26  André Pönitz <poenitz@gmx.net>
11831
11832         * kb_sequence.C: remove unnedred usings
11833
11834 2002-07-26  Juergen Vigna  <jug@sad.it>
11835
11836         * lyxfind.C (LyXReplace): we have to check better if the returned
11837         text is not of theLockingInset()->getLockingInset().
11838
11839 2002-07-25  Juergen Vigna  <jug@sad.it>
11840
11841         * lyxfind.C (LyXReplace): don't replace if we don't get the
11842         right LyXText.
11843
11844         * undo_funcs.C (createUndo): remove debugging code.
11845
11846 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11847
11848         * buffer.C (parseSingleLyXformat2Token): Use default placement
11849         when reading old floats.
11850
11851         * FloatList.C (FloatList): Change the default placement of figure
11852         and tables to "tbp".
11853
11854 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * MenuBackend.C: using std::max
11857
11858 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11859
11860         * MenuBackend.C (expandToc):
11861         (expandToc2): code moved from xforms menu frontend. It is now
11862         generic and TOCs are transparent to menu frontends.
11863
11864 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * toc.C (getTocList): protect against buf=0
11867
11868         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11869         Menu as first parameter. Now, this calls itself recursively to
11870         expand a whole tree (this will be useful for TOC handling)
11871         (expandFloatInsert): remove 'wide' version of floats
11872
11873         * MenuBackend.h (submenuname): returns the name of the submenu.
11874         (submenu): returns the submenu itself, provided it has been
11875         created by MenuBackend::expand
11876
11877 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11880         insets which have noFontChange == true. (bug #172)
11881
11882 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * BufferView_pimpl.C: add connection objects and use them...
11885         (Pimpl): here.
11886
11887 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * MenuBackend.C (expandLastfiles):
11890         (expandDocuments):
11891         (expandFormats):
11892         (expandFloatListInsert):
11893         (expandFloatInsert):
11894         (expand): split expand in parts
11895
11896 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * lyx_gui.C: use lyx_gui::exit()
11899
11900 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * LyXAction.C: show the failing pseudo action
11903
11904 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11905
11906         * buffer.C (readFile): Run the lyxconvert script in order to read
11907         old files.
11908
11909 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * LyXAction.C:
11912         * commandtags.h:
11913         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11914
11915 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * LyXAction.C:
11918         * commandtags.h:
11919         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11920
11921 2002-07-22  Herbert Voss  <voss@lyx.org>
11922
11923         * lengthcommon.C:
11924         * lyxlength.[Ch]: add support for the vertical lengths
11925
11926 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * toc.[Ch]: std:: fixes
11929
11930 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * lyxrc.C: do not include lyx_main.h
11933
11934         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11935         for layouts
11936
11937         * lyxrc.C:
11938         * encoding.C:
11939         * bufferlist.C:
11940         * BufferView2.C: include "lyxlex.h"
11941
11942         * tabular.h:
11943         * bufferparams.h: do not #include "lyxlex.h"
11944
11945         * lyxtextclasslist.C (Add): remove method
11946         (classlist): renamed to classlist_
11947
11948         * paragraph_pimpl.C:
11949         * paragraph.C:
11950         * text2.C:
11951         * CutAndPaste.C:
11952         * bufferview_funcs.C:
11953         * bufferlist.C:
11954         * text.C:
11955         * LaTeXFeatures.C:
11956         * buffer.C:
11957         * toc.C (getTocList): use BufferParams::getLyXTextClass
11958
11959         * toc.C (getTocList): use InsetFloat::addToToc
11960
11961         * toc.[Ch]: new files, containing helper functions to handle table
11962         of contents
11963
11964         * lyxfunc.C (dispatch): no need to remove spaces around command
11965         given as a string
11966         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11967         first command of the sequence; it is not very clever, but I do not
11968         have a better idea, actually
11969
11970         * LyXAction.C (LookupFunc): make sure to remove space at the
11971         beginning and end of the command
11972
11973 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * MenuBackend.C (getMenubar): new method: return the menubar of
11976         this menu set
11977         (read): treat differently reading of menu and menubar (in
11978         particular, the menubar has no name now)
11979         (Menu::menubar): remove
11980
11981         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11982         saving is finished
11983
11984 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11985
11986         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11987         a bibitem inset in a RTL paragraph.
11988
11989 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * paragraph_pimpl.C: constify
11992
11993         * BufferView_pimpl.C:
11994         * LaTeX.C:
11995         * lyxfunc.C: fix dispatch in a nicer way
11996
11997 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11998
11999         * lyxfunc.C (dispatch):
12000         * BufferView_pimpl.C:
12001         * BufferView_pimpl.h:
12002         * BufferView.C:
12003         * BufferView.h: rename Dispatch() to dispatch()
12004
12005         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12006
12007         * lyxlayout.C (Read): honor DependsOn tag
12008
12009         * lyxlayout.[Ch] (depends_on): new method
12010
12011         * version.C.in: update lyx_docversion
12012
12013         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12014
12015         * paragraph.C (validate): remove from here...
12016         * paragraph_pimpl.C (validate): ... and move here
12017         (isTextAt): make it const
12018
12019         * buffer.C (getLists): ws cleanup
12020
12021 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12022
12023         * language.C (read): Use iso8859-1 encoding in latex_lang
12024         (this prevents LyX from crashing when using iso10646-1 encoding).
12025
12026 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * text2.C (toggleInset): if cursor is inside an inset, close the
12029         inset and leave cursor _after_ it
12030
12031 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * lyxfunc.C: move minibuffer completion handling out of here
12034
12035 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView_pimpl.C:
12038         * LaTeX.C: fix dispatch calls
12039
12040 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12041
12042         * text.C (drawChars): Fix Arabic text rendering.
12043
12044 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * LyXAction.C:
12047         * commandtags.h:
12048         * lyxfunc.C: remove message-push/pop
12049
12050         * lyxserver.C:
12051         * lyxfunc.h:
12052         * lyxfunc.C: rationalise some code by removing verboseDispatch
12053           in favour of a bool argument to dispatch()
12054
12055 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12056
12057         * lyx_main.C (init): make sure to read symlinks as absolute paths
12058
12059 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * lyxfunc.h:
12062         * lyxfunc.C: no need for commandshortcut to be a member
12063
12064 2002-07-15  André Pönitz <poenitz@gmx.net>
12065
12066         * converter.C: add support for $$s (scripts from lib/scripts dir)
12067         * lyx_main.C: white space
12068
12069 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * bufferlist.C:
12072         * lyxrc.h:
12073         * lyxrc.C: remove second exit confirmation
12074
12075 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * BufferView.h:
12078         * BufferView.C:
12079         * BufferView2.C:
12080         * BufferView_pimpl.h:
12081         * BufferView_pimpl.C:
12082         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12083
12084 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12085
12086         * MenuBackend.C (expand): add numeric shortcuts to document menu
12087
12088         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12089
12090 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * lyxfont.C (setLyXFamily):
12093         (setLyXSeries):
12094         (setLyXShape):
12095         (setLyXSize):
12096         (setLyXMisc):
12097         (lyxRead):
12098         * debug.C (value):
12099         * buffer.C (asciiParagraph): use ascii_lowercase
12100
12101 2002-07-15  Mike Fabian  <mfabian@suse.de>
12102
12103         * lyxlex_pimpl.C (search_kw):
12104         * lyxlex.C (getLongString):
12105         * converter.h (operator<):
12106         * converter.C (operator<):
12107         * buffer.C (parseSingleLyXformat2Token):
12108         (asciiParagraph):
12109         * ToolbarDefaults.C (read):
12110         * MenuBackend.C (checkShortcuts):
12111         (read):
12112         * LColor.C (getFromGUIName):
12113         (getFromLyXName): use the compare_ascii_no_case instead of
12114         compare_no_case, because in turkish, 'i' is not the lowercase
12115         version of 'I', and thus turkish locale breaks parsing of tags.
12116
12117 2002-07-16  Angus Leeming  <leeming@lyx.org>
12118
12119         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12120         now takes a Buffer const & argument.
12121
12122 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * BufferView.C (resize): check there's a buffer to resize
12125
12126 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * lyxfunc.C: remove dead code
12129
12130         * lyxserver.h:
12131         * lyxserver.C: use lyx_guii::set_read_callback
12132
12133 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12136         an inset in a RTL paragraph.
12137
12138 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * lyxfunc.C: repaint after a font size update
12141
12142 2002-07-15  André Pönitz <poenitz@gmx.net>
12143
12144         * lyxlength.C: inBP should be able to return negative values
12145
12146 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * lyxfunc.C: use lyx_gui::update_fonts()
12149
12150 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * lyxfunc.C: use lyx_gui::update_color()
12153
12154 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * bufferlist.C:
12157         * lyxfunc.h:
12158         * lyxfunc.C:
12159         * lyxrc.h:
12160         * lyxrc.C: remove file->new asks for name option, and let
12161           buffer-new take an argument
12162
12163 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * BufferView_pimpl.C: remove unneeded extra repaint()
12166
12167 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * LyXAction.C: allow command-sequence with NoBuffer
12170
12171         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12172
12173 2002-07-10  Angus Leeming  <leeming@lyx.org>
12174
12175         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12176
12177 2002-07-09  Angus Leeming  <leeming@lyx.org>
12178
12179         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12180
12181 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * lengthcommon.h: whitespace
12184
12185         * lyxfunc.C: update scrollbar after goto paragraph
12186
12187         * lyxtext.h: factor out page break drawing, and fix it so
12188           page break/added space paints as selected nicely
12189
12190 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * BufferView_pimpl.C: add FIXMEs, clean up a little
12193
12194 2002-07-09  André Pönitz <poenitz@gmx.net>
12195
12196         * lyxfont.[Ch]: support for wasy symbols
12197
12198 2002-07-08  André Pönitz <poenitz@gmx.net>
12199
12200         * BufferView_pimpl.C: apply John's patch for #93.
12201
12202 2002-07-05  Angus Leeming  <leeming@lyx.org>
12203
12204         * BufferView_pimpl.C (buffer): generate previews if desired.
12205
12206         * LColor.h: add "preview" to the color enum.
12207
12208         * LColor.C (LColor): add a corresponding entry to the items array.
12209
12210         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12211         with this buffer.
12212
12213 2002-07-05  Angus Leeming  <leeming@lyx.org>
12214
12215         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12216         The body of the code is now in the method that is passed an ostream &
12217         rather than a file name.
12218         Pass an additional only_preamble parameter, useful for the forthcoming
12219         preview stuff.
12220
12221 2002-07-03  André Pönitz <poenitz@gmx.net>
12222
12223         * lyxfunc.C: simplify getStatus() a bit for math stuff
12224
12225 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12228
12229 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12230
12231         * text.C (changeRegionCase): do not change case of all the
12232         document when region ends at paragraph end (bug #461)
12233
12234 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * paragraph.C (startTeXParParams):
12237         (endTeXParParams): add \protect when necessary
12238
12239 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12240
12241         * BufferView_pimpl.C (workAreaExpose): remove warning
12242
12243 2002-06-27  Angus Leeming  <leeming@lyx.org>
12244
12245         * Makefile.am: add lyxlayout_ptr_fwd.h.
12246
12247 2002-06-26  André Pönitz <poenitz@gmx.net>
12248
12249         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12250
12251 2002-06-25  Angus Leeming  <leeming@lyx.org>
12252
12253         * lyxfunc.C (dispatch): Comment out the call to
12254         grfx::GCache::changeDisplay. The method no longer exists now that the
12255         pixmap generation part of the graphics loader has been moved into
12256         InsetGraphics.
12257
12258 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * text2.C: layout as layout
12261
12262         * text.C: layout as layout
12263
12264         * tabular.C (OldFormatRead): layout as layout
12265
12266         * paragraph_pimpl.C (TeXDeeper): layout as layout
12267         (realizeFont): layout as layout
12268
12269         * paragraph.C (writeFile): layout as layout
12270         (validate): layout as layout
12271         (getFont): layout as layout
12272         (getLabelFont): layout as layout
12273         (getLayoutFont): layout as layout
12274         (breakParagraph): layout as layout
12275         (stripLeadingSpaces): layout as layout
12276         (getEndLabel): layout as layout
12277         (getMaxDepthAfter): layout as layout
12278         (applyLayout): layout as layout
12279         (TeXOnePar): layout as layout
12280         (simpleTeXOnePar): layout as layout
12281         (TeXEnvironment): layout as layout
12282         (layout): layout as layout
12283         (layout): layout as layout
12284
12285         * lyxtextclass.C (compare_name): new functor to work with
12286         shared_ptr, layout as layout
12287         (Read): layout as layout
12288         (hasLayout): layout as layout
12289         (operator): layout as layout
12290         (delete_layout): layout as layout
12291         (defaultLayout): layout as layout
12292
12293         * lyxlayout_ptr_fwd.h: new file
12294
12295         * lyxlayout.C (Read): layout as layout
12296
12297         * lyx_cb.C (MenuInsertLabel): layout as layout
12298
12299         * bufferlist.C (newFile): layout as layout
12300
12301         * buffer.C (readLyXformat2): layout as layout
12302         (parseSingleLyXformat2Token): layout as layout
12303         (insertStringAsLines): layout as layout
12304         (asciiParagraph): layout as layout
12305         (latexParagraphs): layout as layout
12306         (makeLinuxDocFile): layout as layout
12307         (simpleLinuxDocOnePar): layout as layout
12308         (makeDocBookFile): layout as layout
12309         (simpleDocBookOnePar): layout as layout
12310         (getLists): layout as layout
12311
12312         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12313
12314         * CutAndPaste.C (cutSelection): layout as layout
12315         (pasteSelection): layout as layout
12316         (SwitchLayoutsBetweenClasses): layout as layout
12317
12318         * BufferView_pimpl.C (Dispatch): layout as layout
12319         (smartQuote): layout as layout
12320
12321         * BufferView2.C (unlockInset): layout as layout
12322
12323 2002-06-24  André Pönitz <poenitz@gmx.net>
12324
12325         * lyxfunc.C: fix #487
12326
12327 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * lyxrc.h:
12330         * lyxrc.C:
12331         * lyxfunc.C: remove display_shortcuts, show_banner
12332
12333 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * Buffer_pimpl.C: oops, update on resize
12336
12337 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * buffer.C:
12340         * converter.C:
12341         * exporter.C:
12342         * lyxfunc.C:
12343         * BufferView.h:
12344         * BufferView.C: use repaint()
12345
12346         * BufferView_pimpl.h:
12347         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12348           as it's a clearer description. Remove superfluous
12349           redraws.
12350
12351 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12352
12353         * text.C: fix bug 488. Not ideal, but getting
12354           getWord() to work properly for the insets that
12355           matter is more difficult ...
12356
12357 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12358
12359         * BufferView_pimpl.C:
12360         * LyXAction.C:
12361         * commandtags.h:
12362         * lyxfunc.C: remove the six million index lyxfuncs to just
12363           one, and DTRT (bug 458)
12364
12365 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * BufferView.h:
12368         * BufferView.C:
12369         * BufferView_pimpl.h:
12370         * BufferView_pimpl.C: clean up resize() stuff,
12371           and unnecessary updateScreen()s
12372
12373 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * BufferView.h:
12376         * BufferView.C:
12377         * BufferView_pimpl.h:
12378         * BufferView_pimpl.C:
12379         * lyxfind.h:
12380         * lyxfind.C:
12381         * minibuffer.C: remove focus management of workarea,
12382           not needed. Use screen's greyOut()
12383
12384 2002-06-17  Herbert Voss  <voss@lyx.org>
12385
12386         * converter.C: (convert) do not post a message, when converting
12387         fails, let the calling function decide what to do in this case
12388
12389 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * lyxfunc.C: tidy up a little
12392
12393 2002-06-16    <alstrup@diku.dk>
12394
12395         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12396         Got rid of FORMS_H_LOCATION include. Now we are
12397         GUII.
12398
12399 2002-06-15  LyX Development team  <lyx@rilke>
12400
12401         * buffer.[Ch] (sgmlOpenTag):
12402         (sgmlCloseTag): Added support for avoiding pernicious mixed
12403         content. Return number of lines written.
12404
12405         (makeLinuxDocFile):
12406         (makeDocBookFile): Fixed calls to sgml*Tag.
12407         Simple white space clean.
12408
12409         (simpleDocBookOnePar): Simple white space clean.
12410
12411         * tabular.[Ch] (docBook): Renamed to docbook and got another
12412         argument to related with the pernicious mixed content.
12413
12414         (docbookRow): Fixed calls for docbook inset method.
12415
12416 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12417
12418         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12419         so it's X11 independent.
12420
12421         * kb*.[Ch]: ditto.
12422
12423         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12424
12425 2002-06-15  Lyx Development team  <lyx@electronia>
12426
12427         * intl.h: Renamed getTrans to getTransManager.
12428
12429 2002-06-14  Angus Leeming  <leeming@lyx.org>
12430
12431         * Makefile.am: nuke forgotten stl_string_fwd.h.
12432
12433 2002-06-12  Angus Leeming  <leeming@lyx.org>
12434
12435         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12436
12437 2002-06-13  Angus Leeming  <leeming@lyx.org>
12438
12439         * LaTeX.C:
12440         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12441
12442 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12443
12444         * kbmap.C (getiso): add support for cyrillic and greek
12445
12446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * BufferView.h:
12449         * BufferView.C:
12450         * BufferView_pimpl.h:
12451         * BufferView_pimpl.C: move bogus scrolling logic
12452           to xforms
12453
12454 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * lyxfunc.C:
12457         * BufferView_pimpl.C: view->resize() change
12458
12459 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12460
12461         * BufferView_pimpl.C: topCursorVisible
12462           prototype change
12463
12464 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * Makefile.am:
12467         * lyx_gui.h:
12468         * lyx_gui.C: move to frontends/
12469
12470         * main.C:
12471         * lyx_main.h:
12472         * lyx_main.C: changes from above
12473
12474 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * intl.C:
12477         * intl.h:
12478         * kbmap.C:
12479         * kbsequence.C:
12480         * lyx_cb.C:
12481         * lyx_main.C: minor tidy
12482
12483 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * BufferView_pimpl.h:
12486         * BufferView_pimpl.C:
12487         * BufferView.h:
12488         * BufferView.C: make painter() const,
12489           remove dead code
12490
12491         * BufferView2.C: use screen() accessor
12492
12493         * lyx_main.h:
12494         * lyx_main.C: some minor cleanup
12495
12496 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * BufferView_pimpl.h:
12499         * BufferView_pimpl.C: remove enter/leaveView,
12500           use workHeight()
12501
12502 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * BufferView.h:
12505         * BufferView.C:
12506         * BufferView2.C:
12507         * BufferView_pimpl.h:
12508         * BufferView_pimpl.C: only construct screen once,
12509           rename
12510
12511         * lyxrc.C: remove pointless comment
12512
12513 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * BufferView.h:
12516         * BufferView.C: remove active() and belowMouse()
12517
12518         * BufferView_pimpl.h:
12519         * BufferView_pimpl.C: use workarea() not workarea_,
12520           and make it use a scoped_ptr instead
12521
12522 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * lyx_gui.C: add debug message on BadWindow
12525
12526 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * sp_spell.C: fdopen is not part of the C++ standard.
12529
12530         * paragraph.C (InsetIterator): use >= instead of ==
12531
12532 2002-06-07  Angus Leeming  <leeming@lyx.org>
12533
12534         Fixes needed to compile with Compaq cxx 6.5.
12535         * BufferView_pimpl.C:
12536         * DepTable.C:
12537         * buffer.C:
12538         * converter.C:
12539         * encoding.C:
12540         * lyx_gui.C:
12541         * lyx_main.C:
12542         * lyxtextclasslist.C:
12543         * minibuffer.C:
12544         * sp_spell.C:
12545         * tabular_funcs.C:
12546         * vc-backend.C:
12547         all c-library variables have been moved into namespace std. Wrap
12548         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12549
12550         * lyxlength.C:
12551         * tabular-old.C:
12552         * tabular.C:
12553         Add a using std::abs declaration.
12554
12555         * kbmap.h (modifier_pair):
12556         * paragraph.h (InsetTable, InsetList):
12557         * lyxfont.h (FontBits):
12558         type definition made public.
12559
12560         * bufferlist.C (emergencyWriteAll): the compiler complains that
12561         there is more than one possible lyx::class_fun template to choose from.
12562         I re-named the void specialisation as lyx::void_class_fun.
12563
12564         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12565
12566         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12567         the compiler is is unable to find tostr in write_attribute.
12568
12569 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12570
12571         * buffer.C (sgmlError): hide #warning
12572
12573 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * xtl/*: get rid of xtl, which is not in use anyway
12576
12577         * LyXAction.C (init):
12578         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12579         were unimplemented xtl experimentation
12580
12581 2002-06-04  André Pönitz <poenitz@gmx.net>
12582
12583         * lyxfunc.C: disable array operation on simple formulae
12584
12585 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * converter.C: constify a bit
12588
12589 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * lyx_gui.C: check xforms version correctly
12592
12593 2002-04-30  Herbert Voss  <voss@lyx.org>
12594
12595         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12596         "keep" option
12597
12598 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12601           attempt to register it with a VCS)
12602
12603 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12604
12605         * lyx_main.C (init): honor variables LYX_DIR_13x and
12606         LYX_USERDIR_13x
12607
12608 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * buffer.h:
12611         * buffer.C:
12612         * lyx_main.C: fix a crash on bad command line,
12613           and give a useful exit status on error
12614
12615         * lyxfunc.C (doImport): allow -i lyx to work
12616
12617 2002-03-30  André Pönitz <poenitz@gmx.net>
12618
12619         * lyxfunc.C: mathed font changes
12620
12621 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * LaTeX.C:
12624         * importer.h:
12625         * importer.C:
12626         * lyx_sty.h:
12627         * lyx_sty.C:
12628         * lyxlex.C:
12629         * lyxrow.h:
12630         * lyxtext.h:
12631         * paragraph.h:
12632         * paragraph.C:
12633         * texrow.h:
12634         * texrow.C:
12635         * text.C:
12636         * trans_mgr.h: srcdocs, and some minor cleanups
12637
12638 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12639
12640         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12641         call getFont all the time)
12642
12643 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * switch from SigC signals to boost::signals
12646
12647 2002-05-29  André Pönitz <poenitz@gmx.net>
12648
12649         * paragraph_pimpl.C (getChar): don't call size() too often...
12650
12651 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12652
12653         * paragraph_pimpl.C (insertChar): do not try to update tables when
12654         appending (pos == size())
12655
12656         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12657         in order to reduce drastically the number of comparisons needed to
12658         parse a large document
12659
12660 2002-05-29  André Pönitz <poenitz@gmx.net>
12661
12662         * text.C:
12663         * text2.C:
12664         * lyxtextclass.C:
12665         * sp_pspell.h:
12666         * textclasslist.[Ch]:
12667         * sp_ispell.h: whitespace change
12668
12669 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12672         lyxaction directly now.
12673
12674 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * trans.C:
12677         * lyxfont.C:
12678         * lyxvc.C: remove unused headers
12679
12680 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * Makefile.am:
12683         * buffer.h:
12684         * undostack.h:
12685         * undostack.C:
12686         * undo_funcs.h:
12687         * undo_funcs.C: some cleanups. Use shared_ptr
12688           and a template for the undo stacks.
12689
12690 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * BufferView_pimpl.h:
12693         * BufferView_pimpl.C:
12694         * kbmap.h:
12695         * kbmap.C:
12696         * kbsequence.h:
12697         * kbsequence.C:
12698         * lyxfunc.h:
12699         * lyxfunc.C:
12700         * text2.C: use key_state/mouse_state
12701
12702 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12705         and LSubstring
12706
12707         * chset.C: change include order
12708         (loadFile): use boost regex and get rid of LRegex and LSubstring
12709
12710         * Makefile.am (BOOST_LIBS): new variable
12711         (lyx_LDADD): use it
12712
12713         * LaTeX.C: change include order.
12714         (scanAuxFile): use boost regex and get rid of LRegex and
12715         LSubstring
12716         (deplog): ditto
12717
12718 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * ColorHandler.h:
12721         * ColorHandler.C:
12722         * FontInfo.h:
12723         * FontInfo.C: moved to frontends/xforms/
12724
12725         * FontLoader.h:
12726         * FontLoader.C: moved into frontends for GUIIzation
12727
12728         * Makefile.am:
12729         * lyx_gui.C:
12730         * lyxfont.C:
12731         * lyxfunc.C: changes from above
12732
12733 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * LColor.C: remove spurious X include
12736
12737         * BufferView_pimpl.C:
12738         * Makefile.am:
12739         * font.h:
12740         * font.C:
12741         * text.C:
12742         * text2.C: move font metrics to frontends/
12743
12744 2002-05-24  Juergen Vigna  <jug@sad.it>
12745
12746         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12747         setting the undo_cursor.
12748
12749         * ParagraphParameters.h: include local includes first.
12750
12751 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12752
12753         * BufferView_pimpl.C:
12754         * BufferView_pimpl.h:
12755         * Makefile.am:
12756         * WorkArea.h:
12757         * WorkArea.C:
12758         * screen.C: move WorkArea into frontends/
12759
12760         * lyxscreen.h:
12761         * screen.C:
12762         * text.C:
12763         * BufferView.C:
12764         * BufferView2.C: move LyXScreen into frontends/
12765
12766         * lyxlookup.h:
12767         * lyxlookup.C:
12768         * lyx_gui.C: move lyxlookup into frontends/xforms/
12769
12770 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * BufferView2.C:
12773         * BufferView_pimpl.C:
12774         * FontLoader.C:
12775         * LyXView.h:
12776         * LyXView.C:
12777         * Makefile.am:
12778         * WorkArea.C:
12779         * XFormsView.h:
12780         * XFormsView.C:
12781         * buffer.C:
12782         * bufferlist.C:
12783         * bufferview_funcs.C:
12784         * converter.C:
12785         * importer.C:
12786         * lyx_cb.C:
12787         * lyx_gui.C:
12788         * lyx_main.C:
12789         * lyx_find.C:
12790         * lyxfunc.C:
12791         * lyxvc.C:
12792         * minibuffer.C:
12793         * text.C:
12794         * text2.C:
12795         * trans.C:
12796         * vc-backend.C: move LyX/XFormsView into frontends/
12797
12798 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * Makefile.am:
12801         * PainterBase.C:
12802         * PainterBase.h:
12803         * Painter.C:
12804         * Painter.h:
12805         * WorkArea.C:
12806         * WorkArea.h:
12807         * screen.C:
12808         * tabular.C:
12809         * text.C:
12810         * text2.C: move Painter to frontends/
12811
12812 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * buffer.C: comment out some some code that depend upon lyx_format
12815         < 220
12816
12817         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12818         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12819
12820         * buffer.h (NO_COMPABILITY): turn off compability
12821
12822         * ColorHandler.C: include scoped_array.hpp
12823
12824         * font.C: Use more specific smart_ptr header.
12825         * Painter.C: ditto
12826         * gettext.C: ditto
12827         * ShareContainer.h: ditto
12828         * lyx_main.h: ditto
12829         * kbmap.h: ditto
12830         * FontInfo.h: ditto
12831         * BufferView_pimpl.h: ditto
12832         * ColorHandler.h: ditto
12833
12834         * kbmap.C (defkey): change call to shared_ptr::reset
12835
12836 2002-05-21  Juergen Vigna  <jug@sad.it>
12837
12838         * buffer.C (insertErtContents): fix to insert ert asis if it is
12839         non empty. Skip it completely if it contains only whitespaces.
12840
12841 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12842
12843         * BufferView_pimpl.C:
12844         * BufferView2.C: clear selection on paste (bug 393)
12845
12846 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * DepTable.C: include ctime
12849
12850 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12851
12852         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12853
12854 2002-05-14  Juergen Vigna  <jug@sad.it>
12855
12856         * text.C (breakParagraph): fixed function to honor the keepempty
12857         layout in the right maner and also to permit the right breaking
12858         algorithm on empty or non empyt keepempty paragraphs.
12859
12860         * paragraph.C (breakParagraph): we have to check also if the par
12861         is really empty (!size()) for isempty otherwise we do the wrong
12862         paragraph break.
12863
12864 2002-05-10  Juergen Vigna  <jug@sad.it>
12865
12866         * buffer.[Ch] : The following are only changes to the ert
12867         compatibility read reading old LaTeX layout and font stuff and
12868         convert it to ERTInsets.
12869
12870         * buffer.h: added isErtInset().
12871
12872         * buffer.C (struct ErtComp): add a fromlayout bool to check
12873         if we're inside a LaTeX layout.
12874         (isErtInset): new helper function.
12875         (insertErtContents): look for other ert insets before this one
12876         and insert the contents there, so that we don't have subsequent
12877         ERT insets with nothing between them. This way we create only one
12878         inset with multiple paragraphs. Also check if we don't insert only
12879         spaces ' ' as they are ignored anyway afterwards in the .tex file
12880         so if we have only spaces we will ignore this latex part in the
12881         new file.
12882         (parseSingleLyXformat2Token \\layout): better compatibility when
12883         reading layout-latex stuff.
12884         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12885         language tag.
12886         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12887         stuff after reading the inset only get the information back from
12888         the stack.
12889
12890 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12891
12892         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12893
12894         * LaTeXFeatures.C (getBabelOptions): New method.
12895
12896 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * BufferView_pimpl.C (Dispatch): work around missing argument for
12899         'layout'
12900
12901 2002-05-08  Juergen Vigna  <jug@sad.it>
12902
12903         * text.C (leftMargin): handle paragraph leftindent.
12904
12905         * paragraph.C (writeFile): write the new \\leftindent tag.
12906         (validate): handle leftindent code.
12907         (TeXEnvironment): handle paragraphleftindent code again.
12908
12909         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12910
12911         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12912         for paragrap_extra indent code and new token \\leftindent.
12913         (latexParagraphs): handle the leftindent as environment.
12914
12915         * ParameterStruct.h: added leftindent support.
12916
12917         * ParagraphParameters.C (leftIndent): added support functions for
12918         the paragraph left indent.
12919
12920         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12921         more appropriate.
12922
12923 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12924
12925         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12926         inside insetERT.
12927
12928         * text.C (computeBidiTables): No bidi in insetERT.
12929
12930         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12931         in RTL documents.
12932
12933 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * version.C.in: pre 5
12936
12937 2002-05-02  José Matos  <jamatos@fep.up.pt>
12938         * buffer.C (makeDocBookFile): white space changes, add newline to
12939         command styles.
12940         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12941
12942         * tabular.C (docBook): fix typo.
12943
12944 2002-05-03  Juergen Vigna  <jug@sad.it>
12945
12946         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12947         change in LyXText as we can not be sure it was not freed.
12948         (drawOneRow): remove unused code.
12949
12950         * text.C (drawInset): redo the calculation of the need_break_row as
12951         it could have a row which was already freed.
12952         (draw): look at the return value of drawInset and return false if
12953         it also returned false.
12954         (paintRowText): look at the return value of draw and return false if
12955         it also returned false.
12956
12957         * lyxtext.h: added bool return type to drawInset() and draw() so that
12958         if we have a change in the row so that the rowbreak has to be redone
12959         we abort drawing as it will be called again.
12960
12961 2002-05-02  Juergen Vigna  <jug@sad.it>
12962
12963         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12964         a change in the maintext also if we're inside an inset.
12965         (Dispatch): set the cursor again after a break line and after the
12966         screen has been updated as it could be we're in a different row.
12967
12968         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12969         to set the cursor behind the pargraph with > size().
12970         (setCursor): check also for the same paragraph when checking where
12971         to put the cursor if we have a NFR inset.
12972
12973         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12974         parts of layout read further up as it still was in the wrong
12975         position.
12976
12977 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * screen.C (drawFromTo): change sine fullRebreak always return
12980         true.
12981
12982         * buffer.C (parseSingleLyXformat2Token): reindent some
12983
12984         * BufferView_pimpl.C (update): change since fullRebreak always
12985         return true.
12986         (Dispatch): git rid of the last hardcoded "Standard"s.
12987
12988 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * text2.[Ch] (fullRebreak): make it return void now that we always
12991         returned true.
12992
12993 2002-04-30  Juergen Vigna  <jug@sad.it>
12994
12995         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12996         ert compatibility check for "latex" layout.
12997
12998 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13001         minipages: use col% instead of p%, and also use the current font.
13002         (makeLaTeXFile): Fix use babel condition.
13003         (parseSingleLyXformat2Token): Correct font when reading old floats.
13004
13005 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13006
13007         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13008         inserting list of floats.
13009
13010 2002-04-25  Herbert Voss  <voss@lyx.org>
13011
13012         * MenuBackend.C (expand): don't add the graphics extensions to the
13013         export menu
13014
13015 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13016
13017         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13018         non-existing layout, do not complain if it was the default layout
13019         of the original class (bug #342)
13020
13021 2002-04-24  Juergen Vigna  <jug@sad.it>
13022
13023         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13024         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13025
13026 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13027
13028         * buffer.C (getBibkeyList): If using \bibliography, return the
13029         option field with the reference itself. Enables us to provide natbib
13030         support when using \bibliography.
13031
13032 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13033
13034         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13035
13036         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13037         natbib is provided by the LaTeX class.
13038
13039 2002-04-23  Juergen Vigna  <jug@sad.it>
13040
13041         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13042         Wakeup functions.
13043
13044         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13045
13046 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13047
13048         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13049
13050         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13051         ensuremath around textordmasculine, textordfeminine and
13052         textdegree.
13053
13054 2002-04-19  Juergen Vigna  <jug@sad.it>
13055
13056         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13057         reinitializing the buffer otherwise row-dimensions may be wrong.
13058         (update): reset also the selection cursors if they do exits otherwise
13059         their x/y positions may be wrong.
13060
13061         * text2.C (cursorDown): don't enter the inset if we came from a row
13062         above and are one row over the inset.
13063
13064         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13065         really leaving an inset.
13066
13067 2002-04-18  Juergen Vigna  <jug@sad.it>
13068
13069         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13070         of the selected paragraph does not have the selected layout also if
13071         the last one had!
13072
13073         * text2.C (setLayout): fixed bug which did not change last selected
13074         paragraph.
13075
13076         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13077         changed the read and substituted \\end_float with \\end_inset!
13078
13079         * BufferView_pimpl.C (cursorPrevious):
13080         (cursorNext): fixed to make it work with rows heigher than the work
13081         area without moving the cursor only the draw of the row.
13082         (workAreaMotionNotify): fix jumping over high rows.
13083
13084 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13087         Ressler.
13088
13089 2002-04-16  Juergen Vigna  <jug@sad.it>
13090
13091         * text2.C (setCursor): set also the irow().
13092         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13093         (cursorUp):
13094         (cursorDown): support for locking an inset if the x_fix value goes
13095         inside it. That way I can transverse insets too with cursor up/down.
13096
13097         * lyxrow.h: added irow helper function same as other (i) functions.
13098
13099         * BufferView_pimpl.C (cursorPrevious):
13100         (cursorNext): fixed for insets!
13101
13102 2002-04-15  Juergen Vigna  <jug@sad.it>
13103
13104         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13105         position otherwise it is wrong in some cases.
13106
13107         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13108         inside the inset before the call.
13109
13110 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13111
13112         * buffer.[Ch] (getBibkeyList): make it const.
13113
13114 2002-04-12  Juergen Vigna  <jug@sad.it>
13115
13116         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13117
13118         * text2.C (getCursorX): new helper function
13119         (setCursor): compute also ix_
13120         (setCursorFromCoordinates): set also ix.
13121
13122         * lyxcursor.h: added ix_ and helper functions.
13123
13124         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13125
13126         * buffer.C (insertStringAsLines): dont break paragraph if the this
13127         paragraph is inside an inset which does not permit it!
13128
13129         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13130         also with no chars on this paragraph.
13131         (paintRowText): only paint stuff if it's inside the workarea!
13132
13133         * paragraph.C (breakParagraph): honor keepempty flag and break the
13134         paragraph always below not above.
13135
13136         * BufferView2.C (unlockInset): update the paragraph layout on inset
13137         unlock as we changed paragraph in such a case.
13138
13139         * lyxfind.C (LyXFind): clear the former selection if not found!
13140
13141         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13142         again called in insertChar().
13143
13144         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13145         an inset which uses the whole row!
13146         (rightMargin): ditto.
13147         (insertChar): force a rebreak if we inserted an inset!
13148
13149 2002-03-28  Herbert Voss  <voss@lyx.org>
13150
13151         * lyxlength.[Ch]: add inBP() to get the right PS-point
13152         units (BigPoint). With inPixels we have rounding errors
13153
13154 2002-04-11  Juergen Vigna  <jug@sad.it>
13155
13156         * text2.C (setCursorFromCoordinates): set iy to the right value.
13157         (setCursor): add check if row->previous exists!
13158
13159         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13160         an old float_type as this was the case in the old code!
13161
13162         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13163
13164         * BufferView2.C (showLockedInsetCursor): use iy
13165         (fitLockedInsetCursor): ditto
13166
13167         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13168         locked insets as there we have the right value now.
13169
13170         * lyxcursor.C: added iy_ variable and iy functions to set to the
13171         baseline of cursor-y of the locked inset.
13172
13173         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13174         (setCursor): fixed for insets which need a full row.
13175
13176         * text.C (rowLastPrintable): don't ignore the last space when before
13177         an inset which needs a full row.
13178         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13179         as last character of a row when before a inset which needs a full row.
13180
13181 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * version.C.in: update date
13184
13185         * text2.C (fullRebreak): try to always return true and see what
13186         happens...
13187
13188 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13189
13190         * MenuBackend.C (expand): use Floating::listName
13191
13192         * FloatList.C (FloatList): add listName argument to the built-in
13193         floats
13194
13195         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13196         text associated with the float.
13197
13198 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13199
13200         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13201
13202 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * ShareContainer.h: add a couple of missing typenames.
13205
13206 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13207
13208         * lyxrc.C (getDescription): use _() correctly rather than N_().
13209
13210 2002-03-28  Herbert Voss  <voss@lyx.org>
13211
13212         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13213         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13214
13215 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13216
13217         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13218         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13219
13220 2002-03-29  Juergen Vigna  <jug@sad.it>
13221
13222         * lyxfunc.C (dispatch): add a missing fitCursor call.
13223
13224         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13225         it was scrolled by a cursor move, so return the bool status.
13226
13227         * BufferView.C (fitCursor): return the bool flag also to the outside
13228         world as this is needed.
13229
13230         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13231
13232         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13233         call the edit() as it is not needed (and wrong) IMO.
13234         (workAreaButtonPress): set the screen_first variable before evt.
13235         unlock the inset as this may change screen_first and then we have
13236         a wrong y position for the click!
13237
13238 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * MenuBackend.C (expand): another translation that I missed
13241
13242 2002-03-28  Juergen Vigna  <jug@sad.it>
13243
13244         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13245
13246         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13247
13248 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13249
13250         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13251
13252         * MenuBackend.C (expand): fix export/view/update when there is no
13253         document open.
13254
13255 2002-03-27  Herbert Voss  <voss@lyx.org>
13256
13257         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13258         and text%
13259
13260 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13261
13262         * bufferview_funcs.C (currentState): only show paragraph number
13263         for is DEVEL_VERSION is set.
13264
13265         * lyxfunc.C (dispatch): put warning in INFO channel
13266
13267         * MenuBackend.C (expand): translate the name of floats
13268
13269         * FloatList.C (FloatList): mark the float names for translation
13270
13271         * converter.C (convert): use LibScriptSearch
13272
13273 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13274
13275         * MenuBackend.C (defaults): fix default menu (we might as well get
13276         rid of it...)
13277
13278 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13281         directory.
13282
13283 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * lyxvc.C: reorder includes.
13286
13287 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13288
13289         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13290           properly
13291
13292 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13293
13294         * CutAndPaste.C: change layouts earlier on paste
13295           to avoid crashing when calling getFont()
13296
13297 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13300         irritating #error.
13301
13302 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * WorkArea.C: remove 'Pending' debug message.
13305
13306         * most files: ws cleanup
13307
13308         * buffer.[Ch]: ws changes
13309
13310         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13311
13312 2002-03-21  Juergen Vigna  <jug@sad.it>
13313
13314         * tabular.C (SetMultiColumn): collapse also the contents of the
13315         cells and set the last border right. Added a Buffer const * param.
13316
13317 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13320         linking or not.
13321
13322 2002-03-19  Juergen Vigna  <jug@sad.it>
13323
13324         * text2.C (clearSelection): reset also xsel_cache.
13325
13326         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13327         where it needs to be called (John tells us to do so too :)
13328         (selectionLost): reset sel_cache.
13329
13330         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13331
13332 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * text2.C (setCursorIntern): put debuging code in INSETS channel
13335
13336 2002-03-19  André Pönitz <poenitz@gmx.net>
13337
13338         * lyxfunc.C: tiny whitespace change
13339
13340 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * ToolbarDefaults.C (init):
13343         * LyXAction.C (init):
13344         * commandtags.h:
13345         * BufferView_pimpl.C (Dispatch):
13346         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13347
13348 2002-03-19  Allan Rae  <rae@lyx.org>
13349
13350         * exporter.C (Export): removeAutoInsets before doing anything else.
13351         While I've just introduced a dependency on BufferView this really is
13352         the best place to clean the buffer otherwise you need to cleanup in
13353         a dozen places before calling export or cleanup in a dozen functions
13354         that export calls.
13355
13356         * converter.C (runLaTeX):
13357         (scanLog): Better handling of removeAutoInsets and screen updates.
13358
13359         * lyxfunc.C (dispatch): small whitespace changes
13360
13361 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * WorkArea.C (C_WorkAreaEvent): return a value.
13364         (event_cb): return 1 if we handled the event, 0 otherwise.
13365
13366         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13367
13368 2002-03-18  Juergen Vigna  <jug@sad.it>
13369
13370         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13371         (GetAdditionalWidth): ditto.
13372         (RightLine): ditto.
13373         (LeftLine): ditto.
13374
13375         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13376         inset if we're there actually (probably not used right now but this
13377         is the direction to go for unifying code).
13378         (paste): disable code to clear the selection.
13379
13380         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13381         inside an InsetText and move the check further up as it is in the
13382         wrong place.
13383
13384         * text2.C (pasteSelection): set a selection over the pasted text.
13385
13386 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13387
13388         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13389         and libgraphics to build on Cygwin.
13390
13391 2002-03-15  Juergen Vigna  <jug@sad.it>
13392
13393         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13394         inserting an Inset into the paragraph. I know this is not the best
13395         fix but we already use current_view in CutAndPaste so we will remove
13396         all of it's using at the same time.
13397
13398         * buffer.C (sgmlError): deactivated function till it is rewritten in
13399         the right mode, now it can create problems.
13400
13401         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13402         before accessing it.
13403
13404 2002-03-14  Juergen Vigna  <jug@sad.it>
13405
13406         * undo_funcs.C (textHandleUndo): do the right thing when updating
13407         the inset after the undo/redo.
13408
13409         * text2.C (setCursor): just some testcode for #44 not ready yet.
13410
13411         * undo_funcs.C (textHandleUndo): set the next() and previous()
13412         pointers of the paragraph to 0 before deleting otherwise we have
13413         problems with the Paragraph::[destructor].
13414
13415         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13416         on a paragraph insertion.
13417
13418 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * buffer.C (asciiParagraph): use += operator for char append to
13421         string.
13422
13423         * paragraph.C (getFontSettings): compare >= not just >
13424         (highestFontInRange): ditto
13425         (setFont): ditto
13426
13427 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * paragraph.C: change several algorithm to be more appripriate for
13430         the problem domain. This is lookip in FontList and in the InsetList.
13431
13432 2002-03-13  André Pönitz <poenitz@gmx.net>
13433
13434         * commandtags.h:
13435         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13436
13437 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * commandtags.h:
13440         * LyXAction.C:
13441         * lyxfunc.C:
13442         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13443
13444 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * Painter.C (display): anon helper function, adjust code for this
13447         change.
13448         (pixmap): remove function.
13449
13450         * Painter.h: remove private display variable.
13451
13452         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13453
13454 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * WorkArea.[Ch]: remove figinset_canvas cruft.
13457
13458 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * lyxtextclass.C (operator): add one item cache optimization.
13461
13462         * bufferlist.h: doxy changes
13463
13464         * bufferlist.C: ws changes
13465
13466         * DepTable.[Ch] (ext_exist): place const in the right spot.
13467
13468         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13469         call resizeInsets.
13470         (workAreaExpose): call resizeInsets when the with BufferView changes.
13471         (Dispatch): adjust for protectedBlank removal
13472         (specialChar): call updateInset if the insert went ok.
13473
13474         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13475         specialChar instead.
13476
13477         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13478
13479         * BufferView.h: doxy change
13480
13481         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13482
13483         * lyxtextclass.C (operator[]): remove non-const version
13484         (defaultLayout): remove non-const version
13485
13486 2002-03-12  Juergen Vigna  <jug@sad.it>
13487
13488         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13489         did resize the LyXText too.
13490
13491         * buffer.C (readLyXformat2): set layout information on newly allocated
13492         paragraphs.
13493
13494         * tabular.C (OldFormatRead): set layout information on the paragraph.
13495
13496 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13497
13498         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13499
13500 2002-03-11  Juergen Vigna  <jug@sad.it>
13501
13502         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13503         plainly wrong.
13504         (resizeCurrentBuffer): force also the insets to resize themselfes.
13505         (moveCursorUpdate): fixed up for InsetText.
13506
13507 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13508
13509         * commandtags.h:
13510         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13511         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13512         value of Dialogs::tooltipsEnabled().
13513         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13514
13515 2002-03-08  Juergen Vigna  <jug@sad.it>
13516
13517         * BufferView_pimpl.C (updateInset): update inset inside inset also
13518         if it isn't inside theLockingInset().
13519
13520 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * buffer.C (asciiParagraph): redo some of the word and line length
13523         handling.
13524         (getLists): look for Caption instead of caption.
13525
13526 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13527
13528         * buffer.C (Buffer): initialize niceFile to true
13529         (makeLaTeXFile):
13530         (makeLinuxDocFile):
13531         (makeDocBookFile): make sure niceFile is true on exit
13532
13533 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13536
13537 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * LyXSendto.C: remove.
13540         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13541         * lyx_gui.C: remove now-redundant comment.
13542         * ColorHandler.h: remove forward declaration of class WorkArea.
13543         * lyxfunc.C: remove #include "WorkArea.h".
13544
13545 2002-03-07  Juergen Vigna  <jug@sad.it>
13546
13547         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13548         got moved away with the DEPM and also set the inset_owner always
13549         right which before could have been omitted.
13550
13551 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13554         wanted layout is not found.
13555
13556 2002-03-07  Juergen Vigna  <jug@sad.it>
13557
13558         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13559
13560 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * paragraph.C (breakParagraph): use default layout not layout of
13563         prev paragraph.
13564         (Paragraph): clear ParagraphParameters.
13565
13566 2002-03-06  Juergen Vigna  <jug@sad.it>
13567
13568         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13569         otherwise it would not be a valid lenght. Fixed a special case in
13570         the minipage compatibility read where we end the document with a
13571         minipage.
13572
13573         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13574         was set as it could be 0 for InsetTexts first entry.
13575
13576 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * paragraph.C (writeFile): if layout is empty write out
13579         defaultLayoutName().
13580
13581         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13582         file without named layout we set layout to defaultLayoutName().
13583
13584 2002-03-06  Juergen Vigna  <jug@sad.it>
13585
13586         * CutAndPaste.C (copySelection): set layout for new paragraph.
13587
13588         * text.C (prepareToPrint): leave ERT inset left aligned
13589         (leftMargin): don't indent paragraphs inside ERT insets
13590
13591 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * paragraph.C (breakParagraph): dont call clear do the work manually
13594
13595         * paragraph.[Ch] (clear): remove function
13596
13597 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13598
13599         * paragraph.C (Paragraph): dont call clear, the work has already
13600         been done.
13601
13602         * lyxtextclass.C (operator): assert if n is empty
13603
13604         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13605         work manually instead.
13606
13607 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13608
13609         * BufferView_pimpl.C: protect selectionLost against text == 0
13610
13611 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13612
13613         * text.C (breakParagraph): fix a setting layout to '0' problem.
13614
13615 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13616
13617         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13618         final location of file, for the included files, and graphics.
13619
13620 2002-03-05  Juergen Vigna  <jug@sad.it>
13621
13622         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13623
13624 2002-03-04  Juergen Vigna  <jug@sad.it>
13625
13626         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13627
13628         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13629         last column of multicolumn cells.
13630         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13631
13632 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13633
13634         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13635         file if it doesn't go to a temporary file.
13636
13637         * buffer.C (sgmlOpenTag):
13638         (sgmlCloseTag):  remove extra newline insertion.
13639
13640 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13641
13642         * text.C (getRowNearY): comment out debug msg
13643
13644 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * text2.C: first -> first_y
13647
13648         * text.C (getRowNearY): add some attemts at a possible
13649         optimization, not working.
13650
13651         * tabular.[Ch]: add BufferParams to several function so that newly
13652         created paragraph can be initialized to he default layotu for the
13653         buffers textclass.
13654
13655         * tabular-old.C (ReadOld): add buf->params to call of Init
13656
13657         * screen.C: rename text->first to text->first_y
13658
13659         * paragraph.C (breakParagraph): always set layout in the broken
13660         paragraph
13661
13662         * lyxtextclass.C (Read): remove lowercase
13663         (hasLayout): ditto
13664         (operator): ditto
13665         (delete_layout): ditto
13666
13667         * lyxtext.h: rename first -> first_y
13668
13669         * lyxlayout.C (Read): remove lowercase
13670         (name): ditto
13671         (setName): ditto
13672         (obsoleted_by): ditto
13673
13674         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13675
13676         * buffer.C (insertErtContents): add params are to InsetERT
13677         (parseSingleLyXformat2Token): add code to check if a paragraphs
13678         layout really exist.
13679         (parseSingleLyXformat2Token): add params to several inset
13680         constructors
13681         (asciiParagraph): remove lowercase, do the layout comparisons with
13682         no_case
13683
13684         * BufferView_pimpl.C (cursorNext): first -> first_y
13685         (resizeCurrentBuffer): first -> first_y
13686         (updateScrollbar): first -> first_y
13687         (scrollCB): first -> first_y
13688         (workAreaMotionNotify): first -> first_y
13689         (workAreaButtonPress): first -> first_y
13690         (checkInsetHit): first -> first_y
13691         (cursorPrevious): first -> first_y
13692         (cursorNext): first -> first_y
13693         (Dispatch): add buffer_->params to severl inset contructors
13694
13695 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13696
13697         * lyxlayout.C (Read): remove some debug info that I forgot.
13698
13699         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13700         clean up the code slightly.
13701         (makeLinuxDocFile): ditto
13702         (makeDocBookFile): ditto
13703
13704         * text2.C: layout as string
13705
13706         * text.C: layout as string
13707
13708         * paragraph_pimpl.C: layout as string
13709
13710         * paragraph.[Ch]: layout as string
13711
13712         * lyxtextclasslist.[Ch]: layout as string
13713
13714         * lyxtextclass.[Ch]: layout as string
13715
13716         * lyxtext.h: layout as string
13717
13718         * lyxlayout.[Ch]: layout as string
13719
13720         * lyx_cb.C: layout as string
13721
13722         * bufferview_funcs.C: layout as string
13723
13724         * bufferparams.C: layout as string
13725
13726         * buffer.C: layout as string
13727
13728         * LyXView.[Ch]: layout as string
13729
13730         * LaTeXFeatures.[Ch]: layout as string
13731
13732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13733
13734         * BufferView_pimpl.C: change current_layout to string, remove
13735         lyx::layout_type.
13736         (Dispatch):
13737         (smartQuote):
13738         (insertInset):
13739         (workAreaButtonRelease): layout as string
13740
13741         * BufferView2.C (unlockInset): adjust
13742
13743         * vspace.C (asLatexCommand): use an explict temp variable.
13744
13745 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13746
13747         * Makefile.am: use FRONTEND_*
13748
13749 2002-03-01  Juergen Vigna  <jug@sad.it>
13750
13751         * tabular.C (SetWidthOfMulticolCell): changed to something better
13752         I hope but still work in progress.
13753         (recalculateMulticolumnsOfColumn): renamed function from
13754         recalculateMulticolCells as it is more appropriate now.
13755         (SetWidthOfCell): calculate multicols better.
13756
13757 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13758
13759         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13760
13761         * lyxfunc.C (processKeySym): print sequence also if it is
13762         `deleted' (complete)
13763
13764         * kbsequence.C (print): print sequence even if it is deleted
13765         (complete would be a better word, actually).
13766
13767         * lyxfunc.C (dispatch): print complete options after a prefix key
13768
13769         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13770
13771 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13772
13773         * text2.C (setCharFont): eliminate setCharFont code duplication.
13774
13775 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13776
13777         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13778         LFUN_TABULAR_FEATURE (bug #177)
13779
13780 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13781
13782         * Makefile.am: remove figure.h
13783
13784 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * Bufferview_pimpl.C:
13787         * CutAndPasteC:
13788         * LaTeX.C:
13789         * LyXSendto.C:
13790         * buffer.C:
13791         * bufferlist.C:
13792         * converter.C:
13793         * language.C:
13794         * lyxfunc.C:
13795         * lyxvc.C:
13796         * paragraph.C:
13797         * text.C:
13798         * text2.C: remove #include "lyx_gui_misc.h".
13799
13800         * LaTeX.C: added #include <cstdio>
13801
13802 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13803
13804         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13805         that the paragraph following this one can have.
13806
13807         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13808
13809         * vspace.C (asLatexCommand): fix bogus gcc warning
13810
13811         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13812
13813 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13814
13815         * text2.C (setLayout): get rid of redundant code
13816
13817 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13818
13819         * text2.C (incDepth): make sure depth cannot be increased beyond
13820         reasonable values.
13821
13822 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13823
13824         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13825         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13826
13827         * PainterBase.h (image):
13828         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13829         a LyXImage const *.
13830
13831 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * BufferView.C:
13834         * BufferView.h:
13835         * BufferView_pimpl.C:
13836         * BufferView_pimpl.h:
13837         * LaTeXFeatures.C:
13838         * LyXAction.C:
13839         * LyXView.C:
13840         * Makefile.am:
13841         * UpdateList.h:
13842         * UpdateList.C:
13843         * buffer.C:
13844         * figure.h:
13845         * figureForm.C:
13846         * figureForm.h:
13847         * figure_form.C:
13848         * figure_form.h:
13849         * lyx_cb.C:
13850         * lyx_gui.C:
13851         * lyx_gui_misc.C:
13852         * lyxfunc.C:
13853         * sp_base.h:
13854         * sp_ispell.h:
13855         * sp_pspell.h:
13856         * sp_spell.C: remove fig inset, and the crap house of
13857           cards that follows it
13858
13859 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13860
13861         * Makefile.am:
13862         * lyxserver.C:
13863         * os2_defines.h:
13864         * os2_errortable.h:
13865         * nt_defines.h: move .h into support/
13866
13867         * vms_defines.h: remove
13868
13869         * WorkArea.C: add space in debug output
13870
13871         * text2.C:
13872         * paragraph.C:
13873         * buffer.C: add WITH_WARNINGS
13874
13875         * vc-backend.h:
13876         * vc-backend.C:
13877         * bufferlist.C: s/retrive/retrieve/, add docs
13878
13879         * vspace.h:
13880         * vspace.C:
13881         * kbmap.h:
13882         * lyxlength.h:
13883         * lyxgluelength.h:
13884         * length_common.h:
13885         * chset.h:
13886         * chset.C: add docs
13887
13888         * lyxgui.C: add ID to X error handler
13889
13890         * lyxtestclass.c: fix typo
13891
13892 2002-02-26  Juergen Vigna  <jug@sad.it>
13893
13894         * tabular_funcs.C (write_attribute): changed so that some default
13895         attributes are not written at all.
13896         (getTokenValue): set default values before trying to read the
13897         value so we have the return value always set as default if we don't
13898         find the token we search for.
13899
13900         * tabular.C (Write): write bools as bools not as strings!
13901
13902 2002-02-22  Juergen Vigna  <jug@sad.it>
13903
13904         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13905         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13906
13907         * text.C (leftMargin): don't add an indent for paragraphs inside
13908         tabular cells (fix #208).
13909
13910 2002-02-21  José Matos  <jamatos@fep.up.pt>
13911
13912         * tabular.C (docBook): fixed support for long tables.
13913
13914 2002-02-20  Juergen Vigna  <jug@sad.it>
13915
13916         * text2.C (getFont): get the drawing font of the Inset if this
13917         paragraph is inside an inset (only important for InsetERT for now).
13918
13919         * buffer.C (insertErtContents): use new lanugage params in ERT
13920         constructor.
13921
13922         * CutAndPaste.C: commenting out seemingly uneeded code.
13923
13924 2002-02-19  Allan Rae  <rae@lyx.org>
13925
13926         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13927         Iterators might be simple to use but they also get invalidated.
13928         (removeAutoInsets): renamed saved cursor tracking variables and added
13929         some comments to clarify what everything does.
13930
13931 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13932
13933         * Chktex.C:
13934         * LaTeX.C:
13935         * LyXSendto.C:
13936         * converter.C:
13937         * lyx_cb.C:
13938         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13939         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13940
13941         * lyxfunc.C:
13942         * vc-backend.h: remove #include "support/syscall.h"
13943
13944         * LaTeX.C:
13945         * LyXSendto.C:
13946         * converter.C: rearrange #includes in Lars' approved fashion.
13947
13948         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13949         forward declare class Timeout in the header file.
13950
13951         * XFormsView.C: changes due to the above.
13952
13953         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13954         similar to LyXView.
13955
13956         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13957         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13958
13959 2002-02-18  José Matos  <jamatos@fep.up.pt>
13960
13961         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13962         insets contents.
13963
13964 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13965
13966         * a lot of small ws changes
13967         * add a lot of using std::XXX
13968         * use std construcs some places where approp.
13969         * use some exisint stuff from lyxfunctional where approp.
13970         * Make file changes to use partial linking (lets test this now...)
13971
13972 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13973
13974         * Chktex.C:
13975         * buffer.C:
13976         remove #include "support/syscontr.h" as it's redundant. Always has been.
13977
13978         * Chktex.C:
13979         * LaTeX.C:
13980         * LyXSendto.C:
13981         * converter.C:
13982         * lyx_cb.C:
13983         * vc-backend.C:
13984         change Systemcalls::System to Systemcalls::Wait and
13985         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13986         No change of functionality, just reflects the stripped down Systemcalls
13987         class.
13988
13989 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13990
13991         * debug.[Ch]: add a GRAPHICS type to the enum.
13992
13993 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13994
13995         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13996
13997         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13998         there is an inset.
13999
14000 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14001
14002         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14003         match the changes below.
14004
14005         * text2.C (toggleInset): if there is not editable inset at cursor
14006         position, try to see if cursor is _inside_ a collapsable inset
14007         and close it.
14008
14009 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14010
14011         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14012         document menu has a nice checkbox
14013
14014 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14015
14016         * lyxlength.C (asLatexString): change PW to output as percent of
14017         \textwidth.
14018
14019         * lengthcommon.C: change '%' to 't%'
14020
14021         * lyxfunc.C (dispatch): a few comments from Martin
14022
14023 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14024
14025         * WorkArea.h:
14026         * WorkArea.C:
14027         * BufferView_pimpl.h:
14028         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14029           the X selection.
14030
14031 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14032
14033         * vspace.C (inPixels): fix compiler warning
14034
14035 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14036
14037         * lyxfunc.C (getStatus): fix status message for disabled commands.
14038
14039 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14040
14041         * BufferView_pimpl.C: fix crash on close buffer
14042         during selection (#227)
14043
14044 2002-01-27  Herbert Voss  <voss@lyx.org>
14045
14046         * buffer.C: link old Figure to new graphic inset
14047
14048 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14049
14050         * FontLoader.C (getFontinfo): Change the latex font names in order
14051         to match the names of type1inst.
14052
14053 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14056
14057         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14058         (extchanged): ditto
14059         (ext_exist): ditto
14060         (remove_files_with_extension): ditto
14061         (remove_file): ditto
14062         (write): ditto
14063
14064         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14065         document is smaller than the work area height. Do not initialize
14066         static variables to 0.
14067
14068 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14071
14072         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14073         LFUN_LAYOUT_PARAGRAPHS.
14074
14075         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14076         tabular. It is possible to provide a possible cell, which will
14077         typically be the actcell from the corresponding insettabular
14078
14079         * lyxfunc.C (getStatus): small cleanup; disable
14080         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14081         true
14082
14083 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14084
14085         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14086
14087         * paragraph.C (startTeXParParams):
14088         (endTeXParParams): new methods. The LaTeX code to
14089         start/end paragraph formatting
14090         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14091         empty (fixes bug #200)
14092
14093         * vspace.C (inPixels): adapt to the change below
14094         (inPixels): [later] more cleanups (remove unused variables)
14095
14096         * lyxlength.C (inPixels): change to use a width and a height as
14097         parameter.
14098
14099 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14100
14101         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14102         Replaced with \paperwidth
14103
14104         * DepTable.C (insert): add std:: qualifier
14105
14106 2002-01-18  Allan Rae  <rae@lyx.org>
14107
14108         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14109         updated also?
14110
14111         * text.C (drawInset): Turned out I didn't know enough about how
14112         rebreaking worked.  This fixes most of the redraw problems.  I see
14113         an occasional cursor trail when a line is broken now and the cursor
14114         placement can seem out by a few pixels also after a rebreak.
14115
14116 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14117
14118         * buffer.C (parseSingleLyXformat2Token): update because minipage
14119         width is now a LyXLength
14120
14121         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14122
14123         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14124         math insets
14125
14126 2002-01-17  Juergen Vigna  <jug@sad.it>
14127
14128         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14129
14130         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14131         is set correctly and the inset is updated correctly.
14132
14133 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14136         the beginning of the loop.
14137
14138 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * lyxrc.C: improve help for use_scalable_fonts
14141
14142 2002-01-17  Allan Rae  <rae@lyx.org>
14143
14144         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14145
14146 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14147
14148         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14149         make sure to set their inset_owner to the right value (bug #171)
14150
14151 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14152
14153         * DepTable.h
14154         * DepTable.C: Implement mtime checking to reduce time spent doing
14155         CRCs.
14156
14157 2002-01-16  Juergen Vigna  <jug@sad.it>
14158
14159         * tabular.C (GetAdditionalHeight): one of error fixed.
14160
14161         * lyxrc.C (output): small fix in writing use_pspell.
14162
14163 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * sp_base.h: #include LString.h
14166
14167 2002-01-16  Allan Rae  <rae@lyx.org>
14168
14169         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14170         Can someone check this please?
14171
14172         * text.C (drawInset): It was possible that p.row would be removed by
14173         breakAgainOneRow upsetting a few other settings.  There may be another
14174         small tweak possible by setting need_break_row = 0 when p.row has been
14175         removed but I don't know enough about the logic here.
14176
14177 2002-01-15  Allan Rae  <rae@lyx.org>
14178
14179         * text.C (insertChar): removed conditional truism.
14180
14181         * BufferView2.C (removeAutoInsets): More tweaks.
14182         cur_par_prev could be a stray pointer.  Check for trailing empty line
14183         in case last line was cur_par and only had an error inset on it.
14184
14185 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14186
14187         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14188         absolute
14189
14190         * vc-backend.C (most methods):
14191         * exporter.C (Export):
14192         * converter.C (convert):
14193         (runLaTeX):
14194         * LyXSendto.C (SendtoApplyCB):
14195         * lyxfunc.C (dispatch):
14196         (menuNew):
14197         (open):
14198         (doImport):
14199         * lyx_cb.C (AutoSave):
14200         (InsertAsciiFile):
14201         * BufferView_pimpl.C (MenuInsertLyXFile):
14202         * buffer.C (runChktex): use Buffer::filePath().
14203
14204         * buffer.h: rename filename to filename_; rename filepath to
14205         filepath_ and make it private
14206         (filePath): new method
14207
14208         * buffer.C (writeFile): use fileName()
14209         (getLatexName):
14210
14211         * lyx_main.C (init): fix starting  of LyX when the binary is a
14212         link from so,ewhere else.
14213
14214         * minibuffer.C: include <cctype> for isprint
14215
14216 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14219         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14220         name clash with InsetCollapsable's width function.
14221
14222 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14223
14224         * lastfiles.C: include <iterator>
14225
14226 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14227
14228         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14229         std::count.
14230
14231         * buffer.C (makeLaTeXFile): ditto.
14232         Also make loop operation more transparent.
14233
14234 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * ToolbarDefaults.C: remove trailing comma closing namespace.
14237
14238         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14239
14240         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14241         as in WorkArea.
14242
14243         * trans.C (Load): comment out unused variable, allowed.
14244
14245 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14246
14247         * minibuffer.[Ch] (append_char): new method to recieve input from the
14248         drop-down completion browser. If a key was pressed, then recieve this
14249         char and append it to the existing string.
14250         (peek_event): modify the positioning data passed to the completion
14251         browser so that it can be placed above the minibuffer rather than below.
14252 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * LyXAction.C (init): alloe error-next for readonly documents.
14255
14256         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14257         count.
14258
14259 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14260
14261         * bufferlist.C (readFile): create the buffer _after_ checking that
14262         the file exists.
14263
14264         * lyxfunc.C (verboseDispatch): fix handling of arguments
14265
14266         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14267
14268         * lyxrc.C: use string::erase() instead of initializing to "".
14269
14270
14271 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * BufferView_pimpl.h:
14274         * BufferView_pimpl.C:
14275         * WorkArea.h:
14276         * WorkArea.C:
14277         * text2.C: tell X when we have made a selection for copying
14278
14279 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14280
14281         * BufferView_pimpl.C (MenuInsertLyXFile):
14282         * lyxfunc.C (menuNew):
14283         (open):
14284         (doImport): add shortcuts to directory buttons
14285
14286         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14287         open a float)
14288
14289         * lyxfunc.C (setStatusMessage):
14290         (getStatusMessage): new methods
14291         (getStatus):use setStatusMessage instead of setErrorMessage
14292         (dispatch): when function is disabled, set error message here
14293         [instead of in getStatus previously]
14294
14295         * BufferView_pimpl.C (workAreaButtonRelease): update
14296         toolbar/menubar here too.
14297
14298 2002-01-13  Allan Rae  <rae@lyx.org>
14299
14300         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14301         Now seems indestructible.  Remaining task is to audit all other
14302         code affected by deleteEmptyParagraphMechanism.  One small quirk
14303         left is that an empty document with an error in the preamble can
14304         be made to report an error but no error box appears.  I don't know
14305         where it goes.
14306         (removeAutoInsets): Improved comments.
14307
14308 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * Thesaurus.h:
14311         * Thesaurus.C: update for Aiksaurus 0.14
14312
14313 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * text2.C (firstParagraph): removed member function, all uses
14316         replaces with ownerParagraph
14317         (redoParagraphs): here
14318         (updateInset): here
14319         (toggleAppendix): here
14320         * BufferView2.C (insertErrors): here
14321         (setCursorFromRow): here
14322
14323 2002-01-13  Allan Rae  <rae@lyx.org>
14324
14325         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14326         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14327         There is still a way to segfault this although you may have to do this
14328         multiple times: Have an InsetERT with an unknown command in it.
14329         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14330         <down-arrow>, <Enter> again, View->DVI, BANG!
14331
14332         * text2.C (setCursor):
14333         (deleteEmptyParagraphMechanism):
14334         * lyxtext.h (setCursor):
14335         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14336         Making use of the return value may help fix other bugs.
14337
14338 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14339
14340         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14341
14342         * LyXView.C (updateMenubar): call MenuBar::update here
14343         (updateToolbar): but not here
14344         (showState): do not update toolbar/menubar
14345
14346         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14347         should need to care about that.
14348
14349         * lyxfunc.C (verboseDispatch): simplify a bit
14350         (getStatus): have a version which takes a pseudoaction, and
14351         another which requires a (kb_action,string).
14352
14353         * LyXAction.C (retrieveActionArg): make it work also when action
14354         is not a pseudo-action.
14355         (getActionName): simplify a bit
14356         (helpText):
14357
14358 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14359
14360         * lyxfunc.C (verboseDispatch): new families of methods with
14361         several ways to specify a command and a bool to indicate whether
14362         the command name and shortcut should be displayed in minibuffer
14363         (eventually, we could extend that to a finer bitmask like
14364         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14365         (dispatch): the pristine dispatch command which just, well,
14366         dispatchs! Note it still sets its result to minibuffer; I'm not
14367         sure we want that.
14368
14369         * lyxfunc.h: remove setHintMessage
14370
14371         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14372
14373 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14374
14375         * BufferView_pimpl.C (specialChar): delete new inset if we have
14376         not been able to insert it.
14377
14378         * kbmap.C: revert to using int instead of kb_action, since all we
14379         are dealing with is pseudo-actions.
14380
14381         * LyXAction.C (searchActionArg): change to return int instead of
14382         kb_action, since the result is a pseudoaction.
14383
14384 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14385
14386         * buffer.C (insertErtContents): Fix (partially) the font bug.
14387
14388 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14389
14390         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14391         as the other one is broken on my machine!
14392
14393 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14394
14395         * commandtags.h:
14396         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14397
14398 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14399
14400         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14401         reflect their actual use. Provide compatibility code for older lyxrc
14402         files.
14403
14404         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14405         FL_NORMAL_STYLE.
14406         change names of popup font variables in line with the changes to lyxrc.C
14407
14408 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14409
14410         * buffer.C (asciiParagraph): avoid outputing a word twice after
14411         an inset.
14412
14413         * lyxrc.C (getDescription): document that document_path and
14414         template_path can be empty.
14415
14416 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14417
14418         * LaTeXFeatures.C (getMacros):
14419         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14420
14421         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14422
14423         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14424         getPackages.
14425         (getPackages): rename feature "floats" to "float". Use an array to
14426         iterate over 'simple' features (i.e. just a \usepackage). Add
14427         handling of "amsmath" (renamed from "amsstyle").
14428
14429 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14430
14431         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14432         features list.
14433
14434 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14435
14436         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14437         FuncStaus::FuncStatus & FuncStaus::some_method().
14438
14439 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14440
14441         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14442         of the func_satus stuff. Edited and massaged in various ways by
14443         JMarc.
14444
14445         * lyxfunc.C (getStatus): use FuncStatus
14446
14447 2002-01-08  Juergen Vigna  <jug@sad.it>
14448
14449         * text.C (nextBreakPoint): use function Inset::isChar().
14450
14451         * paragraph.C (TeXOnePar): use function
14452         Inset::forceDefaultParagraphs.
14453
14454         * buffer.C (latexParagraphs): use function
14455         Inset::forceDefaultParagraphs.
14456
14457 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14458
14459         * lyx_gui.C (init): set the style of the menu popups to
14460         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14461
14462 2002-01-07  Juergen Vigna  <jug@sad.it>
14463
14464         * text.C (setHeightOfRow): small fix
14465         (prepareToPrint): don't look at alignment if we don't have the place
14466         for doing it.
14467
14468 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14469
14470         * box.C: New file. Move the Box methods and functions out of box.h,
14471         following Lars' suggestion.
14472
14473 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14474
14475         * box.h: #include "support/LOstream.h", needed for inlined function.
14476
14477         * lyxtextclass.C:
14478         * lyxtextclasslist.C: added some using std declarations.
14479
14480 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14481
14482         * box.h: make signed dimensions to allow insets wider than
14483           the screen (bug #162)
14484
14485         * BufferView_pimpl.C: add some insetHit debug
14486
14487 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14488
14489         * vc-backend.C: add FIXME
14490
14491 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14492
14493         * lyxfunc.C (getStatus): enable code for showing math font status
14494         in toolbar/menu.
14495
14496 2002-01-07  Juergen Vigna  <jug@sad.it>
14497
14498         * text.C (nextBreakPoint): removed debug output not needed anymore.
14499
14500 2002-01-06  Juergen Vigna  <jug@sad.it>
14501
14502         * text.C (nextBreakPoint): fixed up this function we had this bug
14503         since ever but now hopefully we break row better.
14504         (insertChar): we have to check if an inset is the next char as it
14505         could now happen that a large inset is causing a break.
14506
14507 2002-01-05  Juergen Vigna  <jug@sad.it>
14508
14509         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14510         if it doesn't like to be drawed.
14511
14512 2002-01-04  Juergen Vigna  <jug@sad.it>
14513
14514         * BufferView2.C (lockInset): forgot to set a cursor.
14515
14516         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14517
14518 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14519
14520         * FormMathsPanel.C:
14521         * FormMathsPanel.h
14522         * MathsSymbols.C:
14523         * form_maths_panel.C:
14524         * form_maths_panel.h:
14525         * form_maths_panel.fd: implemented sub- and super- buttons in math
14526         panel.
14527
14528         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14529         (or ^ space) to be used as in TeX (req'd by Andr�.
14530
14531         * lyxfunc.C: Allow ^ and _ again to be used both as
14532         super/subscript (mathed) and as themselves (in text).
14533
14534 2002-01-03  Allan Rae  <rae@lyx.org>
14535
14536         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14537         "LyX" or the filename of the current buffer if it has one.  This is a
14538         modified form of John Levon's patch.
14539
14540         * XFormsView.C (setWindowTitle): also set icon title.
14541
14542         * LyXView.h (setWindowTitle): signature changed.
14543         * XFormsView.h (setWindowTitle): ditto.
14544
14545 2002-01-02  Juergen Vigna  <jug@sad.it>
14546
14547         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14548
14549 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14550
14551         * screen.C (topCursorVisible): introduce a temp var for
14552         text->cursor.row(), handle the case where this row is null. (kindo
14553         hachish)
14554
14555         * text2.C (setCursor): add a couple of asserts.
14556
14557         * paragraph.h (inset_iterator): add -> operator
14558
14559         * paragraph.[Ch] (autoDeleteInsets): remove member function
14560
14561         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14562         cursor pos correctly and handle inset deletion by itself.
14563         (insertErrors): move iterator declaration out of for expression
14564
14565         * lyxtextclass.C: add <algorithm>
14566
14567         * Makefile.am: added the new files to sources, removed layout.C
14568
14569         * layout.C: removed file
14570
14571         * layout.h: remove LYX_DUMMY_LAYOUT
14572
14573         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14574         layout.
14575
14576         * lyxlayout.[Ch]:
14577         * lyxtextclass.[Ch]:
14578         * lyxtextclasslist.[Ch]: new files
14579
14580         * include order changes to a lot of files, also changes because of
14581         the six new files.
14582
14583 2001-12-27  Juergen Vigna  <jug@sad.it>
14584
14585         * buffer.C (asciiParagraph): more fixes.
14586
14587         * tabular.C (ascii): make ascii export support export of only the
14588         data separated by a column-delimiter.
14589         (ascii): better support for ascii export.
14590
14591         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14592
14593 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * tabular_funcs.C: use a "using std::getline" instead of the
14596         previous fix from Angus (necessary for cxx + lyxstring)
14597
14598 2001-12-24  Juergen Vigna  <jug@sad.it>
14599
14600         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14601
14602         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14603         problems. First check a minipage also if we have some ert-contents
14604         (not only on par->size(), second set the right depth of the paragraph
14605         on the relink to the root-paragraph-list!
14606
14607         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14608         which then did not anymore update the main paragraphs on undo/redo!
14609
14610 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14611
14612         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14613         code. Support all font-changing funcs (even those which are not in
14614         menu currently). Support for reporting font settings in
14615         mathed (disabled until Andre provides a function on mathed's side).
14616
14617         * func_status.h (toggle): small helper function to set toggle
14618         state on a flag.
14619
14620 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14621
14622         * tabular_funcs.C: getline -> std::getline
14623
14624 2001-12-21  Juergen Vigna  <jug@sad.it>
14625
14626         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14627         accessed and could be 0 (I couldn't generate this but it seems
14628         Michael could!).
14629
14630 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14633         * tabular_funcs.h: here and include iosfwd
14634
14635 2001-12-20  Juergen Vigna  <jug@sad.it>
14636
14637         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14638         inside inset but undo_par was.
14639
14640 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14641
14642         * Thesaurus.C: always include <config.h> in sources.
14643
14644         * Painter.h:
14645         * lyxlookup.h:
14646         * box.h: do not include <config.h> in header files
14647
14648         * text.C (paintLastRow): remove unused variable
14649
14650         * text.C (transformChar):
14651         (insertChar):
14652         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14653
14654         * Painter.C (text):
14655         * font.C (width): rewrite to use uppercase() instead of
14656         islower/toupper.
14657
14658         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14659
14660 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14661
14662         * lyxfind.C: clean up of find failure position change
14663
14664 2001-12-20  Juergen Vigna  <jug@sad.it>
14665
14666         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14667
14668         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14669         (TeXRow): added to LaTeX a single tabular row.
14670         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14671         (Latex): simplified and finally good LT-h/f support.
14672         (various_functions): just small adaptions for LT-h/f support.
14673
14674         * tabular_funcs.[hC]: added and moved here all not classfunctions
14675         of LyXTabular.
14676
14677 2001-12-19  Juergen Vigna  <jug@sad.it>
14678
14679         * tabular.[Ch]: better support for longtabular options (not finished
14680         yet!)
14681
14682 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14683
14684         * text.C (paintLastRow): use the label font instead of the font of
14685         the last character to compute the size of *_BOX. This makes more
14686         sense and avoids a crash with empty paragraphs.
14687         Use Painter::rectangle to draw EMPTY_BOX.
14688
14689 2001-12-19  Juergen Vigna  <jug@sad.it>
14690
14691         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14692         the paragraphs if the replaced paragraph is not the first one!
14693         Tried to delete not used paragraphs but does not work yet so for
14694         now it's inside #ifdef's and by default off!
14695
14696 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14697
14698         * MenuBackend.C: include "lyx_main.h" instead of declaring
14699         lastfiles (actually was declared as LastFiles* instead of a
14700         scoped_ptr).
14701
14702 2001-12-17  Juergen Vigna  <jug@sad.it>
14703
14704         * tabular.C (AppendColumn): applied John's fix
14705
14706 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14707
14708         * BufferView.h:
14709         * BufferView.C:
14710         * BufferView_pimpl.h:
14711         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14712
14713         * Makefile.am:
14714         * box.h: new start of class for above
14715
14716         * lyxfunc.C: ignore space-only minibuffer dispatches.
14717           Show the command name when it doesn't exist
14718
14719         * minibuffer.C: don't add empty lines to the history
14720
14721         * minibuffer.C: add a space on dropdown completion
14722
14723 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * text.C: fix line above/below drawing in insets
14726
14727 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * lyxlength.C (LyXLength): Initialize private variables.
14730
14731 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14732
14733         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14734         when inserting error insets.
14735
14736 2001-12-13  Juergen Vigna  <jug@sad.it>
14737
14738         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14739         actually sometimes the before-paragraph.
14740         (setUndo): don't clear the redostack if we're not actually undoing!
14741
14742 2001-12-06  Juergen Vigna  <jug@sad.it>
14743
14744         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14745         and fixed redoing of main paragraph, so we can use it now ;)
14746
14747         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14748
14749 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14750
14751         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14752         Juergen's request
14753
14754 2001-12-13  André Pönitz <poenitz@gmx.net>
14755
14756         * undostack.[Ch]:
14757         * undo_func.C: minor cleanup
14758
14759 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14760
14761         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14762         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14763         font in urw-fonts package which is marked as -urw-fontspecific and
14764         does not work (incidentally, changing the encoding in the
14765         fonts.dir of this package to -adobe-fontspecific fixes the
14766         problem).
14767
14768         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14769         is a crash when undoing first paragraph (Juergen, please take a
14770         look). THis does not mean the undo fix is wrong, just that it
14771         uncovers problems.
14772
14773         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14774         the (Paragraph*) version when needed instead of duplicating the
14775         code.
14776
14777         * text.C (workWidth): use Inset::parOwner to find out where the
14778         inset has been inserted. This is a huge performance gain for large
14779         documents with lots of insets. If Inset::parOwner is not set, fall
14780         back on the brute force method
14781
14782         * paragraph_pimpl.C (insertInset):
14783         * paragraph.C (Paragraph):
14784         (cutIntoMinibuffer): set parOwner of insets when
14785         inserting/removing them
14786
14787         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14788
14789 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14790
14791         * commandtags.h:
14792         * LyXAction.C:
14793         * lyx_main.C:
14794         * lyxfunc.C:
14795         * mathed/formulabase.C:
14796         * mathed/math_cursor.[Ch]:
14797         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14798
14799
14800 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * lyxlength.[Ch] (operator!=): new function
14803
14804 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14805
14806         * text.C (workWidth): use Inset::parOwner to find out where the
14807         inset has been inserted. This is a huge performance gain for large
14808         documents with lots of insets. If Inset::parOwner is not set, fall
14809         back on the brute force method
14810
14811         * paragraph_pimpl.C (insertInset):
14812         * paragraph.C (Paragraph):
14813         (cutIntoMinibuffer): set parOwner of insets when
14814         inserting/removing them
14815
14816         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14817
14818 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14819
14820         * tabular-old.C (getTokenValue):
14821         * tabular.C (getTokenValue):
14822         (write_attribute): new versions for LyXLength
14823         (everywhere): adjust the use of widths
14824
14825         * tabular.h: change the type of widths from string to LyXLength
14826
14827 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14828
14829         * paragraph.C: fixed missing line number count when exporting
14830         Environments to LaTeX file
14831
14832         * buffer.C: added informational message for checking line numbers.
14833
14834 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14835
14836         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14837         paragraph, do the 'double space' part, but not the 'empty
14838         paragraph' one.
14839
14840         * text.C (workWidth): small optimization
14841         (getLengthMarkerHeight): use minimal size for negative lengths.
14842
14843 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14844
14845         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14846
14847         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14848
14849 2001-12-11  André Pönitz <poenitz@gmx.net>
14850
14851         * FontLoader.C:
14852         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14853
14854 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * text2.C: keep selection on a setFont()
14857
14858 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * lyx_cb.C: another bv->text misuse, from insert label
14861
14862 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * kbsequence.h:
14865         * kbsequence.C: re-instate nmodifier mask
14866
14867 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14868
14869         * lyx_main.h: make lyxGUI private.
14870
14871 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14872
14873         * lyxfind.C: place the cursor correctly on failed search
14874
14875 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14876
14877         * text.C (getLengthMarkerHeight): for small heights, the arrows
14878         are not always on top/bottom of the text
14879         (drawLengthMarker): smaller arrows; take the left margin in
14880         account; draw also vfills.
14881         (paintFirstRow):
14882         (paintLastRow): remove special code for vfill and standard spaces,
14883         since everything is handled in drawLengthMarker now.
14884
14885 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * buffer.C (insertErtContents): try to handle font and language
14888         interaction a bit better.g
14889
14890         * ColorHandler.C (updateColor): change the hash to cover the whole
14891         LColor enum, ws cleanup
14892         (getGCLinepars): ditto
14893         (getGCLinepars): only lookup in the linecache once.
14894
14895 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14896
14897         * iterators.C (operator++): Make the iterator more robust
14898
14899         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14900         (John's patch)
14901         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14902
14903 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * lyxtext.h:
14906         * text.C: better added space drawing
14907
14908 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * LyXView.C:
14911         * BufferView2.C: fix layout combo update on inset unlock
14912
14913 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14914
14915         * Makefile.am: don't compile unused files
14916
14917 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14918
14919         * lyxfunc.C:
14920         * commandtags.h:
14921         * LyXAction.C: remove old LFUN_LAYOUTNO
14922
14923 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14924
14925         * paragraph_pimpl.h:
14926         * paragraph_pimpl.C: isTextAt() doesn't need font param
14927
14928 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * lyxlex.h:
14931         * lyxlex.C: little cleanup
14932
14933 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * BufferView_pimpl.C: fix insertAscii for insets
14936
14937 2001-12-05  Juergen Vigna  <jug@sad.it>
14938
14939         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14940         set the right font on the "multi" paragraph paste!
14941
14942 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * trans_decl.h:
14945         * trans_mgr.[Ch]:
14946         * trans.[Ch]:
14947         * lyxgluelength.C:
14948         * lyxlength.C: remove out-commented code.
14949
14950         * BufferView_pimpl:
14951         * CutAndPaste.C:
14952         * DepTable.C:
14953         * buffer.C:
14954         * chset.C:
14955         * lastfiles.C:
14956         * lyxlex.C:
14957         * lyxlex_pimpl.C:
14958         * lyxserver.C:
14959         * screen.C:
14960         * tabular-old.C:
14961         * tabular.C:
14962         * text.C:
14963         * trans_mgr.C:
14964         * vc-backend.C: change "while(" to "while ("
14965
14966         * lyxlength.[Ch]: add zero function to check if length is zero or
14967         not
14968         * lyxgluelength.C: use it
14969
14970 2001-12-05  Allan Rae  <rae@lyx.org>
14971
14972         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14973         Works for 2.95.3, from what I understand of Garst's reports this should
14974         work for other g++ versions.  We're screwed if the abs(int) definition
14975         changed between bugfix releases of gcc.
14976
14977 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * text.C: fix chapter label offset !
14980
14981 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14982
14983         * lyxtext.h:
14984         * text.C: fix hfill at end of line, clean up
14985
14986 2001-12-04  Juergen Vigna  <jug@sad.it>
14987
14988         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14989         that we force an update of the inset and it's owners if neccessary.
14990
14991 2001-12-03  Juergen Vigna  <jug@sad.it>
14992
14993         * text.C (rowLast): simplified code
14994
14995 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * lyxfunc.C: fix show options on timeout
14998
14999 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * screen.C (topCursorVisible): scroll half a page when the cursor
15002         reached top of bottom of screen
15003
15004 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * minibuffer.C: deactivate on loss of focus
15007
15008 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15009
15010         * vspace.[Ch] (operator!=): add operator.
15011
15012 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15013
15014         * BufferView_pimpl.C: refuse to open an inset when
15015         there's a selection.
15016
15017 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * BufferView_pimpl.C: allow to click on RHS of full row insets
15020
15021 2001-11-30  Juergen Vigna  <jug@sad.it>
15022
15023         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15024         insets for undo reasons.
15025
15026 2001-11-28  André Pönitz <poenitz@gmx.net>
15027
15028         * vspace.[Ch]: cosmetical changes
15029
15030 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * LyXAction.h:
15033         * LyXAction.C:
15034         * lyxfunc.h:
15035         * lyxfunc.C:
15036         * kbmap.h:
15037         * kbmap.C:
15038         * lyxrc.C:
15039         * kbsequence.h:
15040         * kbsequence.C: part re-write of old kb code
15041
15042         * Painter.C:
15043         * WorkArea.C: remove Lgb_bug_find_hack
15044
15045 2001-11-30  José Matos <jamatos@fep.up.pt>
15046
15047         * buffer.C (makeDocBookFile): add a comment to point a hack.
15048         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15049         Fixed a double write of labels.
15050
15051 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15052
15053         * LaTeX.C:
15054         * LaTeX.h Fixed bug in LaTeX class where it would not
15055         re-run latex if no depfiles were changed, but the .dvi was removed.
15056
15057 2001-11-28  André Pönitz <poenitz@gmx.net>
15058
15059         * all the files from the change on 2001/11/26:
15060         use lyx::layout_type instead of LyXTextClass::size_type
15061         use lyx::textclass_type instead of LyXTextClassList::size_type
15062
15063 2001-11-29  Juergen Vigna  <jug@sad.it>
15064
15065         * text.C: added support for paragraph::isFreeSpacing()
15066
15067         * buffer.C: same as above
15068
15069         * paragraph.h: inserted isFreeSpacing() function to enable
15070         FreeSpacing inside InsetERT.
15071
15072         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15073         of the paragraph's in the cut/copy buffer to 0!
15074
15075         * text2.C (removeRow): remove the assert as it can!
15076
15077         * lyxtext.h: added helper function firstRow returning firstrow and
15078         made firstrow private again.
15079
15080         * BufferView2.C (lockInset): don't relock if we're already locked!
15081
15082         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15083         the only paragraph.
15084         (removeRow): added Assert::(firstrow)
15085
15086         * debug.C: forgot to add INSETTEXT here.
15087
15088 2001-11-28  Juergen Vigna  <jug@sad.it>
15089
15090         * sp_spell.C (initialize): changed error text to more general
15091         spellchecker command use (not only ispell!)
15092
15093         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15094
15095         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15096
15097 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * vspace.C: initialise lyxgluelength on failure
15100
15101 2001-11-28  Allan Rae  <rae@lyx.org>
15102
15103         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15104         declaration & definition that looks like a function declaration.
15105
15106 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15107
15108         * BufferView2.C (copy):
15109         (copyEnvironment): do not clear the selection when doing a copy.
15110
15111         * text.C (paintFirstRow): compilation fix
15112
15113 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15114
15115         * tabular.C (Latex): correct line count when writing latex.
15116
15117 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15118
15119         * paragraph_pimpl.h:
15120         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15121           bug a bit
15122
15123 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * text.C:
15126         * LColor.h:
15127         * LColor.C: change vfillline->added_space
15128
15129         * text.C: add markers and text for added space
15130
15131         * vspace.C: fix comment
15132
15133 2001-11-28  André Pönitz <poenitz@gmx.net>
15134
15135         * paragraph.C: whitespace changes
15136         * all the other files from the change on 2001/11/26:
15137         change *::pos_type into lyx::pos_type
15138
15139 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15142         language of the document when inserting error insets.
15143
15144 2001-11-26  André Pönitz <poenitz@gmx.net>
15145
15146         * BufferView_pimpl.[Ch]:
15147         *       CutAndPaste.C:
15148         * buffer.[Ch]:
15149         * lyxcursor.[Ch]:
15150         * lyxfind.C:
15151         * lyxfunc.C:
15152         * lyxrow.[Ch]:
15153         * paragraph.[Ch]:
15154         * paragraph_pimpl.[Ch]:
15155         * sp_spell.C:
15156         * text.C:
15157         * text2.C: reduce header dependencies, introduce type for positions
15158
15159 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15160
15161         * <various>: change to use Alert.h
15162
15163 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15164
15165         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15166         when encountering an unknown token.
15167         (readLyXformat2): Show an error message if there were unknown tokens.
15168
15169 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * BufferView2.C:
15172         * BufferView_pimpl.C:
15173         * buffer.C:
15174         * paragraph.h:
15175         * text.C:
15176         * text2.C: use par->isInset()
15177
15178 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15179
15180         * paragraph_pimpl.h:
15181         * paragraph_pimpl.C: cleanup
15182
15183 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * text2.C (removeRow):
15186         * text.C (setHeightOfRow): remove useless (and costly) call to
15187         getRow.
15188
15189 2001-11-20  Allan Rae  <rae@lyx.org>
15190
15191         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15192         Now need Inset*::checkInsertChar() to return true for appropriate
15193         cases so that the characters in the minibuffer will actually be
15194         inserted.
15195
15196 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * text.C: change the order of the includes.
15199         (workWidth): initialize it at once.
15200         (workWidth): make maxw unsigned
15201         (setHeightOfRow): remove unused variable (inset)
15202         (selectSelectedWord): remove unused variable (inset)
15203         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15204
15205 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15208         server is not running.
15209         (openConnection):
15210         (closeConnection): add debug info when server is disabled.
15211
15212         * ColorHandler.C (getGCForeground): send debug message to GUI
15213         channel.
15214
15215         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15216
15217         * kbmap.C (bind): modify because return conventions of
15218         kb_sequence::parse have changed.
15219
15220         * kbsequence.C (parse): only ignore spaces and not any stupid
15221         control character. This avoids tests like s[i] <= ' ', which are
15222         guaranteed to fail with 8bit characters and signed chars.
15223         Change return code to string::npos when there have been no error
15224         (0 was a bad idea when error is at first character)
15225
15226 2001-11-14  José Matos  <jamatos@fep.up.pt>
15227
15228         * buffer.h:
15229         * buffer.C (simpleDocBookOnePar): removed unused argument.
15230
15231 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15232
15233         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15234         insets which are part of a word. Paragraph::isLetter takes care of
15235         that now. Use Paragraph::isInset to identify insets.
15236         (selectSelectedWord): do not test for hyphenation break.
15237
15238         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15239         that protected spaces are considered as spaces.
15240
15241         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15242         Inset::isLetter.
15243
15244 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * lyxserver.h:
15247         * lyxserver.C: fix it. and small cleanup.
15248
15249 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15250
15251         * BufferView_pimpl.C: use inline helpers
15252
15253         * LaTeXFeatures.h:
15254         * LaTeXFeatures.C: fix typos
15255
15256         * Spacing.h:
15257         * Spacing.C: move spacing_string into class
15258
15259         * ToolbarDefaults.C: move stuff into namespace anon
15260
15261         * layout.h: update enum
15262
15263         * lyxfunc.C: use better debug
15264
15265         * minibuffer.h: fix typo
15266
15267         * debug.h:
15268         * debug.C:
15269         * WorkArea.C: add and use Debug::WORKAREA
15270
15271         * lyxtext.h:
15272         * text.C:
15273         * text2.C: code re-organisation, inline helpers
15274
15275 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15276
15277         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15278         std::vector.empty().
15279
15280 2001-11-09  Allan Rae  <rae@lyx.org>
15281
15282         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15283         '\n's after tables.  Tabular and ERT inset work now makes this no
15284         longer necessary.
15285
15286 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15287
15288         * minibuffer.h:
15289         * minibuffer.C: fix crash, improve drop-down completion
15290
15291 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15292
15293         * lyxserver.h:
15294         * lyxserver.C: invalidate fd's when doing endPipe()
15295
15296 2001-11-08  José Matos  <jamatos@fep.up.pt>
15297
15298         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15299         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15300
15301         * paragraph.h:
15302         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15303
15304 2001-11-07  José Matos  <jamatos@fep.up.pt>
15305
15306         * buffer.h:
15307         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15308         const qualifier.
15309
15310         * buffer.C (sgmlOpenTag):
15311         * buffer.C (sgmlCloseTag): removed debug info.
15312
15313         * buffer.h (sgmlOpenTag):
15314         * buffer.h (sgmlCloseTag): made public.
15315
15316 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * buffer.C (saveParamsAsDefaults):
15319         * lyx_cb.C (MenuLayoutSave): remove
15320
15321         * LyXAction.C (init):
15322         * commandtags.h:
15323         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15324
15325 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15326
15327         * buffer.C (setPaperStuff): removed from here...
15328
15329         * bufferparams.C (setPaperStuff): ... and moved there.
15330
15331 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15332
15333         * minibuffer.h:
15334         * minibuffer.C:
15335         * XFormsView.C: add support for drop-down completion
15336
15337 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15338
15339         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15340         commands.
15341
15342 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15345         disabled.
15346
15347 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15348
15349         * lyx_main.C: change ref to known bugs
15350
15351 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15352
15353         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15354         to work around older babel problems.
15355
15356 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15357
15358         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15359
15360 2001-10-24  Juergen Vigna  <jug@sad.it>
15361
15362         * tabular-old.C (ReadOld): below variable changes reflected.
15363
15364         * tabular.[Ch]: added ltType struct for longtable header/footer
15365         defines and changed all instances where they are used. Added
15366         future support for double top/bottom rows.
15367
15368 2001-10-24  José Matos  <jamatos@fep.up.pt>
15369
15370         * buffer.h (docbookHandleCaption):
15371         * buffer.C (docbookHandleCaption): removed unused function.
15372         (makeDocBookFile): moved docbook supported version to v4.1.
15373
15374 2001-10-24  José Matos  <jamatos@fep.up.pt>
15375
15376         * tabular.h:
15377         * tabular.C (docbookRow): new function to export docbook code of a row.
15378         (DocBook): now honors the longtable flags.
15379
15380 2001-10-23  José Matos  <jamatos@fep.up.pt>
15381
15382         * LaTeXFeatures.h:
15383         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15384         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15385
15386         * buffer.C (makeLinuxDocFile):
15387         (makeDocBookFile): reworked the preamble, more clean, and with
15388         support for lyx defined entities. Changed the document declaration
15389         to be more XML friendly.
15390
15391         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15392         if we need to output XML that should be done with a filter.
15393
15394 2001-10-22  Juergen Vigna  <jug@sad.it>
15395
15396         * sp_pspell.h (class PSpell): add alive function needed in the
15397         controller to see if the spellchecker could be started.
15398
15399 2001-10-22  Juergen Vigna  <jug@sad.it>
15400
15401         * buffer.C (insertStringAsLines): modify the font for inserting
15402         chars in certain conditions by calling checkInsertChar(font).
15403
15404 2001-10-19  Juergen Vigna  <jug@sad.it>
15405
15406         * text.C (workWidth): use getRow instead of wrong algorithm.
15407         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15408
15409 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15410
15411         * lyxserver.h:
15412         * lyxserver.C:
15413         * lyx_main.h:
15414         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15415
15416 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * text.C (workWidth): do not search for the exact row when
15419         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15420         optimization for big documents.
15421
15422 2001-10-18  Juergen Vigna  <jug@sad.it>
15423
15424         * text.C (workWidth): new function with added Inset * parameter.
15425
15426 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15427
15428         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15429
15430         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15431         change return type of getColumnNearX.
15432
15433
15434         * text.C (changeRegionCase): use uppercase/lowercase instead of
15435         toupper/tolower.
15436         (leftMargin):
15437         (rightMargin): simplify code by factoring out the uses of
15438         textclasslist.
15439         (labelFill):
15440         (numberOfHfills):
15441         (setHeightOfRow):
15442         (appendParagraph): use Paragraph::size_type
15443
15444 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * vspace.C (asLatexString): add a missing break
15447
15448 2001-10-15  Herbert Voss  <voss@perce.de>
15449
15450         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15451
15452 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15455         is not available.
15456
15457 2001-10-10  André Pönitz <poenitz@gmx.net>
15458
15459         * lyxfunc.C: removed greek_kb_flag.
15460
15461 2001-10-10  Herbert Voss  <voss@perce.de>
15462
15463         * lyx_main.C: delete global string help_lyxdir.
15464
15465 2001-10-09  Herbert Voss  <voss@perce.de>
15466
15467         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15468
15469         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15470
15471         * lyx_main.C: added global string help_lyxdir.
15472
15473         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15474
15475 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15476
15477         * lyxrc.C (set_font_norm_type): support iso8859-4
15478
15479 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15480
15481         * LaTeX.C (deplog): add another regex for MikTeX
15482
15483 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15484
15485         * lyxrc.C (set_font_norm_type): support iso8859-3
15486
15487 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15490
15491         * LaTeXFeatures.C: remove special case of french and index
15492
15493         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15494         before \begin{document}). This solves several incompatibilities.
15495
15496 2001-10-03  Garst Reese  <reese@isn.net>
15497
15498         * lyx_cb.C: change CheckTex error msg.
15499
15500 2001-10-03  José Matos  <jamatos@fep.up.pt>
15501
15502         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15503
15504 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15505
15506         * .cvsignore: update
15507
15508         * lyx_main.C (commandLineVersionInfo): use new style version info.
15509
15510         * buffer.C (writeFile):
15511         (makeLaTeXFile):
15512         (makeLinuxDocFile):
15513         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15514
15515         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15516
15517         * version.h: update to use stuff in version.C
15518
15519         * version.C.in: new file. Contains version information determined
15520         at compile time. This is a merging of version.h and
15521         version_info.h.in.
15522
15523 2001-10-03  Juergen Vigna  <jug@sad.it>
15524
15525         * BufferView_pimpl.C (update): don't change "dirty" status in
15526         updateInset call.
15527
15528 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15529
15530         * WorkArea.C (c-tor): re-position version string slightly.
15531
15532 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15533
15534         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15535         revert to previous code.
15536
15537         WorkArea.[Ch]: (show, destroySplash): methods removed.
15538
15539         WorkArea.C: rework code so that it's an amalgam of the codes before and
15540         after the splash screen was moved to WorkArea.
15541
15542 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * lyxrc.C (read):
15545         * vspace.C (inPixels):
15546         (lyx_advance):
15547         * kbmap.C (bind):
15548         * buffer.C (insertStringAsLines):
15549         (asciiParagraph): fix types to be large enough
15550
15551         * lyxlex_pimpl.h: change member status from short to int
15552
15553         * layout.h: fix type of endlabeltype
15554
15555         * kbmap.C (bind):
15556         * kbsequence.C (parse): change return type to string::size_type
15557
15558         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15559         variable
15560
15561         * Bullet.C (bulletSize):
15562         (bulletEntry): do not use short ints as parameters
15563
15564         * BufferView2.C (insertLyXFile): change a char to an int.
15565
15566         * WorkArea.C (WorkArea): remove unneeded floats in computation
15567
15568 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15569
15570         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15571
15572         * paragraph.C (asString): Do not ignore newline/hfill chars when
15573         copying to the clipboard.
15574
15575 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15576
15577         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15578         after a multi-line inset.
15579
15580 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15581
15582         * paragraph.C (validate): Set NeedLyXFootnoteCode
15583
15584 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15585
15586         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15587         and decrease-error to decrease.
15588
15589 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15592         it more readable (should be equivalent)
15593
15594 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15595
15596         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15597
15598 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15601         of a cursor (row, etc.) after a character has been deleted
15602         (deleteEmptyParagraphMechanism): call the method above on _all_
15603         cursors held by the LyXText when a double space has been
15604         detected/deleted.
15605
15606 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15607
15608         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15609         pixmap.
15610         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15611
15612         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15613         background. Use greyOut() and the new show() methods to toggle between
15614         the foreground and background. Add code to remove the splash after
15615         its initial showing.
15616
15617         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15618         (create_forms): no longer call Dialogs::showSplash.
15619
15620 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15621
15622         * .cvsignore: add version_info.h
15623
15624 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * version_info.h.in: new file
15627
15628         * Makefile.am: add version_info.h.in
15629
15630         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15631         version_info.h instead of VERSION_INFO
15632
15633 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15634
15635         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15636         The ERT inset now returns string().
15637
15638 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15639
15640         * lyxtext.h, text.C (selectNextWord): renamed as
15641         selectNextWordToSpellcheck.
15642
15643         * text.C (selectNextWordToSpellcheck): Modified to not select
15644         words inside an ERT inset.
15645
15646 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * lyx_cb.C (MenuLayoutSave): change a bit the question
15649
15650         * sp_base.h: include <sys/types.h>
15651
15652 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15653
15654         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15655
15656 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15657
15658         * several files: fix typos in user-visible strings
15659
15660 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * text2.C (pasteSelection): do not set the selection, since it
15663         will be cleared later. Actually, the intent was to fix the way the
15664         selection was set, but I figured rmoving the code was just as good.
15665
15666 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15667
15668         * FontLoader.C (available): Check if font is available without
15669         loading the font.
15670
15671 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15672
15673         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15674
15675 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15676
15677         * lyxrc.[Ch]: added display_graphics variable and associated code.
15678
15679 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * bufferparams.C (hasClassDefaults): new method. Returns true if
15682         the buffer parameters correspond to known class defaults
15683
15684 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15685
15686         * XFormsView.C (show): set minimum size to the main window.
15687
15688 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15689
15690         * text2.C (copySelection):
15691         (cutSelection):
15692         * lyxfind.C (LyXReplace):
15693         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15694         LyXText::selectionAsString.
15695
15696         * paragraph.C (asString): add "label" argument to the second form
15697
15698         * text2.C (selectionAsString): add "label" argument and pass it to
15699         Paragraph::asString.
15700
15701 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * lyx_main.C (commandLineHelp): remove version information
15704
15705 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15706
15707         * lyx_main.C: add -version commandline option
15708
15709 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15710
15711         * paragraph.h: make the optional constructor arg required instead.
15712         some modifications to other files because of this.
15713
15714         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15715
15716         * lyxserver.C (C_LyXComm_callback): make it static
15717
15718         * lyx_main.C (error_handler): make it static
15719
15720         * lyx_gui.C (LyX_XErrHandler): make it static
15721
15722         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15723
15724         * WorkArea.C: make the extern "C" methods static.
15725
15726         * Makefile.am (lyx_LDADD): simplify
15727
15728 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15729
15730         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15731         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15732
15733         * LyXAction.C (init):
15734         * lyxfunc.C (dispatch): associated code removal.
15735
15736 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * lyxfont.h (isSymbolFont): shut off warning
15739
15740         * text.C (setHeightOfRow):
15741         (getVisibleRow): fix crash with empty paragraphs which have a
15742         bottom line
15743
15744 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15745
15746         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15747         code.
15748
15749 2001-09-04  José Matos  <jamatos@fep.up.pt>
15750         * buffer.C
15751         * buffer.h
15752         * tabular.C (docbook): rename docBook method to docbook.
15753
15754 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * Makefile.am: add dependencies to main.o.
15757
15758 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15759
15760         * FontLoader.C (available): Return false if !lyxrc.use_gui
15761
15762 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15763
15764         * FontInfo.C (query):
15765         * converter.C (view):
15766         * importer.C (Import):
15767         * exporter.C (Export): Can not -> cannot.
15768
15769 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15770
15771         * BufferView_pimpl.C: allow to create index inset even if
15772           string is empty
15773
15774 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15775
15776         * buffer.C (getLists): replace boost::tie code with an explicit pair
15777         as boost::tie can break some compilers.
15778
15779         * iterators.h: Added a std:: declaration to the return type of
15780         ParIterator::size.
15781
15782 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15783
15784         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15785           case.
15786
15787 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15788
15789         * iterators.[Ch]: New files. Provide paragraph iterators.
15790
15791         * buffer.C (changeLanguage): Use paragraph iterators.
15792         (isMultiLingual): ditto
15793
15794         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15795
15796 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15797
15798         * FontLoader.C: Support for cmr font.
15799
15800 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15801
15802         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15803         (available): New method.
15804
15805         * FontInfo.C (getFontname): Use scalable fonts even when
15806         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15807         found.
15808
15809 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15810
15811         * converter.C (Formats::view): reverted! Incorrect fix.
15812
15813 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15814
15815         * converter.C (Formats::view): only output the -paper option
15816         if the dvi viewer is xdvi, thereby fixing bug #233429.
15817
15818 2001-08-23  Herbert Voss  <voss@perce>
15819
15820         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15821
15822 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15823
15824         * Spacing.h (Spacing): Set space to Default on in the default
15825         constructor.
15826
15827 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15828
15829         * vc-backend.h (RCS::versionString): add RCS to version
15830         (CVS::versionString): add CVS to version
15831
15832         * vc-backend.C (scanMaster): do not add CVS to version.
15833         (scanMaster): do not add RCS to version
15834
15835         * lyxvc.C (versionString): new method
15836
15837         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15838
15839 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15840
15841         * Spacing.C (set): initialize fval
15842
15843 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15844
15845         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15846         " or \.
15847
15848 2001-08-16  Juergen Vigna  <jug@sad.it>
15849
15850         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15851
15852 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15853
15854         * BufferView_pimpl.C:
15855         * figureForm.C:
15856         * lyxtext.h:
15857         * text2.C: setParagraph takes linespacing now
15858
15859 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15860
15861         * LyxAction.C: add internal LFUN_CITATION_INSERT
15862
15863         * LyXView.C: actually apply fix
15864
15865         * bufferlist.C: fix open non-existent file
15866
15867         * lyxfind.C: fix indentation
15868
15869         * lyxfunc.C: remove unneeded assert, fix typo
15870
15871 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15872
15873         * MenuBackend.C: use "Floatname List"
15874
15875 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15878         when converting LaTeX layout to insetERT.
15879         Generate a non-collapsed float when reading old float
15880
15881 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15882
15883         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15884         ERT insets.
15885
15886 2001-08-13  Juergen Vigna  <jug@sad.it>
15887
15888         * text.C (fill): return 0 instead of 20 as this seems to be the more
15889         correct value.
15890
15891 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15892
15893         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15894         lyxrc.font_norm.
15895
15896 2001-08-13  Juergen Vigna  <jug@sad.it>
15897
15898         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15899         casesensitive off.
15900         (SearchBackward): comment out the unlocking of the inset_owner this
15901         should not be needed!
15902
15903 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * Many files: Remove inherit_language, and add latex_language
15906
15907         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15908         collapsible insets.
15909
15910 2001-08-10  Juergen Vigna  <jug@sad.it>
15911
15912         * text.C (prepareToPrint): fixed hfill-width in draw!
15913
15914         * BufferView2.C (selectLastWord): save the selection cursor as this
15915         now is cleared in the function LyXText::clearSelection!
15916
15917 2001-08-08  Juergen Vigna  <jug@sad.it>
15918
15919         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15920         BACKSPACE type functions.
15921
15922         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15923         is only cutted from the document but not put in the cut-buffer, where
15924         still the old stuff should be.
15925
15926         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15927
15928         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15929
15930         * tabular.C (SetWidthOfCell): fixed special case where the width
15931         was not updated!
15932         (LeftLine): handle '|' in align_special.
15933         (RightLine): ditto
15934         (LeftAlreadyDrawed): ditto
15935         (SetWidthOfCell): ditto
15936
15937 2001-08-07  Juergen Vigna  <jug@sad.it>
15938
15939         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15940
15941 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15944         * lyxlex.[hC]: ditto
15945
15946 2001-08-06  Juergen Vigna  <jug@sad.it>
15947
15948         * text.C (getVisibleRow): fix up row clearing a bit.
15949
15950 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * minibuffer.C: make sure the X server sees the changes in the input.
15953
15954 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * paragraph.C (getFont): split into...
15957         (getLabelFont): this
15958         (getLayoutFont): and this
15959         * paragraph_pimpl.C (realizeFont): calling this
15960
15961         * text2.C (getFont): split into...
15962         (getLayoutFont): this
15963         (getLabelFont): and this
15964         (realizeFont): all three calling this
15965
15966         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15967         files where used.
15968
15969 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15970
15971         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15972
15973 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15974
15975         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15976         layouts from the Quote inset insertion.
15977
15978 2001-08-03  Juergen Vigna  <jug@sad.it>
15979
15980         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15981
15982         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15983         only if status not is already CHANGED_IN_DRAW (second level).
15984
15985         * text.C (draw): don't set the need_break_row when inside an
15986         InsetText LyXText.
15987
15988 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * buffer.C (parseSingleLyXformat2Token): handle more latex
15991         conversion cases.
15992
15993         * bufferview_funcs.[hC]: change function names to
15994         begin with small char, adjust other files.
15995
15996 2001-08-02  André Pönitz <poenitz@gmx.net>
15997
15998         * lyxfunc.C:
15999         BufferView_pimpl.C: remove broken special code for math-greek
16000
16001 2001-08-02  Juergen Vigna  <jug@sad.it>
16002
16003         * BufferView_pimpl.C (update): redone this function so that we
16004         update the text again if there was a CHANGE_IN_DRAW.
16005
16006         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16007         (drawFromTo): added a new internal bool which is used by draw() and
16008         redraw() function.
16009         (general): some cursor drawing problems fixed.
16010
16011 2001-08-01  Juergen Vigna  <jug@sad.it>
16012
16013         * lyxfind.C (LyXFind): fixed
16014         (SearchForward): ditto
16015         (SearchBackward): ditto
16016
16017         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16018         spurius drawing of the cursor in the main area.
16019
16020         * text2.C (status): small fix which could lead to a segfault!
16021         (clearSelection): remove unneeded BufferView param.
16022
16023 2001-08-01  André Pönitz <poenitz@gmx.net>
16024
16025         * lyxfunc.C: small change due to changed mathed interface
16026
16027 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16028
16029         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16030
16031 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16032
16033         * lyxfunc.c: fail gracefully if file doesn't exist
16034
16035         * LyXSendto.C:
16036         * buffer.C:
16037         * lyxfunc.C:
16038         * BufferView_pimpl.C: IsDirWriteable() proto changed
16039
16040         * LyXView.C: fix updateWindowTitle() to store the last title
16041
16042 2001-07-31  Juergen Vigna  <jug@sad.it>
16043
16044         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16045         the font (wrong since using of Paragraph::highestFontInRange).
16046
16047         * paragraph.C (highestFontInRange): added a default_size parameter.
16048
16049         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16050         (setHeightOfRow): reformat
16051
16052 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * converter.[hC] + affected files: move to (inital-char)lowercase
16055         function names.
16056
16057         * ParagraphParameters.C (ParagraphParameters): remove commented code
16058
16059         * PainterBase.[Ch]: remove commented code
16060
16061         * LaTeXFeatures.h: add "bool floats" for float.sty
16062
16063         * LaTeXFeatures.C (LaTeXFeatures): init floats
16064         (require): handle float
16065         (getPackages): do it with floats
16066
16067 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16068
16069         * BufferView_pimpl.C (Dispatch): improve handling of
16070         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16071
16072         * commandtags.h: #include lyxfont.h here temporarily to avoid
16073         keybinding bug.
16074
16075         * bufferlist.h: include LString.h here.
16076
16077 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16078
16079         * text2.C (getStringToIndex): new method.
16080
16081 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16082
16083         * *: Reduced header file dependencies all over.
16084
16085 2001-07-30  Baruch Even  <baruch@lyx.org>
16086
16087         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16088
16089 2001-07-29  Baruch Even  <baruch@lyx.org>
16090
16091         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16092
16093 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * ParameterStruct.h (endif): add a default constructor to make
16096         sure that all variables is initialized.
16097
16098         * ParagraphParameters.C (ParagraphParameters): adjust
16099
16100 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16101
16102         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16103         index; also, check that there is something to index, and that it
16104         does not span over several paragraphs.
16105         (doubleClick): use WHOLE_WORD_STRICT for double click.
16106
16107         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16108
16109         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16110         scheme.
16111
16112 2001-07-26  Baruch Even  <baruch@lyx.org>
16113
16114         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16115         an InsetFig figure, backwards compatible reading of old figure code.
16116
16117 2001-07-27  Juergen Vigna  <jug@sad.it>
16118
16119         * text2.C: font.realize function adaption.
16120
16121         * text.C (draw): add a warnings lyxerr text if needed.
16122
16123         * layout.C: font.realize function adaption.
16124
16125         * language.C: add inherit_language and implement it's handlings
16126
16127         * bufferview_funcs.C (StyleReset): remove language parameter from
16128         font creation (should be language_inherit now).
16129
16130         * bufferparams.C (writeFile): handle ignore_language.
16131
16132         * paragraph.C (getFontSettings): the language has to be resolved
16133         otherwise we have problems in LyXFont!
16134
16135         * lyxfont.C (lyxWriteChanges): added document_language parameter
16136         (update): removed unneeded language parameter
16137
16138         * paragraph.C (validate): fixed wrong output of color-package when
16139         using interface colors for certain fonts in certain environments,
16140         which should not seen as that on the final output.
16141
16142 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16143
16144         * BufferView_pimpl.C:
16145         * Thesaurus.h:
16146         * Thesaurus.C:
16147         * Makefile.am:
16148         * commandtags.h:
16149         * LyXAction.C: add thesaurus support
16150
16151         * lyxfind.h:
16152         * lyxfind.C: add "once" parameter, for thesaurus, to not
16153           move to the next match
16154
16155 2001-07-26  Juergen Vigna  <jug@sad.it>
16156
16157         * lyxfont.C (realize): honor ignore_language too!
16158         (resolved): ditto.
16159
16160         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16161
16162         * text.C (draw): one place more for ignore_language to not draw
16163         itself!
16164
16165 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16166
16167         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16168
16169 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16172         the minipage conversion problem.
16173
16174 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16177         insert an inset.
16178
16179 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16180
16181         * BufferView.h: don't forward declare WorkArea
16182
16183         * BufferView.C: don't include WorkArea.h
16184
16185 2001-07-25  André Pönitz <poenitz@gmx.net>
16186
16187         * commandtags.h:
16188         * LyXAction.C:
16189         * lyxfunc.C:  new LFUN 'math-space'
16190
16191         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16192
16193 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * text2.C (toggleInset): call open/close
16196
16197 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * lyxfunc.C (dispatch): add debug for the disabled case
16200
16201         * font.C (buttonText): make similar to rectText
16202
16203         * buffer.C (readInset): comment out parsing of insetlist and
16204         insttheorem
16205
16206         * PainterBase.C (rectText): small correction
16207
16208         * BufferView_pimpl.C: comment out insettheorem and insetlist
16209         * LyXAction.C: ditto
16210         * commandtags.h: ditto
16211
16212 2001-07-24  Juergen Vigna  <jug@sad.it>
16213
16214         * text.C (draw): honor the ignore_language.
16215
16216         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16217
16218 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16221         char inset.
16222
16223 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16224
16225         * lyxtext.h: remove unused (and unimplemented) methods
16226
16227 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16228
16229         * text.C (getVisibleRow): honor background color
16230
16231         * PainterBase.h:
16232         * Painter.h: remove default color argument for fillRectangle
16233
16234         * text.C (backgroundColor): new method
16235
16236 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * text.C (getVisibleRow): adjust
16239
16240         * font.[Ch] (rectText): new method, metrics
16241         (buttonText): new method, metrics
16242
16243         * PainterBase.[hC]: make rectText and buttonText always draw and take
16244         fewer paramteres.
16245
16246 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16247
16248         * ToolbarDefaults.C (read):
16249         * MenuBackend.C (read): allow escaping in all strings
16250
16251         * BufferView_pimpl.C (insertAndEditInset): new method.
16252         (Dispatch): use insertAndEditInset whenever appropriate.
16253
16254         * BufferView_pimpl.C (insertNote): removed
16255
16256         * BufferView_pimpl.C (smartQuote): new method, moved from
16257         BufferView; if an insetquote cannot be inserted, insert a '"'
16258         character instead.
16259
16260         * BufferView2.C: remove insertCorrectQuote();
16261
16262         * lyxfunc.C (getStatus): Add support for all remaingin
16263         inset-insert lfuns.
16264
16265         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16266
16267         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16268         command (necessary to pass " as parameter of self-insert.
16269
16270         * text.C (selectWordWhenUnderCursor):
16271         (selectWord): add word_location parameter
16272         (selectWordWhenUnderCursor): same + remove special code for word
16273         boundary.
16274         (selectNextWord): use kind() to guess type of insetspecialchar,
16275         not latex().
16276
16277         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16278         (insertErtContents): create ert insets as collapsed.
16279         (readInset): better compatibility code for Info inset.
16280
16281 2001-07-20  Juergen Vigna  <jug@sad.it>
16282
16283         * lyxfunc.C (dispatch): use always LyXFind now!
16284
16285         * text2.C (init): add a reinit flag so that the LyXText can be
16286         reinited instead of deleted and reallocated (used in InsetText).
16287
16288         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16289
16290         * text.C: ditto
16291
16292         * text2.C: ditto
16293
16294 2001-07-18  Juergen Vigna  <jug@sad.it>
16295
16296         * text.C (selectNextWord): handle insets inside inset by calling
16297         always the bv->text functions so that we can go up the_locking_inset!
16298
16299         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16300         in strange locations when inside an inset!
16301
16302         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16303         handling to include insets.
16304
16305         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16306
16307 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16308
16309         * LyXAction.C (init):
16310         * commandtags.h:
16311         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16312         LIGATURE_BREAK, since the name is so stupid.
16313
16314 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16315
16316         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16317         InsetInfos.
16318
16319         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16320
16321         * sp_form.[Ch]: remove.
16322
16323         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16324
16325         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16326         InsetInfo.
16327
16328         * src/buffer.C (readInset): ditto.
16329
16330 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16331
16332         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16333         menuSeparator(), endOfSentenceDot(), ldots() and
16334         hyphenationPoint(), which are therefore removed.
16335         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16336
16337         * LyXAction.C (init):
16338         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16339
16340         * paragraph.C (getWord): removed.
16341
16342         * BufferView_pimpl.C (Dispatch): use last word or selection for
16343         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16344
16345         * lyx_main.C (queryUserLyXDir): do not ask before creating
16346         user_dir, except if it has been named explicitely.
16347
16348 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16349
16350         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16351         a document of zero size.
16352
16353 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16354
16355         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16356         approriately in the c-tor and in require().
16357         (getPackages): output the appropriate LaTeX for natbib support.
16358
16359         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16360         variables "use_natbib" and "use_numerical_citations" when reading the
16361         LyX file.
16362         (readInset): read the various natbib cite commands.
16363         (validate): white-space change.
16364
16365         * bufferparams.[Ch]: new variables "bool use_natbib" and
16366         "bool use_numerical_citations".
16367         (writeFile): output them in the LyX file.
16368
16369 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16370
16371         * lyxfunc.C (getStatus): add support for all the inset insertion
16372         commands.
16373
16374         * text2.C (insertInset):
16375         * paragraph.C (insetAllowed):
16376         * BufferView_pimpl.C (insertInset): update to take in account the
16377         renaming of insertInsetAllowed
16378
16379         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16380
16381         * text2.C (getInset): new method. returns inset at cursor position.
16382
16383         * BufferView_pimpl.C (Dispatch): changes because of this.
16384
16385         * LyXAction.C (init): rename open-stuff to inset-toggle.
16386
16387         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16388
16389         * text2.C (toggleInset): renamed from openStuff; use
16390         Inset::open().
16391
16392 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16393
16394         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16395
16396         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16397
16398 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16399
16400         * buffer.C (readLyXformat2): Add filename to the error dialog
16401
16402 2001-07-18  Juergen Vigna  <jug@sad.it>
16403
16404         * tabular.C (GetCellNumber): put an assert here instead of the check!
16405
16406 2001-07-17  Juergen Vigna  <jug@sad.it>
16407
16408         * BufferView_pimpl.C (toggleSelection): adapted too.
16409
16410         * text.C (selectNextWord): adapted for use with insets.
16411         (selectSelectedWord): ditto
16412
16413 2001-07-17  Juergen Vigna  <jug@sad.it>
16414
16415         * sp_spell.C (PSpell): fix initialitation order.
16416
16417 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16418
16419         * paragraph.C: spacing
16420
16421 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16422
16423         * sp_spell.C: repair language selection for pspell
16424
16425 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16426
16427         * lyxfunc.h: change more methods to begin with lower char.
16428
16429 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16430
16431         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16432         for unknown layouts.
16433
16434 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16435
16436         * buffer.C (readLyXformat2): Generate an error dialog if there are
16437         unknown layouts.
16438
16439 2001-07-16  Juergen Vigna  <jug@sad.it>
16440
16441         * sp_spell.C: always compile ISpell part.
16442
16443         * lyxrc.C: added use_pspell entry and it's handling.
16444
16445 2001-07-13  Juergen Vigna  <jug@sad.it>
16446
16447         * sp_spell.C: removed double includes.
16448
16449 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16450
16451         Consistent use of Lsstream.h:
16452         * Lsstream.h: added using std::stringstream for consistencies sake.
16453
16454         * buffer.C: removed using std::stringstream
16455
16456         * lyxfont.C (stateText):
16457         * paragraph.C (asString):
16458         * text.C (selectNextWord, selectSelectedWord):
16459         * text2.C (setCounter):
16460         * vspace.C (asString, asLatexString):
16461         std::ostringstream -> ostringstream.
16462
16463 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16464
16465         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16466         * commandtags.h: add LFUN_HELP_ABOUTLYX
16467         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16468
16469 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16470
16471         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16472         cursorToggle()
16473         * lyx_gui_misc.C: remove spellchecker
16474         * lyxfunc.C: showSpellchecker
16475         * sp_base.h: added
16476         * sp_ispell.h: added
16477         * sp_pspell.h: added
16478         * sp_spell.C: added
16479         * sp_form.[Ch]: removed
16480         * spellchecker.[Ch]: removed
16481
16482 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16483
16484         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16485         is set.
16486         (simpleTeXSpecialChars): Simply print the input character without
16487         any special translation if pass_thru is set.
16488
16489         * layout.h: Added bool pass_thru to layout class for being able to
16490         implement pass through of a paragraph for Literate Programming.
16491
16492         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16493         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16494         * layout.C (Read): add "passthru" to list of layout tags and add
16495         code to set the pass_thru boolean when it is read.
16496
16497 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * trans_decl.h: remove allowed from KmodInfo
16500
16501         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16502         remove allowed code
16503         (Load): adjust
16504
16505         * paragraph_pimpl.C (erase): use boost::prior
16506
16507         * Painter.C (text): use data() instead of c_str() when length is
16508         also provided.
16509         * WorkArea.C (putClipboard): ditto
16510         * font.h (width): ditto
16511
16512         * BufferView2.C: use it-> instead of (*it). for iterators
16513         * texrow.C: ditto
16514         * paragraph_pimpl.C: ditto
16515         * paragraph.C: ditto
16516         * minibuffer.C: ditto
16517         * language.C: ditto
16518         * kbmap.C: ditto
16519         * encoding.C: ditto
16520         * counters.C: ditto
16521         * converter.C: ditto
16522         * chset.C: ditto
16523         * Variables.C: ditto
16524         * TextCache.C: ditto
16525         * MenuBackend.C: ditto
16526         * LyXAction.C: ditto
16527         * LColor.C: ditto
16528         * FloatList.C: ditto
16529         * DepTable.C: ditto
16530         * ColorHandler.C (LyXColorHandler): ditto
16531
16532 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16533
16534         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16535
16536         * text2.C (openStuff): reintroduce this method (which had been
16537         nuked in NEW_INSETS frenzy).
16538
16539         * lyxfunc.C (Dispatch): when an action has not been handled, use
16540         its name in the error message, not its number.
16541
16542         * paragraph.C (inInset): change method name to begin with lowercase.
16543
16544         * undo_funcs.C:
16545         * text2.C: updates because of this.
16546
16547 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * ToolbarDefaults.C (add): add spaces in error message
16550
16551 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16554         (readLyXformat2): rename return_par to first_par, use lyxlex's
16555         pushToken and remove the manual push handling.
16556         (parseSingleLyXformat2Token): add another ert comp. variable:
16557         in_tabular, rename return_par to first_par. handle newlines better
16558
16559 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16562
16563 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16564
16565         * text2.C (getParFromID): removed
16566
16567         * buffer.C (getParFromID): new method moved form lyxtext.
16568         * BufferView2.C (insertErrors): adjust
16569         (setCursorFromRow): adjust
16570         * BufferView_pimpl.C (restorePosition): adjust
16571         * lyxfunc.C (Dispatch): adjust
16572         * undo_funcs.C (textUndo): adjust
16573         (textRedo): adjust
16574         (textHandleUndo): adjust
16575         (textHandleUndo): adjust
16576
16577 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16578
16579         * buffer.C: up' the LYX_FORMAT
16580
16581         * lyxfont.h: turn NO_LATEX on as default
16582
16583         * buffer.C (insertErtContents): new methods of tex style compability.
16584         (parseSingleLyXformat2Token): use it several places.
16585         * tabular.C (OldFormatRead): and here
16586
16587 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16588
16589         * text2.C: remove some commented code.
16590         reindent file.
16591
16592         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16593         * trans.C: changes because of the above.
16594
16595 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * text2.C (setCounter): Fix counters bug with bibliography layout.
16598
16599 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16602         own member functions
16603         (simpleTeXSpecialChars): ditto
16604
16605 2001-07-06  Juergen Vigna  <jug@sad.it>
16606
16607         * a lot of files: changed the access to LyXText::status and the
16608         call of undo-functions.
16609
16610         * undo.[Ch]: added a inset_id to the undo informations.
16611
16612         * undo_funcs.[Ch]: added and moved here all undo functions.
16613
16614         * lyxtext.h: give the status enum a weight, made status_ a private
16615         variable and made accessor functions for it, removed the whole bunch
16616         of undo-functions as they are now in their own file, make some
16617         functions publically available. Added function ownerParagraph with
16618         int parameter.
16619
16620         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16621         made InInset() a const function, added getParFromID() function.
16622
16623         * buffer.[Ch]: added const version for inset_iterator functions,
16624         added getInsetFromID() function.
16625
16626         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16627         changed undo functions for new version.
16628
16629 2001-07-05  Juergen Vigna  <jug@sad.it>
16630
16631         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16632         unknow mechanism does not call the proper constructor but only this
16633         one also if I request the other!?
16634
16635 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16636
16637         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16638
16639         * text2.C (LyXText): use initialization lists.
16640
16641         * lyxtext.h (Selection): initialize set_ and mark_
16642         (init): remove method
16643
16644 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16645
16646         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16647
16648 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * screen.[Ch]: change method names to begin with lowercase
16651
16652         * BufferView_pimpl.C (updateScrollbar): simplify further and
16653         hopefully make it a bit faster.
16654
16655 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16656
16657         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16658         calling directly xforms functions.
16659
16660         * Painter.C (Painter):
16661         * lyx_cb.C (MenuWrite):
16662         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16663         fl_display.
16664
16665         * lyx_gui.C: remove bogus guiruntime extern declaration.
16666
16667 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16668
16669         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16670         in NEW_INSETS
16671         (redoDrawingOfParagraph): ditto
16672         (redoParagraphs): ditto
16673         (cutSelection): don't create a object for CutAndPaste use the
16674         static method directly
16675         (pasteSelection): ditto
16676
16677         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16678         LyXview (+ rename)
16679
16680 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16681
16682         * modifications to some other files because of this.
16683
16684         * Makefile.am (lyx_SOURCES): add XFormsView
16685
16686         * XFormsView.[Ch]: new files
16687
16688         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16689         the main window. Move the gui dependent stuff to XFormsView
16690
16691 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16692
16693         * tabular.C (GetCellInset): update cur_cell also in the row/col
16694         version of this function.
16695
16696         * lyxfunc.C: no need to include figure_form.h here.
16697
16698         * FontLoader.h:
16699         * lyxfunc.h:
16700         * lyxscreen.h:
16701         * text2.C:
16702         * lyxvc.C: no need to include forms.h here.
16703
16704 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16705
16706         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16707
16708         * lyxfunc.C (Dispatch):
16709         * Spacing.C (set):
16710         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16711         constructor argument.
16712
16713 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16714
16715         * paragraph.C (Paragraph): dont't clear, and just set layout.
16716         (makeSameLayout): use params's copy contructor.
16717
16718         * ParagraphParameters.[Ch] (makeSame): delete method
16719
16720 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16721
16722         * Variables.[Ch]: fix indentation, rename set to isSet
16723
16724 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * lyxfunc.C (Dispatch): fix typo
16727
16728 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16729
16730         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16731         upper_bound.
16732
16733         * bufferlist.C: include assert.h for emergencyWrite().
16734
16735 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16736
16737         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16738           give up at last (bug #425202) !
16739
16740 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16741
16742         * lyx_gui_misc.C:
16743         * sp_form.h:
16744         * sp_form.C:
16745         * spellchecker.h:
16746         * spellchecker.C: strip spellchecker options and bring up
16747           preferences tab instead
16748
16749 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16750
16751         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16752         the istringstream constructor
16753
16754 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16755
16756         * paragraph.C (getLayout): fix return value
16757
16758         * paragraph.h: do not declare getLayout as inline.
16759
16760         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16761
16762 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16763
16764         * lyxcursor.h (operator<): new func
16765         (operator>): new func
16766         (operator>=): new func
16767         (operator<=): new func
16768
16769         * text.C (changeCase): use selection.start and selection.end
16770         (changeRegionCase): require from to be <= to. Require par to be a
16771         valid paragraph.
16772
16773         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16774
16775 2001-06-27  Juergen Vigna  <jug@sad.it>
16776
16777         * text.C (cursorLeftOneWord): changed to return the cursor and added
16778         overlay with BufferView * parameter which calls this one.
16779         (getWord): added
16780         (selectWord): use new getWord function.
16781         (changeCase): renamed from changeWordCase as and extended to work
16782         also on selections.
16783
16784         * lyxtext.h: added enum word_location
16785
16786         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16787         changeCase as this operates now also on selections.
16788
16789 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16790
16791         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16792
16793         * many files: send debug output to Debug::INFO instead of
16794         Debug::ANY.
16795
16796         * converter.C (View):
16797         (Convert):
16798         (Move): send debug output to Debug::FILES instead of console.
16799
16800 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16801
16802         * lyxfunc.C (getStatus): use func_status
16803
16804         * func_status.h: new header, describing the results of
16805         LyXFunc::getStatus;
16806
16807         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16808         LFUN_MATH_HALIGN.
16809
16810 2001-06-25  The LyX Project  <jug@sad.it>
16811
16812         * buffer.C (sgmlOpenTag):
16813         (sgmlCloseTag):
16814         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16815
16816 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16817
16818         * text2.C: remove some dead code
16819
16820         * tabular.C (GetCellInset): store the last cell checked (gotten)
16821
16822         * tabular.h: add the helper for the speedup
16823
16824         * lyxtext.h: remove some dead code
16825
16826 2001-06-26  The LyX Project  <Asger>
16827
16828         * paragraph.C: Change export to LaTeX of alignment to
16829         \begin{center} and family for better roundtrip work with reLyX.
16830
16831         * Tune the math drawing a bit.
16832
16833 2001-06-25  The LyX Project  <Asger>
16834
16835         * LColor.C (LColor): New color for math background. New color
16836         for buttons.
16837
16838 2001-06-25  The LyX Project  <jug@sad.it>
16839
16840         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16841
16842         * lyxfunc.C (Open):
16843         * bufferlist.C (newFile): do not restrict to files ending with
16844         .lyx
16845
16846         * BufferView_pimpl.C (MenuInsertLyXFile):
16847
16848 2001-06-24  The LyX Project  <jug@sad.it>
16849
16850         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16851         of compare_no_case
16852
16853 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16854
16855         * lyxtext.h: rename most methods to begin with a small char.
16856         Lots of changes because of this.
16857
16858         * paragraph.C (Paragraph): do not call fitToSize
16859         (erase): call Pimpl::erase
16860         (insertChar): call Pimpl::insertChar
16861         (insertInset): call Pipl::insertInset
16862         (breakParagraph): do not call fitToSize
16863         (breakParagraphConservative): do not call fitToSize
16864         (fitToSize): remove method
16865
16866         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16867
16868 2001-06-24  The LyX Project  <Asger>
16869
16870         * Fix Qt compilation^2
16871
16872 2001-06-24  The LyX Project  <jug@sad.it>
16873
16874         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16875         depthHook(getDepth()-1).
16876
16877         * paragraph.h:
16878         * ParagraphParameters.h:
16879         * ParameterStruct.h: change type of depth to unsigned int ==
16880         depth_type. Many adaptations to other files before of that.
16881
16882 2001-06-24  The LyX Project  <Asger>
16883
16884         * Fix Qt compilation.
16885
16886 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16887
16888         * paragraph.h: renamed several methods to begin with small letter.
16889         several changes to many parts of the code because of this.
16890
16891 2001-06-23  The LyX Project  <jug@sad.it>
16892
16893         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16894         rewritten to discard all double spaces when KeepEmpty is off
16895         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16896         to only handle newlines but not fiddle with spaces and friends.
16897
16898         * lyxfunc.C (MenuNew): when doing 'new from template', use
16899         template_path as default directory
16900
16901 2001-06-23  The LyX Project  <Asger>
16902
16903         * Clean-up of header file includes all over
16904         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16905
16906 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16907
16908         * paragraph.h: renamed from lyxparagraph.h
16909
16910 2001-06-23  Asger  <lyx@violet.home.sad.it>
16911
16912         * Buffer.h: Removed Buffer::resize
16913         * BufferList.h: Removed BufferList::resize
16914         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16915         the document lazily when we change the width, or the font settings.
16916
16917 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16918
16919         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16920
16921 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16922
16923         * buffer.h: remove out of date comment
16924
16925 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16926
16927         * lyxscreen.h:
16928         * screen.C: fix "theoretical" GC leak
16929
16930 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16931
16932         * LaTeX.C (scanAuxFile):
16933         (deplog): remove trailing \r when reading stream (useful under
16934         win32)
16935
16936 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16937
16938         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16939         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16940         and BufferView::theLockingInset(Inset*), so should use them and not
16941         access bv_->text->the_locking_inset directly.
16942
16943         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16944
16945 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16946
16947         * Makefile.am:
16948         * tex-defs.h: remove old unused file
16949
16950 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16951
16952         * BufferView_pimpl.C: fix typo, remove minibuffer message
16953           when buffer has loaded
16954
16955 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16956
16957         * lyxfunc.C (Dispatch): use stringstream
16958         (MenuNew): use stringstream
16959         (Open): use stringstream
16960
16961         * importer.C (Import): use stringstream
16962
16963         * bufferview_funcs.C (CurrentState): use stringstream
16964
16965         * LaTeX.C (run): use stringstream
16966
16967         * BufferView_pimpl.C (savePosition): use stringstream
16968         (restorePosition): use stringstream
16969         (MenuInsertLyXFile): use stringstream
16970
16971 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16972
16973         * BufferView.C:
16974         * Bullet.C:
16975         * ColorHandler.C:
16976         * FontInfo.C:
16977         * FontLoader.C:
16978         * LColor.C:
16979         * LaTeXFeatures.C:
16980         * Painter.C:
16981         * gettext.C:
16982         * lyx_gui_misc.C:
16983         * lyxserver.C:
16984         * vspace.C: removed // -*- C++ -*- as first line.
16985
16986         * lyxfind.h:
16987         * version.h: added // -*- C++ -*- as first line.
16988
16989 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16990
16991         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16992
16993         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16994         of string
16995
16996 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16997
16998         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16999         of floats.
17000
17001 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17002
17003         * gettext.C: include LString.h even when --disable-nls is on.
17004
17005 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17006
17007         * converter.h (Get): changed argument type from int to
17008         FormatList::size_type to avoid unnecessary conversion.
17009
17010         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17011         before using it.
17012
17013 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17014
17015         * gettext.h: include LString.h even when --disable-nls is on.
17016
17017 2001-06-07  Juergen Vigna  <jug@sad.it>
17018
17019         * text.C (BreakAgain): subst spaces with tabs.
17020
17021         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17022         (resizeInsetsLyXText): set force on resizeLyXText.
17023
17024 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17025
17026         * gettext.h (gettext_init):
17027         (locale_init): use a real definition instead of a macro
17028
17029 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17030
17031         * Bufferview_pimpl.C:
17032         * LColor.h:
17033         * LColor.C: further lcolor tidies
17034
17035 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17036
17037         * BufferView_pimpl.C (updateScrollbar): simplify.
17038
17039         * BufferView2.C: don't include insets/insetinfo.h, change
17040         prototype for insertInset and call the Pimpl version. let
17041         updateInset call Pimpl version.
17042
17043         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17044         gotoInset to BufferView::Pimpl
17045
17046 2001-06-01  Juergen Vigna  <jug@sad.it>
17047
17048         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17049         inside a LockingInset (is the update needed at all?).
17050
17051 2001-05-31  Juergen Vigna  <jug@sad.it>
17052
17053         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17054         here not the old one otherwise how should we compare it afterwards
17055         if it's the same!
17056
17057 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17058
17059         * lyxfont.C:
17060         * tabular.C:
17061         * tabular-old.C:
17062         * FontInfo.C: bring C functions into global namespace when
17063         necessary
17064
17065 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17066
17067         * LString.h: make sure config.h has been loaded before LString.h.
17068
17069         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17070         (one for each char read by EatLine!).
17071
17072         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17073         variables.
17074
17075 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17076
17077         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17078         to the same as the par we break from
17079
17080 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17083
17084         * MenuBackend.C (expand): also create menu entries for wide
17085         versions of the floats.
17086
17087         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17088
17089         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17090
17091         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17092         frontends/Makefile.am
17093
17094         * text2.C: adjust
17095         * text.C: adjust
17096
17097
17098         * tabular.C (getTokenValue): add std::
17099
17100         * tabular-old.C (getTokenValue): add std::
17101         (getTokenValue): ditto
17102         (getTokenValue): ditto
17103
17104         * screen.C (ToggleSelection): adjust
17105
17106         * lyxtext.h: put selection cursors inside a Selection struct.
17107
17108         * lyxfunc.C (moveCursorUpdate): adjust
17109
17110         * lyxfont.C (latexWriteStartChanges): add std::
17111
17112         * lyxfind.C: adjust
17113
17114         * font.h: delete with(char const *, LyXFont const &)
17115
17116         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17117
17118         * FontInfo.C (getFontname): add std::
17119
17120         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17121         (workAreaButtonPress): adjust
17122         (tripleClick): adjust
17123         (update): adjust
17124         (moveCursorUpdate): adjust
17125         (Dispatch): adjust
17126
17127         * BufferView2.C (gotoInset): adjust
17128
17129 2001-05-30  Juergen Vigna  <jug@sad.it>
17130
17131         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17132         to check pspell I add this as default as I now have new pspell
17133         libraries and they seem to use this.
17134
17135 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17136
17137         * text2.C (CutSelection): make the cursor valid before the call to
17138         ClearSelection.
17139
17140 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17141
17142         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17143         relied on 0 terminated strings and other horrors. Bug found due to
17144         the new assert in lyxstring!
17145
17146         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17147         KP_ keys.
17148
17149 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17150
17151         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17152         to latinkeys.bind.
17153
17154         * lyxfunc.C (processKeySym): change method of getting to the
17155         self-insert char.
17156
17157         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17158         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17159         * BufferView_pimpl.[Ch]: here as private methods.
17160
17161 2001-05-28  Juergen Vigna  <jug@sad.it>
17162
17163         * text.C (SetHeightOfRow): added the update() call again as it is
17164         needed to initialize inset dimensions!
17165
17166 2001-05-16  Juergen Vigna  <jug@sad.it>
17167
17168         * text2.C (SetCharFont): Add new function with BufferView * and
17169         bool toggleall parameters for setting insets internal fonts.
17170         (SetFont): Freeze the undo as we may change fonts in Insets and
17171         all this change should be inside only one Undo!
17172
17173         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17174         setting font's in insets as for them we have the SetFont function!
17175
17176 2001-05-15  Juergen Vigna  <jug@sad.it>
17177
17178         * text2.C (ClearSelection): to be sure we REALLY don't have any
17179         selection anymore!
17180
17181         * tabular.C (TeXCellPreamble): fixed the left border problem for
17182         multicolumn cells.
17183
17184 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17185
17186         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17187         dependancy file
17188
17189 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17190
17191         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17192         LFUN_BREAKPARAGRAPH.
17193
17194         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17195         help test to "internal only", similar for LFUN_INSERT_URL
17196
17197         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17198         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17199         auto_region_delete and deadkeys.
17200
17201 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17202
17203         * LColor.h:
17204         * LColor.C: remove some dead entries, tidy a little
17205
17206 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17207
17208         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17209         commented code.
17210         (Dispatch): implement LFUN_ESCAPE
17211
17212         * commandtags.h: add LFUN_ESCAPE
17213
17214         * LyXAction.C (init): add entry for LFUN_ESCAPE
17215
17216         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17217         Remove commented code.
17218         (insertNote): moved here
17219         (open_new_inset): moved here
17220
17221         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17222         BufferView_pimpl
17223
17224 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * kbmap.C (findbinding): clean it up and make it work correctly.
17227
17228         * lyx_main.C (init): do not pass argc and argv as parameters
17229
17230 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17231
17232         * buffer.C: fix path for OS/2 & Win32
17233
17234         * lyx_gui.C:
17235         * lyx_main:
17236         * lyx_main.C: Added os:: class.
17237
17238         * os2_defines.h: update
17239
17240 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17241
17242         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17243         better by trying again with reduced state.
17244
17245 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17246
17247         * lyxrc.C (read): print error about invalid key sequence only when
17248         debugging (because not all latinX keysyms are known to some X
17249         servers)
17250
17251         * kbsequence.C (getiso): add a few std:: qualifiers
17252         (getiso): comment out extra return statement.
17253
17254 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17255
17256         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17257         handling.
17258         (Dispatch): enhance the accent inset a bit. (not perfect)
17259
17260 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17261
17262         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17263
17264 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17265
17266         * bufferlist.C (emergencyWrite): fix assert() call
17267
17268 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17269
17270         * text.C (InsertChar): Added trivial patch to only send the "you
17271         can not do multiple spaces this way" message once during a
17272         session.
17273
17274 2001-05-08  Baruch Even  <baruch@lyx.org>
17275
17276         * Makefile.am: Changed order of libraries to get LyX to link properly
17277         with the gnome frontend.
17278
17279 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17280
17281         * LaTeXFeatures.h: add a std:: qualifier
17282
17283 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17284
17285         * paragraph.C (String): use stringstream
17286
17287 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17288
17289         * paragraph.C (writeFile): remove footflag arg
17290
17291         * buffer.C (makeLaTeXFile): use stringstream
17292         (latexParagraphs): remove footnot gurba
17293
17294         * LaTeXFeatures.C (getPackages): use stringstream
17295         (getMacros): likewise
17296         (getTClassPreamble): likewise
17297         (getFloatDefinitions): new method
17298
17299         * paragraph.C (writeFile): reindent
17300         (Erase): reindent
17301
17302         * WorkArea.h: revert the xpos + etc changes.
17303
17304         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17305
17306         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17307
17308         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17309         (pasteSelection): likewise
17310         * text2.C (CreateUndo): likewise
17311
17312 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17313
17314         * minibuffer.C (peek_event): temporarily reduce the functionality
17315         of the minibuffer (to allow args on lfuns)
17316
17317         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17318         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17319
17320         * buffer.C (readInset): add compability reading of old float
17321         lists, add reading of new style float list.
17322         (readInset): avoid reevaluation of inscmd.getCmdName()
17323         (getLists): reindent
17324
17325         * MenuBackend.C (MenuItem): implement parsing of
17326         md_floatlistinsert and md_floatinsert.
17327         (expand::LastFiles): move initalizaton of iterators out of loop,
17328         avoid reevaluation.
17329         (expand::Documents): introduce typdedef vector<string> Strings,
17330         and use it.
17331         (expand::ExportFormats): introduce typedef vector<Format const *>
17332         Formats, and use it.
17333         (expand): implement FloatListInsert and FloatInsert.
17334
17335         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17336         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17337         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17338
17339         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17340         handling.
17341         (Dispatch::LFUN_FLOAT_LIST): implement
17342
17343 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17344
17345         * LaTeX.C (run): Fix problem with --export code.
17346
17347 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17348
17349         * BufferView.[Ch] (workarea): removed.
17350         (getClipboard) new method; wrapper for workarea()->getClipboard()
17351
17352         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17353         bug.
17354
17355         * WorkArea.h (width, height, xpos, ypos): These methods all
17356         returned the dimensions of the work_area sub-area of WorkArea,
17357         resulting in a position error if the WorkArea were resized. Now
17358         return the dimensions of the entire WorkArea.
17359
17360         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17361
17362 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17363
17364         * LaTeX.C (deplog): correct the syntax of regex reg1
17365
17366 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17367
17368         * undo.C: remove !NEW_INSETS cruft
17369
17370 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17371
17372         * text2.C: remove !NEW_INSETS cruft
17373
17374         * text.C: remove !NEW_INSETS cruft
17375
17376         * tabular.C: remove !NEW_INSETS cruft
17377
17378         * spellchecker.C: remove !NEW_INSETS cruft
17379
17380         * lyxtext.h: remove !NEW_INSETS cruft
17381
17382         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17383
17384         * lyxfunc.C: remove !NEW_INSETS cruft
17385
17386         * lyxfind.C: remove !NEW_INSETS cruft
17387
17388         * lyx_cb.C: remove !NEW_INSETS cruft
17389
17390         * figureForm.C: remove  !NEW_INSETS cruft
17391
17392         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17393
17394         * buffer.[Ch]: remove !NEW_INSETS cruft
17395
17396         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17397
17398         * CutAndPaste.C: remove !NEW_INSETS cruft
17399
17400         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17401
17402         * BufferView2.C: remove !NEW_INSETS cruft
17403
17404         * BufferView.h: remove !NEW_INSETS cruft
17405
17406 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17407
17408         * Lsstream.h: include LString.h before the sstream headers to
17409         fix problem with gcc 2.95.3 and lyxstring
17410
17411 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17412
17413         * lyx_main.C: add using directives when needed for C functions
17414         declared in std:: namespace.
17415
17416 2001-04-27  Juergen Vigna  <jug@sad.it>
17417
17418         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17419         (SetHeightOfRow): comment out the update call should not be needed!
17420
17421 2001-04-13  Juergen Vigna  <jug@sad.it>
17422
17423         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17424         (LyXTabular): tried to minimize operator= operations (and realized
17425         hopfully Lars wish).
17426
17427 2001-04-27  Juergen Vigna  <jug@sad.it>
17428
17429         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17430
17431 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17432
17433         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17434
17435         * buffer.C (readInset): hack to make listof algorithm work
17436
17437         * BufferView_pimpl.C: hack to make listof algorithm work
17438
17439 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17440
17441         * LyXAction.C: removed all !NEW_INSETS cruft
17442         (init): moved lfun_item in method
17443
17444         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17445
17446 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17447
17448         * BufferView2.C (theLockingInset): white space.
17449
17450 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17451
17452         * minibuffer.C: include <iostream>
17453
17454         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17455
17456         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17457
17458         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17459
17460         * text.[Ch] (TransposeChars): new method
17461
17462 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17463
17464         * call message directly through LyXView instead of through LyXFunc
17465         * BufferView2.C: adjust
17466         * BufferView_pimpl.C: adjust
17467         * FontLoader.C: adjust
17468         * buffer.C: adjust
17469         * bufferview_funcs.C: adjust
17470         * converter.C: adjust
17471         * figureForm.C: adjust
17472         * importer.C: adjust
17473         * lyx_cb.C: adjust
17474         * lyx_gui_misc.C: adjust
17475         * lyxfunc.C: adjust
17476         * lyxvc.C: adjust
17477         * text2.C: adjust
17478         + more files in subdirs
17479
17480         * lyxparagraph.h (size): move up int file
17481         (GetLayout): ditto
17482
17483         * adjust all uses of Assert to lyx::Assert.
17484
17485         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17486         lyxfunctional in namespace lyx
17487         * layout.C (hasLayout): ditto
17488         (GetLayout): ditto
17489         (GetLayout): ditto
17490         (delete_layout): ditto
17491         (NumberOfClass): ditto
17492         * converter.C (GetFormat): ditto
17493         (GetNumber): ditto
17494         (Add): ditto
17495         (Delete): ditto
17496         (SetViewer): ditto
17497         * bufferlist.C (getFileNames): ditto
17498         (emergencyWriteAll): ditto
17499         (exists): ditto
17500         (getBuffer): ditto
17501         * MenuBackend.C (hasSubmenu): ditto
17502         (hasMenu): ditto
17503         (getMenu): ditto
17504         * BufferView_pimpl.C (getInsetByCode): ditto
17505
17506 2001-04-18  Juergen Vigna  <jug@sad.it>
17507
17508         * vspace.C (asLatexString): fixed the 100% problem.
17509
17510 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17511
17512         * lyxfunc.C (Dispatch):
17513         * minibuffer.C:
17514         * minibuffer.h: add a few std:: qualifiers
17515
17516 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17517
17518         * minibuffer.[Ch]: reimplement so that commands is initiated and
17519         run from lyxfunc, simplified som handling, and made the completion
17520         and history code for complete. wip.
17521
17522         * lyxfunc.C (processKeySym): call message
17523         (miniDispatch): new temporary method
17524         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17525         (LFUN_MESSAGE): implement
17526         (LFUN_MESSAGE_PUSH): implement
17527         (LFUN_MESSAGE_POP): implement
17528         (initMiniBuffer): the initial/defualt minibuffer message.
17529
17530         * lyxfont.[Ch]: inline some more getters
17531
17532         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17533
17534         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17535
17536         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17537         (AutoSave): use LFUN_MESSAGE
17538         (Reconfigure): ditto
17539
17540         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17541
17542         * figureForm.C: use LFUN_MESSAGE
17543
17544         * converter.C (runLaTeX): use LFUN_MESSAGE
17545
17546         * bufferview_funcs.C: use LFUN_MESSAGE
17547         (Melt): ditto
17548         (changeDepth): ditto
17549
17550         * bufferparams.h: use boost::
17551
17552         * bufferlist.h: inherit privately from noncopyable
17553
17554         * bufferlist.C (loadLyXFile): remove some commented code.
17555
17556         * buffer.C (runChktex): use LFUN_MESSAGE
17557
17558         * ShareContainer.h: inherit privately from noncopyable
17559
17560         * ParagraphParameters.[hC] (depth): inline it.
17561
17562         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17563         methods.
17564         (message): new method
17565         (messagePush): ditto
17566         (messagePop): ditto
17567         (show): init minibuffer
17568         (showState): direct call
17569
17570         * LaTeX.[Ch]: inherit privately from noncopyable
17571         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17572         instead of WriteStatus.
17573
17574         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17575
17576         * BufferView_pimpl.C (buffer): don't init minibuffer
17577         (workAreaButtonPress): use LFUN_MESSAGE
17578         (workAreaButtonRelease): ditto
17579         (savePosition): ditto
17580         (restorePosition): ditto
17581         (MenuInsertLyXFile): ditto
17582         (workAreaExpose): don't init minibuffer
17583         (update): remove commented code, simplify
17584
17585         * BufferView2.C (openStuff): use LFUN_MESSAGE
17586         (toggleFloat): ditto
17587         (menuUndo): ditto
17588         (menuRedo): ditto
17589         (copyEnvironment): ditto
17590         (pasteEnvironment): ditto
17591         (copy): ditto
17592         (cut): ditto
17593         (paste): ditto
17594         (gotoInset): ditto
17595         (updateInset): remove some commented code
17596
17597         * lastfiles.h: inherit privately from noncopyable
17598         * layout.h: ditto
17599         * lyx_gui.h: ditto
17600         * lyx_main.h: ditto
17601         * lyxlex.h: ditto
17602         * lyxlex_pimpl.h: ditto
17603
17604         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17605         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17606         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17607
17608         * LyXAction.h: inherit privately from noncopyable, add methods
17609         func_begin, func_end, returning iterators to the func map.
17610
17611         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17612         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17613         (func_begin): new method
17614         (func_end): new method
17615
17616         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17617         and not)
17618         (copySelection): ditto
17619         (pasteSelection): ditto
17620
17621         * BufferView.C: whitespace change
17622         * BufferView.h: inherit privately from noncopyable
17623
17624 2001-04-16  Allan Rae  <rae@lyx.org>
17625
17626         * tabular-old.C (l_getline):
17627         * spellchecker.C (sc_check_word):
17628         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17629         an unrecognised preprocessor directive.  So ensure they're wrapped.
17630
17631 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17632
17633         * src/exporter.C (Export): Give an error message when path to file
17634         contains spaces.
17635
17636 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17637
17638         * LaTeX.C (deplog): Always check that foundfile exists.
17639
17640 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17641
17642         * lyx_main.h:
17643         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17644
17645 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17646
17647         * tabular.[Ch] (getLabelList): implement new method
17648
17649         * minibuffer.h: comment ouf setTiimer
17650
17651         * minibuffer.C (ExecutingCB): constify res
17652         (peek_event): constify s
17653         (Set): constify ntext
17654         (Init): constify nicename
17655
17656         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17657
17658         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17659         (savePosition): use two params to Minibuffer::Set
17660         (restorePosition): ditto
17661
17662 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17663
17664         * lyx_main.C: include language.h
17665
17666         * Makefile.am (lyx_main.o): add language.h
17667
17668 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17669
17670         * exporter.C:
17671         * paragraph.C:
17672         * screen.C:
17673         * tabular.C:
17674         * CutAndPaste.C: include gettext.h
17675
17676         * lyxfont.h: remove old hack with ON and OFF.
17677
17678         * lyxparagraph.h:
17679         * lyxfont.h: do not include language.h...
17680
17681         * BufferView2.C:
17682         * LaTeXFeatures.C:
17683         * Painter.C:
17684         * bufferview_funcs.C:
17685         * font.C:
17686         * lyxfont.C:
17687         * text.C:
17688         * text2.C:
17689         * trans_mgr.C:
17690         * paragraph.C: ... but do it here instead
17691
17692 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17693
17694         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17695
17696         * tabular.C: small reformat
17697
17698         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17699         NEW_INSETS version
17700         (GetChar): ditto
17701         (BreakParagraph): ditto
17702         (SetOnlyLayout): ditto
17703         (SetLayout): ditto
17704
17705         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17706         with one arg less.
17707
17708         * lastfiles.C: removed most using decl, add std:: where needed
17709
17710         * buffer.C: ws changes
17711
17712         * MenuBackend.C (class compare_format): put into anon namespace
17713         (expand): constify label, names, action, action2
17714         (expand):
17715
17716         * text.C (SingleWidth): constify font
17717         (IsBoundary): constify rtl2
17718         (GetVisibleRow): constify ww
17719
17720         * LaTeX.C (deplog): constify logfile
17721
17722         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17723         start_x, end_x
17724         (workAreaExpose): constify widthChange, heightChange
17725
17726         * lyxrow.C (par): moved
17727         (height): moved
17728         (next): moved
17729         * lyxrow.h: as inlines here
17730
17731         * lyxfont.h (shape): moved from lyxfont.C
17732         (emph): moved from lyxfont.C
17733
17734         * lyxfont.C (LyXFont): use initialization list for all
17735         constructors
17736         (shape): move to lyxfont.h as inline
17737         (emph): move to lyxfont.h as inline
17738
17739
17740 2001-04-04  Juergen Vigna  <jug@sad.it>
17741
17742         * vspace.C: had to include stdio.h for use of sscanf
17743
17744 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17745
17746         * BufferView.h:
17747         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17748         independent of xforms.
17749
17750 2001-04-02  Juergen Vigna  <jug@sad.it>
17751
17752         * spellchecker.C: fixed namespace placing!
17753
17754 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17755
17756         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17757         the LyXParagraph * is 0.
17758
17759 2001-03-29  Juergen Vigna  <jug@sad.it>
17760
17761         * vspace.C: added support for %, c%, p%, l%.
17762         (stringFromUnit): added helper function.
17763         (asLatexString): changed to give right results for the %-values.
17764
17765         * buffer.C: convert the widthp in a width%.
17766
17767 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17768
17769         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17770         figureForm.[Ch].
17771
17772         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17773         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17774
17775         * lyx_cb.[Ch]: see above.
17776
17777         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17778         form1.[Ch].
17779
17780         * form1.[Ch]:
17781         * lyx.[Ch]: replaced by figure_form.[Ch].
17782
17783         * lyx_gui.C:
17784         * lyx_gui_misc.C:
17785         * lyxfunc.C: changed headers associated with above changes.
17786
17787 2001-03-27  Juergen Vigna  <jug@sad.it>
17788
17789         * BufferView_pimpl.C: set the temporary cursor right!
17790
17791 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17792
17793         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17794
17795 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17796
17797         * LString.h: removed "using std::getline"!
17798
17799         * BufferView_pimpl.C (Dispatch): changes due to changes in
17800         InsetInclude::Params.
17801
17802         * buffer.C (tag_name): removed redundant break statements as they were
17803         producing lots of warnings with my compiler.
17804
17805 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17806
17807         * LString.h: add "using std::getline" when using the real <string>.
17808
17809 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17810
17811         * buffer.C: removed bitset usage.
17812         PAR_TAG moved to an anonymous name space.
17813         (tag_name): new funtion, also in the anonymous namespace.
17814         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17815         (makeDocBookFile): clean code. Completed transition from string arrays
17816         to string vectors.
17817         (SimpleDocBookOnePar): code clean.
17818
17819 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17820
17821         * tabular.C: add some comments.
17822
17823 2001-03-22  Juergen Vigna  <jug@sad.it>
17824
17825         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17826         compatibility read a bit and fixed bug with minipage in different
17827         depth.
17828
17829 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17830
17831         * buffer.C (pop_tag): removed.
17832         (push_tag): removed.
17833         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17834         array replaced with vector. Added support for CDATA sections.
17835         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17836         at any nest level.
17837         (makeDocBookFile): XML conformant declaration of CDATA section,
17838         fixed bug related to <emphasis> in the first paragraph char.
17839         (sgmlOpenTag): exclude empty tags.
17840         (sgmlCloseTag): ditto.
17841
17842         * buffer.h (pop_tag): removed.
17843         (push_tag): removed.
17844
17845 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17846
17847         * language.h (Languages): added size_type and size().
17848
17849 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17850
17851         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17852         response on compability reading of minipages. One probliem is that
17853         the old usage of minipages was flertydig
17854
17855         * several files here and in subdirs: don't use static at file
17856         scope use anon namespaces instead.
17857
17858 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17859
17860         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17861         LaTeX output. This is necessary for Literate document
17862         processing.
17863
17864 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17865
17866         * buffer.C: insert hfill when needed.
17867
17868         * tabular.C (l_getline): use string::erase, small whitespace change.
17869
17870         * BufferView_pimpl.C: try the anon namespace.
17871         * WorkArea.C: ditto
17872
17873 2001-03-16  Juergen Vigna  <jug@sad.it>
17874
17875         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17876         otherwise it won't open options-dialogs.
17877
17878         * buffer.C: honor pextraWidth(p) on converting minipages.
17879
17880         * tabular.C (l_getline): changed the functions to strip trailing \r.
17881
17882 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17883
17884         * BufferView_pimpl.C:
17885         * minibuffer..C: added "using SigC::slot" declaration.
17886
17887 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17888
17889         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17890
17891         * text2.C: ditto
17892
17893         * text.C: ditto
17894
17895         * paragraph.C: ditto
17896
17897         * lyxtext.h: NO_PEXTRA
17898
17899         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17900
17901         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17902         * ParameterStruct.h: ditto
17903         * ParagraphParameters.h: ditto
17904         * lyxparagraph.h: ditto
17905
17906 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17907
17908         * buffer.C: add compability for minipage alignment.
17909         (latexParagraphs): remove unwanted pextra check.
17910
17911         * several files: remove CXX_WORKING_NAMESPACES
17912
17913         * buffer.C (pop_tag): tie is in namespace boost
17914
17915         * BufferView.h: noncopyable is in namespace boost
17916         * lyxlex.h: ditto
17917         * lyx_main.h: ditto
17918         * lyx_gui.h: ditto
17919         * layout.h: ditto
17920         * lastfiles.h: ditto
17921         * bufferlist.h: ditto
17922         * ShareContainer.h: ditto
17923         * LyXView.h: ditto
17924         * LyXAction.h: ditto
17925         * LaTeX.h: ditto
17926
17927 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17928
17929         * Merging changes from BRANCH_MVC back into HEAD.
17930
17931         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17932
17933 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17934
17935         * BufferView_pimpl.C: change from intl.C
17936
17937         * combox.h:
17938         * combox.C:
17939         * Makefile.am: move combox.*
17940
17941         * form1.h:
17942         * form1.C:
17943         * lyx_gui.C:
17944         * intl.h:
17945         * intl.C: remove dialog (covered by prefs)
17946
17947 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17948
17949         * lyxfunc.C (Dispatch): removed redundant break statement.
17950
17951 2001-03-14  Juergen Vigna  <jug@sad.it>
17952
17953         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17954
17955 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17956
17957         * buffer.C: add hack to fix compability reading of minipages.
17958
17959 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17960
17961         * buffer.C (getLists): Cleanup.
17962
17963 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17964
17965         * lyxfont.C (update): don't honor toggleall on font size.
17966
17967 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17968
17969         * bmtable.c:
17970         * bmtable.h:
17971         * Makefile.am: moved to frontends/xforms/
17972
17973         * lyx_gui_misc.C:
17974         * lyxfunc.C:
17975         * BufferView_pimpl.C: changes for moved mathpanel
17976
17977 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17978
17979         * gettext.h: fix gettext_init() in --disable-nls
17980
17981 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17982
17983         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17984
17985 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17986
17987         * lyx.C:
17988         * lyx.h: strip external form
17989
17990 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17991
17992         * BufferView_pimpl.C: add comment, destroySplash()
17993
17994 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17995
17996         * BufferView_pimpl.C:
17997         * LyXAction.C:
17998         * buffer.C:
17999         * commandtags.h:
18000         * lyxfunc.C: use re-worked insetinclude
18001
18002 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18003
18004         * buffer.C: add using std::stringstream.
18005
18006         * lyx_cb.C: readd using std::ios.
18007
18008         * buffer.C: add using std::map.
18009
18010         * BufferView_pimpl.C: add using std::vector.
18011
18012         * ShareContainer.h: add std:: to swap.
18013
18014         * buffer.h: add some typedefs
18015         * buffer.C (getLists): use them
18016         (getLists): renamed from getTocList.
18017         add a counter for the different float types and use it in the
18018         generated string.
18019         (getLists): use the same counter for the NEW_INSETS and the "non"
18020         NEW_INSETS
18021
18022         * lyx_cb.h: remove unused items, includes, using etc.
18023
18024         * ShareContainer.h: remove some commented code, add more comments
18025         and "documentation".
18026
18027 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18028
18029         * buffer.C (getTocList): make the list also when NEW_INSETS is
18030         defined.
18031
18032         * buffer.h: remove TocType
18033
18034         * buffer.C (getTocList): change to return a map<string,
18035         vector<TocItem> >, implement for dynamic number of list.
18036
18037         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18038         * text2.C (PasteSelection): adjust
18039         * CutAndPaste.C (pasteSelection): adjust
18040
18041         * FloatList.C (FloatList): update from the new_insets branch.
18042         * Floating.[Ch]: ditto
18043         * LaTeXFeatures.C: ditto
18044         * buffer.C: ditto
18045         * lyxlex_pimpl.C: ditto
18046
18047         * paragraph.C (Last): remove when NEW_INSETS is defined.
18048
18049         * other file: changes because of the above.
18050
18051 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18052
18053         * lyxparagraph.h: rename next to next_, previous to previous_,
18054         make them private for NEW_INSETS. Rename Next() to next(),
18055         Previous() to previous().
18056
18057         * other files: changes because of the above.
18058
18059 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18060
18061         * BufferView.h:
18062         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18063         problem.
18064
18065 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18066
18067         * main.C (main): pass lyx_localedir to gettext_init().
18068
18069         * gettext.h: remove locale_init and gettext_init macros
18070
18071         * gettext.C (locale_init): new function
18072         (gettext_init): new function
18073
18074         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18075         setlocale().
18076
18077 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18078
18079         * Moved credits to frontends:
18080         * credits.[Ch]: removed
18081         * credits_form.[Ch]: removed
18082         * lyx_gui_misc.C: remove credits stuff
18083         * Makefile.am:
18084
18085 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18086
18087         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18088
18089         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18090         unneeded destructor.
18091
18092         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18093         a standalone pointer again.
18094
18095         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18096
18097 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18098
18099         * Makefile.am:
18100         * filedlg.h:
18101         * filedlg.C:
18102         * LyXAction.C:
18103         * ToolbarDefaults.C:
18104         * bufferlist.C:
18105         * commandtags.h:
18106         * form1.C:
18107         * form1.h:
18108         * lyx_cb.C:
18109         * lyx_cb.h:
18110         * lyxfunc.h:
18111         * lyxfunc.C:
18112         * BufferView_pimpl.C: use new file dialog in GUII
18113
18114         * lyx_cb.h:
18115         * lyx_cb.C: remove LayoutsCB to Toolbar
18116
18117 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18118
18119         * ShareContainer.h (get): add std:: qualifier
18120
18121 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18122
18123         * ShareContainer.h: define a proper ShareContainer::value_type
18124         type (and use typename to please compaq cxx)
18125
18126 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18127
18128         * lyxparagraph.h: move serveral local vars to
18129         ParameterStruct/ParagraphParameters., use ShareContainer in
18130         FontTable., make vars in FontTable private and add getter and
18131         setter.
18132
18133         * paragraph.C: changes because of the above.
18134
18135         * lyxfont.h: remove copy constructor and copy assignment. (the
18136         default ones is ok), move number inside FontBits. move inlines to
18137         lyxfont.C
18138
18139         * lyxfont.C: add number to initializaton of statics, move several
18140         inlines here. constify several local vars. some whitespace
18141         cleanup. Dont hide outerscope variables.
18142
18143         * Spacing.h: add two new constructors to match the set methods.
18144
18145         * ShareContainer.h: new file, will perhaps be moved to support
18146
18147         * ParameterStruct.h: new file
18148
18149         * ParagraphParameters.h: new file
18150
18151         * ParagraphParameters.C: new file
18152
18153         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18154         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18155
18156         * BufferView_pimpl.C: ParagraphParameter changes.
18157         * buffer.C: Likewise.
18158         * bufferview_funcs.C: Likewise.
18159         * text.C: Likewise.
18160         * text2.C: Likewise.
18161
18162 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18163
18164         * lyxfind.C (LyXReplace): do not redefine default argument in
18165         implementation.
18166         (IsStringInText): ditto
18167         (SearchForward): ditto
18168         (SearchBackward): ditto
18169
18170 2001-03-06  Juergen Vigna  <jug@sad.it>
18171
18172         * lyxfind.C (IsStringInText): put parentes around expressions.
18173
18174 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18175
18176         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18177
18178 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18179
18180         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18181
18182         * stl_string_fwd.h: add comment
18183
18184         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18185
18186         * tabular.h:
18187         * tabular.C: remove unused DocBook methods
18188
18189         * intl.C:
18190         * language.C:
18191         * paragraph.C:
18192         * buffer.C:
18193         killed DO_USE_DEFAULT_LANGUAGE
18194
18195 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18196
18197         * lyx_gui.C: do not include language.h.
18198
18199         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18200         arguments in function implementation.
18201
18202 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18203
18204         * BufferView_pimpl.C: add <ctime>
18205
18206 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18207
18208         * BufferView_pimpl.C: add using std::find_if
18209
18210 2001-02-27  José Matos  <jamatos@fep.up.pt>
18211
18212         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18213         by OnlyPath.
18214
18215 2001-02-11  José Matos  <jamatos@fep.up.pt>
18216
18217         * buffer.C (makeDocBookFile): command styles now have a parameter as
18218         "title" by default.
18219
18220 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18221
18222         * layout_forms.[Ch]: removed
18223         * lyx_cb.[Ch]: out character
18224         * lyx_gui.C: out character
18225         * lyx_gui_misc.C: out character
18226         * bufferview_funcs.C: : out character,
18227         added toggleall as parameter in ToggleAndShow
18228
18229 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18230
18231         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18232
18233         * text2.C (SetCurrentFont): Disable number property at boundary.
18234
18235 2001-02-26  Juergen Vigna  <jug@sad.it>
18236
18237         * lyxfunc.C (getStatus): added a string argument override function so
18238         that this is correctly called from LyXFunc::Dispatch if it contains a
18239         do_not_use_argument which is used!
18240         (Dispatch): added check for "custom" export and call appropriate func.
18241
18242 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18243
18244         * lyxrc.C: Add language_command_local, language_use_babel and
18245         language_global_options.
18246
18247         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18248
18249         * buffer.C (makeLaTeXFile): Use language_use_babel and
18250         language_global_options.
18251
18252 2001-02-23  Juergen Vigna  <jug@sad.it>
18253
18254         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18255         which works with LyXText and putted it inside BufferView. Here now we
18256         only call for that part the BufferView::Dispatch() function.
18257
18258         * BufferView.C (Dispatch): added.
18259
18260         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18261         functions which needs to use a LyXText over from LyXFunc.
18262         (MenuInsertLyXFile): added
18263         (getInsetByCode): added
18264         (moveCursorUpdate): added
18265         (static TEXT): added
18266
18267 2001-02-22  Juergen Vigna  <jug@sad.it>
18268
18269         * BufferView_pimpl.C (update): call a status update to see if LyXText
18270         needs it.
18271
18272 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18273
18274         * vc-backend.C (revert): implement for CVS
18275         (getLog): implement for CVS
18276
18277 2001-02-20  Juergen Vigna  <jug@sad.it>
18278
18279         * text2.C (ClearSelection): added BufferView param for inset_owner call
18280
18281         * lyxfunc.C (TEXT): added this function and use it instead of
18282         directly owner->view()-text of getLyXText().
18283
18284 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18285
18286         * src/layout_forms.C: out preamble
18287         * src/layout_forms.h: out preamble
18288         * src/lyx_cb.C: out preamble
18289         * src/lyx_cb.h: out preamble
18290         * src/lyx_gui.C: out preamble
18291         * src/lyx_gui_misc.C: out preamble
18292         * src/lyxfunc.C: connect with guii preamble
18293
18294 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18295
18296         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18297
18298 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18299
18300         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18301         whether to run bibtex.
18302
18303 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18304
18305         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18306
18307 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18308
18309         * Makefile.am (lyx_SOURCES): removed bibforms.h
18310
18311         * vspace.h: doxygen
18312
18313         * text.C (GetVisibleRow): make several local vars const
18314
18315         * tabular.C: small cleanup.
18316
18317         * lyxserver.C (callback): use compare instead of strncmp
18318
18319         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18320         inlines to after class or to paragraph.C
18321
18322         * lyxfont.h: remove friend operator!=
18323
18324         * converter.h: move friend bool operator< to non friend and after
18325         class def.
18326
18327         * combox.h: small cleanup
18328
18329         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18330         to inlines after class def.
18331
18332         * buffer.C (pop_tag): use string operations instead of strcmp
18333
18334         * bmtable.c: doxygen, small cleanup
18335
18336         * LaTeX.h: remove friend operator==
18337
18338 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18339
18340         * screen.C:
18341         * lyxrc.[Ch]:
18342         * lyxfunc.C:
18343         * lyxfont.[Ch]:
18344         * lyx_cb.C:
18345         * intl.[Ch]:
18346         * commandtags.h:
18347         * buffer.C:
18348         * WorkArea.[Ch]:
18349         * LyXAction.C:
18350         * BufferView_pimpl.C:
18351         * BufferView.[Ch]: remove cruft
18352
18353 2001-02-14  Juergen Vigna  <jug@sad.it>
18354
18355         * lyxfunc.C: removed #if 0 unused code
18356
18357         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18358
18359         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18360
18361         * text2.C (SetSelection): added a BufferView * parameter
18362
18363 2001-02-13  Juergen Vigna  <jug@sad.it>
18364
18365         * lyxfunc.C (Dispatch): fixed protected blank problem.
18366         * BufferView2.C (protectedBlank): added LyxText * parameter.
18367
18368         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18369         (AppendColumn): same as above for column_info.
18370
18371         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18372         (moveCursorUpdate): use a LyXText param for support of InsetText.
18373
18374         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18375         (tripleClick): ditto
18376
18377         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18378
18379         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18380
18381         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18382
18383         * text2.C (SetSelection): set correct update status if inset_owner
18384         (ToggleFree): ditto
18385
18386 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18387
18388         * tabular.C: remove some commented code.
18389
18390 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18391
18392         * BufferView_pimpl.C: call hideSplash()
18393
18394         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18395
18396         * include_form.h:
18397         * bibforms.h: remove
18398
18399         * lyxfunc.C:
18400         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18401           add LFUN_CHILD_CREATE
18402
18403         * counters.h: fix tiny typo
18404
18405         * lyx_cb.C:
18406         * lyx.h:
18407         * lyx_gui.C:
18408         * lyx.C: move splash to frontends/xforms/
18409
18410         * lyx_gui_misc.C: move Include and Bibform to frontends
18411
18412         * lyxvc.h: clarify comment
18413
18414         * vspace.C: tiny housekeeping
18415
18416 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18417
18418         * text.C (PrepareToPrint): RTL Fix.
18419
18420         * paragraph.C (GetUChar): New method.
18421         (String):  Use GetUChar.
18422
18423         * buffer.C (asciiParagraph): Use GetUChar.
18424
18425 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18426
18427         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18428
18429 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18430
18431         * buffer.h:
18432         * buffer.C: rename to getLogName(), handle
18433           build log / latex log nicely
18434
18435 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18436
18437         * MenuBackend.C:
18438         * MenuBackend.h: remove support for reference menuitem type.
18439
18440 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18441
18442         * BufferView_pimpl.C: housekeeping
18443         * BufferView_pimpl.h:
18444         * LyXView.h:
18445         * Makefile.am:
18446         * Timeout.C:
18447         * Timeout.h:
18448         * minibuffer.h: move Timeout GUI-I
18449
18450 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18451
18452         * lyxrc.C (read): Update converters data-structures.
18453
18454 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18455
18456         * LaTeX.h (operator!=): add operator != for Aux_Info
18457
18458 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18459
18460         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18461
18462         * LaTeXLog.C: deleted, useful code moved to Buffer
18463
18464         * buffer.h:
18465         * buffer.C: new function getLatexLogName()
18466
18467         * lyx_gui_misc.C:
18468         * lyx_gui.C:
18469         * lyxvc.C:
18470         * lyxvc.h:
18471         * lyxfunc.C: use frontends for LaTeX and VC logs
18472
18473 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18474
18475         * LaTeX.h: yet another std:: that Allan forgot.
18476
18477         * Variables.C (set): renamed from isset(), because this clashes
18478         with some HP-UX macros (grr).
18479
18480 2001-02-06  Allan Rae  <rae@lyx.org>
18481
18482         * LaTeX.h: Another bug fix.  Missing std:: this time.
18483
18484 2001-02-04  Allan Rae  <rae@lyx.org>
18485
18486         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18487         floats problem. I've left it commented out because it's not quite
18488         correct.  It should also test that the current object is a table or
18489         figure inset.  But I haven't gotten around to figuring out how to do
18490         that.  I *think* it'll be something like: "table" == inset.type()
18491
18492         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18493         bool.
18494
18495 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18496
18497         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18498         all the citation/databases/styles in the auxilary file.
18499         (run): Rerun latex if there was a babel language error.
18500
18501 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18502
18503         * text.C (Backspace): Preserve the font when changing newline char
18504         with a space.
18505         (BreakParagraph): If the cursor is before a space, delete the space.
18506
18507         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18508
18509 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18510
18511         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18512         new argument (code).
18513         (ChangeCitationsIfUnique): New method.
18514
18515         * paragraph.C (GetPositionOfInset): Handle bibkey.
18516
18517 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18518
18519         * BufferView_pimpl.h: change type of Position::par_pos to
18520         LyXParagraph::size_type.
18521
18522 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18523
18524         * BufferView_pimpl.C (savePosition, restorePosition): Write
18525         messages to minibuffer.
18526
18527 2001-01-28  José Matos  <jamatos@fep.up.pt>
18528
18529         * buffer.C (makeDocBookFile): adds support for document language.
18530         A silly restriction on the name of LatexCommand types where removed.
18531         Added support for CDATA sections, allows to chars unescaped, used
18532         among others in code, to avoid escape < and >.
18533
18534 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18535
18536         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18537         saved positions instrad of a stack. Furthermore, a position is
18538         stored using paragraph id/paragraph position.
18539
18540         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18541         Remove LFUN_REF_BACK.
18542
18543 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18544
18545         * converter.C (dvipdfm_options): New method.
18546
18547 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18548
18549         * vspace.C (isValidLength): Fix for empty input string.
18550
18551 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18552
18553         * LyXAction.C (init): change description of LFUN_FIGURE to
18554         "Insert Graphics"
18555
18556 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18557
18558         * LaTeX.C: add using directive
18559
18560 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18561
18562         * MenuBackend.C (expand): Fix the sorting of the formats.
18563
18564 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18565
18566         * lyx_main.C: tiny error message fix
18567
18568 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18569
18570         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18571         calling fl_initialize(). This fixes the problem with ',' as
18572         decimal separator in text files.
18573
18574 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18575
18576         * trans.C (process): Fix the keymap bug.
18577
18578 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18579
18580         * LaTeX.C (scanAuxFiles): New method. Provides support for
18581         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18582         (scanLogFile) Scan for "run BibTeX" messages.
18583
18584         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18585         OT1 font encoding. Also, load the aecompl package if the ae
18586         package is loaded.
18587
18588         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18589
18590 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18591
18592         * texrow.C (increasePos): turn two error messages into debug
18593         messages.
18594
18595 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18596
18597         * LaTeX.C (scanAux): Handle the \@input macro.
18598         (runBibTeX): Use scanAux().
18599
18600         * language.C (latex_options_): New field.
18601
18602         * LaTeXFeatures.C (getMacros): Add language macros.
18603
18604         * buffer.C (makeLaTeXFile): Small fix.
18605
18606 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18607
18608         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18609
18610         * text2.C: add a using directive.
18611
18612 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18613
18614         * BufferView2.C:
18615         * lyx_gui_misc.h:
18616         * lyxfr1.C:
18617         * lyxfunc.C: kill LyXBell.
18618
18619 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18620
18621         * text.C (IsBoundary): Remove the error message
18622
18623         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18624
18625         * lyxrc.C (setDefaults): Correct initialization value for
18626         font_norm_type.
18627
18628 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18629
18630         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18631         gotoError().
18632
18633         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18634         and GotoNextNote().
18635
18636         * src/LyXAction.C: Added reference-next.
18637
18638         * text.C (InsertChar): Use contains instead of strchr.
18639
18640         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18641
18642 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18643
18644         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18645         alignment commands (when needed).
18646
18647         * text.C (InsertChar): Add ':' to number separator chars.