]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
cd425edf9314bea7ff158c903aacaa92bd74a729
[lyx.git] / src / ChangeLog
1 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * cursor.C (goUpDown): comment out some debug messages.
4
5         * counters.C (newCounter): make error messages more explicit
6         (these appear with some textclasses like beamer)
7
8 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9
10         * kbmap.C (defkey): 
11         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
12         have origin set to KEYBOARD. (bug 2221)
13
14 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15
16         * rowpainter.C (isCursorOnRow): do not exclude endpos().
17
18 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * cursor.C (macroModeClose): returns true if an inset actually got
21         inserted; revert faulty fix to bug 2034.
22
23 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * tabular.C (getLabelList): remove (not used anymore).
26
27 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
28
29         * outputparams.[Ch]: add new flag inComment
30
31 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * text2.C (deleteEmptyParagraphMechanism): since we delete a
34         paragraph, recordUndo should span two paragraphs (bug 2155).
35
36 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
37
38         * rowpainter.C (paintPar): always repaint the row with the
39         cursor in it
40
41 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
42
43         * MenuBackend.h: 
44         * bufferlist.h: 
45         * lyxtext.h: 
46         * paragraph.h:
47         * vspace.h: fix syntax error
48
49 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
50
51         * text3.C (dispatch): Force refresh if typing into inset changes its
52                               metrics
53
54 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
55
56         * RowList_fwd.h:
57         * paragraph.C:
58         * paragraph.h:
59         * rowpainter.C: Speed up rendering by only re-painting rows that
60         have changed. When selection or whole-screen update active, all rows
61         are repainted, as are all rows within insets.
62
63 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * version.C.in: Use PACKAGE_VERSION instead of VERSION
66
67 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * tabular.C (toggleFixedWidth): Use default layout of text class
70         instead of hardcoded "Standard"
71
72 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * lyxfunc.C (dispatch): do not call getStatus again to determine
75         whether a lfun is disabled (bug 2172).
76
77 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * cursor.C (macroModeClose): set the cursor inside the new math
80         atom if relevant (think \frac{}{}) (bug 2034)
81
82 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
83
84         * lyxtext.h:
85         * text.C:
86         * text3.C (Delete, backspace): force update when merging paragraphs
87
88 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * BufferView.C (mouseSetCursor): clear the selection properly (bug
91         2163). 
92
93 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
94
95         * text.C (redoParagraph): honor inset->noFontChange()
96         * rowpainter.C (paintInset): ditto
97
98 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
99
100         * lyx_main.C (priv_exec): don't initialize Math on startup 
101         (initMath() has been moved to math_hullinset).
102
103 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
106         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
107         * paper.h: dispose dead PAPER_PACKAGES enum.
108
109 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
112         without X support.
113
114 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
115
116         * exporter.C (Export): Don't try to copy a file if it does not exist
117         (bug 1888)
118
119 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * text2.C (makeFontEntriesLayoutSpecific): remove.
122         (setLayout): adapt.
123
124         * text.C (insertChar): remove bogus caching of fonts (did not do
125         anything). 
126
127         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
128         ALL_SANE). (bug 2146)
129
130 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * rowpainter.C (paintFirst): fix centering of
133         LABEL_CENTERED_TOP_ENVIRONMENT. 
134
135 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * BufferView.C (mouseSetCursor): new method. Calls
138         deleteEmptyParagraphMechanism if necessary.
139
140         * lyxtext.h: make deleteEmptyParagraphMechanism public.
141
142         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
143         BufferView::mouseSetCursor (bug 2109).
144         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
145
146 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
147
148         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
149         do not remove it (this inset behaves differently from the others).
150
151 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         Fix bug 2096.
154         
155         * BufferView_pimpl.C (getStatus): it is only possible to insert a
156         file in a text inset.
157
158         * buffer.C (readDocument): remove pit argument and code releated
159         to it; set the inset owner correctly (unrelated, but useful).
160         (readFile): get rid of pit argument.
161
162         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
163         textclass instead of a selection index.
164         (pasteParagraphList): new function.
165         (pasteSelection): make it a wrapper around pasteParagraphList.
166
167         * BufferView_pimpl.C (MenuInsertLyXFile): use
168         cap::pasteParagraphList to insert a file.
169
170 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
171
172         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
173
174 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
175
176         * exporter.C: fix typo in text message
177
178 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * text2.C (setLayout): move recUndo call to other setLayout method
181         * tabular.C (toggleFixedWidth): new, handle cell width changes
182         * tabular.C (setColumnPWidth): move some code from insettabular.C here
183         and use toggleFixedWidth
184         * tabular.C (setMColumnPWidth): ditto
185
186 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
187
188         * paragraph.C (asString): use new inset->textString method (fix
189         bug 2089) 
190
191 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * CutAndPaste.C (numberOfSelections): new helper function.
194
195         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
196
197         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
198         LyXFunc::getStatus; implement LFUN_PASTE.
199
200 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * dociterator.[Ch]: new member realInset() that returns the cell
203         for tabulars and the inset for the rest (bug 1952).
204         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
205         (bug 1952).
206
207 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
210
211 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * lyxfunc.C:
214         * paragraph.C:
215         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
216         argument.
217
218 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
221         line after typing ctrl-enter
222
223 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
226         math insets do not return a proper editable() state yet (bug 2124).
227
228 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
229
230         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
231         docs containing very large paragraphs.
232
233 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * cursor.C (selectionBegin, selectionEnd):
236         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
237         cursor at different depths.
238
239 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
240
241         * bufferview_funcs.C (coordOffset): do not call cursorPos
242         for collapsed collapsables (fix bug 2094).
243
244 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * paragraph.C (fontSpan): make sure that the FontSpan does not
247         span across beginOfBody (bug 1947).
248
249 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
252
253 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
254
255         * messages.C: fix crash and localization on MinGW/Windows platform
256
257 2005-11-02  Angus Leeming  <leeming@lyx.org>
258
259         * Bidi.C:
260         * lyxtextclass.C: trivial fixes to some MSVS warnings.
261
262 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
263
264         * text3.C (getStatus): re-enable disabled code. (bug 2081)
265
266         * BranchList.h (empty): constify.
267
268 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * text3.C (getStatus): 
271         * MenuBackend.C (expandBranches): take the branch list from the
272         master document (bug 2092).
273         
274         * MenuBackend.C (expandBranches): 
275         * bufferparams.C (writeFile): use BranchList type.
276
277 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * text3.C (dispatch, getStatus): 
280         * LyXAction.C (init): 
281         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
282
283 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
286
287 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * text.C (insertChar): do not reset boundary (bug 2061)
290
291 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * dociterator.C (updateInsets): new method. Updates the inset_
294         cache of all the slices of the iterator.
295
296         * text2.C (deleteEmptyParagraphMechanism): compare also containing
297         insets when comparing pit/pos; pass the right cursor to
298         recordUndo; when a paragraph has been deleted, compare `old.top()' to
299         the right cursor slice of `cur'; use updateInsets on cur to make
300         sure that the inset caches are correct; general cleanup.
301
302 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
305         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
306         containg inset. If this does not work, the same command will be
307         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
308
309         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
310         a dispatch.
311
312 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
313
314         * lyxtextclass.C (Read): convert layout file if the format is wrong
315         * lyxtextclass.C (layout2layout): new, needed for the above
316
317 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * messages.C: do not forget to include <cerrno>.
320
321 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * dociterator.h (StableDocIterator): add access to pos().
324         * undo.C (samePar): new method to check if two
325         iterators are in the same paragraph
326         * undo.C (recordUndo): check for samePar instead of cell identity
327         (which includes pos() and is too strict) (fixes bug 2097)
328
329 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * text.C (setCursorFromCoordinates): return a bool telling whether
332         dEPM triggered.
333
334         * text3.C (cursorPrevious): update if needed after
335         setCursorFromCoordinates (when dEPM triggered).
336
337         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
338         (otherwise the anchor may be completely wrong and make dEPM assert).
339
340 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
341
342         * buffer.C: version upgrade to 245.
343         * bufferparams.C: remove \quotes_times (bug 2090).
344         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
345         quotation marks as default.
346
347 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * CutAndPaste.C (nrOfParagraphs): remove (unused)
350         * CutAndPaste.C (cutSelection): Remove debug message
351         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
352         undo information and only copy if this is a real cut
353         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
354         call
355         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
356         (bug 2059)
357         * CutAndPaste.C (eraseSelection): prevent cursor corruption
358         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
359         superflous cur.selection() setting
360         * CutAndPaste.[Ch] (grabSelection): take a const cursor
361         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
362
363 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
364
365         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
366         change anything.
367
368 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * BufferView_pimpl.C: comment layout change
371
372 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
373
374         * LyXAction.C:
375         * lfuns.h:
376         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
377         by bibliography managers (bug 2071).
378
379 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
380
381         * BufferView_pimpl.C (update): choose arguments to update call so
382         that single-par update works most times
383         * text3.C (dispatch): carefully tune updating separately for
384         whole-screen and current-paragraph
385         * rowpainter.C (paintText): 1) replace painting by caching for
386         the two extra paragraphs, because we can;
387         2) suppress greying out of areas below/above drawn area in case of
388         single-par refresh
389         * lyxfunc.C (dispatch): remove superfluous update
390         * LyXAction.[Ch]: introduce SingleParUpdate
391
392 2005-10-05  Angus Leeming  <leeming@lyx.org>
393
394         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
395         always initialised before use.
396
397         * text.C (setHeightOfRow): squash warning about comparison
398         of signed and unsigned types.
399
400 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * text.C (cursorX): two fixes involving RtL text drawing
403
404 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
407         items, not only large ones (part of bug 2057)
408
409 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
412         argument, use "newcommand".
413
414 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * cursor.C (setSelection): do not open collapsable insets;
417         the insets do by themselves now (autoopen).
418
419 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
420
421         * buffer.C: format is up to 244.
422
423 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
424
425         * text.C (redoParagraph): fix calcultation of inset width wrt 
426         leftMargin (bug 1957).
427
428         * text3.C (dispatch): leave inset to the right when hitting ESC 
429         (bug 2034).
430
431 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * text2.C: 
434         * text.C: 
435         * factory.C:
436         * messages.C: include <boost/current_function.hpp> 
437
438 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
441         when command is internal. (bug 1941)
442
443 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text2.C (cursorRight): do not honor boundary when at the end of
446         a paragraph. (bug 2010 again)
447
448 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
451
452 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * rowpainter.C (paintText): fix RtL space width display bug (2029)
455
456 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * text2.C (setCursor): remove the unused 'boundary' parameter for
459         the CursorSlice version; adapt the LCursor version.
460
461         * lyxrc.C (write): 
462         * paragraph_pimpl.C (markErased): 
463         * cursor.C (bruteFind2, bruteFond3): fix warnings.
464
465 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
468         as is already done for "chapter".
469
470 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
473         textclass; do not record undo if nothing is changed.
474
475 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
476
477         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
478
479 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
480
481         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
482
483 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
486         combox, it is necessary to search for the topmost paragraph in the
487         cursor stack (bug 1926)
488
489 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
492         end of paragraph. (bug 2010)
493
494 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
495
496         * text.C (leftMargin): check for inInset == 0
497
498 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
499
500         * text.C (leftMargin): test for insetbase's new neverIndent()
501         bool instead of listing each and every inset that does not
502         wish par indendation.
503
504 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * buffer_funcs.C (setCounter): put the code to compute enum label
507         here (where it belongs).
508
509         * counters.C (enumLabel): move code to buffer_funcs.C.
510
511 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
512
513         * outputparams.[Ch]: store local_font instead of local_language
514         * paragraph.C (simpleTeXOnePar): adapt to the change above
515
516 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
517
518         * buffer_funcs.C:
519         * counters.[Ch]: clean up special code for Hebrew.
520
521 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
524         than 2.
525
526 2005-09-08  Angus Leeming  <leeming@lyx.org>
527
528         * ispell.C:
529         * lyxrc.C: correct grammar describing invocation of the
530         spellchecker.
531
532 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * text.C (read): remove unused variable.
535         (readParToken): remove static Change variable (never good in
536         recursive settings...); add it as a parameter instead.
537
538         * paragraph_pimpl.C (acceptChange): make debug info conditional.
539
540         * metricsinfo.C (PainterInfo): add new member erased_.
541
542         * rowpainter.C (RowPainter): add erased_ member, initialized from
543         PainterInfo. 
544         (paintInset): pass erased_ to Inset::draw.
545
546         * lyxfunc.C (lookupChange): new function. Tells whether change 
547         tracking is disabled at a given postion.
548         (getStatus): disable some actions when in deleted text with change
549         tracking. 
550
551 2005-08-03  John Levon  <levon@movementarian.org>
552         
553         * tabular.C (appendColumn, setMultiColumn): adapt to change to
554         InsetText::clear().
555
556         * paragraph_pimpl.C (markErased): add bool argument and handle it.
557         Also make sure to mark insets recursively.
558         (rejectChange, erase): be recursive
559
560         * paragraph.C (markErased): add bool argument.
561 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * lyxfind.C (findNextChange): tiny cleanup.
564
565         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
566         change tracking with the cursor in an inset; make sure the first
567         change is not skipped.
568
569 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
572         tabularStackDirty to work around bug 1919 (tabular needs
573         to know whether its own cell paste buffer or the one of 
574         texted is newer.
575         * CutAndPaste.C: mark tabular_stack_ clean after copy.
576
577 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
578
579         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
580
581 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
584         use old deleteion algorithm when changetracking is on.
585
586 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * messages.C (get): add debug output.
589
590 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
591
592         * text.C (cursorX): fix bug 1965: cursor movement at
593         line end broken in RtL.
594         (drawSelection): fix bug 1970: drawing of single-line 
595         selection broken for RtL.
596
597 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
598
599         bug 465.
600
601         * dociterator.h (clear, push_back, pop_back): change from
602         protected to public.
603
604         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
605         and changed to just return the value of the item depth; take a
606         ParIterator as argument; take the itemdepth at outer nesting level
607         in account if necessary; cleanup and comment the code.
608         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
609         and changed to just return true if reset is needed; take a
610         ParIterator as argument; cleanup and comment the code.
611         (setCounter): adapt to above changes.
612
613 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * text3.C (dispatch): make debug message optional
616
617 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
620         inset. (bug 1963)
621
622 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
623
624         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
625
626 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
627
628         * text.C (insertChar):
629         * text2.C (deleteEmptyParagraphMechanism): take care whether 
630         a blank has been deleted (in change tracking mode) (bug 1254).
631
632 2005-07-20  John Levon  <levon@movementarian.org>
633
634         * text2.C (insertStringAsLines): remove old dubious code,
635         fixing bug 1939.
636
637 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * MenuBackend.C (expandToc): use Floating::listName() as title of
640         the floats submenus.
641
642 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
643
644         * toc.[Ch]: Do not use translatable strings (bug 1870).
645
646 2005-07-20  John Levon  <levon@movementarian.org>
647
648         * tabular.C: fix 1748 - setting multicolumn adds
649           left line to the first cell
650
651 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
652
653         bug 1920
654         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
655         pars in one go.
656
657 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
658
659         * messages.C: supress some lyxerr messages
660
661 2005-07-18  Juergen Vigna  <jug@lyx.org>
662
663         * text.C (drawSelection): honor boundary when asking for cursorX.
664
665 2005-07-17  José Matos  <jamatos@fc.up.pt>
666
667         * tabular.C (recalculateMulticolumns): fix handling of one column
668         tables.
669
670 2005-07-17  Juergen Vigna  <jug@lyx.org>
671
672         * text.C (Delete, backspace): fixed so that paragraph with the
673         same layout can be merged by Delete/Backspace.
674
675 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
676
677         * text.C (readParToken): fix spelling.
678
679 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
680
681         * text2.C: fix counter update for DEPM problem reported by
682         Georg Baum
683
684 2005-07-17  Juergen Vigna  <jug@lyx.org>
685
686         * BufferView_pimpl.C (setBuffer): save/restore the
687         cursor/selection when switching buffers
688
689         * buffer.h: 
690         * buffer.C (saveCursor): add saveDocumentIterators to save the
691         cursor when switching buffer.
692
693 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
694
695         * debug.C: fix typo
696         * buffer.C: clarify message
697         
698 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
699
700         * dociterator.C (DocIterator): fix initialization order
701
702 2005-07-17  Juergen Vigna  <jug@lyx.org>
703
704         * text2.C (cursorHome): 
705         * text.C (drawSelection, cursorX): 
706         * dociterator.C (textRow): add boundary to getRow() call
707
708         * paragraph.C (getRow): implementation of below
709
710         * paragraph.h: add parameter boundary for getRow() function
711
712 2005-07-17  José Matos  <jamatos@fc.up.pt>
713
714         * buffer.C:
715         * bufferparams.[Ch]:
716         * tex-strings.[Ch]: new file format, remove support for a4.sty,
717         a4wide.sty and a4widemargins.
718
719 2005-07-17  Juergen Vigna  <jug@lyx.org>
720
721         * text2.C (cursorLeft): fix one of error
722
723 2005-07-17  Juergen Vigna  <jug@lyx.org>
724
725         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
726                    cursorEnd):
727         more fixes for boundary handling
728
729         * text3.C (dispatch): don't reset cursor if boundary has changed
730         on cursor movement.
731
732 2005-07-16  Juergen Vigna  <jug@lyx.org>
733
734         * text2.C (getColumnNearX): hopefully got it right now,
735         check if we are on column 0 for special case.
736
737 2005-07-16  Juergen Vigna  <jug@lyx.org>
738
739         * text2.C (getColumnNearX): handle special case Newline Inset
740
741         * text.C (singleWidth): Just remove bogus check
742
743 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
744
745         * funcrequest.C (split): avoid reading uninitialized char c
746
747 2005-07-16  José Matos  <jamatos@fc.up.pt>
748
749         * buffer.C:
750         * converter.C:
751         * lyxrc.C:
752         * paper.h:
753         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
754         single papersize variable.
755
756 2005-07-16  Juergen Vigna  <jug@lyx.org>
757
758         * text3.C (dispatch): honor boundary when checking if a cursor
759         movement has been done
760
761         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
762         (setCursor, setCursorIntern): fix cursor movement with boundary
763
764 2005-07-16  Juergen Vigna  <jug@lyx.org>
765
766         * text.C (currentState): output the actual Boundary
767
768 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
769
770         * factory.C (createInset): fix bad logic for tabular creation
771
772 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
773
774         * lyx_main.C (init): change some reLyX reference to tex2lyx
775
776 2005-07-16  Juergen Vigna  <jug@lyx.org>
777
778         * dociterator.C (DocIterator): initialize boundary
779
780 2005-07-16  Juergen Vigna  <jug@lyx.org>
781
782         * text2.C (getColumnNearX): Consider rows without trailing blank.  
783
784 2005-07-16  André Pönitz  <poenitz@gmx.net>
785
786         * lyxfont.h: Change order of declarations to give the compiler
787         a better chance to inline things
788
789         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
790         questions on unsaved docs for better scritability
791
792 2005-07-16  André Pönitz  <poenitz@gmx.net>
793
794         * paragraph.h (getChar): remove asserts as the same kind of security
795         can be achieved by using a suitable standard library implementation
796         and the function was in the critical path (25.9% in profiler)
797
798 2005-07-16  Juergen Vigna  <jug@lyx.org>
799
800         * cursor.C (bruteFind2):
801         * bufferview_funcs.C (coordOffset): 
802         * text.C (cursorX,cursorY): Handle cursor position after last char
803         in row before a inset which uses a whole row.
804
805 2005-07-15  José Matos <jamatos@lyx.org>
806
807         * output_plaintext.[Ch] (writeFileAscii): control reference title
808         printing.
809         (asciiParagraph): noparbreak was already deal and was incorrectly
810         used.
811
812 2005-07-15  Juergen Vigna <jug@lyx.org>
813
814         * lyxfunc.C (dispatch): save and restore the cursor after a
815         textclass switch.
816
817 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
818
819         * text.C (backspace): bug 806 for empty keepempty paragraphs we
820         change the layout to default before letting DEPM do its thing.
821
822         * paragraph_funcs.C (breakParagraph): dont reset the layout on
823         keepEmpty paragraphs
824
825         * text.C (setCursorFromCoordinates): add a debug statement
826
827         * text2.C (getColumnNearX): bug 1825 make sure that we don't
828         return a pos that is not on the row
829
830         * output_latex.C (TeXDeeper): get rid of potential dereferencing
831         of past the end iterator
832
833 2005-07-14  André Pönitz  <poenitz@gmx.net>
834
835         * undo.C (recordUndoFullBuffer): implement undo for
836         textclass switches
837
838 2005-07-14  André Pönitz  <poenitz@gmx.net>
839
840         * cursor.C (setSelection): open insets when selection is set there
841         to avoid crashs with cold coord cache
842
843 2005-07-14  André Pönitz  <poenitz@gmx.net>
844
845         * trans_mgr.C (insert): move cursor to the right after inserting
846         a char.
847
848 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
849
850         * BufferView_pimpl.C (update): dampen some of the debug blabbering
851         * factory.C (readInset): ditto
852         * text.C, text2.C: ditto
853
854 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
855
856         * buffer.C: format incremented to 242. There is no file format per
857         se, but the "frenchb" language has been removed from lib/language
858         and has to be translated to "french" by lyx2lyx.
859
860 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * cursor_slice.h, dociterator.h: add some documentation
863         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
864
865 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
866
867         * text.C (leftMargin): do not add identation to display() style
868         insets, because they are always centered (bug 1293).
869
870 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
871
872         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
873         formatted_time methods in support/lyxtime.
874
875 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
876
877         * toc.[Ch]: new method getGuiName, which is used by the frontends 
878         to set the toc combo (fixes bug 1870). Make TOC string translatable.
879
880 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
881
882         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
883         StableDocIterator const &)
884         * undo.C (recordUndo): use the above instead of cell.size() comparison
885         (fixes bug 1808; instructed by Andr�.
886
887 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
888
889         * cursor_slice.h: 
890         * dociterator.h: Fix the assert when copying rows/cols in math
891
892 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
893
894         * BufferView_pimpl.C:
895         * LyXAction.C:
896         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
897
898         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
899         (findInset): new functions, refactored from goto Inset that return 
900         the position of a certain inset without setting the buffer's cursor
901         (by Jean-Marc); 
902         (gotoInset): rewrite to call findInset and then set the cursor
903         (by Jean-Marc).
904
905 2005-06-16  Angus Leeming  <leeming@lyx.org>
906
907         * lyxrc.C (output, read): wrap all input and output of paths with
908         calls to os::internal_path and os::external_path, respectively.
909         (output): wrap bind_file inside quotes.
910
911         * format.C (view): enable the viewer to use the '$$s' placeholder.
912
913 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
914
915         * LColor.[Ch] (getFromLaTeXName): new
916
917 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
918
919         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
920
921 2005-06-14  Angus Leeming  <leeming@lyx.org>
922
923         * lyx_main.C (init): ensure that the LyX binary dir is the first
924         element in the PATH on non-POSIX builds.
925
926 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
927
928         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
929
930 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * rowpainter.C (paintInset, paintHebrewComposeChar)
933         (paintArabicComposeChar, paintChars): add a LyXFont argument.
934         (paintChars): use getFontSpan to reduce calls to getFont to a
935         minimum; use Paragraph::lookupChange instead of isXXXText.
936         (paintForeignMark): rename LyXFont argument.
937         (paintFromPos): pass a LyXFont object to the various paintXXX
938         methods.
939
940         * FontIterator.C (FontIterator, operator++): use
941         Paragraph::getFontSpan
942
943         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
944         version that returns the font span as a pair.
945
946 2005-06-09  Angus Leeming  <leeming@lyx.org>
947
948         * converter.C (convert): Don't forget "outfile = real_outfile" as
949         the final step in a conversion where the input and output file names
950         are the same. Otherwise, future conversion steps won't work...
951
952 2005-06-09  Angus Leeming  <leeming@lyx.org>
953
954         * lyxsocket.C: remove stub code as it isn't needed by
955         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
956
957 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
958
959         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
960         effectively disabled -x
961
962 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
963
964         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
965         when it actually makes sense.
966
967 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * BufferView_pimpl.C: revert to showCursor in connection with
970         Lars's front-end stack
971
972 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * text.C (redoParagraph): move cursor right after a bibitem
975         has been inserted.
976
977         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
978
979 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * buffer_funcs.C (bufferErrors): fix computation of the end of an
982         error range.
983
984 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
985
986         * BufferView.[Ch] (update):
987         * BufferView_pimpl.[Ch] (update, metrics):
988         * dimension.h (operator==):
989         * lyxfunc.C (dispatch):
990         * metricsinfo.h (ViewMetricsInfo):
991         * rowpainter.C (paintText):
992         * lyxtext.h:
993         * text.C (redoParagraph):
994         * text3.C (dispatch): Make LyX only repaint current paragraph in
995         case of character insert --> speedup. Also fix cursor draw
996         artifacts
997
998 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1001         avoid a crash (bug 1891)
1002
1003 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1004
1005         Fix bug 1892:
1006
1007         * text2.C (getStringToIndex): constify cur argument.
1008
1009         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1010         argument has been given
1011         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1012         try to invoke LFUN_INSET_APPLY).
1013
1014         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1015         if no inset was created by doInsertInset
1016         (doInsertInset): return true if an inset has been inserted.
1017
1018 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * vspace.C (asGUIName): new method. A version of the space
1021         suitable for showing on screen.
1022
1023 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1024
1025         * MenuBackend.C:
1026         * lyxrc.C: rename "ASCII" to "Plain Text"
1027
1028 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1031         translate the labelstring.
1032         (setCounter): translate labelstring as needed.
1033
1034         * output_docbook.C (makeCommand): fix expandLabel invokation
1035
1036 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1037
1038         * BufferView.C: fix dialog title
1039
1040 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1041
1042         * lyx_main.C (priv_exec): fix logic error with help from Angus
1043         * lyx_main.C (parse_execute): set is_gui = false and remove now
1044         obsolete comment about a segfault
1045
1046 2005-05-18  Angus Leeming  <leeming@lyx.org>
1047
1048         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1049
1050 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1051
1052         * tabular.[hC]: added setCellInset to fix tabular paste.
1053
1054 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1055
1056         * buffer.C (save): check if destination is writable before trying
1057         to copy a file
1058
1059 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1060
1061         * BufferView_pimpl.C (update): fix processEvents -caused update
1062         recursion bug
1063
1064 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1065
1066         * buffer_funcs.C (setCounter): fix test for numbering of
1067         environments.
1068
1069         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1070         depth correctly; use optional argument when it exists
1071
1072         * lyxtextclass.C: remove unused MaxCounterTags enum
1073         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1074         (max_toclevel, min_toclevel): new methods.
1075
1076         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1077         the smallest depth in toc.
1078
1079         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1080         layouts that should not appear in a table of contents.
1081
1082 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1083
1084         * cursor.h (undispatched, noUpdate): add comments from Andr�
1085 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1086
1087         * lfuns.h:
1088         * LyXAction.C:
1089         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1090
1091 2005-05-07  André Pönitz  <poenitz@gmx.net>
1092
1093         * cursor.[Ch] (leaveInset): new function
1094
1095 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1096
1097         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1098
1099 2005-05-04  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyxfunc.C (getStatus): disable the spell checker dialog if
1102         none of USE_[AIP]SPELL are defined.
1103
1104 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * tabular.C (setWidthOfCell): remove obsolete comment
1107
1108 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * paragraph.C (bibitem):
1111         * buffer_funcs.C (setCounter):
1112         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1113
1114 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1115
1116         * text3.C (getStatus): immediately return after setOnOff
1117
1118         * rowpainter.C: fix drawing of appendix start
1119
1120 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1121
1122         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1123         SwitchBetweenClasses and remove the unused return value.
1124         Handle character styles, too
1125
1126 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * factory.C (createInset): handle undefined character styles
1129
1130 2005-05-02  Angus Leeming  <leeming@lyx.org>
1131
1132         * buffer.C: protect the #include of utime.h with a preprocessor
1133         guard.
1134
1135 2005-05-02  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1138         function so that auto-saving works, albeit in a blocking manner.
1139
1140         * Makefile.am: make compilation of the client sub directory, of
1141         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1142         on conditionals set at configure time.
1143
1144         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1145         it can be compiled in its own right but has no-op functionality.
1146
1147         * aspell.C, pspell.C: remove preprocessor guards. The files should
1148         be compiled only if the necessary functionality exists.
1149
1150         * lyxserver.C, lyxsocket.C: disable on Windows.
1151
1152 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1153
1154         * text.C (leftMargin): Fix the parindent use bug (1764)
1155         by dirty trick
1156
1157 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1158
1159         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1160         argument.
1161
1162 2005-04-25  Angus Leeming  <leeming@lyx.org>
1163
1164         * Bidi.[Ch]:
1165         * coordcache.[Ch]:
1166         * ispell.C:
1167         * lyxserver.C:
1168         * mover.C:
1169         * pch.h:
1170         include <config.h> in .C files, not .h ones.
1171         add licence blurb.
1172         protect headers inside preprocessor guards.
1173
1174 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1175
1176         * FuncStatus.h (StatusCodes): document
1177
1178 2005-04-21  André Pönitz  <poenitz@gmx.net>
1179
1180         * FuncStatus.h (enabled, onoff): document
1181
1182 2005-04-19  Angus Leeming  <leeming@lyx.org>
1183
1184         * BufferView_pimpl.C (cursorToggle): no longer test whether
1185         any child processes have been reaped before calling
1186         handleCompletedProcesses().
1187
1188 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1189
1190         * text3.C (dispatch): fix, finally fix, the language problem in
1191         new lyxtexts, without disabling on-the-fly font changes (Helge's
1192         bug report)
1193
1194 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1195
1196         * text3.C (dispatch): set cursor on double/triple click events
1197         (bug 1811)
1198
1199 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1202         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1203
1204         * rowpainter.C (paintFirst): simplify the code a little bit. In
1205         particular, remove the test for secnumdepth.
1206         * text.C (setHeightOfRow): only allocate space for chapter number
1207         when updateCounters provided an actual label, instead of looking
1208         at secnumdepth directly.
1209
1210         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1211
1212         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1213         paragraphs when secnumdepth is large enough or, for environments,
1214         when they are not the first in a sequence.
1215
1216 2005-04-17  Angus Leeming  <leeming@lyx.org>
1217
1218         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1219         containing space and '~' characters with a call to latex_path().
1220
1221 2005-04-17  Angus Leeming  <leeming@lyx.org>
1222
1223         * converter.C (convert): protect all args of convertDefault.sh
1224         script with quotes.
1225
1226 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * text3.C (dispatch): change the layout to "Caption" after inserting
1229         a float.
1230
1231 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1232
1233         * text3.C (dispatch): fix language problem in newly created
1234         textinsets (and main text) in non-english docs
1235
1236 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1237
1238         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1239         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1240         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1241
1242 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1243
1244         * lyxtext.h:
1245         * text.C (metrics):
1246         * text2.C (getFont):
1247         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1248         fonts fix
1249
1250 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1251
1252         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1253         output of \item arguments without trailing text.
1254
1255 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * FontIterator.C (operator*): avoid a copy of the font.
1258
1259 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1260
1261         * rowpainter.C (getFont): fix language bug from previous fix
1262
1263 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1264
1265         * rowpainter.C (RowPainter, getFont): fix font inside inset
1266         (bugs 1766, 1809)
1267
1268 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1271         preventing inserted font, deco, delim insets jumping to start of
1272         surrounding inset.
1273
1274 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1275
1276         * lyxfunc.C (dispatch): translate message before sending it to the
1277         minibuffer.
1278
1279 2005-03-29  Angus Leeming  <leeming@lyx.org>
1280
1281         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1282         to LyX on the command line.
1283
1284 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1285
1286         * vc-backend.C: use QuoteName to protect file names wherever
1287         necessary.
1288
1289 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1290
1291         * buffer.[Ch]:
1292         * BranchList.h: fix bugs 1844,1845: document settings don't
1293         stick
1294
1295 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * lyxrc.C (setDefaults, read, output, getDescription): add support
1298         for tex_allows_spaces.
1299
1300         * exporter.C (Export): allows files in directory containing spaces
1301         if tex_allows_spaces is true.
1302
1303         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1304         output it in double quotes.
1305
1306 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1307
1308         * rowpainter.C: use default text height for drawing change tracker
1309         strikeout lines.
1310
1311 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1312
1313         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1314
1315 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1316
1317         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1318         directory is missing.
1319
1320 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1321
1322         * text2.C: fixed the fix, extended to other case.
1323
1324 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1327
1328 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1329
1330         * text2.C (cursorUp): get rid of a crash
1331         * text.C (x2pos): add an assert
1332
1333 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1334
1335         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1336
1337         * text3.C:
1338         * lyxfunc.C:
1339         * dociterator.C: include <boost/current_function.hpp>, which is
1340         needed when assertions are disabled.
1341
1342 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1343
1344         * text2.C: fix for stuck cursor when traversing two
1345         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1346
1347 2005-02-25  Andreas Vox  <avox@arcor.de>
1348
1349         * output_docbook.C (makeParagraph): suppress trailing newline
1350         after a run of paragraphs
1351
1352 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1353
1354         * paragraph.C: fix for confused change tracker when pasting
1355         text that begins with a lineseparator. [bug 1827]
1356         (setChange(0, Change::INSERTED);)
1357
1358         * paragraph_funcs.C: fix for lost changes on triple-paste
1359         in change tracking mode [bug 1827] (par.setChange()).
1360
1361 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * text2.C (updateCounters, setCounter, expandLabel): move to
1364         buffer_funcs.
1365
1366         * buffer_funcs.C (updateCounters): turn into a free standing
1367         function and add a buffer parameter. Remove dead code for tracking
1368         labelstring change.
1369         (setCounter): change into a free-standing function which gets a
1370         dociterator as argument. Use this iterator to fix captions in a
1371         simple way. When no float is found above the caption, use the
1372         labelstring of the caption layout as default.
1373
1374         * text.C (breakParagraph, backspace):
1375         * text2.C (init, setLayout, changeDepth):
1376         * text3.C (dispatch):
1377         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1378         updateCounters.
1379
1380         * dociterator.C (forwardPar): make it much faster by calling
1381         forwardPos() only when really necessary.
1382
1383         * output_docbook.C (makeCommand): adapt to expandLabel move.
1384
1385         * cursor.C: remove unused variable
1386
1387 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1388
1389         * paragraph_funcs.C: fix crash when pasting insets in change
1390         tracking mode [bug 1277] (honour change type in moveItem).
1391
1392 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1393
1394         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1395
1396 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * BufferView.C (setCursor): change to use a DocIterator.
1399         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1400         (putSelectionAt): adapt to BufferView::setCursor change.
1401
1402         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1403         moved here from LyXText and rewritten to use proper cursor
1404         methods. Fixes bug 1787, 616 and 835.
1405
1406         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1407         when inside an inset (part of bug 781).
1408         (dispatch): adapt to change of BufferView::setCursor.
1409         (getStatus, dispatch): handle LFUN_GOTOERROR,
1410         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1411
1412         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1413         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1414         * text3.C (gotoNextInset, gotoInset): removed.
1415
1416 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1417
1418         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1419
1420 2005-02-15  Angus Leeming  <leeming@lyx.org>
1421
1422         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1423         can be used meaningfully in a comparison.
1424
1425 2005-02-13  André Pönitz  <poenitz@gmx.net>
1426
1427         * bufferview_funcs.C (coordOffset): improve cursor drawing
1428
1429 2005-02-13  André Pönitz  <poenitz@gmx.net>
1430
1431         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1432         * Cursor.C (dispatch): use fixIfBroken
1433         * lyxfunc.C (getStatus): use fixIfBroken
1434
1435 2005-02-15  Angus Leeming  <leeming@lyx.org>
1436
1437         * lyx_main.C (error_handler):
1438         * lyxfunc.C:
1439         * lyxrc.C (setDefaults):
1440         s/GetEnv/getEnv/.
1441         #include "environment.h".
1442
1443         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1444
1445 2005-02-15  Angus Leeming  <leeming@lyx.org>
1446
1447         * lyxserver.C (startPipe): squash MSVC warning "local variable
1448         'fd' used without having been initialized".
1449
1450 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1451
1452         * BufferView_pimpl.C: revert accidental commit.
1453
1454 2005-02-14  André Pönitz  <poenitz@gmx.net>
1455
1456         * dociterator.[Ch]: new member forwardPosNoDescent(),
1457         which doesn't enter nested insets.
1458         * text2.C (setFont): use forwardPosNoDescent() instead
1459         of ForwardPos() (fixes crash on font change).
1460
1461 2005-02-13  Angus Leeming  <leeming@lyx.org>
1462
1463         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1464         only if lyxrc.path_prefix is not empty.
1465
1466 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1467
1468         * bufferparams.C (readGraphicsDriver): prevent crash
1469
1470 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1471
1472         * text2.C (setCounter): check for inInset() == 0
1473
1474 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1477         but use update() to get correct screen display; use convert
1478         instead of istringstream.
1479         (getStatus): handle LFUN_GOTO_PARAGRAPH
1480
1481         * lyxfunc.C (dispatch, getStatus): do not handle
1482         LFUN_GOTO_PARAGRAPH here.
1483
1484 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1485
1486         * text3.C (dispatch): size() -> depth()
1487
1488         * text2.C: remove some debug output
1489
1490         * paragraph.C: ws changes only
1491
1492         * lyxfunc.C (getStatus): size() -> depth()
1493
1494         * dociterator.h (clear, push_back, pop_back, internalData,
1495         operator[], resize, empty): new functions
1496         Make StableDocIterator and operator== be friends. Don't inherit
1497         from std::vector use a privat class variable slices_ instead.
1498         Modify to fit.
1499
1500         * dociterator.C: update because of not inheriting from std::vector
1501         anymore. Call explictly to slices_ instead. Use depth() instead of
1502         size() and top() instead of back()
1503
1504         * cursor.C: chagne size() -> depth and back() -> top(). Also
1505         remove some direct operator[](i) calls in favour of foo[i]
1506         (getFont): remove some dead code
1507
1508         * bufferview_funcs.C (coordOffset): size() -> depth()
1509
1510         * buffer.C: ws changes only
1511
1512         * CutAndPaste.C (eraseSelection): back() -> top()
1513
1514         * BufferView_pimpl.C (selectionRequested): back() -> top()
1515
1516         * BufferView.C (setCursor): size() -> depth()
1517
1518 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * text3.C (cursorPrevious): return true if depm changed something
1521         (cursorNext): ditto
1522         (dispatch): rename sl to oldTopSlice, remove moving use the new
1523         NoUpdate func attrib instead. Make sure that needsUpdate is set
1524         for function that have NoUpdate, but where depm might have changed
1525         the buffer anyway.
1526
1527         * text2.C (cursorLeft): make us return true if depm changed
1528         something
1529         (cursorRight): ditto
1530         (cursorUpParagraph): ditto
1531         (curosrDownParagraph): ditto
1532         (cursorUp, cursorDown): ditto, make sure to read comments in code
1533         (deleteEmptyParagraphMechanism): remove an assert, also return
1534         true if just a single char was deleted.
1535
1536         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1537         cursor that we modify, to avoid modifying an active cursor before
1538         we call setCursor. This allows depm to run. Also return true if
1539         depm deleted something.
1540
1541         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1542         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1543         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1544         something was changed in the buffer because of them (ie. depm run)
1545
1546         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1547         debug messages. Make update by default be false. Make sure that
1548         the result of update is retained throught several calls down to
1549         dispatch.
1550
1551         * LyXAction.h: add a new func_attrib: NoUpdate
1552
1553         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1554         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1555         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1556         and LFUN_WORDLEFT
1557         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1558
1559 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560
1561         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1562         bv_->owner(), bv_->buffer() by direct references to the private
1563         members.
1564         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1565         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1566         (fitCursor): center() is in BufferView::Pimpl.
1567         (getStatus, trackChanges, dispatch): no need for a temporary buf
1568         variable
1569         (fitCursor, workAreaDispatch): use workarea().workheight()
1570
1571 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1572
1573         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1574
1575 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1576
1577         * buffer.C: format up to 241.
1578         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1579         break if pasting into ERT
1580         * lyxfunc.C (getStatus): suppress mathpanel and
1581         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1582
1583 2005-02-01  Angus Leeming  <leeming@lyx.org>
1584
1585         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1586
1587 2005-02-01  Angus Leeming  <leeming@lyx.org>
1588
1589         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1590         calling fs::is_directory().
1591
1592 2005-01-31  Angus Leeming  <leeming@lyx.org>
1593
1594         * lyx_main.C (priv_exec): specify explicitly the relative location
1595         of the top level build directory when run in-place.
1596
1597 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1598
1599         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1600         LyXText containing the cursor, not the top-level one.
1601
1602         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1603         true.
1604         (insertStringAsLines): rename par to pit; use temporary variable
1605         par to hold a Paragraph; do not store par.layout() in a variable,
1606         since the pointer may die when breaking paragraphs; pass pars to
1607         breakParagraph() instead of Buffer::paragraphs().
1608
1609 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1610
1611         * lyxlex_pimpl.h: #include <fstream>.
1612
1613         * BufferView.[Ch] (getLyXText): add a const version.
1614
1615         * BufferView_pimpl.C: add debug aids.
1616
1617         * RowList_fwd.h:
1618         * buffer.h:
1619         * lyxrow.h:
1620         * paragraph_funcs.h: add commentary explaining what the class does.
1621
1622
1623         * coordcache.[Ch]: add lots of commentary.
1624         (startUpdating, doneUpdating): debug aids.
1625         (arrays, insets, parPos, getParPos): accessors to private data.
1626
1627         * cursor_slice.[Ch] (text): add a const version.
1628         * dociterator.[Ch] (text, innerText): add const versions.
1629
1630         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1631         bool.
1632
1633         * paragraph.C (getRow, pos2ros): add asserts.
1634
1635         * paragraph.h: add commentary. Lots of.
1636
1637         * paragraph.[Ch] (metrucs, draw): removed.
1638
1639         * cursor.C:
1640         * rowpainter.[Ch]: const-correct changes.
1641
1642         * text.C: various obvious clean-ups. Removal of ancient cruft.
1643         Bug fixes, even.
1644
1645 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1646
1647         * vc-backend.C (find_file): rewrite to use boost.filesystem
1648         (scanMaster): ditto
1649
1650         * main.C (main): set default name check for boost.filesystem to
1651         no check
1652
1653         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1654         (open): ditto
1655         (doImport): ditto
1656         (actOnUpdatedPrefs): ditto
1657
1658         * lyx_main.C (init): rewrite to use boost.filesystem
1659         (queryUserLyXDir): ditto
1660
1661         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1662         (getContentsOfAsciiFile): ditto
1663
1664         * lastfiles.C (readFile): rewrite to use boost.filesystem
1665
1666         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1667
1668         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1669         (loadLyXFile): ditto
1670
1671         * buffer.C (Buffer): adjust for destroydir
1672         (getLogName): rewrite to use boost.filesystem
1673         (setFileName): ditto
1674         (save): use fs::copy_file (from fs_extras)
1675
1676         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1677
1678         * LaTeX.C (run): rewrite to use boost.filesystem
1679         (scanAuxFiles): ditto
1680         (handleFoundFile): ditto
1681
1682 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1683
1684         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1685
1686         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1687
1688 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1689
1690         * lyxlayout.[Ch]: change some vars from float to double
1691
1692         * buffer.C (readFile): make a local var const
1693
1694         * Several files: use convert<> instead of atoi,strToXXX and friends
1695
1696 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1697
1698         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1699         holds the contents of packages.lst. New functions getAvailable
1700         and isAvailable to parse and check that list, resp.
1701
1702         * LyXAction.C:
1703         * lfuns.h:
1704         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1705
1706         * bufferparams.[Ch]: new param output_changes.
1707
1708         * Buffer.C: increase file format to 240.
1709         Use output_changes and isVailable.
1710
1711         * changes.[Ch]:
1712         * paragraph.C:
1713         * paragraph_pimpl.C: Use output_changes and isVailable.
1714
1715 2005-01-23  Angus Leeming  <leeming@lyx.org>
1716
1717         * output_latex.C: #include "insetbibitem.h", rather than
1718         forward declare function bibitemWidest.
1719
1720 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1721
1722         * lyx_main.C (init): make it compile on the Mac.
1723
1724 2005-01-20  Angus Leeming  <leeming@lyx.org>
1725
1726         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1727         (setLyXMisc): (char string literal) != (char string literal) is
1728         performing a comparison on the addresses. Convert one operand
1729         explicitly to string to guarantee expected behaviour.
1730         From MSVC warning.
1731
1732 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1733
1734         * buffer.C:
1735         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1736
1737         * output_plaintext.C: remove unneeded #include gzstream.h.
1738
1739 2005-01-20  Angus Leeming  <leeming@lyx.org>
1740
1741         * SpellBase.h: rename some of the elements of the Result enum.
1742
1743         * aspell_local.h:
1744         * ispell.h:
1745         * pspell.h:
1746         * aspell.C (check):
1747         * ispell.C (check):
1748         * pspell.C (check): ditto
1749
1750 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1751
1752         * buffer.C: add #include <fstream>.
1753
1754         * lyx_main.C (init): Compile fix.
1755
1756         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1757
1758 2005-01-20  Angus Leeming  <leeming@lyx.org>
1759
1760         * mover.h: change commentary to reflect the changed meaning of
1761         the $$s placeholder.
1762
1763 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1764
1765         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1766
1767         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1768
1769 2005-01-20  Angus Leeming  <leeming@lyx.org>
1770
1771         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1772         printing diagnostic data by not dereferecing an iterator past the
1773         end.
1774
1775 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1776
1777         * buffer.C (readHeader): use "&&" rather than "and".
1778
1779         * lyxserver.h (inPipeName, outPipeName): make these const.
1780
1781 2005-01-19  Angus Leeming  <leeming@lyx.org>
1782
1783         * lyx_main.C (error_handler, init): protect SIGHUP with
1784         #ifdef SIGHUP guards.
1785
1786 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1787
1788         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1789
1790 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * text.C (setHeightOfRow): add a margin at the top and bottom of
1793         the document (bug 1761)
1794
1795 2005-01-17  Angus Leeming  <leeming@lyx.org>
1796
1797         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1798         with "python ". Workaround for a brain-dead Windows.
1799
1800 2005-01-16  Angus Leeming  <leeming@lyx.org>
1801
1802         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1803         for MacOSX and Windows to use prependEnvPath.
1804         Strip out the hard-coded block to add elements to the PATH for
1805         MacOSX and replace it with a call to prependEnvPath using the
1806         contents of LyXRC::path_prefix.
1807         (queryUserLyXDir): strip out the code to run reconfigure, instead
1808         returning a boolean indicating the necessity to do so.
1809         (reconfigureUserLyXDir): contains the code to reconfigure the
1810         user support directory. Is now called after the various LyXRC data
1811         files have been read.
1812
1813         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1814
1815 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1816
1817         * converter.[Ch] (convert): take a new parameter try_default. Use
1818         a default converter (imagemagick) if try_default is true.
1819
1820 2005-01-13  Angus Leeming  <leeming@lyx.org>
1821
1822         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1823         os::cygwin_path_fix.
1824         (write): output LyXRC::cygwin_path_fix as necessary.
1825
1826 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1827
1828         * lyxrc.h:
1829         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1830
1831 2005-01-12  Angus Leeming  <leeming@lyx.org>
1832
1833         * lyx_main.C (init): set the PATH variable to include the
1834         directory containing the LyX binary when running on Mac or Windows.
1835
1836 2005-01-12  Angus Leeming  <leeming@lyx.org>
1837
1838         * lyx_main.C (init): remove cruft that purports to set the locale
1839         dir. It doesn't and is not needed anyway.
1840
1841 2005-01-10  Angus Leeming  <leeming@lyx.org>
1842
1843         * Makefile.am: remove the lyx_main.C special casing.
1844
1845         * BufferView_pimpl.C:
1846         * bufferlist.C:
1847         * exporter.C:
1848         * lyx_cb.C:
1849         * lyx_main.C:
1850         * lyxfunc.C:
1851         * messages.C: use support/package.h to provide the paths to the
1852         various directories used by LyX.
1853
1854 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1855
1856         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1857         layout if pasting into an empty paragraph)
1858
1859 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1860
1861         * tex-accent.C: add <string>
1862
1863 2005-01-06  José Matos  <jamatos@lyx.org>
1864
1865         * ParagraphParameters.C (write): put every parameter in its own line.
1866         * paragraph.C (write): reduce number of consecutive empty lines exported.
1867         * buffer.C (LYX_FORMAT): increase file format to 239.
1868
1869 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1870
1871         * everywhere: change support/tostr.h -> support/convert.h
1872
1873         * tabular.C: make all write_attributes templates, tostr -> convert
1874
1875         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1876         (emptyTag): and -> &&, and fix type for ret from getChar
1877         (getFirstWord): fix type for ret from getChar
1878         (onlyText): and -> &&
1879         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1880         getChar
1881
1882         * toc.C (goTo, action):
1883         * text3.C (dispatch):
1884         * text.C (currentState):
1885         * tex-accent.C (DoAccent):
1886         * sgml.C:
1887         * lyxrc.C:
1888         * lyxfunc.C (menuNew):
1889         * lyxfinc.C (replace):
1890         * counters.C (laberItem):
1891         * bufferview_funcs.C (font2string):
1892         * bufferparams.C (writeFile):
1893         * buffer.C (readFile):
1894         * Spacing.C (set):
1895         * MenuBackend.C: tostr -> convert
1896
1897         * LaTeX.C (runMessage): fix format
1898         (scanAuxFiles): tostr -> convert
1899
1900         * BufferView_pimpl.C (savePosition): fix format
1901         (restorePosition): ditto
1902         (dispatch): ditto
1903
1904 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1905
1906         * Spacing.[Ch]: New method getValueAsString().
1907
1908         * Spacing.[Ch]:
1909         * bufferparams.C:
1910         * ParagraphParameters.C:
1911         * lyxlayout.C:
1912         * text.C:
1913         * text3.C: store/read spacing value as string.
1914
1915         * rowpainter.C: change float value (spacing_val) to double.
1916
1917         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1918         broken custom document spacing).
1919
1920 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1923         namespace, also more use of temp references and const
1924
1925         * cursor.[Ch] (getStatus): move to lyxfunc.C
1926
1927         * bufferparams.C: reformat slightly
1928
1929         * bufferview_funcs.C (font2string): constify arg
1930
1931         * changes.C:
1932         * converter.C:
1933         * counters.C:
1934         * bufferlist.C:
1935         * buffer_funcs.C: (many funcs): constify arg on function
1936         definitions, also make more local vars const, also add ASSERTS on
1937         pointer args.
1938
1939         * buffer.C (LYX_FORMAT): put const in correct place
1940         (many funcs): constify arg on function definitions, also make
1941         more local vars const
1942
1943         * aspell_local.h: remove "struct" from typdef setup
1944
1945         * aspell.C (check): make word_ok const
1946         (nextMiss): simplify slightly
1947         (error): ditto
1948
1949 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1950
1951         * lyxrc.[Ch]: store all float values as strings.
1952         use int (not float) for lyxrc.dpi.
1953
1954 2005-01-04  Angus Leeming  <leeming@lyx.org>
1955
1956         * lyx_cb.C (Reconfigure):
1957         * lyx_main.C (queryUserLyXDir):
1958         to run the <system_lyxdir>/configure correctly on Windows, prefix
1959         the path to the script with "sh " when generating the string that
1960         is passed to system().
1961
1962 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1963
1964         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1965
1966 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * lyxlength.C (asLatexString): get rid of setprecision
1969
1970 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * text2.C (setLayout): remove unused variable endpit.
1973         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1974
1975         * paragraph.C (onlyText): remove unused variable style.
1976
1977         * cursor.C (bruteFind): remove unused variables beg and end.
1978
1979         * Makefile.am (dist_noinset_DATA): not needed anymore
1980
1981         * cheaders/*: remove.
1982
1983 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1984
1985         * text3.C: fix LFUN_MATH_MODE.
1986
1987 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * buffer_funcs.C (countWords): new function. Counts words between
1990         two iterators.
1991
1992         * BufferView_pimpl.C (getStatus, dispatch): handle
1993         LFUN_WORDS_COUNT.
1994
1995         * LyXAction.C (init):
1996         * lfuns.h: add LFUN_WORDS_COUNT.
1997
1998 2004-12-19  Angus Leeming  <leeming@lyx.org>
1999
2000         * buffer.C (save): s/slashify_path/internal_path/.
2001
2002 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2003
2004         * lyxfind.C (findChange): do not search for end of pars, because
2005         the change tracker cannot handle this (fixes bug 1719).
2006
2007 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2008
2009         * paragraph.[Ch] (autoBreakRows): remove
2010
2011         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2012
2013         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2014         avoid using the paragraph one
2015
2016         * text2.C (LyXText, insertStringAsLines): adjust
2017
2018 2004-12-16  Angus Leeming  <leeming@lyx.org>
2019
2020         * bufferlist.C:
2021         * lyx_main.C:
2022         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2023
2024 2004-12-14  Angus Leeming  <leeming@lyx.org>
2025
2026         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2027
2028         * bufferlist.C (emergencyWrite):
2029         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2030         GetEnvPath("HOME").
2031
2032 2004-12-14  Angus Leeming  <leeming@lyx.org>
2033
2034         * main.C: (main): no longer pass pointers to os::init.
2035
2036 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2039         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2040
2041 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2042
2043         * lyxfunc.C:
2044         * text3.C: remove selection_possible global flag
2045
2046 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2047
2048         * text2.C (getSelectionSpan): remove
2049         (changeDepth, changeDepthAllowed): adjust
2050
2051 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2052
2053         * Makefile.am (BOOST_LIBS): use boost variables
2054
2055 2004-12-03  José Matos  <jamatos@lyx.org>
2056
2057         * buffer.C: format up to 238.
2058
2059 2004-12-03  José Matos  <jamatos@lyx.org>
2060
2061         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2062
2063 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2064
2065         * cursor.C (goUpDown): remove call to idxUpDown2
2066
2067 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2068
2069         * tabular.[Ch]: use size_t-like types for cell, row and column
2070         indices
2071
2072 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * lyxfunc.C (getStatus): do not lose previous information when
2075         calling BufferView::getStatus; do not set a default "Command
2076         disabled" message at the beginning, but just before returning.
2077
2078 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2079
2080         * cursor.h (getStatus): add better comment from src/cursor.C
2081
2082 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * text3.C (getStatus): return false when the lfun is not handled
2085
2086 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * broken_headers.h: remove
2089
2090         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2091
2092 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2095         offset_ref accessors
2096
2097         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2098         top_y_, merge fitcursor with update
2099         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2100         coord scheme
2101         (metrics): introduce
2102         (workAreaDispatch): adapt to new coord scheme
2103         (redoCurrentBuffer): remove
2104
2105         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2106
2107         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2108         CurStatus enum.
2109
2110         * coordcache.[Ch]: add paragraph cache and helpers
2111
2112         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2113         adjust everywhere
2114
2115         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2116         (targetX, setTargetX): introduce
2117
2118         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2119         baseline -> ascent, as the rest of lyx
2120
2121         * lyxtext.h: remove redoParagraphs, updateParPositions,
2122         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2123         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2124         have ascent/descent (ascent is ascent of first par)
2125
2126         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2127         step of BufferView
2128
2129         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2130
2131         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2132
2133         * pariterator.C: fix infinite loop introduced in par->pit renaming
2134
2135         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2136         in insets and LyXText, draw two off-screen paragraphs using
2137         NullPainter, and adapt to new coord scheme
2138
2139         * text.C:
2140         * text2.C:
2141         * text3.C: adapt lfun handlers to the new coord scheme, which
2142         means: there's only guaranteed coord information for onscreen pars
2143         plus one above and one below. This implies that one can do search
2144         from y coordinates in the range [-1,workHeight]
2145
2146 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2147
2148         * rename a lot of InsetOld to InsetBase
2149
2150 2004-11-25  Angus Leeming  <leeming@lyx.org>
2151
2152         * BufferView_pimpl.C:
2153         * lyx_cb.C:
2154         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2155
2156 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2159         call BufferView::getStatus if LCursor::getStatus did nothing
2160         (setStatusMessage, getStatusMessage): removed.
2161
2162         * FuncStatus.C (message): new methods. Used to provide an error
2163         message indicating why a command is disabled.
2164         (clear, |=, FuncStatus): update for message.
2165
2166 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2167
2168         * lyxfunc.C (dispatch): always call sendDispatchMessage
2169
2170 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * BufferView.C:
2173         * BufferView_pimpl.C:
2174         * CutAndPaste.C:
2175         * FontIterator.C:
2176         * buffer.C:
2177         * cursor.C:
2178         * cursor_slice.[Ch]:
2179         * dociterator.[Ch]:
2180         * lyxfind.C:
2181         * paragraph_funcs.C:
2182         * pariterator.C:
2183         * rowpainter.C:
2184         * text.C:
2185         * text2.C:
2186         * text3.C:
2187         * undo.C: par->pit renaming
2188
2189 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2190
2191         * tabular.C (cellstruct): use initialization, store a shared_ptr
2192         to insettext instead of the insettext directly, adjust to fit.
2193         (operator=):  new function
2194         (swap): new function
2195         (rowstruct): use initialization
2196         (columnstruct): use initialization
2197         (ltType): use initialization
2198
2199
2200         * lyxlength.h (swap): new function
2201
2202         * LColor.[Ch] (operator=): use the common semantics
2203
2204 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2205
2206         * lyxfind.C (findNextChange): update the bufferview after setting
2207         the selection.
2208
2209 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2210
2211         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2212         number of InsetOptArgs has already been inserted.
2213
2214         * output_latex.C (latexOptArgInsets): new method. This outputs all
2215         the optarg insets, up to the limit defined in the layout file.
2216         (optArgInset): removed
2217         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2218
2219 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2220
2221         * paragraph.C (isLetter): remove special spellchecker-related
2222         code; return true also for digits
2223         (isWord, isKomma): remove
2224
2225         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2226         * lyxfind.C (MatchString()): use isLetter instead of isWord
2227
2228 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * pariterator.h (operatir=): comment out un-implemented member
2231         function.
2232
2233         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2234         static cast.
2235
2236 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * lyxfont.h: include LColor.h to satisfy concept checks.
2239
2240 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * pariterator.h: add typdefs for value_type, difference_type,
2243         pointer and reference to satisfy concept checks. Also add default
2244         constructor for same reason.
2245
2246         * pariterator.C (operator++): add post-increment operator to
2247         satisfy concept checks.
2248
2249         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2250         checks.
2251
2252         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2253
2254         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2255         checks. Also rename base_type to BaseType to follow naming
2256         standard better.
2257
2258         * FloatList.h: include Floating.h to satisfy concept checks.
2259
2260 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * lyxfunc.C (getStatus): when the origin of the request is menu or
2263         toolbar, and the LyXView does not have focus, do as if there was
2264         no buffer (bug 1720)
2265
2266         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2267         FuncRequest to individual entries of LFUN_SEQUENCE
2268
2269 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * output_latex.C (TeXOnePar): override runparams.moving_arg
2272         according to the needprotect value of the current paragraph (bug
2273         1739)
2274
2275         * paragraph.C (simpleTeXOnePar): no need to override
2276         runparams.moving_args here
2277
2278 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2279
2280         * vspace.C: fix off-by-one-error, related to fix #1682
2281
2282 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2283
2284         * lengthcommon.C: a more general fix for bug 1682
2285
2286 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2287
2288         * text.C (backspace): fix crash
2289
2290 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2291
2292         * format.[Ch] (getFormatFromFile): new method
2293         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2294
2295 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2298
2299 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2300
2301         * lyxfunc.C (dispatch): remove the verbose argument
2302         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2303         instead
2304
2305         * kbmap.C (defkey): set the origin of func to KEYBOARD
2306
2307         * MenuBackend.C (MenuItem):
2308         * ToolbarBackend.C (add): set the origin of func to UI
2309
2310         * funcrequest.[Ch]: add origin member, which indicates which part
2311         of LyX requests an action
2312
2313 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2314
2315         * converter.C (move): don't lie in the error message
2316         * converter.h (isReachable, move): document
2317
2318 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2319
2320         * buffer.C: remove unused using lyx::support::atoi
2321         * paragraph_funcs.C: ditto
2322
2323 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2324
2325         * bufferlist.C (exists): use bind and equal_to instead of
2326         compare_memfun
2327         (getBuffer): ditto
2328         * lyxtextclasslist.C (NumberOfClass): ditto
2329
2330         * cursor.C (insert): use for_each instead of explicit for loop
2331
2332         * bufferlist.C (getFileNames): use std::transform and
2333         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2334
2335         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2336         for loop
2337
2338         * buffer.C (changeLanguage): use for_each instead of explicit for
2339         loop
2340         (hasParWithID): implement using getParFromID
2341
2342         * LaTeXFeatures.C: ws change only
2343
2344         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2345         to cleanup a bit.
2346
2347         * BufferView_pimpl.C (trackChanges): use for_each instead of
2348         expilicit for loop
2349
2350 2004-11-04  André Pönitz  <poenitz@gmx.net>
2351
2352         * undo.h:
2353         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2354
2355         * dociterator.C (asDocIterator): use hard assert again.
2356
2357 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2358
2359         * lyxlength.C (asLatexString): rewrite so that it does not use
2360         snprintf anymore
2361
2362 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * text3.C (specialChar, dispatch): make sure cursor moves to the
2365         right after inserting an inset
2366
2367 2004-11-02  José Matos  <jamatos@lyx.org>
2368
2369         * output_docbook.C (docbook):
2370         * paragraph.C (getID):
2371         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2372         garantee that the output is always legal.
2373
2374         * tabular.C (docbook):
2375         * outputprams.[Ch]: remove mixed contents.
2376
2377 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2378
2379         * text2.C (setCounter): prevent endless loop
2380
2381 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2382
2383         * exporter.C (copyFile): use the mover instead of support::copy()
2384         * exporter.C (Export): pass format and latex name to copyFile()
2385         * exporter.h (addExternalFile): document
2386         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2387
2388 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2389
2390         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2391
2392 2004-10-30  José Matos  <jamatos@lyx.org>
2393
2394         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2395         text and no inset or font change. This allows to use CDATA
2396         sections just for the whole paragraph.
2397
2398 2004-10-30  José Matos  <jamatos@lyx.org>
2399
2400         * paragraph.C (getFirstWord): remove unused variable.
2401
2402 2004-10-30  José Matos  <jamatos@lyx.org>
2403
2404         * paragraph.C (getFirstWord): the content should always be escaped
2405         there.
2406         (simpleDocBookOnePar):
2407         * output_docbook.C (makeEnvironment): replace reference to CDATA
2408         to style pass_thru.
2409
2410 2004-10-30  José Matos  <jamatos@lyx.org>
2411
2412         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2413
2414 2004-10-30  José Matos  <jamatos@lyx.org>
2415
2416         * output_docbook.C (makeParagraphs):
2417         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2418         standard paragraph has only a given type of content drop the wrapper.
2419
2420 2004-10-29  José Matos  <jamatos@lyx.org>
2421
2422         * output_docbook.C (makeEnvironment):
2423         * sgml.C (openTag):
2424         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2425
2426 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2427
2428         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2429         (cleanID): sanitize any id.
2430
2431 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2432
2433         * buffer.C, lyxlex_pimpl.C:
2434         * lyxlex_pimpl.C (setFile):
2435         s/getExtFromContents/getFormatFromContents/
2436
2437 2004-10-28  José Matos  <jamatos@lyx.org>
2438
2439         * output_docbook.C (makeEnvironment): move id to broadest possible
2440         scope.
2441
2442         * sgml.C (openTag): apply substitution of <> for all attributes.
2443
2444 2004-10-28  José Matos  <jamatos@lyx.org>
2445
2446         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2447         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2448         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2449
2450         * sgml.[Ch]: new version for open and closeTag for paragraph and
2451         for strings. Now they handle the ids of paragraphs.
2452
2453 2004-10-26  Angus Leeming  <leeming@lyx.org>
2454
2455         * Makefile.am: add mover.[Ch].
2456
2457         * converter.C (convert, move): use the new Movers to move external
2458         files to the temp directory.
2459
2460         * lyx_main.C (init): ensure that the global system_movers data
2461         is initialised.
2462
2463         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2464         preferences file.
2465
2466         * mover.[Ch]: new files, defining a Mover as a utility to move an
2467         external file between directories and, if necessary, manipulate this
2468         file using a helper script.
2469
2470 2004-10-25  José Matos  <jamatos@lyx.org>
2471
2472         * output_docbook.C (makeCommand): merge two if's that tested the
2473         same condition.
2474
2475 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * sgml.C (escapeString): fix warning in a better way
2478
2479 2004-10-25  José Matos  <jamatos@lyx.org>
2480
2481         * sgml.C (escapeString): import the require boosts header file for
2482         tie, and avoid a signed unsigned comparison.
2483
2484 2004-10-25  José Matos  <jamatos@lyx.org>
2485
2486         * sgml.h: add #include <string>
2487
2488 2004-10-25  José Matos  <jamatos@lyx.org>
2489
2490         * sgml.[Ch] (escapeString): new function to escape all the string.
2491
2492 2004-10-24  José Matos  <jamatos@lyx.org>
2493
2494         * paragraph.[Ch] (getFirstWord): new function to get the first
2495         word. Useful for description.
2496         (simpleDocBookOnePar): remove depth argument, add another that
2497         says where to start the paragraph.
2498
2499         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2500         use the new functions to fix cleanly the support for descriptions.
2501
2502 2004-10-24  José Matos  <jamatos@lyx.org>
2503
2504         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2505         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2506         * output_linuxdoc.C (linuxdocParagraphs):
2507         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2508         add buffer as argument.
2509
2510 2004-10-24  José Matos  <jamatos@lyx.org>
2511
2512         * output_docbook.C (makeEnvironment, searchEnvironment): place
2513         CDATA inside paragraphs and fix scope for listitems.
2514
2515 2004-10-24  José Matos  <jamatos@lyx.org>
2516
2517         * output_docbook.C: remove using statement for stack.
2518
2519 2004-10-23  José Matos  <jamatos@lyx.org>
2520
2521         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2522         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2523         docbook. The new scheme is recursive and makes use of iterators, the
2524         same as latex export works.
2525         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2526         directly with the paragraph contents. This code was moved up to
2527         output_docbook.C (docbookParagraphs).
2528         * sgml.C (openTag, closeTag): removed unneeded newlines.
2529         (closeEnvTags) removed.
2530
2531 2004-10-23  André Pönitz  <poenitz@gmx.net>
2532
2533         * undo.C (textUndoOrRedo):
2534         * dociterator.C (asDocIterator): work around crash
2535
2536         * cursor.C (getStatus): replace ASSERT by more verbose error message
2537           and manual correction of the problem. Should increase stability
2538           while providing more sensible information.
2539
2540 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2541
2542         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2543
2544         * bufferlist.C (previous, next): new methods
2545
2546         * lfuns.h:
2547         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2548
2549 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2550
2551         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2552         entities to preamble.
2553
2554 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2555
2556         * messages.C (Pimpl): strip off translation context information
2557
2558 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2559
2560         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2561         the cursor is correct (bug 1694)
2562
2563 2004-10-13  José Matos  <jamatos@lyx.org>
2564
2565         * output_docbook.C (docbookParagraphs): fix closing tags in the
2566         end of the document.
2567
2568 2004-10-09  José Matos  <jamatos@lyx.org>
2569
2570         * buffer.C: format up to 237.
2571         * bufferparams.C (write): use tostr to convert booleans to strings.
2572
2573 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2574
2575         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2576
2577 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2578
2579         * LaTeX.C: implement use of babel language in xindy.
2580
2581 2004-10-05  José Matos  <jamatos@lyx.org>
2582
2583         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2584         Add new translators to help reading and writing the lyx file.
2585
2586 2004-10-05  José Matos  <jamatos@lyx.org>
2587
2588         * ParagraphParameters.C (read):
2589         * text.C (readParToken): replace nexToken by more appropriate lex
2590         methods.
2591
2592 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2593
2594         * LaTeX.C (runMakeIndex):
2595         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2596         (usually 'makeindex') configurable.
2597
2598         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2599         with a variable rather than with a number.
2600
2601 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * output_latex.C (TeXOnePar): make sure font setting is the first
2604         thing that gets output (and the last at the end). Should fix bug
2605         1404.
2606
2607 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * pch.h: use proper signal include
2610
2611         * LaTeX.h: Use preferred calling of Boost.Signal
2612         * buffer.h: ditto
2613
2614 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * pch.h: dont include <boost/function/function0.hpp>
2617
2618         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2619
2620         * paragraph_pimpl.h: remove usage of ShareContainer
2621
2622         * paragraph_pimpl.C: remove initialization of ShareContainer.
2623
2624 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2625
2626         Fix bug #1666
2627
2628         * BufferView.C (putSelectionAt): change the semantics when
2629         backwards == true: now, this just swaps cursor and anchor wrt the
2630         forward case
2631
2632         * BufferView.h (putSelectionAt): add some documentation
2633
2634         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2635         make sure backwardChar is done at least once (to avoid getting
2636         stuck)
2637         (findNextChange): use putSelectionAt in the forward direction
2638         (operator()): use Paragraph::isWord
2639
2640 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2641
2642         * Spacing.C (set): c_str fix
2643
2644 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2645
2646         * lyx_cb.C (Reconfigure): quote the name of configure script in
2647         case it contains spaces
2648
2649 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * client: new dir
2652
2653         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2654         (BOOST_LIBS): use top_buildir when looking for the file
2655
2656 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * pch.h: do not use include boost/format.hpp, multiple symbols
2659                 will result (gcc bug)
2660
2661
2662 2004-08-23  José Matos  <jamatos@lyx.org>
2663
2664         * bufferparams.C (readToken): fix reading of the author field.
2665
2666 2004-08-20  José Matos  <jamatos@lyx.org>
2667
2668         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2669
2670 2004-08-20  José Matos  <jamatos@lyx.org>
2671
2672         * lyxlex.[Ch] (findToken): remove function.
2673
2674         * ParagraphParameters.C (findToken):
2675         * bufferparams.C (findToken): replace call for previous function
2676         with local copy. This local function has one more argument, the
2677         read string argument.
2678
2679 2004-08-16  José Matos  <jamatos@lyx.org>
2680
2681         * ParagraphParameters.C (write):
2682         * Spacing.C (writeFile):
2683         * bufferparams.C (writeLaTeX):
2684         * lyx_cb.C (Reconfigure):
2685         * paragraph.C (write):
2686         * tabular.C (write): remove unnecessary space at end of line.
2687
2688
2689 2004-08-16  José Matos  <jamatos@lyx.org>
2690
2691         * text.C (readParagraph): remove debug message.
2692
2693 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2696         crash
2697
2698         * output_plaintext.C (asciiParagraph): set depth correctly
2699
2700         * outputparams.h: add member depth
2701
2702         * paragraph_funcs.C (ownerPar): remove.
2703
2704         * text2.C (setCounter): remove first_pit; comment out some
2705         non-working code that uses ownerPar
2706
2707         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2708         uses ownerPar
2709
2710 2004-08-16  José Matos  <jamatos@lyx.org>
2711
2712         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2713         For the same level of importance use the same chanel to report problems.
2714         (read): add code to deal with \begin_body and \end_body.
2715
2716
2717 2004-08-15  José Matos  <jamatos@lyx.org>
2718
2719         * lyxlex.C (getString): fix comment, buffer::readBody is now
2720         buffer:readDocument.
2721
2722         * tex-strings.C (string_papersize): Default -> default,
2723         Custom -> custom, for consistency with other options.
2724
2725 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2726
2727         * pch.h: new file
2728
2729         * Makefile.am: support pch
2730
2731 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2732
2733         * text.C (readParToken): remove the static LyXFont variable and
2734         pass it as a parameter instead. This fixes a nasty bug where an
2735         inset will be inserted with a bad font in some situations
2736         (readParagraph): adapt
2737
2738         * text2.C (setCounter): reduce number of calls to pars_[pit]
2739
2740         * text.C (singleWidth): add an assert, fix a test
2741
2742         * rowpainter.C (paintText): reduce number of calls to singleWidth
2743
2744         * paragraph.C (isHfill):
2745         (isNewline): ws only
2746
2747 2004-08-14  André Pönitz  <poenitz@gmx.net>
2748
2749         * text.C:
2750         * text2.C:
2751         * rowpainter.C:
2752         * lyxtext.h (several functions): use a Paragraph & argument
2753         instead of par_type
2754
2755 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2756
2757         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2758
2759         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2760
2761         * text.C (singleWidth): remove useless test
2762
2763 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * tabular.h: remove bogus comments
2766
2767         * tabular.C (getDescentOfRow):
2768         (isPartOfMultiColumn): add assertions
2769
2770         * lyxlength.C (inPixels): remove #warning
2771
2772 2004-08-14  André Pönitz  <poenitz@gmx.net>
2773
2774         * paragraph.h: inline getChar()
2775
2776         * BufferView.h: remove unused declarations
2777
2778 2004-08-14  José Matos  <jamatos@lyx.org>
2779
2780         * Buffer.[Ch] (readDocument): new name for old readBody.
2781         * Buffer.C: new file format, new keywords: \begin_document,
2782         \begin_header, \begin_body, \end_body.
2783
2784         * bufferparams.C (readToken): replace all calls to lex.nextToken
2785         by lex.next(). Do the same to eatLine except where really needed.
2786
2787         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2788         line when writing to the lyx file.
2789
2790         * output_plaintext.C (asciiParagraph): fix Bibliography style
2791         handling.
2792
2793         * text.C (read): fix end of file handling.
2794
2795 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2796
2797         * MenuBackend.C (Menu::operator[]): new method to access
2798         individual menu items
2799         (Menu::hasFunc): new method. search for an item that corresponds
2800         to a given func
2801         (MenuBackend::specialMenu): new method
2802         (MenuBackend::expand): if a special menu has been set, skip
2803         entries whose func() appears in this menu
2804
2805 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2806
2807         * text3.C: use Debug::DEBUG a bit more
2808
2809         * text.C (leftMargin): try to simplify a tiny bit change var x to
2810         l_margin. Dont output the wide margins always.
2811         (rightMargin): no margin in inner texts
2812
2813         * rowpainter.h (nestMargin): new func
2814         (changebarMargin): new func
2815         (rightMargin): new func
2816
2817         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2818         now functions.
2819         (paintLast): ditto
2820
2821         * factory.C (createInset): modify setDrawFrame
2822
2823         * cursor.C: use Debug::DEBUG a bit more
2824
2825 2004-08-14  André Pönitz  <poenitz@gmx.net>
2826
2827         * coordcache.[Ch]:
2828         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2829         cache for all insets in (at least partially) visible (top-level)
2830         paragraphs.
2831
2832         * BufferView_pimpl.C: reset external coord cache before every update.
2833         This means the coord cache only contains valid entries.
2834
2835 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2836
2837         bug 1096
2838         * BufferView_pimpl.C (getInsetByCode): move function out of class
2839         and change in to a template in anon namespace. Also fix to do what
2840         suits us better.
2841
2842 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2843
2844         bug 1305
2845         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2846         of char
2847         (breakParagraph): rename par to par_offset and use a local
2848         reference. Add code to keep the language over a rebreak.
2849         (breakParagraphConservative): rename par to par_offset, use a
2850         local reference
2851         (mergeParagraph): ditto
2852         (outerHook): ditto
2853         (isFirstInSequence): ditto
2854         (outerFont): rename pit to par_offset
2855
2856         * paragraph.C: ws change
2857         * paragraph.h: ditto
2858         * text3.C: ditto
2859         * text.C: ditto
2860
2861 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2862
2863         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2864         treatment for ']'
2865
2866         * paragraph.C (simpleTeXOnePar): when we have a \item with
2867         optional argument, enclose the argument with curly brackets (in
2868         case it contains a closing square bracket)
2869
2870         * text2.C (editXY):
2871         * text2.C (editXY):
2872         * text3.C (checkInsetHit): constify
2873
2874 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2877         documents (bug 1629)
2878
2879 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2880
2881         Fix toggling of collapsable insets with the mouse (bug 1558)
2882
2883         * lyxfunc.C (dispatch): adapt to LCursor changes
2884
2885         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2886         make sure that dispatch is not invoked twice
2887
2888         * cursor.C (needsUpdate): new method
2889         (dispatch): return void
2890         (result): new method, to access the DispatchResult of the cursor.
2891
2892 2004-08-13  José Matos  <jamatos@lyx.org>
2893
2894         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2895
2896 2004-08-13  André Pönitz  <poenitz@gmx.net>
2897
2898         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2899
2900         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2901           multiple cells
2902
2903 2004-08-12  André Pönitz  <poenitz@gmx.net>
2904
2905         * text3.C: take out the 'cursor right' form insertInset and only
2906         do it in those places when it is really needed. Fixes crash on
2907         C-m...
2908
2909 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910
2911         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2912
2913         * BufferView_pimpl.C (setBuffer): initialize the current font of
2914         the underlying LyXText
2915
2916 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2917
2918         * kbsequence.C (print): use UI native formatting for menu
2919         shortcuts
2920
2921         * text.C (insertChar): call Paragraph::insertChar with a font
2922         argument (cosmetic)
2923
2924         * paragraph.C (insertInset, insertChar): the version that takes a
2925         LyXFont argument is now a wrapper around the other one (the
2926         opposite used to be true).
2927
2928         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2929         argument. Font setting is done in Paragraph now.
2930
2931 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2932
2933         * outputparams.h: add new members intitle and lang.
2934
2935         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2936         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2937
2938 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * text3.C (dispatch): remove special handling of button 4 and 5,
2941         it is now taken care of in the frontend code.
2942
2943 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2944
2945         * Spacing.h: add <string> (STLPort compile fix)
2946
2947 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2948
2949         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2950
2951 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2954         to bool.
2955
2956         * converter.C (showMessage): inherit from unary_function, make
2957         operator() const.
2958
2959         * buffer.C (writeFile): initialize retval
2960
2961         * InsetList.h: rename private variable list to list_
2962         * InsetList.[Ch]: adjust accordingly.
2963
2964 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2965
2966         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2967         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2968         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2969         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2970         * ParagraphParameters.C, LaTeXFeatures.C: replace
2971         "support/std_sstream.h" with <sstream>
2972
2973 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2976         * lyxsocket.C (LyXServerSocket): ditto
2977         (serverCallback): ditto
2978
2979 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2980
2981         * LaTeXFeatures.C: check release date when loading jurabib.
2982
2983 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2984
2985         * lyxserver.C (startPipe): call register_socket_callback
2986         (endPipe): call unregister_socket_callback
2987
2988 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2989
2990         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2991         (LyXServerSocket): register the callback
2992         (LyXServerSocket): unregister the callback
2993         (fd): delete function
2994         (serverCallback): improve error checking and setup the callbacks.
2995         (dataCallback): change arg to fd.
2996         (writeln): new func (copied fro the client socket) used for server
2997         write to client.
2998         (LyXDataSocket): simplify
2999         (~LyXDataSocket): close ann unregiser callback
3000         (server): delete function
3001         (fd): delete function
3002         (readln): small changes, improve some std::string usage
3003         (writeln): constify a bit
3004
3005 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3006
3007         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3008         Qt frontend
3009
3010 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3011
3012         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3013         after it has been populated
3014
3015 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3016
3017         * text2.C (insertInset): move cursor when inserting inset.
3018
3019 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * kbmap.C (findbindings): a couple of new methods. returns a
3022         container of kb_sequence objects. The real work is done by the
3023         private recursive version
3024         (printbindings): uses findbindings to print out a bracketed list
3025         of bindings (renamed from findbinding).
3026
3027         * MenuBackend.C (binding): use kb_keymap::findbindings
3028
3029         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3030
3031 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3032
3033         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3034
3035 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3036
3037         * paragraph.C (isWord): return true on insets that report
3038         isLetter().
3039
3040         * text.C (getWord): use Paragraph::isWord to decide what is in a
3041         word and what is not; fix bug 1609.
3042
3043 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3044
3045         * tex-strings.C: add "none" to string_paperpackages[], fixes
3046         off-by-one-error in the paperpackage selection.
3047
3048         * lyxlex.[Ch]:
3049         * tex-strings.[Ch]: char const * string[n]
3050         -> char const * const string[]
3051
3052 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3053
3054         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3055         command, return early.
3056
3057 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * debug.h: add DEBUG to enum and fix size of ANY.
3060
3061         * debug.C: add support for Debug::DEBUG
3062         (showTags): cast errorTags.level to unsigned int
3063
3064         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3065         (redoCurrentBuffer): ditto
3066         (updateScrollbar): ditto
3067         * cursor.C (dispatch): ditto
3068         * text2.C (setLayout): ditto
3069         (setFont): ditto
3070         (updateCounters): ditto
3071         (editXY): ditto
3072         (deleteEmptyParagraphMechanism): ditto
3073
3074 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3077         annotations to cleanup the Makefile slightly.
3078
3079 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3080
3081         * lyxrc.C: do not set user_email to a default value but use empty
3082         instead. The entry used to be translated, which does not work
3083         since at the point where lyxrc is constructed there is no
3084         translation service available
3085
3086         * messages.C (getLocaleDir): remove and use directly
3087         lyx_localedir() instead
3088
3089 2004-06-02  Angus Leeming  <leeming@lyx.org>
3090
3091         Fix crash caused by dereferencing null pointer 'exportdata' in
3092         OutputParams by creating a new ExportData variable on the heap,
3093         storing it in a boost::shared_ptr.
3094         The crash was triggered when generating an Instant Preview
3095         of an external inset.
3096
3097         * Makefile.am: add outputparams.C
3098
3099         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3100         (c-tor): allocate memory to it.
3101
3102         * exporter.C (c-tor): associated changes.
3103
3104 2004-06-01  Angus Leeming  <leeming@lyx.org>
3105
3106         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3107         contains data before calling isInset(0). (Bug 1513.)
3108
3109 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3110
3111         * exporter.C (checkOverwrite): new method
3112         * exporter.C (copyFile): new method
3113         * exporter.C (Export): copy referenced files to the document dir
3114         * exporter.[Ch]: new class ExportedFile
3115         * exporter.[Ch]: new class ExportData. Contains currently the
3116         names of referenced external files
3117         * outputparams.h: add exportdata member.
3118
3119 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3120
3121         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3122         version.C-tmp
3123
3124 2004-05-19  Angus Leeming  <leeming@lyx.org>
3125
3126         * LaTeXFeatures.C:
3127         * ToolbarBackend.C:
3128         * bufferparams.C:
3129         * lyxfunc.C: small changes due to the introduction of namespace
3130         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3131
3132 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3133
3134         * text3.C (dispatch): supress update when only moving the cursor
3135         * cursor.C (selHandle): remove commented code
3136
3137 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3138
3139         * paragraph.C (startTeXParParams): correct column count
3140         * CutAndPaste.C (pasteSelection): remove const_cast
3141         * output_docbook.C (docbookParagraphs): remove const_cast
3142         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3143         const_cast and return ParagraphList::const_iterator
3144         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3145         * output_plaintext.C (writeFileAscii): remove const_cast
3146         * paragraph.[Ch] (simpleTeXOnePar): make const
3147         * paragraph_funcs.C (outerPar): use const iterators
3148         * paragraph_pimpl.C (validate): use const iterators
3149         * text.C (setHeightOfRow): use const iterators
3150
3151 2004-05-17  Angus Leeming  <leeming@lyx.org>
3152
3153         * lfuns.h:
3154         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3155
3156         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3157         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3158         if the citation engine has changed.
3159
3160 2004-05-14  José Matos  <jamatos@lyx.org>
3161
3162         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3163         if the textclass does not provide it. Have it different for sgml and
3164         xml.
3165         support the language of document.
3166         * output_docbook.C (docbookParagraphs):
3167         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3168         first anchor as the id of the paragraph, remove special case code.
3169         * sgml.C (escapeChar): escape only < & >.
3170
3171 2004-05-14  Angus Leeming  <leeming@lyx.org>
3172
3173         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3174         dependencies on src/frontends/controllers/biblio.h. Define a
3175         CiteEngine_enum wrapper class to enable the enum to be forward
3176         declared.
3177
3178 2004-05-12  Angus Leeming  <leeming@lyx.org>
3179
3180         * buffer.C: up LYX_FORMAT to 234.
3181         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3182         use_numerical_citations with a single biblio::CiteEngine cite_engine
3183         variable.
3184         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3185
3186 2004-05-13  José Matos  <jamatos@lyx.org>
3187
3188         * converter.h:
3189         * converter.C (Converter, readFlags): add xml member.
3190         * outputparams.h: add XML flavor.
3191         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3192
3193 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3194
3195         * lyxfunc.C (dispatch):
3196         (getStatus): fix handling of LFUN_SEQUENCE
3197
3198 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3199
3200         * debug.C (showLevel): do not forget the end-of-line marker
3201
3202 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3203
3204         * kbmap.C (read): do not stop parsing a bind file when an error
3205         occurs (bug 1575)
3206
3207 2004-04-29  Angus Leeming  <leeming@lyx.org>
3208
3209         * cursor.C:
3210         * factory.C:
3211         * pariterator.C:
3212         * text2.C: wrap a bunch of #warning statements
3213         inside #ifdef WITH_WARNINGS blocks.
3214
3215 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3216
3217         * buffer.C: increment format to 233.
3218
3219 2004-04-28  Angus Leeming  <leeming@lyx.org>
3220
3221         * BufferView_pimpl.C:
3222         * lyxfunc.C:
3223         * text3.C:
3224         s/updateToolbar()/updateToolbars()/
3225         s/Toolbar.h/Toolbars.h/
3226
3227 2004-04-28  Angus Leeming  <leeming@lyx.org>
3228
3229         * BufferView.[Ch] (c-tor):
3230         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3231         No longer passes these data to the WorkArea generator.
3232
3233 2004-04-28  Angus Leeming  <leeming@lyx.org>
3234
3235         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3236
3237 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3238
3239         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3240
3241 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3242
3243         * output_latex.C (TeXEnvironment): make sure that there is a line
3244         break before \end{foo} for the last paragraph of a document
3245         (TeXOnePar): if the paragraph is at the end of the document (or
3246         inset) and the language has to be reset, then make sure that the
3247         line break is _before_ the language command, not after (fixes bug
3248         1225); also make sure that the language reset command is the first
3249         thing after the paragraph (to ensure proper nesting of
3250         environments and thus fix bug 1404)
3251
3252 2004-04-21  John Levon  <levon@movementarian.org>
3253
3254         * ToolbarBackend.h:
3255         * ToolbarBackend.C: make "name" be a programmatic name
3256         and a gui_name field.
3257
3258         * lyxfunc.C: display the minibuffer on M-x
3259
3260 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3261
3262         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3263         (bug 1526)
3264
3265 2004-04-19  Angus Leeming  <leeming@lyx.org>
3266
3267         * BufferView_pimpl.C (setBuffer): changed preview interface.
3268
3269         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3270         possible values.
3271
3272 2004-04-19  John Levon  <levon@movementarian.org>
3273
3274         * BufferView_pimpl.C:
3275         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3276
3277 2004-04-05  Angus Leeming  <leeming@lyx.org>
3278
3279         * text.C (redoParagraphs): add call to updateCounters(), thereby
3280         fixing the missing "Figure #:" label from the caption of a
3281         figure float.
3282
3283 2004-04-13  Angus Leeming  <leeming@lyx.org>
3284
3285         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3286         cursor is clicked out of an inset.
3287
3288 2004-04-13  Angus Leeming  <leeming@lyx.org>
3289
3290         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3291         than an InsetOld one.
3292
3293 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3294
3295         * format.[Ch]: add editor to Format
3296         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3297         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3298
3299 2004-04-08  André Pönitz  <poenitz@gmx.net>
3300
3301         * metricsinfo.h: remove PainterInfo::width member
3302
3303 2004-04-08  Angus Leeming  <leeming@lyx.org>
3304
3305         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3306         "\providecommand" rather than "\newcommand", thereby preventing
3307         clashes with packages that define "\boldsymbol" themselves.
3308         Eg, beamer.
3309
3310 2004-04-08  Angus Leeming  <leeming@lyx.org>
3311
3312         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3313         thereby squashing an unnecessary warning.
3314
3315 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3316
3317         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3318         setBuffer()
3319
3320 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * BufferView.C (setCursor): call redoParagraph (some insets could
3323         have been opened)
3324         (putSelectionAt): remove the 'double update' trick
3325
3326         * BufferView_pimpl.C (fitCursor): call refreshPar
3327         (workAreaDispatch): remove an uneeded update call
3328         (dispatch): remove some manual update calls
3329
3330         * cursor.[Ch]: remove cached_y_, updatePos
3331         (selHandle): set noUpdate when appropriate
3332
3333         * lyxfunc.C (dispatch): track if we need an update
3334
3335         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3336
3337         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3338         (paintSelection): cheap optimization, do not call cursorX when not
3339         needed
3340         (paintPars): change signature
3341         (refreshPar): add
3342         (paintText): adjust
3343         (paintTextInset): adjust
3344
3345         * text.C: adjust
3346
3347 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3348
3349         * lengthcommon.C: compilation fix: remove explicit array size from
3350         unit_name[] and friends
3351
3352 2004-04-05  Angus Leeming  <leeming@lyx.org>
3353
3354         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3355
3356         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3357         present only for the preferences dialog.
3358         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3359
3360 2004-04-05  Angus Leeming  <leeming@lyx.org>
3361
3362         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3363         to enable the frontends to export changes to lyxrc correctly.
3364
3365         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3366
3367 2004-04-07  André Pönitz  <poenitz@gmx.net>
3368
3369         * cursor.[Ch] (selClear, adjust): remove math
3370
3371         * cursor_slice.C: more agressive assert
3372
3373         * lyxfunc.C:
3374         * BufferView_pimpl.C: rework mouse event dispatch
3375
3376         * dociterator.C:
3377         * paragraph.C:
3378         * text2.C:
3379         * text3.C: adjust
3380
3381 2004-04-05  André Pönitz  <poenitz@gmx.net>
3382
3383         * cursor.[Ch] (valign, halign...): remove unneeded functions
3384
3385 2004-04-05  Angus Leeming  <leeming@lyx.org>
3386
3387         * lyxlength.[Ch] (unit_name et al.): const-correct.
3388
3389 2004-04-05  Angus Leeming  <leeming@lyx.org>
3390
3391         * BufferView_pimpl.C:
3392         * buffer.C:
3393         * counters.C:
3394         * cursor.C:
3395         * lyxfunc.C
3396         * paragraph.C:
3397         * pariterator.C:
3398         * text.C:
3399         * text2.C:
3400         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3401
3402 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3405
3406 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3407
3408         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3409         * BufferView_pimpl.[Ch] (getStatus)
3410         * BufferView.[Ch] (getStatus): add
3411         * lyxfunc.C (getStatus): move lfuns handled in
3412         BufferView::dispatch to te function above
3413         * Cursor.C (setSelection): set selection() = true
3414
3415 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3416
3417         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3418
3419 2004-03-31  Angus Leeming  <leeming@lyx.org>
3420
3421         * lyxfunc.C (dispatch): Fall through to the generic
3422         Dialogs::show("preamble").
3423
3424 2004-03-31  Angus Leeming  <leeming@lyx.org>
3425
3426         * lyxfunc.C (dispatch): Fall through to the generic
3427         Dialogs::show("spellchecker").
3428
3429 2004-03-31  Angus Leeming  <leeming@lyx.org>
3430
3431         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3432         preferences dialog.
3433
3434 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3435
3436         * BufferView.C
3437         * cursor.[Ch]
3438         * dociterator.[Ch]:
3439         * insetiterator.[Ch]:
3440         * lyxfind.C:
3441         * lyxfunc.C:
3442         * pariterator.[Ch]:
3443         * text2.C:
3444         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3445
3446 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3449         insets where we are putting the cursor.
3450
3451 2004-03-31  Angus Leeming  <leeming@lyx.org>
3452
3453         * lfuns.h:
3454         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3455
3456         * lyxrc.[Ch] (read, write): overloaded member functions taking
3457         a std::[io]stream arguments.
3458
3459         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3460
3461 2004-03-31  Angus Leeming  <leeming@lyx.org>
3462
3463         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3464         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3465
3466         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3467         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3468
3469 2004-03-31  Angus Leeming  <leeming@lyx.org>
3470
3471         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3472         the LFUN_ALL_INSETS_TOGGLE code.
3473
3474 2004-03-30  Angus Leeming  <leeming@lyx.org>
3475
3476         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3477         has died. Fall through to the generic Dialogs::show("document").
3478
3479 2004-03-30  Angus Leeming  <leeming@lyx.org>
3480
3481         * lfuns.h:
3482         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3483         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3484
3485         * lyxfunc.C (getStatus, dispatch): define the actions for these
3486         lfuns. Little more than a cut and pste job from ControlDocument.C
3487
3488         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3489
3490 2004-03-30  Angus Leeming  <leeming@lyx.org>
3491
3492         * lfuns.h:
3493         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3494         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3495
3496         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3497         open/closed state of ollapsable insets. Usage:
3498
3499         all-inset-toggle <state> <name>, where
3500         <state> == "open" || "closed" || "toggle" and
3501         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3502
3503         * lyxtext.h, text2.C (toggleInset): removed.
3504
3505         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3506         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3507         now passes LFUN_INSET_TOGGLE to the found inset.
3508
3509         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3510         is now invoked as "all-insets-toggle toggle branch".
3511
3512 2004-03-30  Angus Leeming  <leeming@lyx.org>
3513
3514         * dociterator.C:
3515         * insetiterator.C:
3516         * pariterator.[Ch]: added/corrected header blurb.
3517
3518 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3519
3520         * dociterator.[Ch]: add an inset_ member
3521         (backwardPos): implemented
3522         (backwardPos, forwardPos): use inset_ when the stack is empty.
3523         (doc_iterator_begin, doc_iterator_end): implemented
3524         * pariterator.[Ch]: adjust, add begin, end
3525         * insetiterator.[Ch]: adjust, add begin, end
3526         * cursor.C:
3527         * document.C:
3528         * BufferView.C:
3529         * BufferView_pimpl.C:
3530         * CutAndPaste.C: adjust
3531
3532 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3533
3534         * buffer.C: increment file format to 232.
3535         * LaTeXFeatures.C: add bibtopic package.
3536         * bufferparams.[Ch]: param \use_bibtopic.
3537
3538         * lyxrc.[Ch]: add lyxrc bibtex_command
3539         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3540
3541         * buffer.C: increment file format to 231.
3542
3543 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * dociterator.C: implement forwardPar
3546         * iterators.[Ch]: remove, replaced by
3547         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3548         * BufferView.C:
3549         * BufferView_pimpl.C:
3550         * CutAndPaste.C:
3551         * buffer.C:
3552         * bufferview_funcs.C:
3553         * cursor.C:
3554         * lyxfind.C
3555         * lyxfunc.C
3556         * paragraph_funcs.C
3557         * toc.C:
3558         * Makefile.am: adjust
3559
3560 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3561
3562         * CutAndPaste.C (pasteSelection): fix 2 crashes
3563         (eraseSelection): fix a crash
3564         * paragraph_funcs.C: remove a warning
3565
3566 2004-03-28  Angus Leeming  <leeming@lyx.org>
3567
3568         * lfuns.h:
3569         * LyXAction.C (init): new LFUN_PRINT.
3570
3571         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3572
3573 2004-03-27  Angus Leeming  <leeming@lyx.org>
3574
3575         * lfuns.h:
3576         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3577
3578         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3579
3580 2004-03-27  Angus Leeming  <leeming@lyx.org>
3581
3582         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3583         insetlist always contains non-null pointers to insets.
3584
3585 2004-03-26  Angus Leeming  <leeming@lyx.org>
3586
3587         * src/BufferView_pimpl.C:
3588         * src/CutAndPaste.C:
3589         * src/buffer.C:
3590         * src/iterators.C:
3591         * src/output_plaintext.C:
3592         * src/outputparams.h:
3593         * src/paragraph_funcs.C:
3594         * src/rowpainter.C:
3595         * src/text.C:
3596         * src/text2.C:
3597         * src/frontends/controllers/ControlErrorList.C:
3598         * src/frontends/gtk/FileDialogPrivate.C:
3599         * src/frontends/gtk/GPainter.C:
3600         * src/frontends/gtk/GToolbar.C:
3601         * src/frontends/qt2/QRef.C:
3602         * src/mathed/math_scriptinset.C: squash compiler warnings.
3603
3604 2004-03-26  Angus Leeming  <leeming@lyx.org>
3605
3606         * ispell.C (LaunchIspell::start):
3607         * lyx_cb.C (AutoSaveBuffer::start):
3608         invoke run(DontWait) rather than runNonBlocking().
3609
3610 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3611
3612         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3613
3614 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3615
3616         * kbsequence.C (print): adjust
3617
3618         * kbmap.C (printKeySym): rename and change signature
3619         (printKey): use LyXKeySym::print()
3620
3621 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3622
3623         * undo.C: add using std::advance to compile for stlport
3624
3625 2004-03-24  Angus Leeming  <leeming@lyx.org>
3626
3627         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3628         it leads to a crash when no buffer is present.
3629
3630 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3631             Martin Vermeer  <martin.vermeer@hut.fi>
3632
3633         * lyxfunc.C (dispatch):
3634         * bufferparams.C (readToken): use the new LColor::setColor
3635
3636         * LColor.[Ch] (setColor): new version that takes two strings as
3637         argument and creates a new color entry if necessary
3638
3639 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3640
3641         * buffer.C (makeLaTeXFile): if the main latex file that is
3642         processed is usually a subdocument of some master, then pretend
3643         for a while that it is actually the master
3644
3645 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3646
3647         * buffer.C (getLabelList):
3648         (getBibkeyList): use getMasterBuffer()
3649         (getMasterBuffer): new method. Returns the main document in the
3650         case where one is using included documents.
3651
3652 2004-03-25  André Pönitz  <poenitz@gmx.net>
3653
3654         * Makefile.am:
3655         * iterators.[Ch]:
3656         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3657
3658         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3659
3660         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3661         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3662
3663         * ParameterStruct.h: merge with ParagraphParameters
3664
3665         * lyxtext.h: remove LyXText::parOffset() and getPar()
3666
3667         * text3.C: Remove all 'manual' update calls. We do now one per user
3668         interaction which is completely sufficient.
3669
3670         * Bidi.C:
3671         * BufferView.[Ch]:
3672         * BufferView_pimpl.C:
3673         * FontIterator.[Ch]:
3674         * MenuBackend.C:
3675         * ParagraphParameters.[Ch]:
3676         * buffer.C:
3677         * buffer.h:
3678         * bufferlist.C:
3679         * cursor.[Ch]:
3680         * cursor_slice.[Ch]:
3681         * dociterator.[Ch]:
3682         * errorlist.[Ch]:
3683         * factory.C:
3684         * lfuns.h:
3685         * lyxfind.C:
3686         * lyxfunc.C:
3687         * output_docbook.[Ch]:
3688         * output_latex.[Ch]:
3689         * output_linuxdoc.[Ch]:
3690         * output_plaintext.[Ch]:
3691         * paragraph.[Ch]:
3692         * paragraph_funcs.[Ch]:
3693         * paragraph_pimpl.[Ch]:
3694         * rowpainter.C:
3695         * tabular.[Ch]:
3696         * text.C:
3697         * text2.C:
3698         * toc.C:
3699         * undo.[Ch]: adjust
3700
3701         * frontends/controllers/ControlDocument.C:
3702         * frontends/controllers/ControlErrorList.C:
3703         * frontends/controllers/ControlSpellchecker.C:
3704         * insets/inset.C:
3705         * insets/inset.h:
3706         * insets/insetbase.h:
3707         * insets/insetbibitem.C:
3708         * insets/insetbox.C:
3709         * insets/insetbranch.C:
3710         * insets/insetcaption.C:
3711         * insets/insetcharstyle.C:
3712         * insets/insetcharstyle.h:
3713         * insets/insetcollapsable.C:
3714         * insets/insetcollapsable.h:
3715         * insets/insetert.C:
3716         * insets/insetfloat.C:
3717         * insets/insetfoot.C:
3718         * insets/insetmarginal.C:
3719         * insets/insetnote.C:
3720         * insets/insetoptarg.C:
3721         * insets/insettabular.C:
3722         * insets/insettext.C:
3723         * insets/insettext.h:
3724         * insets/insetwrap.C:
3725         * mathed/math_mboxinset.C:
3726         * mathed/math_nestinset.C:
3727         * mathed/math_scriptinset.C:
3728         * mathed/math_scriptinset.h:
3729         * support/types.h:
3730
3731 2004-03-24  Angus Leeming  <leeming@lyx.org>
3732
3733         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3734         deal with any child processes that have finished but are waiting to
3735         communicate this fact to the rest of LyX.
3736
3737 2004-03-24  Angus Leeming  <leeming@lyx.org>
3738
3739         64-bit compile fixes.
3740
3741         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3742         (c-tor): pass lyx::pos_types rather than ints.
3743
3744         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3745         lyx::pos_type.
3746
3747         * text.C (Delete): compile fix.
3748         (getPar): ensure that function declaration is the same as that in
3749         the header file.
3750
3751 2004-03-23  Angus Leeming  <leeming@lyx.org>
3752
3753         * ispell.C (LaunchIspell):
3754         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3755         a boost::shred_ptr rather than a std::auto_ptr.
3756
3757 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3758
3759         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3760         handle LFUN_FILE_INSERT_*
3761
3762         * lyxrc.C (setDefaults, getDescription, output, read):
3763         * lyxrc.h: remove ps_command
3764
3765 2004-03-22  Angus Leeming  <leeming@lyx.org>
3766
3767         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3768         Ensure that error_handler is processed once only and that all data
3769         is saved before attempting to output any warning messages.
3770
3771         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3772
3773 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3776
3777 2004-03-19  André Pönitz  <poenitz@gmx.net>
3778
3779         * cursor.[Ch] (reset): take main text inset as argument
3780
3781         * BufferView: adjust
3782         * BufferView_pimpl.C: adjust
3783
3784         * paragraph.[Ch]: fix completely broken operator=()
3785
3786 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3787
3788         * LColor.C (getFromLyXName): make sure that the color name is used
3789         as lowercase.
3790
3791 2004-03-17  Angus Leeming  <leeming@lyx.org>
3792
3793         * lfuns.h:
3794         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3795
3796         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3797         dialog and to kill a forked process.
3798
3799 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3800
3801         * text2.C (setCursorFromCoordinates): fix font problem
3802
3803 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3804
3805         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3806         bogus "rebuild cursor" code
3807
3808 2004-03-11  André Pönitz  <poenitz@gmx.net>
3809
3810         * buffer.[Ch]: use InsetText instead of LyXText as container for
3811         the main lyx text.
3812
3813         * dociterator.[Ch]: drop the BufferView * member which is not needed
3814         anymore after the change to buffer.C
3815
3816         * paragraph_funcs.C:
3817         * text.C:
3818         * text2.C:
3819         * BufferView.[Ch]:
3820         * BufferView_pimpl.[Ch]:
3821         * cursor.[Ch]:
3822         * cursor_slice.[Ch]: adjust
3823
3824         * text3.C: fix bug in mathDispatch
3825
3826 2004-03-08  André Pönitz  <poenitz@gmx.net>
3827
3828         * undo.[Ch]: use 'StableDocumentIterator' as base for
3829         the Undo struct.
3830
3831 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3832
3833         * LaTeXFeatures.C:
3834         * bufferparams.[Ch]: add jurabib support and param.
3835
3836         * LaTeX.C: add FIXME/comment.
3837
3838 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3839
3840         * buffer.C: increment file format to 230.
3841
3842 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * cursor.C (dispatch): avoid infinite loops
3845
3846 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3847
3848         * rowpainter.C (paintSelection): fix x coordinates
3849
3850 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3851
3852         * text.C (rowBreakPoint): fix breaking before displayed insets
3853
3854 2004-03-01  André Pönitz  <poenitz@gmx.net>
3855
3856         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3857
3858         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3859
3860         * Makefile.am:
3861         * BufferView.C:
3862         * BufferView_pimpl.C:
3863         * buffer.C:
3864         * lyxfind.C:
3865         * lyxfunc.C:
3866         * text.C:
3867         * text2.C:
3868         * text3.C: adjust
3869
3870 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3871
3872         * lyxtext.h:
3873         * text.C:
3874         * text2.C:
3875         * rowpainter.C:
3876         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3877         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3878
3879 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * Bidi.[Ch] (computeTables): const correctness
3882         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3883         fill_hfill, fill_label_hfill and x from Row
3884         * lyxtext.h: prepareToPrint returns a RowMetrics
3885         * rowPainter.C: adjust
3886         * text.C (prepareToPrint): use width, not textWidth. adjust
3887         (redoParagraphInternal, cursorX): adjust
3888         * text2.C (getColumnNearX): adjust
3889         (init): put a default value to the top LyXText::width
3890
3891 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3892
3893         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3894
3895 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * lyxtext.h: add FontIterator class
3898
3899         * text.C (FontIterator, operator*, operator->, operator++): add
3900         (rowBreakPoint, setRowWidth): adjust (fixing a
3901         rebreaking bug)
3902
3903 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3904
3905         * BufferView_pimpl.C (workAreaDispatch): allow also
3906         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3907
3908 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * text.C (rowBreakPoint): fix a bug showing with very large insets
3911
3912 2004-02-25  André Pönitz  <poenitz@gmx.net>
3913
3914         * text3.C:
3915         * cursor.[Ch]: move some mathed specific code to mathed
3916
3917 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3918
3919         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3920         use_tempdir in preferences
3921         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3922         tempfile creation
3923         * lyx_main.C: ensure that tempdir is valid
3924         * lyxlex.h: correct typo
3925         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3926         * paragraph.[Ch] (isMultiLingual): make const
3927         * cursor.[Ch] (openable): make const
3928
3929 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3930
3931         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3932
3933 2004-02-20  André Pönitz  <poenitz@gmx.net>
3934
3935         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3936
3937         * cursor.[Ch]: prepare for localized getStatus()
3938
3939         * lyxtext.h:
3940         * tabular.C:
3941         * text.C:
3942         * text2.C:
3943         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3944
3945 2004-02-20  André Pönitz  <poenitz@gmx.net>
3946
3947         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3948
3949 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3950
3951         * text2.C (setCursorFromCoordinates): switch to absolute coords
3952         (cursorUp): adjust
3953         (cursorDown): adjust
3954         * text3.C (dispatch): adjust
3955
3956 2004-02-16  André Pönitz  <poenitz@gmx.net>
3957
3958         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3959           insets/ChangeLog)
3960
3961         * cursor_slice.[Ch]: remove unneeded acessor function
3962
3963         * lyxtext.h: rename rtl() to isRTL()
3964
3965         * rowpainter.C:
3966         * tabular.C:
3967         * text.C:
3968         * text2.C:
3969         * text3.C: adjust
3970
3971 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3972
3973         * rowpainter.C (paintSelection): coord fix
3974
3975 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3976
3977         * Spacing.C: compile fix
3978
3979 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3980
3981         * cursor.C (dispatch): restore current_ before returning
3982
3983 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * text2.C (cursorUp, cursorDown): fix coords
3986         (moveUp): fix crash
3987
3988 2004-02-12  André Pönitz  <poenitz@gmx.net>
3989
3990         * lyxtext.h:
3991         * text.C:
3992         * text2.C:
3993         * text3.C: add LCursor & parameter to most cursor movement functions
3994           remove usage of LyXText::cursorRow() and cursorPar()
3995
3996         * cursor.[Ch]: add textRow() needed members
3997
3998         * BufferView.C:
3999         * BufferView_pimpl.C:
4000         * paragraph.[Ch]:
4001         * BufferView.C:
4002         * BufferView_pimpl.C: adjust
4003
4004 2004-02-11  André Pönitz  <poenitz@gmx.net>
4005
4006         * lyxfunc.C:
4007         * BufferView.[Ch]:
4008         * BufferView_pimpl.C: shift undo/redo handling
4009
4010         * cursor.[Ch]: fix mathed crash
4011
4012         * lyxfind.C:
4013         * lyxtext.h: move selectionAsText to LCursor
4014
4015         * output_latex.C:
4016         * paragraph.C:
4017         * text.C:
4018         * text2.C:
4019         * text3.C: adjust
4020
4021         * rowpainter.C: fix excessive drawing
4022
4023 2004-02-06  André Pönitz  <poenitz@gmx.net>
4024
4025         * BufferView.[Ch]:
4026         * BufferView_pimpl.[Ch]:
4027         * text3.C: move some text specific LFUN handling
4028
4029 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4030
4031         * text3.C (checkInsetHit): adjust coords
4032         * text2.C (getColumnNearX): adjust coords
4033         (edit): adjust coords
4034         * text.C (getRowNearY): add two asserts
4035
4036 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4037
4038         * converter.C:
4039         * format.C: add using std::distance to compile on gcc 2.95/stlport
4040
4041 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4042
4043         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4044
4045 2004-02-04  André Pönitz  <poenitz@gmx.net>
4046
4047         * BufferView.[Ch] (insertInset):
4048         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4049
4050         * text2.C:
4051         * text3.C: adjust
4052
4053 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4054
4055         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4056         on the default clause of the switch
4057         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4058         wasn't catched by LCursor::dispatch
4059
4060 2004-02-03  André Pönitz  <poenitz@gmx.net>
4061
4062         * BufferView.C:
4063         * cursor.[Ch]: some additional asserts
4064
4065         * undo.[Ch]: remove LyXText dependency in interface
4066
4067         * lyxfunc.C: adjust
4068
4069         * lyxtext.h (firstPar, lastPar): remove dead functions
4070
4071         * text.C:
4072         * text2.C:
4073         * text3.C:
4074         * paragraph.[Ch]: adjust
4075
4076 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * lyxfind.C (find): fix argument order in call to ::find
4079
4080 2004-02-02  André Pönitz  <poenitz@gmx.net>
4081
4082         * cursor.[Ch]: remove direct access to anchor
4083
4084         * text.C: remove findText() hack
4085
4086 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4087
4088         * iterators.[Ch] (lockPath): remove in favour of...
4089         * BufferView.[Ch] (setCursor): this addition
4090         * BufferView.C (putSelectionAt): adjust
4091         * undo.C (performUndoOrRedo): adjust
4092         * lyxfunc.C (dispatch): adjust
4093
4094 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4095
4096         * iterators.C (lockPath): add a missing slice
4097         * undo.C (performUndoOrRedo): remove redundant positioning code
4098
4099 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * vc-backend.C (scanMaster): ";" -> ';'
4102
4103 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4106         std::binary_function
4107
4108         * lyxtextclass.C (compare_name): rename to...
4109         (LayoutNamesEqual): ...this
4110
4111         * lyxlex_pimpl.C (compare_tags): inherit from
4112         std::binary_function, put back into anon namespace
4113
4114         * lyxfind.C (MatchString): inherig from std::binary_function
4115         (findChange): use empty() istead of !size()
4116
4117         * format.C (FormatNamesEqual): new functor
4118         (getFormat): use it
4119         (getNumber): use it
4120         (add): use it
4121         (erase): use it
4122         (setViewer): use it
4123
4124         * converter.C (compare_Converter): rename to...
4125         (ConverterEqual): ...this, and fixup a bit.
4126         (getConverter): use it, and make function const
4127         (getNumber): use it, and make function const
4128         (add): use it
4129         (erase): use it:
4130
4131         * bufferlist.C: add using boost::bind
4132
4133         * MenuBackend.C (MenuNamesEqual): new functor
4134         (hasMenu): use it, and make function const
4135         (hasSubmenu): use nested bind to get rid of compare_memfun.
4136
4137 2004-01-30  André Pönitz  <poenitz@gmx.net>
4138
4139         * BufferView_pimpl.C:
4140         * cursor.C:
4141         * cursor.h:
4142         * cursor_slice.[Ch]:
4143         * lyxfunc.C:
4144         * lyxtext.h:
4145         * paragraph_funcs.C:
4146         * paragraph_funcs.h:
4147         * rowpainter.C:
4148         * text.C:
4149         * text2.C:
4150         * text3.C: move some of the edit(x,y) handling to the insets
4151         some coordinate changes.
4152
4153 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * text.C: add using statements for std::advance and std::distance
4156
4157         * paragraph.C: add using statement for std::distance
4158
4159         * lyxfind.C: add using statement for std::advance
4160
4161         * cursor.C (region): remove std:: from swap
4162         (openable): use nucleus in stead of operator->
4163
4164         * BufferView.C: add using statements for std::distance and std::swap
4165
4166 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * iterators.C: Remove the pimple, move the needed structures to
4169         the header file. Create accessor for the positions stack.
4170         (asPosIterator): remove function
4171
4172         * PosIterator.C (PosIterator): move constructors to top of file
4173         (PosIterator): reimplement the constructor taking a ParIterator in
4174         terms of setFrom.
4175         (setFrom): new function
4176         (operator!=): inline it
4177
4178 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4179
4180         * lyxfind.C (replaceAll): use std::advance
4181
4182         * iterators.h: inherit from std::iterator.
4183
4184         * PosIterator.C (advance, distance): remove
4185         * PosIterator.h: interit from std::iterator.
4186
4187 2004-01-26  André Pönitz  <poenitz@gmx.net>
4188
4189         * BufferView.[Ch]:
4190         * BufferView_pimpl.[Ch]:
4191         * InsetList.[Ch]:
4192         * PosIterator.[Ch]:
4193         * buffer.h:
4194         * bufferview_funcs.C:
4195         * cursor.[Ch]:
4196         * cursor_slice.h:
4197         * factory.[Ch]:
4198         * iterators.[Ch]:
4199         * lyxfind.C:
4200         * lyxfunc.C:
4201         * lyxtext.h:
4202         * output_docbook.C:
4203         * output_latex.C:
4204         * output_linuxdoc.C:
4205         * output_plaintext.C:
4206         * paragraph.[Ch]:
4207         * paragraph_funcs.[Ch]:
4208         * paragraph_pimpl.[Ch]:
4209         * rowpainter.C:
4210         * tabular.C:
4211         * tabular.h:
4212         * text.C:
4213         * text2.C:
4214         * text3.C: more IU:  dumps most of the rest of the mathcursor
4215     implementation into cursor.[Ch]; "globalize" a bit of it.
4216
4217 2004-01-25  Angus Leeming  <leeming@lyx.org>
4218
4219         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4220
4221 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4222
4223         * LaTeXFeatures.h: add nice_ and nice() const
4224         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4225
4226 2004-01-20  André Pönitz  <poenitz@gmx.net>
4227
4228         * BufferView.[Ch]:
4229         * BufferView_pimpl.C:
4230         * PosIterator.C:
4231         * bufferview_funcs.C:
4232         * cursor.[Ch]:
4233         * cursor_slice.[Ch]:
4234         * factory.C:
4235         * iterators.C:
4236         * lyx_cb.C:
4237         * lyxfind.C:
4238         * lyxfunc.C:
4239         * lyxtext.h:
4240         * rowpainter.C:
4241         * text.C:
4242         * text2.C:
4243         * text3.C:
4244         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4245           LCursor and mathcursor parts to LCursor and InsetBase.
4246
4247 2004-01-15  André Pönitz  <poenitz@gmx.net>
4248
4249         * cursor_slice.[Ch]: add a few covienience functions
4250
4251         * funcrequest.[Ch]: remove BufferView * member
4252
4253         * BufferView_pimpl.C:
4254         * cursor.C:
4255         * factory.[Ch]:
4256         * lyxfind.[Ch]:
4257         * lyxfunc.C:
4258         * lyxtext.h:
4259         * text3.C:
4260         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4261
4262 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4263
4264         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4265         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4266
4267 2004-01-13  André Pönitz  <poenitz@gmx.net>
4268
4269         * textcursor.[Ch]:
4270         * lyxtext.h: hide cursor and selection anchor behind accessor function
4271
4272         * BufferView.C:
4273         * BufferView_pimpl.[Ch]:
4274         * PosIterator.C:
4275         * bufferview_funcs.C:
4276         * cursor.h:
4277         * lyxfind.C:
4278         * lyxfunc.C:
4279         * text.C:
4280         * text2.C:
4281         * text3.C:
4282         * undo.C: adjust
4283
4284         * cursor.h:
4285         * cursor_slice.[Ch]: some integer type changes for inset unification
4286
4287         * lyxcursor.[hC]: remove, it's CursorSlice now.
4288
4289         * Makefile.am:
4290         * BufferView_pimpl.[Ch]:
4291         * bufferview_funcs.C:
4292         * cursor_slice.C:
4293         * lyxtext.h:
4294         * text.C:
4295         * text2.C:
4296         * text3.C:
4297         * textcursor.[Ch]: adjust
4298
4299 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4300
4301         * text2.C (undoSpan): add and use
4302         * text.C (breakParagraph): use undoSpan (fix bug 578)
4303         * lyxtext.h: adjust
4304
4305 2004-01-08  Angus Leeming  <leeming@lyx.org>
4306
4307         * BufferView_pimpl.C (MenuInsertLyXFile):
4308         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4309         * lyxfunc.C (menuNew, open, doImport):
4310         FileFilterList change to the FileDialog open and save functions.
4311
4312 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * ShareContainer.h: make isEqual and isUnique adaptable
4315
4316         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4317
4318 2004-01-07  Angus Leeming  <leeming@lyx.org>
4319
4320         * LyXAction.C:
4321         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4322
4323         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4324
4325         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4326         functions replacing find, replace and replaceAll.
4327
4328         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4329         LFUN_WORDFIND(FORWARD|BACKWARD).
4330
4331 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4332
4333         * text.C (breakParagraph): remove an outdated #warning
4334
4335 2004-01-07  André Pönitz  <poenitz@gmx.net>
4336
4337         * lyxfind.C: somewhat clearer logic
4338
4339         * text.C: prevent crash in cursorX on unitialized row cache
4340
4341 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4342
4343         * lyxcursor.[Ch] (operator>): add
4344         * textcursor.C (selStart, selEnd): use std::min and std::max
4345
4346 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * Chktex.C: include boost/format.hpp
4349
4350 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * InsetList.C: replace functor MathcIt with adaptable functor
4353         InsetTablePosLess
4354         (insetIterator): modify accordingly
4355
4356         * BranchList.h: move the BranchNamesEqual functor here from...
4357         * BranchList.C: ... to here
4358
4359         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4360         SameName and match.
4361         (add): replace a finding loop with std::find_if.
4362
4363 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4364
4365         * output_docbook.C: moving LatexParam functionality into
4366         .layout files
4367
4368 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4369
4370         * buffer.C: increment format to 229.
4371
4372 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4373
4374         * LaTeXFeatures.C:
4375         * lyx_sty.[Ch]: remove minipageindent_def
4376
4377         * LyXAction.C:
4378         * factory.C:
4379         * lfuns.h:
4380         * lyxfunc.C:
4381         * text3.C: remove LFUN_INSET_MINIPAGE
4382
4383 2003-12-28  Angus Leeming  <leeming@lyx.org>
4384
4385         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4386
4387 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4388
4389         * text2.C (setParagraph): fix off-by-one crash
4390
4391 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4392
4393         * output_docbook.C: header stuff for AGU
4394
4395 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4396
4397         * text2.C (redoCursor): remove
4398         * text.C:
4399         * text3.C:
4400         * BufferView_pimpl.C: remove calls to redoCursor and
4401         setCursor(cursor.par(), cursor.pos()) all around
4402
4403 2003-12-15  Angus Leeming  <leeming@lyx.org>
4404
4405         * buffer.C: up the format to 228.
4406
4407 2003-12-15  André Pönitz  <poenitz@gmx.net>
4408
4409         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4410         slices
4411
4412         * Makefile.am:
4413
4414         * BufferView_pimpl.C:
4415         * cursor.[Ch]:
4416         * lyxcursor.[Ch]:
4417         * rowpainter.[Ch]:
4418         * lyxtext.h:
4419         * text.C:
4420         * text2.C:
4421         * text3.C: adjust
4422
4423 2003-12-15  Angus Leeming  <leeming@lyx.org>
4424
4425         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4426         than getFromGUIName to manipulate the color.
4427
4428 2003-12-14  Angus Leeming  <leeming@lyx.org>
4429
4430         * BranchList.[Ch]: minimize the API.
4431         (Branch::getBranch, getColor): now return a 'const &'.
4432         (Branch::setSelected) now returns a bool set to true if the
4433         selection status changes.
4434         (BranchList::clear, size, getColor, setColor, setSelected,
4435         allBranches, allSelected, separator): removed.
4436         (BranchList::find): new functions, returning the Branch with
4437         the given name.
4438         (BranchList::add, remove): return a bool indicating that
4439         the operation was successful.
4440
4441         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4442         new InsetBranch::isBranchSlected member function.
4443
4444         * LColor.[Ch]: mimimize the API.
4445         (fill): renamed as addColor and made private.
4446         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4447         versions of these functions taking a string arg have been removed.
4448
4449         * bufferparams.C (readToken):
4450         * lyxfunc.C (dispatch):
4451         * lyxrc.C (read): changes due to the altered BranchList and
4452         LColor APIs.
4453
4454         * factory.C (createInset, readInset): changes due to altered
4455         InsetBranch c-tor.
4456
4457 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4458
4459         * factory.C:
4460         * lyxfunc.C: remove insetminipage. "minipage-insert"
4461         now produces a frameless minipage box inset.
4462
4463 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4464
4465         * textcursor.[Ch] (selStart,selEnd): add new methods
4466         remove selection::start, end, use LyXCursor::operator<
4467         * lyxcursor.[Ch] (operator<): add
4468         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4469         * BufferView.[Ch] (unsetXSel): add
4470         * text2.C (clearSelection): use unsetXSel,adjust
4471         * text.C: adjust
4472         * text3.C: adjust
4473         * rowpainter.C: adjust
4474         * bufferview_funcs.C (put_selection_at): adjust
4475
4476 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4477
4478         * BufferView_pimpl.C: small coord. correction
4479
4480 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4481
4482         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4483         dragging over the splash screen.
4484
4485 2003-12-11  Angus Leeming  <leeming@lyx.org>
4486
4487         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4488         as it is now handled in LyXText::dispatch.
4489
4490         * text3.C (doInsertInset): remove a level of nesting.
4491
4492 2003-12-11  Angus Leeming  <leeming@lyx.org>
4493
4494         * factory.C (createInset): changes due to the changed interface to
4495         InsetCommandMailer::string2params.
4496
4497 2003-12-10  Angus Leeming  <leeming@lyx.org>
4498
4499         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4500         'dialog-show-new-inset <inset name>'
4501
4502 2003-12-10  Angus Leeming  <leeming@lyx.org>
4503
4504         * buffer.C: up the format to 227.
4505
4506         * factory.C: the box inset is now identified simply by 'Box'.
4507
4508 2003-12-10  Angus Leeming  <leeming@lyx.org>
4509
4510         * buffer.C: up the format to 226.
4511
4512         * factory.C: the note inset is now identified simply by 'Note'.
4513
4514 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4517         when a pit is enough. Standarize a couple of loops.
4518
4519 2003-12-05  Angus Leeming  <leeming@lyx.org>
4520
4521         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4522         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4523         data to the re-worked "log" dialog.
4524
4525 2003-12-03  André Pönitz  <poenitz@gmx.net>
4526
4527         * PosIterator.C:
4528         * iterators.C:
4529         * lyxtext.h:
4530         * output_latex.C:
4531         * paragraph_funcs.C:
4532         * text.C:
4533         * text2.C: use Inset::getText instead of Inset::getParagraph
4534
4535 2003-12-03  André Pönitz  <poenitz@gmx.net>
4536
4537         * buffer.[Ch]:
4538         * lyxtext.h:
4539         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4540         InsetText::read() as LyXText::read()
4541
4542 2003-12-02  Angus Leeming  <leeming@lyx.org>
4543
4544         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4545         type. Add a comment in the implementation that the function uses
4546         the stream's bad() function rather than fail() as the std::streams
4547         would do.
4548
4549 2003-12-02  André Pönitz  <poenitz@gmx.net>
4550
4551         * lyxlex.[Ch]: make interface more similar to std::stream
4552
4553         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4554
4555 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4556
4557         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4558
4559 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4560
4561         * vspace.[Ch]: remove VSpace::NONE
4562
4563 2003-12-01  André Pönitz  <poenitz@gmx.net>
4564
4565         * buffer.[Ch]:
4566         * lyxtext.h: move ParagraphList member to LyXText
4567         rename LyXText::ownerParagraphs to LyXText::paragraph
4568
4569         * CutAndPaste.C:
4570         * bufferview_funcs.C:
4571         * iterators.[Ch]:
4572         * lyx_cb.C:
4573         * paragraph.C:
4574         * rowpainter.C:
4575         * tabular.C:
4576         * text.C:
4577         * text2.C:
4578         * text3.C: adjust
4579
4580         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4581
4582         * undo.C: fix cursor positioning
4583
4584 2003-12-01  John Levon  <levon@movementarian.org>
4585
4586         * BufferView_pimpl.C: fix a crash on exit with
4587         a buffer open
4588
4589 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4590
4591         * BranchList.C: fix setSelected() method.
4592
4593 2003-11-28  André Pönitz  <poenitz@gmx.net>
4594
4595         * ParagraphParameters.[Ch]:
4596         * ParameterStruct.h: remove space above/below from Paragraph to
4597          InsetVSpace
4598
4599         * BufferView_pimpl.C:
4600         * factory.C:
4601         * lyxfunc.C:
4602         * lyxtext.h:
4603         * output_latex.C:
4604         * paragraph.C:
4605         * paragraph_funcs.C:
4606         * rowpainter.[Ch]:
4607         * text.C:
4608         * text2.C:
4609         * text3.C: adjust
4610
4611 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4612
4613         * factory.C: Syntax change for CharStyles
4614
4615 2003-11-28  André Pönitz  <poenitz@gmx.net>
4616
4617         * BufferView.[Ch]:
4618         * BufferView.[Ch]:
4619         * buffer.[Ch]:
4620         * buffer.[Ch]: move LyXText member
4621
4622 2003-11-28  André Pönitz  <poenitz@gmx.net>
4623
4624         * BufferView.[Ch]: make LyXText * text a private member
4625
4626         * BufferView_pimpl.C:
4627         * cursor.C:
4628         * iterators.C:
4629         * lyx_cb.C:
4630         * lyxfind.C:
4631         * lyxtext.h:
4632         * rowpainter.[Ch]:
4633         * text.C:
4634         * text2.C:
4635         * undo.C: adjust
4636
4637         * output_plaintext.C: cleanup
4638
4639 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4640
4641         * buffer.C:
4642         * lyxtextclass.[Ch]: parametrize SGML document header
4643
4644 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4645
4646         * converter.[Ch]:
4647         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4648         getFlavor().
4649
4650 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4651
4652         * text2.C (setFont): rework using PosIterator (no more recursive)
4653         (setCharFont): no more needed
4654         (setLayout): no more selection cursors fiddling (done by redoCursor)
4655         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4656         destroy remaining ones)
4657
4658 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4659
4660         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4661         * lyxtext.h: ditto
4662         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4663         selection cursors
4664         * lyxfunc.C: adjust
4665         * text3.C: adjust + re-allow multi par depth changes
4666         * textcursor.C: simplify a bit
4667
4668 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4669
4670         * src/buffer.C:
4671         * src/lyxlayout.C:
4672         * src/lyxlayout.h:
4673         * src/lyxtext.h:
4674         * src/output_docbook.C:
4675         * src/output_latex.C:
4676         * src/paragraph.C:
4677         * src/paragraph.h:
4678         * src/sgml.C:
4679         * src/sgml.h:
4680         * src/text2.C: Introducing a number of tags parametrizing various
4681         XML formats that we may want to support
4682
4683 2003-11-25  André Pönitz  <poenitz@gmx.net>
4684
4685         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4686
4687         * lyxtext.h (leftMargin/rightMargin): simplify interface
4688
4689         * rowpainter.C:
4690         * text.C:
4691         * text2.C:
4692         * text3.C: adjust
4693
4694 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4695
4696         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4697         master file to any child files. Fixes bug 546.
4698
4699 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4700
4701         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4702
4703 2003-11-24  André Pönitz  <poenitz@gmx.net>
4704
4705         * rowpainter.C: simplification
4706
4707         * text2.C (updateCounters): remove call to redoParagraph on
4708         changed labels as this is far too expensive.
4709
4710 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4711
4712         * converter.C (convert): fix a crash: this function gets
4713         called with buffer == 0 from importer code.
4714
4715 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * text3.C (cursorPrevious): make sure that we do not compare
4718         iterators form different containers.
4719         (cursorNext): ditto
4720
4721         * rowpainter.C (paintSelection): make sure that we do not compare
4722         iterators from different containers.
4723
4724         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4725         iterators from different ParagraphList containers.
4726         [NEXT] ditto
4727
4728         * text2.C (LyXText): change order of initialization slightly
4729         (operator=): new function. copy all variables except cache_par_
4730         (moveUp): make sure that we do not compare iterators from
4731         different ParagraphList constainers.
4732         (moveDown): ditto
4733
4734         * text.C (firstPar): new function
4735         (lastPar): new function
4736         (endPar): new function
4737
4738         * lyxtext.h: move things around and group public functions, public
4739         variables, private functions, private variables
4740
4741 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4742
4743         * factory.C: change call to InsetERT constructor to avoid
4744         additional invocation of method status
4745         * text2.C (toggleInset): remove redundant update() call
4746         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4747         instead of a Bufferview pointer
4748
4749 2003-11-21  André Pönitz  <poenitz@gmx.net>
4750
4751         * rowpainter.C: simplification
4752
4753 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4754
4755         * text3.C (dispatch): make possible to extend a word/row selection
4756         with the mouse
4757
4758 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4759
4760         * lyxtext.h: x0_,y0_ -> xo_,yo_
4761         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4762         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4763         * rowpainter.C (paintRows): paint full paragraphs
4764
4765 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4766
4767         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4768         screen coordinates)
4769
4770 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4771
4772         * lyxtext.h: add x0_, y0_
4773         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4774         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4775
4776 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4777
4778         * text2.C (setCursorIntern): move the x_target update here *
4779         * text3.C: change some bv() to true/false in calls to
4780         cursorUp/Down/Right/Left
4781         * cursor.C: use helper function.
4782
4783 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4784
4785         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4786         * paragraph_funcs.[Ch]: correct comment
4787         * rowpainter.C: do not paint selections away from bv->cursor()
4788         Fix a long standing selection painting bug.
4789         * text3.C: generalize mouse-selection code to LyXTexts other that
4790         top one
4791         * textcursor.C: do not use y coords if we can use par offsets
4792
4793 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4794
4795         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4796         cursor position after e.g. inset insert)
4797
4798 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4799
4800         * lyxfind.C (replace): adjust to locking removal + some
4801         code simplification
4802
4803 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4804
4805         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4806         of the path
4807
4808 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4809
4810         * lyxlayout.[Ch]:
4811         * output_docbook.C: XML sanitation: new layout
4812         parameters InnerTag and CommandDepth
4813
4814 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4815
4816         * BufferView_pimpl.C:
4817         * factory.C:
4818         * text3.C: Fix the insertion and modification of button-style
4819         insets
4820
4821 2003-11-13  André Pönitz  <poenitz@gmx.net>
4822
4823         * InsetList.[Ch]: remove deleteLyXText
4824
4825         * paragraph.[Ch]: cache beginOfBody position
4826
4827         * Bidi.C:
4828         * text.C:
4829         * text2.C:
4830         * text3.C: remove superfluous update() calls
4831
4832         * vspace.C: cleanup
4833
4834 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4835
4836         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4837         * BufferView.C (fitLockedInsetCursor): remove
4838         * cursor.[Ch] (getDim): add
4839         * text.C (getRowNearY): add faster version
4840         * text3.C: remove some update calls
4841
4842 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4843
4844         * LaTeXFeatures.C:
4845         * LyXAction.C:
4846         * MenuBackend.C:
4847         * MenuBackend.h:
4848         * dispatchresult.h:
4849         * factory.C:
4850         * lfuns.h:
4851         * lyxfunc.C:
4852         * lyxtextclass.C:
4853         * lyxtextclass.h:
4854         * text3.C: The Character Style /XML short element patch.
4855
4856 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * text3.C:
4859         * factory.C: Small step to solving 'unable to insert some insets'
4860         problem
4861
4862 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4863
4864         * cursor.[Ch] (updatePos): new function for updating the y
4865         position of the tip inset
4866         * bufferview_funcs.C (put_selection_at):
4867         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4868
4869 2003-11-11  André Pönitz  <poenitz@gmx.net>
4870
4871         * text.C: remove big comment on invalid Paragraph pointers as it is
4872         not valid anymore
4873
4874 2003-11-11  André Pönitz  <poenitz@gmx.net>
4875
4876         * text_funcs.[Ch]: merge with ...
4877
4878         * text.C: ... this
4879
4880         * lyxtext.h:
4881         * text2.C:
4882         * text3.C: adjust
4883
4884         * Makefile.am: remove text_funcs.[Ch]
4885
4886 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4887
4888         * cursor.C (getPos): return absolute cached y coord
4889
4890         * BufferView_pimpl.C (fitCursor): new simplistic code
4891         (workAreaDispatch): add a fitCursor call
4892
4893 2003-11-10  André Pönitz  <poenitz@gmx.net>
4894
4895         * BufferView.[Ch]:
4896         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4897
4898 2003-11-10  André Pönitz  <poenitz@gmx.net>
4899
4900         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4901         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4902         indicate that the cursor needs to leave an inset
4903
4904         * lyxtext.h: remove inset locking
4905
4906         * cursor.[Ch]: re-implement functionality provided by inset locking
4907
4908         * BufferView.[Ch]:
4909         * BufferView_pimpl.[Ch]:
4910         * LyXAction.C:
4911         * bufferview_funcs.[Ch]:
4912         * factory.C:
4913         * funcrequest.[Ch]:
4914         * iterators.C:
4915         * lyx_cb.C:
4916         * lyxfind.C:
4917         * lyxfunc.C:
4918         * text.C:
4919         * text2.C:
4920         * text3.C:
4921         * undo.C: adjust
4922
4923 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * PosIterator.[Ch]: replace the stack with a vector, add inset
4926         accesor
4927         * iterators.[C]: adjust
4928
4929 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4932         replaced
4933         * paragraph_funcs.C (readParToken): put the correct id in the
4934         error item, not the id of the top paragraph
4935
4936 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4939         * bufferview_funcs.C (put_selection_at): use the above
4940
4941 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4944
4945 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4946
4947         * output_linuxdoc.h:
4948         * output_plaintext.h:
4949         * output.h:
4950         * output_docbook.h: add #include statements
4951
4952 2003-11-05  José Matos  <jamatos@lyx.org>
4953
4954         * output_docbook.[Ch]:
4955         * output_latex.[Ch]:
4956         * output_linuxdoc.[Ch]:
4957         * output_plaintext.[Ch]: New files for output formats.
4958         * output.[Ch]: New file for helper functions.
4959
4960         * buffer.[Ch]:
4961         * paragraph_funcs.[Ch]: output functions moved to new files.
4962
4963         * outputparams.h: rename of latexrunparams.h
4964
4965         * LaTeX.[Ch]:
4966         * buffer.[Ch]:
4967         * bufferlist.[Ch]:
4968         * converter.[Ch]:
4969         * exporter.C:
4970         * paragraph.[Ch]:
4971         * paragraph_funcs.[Ch]:
4972         * paragraph_pimpl.[Ch]:
4973         * tabular.[Ch]: rename ascii to plaintext
4974         and LatexRunParams to OutputParams.
4975
4976 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4977
4978         * iterators.[Ch] (text): require bv argument
4979         * undo.C (recordUndo):
4980         * lyxfunc.C (dispatch):
4981         * bufferview_funcs.C (put_selection_at): adjust
4982
4983 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4984
4985         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4986
4987 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4990         nestings
4991
4992 2003-11-04  André Pönitz  <poenitz@gmx.net>
4993
4994         * cursor.[Ch]: restructure
4995
4996         * BufferView.[Ch]:
4997         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4998
4999         * iterators.[Ch] (asCursor): remove
5000
5001         * lfuns.h: remove LFUN_INSET_EDIT
5002
5003         * lyxfunc.C:
5004         * tabular.C:
5005         * text.C:
5006         * text2.C:
5007         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5008
5009 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * lyxfind.[Ch]: complete overhaul
5012         * BufferView_pimpl.C:
5013         * lyxfunc.C: adjust
5014         * paragraph.[Ch] (insert): add
5015
5016 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * BufferView.[Ch]:
5019         * lyxtext.h:
5020         * text.C: remove dead spellcheck code
5021
5022 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * dispatchresult.h: add a val setter
5025
5026         * cursor.C (dispatch): use a tempvar for data_[i]
5027
5028 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * PosIterator.[Ch]: compile fix
5031
5032 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * text.C (cursorPar): deactivate the cursor cache
5035
5036 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5039
5040 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * text3.C (dispatch): adjust for new DisptchResult semantics.
5043
5044         * lyxfunc.C (dispatch): handle update when return from
5045         Cursor::dispatch, adjust for new DispatchResult semantics.
5046
5047         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5048         DispatchResult(true) mean to not update. Add class functions for
5049         setting dispatched and update, as well as reading.
5050
5051         * cursor.C (dispatch): don't handle update here
5052
5053 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5056         * trans_mgr.C: adjust
5057
5058         * paragraph_funcs.C (readParToken): exception safety
5059
5060         * lyxvc.h: store the vcs pointer in a scoped_ptr
5061         * lyxvc.C: adjust
5062
5063         * lyxsocket.C (serverCallback): exception safety
5064
5065         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5066
5067         * ispell.C (clone): make it return a auto_ptr
5068
5069         * factory.C (createInset): exception safety
5070         (readInset): exception safety
5071
5072         * bufferlist.C (newBuffer): exception safety
5073
5074         * Thesaurus.C (Thesaurus): use initialization for aik_
5075
5076         * MenuBackend.C (expandToc): exception safety.
5077
5078 2003-11-03  André Pönitz  <poenitz@gmx.net>
5079
5080         * buffer.C:
5081         * buffer.h:
5082         * bufferview_funcs.C: remove getInsetFromId()
5083
5084         * lyxcursor.[Ch]:
5085         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5086
5087         * lyxfunc.C:
5088         * text2.C:
5089         * text3.C: adjust
5090
5091 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * PosIterator.C (distance, advance): new
5094         * bufferview_funcs.[Ch] (put_selection_at): new
5095         * iterators.[Ch] (lockPath): new
5096
5097 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * iterators.[Ch] (asPosIterator): added
5100         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5101         * PosIterator.[Ch]: added
5102
5103 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * text3.C:
5106         * lyxfunc.C:
5107         * cursor.C (dispatch):
5108         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5109
5110         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5111         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5112         contructor, add a class function dispatched. Remove operator>=
5113
5114 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * debug.C: only use the default constructor for debugstream
5117         (lyxerr) here.
5118
5119         * main.C (main): include debug.h and setup the lyxerr streambuf
5120         here.
5121
5122 2003-10-31  José Matos  <jamatos@lyx.org>
5123
5124         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5125
5126         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5127         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5128         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5129         * paragraph_pimpl.C (simpleTeXSpecialC):
5130         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5131         add LatexRunParams argument.
5132
5133         * exporter.C (Export): change call accordingly.
5134
5135         * latexrunparams.h: add new member to take care of the other backends.
5136 2003-10-30  José Matos  <jamatos@lyx.org>
5137
5138         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5139         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5140         factorise code for paragraph output.
5141         * buffer.[Ch]:
5142         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5143         move functions.
5144
5145 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * text3.C (dispatch):
5148         * lyxfunc.C (dispatch):
5149         * cursor.C (dispatch):
5150         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5151
5152         * dispatchresult.h: make the dispatch_result_t ctor explicit
5153
5154 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5155
5156         * sgml.[Ch]:
5157         * buffer.C: small refactoring of docbook stuff
5158
5159 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5162         meaning.
5163
5164 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5167         operator dispatch_result_t, and operators for == != and >=
5168
5169         * cursor.C (dispatch): adjust for operator dispatch_result_t
5170         removal. comment out call to update
5171
5172         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5173
5174 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * text3.C:
5177         * text2.C:
5178         * text.C:
5179         * lyxtext.h:
5180         * lyxfunc.C:
5181         * cursor.C:
5182         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5183         (dispatch):
5184
5185         * dispatchresult.h: new file, DispatchResult broken out of
5186         insets/insetbase.h
5187
5188         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5189
5190 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * text.C (rowBreakPoint): put a hack inside #if 0
5193
5194 2003-10-28  André Pönitz  <poenitz@gmx.net>
5195
5196         * lyxtext.h:
5197         * metricsinfo.C:
5198         * paragraph_funcs.C:
5199         * rowpainter.C:
5200         * text.C:
5201         * text2.C: general cleanup (lots of small stuff)
5202
5203 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * text2.C (cursorEnd): simple fix to the "end key goes to one
5206         before the end on last row" bug
5207
5208 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * text.C (backspace): fix the "zombie characters"
5211
5212 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5215
5216 2003-10-27  André Pönitz  <poenitz@gmx.net>
5217
5218         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5219
5220         * factory.C: handle new InsetPagebreak, InsetLine
5221
5222         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5223         and move handling into new InsetPagebreak, InsetLine
5224
5225         * BufferView_pimpl.C:
5226         * LyXAction.C:
5227         * ParagraphParameters.C:
5228         * ParameterStruct.h:
5229         * lyxfunc.C:
5230         * lyxtext.h:
5231         * paragraph.C:
5232         * paragraph.h:
5233         * paragraph_funcs.C:
5234         * paragraph_pimpl.C:
5235         * rowpainter.C:
5236         * text.C:
5237         * text2.C:
5238         * text3.C: adjust
5239
5240 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5241
5242         * text.C:
5243         * lyxrow_funcs.[Ch]:
5244         * Bidi.C:
5245         * paragraph.C:
5246         * lyxtext.h:
5247         * rowpainter.C:
5248         * text2.C:
5249         * text3.C: remove lastPos uses in favour of Row::endpos
5250
5251 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5252
5253         * undo.C (performUndoOrRedo): fix two crashes by setting a
5254         cursor by hand and reordering some calls. Use bv->lockInset instead
5255         of inset->edit because the latter loses cursor information
5256
5257 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5260         by Martin
5261         (rowBreakPoint): fix width. change point to point + 1.
5262         Add a missing check.
5263
5264 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5265
5266         * MenuBackend.C:
5267         * lyxfunc.C: fix (at least partly) the problems
5268         with the Nav menu and headers inside branch insets
5269         reported by Kayvan
5270
5271 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5272
5273         * paragraph.C (getChar): add strong asserts
5274
5275         * lyxrow_funcs.C (lastPos): remove hideous hack
5276
5277         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5278         (fill): adjust to that (avoid an infinite loop)
5279
5280 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5283
5284 2003-10-23  André Pönitz  <poenitz@gmx.net>
5285
5286         * RowList_fwd.h: change list<> to vector<> to gain speed
5287         after suggestion from Alfredo
5288
5289 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * lyxtext.h: move the bidi stuff from here...
5292         * text.C: and here
5293         * text2.C: and here
5294         * Bidi.[Ch]: ... to here
5295
5296 2003-10-23  André Pönitz  <poenitz@gmx.net>
5297
5298         * lyxtext.h:
5299         * text.C (isLastRow, isFirstRow): new functions
5300
5301         * paragraph.h: new width cache member
5302
5303         * rowpainter.C: replace RowList::iterator with Row & where possible
5304
5305         * lyxfunc.C: replace several view()->text with a single call
5306
5307         * toc.C: fix 'unused' warning
5308
5309 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5312         when woring with stream::pos_type
5313         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5314
5315 2003-10-22  André Pönitz  <poenitz@gmx.net>
5316
5317         * lyxtext.h:
5318         * text.C: use Row & instead of RowList::iterator
5319
5320         * lyxrow.h: rename end() to endpos()
5321
5322         * rowpainter.C:
5323         * text.C:
5324         * text2.C: adjust
5325
5326 2003-10-22  Angus Leeming  <leeming@lyx.org>
5327
5328         * buffer.[Ch] (fully_loaded): new member function, returning true
5329         only when the file has been loaded fully.
5330         Used to prevent the premature generation of previews and by the
5331         citation inset to prevent computation of the natbib-style label.
5332
5333         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5334         templates are all set up.
5335
5336         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5337
5338 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5339
5340         * text.C: fixed an "oops" in the "is a bit silly"
5341         bug fix
5342
5343 2003-10-21  André Pönitz  <poenitz@gmx.net>
5344
5345         * FuncStatus.[Ch]: small stuff, whitespace
5346
5347         * lyxfont.[Ch]: operator<<() for debug reasons
5348
5349         * lyxfunc.C:
5350         * lyxrow_funcs.C:
5351         * lyxtext.h: whitespace, spelling
5352
5353         * paragraph.C: naming of variables
5354
5355         * text.C:
5356         * text2.C: small stuff
5357
5358
5359 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5360
5361         * text.C: (1) finish off the inset display() work;
5362         (2) fix the "is a bit silly" bug (accessing char
5363         past end of par).
5364
5365 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5366
5367         * text.C: re-introduce display() for insets, fixing the
5368         various bugs (stretch of line above, math inset
5369         positioning, ...)
5370
5371 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5372
5373         * text.C (rightMargin): remove spurious semicolon
5374
5375         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5376         1415)
5377
5378 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5379
5380         * text3.C: fix one crash due to wrong cursor def
5381
5382 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * vc-backend.C (scanMaster): make the regex static
5385
5386         * LaTeX.C (scanAuxFile): make the regexs static
5387
5388         * text3.C (doInsertInset, dispatch, dispatch):
5389         * text2.C (cursorUp, cursorDown):
5390         * text.C (selectNextWordToSpellcheck):
5391         * BufferView_pimpl.C (dispatch):
5392         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5393
5394 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5395
5396         * lyxsocket.C: include <cerrno>
5397
5398 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * lyxfunc.C (dispatch): remove textcache stuff
5401
5402         * bufferlist.C (release): remove textcache stuff
5403         (closeAll): ditto
5404
5405         * TextCache.C: delete file
5406         * TextCache.h: delete file
5407
5408         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5409
5410         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5411         delete of the bv_->text.
5412         (resizeCurrentBuffer): remove texcache stuff
5413         (workAreaResize): ditto
5414
5415 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5418         action.
5419
5420 2003-10-16  André Pönitz  <poenitz@gmx.net>
5421
5422         * lyxrow.[Ch]:
5423         * paragraph.h:
5424         * rowpainter.C:
5425         * text.C:
5426         * text2.C:
5427         * text3.C: speed up by storing y positions per paragraph plus per-row
5428         offset instead of having a 'full' y position in the row.
5429
5430 2003-10-15  André Pönitz  <poenitz@gmx.net>
5431
5432         * iterators.[Ch]:
5433         * iterators.[Ch]:
5434         * undo.[Ch]: make undo aware of inner insets
5435
5436 2003-10-14  Angus Leeming  <leeming@lyx.org>
5437
5438         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5439         static member functions LyX::ref() and LyX::cref.
5440         (lastfiles): new accessor functions for the new lastfiles_ member var.
5441         (addLyXView, views_): add a new LyXView to the list of views_.
5442         (updateInset): loop over all LyXViews to call their own updateInset
5443         member function, returning a pointer to the Buffer owning the inset.
5444
5445         * BufferView_pimpl.C (loadLyXFile):
5446         * MenuBackend.C (expandLastfiles):
5447         * bufferlist.C (MenuWrite, QuitLyX):
5448         lastfiles is no longer a global variable.
5449         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5450
5451         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5452         static function. Access through LyX::cref().emergencyCleanup().
5453
5454 2003-10-14  André Pönitz  <poenitz@gmx.net>
5455
5456         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5457
5458         * undo.[Ch]: restoring part of 'undo in insets'
5459
5460         * Makefile.am:
5461         * undo_funcs.[Ch]: merge with undo.[Ch]
5462
5463         * tabular.C: small cleansing stuff
5464
5465 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5466
5467         * paragraph_funcs.C (readParToken): report unknown insets as error
5468         boxes. Use the outer paragraph as location (also for unknown
5469         tokens).
5470
5471         * factory.C (readInset): do not abort on reading an unknown inset.
5472         Eat it and return 0.
5473
5474 2003-10-13  Angus Leeming  <leeming@lyx.org>
5475
5476         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5477
5478         * lyxrc.C: displayTranslator is now a function,
5479         declared in GraphicsTypes.h.
5480
5481 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5482
5483         * format.C: new placeholder $$a to pass the socket address.
5484
5485         * bufferlist.[Ch]: new function getBufferFromTmp.
5486
5487         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5488           files in the temporary dir.
5489
5490 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5491
5492         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5493
5494         * Makefile.am: add lyxsocket.[Ch].
5495
5496         * lyx_main.C (error_handler): handle SIGPIPE.
5497
5498 2003-10-13  André Pönitz  <poenitz@gmx.net>
5499
5500         * BufferView_pimpl.C:
5501         * lyxtext.h:
5502         * text.C:
5503         * text2.C:
5504         * text3.C:
5505         * undo_funcs.[Ch]: use paroffset_type instead of
5506           ParagraphList::iterators to prevent multiple conversion
5507           (and get a more robust interface)
5508
5509 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5512         * lyxtext.h: ditto
5513         * text3.C (dispatch): ditto
5514
5515 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5518         move the onlyfile, use onlyfile instead of foundfile in a couple
5519         of places.
5520
5521         * DepTable.C (update): flush the error stream a bit more
5522
5523 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * lyxserver.C (callback): adjust
5526
5527         * lyxfunc.C (getStatus): add a missing brace in commented code
5528         (ensureBufferClean): reindent
5529         (dispatch): delete version taking a string
5530
5531 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * LaTeX.C (deplog): move found file handlig from here...
5534         (handleFoundFile): .. to new function here.
5535         (deplog): make sure to discover several files mentioned on the
5536         same log line.
5537
5538 2003-10-10  André Pönitz  <poenitz@gmx.net>
5539
5540         * lyxfunc.C:
5541         * lyxtext.h:
5542         * tabular.C:
5543         * text.C:
5544         * text2.C:
5545         * text3.C: fix some of the tabular crashes
5546
5547 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5548
5549         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5550
5551         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5552
5553 2003-10-09  André Pönitz  <poenitz@gmx.net>
5554
5555         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5556
5557         * BufferView.C:
5558         * BufferView_pimpl.C:
5559         * bufferview_funcs.C:
5560         * lyx_cb.C:
5561         * lyxcursor.C:
5562         * lyxfind.C:
5563         * lyxfunc.C:
5564         * lyxtext.h:
5565         * text.C:
5566         * text2.C:
5567         * text3.C:
5568         * text_funcs.[Ch]:
5569         * textcursor.[Ch]:
5570         * undo_funcs.C: adjust
5571
5572 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * text2.C (incrementItemDepth): new function, use a backtracking
5575         algorithm to discover the correct item depth.
5576         (resetEnumCounterIfNeeded): new function, use a backtracking
5577         algorithm to discover if counter reset is needed.
5578         (setCounter): use them. Simplify a bit. Add different labels for
5579         different item depths for itemize.
5580
5581         * paragraph.C (Paragraph): remove initialization of enumdepth
5582         (operator=): ditto
5583
5584         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5585         enumerate and itemize. Change the type of itemdepth to signed char.
5586
5587 2003-10-08  André Pönitz  <poenitz@gmx.net>
5588
5589         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5590           thing assignable.
5591         * text.C:
5592         * text2.C: adjust
5593
5594         * tabular.[Ch]: fix crash after 'row-insert'
5595
5596 2003-10-08  Angus Leeming  <leeming@lyx.org>
5597
5598         Fix doxygen warnings.
5599
5600         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5601         Remove CutAndPaste:: prefix from header file declaration.
5602
5603         * LColor.h (fill): remove LColor:: prefix from declaration.
5604
5605         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5606         use lyx::depth_type rather than Paragraph::depth_type so that
5607         header file and .C file match.
5608
5609         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5610
5611         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5612         * aspell.C: \file aspell_local.C -> \file aspell.C
5613         * gettext.C: \file gettext.C -> \file src/gettext.C
5614         * gettext.h: \file gettext.h -> \file src/gettext.h
5615         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5616         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5617         * text.C: \file text.C -> \file src/text.C
5618
5619         * toc.C: move comment so that doxygen is not confused.
5620
5621 2003-10-07  Angus Leeming  <leeming@lyx.org>
5622
5623         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5624
5625 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5626
5627         * aspell.C:
5628         * aspell_local.h: add forgotten std::string's.
5629
5630 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5631
5632         * LaTeXFeatures.C:
5633         * LyXAction.C:
5634         * factory.C:
5635         * lfuns.h:
5636         * lyxfunc.C:
5637         * text3.C: The Box patch. Fancybox support, minipage, parbox
5638
5639 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5640
5641         * CutAndPaste.h:
5642         * DepTable.h:
5643         * FloatList.h:
5644         * LaTeXFeatures.h:
5645         * ParagraphParameters.h:
5646         * TextCache.h:
5647         * Thesaurus.h:
5648         * bufferlist.h:
5649         * exporter.h:
5650         * importer.h:
5651         * lastfiles.h:
5652         * lyxfind.h:
5653         * lyxfont.h:
5654         * lyxlex.h:
5655         * lyxtextclasslist.h:
5656         * messages.h:
5657         * paragraph.h:
5658         * paragraph_pimpl.C:
5659         * textcursor.h: add <string> and other small fixes to make Lars'
5660         std::string patch compile with STLport.
5661
5662 2003-10-06  Angus Leeming  <leeming@lyx.org>
5663
5664         * LColor.h: Add missing #include <string>.
5665
5666 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * All most all file in all subdirs: Make <string> be the prefered
5669         way of getting to std::string, add using declarations.
5670
5671 2003-10-06  André Pönitz  <poenitz@gmx.net>
5672
5673         * metricsinfo.C: initialize LyXFont before changing attribute.
5674         (fixes the 'math in \emph is upright' bug)
5675
5676 2003-10-06  André Pönitz  <poenitz@gmx.net>
5677
5678         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5679
5680 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5681
5682         * graph.C:
5683         * paragraph_pimpl.C: Small fixes to build using STLport
5684
5685 2003-10-02  André Pönitz  <poenitz@gmx.net>
5686
5687         * lyxfunc.C:
5688         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5689
5690 2003-10-01  André Pönitz  <poenitz@gmx.net>
5691
5692         * factory.C: assert early
5693
5694 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * lyx_main.C: remove the global debug object
5697
5698         * debug.h: adjust for new debugstream
5699
5700         * debug.C: adjust for new debugstream and keep the global debug
5701         object here.
5702
5703 2003-09-22  Angus Leeming  <leeming@lyx.org>
5704
5705         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5706         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5707         an incomplete class LyXFont.
5708
5709 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5710
5711         * factory.C: bug fix in branches
5712
5713 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * lyxfunc.C (processKeySym): adjust
5716         (dispatch): adjust
5717         (dispatch): change arg name from ev to func, adjust
5718         (sendDispatchMessage): ditto
5719
5720         * lyx_main.C (defaultKeyBindings): adjust keybindings
5721         (deadKeyBindings): ditto
5722
5723         * kbsequence.C (addkey): return a FuncRequest
5724
5725         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5726
5727         * kbmap.C (bind): take a FuncRequest as arg, adjust
5728         (read): adjust
5729         (lookup): adjust
5730         (defkey): change to take a FuncRequest as arg, adjust
5731         (findbinding): take a FuncRequest as arg, adjust.
5732
5733         * funcrequest.h (operator=): added
5734
5735         * funcrequest.C (FuncRequest): default kb_action changed from
5736         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5737
5738         * buffer.C (dispatch): simplify
5739         (dispatch): adjust to take a FuncRequest as arg, adjust
5740
5741         * boost.C (assertion_failed): change assertion message slightly
5742
5743         * ToolbarBackend.C (read): simplify
5744
5745         * MenuBackend.C (binding): adjust call to findbinding, add a
5746         message if no binding is found.
5747         (read): simplify
5748         (expandToc): correct by adding a empty FuncRequest
5749
5750         * LyXAction.C: include <boost/assert.hpp>
5751         (isPseudoAction): delete function
5752         (LookupFunc): change name to...
5753         (lookupFunc): this. change return type to FuncRequest.
5754         (getActionName): take kb_action as arg, simplify
5755         (funcHasFlag): add an assert, simplify.
5756
5757 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * toc.C (action): return a FuncRequest, simplify
5760
5761         * lyxfunc.C (processKeySym): adjust
5762         (getStatus): delete version that takes an int.
5763         (getStatus): adjust
5764         (dispatch): delete version that takes action as int
5765         (dispatch): adjust
5766         (sendDispatchMessage): simplify and adjust
5767
5768         * funcrequest.C (getArg): take unsigned int as arg
5769
5770         * ToolbarBackend.C (read): adjust
5771         (add): delete version that takes func as a string.
5772         (getIton): take a FuncRequest as arg
5773
5774         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5775         action.
5776
5777         * MenuBackend.C (MenuItem): add a new construct that only takes a
5778         Kind, simplify the constructor use for submenus.
5779         (add): adjust
5780         (expandLastfiles): adjust
5781         (expandDocuments): adjust
5782         (expandFormats): adjust
5783         (expandFloatListInsert): adjust
5784         (expandFloatInsert): adjust
5785         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5786
5787         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5788         Remove class variables lyx_pseudo_map and lyx_arg_map
5789
5790         * LyXAction.C (searchActionArg): delete function
5791         (getPseudoAction): delete function
5792         (retrieveActionArg): delete function
5793         (LookupFunc): make it return kb_action, simplify.
5794         (getActionName): simplify
5795
5796         * factory.C (createInset): fix new bug
5797
5798 2003-09-19  Angus Leeming  <leeming@lyx.org>
5799
5800         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5801         masterFilename_ parameter in the include inset.
5802
5803         * factory.C (createInset): changes due to the changes to InsetInclude.
5804
5805 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5806
5807         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5808
5809 2003-09-18  Angus Leeming  <leeming@lyx.org>
5810
5811         * buffer.C:
5812         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5813         Inset::fillWithBibKeys.
5814         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5815
5816 2003-09-18  Angus Leeming  <leeming@lyx.org>
5817
5818         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5819         variables.
5820         (ctor): pass and store a 'Buffer const &'
5821         (buffer): new member function.
5822
5823         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5824         '*this' to the LaTeXFeatures ctor.
5825
5826 2003-09-18  Angus Leeming  <leeming@lyx.org>
5827
5828         * LColor.h:
5829         * lyxfont.C:
5830         * lyxfont.h:
5831         * lyxtext.h:
5832         * text.C: rename EnumLColor as LColor_color.
5833
5834 2003-09-18  Angus Leeming  <leeming@lyx.org>
5835
5836         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5837         remove #include "insets/insetbase.h" from cursor.h.
5838
5839 2003-09-18  Angus Leeming  <leeming@lyx.org>
5840
5841         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5842         InsetOld_code to remove #include "inset.h".
5843
5844         * iterators.C: add #include "insets/inset.h"
5845
5846 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5847
5848         * BufferView.C: remove more locking stuff that apparently doesn't
5849         do anything sensible.
5850
5851 2003-09-16  André Pönitz  <poenitz@gmx.net>
5852
5853         * paragraph.[Ch]:
5854         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5855           performance boost.
5856
5857 2003-09-16  Angus Leeming  <leeming@lyx.org>
5858
5859         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5860
5861         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5862         arg/return type.
5863
5864         * paragraph.h: remove #include "lyxfont.h". Forward declare
5865         LyXFont_size.
5866
5867 2003-09-16  Angus Leeming  <leeming@lyx.org>
5868
5869         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5870         of support/textutils.h.
5871         (isWord): move the contents of support/textutils.h's IsWordChar here.
5872
5873         * buffer.C:
5874         * lyxfind.C:
5875         * rowpainter.C:
5876         * text.C:
5877         * text2.C: add #include "paragraph.h".
5878
5879         * rowpainter.C:
5880         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5881
5882 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * main.C:
5885         * lyx_main.C:
5886         * lyx_cb.C:
5887         * buffer.C:
5888         * LaTeX.C: use namespace alias for lyx::support::os
5889
5890 2003-09-16  Angus Leeming  <leeming@lyx.org>
5891
5892         * bufferparams.C:
5893         * bufferview_funcs.C:
5894         * factory.C:
5895         * lyxfunc.C:
5896         * paragraph_pimpl.C:
5897         * rowpainter.C:
5898         * text.C: add #include "LColor.h".
5899
5900 2003-09-16  Angus Leeming  <leeming@lyx.org>
5901
5902         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5903         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5904         return LyXFont &.
5905         Store the FontBits::color variable as an int rather than as an
5906         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5907         file.
5908
5909         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5910         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5911         string calls together.
5912
5913         * lyxrc.C: add #include "LColor.h".
5914
5915 2003-09-15  Angus Leeming  <leeming@lyx.org>
5916
5917         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5918         a cow_ptr.
5919
5920 2003-09-15  Angus Leeming  <leeming@lyx.org>
5921
5922         * LColor.h: add an EnumLColor wrapper for LColor::color.
5923
5924         * lyxfont.[Ch] (color, setColor, realColor):
5925         * lyxtext.h, text.C (backgroundColor):
5926         pass EnumLColor args to/from the functions, rather than LColor::color
5927         ones.
5928
5929         * lyxfont.h:
5930         * lyxtext.h: forward declare EnumLColor.
5931
5932         * lyx_main.C: add #include "LColor.h".
5933
5934 2003-09-15  Angus Leeming  <leeming@lyx.org>
5935
5936         * .cvsignore: add lyx-gtk.
5937
5938 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * Chktex.C
5941         * LaTeX.C
5942         * LaTeXFeatures.C
5943         * ParagraphParameters.C
5944         * Spacing.C
5945         * buffer.C
5946         * bufferparams.C
5947         * bufferview_funcs.C
5948         * chset.C
5949         * counters.C
5950         * funcrequest.C
5951         * lyxfont.C
5952         * lyxgluelength.C
5953         * lyxlength.C
5954         * paragraph.C
5955         * paragraph_funcs.C
5956         * text3.C
5957         * vc-backend.C: remove usage of STRCONV
5958
5959 2003-09-15  Angus Leeming  <leeming@lyx.org>
5960
5961         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5962         explicitly define the color passed to the painter.
5963
5964 2003-09-15  Angus Leeming  <leeming@lyx.org>
5965
5966         * bufferparams.C (BufferParams): reorder member initializers to avoid
5967         compiler warning.
5968
5969 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5970
5971         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5972         * text.C (updateRowPositions): remove an unusual nop
5973
5974 2003-09-12  André Pönitz  <poenitz@gmx.net>
5975
5976         * BufferView_pimpl.C:
5977         * Bullet.C:
5978         * layout.h:
5979         * lyxfunc.C:
5980         * lyxlayout.[Ch]:
5981         * lyxtextclass.C:
5982         * rowpainter.C:
5983         * text.C:
5984         * text2.C:
5985         * Counters.[Ch]: finish the 'automatic counters' job
5986
5987 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5988
5989         * aspell.C: include <boost/assert.cpp> (compile fix)
5990
5991 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5992
5993         * boost.C (assertion_failed): use lyx::support::abort instead of
5994         assert.
5995
5996 2003-09-10  Angus Leeming  <leeming@lyx.org>
5997
5998         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5999         with their _fwd progeny.
6000
6001 2003-09-09  Angus Leeming  <leeming@lyx.org>
6002
6003         134 files throughtout the source tree: replace 'using namespace abc;'
6004         directives with the appropriate 'using abc::xyz;' declarations.
6005
6006 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6007
6008         * boost.C (emergencyCleanup): moved here from LAssert.c
6009         (assertion_failed): new function, called by BOOST_ASSERT
6010
6011         * several files: change Assert to BOOST_ASSERT
6012
6013 2003-09-09  Angus Leeming  <leeming@lyx.org>
6014
6015         * buffer.[Ch]: Add an Impl class and move Buffer's member
6016         variables into it. As a result move several header files out of
6017         buffer.h.
6018
6019         Add header files to lots of .C files all over the tree as a result.
6020
6021 2003-09-09  Angus Leeming  <leeming@lyx.org>
6022
6023         * buffer.[Ch]: make Buffer's member variables private. Add
6024         accessor functions.
6025
6026         Lots of changes all over the tree as a result.
6027
6028 2003-09-08  Angus Leeming  <leeming@lyx.org>
6029
6030         * graph.C: #include <config.h>.
6031
6032 2003-09-08  Angus Leeming  <leeming@lyx.org>
6033
6034         * BranchList.C:
6035         * BufferView.C:
6036         * BufferView_pimpl.C:
6037         * CutAndPaste.C:
6038         * DepTable.C:
6039         * LaTeX.C:
6040         * LaTeXFeatures.C:
6041         * LyXAction.C:
6042         * MenuBackend.C:
6043         * TextCache.C:
6044         * aspell.C:
6045         * buffer.C:
6046         * bufferlist.C:
6047         * changes.C:
6048         * chset.C:
6049         * converter.C:
6050         * counters.C:
6051         * debug.C:
6052         * graph.C:
6053         * ispell.C:
6054         * lyx_cb.C:
6055         * lyxfind.C:
6056         * lyxfunc.C:
6057         * lyxlex_pimpl.C:
6058         * lyxrc.C:
6059         * lyxrow.C:
6060         * paragraph.C:
6061         * rowpainter.C:
6062         * texrow.C:
6063         * text.C:
6064         * text2.C:
6065         * toc.C: remove redundant using directives.
6066
6067 2003-09-07  Angus Leeming  <leeming@lyx.org>
6068
6069         * LaTeXFeatures.h: remove #include "support/types.h".
6070         * ToolbarBackend.h: remove #include <algorithm>.
6071         * changes.h: remove #include <ctime>.
6072         * debug.h: remove #include <iosfwd>.
6073         * graph.h: remove #include "support/std_string.h".
6074         * lyx_main.h: remove #include <csignal>.
6075         * lyxlex_pimpl.h: remove #include <fstream>.
6076         * sgml.h: remove #include <algorithm>, <utility>.
6077         * toc.h: remove #include "support/std_ostream.h".
6078         Add #include <iosfwd>.
6079
6080 2003-09-07  Angus Leeming  <leeming@lyx.org>
6081
6082         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6083
6084         * converter.h: forward declare LatexRunParams.
6085         * encoding.h: remove #include "lyxrc.h".
6086         * lyxtext.h: remove #include "LColor.h".
6087         * lyxtextclass.h: remove #include "support/types.h".
6088         * trans.h: remove #include "tex-accent.h".
6089         * trans_mgr.h: remove #include "tex-accent.h".
6090         * insets/inset.h: remove #include "support/types.h", <vector>.
6091         * insets/insetcollapsable.h: remove #include "LColor.h".
6092         * insets/insetinclude.h: remove #include "dimension.h".
6093         * insets/insetlatexaccent.h: remove #include "dimension.h".
6094         * insets/insetoptarg.h:: remove #include "insettext.h".
6095         * insets/insettext.h: remove #include "dimension.h",
6096         <boost/shared_ptr.hpp>
6097
6098         * insets/renderers.h: add #include "dimension.h".
6099         * insets/updatableinset.h: add #include "support/types.h".
6100
6101         * many .C files: Associated changes.
6102
6103 2003-09-06  Angus Leeming  <leeming@lyx.org>
6104
6105         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6106         one, inside testInvariant.
6107
6108         * PrinterParams.C: new file.
6109         * PrinterParams.[Ch]: move the function bodies out of line.
6110
6111 2003-09-06  Angus Leeming  <leeming@lyx.org>
6112
6113         * ParagraphParameters.h: forward declare ParameterStruct rather than
6114         including its header file.
6115         (depth): moved out-of-line.
6116
6117 2003-09-06  Angus Leeming  <leeming@lyx.org>
6118
6119         * BufferView_pimpl.h:
6120         * kbmap.h:
6121         * kbsequence.h:
6122         * lyxfunc.h: forward declare LyXKeySym rather than
6123         #include "frontends/LyXKeySym.h".
6124
6125         * BufferView_pimpl.C:
6126         * kbmap.C:
6127         * kbsequence.C:
6128         * lyxfunc.C: associated changes.
6129
6130 2003-09-06  Angus Leeming  <leeming@lyx.org>
6131
6132         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6133         As a result, can remove the #include "insets/inset.h" from BufferView.h
6134
6135 2003-09-06  Angus Leeming  <leeming@lyx.org>
6136
6137         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6138         As a result, can remove the #include "insets/inset.h" from BufferView.h
6139
6140 2003-09-06  Angus Leeming  <leeming@lyx.org>
6141
6142         * buffer_funcs.C:
6143         * buffer.h:
6144         * bufferlist.C:
6145         * BufferView.C:
6146         * bufferview_funcs.C:
6147         * BufferView_pimpl.C:
6148         * CutAndPaste.C:
6149         * lyx_cb.C:
6150         * lyxfunc.C:
6151         * paragraph.h:
6152         * ParagraphParameters.C:
6153         * tabular.C:
6154         * text3.C:
6155         * toc.C:
6156         * undo_funcs.C:
6157         * frontends/controllers/ControlDocument.C:
6158         * insets/insetcaption.C: rearrange the #includes into some sort of
6159         coherent order.
6160
6161         * buffer.h: remove #includes ErrorList.h, undo.h
6162
6163 2003-09-06  Angus Leeming  <leeming@lyx.org>
6164
6165         * support/types.h: add a 'depth_type' typedef, used to store the
6166         nesting depth of a paragraph.
6167
6168         * paragraph.h:
6169         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6170         defining explicitly.
6171
6172         * buffer.h:
6173         * paragraph_funcs.h:
6174         * ParagraphParameters.h:
6175         * sgml.h: use lyx::depth_type rather than Paragraph or
6176         ParameterStruct's depth_type.
6177
6178         * buffer.h
6179         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6180
6181         * BufferView.C:
6182         * BufferView_pimpl.C:
6183         * CutAndPaste.C:
6184         * ParagraphParameters.C:
6185         * buffer_funcs.C:
6186         * bufferlist.C:
6187         * bufferview_funcs.C:
6188         * lyx_cb.C:
6189         * lyxfunc.C:
6190         * tabular.C:
6191         * text3.C:
6192         * toc.C:
6193         * undo_funcs.C:
6194         * frontends/LyXView.C:
6195         * frontends/controllers/ControlDocument.C:
6196         * frontends/controllers/ControlErrorList.C:
6197         * insets/insetbibitem.C:
6198         * insets/insetbranch.C:
6199         * insets/insetcaption.C:
6200         * insets/insetcollapsable.C:
6201         * insets/insetenv.C:
6202         * insets/insetert.C:
6203         * insets/insetfloat.C:
6204         * insets/insetfoot.C:
6205         * insets/insetfootlike.C:
6206         * insets/insetnewline.C:
6207         * insets/insetquotes.C:
6208         * insets/insettabular.C:
6209         * insets/insettext.C:
6210         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6211
6212         * frontends/controllers/ControlChanges.C: #include "changes.h".
6213
6214 2003-09-06  Angus Leeming  <leeming@lyx.org>
6215
6216         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6217         than #including paragraph.h.
6218
6219         * ParagraphList.h:
6220         * RowList.h: deleted. Superfluous.
6221
6222         * CutAndPaste.h:
6223         * iterators.h:
6224         * lyxcursor.h:
6225         * lyxtext.h:
6226         * text_funcs.h:
6227         * undo.h:
6228         * undo_funcs.h:
6229         * insets/inset.h:
6230         * insets/insettext.h: use ParagraphList_fwd.h rather than
6231         ParagraphList.h.
6232
6233         * paragraph.h: don't forward declare ParagraphList.
6234
6235         * buffer.h:
6236         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6237         rather than ParagraphList.h. paragraph.h is still needed for the
6238         Paragraph::depth_type parameters.
6239
6240         * textcursor.h: enable it to compile stand-alone in light of the
6241         above changes.
6242
6243         * bufferview_funcs.C:
6244         * iterators.C:
6245         * lyxfunc.C:
6246         * lyxrow_funcs.C:
6247         * paragraph.C:
6248         * rowpainter.C:
6249         * text.C:
6250         * text2.C:
6251         * text3.C:
6252         * text_funcs.C:
6253         * textcursor.C:
6254         * undo.C:
6255         * frontends/controllers/ControlParagraph.C:
6256         * frontends/controllers/ControlTabular.C:
6257         * insets/insetmarginal.C:
6258         * insets/insetminipage.C:
6259         * insets/insetnote.C:
6260         * insets/insetoptarg.C: add header files needed to compile again.
6261
6262 2003-09-06  Angus Leeming  <leeming@lyx.org>
6263
6264         * RowList_fwd.h: new file, forward-declaring Row rather than
6265         #including lyxrow.h.
6266
6267         * lyxrow_funcs.h:
6268         * lyxtext.h:
6269         * paragraph.h:
6270         * insets/insettext.h: use it instead of RowList.h
6271
6272         * bufferview_funcs.C:
6273         * lyxfunc.C:
6274         * lyxrow_funcs.C:
6275         * paragraph.C:
6276         * rowpainter.C:
6277         * text.C:
6278         * text2.C:
6279         * text3.C: #include "RowList.h".
6280
6281 2003-09-05  Angus Leeming  <leeming@lyx.org>
6282
6283         * factory.C (createInset):
6284         * vspace.C (c-tor): replace sscanf call with an istringstream.
6285         * ispell.C: re-add missing HP/UX headers.
6286         * lyxserver.C: re-add missing  os2 headers.
6287
6288 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6289
6290         * BranchList.C:
6291         * graph.C:
6292         * ispell.C:
6293         * lastfiles.C:
6294         * lyx_cb.C:
6295         * lyxserver.C:
6296         * texrow.C:
6297         * text3.C: re-add missing system headers, needed for 2.95.2.
6298
6299 2003-09-05  Angus Leeming  <leeming@lyx.org>
6300
6301         Changes most place everywhere due to the removal of using directives
6302         from support/std_sstream.h.
6303
6304 2003-09-05  Angus Leeming  <leeming@lyx.org>
6305
6306         Replace LString.h with support/std_string.h,
6307         Lsstream.h with support/std_sstream.h,
6308         support/LIstream.h with support/std_istream.h,
6309         support/LOstream.h with support/std_ostream.h.
6310
6311         Changes resulting throughout the tree.
6312
6313 2003-09-05  Angus Leeming  <leeming@lyx.org>
6314
6315         * sgml.h: ensure that the header file can be compiled stand-alone.
6316         * *.C: strip out redundant #includes. (320 in total.)
6317
6318 2003-09-04  Angus Leeming  <leeming@lyx.org>
6319
6320         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6321         here (from getPackages).
6322
6323         * debug.[Ch]: add a new EXTERNAL tag.
6324
6325 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6326
6327         * text2.C (cursorEnd): simplify
6328         (setCursor): adjust
6329         (getColumnNearX): adjust
6330
6331         * text.C (computeBidiTables): adjust
6332         (fill): adjust
6333
6334         * rowpainter.C (paintChars): adjust
6335         (paintSelection): adjust
6336         (paintChangeBar): adjust
6337         (paintText): adjust
6338
6339         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6340         lastPos instead.
6341         (numberOfSeparators): adjust
6342
6343 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6344
6345         * LyXAction.C:
6346         * box.[Ch]:
6347         * lfuns.h:
6348         * lyxfunc.C:
6349         * text3.C: Restricts the mouse click functionality
6350         of insets like bibtex, include, toc and floatlist to the visible
6351         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6352         up the dialogs. Cursor has to be in front of the inset (i.e.
6353         start of row) for this to function.
6354
6355 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6356
6357         * bufferview_funcs.C (currentState): output row information
6358
6359 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6360
6361         * bufferview_funcs.C (currentState): output paragraph position
6362
6363 2003-09-04  Angus Leeming  <leeming@lyx.org>
6364
6365         * FloatList.h: move out #include "Floating.h".
6366         * LaTeX.h: move out #include "DepTable.h".
6367         * LyXAction.h: move out #include "funcrequest.h".
6368         * buffer.h: move out #include "author.h", "iterators.h".
6369         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6370         * lyx_main.h: move out #include "errorlist.h".
6371         * lyxfunc.h: move out #include "FuncStatus.h".
6372         * lyxtext: move out #include "lyxcursor.h".
6373         * paragraph_pimpl.h: move out #include "counters.h".
6374
6375 2003-09-03  Angus Leeming  <leeming@lyx.org>
6376
6377         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6378         preamble_snippets list, enabling us to add snippets to the preamble
6379         only if the snippet was not there already.
6380
6381 2003-09-04  Angus Leeming  <leeming@lyx.org>
6382
6383         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6384
6385 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6388         update
6389
6390 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6391
6392         * BranchList.C: point fix, earlier forgotten
6393
6394 2003-09-02  Angus Leeming  <leeming@lyx.org>
6395
6396         * box.C (contains): renamed from 'contained' after a fantastic
6397         amount of hot air.
6398
6399 2003-09-02  John Levon  <levon@movementarian.org>
6400
6401         * BufferView.C:
6402         * lyxcursor.h:
6403         * lyxcursor.C:
6404         * lyxfunc.C:
6405         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6406
6407 2003-09-02  John Levon  <levon@movementarian.org>
6408
6409         * text2.C: simplification of cursorEnd(), including partial
6410         fix for bug 1376
6411
6412 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * buffer.C (readFile): add a space
6415
6416 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6417
6418         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6419
6420 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * buffer.C (readFile): new function, take a filename and a
6423         ParagraphList::iterator
6424         (readFile): adjust
6425         (readFile): adjust, make it private. don't use setStream, make
6426         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6427         always contain the filename.
6428
6429         * BufferView.C (insertLyXFile): simplify and make it work for
6430         gzipped files.
6431
6432 2003-08-30  John Levon  <levon@movementarian.org>
6433
6434         * Makefile.am: fix dist (from Kayvan)
6435
6436 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * most files: change to use const Buffer refs
6439
6440 2003-08-27  André Pönitz  <poenitz@gmx.net>
6441
6442         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6443         on top of ownerPar().
6444
6445 2003-08-27  John Levon  <levon@movementarian.org>
6446
6447         * funcrequest.C: properly initialise POD members
6448
6449 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * lyxtext.h (top_y): move top_y from here
6452         * text.C:
6453         * text2.C:
6454         * text3.C:
6455         * BufferView.[Ch]:
6456         * BufferView_pimpl.[Ch]: to here
6457         * frontends/screen.C:
6458         * insets/insettabular.C:
6459         * insets/insettext.C: adjust
6460         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6461
6462 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6463
6464         * BufferView.[Ch]:
6465         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6466
6467 2003-08-26  André Pönitz  <poenitz@gmx.net>
6468
6469         * paragraph_func.[Ch] (outerPar): new function
6470
6471         * paragraph.C:
6472         * paragraph_funcs.C:
6473         * paragraph_funcs.h:
6474         * paragraph_pimpl.C:
6475         * text2.C: remove Inset::par_owner
6476
6477 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6478
6479         * lyxrow_funcs.C:
6480         * lyxtext.h:
6481         * text.C:
6482         * text2.C: eliminates the needFullRow/display() stuff
6483         altogether, putting the logic in metrics/draw in the insets.
6484
6485 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6486
6487         * text2.C (redoParagraphInternal, redoParagraphs):
6488         * text.C (redoParagraph): add a call to updateRowPositions at the
6489         end of each 'metrics-like' call. Remove all others.
6490         (getRow): remove the 'y-computing' version.
6491         (getRowNearY): do not compute nor return the real y. Solve the
6492         'y < 0' problem and simplify.
6493
6494 2003-08-22  Angus Leeming  <leeming@lyx.org>
6495
6496         * *.[Ch]: clean-up of licence and author blurbs.
6497         Also move config.h out of a few .h files and into a few .C files.
6498
6499 2003-08-22  André Pönitz  <poenitz@gmx.net>
6500
6501         * lyxrow.[Ch]: add x_ and *fill_ members
6502
6503         * lyxtext.h:
6504         * text.C:
6505         * rowpainter.C:
6506         * text2.C: adjust/remove prepareToPrint() calls
6507
6508 2003-08-22  André Pönitz  <poenitz@gmx.net>
6509
6510         * lyxrow.[Ch]: add  end_ member
6511
6512         * lyxrow_funcs.C: use LyXRow::end_
6513
6514         * lyxtext.h (singleWidth): add LyXFont parameter
6515
6516         * rowpainter.C:
6517         * text2.C: adjust LyXText::singleWidth() calls
6518
6519         * text.C (redoParagraph): simplify row breaking logic
6520
6521
6522 2003-08-19  André Pönitz  <poenitz@gmx.net>
6523
6524         * funcrequest.C: initialize button_ member
6525
6526         * text3.C:
6527         * rowpainter.[Ch]: interface consolidation
6528
6529 2003-08-18  André Pönitz  <poenitz@gmx.net>
6530
6531         * BufferView.C:
6532         * BufferView_pimpl.C:
6533         * lyxfind.C:
6534         * paragraph_funcs.C:
6535         * rowpainter.C:
6536         * text3.C: remove LyXScreen::draw() and fitCursor calls
6537
6538         * BranchList.h: remove spurious semicolons
6539
6540         * MenuBackend.C: fix branchlist related crash
6541
6542 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6543
6544         * BranchList.[Ch]:
6545         * InsetList.[Ch]:
6546         * LColor.[Ch]:
6547         * LyXAction.C:
6548         * Makefile.am:
6549         * MenuBackend.[Ch]:
6550         * bufferparams.[Ch]:
6551         * factory.C:
6552         * lfuns.h:
6553         * lyxfunc.C:
6554         * text3.C: implements the 'branch inset'
6555         idea. This allows the output of various versions of a document
6556         from a single source version, selectively outputing or suppressing
6557         output of parts of the text.
6558         This implementation contains a 'branch list editor' in a separate
6559         tab of the document settings dialog. Branches are user definable
6560         and have a "display colour" to distinguish them on-screen.
6561
6562         ColorHandler was somewhat cleaned up.
6563         (1) make possible a dynamically growing LColor list by allowing
6564         the graphic context cache to grow along (vector);
6565         (2) eliminate an IMHO unnecessary step in colour allocation.
6566
6567 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6568
6569         * BufferView_pimpl.C: compile fix
6570
6571 2003-08-15  André Pönitz  <poenitz@gmx.net>
6572
6573         * rowpainter.C: remove extra metrics calls
6574
6575         * lyxtext.h: merge the two constructors into a single one,
6576           pass reference to owner's par list
6577
6578         * BufferView_pimpl.C:
6579         * text.C:
6580         * text2.C: adjust
6581
6582 2003-08-15  André Pönitz  <poenitz@gmx.net>
6583
6584         * lyxrow_funcs.[Ch]:
6585         * lyxtext.h:
6586         * paragraph.h:
6587         * paragraph_funcs.C:
6588         * rowpainter.C:
6589         * text.C:
6590         * text2.C:
6591         * text3.C:
6592         * text_funcs.C: split LyXText::rowlist_ into individual
6593         Paragraph::rows_ chunks
6594
6595         * BufferView.[Ch]:
6596         * BufferView_pimpl.[Ch]:
6597         * lyxfind.C:
6598         * lyxtext.h:
6599         * text3.C: remove toggleSelection()
6600
6601 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6602
6603         * bufferlist.C: beautify two alerts (shorter text of buttons)
6604         * buffer.C: Remove redundant ' ' from message
6605         * tabular.h:
6606         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6607         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6608         rename VALIGN_CENTER to VALIGN_MIDDLE
6609
6610 2003-08-11  André Pönitz  <poenitz@gmx.net>
6611
6612         * lyxtext.h (getPar):
6613         * text.C: new function
6614
6615 2003-08-11  André Pönitz  <poenitz@gmx.net>
6616
6617         * Makefile.am:
6618         * tracer.[Ch]: remove unneeded files
6619
6620         * InsetList.[Ch]: remove resizeInsetsLyXText()
6621
6622         * lyxtext.h:
6623         * text.C:
6624         * text2.C:
6625         * text3.C: merge insertParagraphs() and appendParagraph()
6626         remove breakAgain(), update()
6627
6628         * BufferView_pimpl.[Ch]:
6629         * bufferview_funcs.[Ch]:
6630         * lyxfunc.C:
6631         * paragraph.[Ch]:
6632         * rowpainter.C:
6633         * tabular.C: adjust after text & InsetList changes.
6634
6635 2003-08-08  André Pönitz  <poenitz@gmx.net>
6636
6637         * text.C (insertChar, backspace): replace rowlist fiddling
6638         with rebreak of full par
6639
6640         * lyxtext.h:
6641         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6642         checkParagraph, updateInset): removed
6643
6644 2003-08-07  André Pönitz  <poenitz@gmx.net>
6645
6646         * paragraph.C:
6647         * text3.C: merge some LFUN handlers, remove dead code
6648
6649 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6650
6651         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6652
6653 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6654
6655         * text2.C (DEPM): fix part of bug 1255 and 1256
6656
6657 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6658
6659         * BufferView_pimpl.C (workAreaDispatch): change to use
6660         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6661         that are no mouse related.
6662
6663 2003-08-05  André Pönitz  <poenitz@gmx.net>
6664
6665         * BufferView.[Ch]:
6666         * BufferView_pimpl.[Ch]:
6667         * bufferview_funcs.C:
6668         * text2.C:
6669         * text3.C: rip out "deep update"
6670
6671         * textcursor.[Ch] (last_sel_cursor): remove unused member
6672
6673 2003-08-04  André Pönitz  <poenitz@gmx.net>
6674
6675         * BufferView.[Ch]:
6676         * BufferView_pimpl.[Ch]:
6677         * ParagraphParameters.C:
6678         * bufferview_funcs.C:
6679         * lyx_cb.C:
6680         * lyxfind.C:
6681         * lyxfunc.C:
6682         * text.C:
6683         * text2.C:
6684         * text3.C: replace "complicated" BufferView::update(...) calls with
6685         simpler ones.
6686
6687         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6688
6689 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6690
6691         * Makefile.am (lyx_SOURCES): add paper.h
6692
6693 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6694
6695         * Makefile.am: move things around so that both lyx-qt and
6696         lyx-xforms can be built (according to --with-frontend). Then lyx
6697         is a symbolic link to lyx-[firstfrontend]
6698
6699 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6700
6701         * Always use std::endl with lyxerr
6702
6703 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6704
6705         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6706
6707 2003-08-01  André Pönitz  <poenitz@gmx.net>
6708
6709         * BufferView.[Ch]:
6710         * BufferView_pimpl.[Ch]:
6711         * lyxfunc.C:
6712         * text3.C: merge BufferView::repaint() and BufferView::update()
6713
6714 2003-08-01  José Matos  <jamatos@lyx.org>
6715
6716         * buffer.[Ch]: file_format is no longer a buffer data element.
6717
6718 2003-08-01  André Pönitz  <poenitz@gmx.net>
6719
6720         * BufferView.C:
6721         * lyxtext.h:
6722         * text.C:
6723         * text2.C: make redoParagraph more independent of current cursor
6724
6725         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6726         * text.C:
6727         * text2.C: remove unneeded members
6728
6729 2003-07-30  André Pönitz  <poenitz@gmx.net>
6730
6731         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6732
6733         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6734           create a single function...
6735
6736         * paragraph_funcs.C (moveItem): ... here.
6737
6738         * text.C:
6739           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6740
6741 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6742
6743         * LColor.[Ch]: Add comment and greyedout logical colors.
6744
6745 2003-07-30  André Pönitz  <poenitz@gmx.net>
6746
6747         * tabular.C: don't use Assert too heavily. This crashes where it
6748           shouldn't
6749
6750 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6753         is disabled (bug 1232)
6754
6755 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6756
6757         * factory.C: limited 'arg' scope
6758
6759 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6760
6761         * factory.C: fixed Note submenu issues
6762
6763 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6764
6765         * factory.C: submenu for Note/Comment/Greyedout
6766
6767 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6768
6769         * lyx_main.C (LyX):
6770         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6771
6772 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6773
6774         * LaTeXFeatures.C:
6775         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6776         greyedout. Patch provided by Jürgen Spitzmüller.
6777
6778 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6779
6780         * kbmap.C (read): fix error message when reading bind files
6781
6782 2003-07-29  Angus Leeming  <leeming@lyx.org>
6783
6784         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6785         certainly does not do what it purports to do. I am doing it, and
6786         us, a favour by killing it.
6787
6788 2003-07-28  José Matos  <jamatos@lyx.org>
6789
6790         * buffer.C (readBody, do_writeFile):
6791         * paragraph.C(readParagraph): \end_document replaces \the_end.
6792
6793 2003-07-29  André Pönitz  <poenitz@gmx.net>
6794
6795         * BufferView.[Ch]:
6796         * BufferView_pimpl.[Ch]:
6797         * lyxfunc.C:
6798         * text2.C:
6799         * text3.C:
6800         * textcursor.[Ch]: remove toggleToggle & Co
6801
6802 2003-07-28  José Matos  <jamatos@fep.up.pt>
6803
6804         * buffer.C (readParagraph):
6805         * params_func (readParToken, readParagraph):
6806         * paragraph.C (write): \layout -> \begin_layout.
6807
6808 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * lyxlex_pimpl.C (setFile): clean up slightly.
6811
6812         * bufferparams.h: add compressed var
6813
6814         * buffer_funcs.C (readFile): adjust for LyXLex change
6815         (newFile): ditto + simplify
6816
6817         * buffer.C (writeFile): handle writing of compressed files
6818
6819         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6820         Check if the file is compressed and set a bufferparm if so.
6821
6822         * Makefile.am (lyx_LDADD): remove explicit -lz
6823
6824 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6825
6826         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6827         makeDocBookFile): put the real LyX version in the first line of
6828         the file
6829
6830         * version.h:
6831         * version.C.in: remove lyx_docversion
6832
6833         * tabular.C (write_attribute): add a template-based version to
6834         write enums properly
6835
6836 2003-07-28  André Pönitz  <poenitz@gmx.net>
6837
6838         * lyxtext.h:
6839         * text.C:
6840         * text2.C:
6841         * text3.C: use doubles again for x-coordinates. They are needed.
6842
6843 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * messages.C (getLocaleDir): use lyx_localedir()
6846
6847         * lyxlex_pimpl.C (setFile): compress stuff
6848
6849         * buffer.C (writeFile): add some compression stuff
6850         (do_writeFile): new func, dont call expliti close... will this
6851         breake anything?
6852
6853         * Makefile.am (lyx_LDADD): add -lz
6854
6855 2003-07-28  José Matos  <jamatos@fep.up.pt>
6856
6857         * buffer.C: increment file format.
6858         * paragraph_funcs (readParagraph, readParToken):
6859         * paragraph.C (readParagraph): add \end_layout.
6860
6861 2003-07-27  Angus Leeming  <leeming@lyx.org>
6862
6863         * Makefile.am: remove special casing for configure-time setting of
6864         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6865
6866         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6867         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6868
6869 2003-07-26  André Pönitz  <poenitz@gmx.net>
6870
6871         * paragraph_func.[Ch]:
6872         * paragraph.C (realizeFont): inline it whereever it is used
6873
6874         * rowpainter.C:
6875         * text.C:
6876         * text2.C:
6877         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6878
6879
6880 2003-07-26  André Pönitz  <poenitz@gmx.net>
6881
6882         *       lyxtext.h:
6883         * text.C:
6884         * text2.C: get rid of LyXText::need_break_row
6885
6886 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * toc.[Ch]: put namespace toc inside namespace lyx
6889
6890         * MenuBackend.C (expandToc2): adjust for lyx::toc
6891         (expandToc): ditto
6892
6893         * lyxfunc.C (dispatch): adjust for lyx::find
6894
6895         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6896         lyx::find instead. Reorganize a bit.
6897         (LyXReplace): rename to replace
6898         (LyXFind): rename to find
6899
6900         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6901         (dispatch): ditto
6902
6903 2003-07-26  André Pönitz  <poenitz@gmx.net>
6904
6905         * text.C (setHeightOfRow): restrict scope of temporary variable
6906
6907         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6908           code (never has been used?)
6909
6910 2003-07-27  Asger Alstrup  <alstrup@local>
6911
6912         * text.C (fill): Optimise algorithm to exploit that we can reuse
6913         the LyXFont for many characters.
6914         (setHeightOfRow): Same thing.
6915         (rowBreakPoint): Same thing.
6916
6917 2003-07-26  Asger Alstrup  <alstrup@local>
6918
6919         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6920
6921         * text.C (singleWidth): Spurious font copying in hot-spot
6922         singleWidth avoided. Reorder tests for arabic for efficiency.
6923
6924         * text.C (fill): handle empty paragraphs better.
6925
6926 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6927
6928         * ispell.C:
6929         * encoding.h: add includes
6930
6931         * lyxrc.C: remove reading of bind files
6932
6933         * lyx_main.C (init): setup bindings and menus only if we have a
6934         gui.
6935
6936         * kbmap.C (read): new method. Do the actual reading of bind
6937         files.
6938
6939         * converter.C (dvipdfm_options):
6940         * bufferparams.C:
6941         * lyxrc.C (read):
6942         (output): adapt PAPER_* enums.
6943
6944         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6945
6946         * bufferparams.h: remove paper-related enums from there
6947
6948         * paper.h: New file. A trivial header file to hold paper-related
6949         enums. It should later expand to contain many paper-related
6950         horrors access.
6951
6952         * lyxrc.C: declare extern displayTranslator
6953
6954 2003-07-27  José Matos  <jamatos@fep.up.pt>
6955
6956         * tabular.[Ch] (linuxdoc): add support for tables and figures
6957         (linuxdoc).
6958
6959 2003-07-27  José Matos  <jamatos@fep.up.pt>
6960
6961         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6962         consistency in both functions.
6963         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6964
6965 2003-07-26  Asger Alstrup  <alstrup@local>
6966
6967         * rowpainter.C (paintRows): Change algorithm to work directly on
6968         the insets rather than asking every character in the document
6969         whether its an inset.
6970
6971 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * buffer.C (openFileWrite): factorize some code
6974
6975 2003-07-26  Angus Leeming  <leeming@lyx.org>
6976
6977         * lyx_cb.C:
6978         * lyx_main.[Ch]: replace occurances of system_tempdir with
6979         os::getTmpDir().
6980
6981 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * rename Inset to InsetOld
6984
6985 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6986
6987         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6988         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6989         which I think is a bit clearer. EDIT is gone, since it was
6990         premature optimisation, and broken for mathed anyway.
6991         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6992         with cursor positioning in insets as well (math insets still do not
6993         work, but that's a different story anyway.) It mysteriously
6994         crashes sometimes with undo in the first paragraph, but I'm fairly
6995         confident that this is a compiler bug.
6996
6997 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * paragraph.C (Paragraph): adjust for new clone return type
7000         (operator==): ditto
7001         (copyIntoMinibuffer): ditto
7002
7003 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7004
7005         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7006         by not having a special case, and always doing a full rebreak of
7007         the document after undo.
7008
7009 2003-07-23  Angus Leeming  <leeming@lyx.org>
7010
7011         * factory.C (createInset): InsetExternal::setParams now takes a
7012         Buffer const * arg.
7013
7014 2003-07-23  Angus Leeming  <leeming@lyx.org>
7015
7016         * factory.C (createInset): changed interface to the external and
7017         graphics mailers' string2params functions.
7018
7019 2003-07-23  Angus Leeming  <leeming@lyx.org>
7020
7021         * factory.C (createInset): pass a
7022         Buffer const * parameter to InsetExternalMailer's string2params.
7023
7024 2003-07-22  John Levon  <levon@movementarian.org>
7025
7026         * Thesaurus.h: include the right aiksaurus header
7027
7028 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7029
7030         * MenuBackend.C (expand): check menu shortcuts unconditionally
7031
7032 2003-07-21  Angus Leeming  <leeming@lyx.org>
7033
7034         * factory.C (createInset): pass a
7035         buffer_path parameter to InsetGraphicsMailer's string2params.
7036
7037 2003-07-21  Angus Leeming  <leeming@lyx.org>
7038
7039         * BufferView_pimpl.C (buffer):
7040         * buffer.C (d-tor):
7041         * lyx_main.C (LyX):
7042         * lyxfunc.C (dispatch):
7043         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7044         rather than the grfx shortcut.
7045
7046 2003-07-21  André Pönitz  <poenitz@gmx.net>
7047
7048         * rowpainter.C: remove unused variables
7049
7050         * tabular_funcs.C:
7051         * tabular_funcs.h: move to tabular.C
7052         * Makefile.am: adjust
7053
7054         * tabular.[Ch]: basic optical cleaning
7055
7056         * author.h: pass references, not values
7057
7058 2003-07-18  André Pönitz  <poenitz@gmx.net>
7059
7060         * lyxtext.h:
7061         * metricsinfo.C:
7062         * metricsinfo.h:
7063         * rowpainter.C:
7064         * text.C:
7065         * text2.C:
7066         * text3.C: two-phase drawing for InsetText and InsetTabular
7067         some float -> int changes.
7068
7069 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7070
7071         * lyx_main.C: fix the fix
7072
7073 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * lyx_main.C: fix a crash in batch mode if no files specified
7076         * converter.C: ws
7077
7078 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7079
7080         * format.[Ch] (papersize): moved to BufferParams
7081         * converter.[Ch] (dvips_options): moved to BufferParams
7082         (dvipdfm_options): moved to anon namespace
7083         * bufferparams.[Ch]: added above functions.
7084
7085 2003-07-17  André Pönitz  <poenitz@gmx.net>
7086
7087         * lyxtext.h:
7088         * rowpainter.C:
7089         * text2.C: don't call inset->update() anymore
7090
7091         * metricsinfo.[Ch]: add convenience constructor
7092
7093 2003-07-16  André Pönitz  <poenitz@gmx.net>
7094
7095         * lyxcursor.[Ch]:
7096         * lyxfunc.[Ch]:
7097         * text.C:
7098         * text2.C: replace the LyXCursor::irow_ member with
7099          on-demand computation of the value
7100
7101 2003-07-16  John Levon  <levon@movementarian.org>
7102
7103         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7104
7105 2003-07-15  André Pönitz  <poenitz@gmx.net>
7106
7107         * text.C:
7108         * text2.C: remove no more needed refresh_row
7109
7110 2003-07-15  André Pönitz  <poenitz@gmx.net>
7111
7112         * lyxtext.h:
7113         * rowpainter.C:
7114         * text2.C:
7115         * text3.C: refresh_status tristate -> need_update bool
7116
7117 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7118
7119         * lyxtext.h (init): remove reinit argument (act as if always true)
7120         * text2.C: adjust to that
7121
7122 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7123
7124         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7125         * text3.C: use it to delete selections in some cases
7126         (bugs 441, 673, 702, 954).
7127
7128 2003-07-14  André Pönitz  <poenitz@gmx.net>
7129
7130         * rowpainter.[Ch]: reduce interface
7131
7132 2003-07-14  André Pönitz  <poenitz@gmx.net>
7133
7134         * BufferView_pimpl.C:
7135         * text2.C: adjust after removing unused BufferView * argument
7136
7137 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7138
7139         * text2.C (init): fix a crash fired on resize
7140
7141 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * buffer.[Ch]: added new closing signal
7144         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7145         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7146         BufferView::Pimpl via the closing the signal
7147
7148 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7149
7150         * buffer.[Ch]: take out all bv-related from buffer
7151         * BufferView.C:
7152         * BufferView_pimpl.[Ch]: connect to new signals
7153         * CutAndPaste.C: removed useless asserts
7154         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7155         * lyxvc.[Ch]:
7156         * vc-backend.[Ch]:
7157         * lyxfunc.C: moved view-related funciontality from vc here
7158         * paragraph.C: removed outdated comments
7159         * text.C: ws
7160
7161 2003-07-10  André Pönitz  <poenitz@gmx.net>
7162
7163         * BufferView_pimpl.C:
7164         * tabular.h:
7165         * tabular_funcs.C:
7166         * text.C:
7167         * text2.C: remove InsetText::InnerCache, clean up consequences
7168
7169 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7170
7171         * ispell.C: fix two typos in error messages
7172
7173 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7174
7175         * Extend Note inset to other forms of annotation like Comment
7176         and Greyedout. Right button click gives dialog.
7177
7178         Files modified or added (+):
7179
7180         * insetnote.[Ch]
7181         * FormNote.[Ch]      +
7182         * ControlNote.[Ch]   +
7183         * form_note.fd       +
7184         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7185         frontends/controllers
7186         * xforms/Dialogs.C
7187         * factory.C
7188
7189 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7190
7191         * aspell.C: add missing namespace lyx::support
7192
7193 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7194
7195         * BufferView.[Ch] (newFile): Add
7196         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7197         * LaTeX.[Ch] (message): added this signal and use it
7198         * buffer.[Ch] (busy, message): added these signals and use them
7199         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7200         * converter.C:
7201         * exporter.C:
7202         * format.C:
7203         * importer.C: use buffer signals instead of direct bv calling
7204         * lyx_cb.[Ch] (ShowMessage): removed
7205         * lyx_main.C:
7206         * lyxfunc.C:
7207         * paragraph_funcs.C:
7208         * text2.C: use buffer signals
7209
7210 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * introduce namespace lyx::graphics
7213
7214 2003-07-02  André Pönitz  <poenitz@gmx.net>
7215
7216         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7217
7218 2003-07-01  André Pönitz  <poenitz@gmx.net>
7219
7220         * text.C:
7221         * text2.C:
7222         * text3.C:
7223         * text_funcs.[Ch]:
7224         * textcursor.h:
7225         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7226           text*.C to text_func.C
7227
7228 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * introduce namespace lyx::support
7231
7232 2003-06-30  André Pönitz  <poenitz@gmx.net>
7233
7234         * Chktex.C:
7235         * funcrequest.C:
7236         * lyxtext.h:
7237         * text.C: re-enable --with-included-string
7238
7239 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * textcursor.C: add <config.h>
7242
7243         * text.C (getWord): remove const from word_location arg
7244
7245         * lyxvc.C (getLogFile): fix const type order
7246
7247         * lyxtext.h: remove const from word_location arg, add arg name
7248
7249         * lyxlayout.h: currect type on labeltype.
7250
7251         * importer.C: correct \file
7252
7253         * converter.C (intToFormat): use std:: on ret val, ws changes
7254
7255         * bufferlist.h: correct \file
7256
7257         * buffer.C (makeLinuxDocFile): fix const type order
7258         (makeDocBookFile): ditto
7259         (fillWithBibKeys): use std:: on stdlib args.
7260
7261         * CutAndPaste.C: fix authors.
7262         (availableSelections): use std:: on return vector
7263
7264 2003-06-27  André Pönitz  <poenitz@gmx.net>
7265
7266         * BufferView_pimpl.C:
7267         * bufferview_funcs.C:
7268         * lyxcursor.C:
7269         * lyxcursor.h:
7270         * lyxfunc.C:
7271         * lyxtext.h:
7272         * rowpainter.C:
7273         * text.C:
7274         * text2.C:
7275         * text3.C: remove LyXCursor::row_ member
7276
7277         * lyxtext.h:
7278         * text.C: rename fullRebreak() to partialRebreak() and implement
7279           a fullRebreak() that really bereks fully
7280
7281         * textcursor.h: new struct for cursor-related data
7282
7283 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7284
7285         * lyx_main.C (LyX): get full path of document loaded on the
7286         command line
7287
7288 2003-06-26  André Pönitz  <poenitz@gmx.net>
7289
7290         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7291           remove unused/broken operator>,<,>=.
7292
7293         *       text.C: remove only use of broken operator<= in an Assert().
7294
7295 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7296
7297         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7298         moved errorlist_.clear to showErrorList
7299
7300 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7301
7302         * converter.C (scanLog, runLaTeX):
7303         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7304         move the bv->showErrorList call to the callers
7305         * lyxfunc.C: i.e. here...
7306         * text2.C: and here
7307         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7308         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7309         namespace, the second to...
7310         * buffer_funcs (BufferFormat, parseErrors): added
7311         * errorlist.C (ErrorList(TeXErrors const &)): removed
7312
7313 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7314
7315         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7316
7317 2003-06-24  "Garst R. Reese" <reese@isn.net>
7318
7319         * debug.C: fix typo
7320
7321 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7322
7323         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7324
7325         * version.C.in: change docversion to 1.4
7326
7327 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * buffer.C: fix a bug just introduced
7330
7331 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7332
7333         * buffer.[Ch]: added the parseError signal and use it, removed
7334         sgmlError
7335         * BufferView.[Ch] (addError): moved to ...
7336         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7337         to the Buffer::parseError signal to catch (guess what) parse errors
7338         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7339
7340 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7341
7342         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7343         ability to create a buffer and to return an existing one from
7344         the list. Moved these functions to...
7345         * buffer_funcs.[Ch]: added
7346         * BufferView.[Ch] (loadLyXFile): added
7347         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7348         job removed from bufferlist::loadLyXFile.
7349         * buffer.C (setReadOnly): make it work without view
7350         (i.e added an if (users))
7351
7352 2003-06-19  Angus Leeming  <leeming@lyx.org>
7353
7354         * lfuns.h:
7355         * LyXAction.C (init):
7356         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7357         with LFUN_DIALOG_SHOW <name> <data>.
7358
7359 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7360
7361         * CutAndPaste.C (availableSelections): small compilation fix for
7362         ancient (gcc 2.9x) compilers
7363
7364 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * text3.C (cursorNext): add tmp var
7367
7368         * text2.C (updateCounters): for function calling out of for clause
7369         (replaceSelectionWithString): ditto
7370         (insertStringAsParagraphs): ditto
7371         (getColumnNearX): add tmp var
7372         (setCursorFromCoordinates): add tmp var
7373         (cursorDownParagraph): add tmp var
7374         (deleteEmptyParagraphMechanism): add tmp var
7375
7376         * text.C (insertChar): add tmp var
7377
7378         * rowpainter.C (paintDepthBar): add tmp var
7379
7380         * CutAndPaste.C (availableSelections): potentially check all
7381         paragraphs in a cut to fill the shown strings.
7382
7383 2003-06-18  André Pönitz  <poenitz@gmx.net>
7384
7385         * kbmap.[Ch]: use vector<> instead of list<>
7386
7387 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7388
7389         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7390         pasteSelection with index
7391
7392         * text2.C (pasteSelection): modify, call pasteSelection with index
7393
7394         * paragraph.C (asString): reimplement version with no interval to
7395         call the one with interval.
7396
7397         * lyxtext.h: add index arg to pasteSelection
7398
7399         * MenuBackend.C (MenuItem): handle PasteRecent
7400         (Menu::read::Menutags): add md_pasterecent
7401         (read): handle it
7402         (expandPasteRecent): new function
7403         (expand): use it
7404
7405         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7406
7407         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7408         the limited stack
7409         (availableSelections): new function
7410
7411 2003-06-17  Angus Leeming  <leeming@lyx.org>
7412
7413         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7414
7415 2003-06-17  Angus Leeming  <leeming@lyx.org>
7416
7417         * lfuns.h:
7418         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7419
7420         * lyxfunc.C (dispatch): invoke it.
7421
7422 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7423
7424         * iterators.C (operator++, ParPosition): reintroduce some
7425         const_cast for the benefit of older compilers.
7426
7427 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7428
7429         * text3.C (dispatch): do not modify clipboard when doing
7430         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7431         LFUN_DELETE_SKIP on a selection selection
7432
7433 2003-06-16  André Pönitz  <poenitz@gmx.net>
7434
7435         * BufferView.C:
7436         * buffer.C:
7437         * buffer.h:
7438         * paragraph.C:
7439         * tabular.[Ch]: IU of clone() and getLabelList();
7440
7441 2003-06-13  André Pönitz  <poenitz@gmx.net>
7442
7443         * tabular.h: compactification
7444
7445 2003-06-12  André Pönitz  <poenitz@gmx.net>
7446
7447         * tabular.C:
7448         * tabular.h:
7449         * tabular_funcs.h: some renaming plus whitespace
7450
7451 2003-06-12  André Pönitz  <poenitz@gmx.net>
7452
7453         * BufferView.C:
7454         * BufferView_pimpl.C:
7455         * CutAndPaste.C:
7456         * buffer.C:
7457         * iterators.[Ch]:
7458         * lyxfunc.C:
7459         * text.C:
7460         * toc.C: Return a Paragraph & for ParIterator::operator*()
7461
7462 2003-06-11  John Levon  <levon@movementarian.org>
7463
7464         * lyx_main.C:
7465         * ToolbarBackend.h:
7466         * ToolbarBackend.C: add "Toolbars" section and
7467         put the flags there
7468
7469 2003-06-10  Angus Leeming  <leeming@lyx.org>
7470
7471         * lfuns.h:
7472         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7473
7474         * lyxfunc.C (dispatch): invoke it.
7475
7476 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * main.C: protect <ios> with HAVE_IOS
7479         (main): protect sync_with_stdio with HAVE_IOS
7480
7481 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7482
7483         * text2.C (cutSelection): adjust
7484         (pasteSelection): adjust
7485
7486         * messages.C: handle get of empty string
7487
7488         * main.C (main): use sync_with_stdio(false)
7489
7490         * lyxfunc.C (dispatch): adjust
7491
7492         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7493         (WriteAs): remove unneeded BufferView arg.
7494
7495         * bufferparams.h: use correct types on papersize, papersize2 and
7496         paperpackage.
7497
7498         * bufferparams.C (readToken): adjust for type
7499         (writeLaTeX): add missing cases to switch.
7500
7501         * bufferlist.C (quitWriteBuffer): adjust
7502         (close): adjust
7503
7504         * buffer.C (asciiParagraph): remove some commented code.
7505
7506         * CutAndPaste.C: remove current_view extern variable.
7507         (cutSelection): add BufferParams arg.
7508         (eraseSelection): add BufferParams arg.
7509         (pasteSelection): add Buffer const & arg
7510
7511 2003-06-07  John Levon  <levon@movementarian.org>
7512
7513         * buffer.C:
7514         * paragraph_funcs.C:
7515         * paragraph_pimpl.C:
7516         * text.C:
7517         * text2.C:
7518         * paragraph.h:
7519         * paragraph.C: allow InsetERT to freely space lines,
7520         and some consolidation of code
7521
7522 2003-06-06  José Matos  <jamatos@fep.up.pt>
7523
7524         * buffer.C (makeDocBookFile): fix bug #821
7525
7526 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7527
7528         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7529
7530 2003-06-04  Angus Leeming  <leeming@lyx.org>
7531
7532         * buffer.C: bump format to 224.
7533
7534 2003-06-05  André Pönitz  <poenitz@gmx.net>
7535
7536         * text2.C (redoParagraphs): remove two const_cast<>
7537
7538 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7539
7540         * ParagraphList.h: remove last remnants of NO_STD_LIST
7541
7542 2003-06-03  Angus Leeming  <leeming@lyx.org>
7543
7544         * factory.C (createInset): small change to the way InsetExternal's params
7545         are set.
7546
7547 2003-06-04  André Pönitz  <poenitz@gmx.net>
7548
7549         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7550
7551         * paragraph_pimpl.h:
7552         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7553
7554         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7555
7556         * undo_funcs.C: make some simple cases of undo work again
7557
7558 2003-06-03  John Levon  <levon@movementarian.org>
7559
7560         * ispell.C: HPUX doesn't have sys/select.h
7561         (from Albert Chin)
7562
7563 2003-06-03  John Levon  <levon@movementarian.org>
7564
7565         * CutAndPaste.C: update tabular and include inset
7566         buffer references
7567
7568         * buffer.h:
7569         * paragraph.h:
7570         * paragraph.C: remove owningBuffer(), don't pass Buffer
7571         to clone()
7572
7573         * factory.C: insetGraphicsParams changed
7574
7575 2003-06-02  John Levon  <levon@movementarian.org>
7576
7577         * LyXAction.C:
7578         * factory.C:
7579         * lfuns.h:
7580         * lyxfunc.C:
7581         * text3.C: remove insetparent
7582
7583 2003-06-02  John Levon  <levon@movementarian.org>
7584
7585         * buffer.h:
7586         * buffer.C: fix inset_iterator.end(), move out of line
7587         (bug 1149)
7588
7589 2003-06-01  John Levon  <levon@movementarian.org>
7590
7591         * text3.C: use a proper cut/paste when doing inset
7592         insert (from Jürgen Spitzmüller)
7593
7594 2003-06-01  John Levon  <levon@movementarian.org>
7595
7596         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7597
7598 2003-05-30  André Pönitz  <poenitz@gmx.net>
7599
7600         * rowpainter.C: unify second drawing phase
7601
7602 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * trans_mgr.C: remove one case of current_view
7605
7606         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7607
7608         * paragraph_funcs.h: remove paragraph.h include
7609
7610         * paragraph.h: delete NO_STD_LIST stuff
7611
7612         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7613
7614         * buffer.h: remove paragraph.h include
7615
7616         * ParagraphList.C: delete file
7617
7618         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7619
7620         * toc.C (getTocList): adjust
7621
7622         * paragraph_pimpl.C (validate): adjust
7623
7624         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7625
7626         * paragraph.C (Paragraph): adjust
7627         (getPositionOfInset): use const_iterator, adjust
7628         (bibitem): use const_iterator, adjust
7629         (setInsetOwner): adjust
7630
7631         * iterators.C (operator++): adjust
7632
7633         * InsetList.[Ch]: Replace selfmade iterator with standard
7634         vector::iterator also introduce const_iterator. Remove getPos,
7635         getInset and setInset from InsetTable. Adjust accordingly.
7636
7637         * BufferView.C (lockInset): adjust
7638         (ChangeInsets): adjust
7639
7640         * tabular.[Ch]: delete commented same_id functions
7641
7642 2003-05-28  John Levon  <levon@movementarian.org>
7643
7644         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7645
7646 2003-05-28  André Pönitz  <poenitz@gmx.net>
7647
7648         * metricsinfo.[Ch]: remove 'fullredraw' member
7649
7650 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7651
7652         * lyxtextclass.C (operator): remove caching.
7653
7654 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * text3.C: adjust
7657
7658         * text2.C (cursorBottom): adjust
7659         (setCounter): use ParagraphList::find, adjust
7660
7661         * text.C (workWidth): use ParagraphList::find, adjust
7662
7663         * lyxcursor.C (LyXCursor): adjust
7664
7665         * buffer.C (inset_iterator): adjust
7666
7667         * ParagraphList.h: make iterator(value_type) private, make
7668         ParagraphList a friend of iterator.
7669
7670         * ParagraphList.C (find): new function
7671
7672         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7673
7674 2003-05-27  André Pönitz  <poenitz@gmx.net>
7675
7676         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7677
7678 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7679
7680         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7681
7682 2003-05-26  John Levon  <levon@movementarian.org>
7683
7684         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7685
7686 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * remove same_id from function signatures, adjust.
7689
7690 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7693
7694         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7695
7696         * paragraph.C (Paragraph): get rid of same_ids parameter
7697
7698         * ParagraphList.C (insert): adjust
7699         (push_back): adjust
7700
7701 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * paragraph_funcs.C (breakParagraph): adjust
7704         (breakParagraphConservative): adjust
7705
7706         * buffer.C (readParagraph): adjust
7707
7708         * ParagraphList.C (insert): take a reference instead of a pointer
7709         (insert): adjust
7710
7711         * paragraph.[Ch] (id): new function
7712
7713         * bufferlist.C (newFile): adjust
7714
7715         * ParagraphList.C (ParagraphList): adjust
7716         (assign): adjust
7717         (push_back): take a reference instead of a pointer.
7718
7719         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7720
7721         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7722         instead.
7723
7724         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7725         set else use old code.
7726
7727         * ParagraphList.C: remove all NO_NEXT code and only compile this
7728         code of NO_STD_LIST is set.
7729
7730 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7731
7732         * BufferView_pimpl.C:
7733         * TextCache.C:
7734         * TextCache.h:
7735         * bufferlist.C:
7736         * errorlist.h:
7737         * format.C:
7738         * format.h:
7739         * graph.C:
7740         * lyxfunc.C:
7741         * lyxrc.C:
7742         * graphics/GraphicsConverter.C:
7743         * graphics/PreviewLoader.C: header adjustment
7744
7745 2003-05-23  Angus Leeming  <leeming@lyx.org>
7746
7747         * LaTeXFeatures.[Ch] (useBabel): new method.
7748         * bufferparams.C (writeLaTeX): use it.
7749
7750 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * ParagraphList.h (set): remove unused function.
7753
7754 2003-05-23  André Pönitz  <poenitz@gmx.net>
7755
7756         * BufferView.C:
7757         * BufferView_pimpl.C:
7758         * buffer.C:
7759         * buffer.h:
7760         * lyxfunc.C:
7761         * undo_funcs.C: setUndo reworked
7762
7763         * iterators.[Ch]: add access to topmost ParagraphList
7764
7765         * lyxtext.[Ch] (workWidth): add a const
7766
7767 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7768
7769         * texrow.[Ch] (increasePos): remove function
7770         * exporter.C (export): removed unused var and outdated comment
7771
7772 2003-05-23  Angus Leeming  <leeming@lyx.org>
7773
7774         * latexrunparams.h: rename fragile as moving_arg.
7775         * paragraph.C (simpleTeXOnePar): ditto.
7776         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7777
7778 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7781         (createUndo): ditto
7782         (textUndoOrRedo): comment out a currently unused var.
7783
7784         * paragraph.h (NO_NEXT): enable NO_NEXT
7785
7786         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7787
7788         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7789
7790         * exporter.C (Export): adjust for removeAutoInsets removal.
7791
7792         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7793
7794         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7795
7796         * BufferView.[Ch] (removeAutoInsets): delete function
7797
7798 2003-05-22  Angus Leeming  <leeming@lyx.org>
7799
7800         * latexrunparams.h: add a free_spacing variable.
7801
7802         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7803         to pass moving_arg, as the data is stored in runparams.fragile.
7804
7805         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7806         to Inset::latexOptional or to simpleTeXOnePar.
7807
7808         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7809         free_spacing arg to Inset::latexOptional.
7810
7811         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7812         free_spacing arg.
7813
7814 2003-05-22  Angus Leeming  <leeming@lyx.org>
7815
7816         * latexrunparams.h: add fragile and use_babel variables.
7817
7818         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7819         * buffer.C (makeLaTeXFile): store this returned value in
7820         runparams.use_babel, thus passing it to the inset::latex methods.
7821
7822         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7823         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7824
7825         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7826         longer has a fragile arg, as it is stored in runparams.fragile.
7827
7828         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7829         moving_arg parameter as the data is stored in runparams.fragile.
7830
7831         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7832         a fragile parameter as the data is stored in runparams.fragile.
7833
7834 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7837
7838 2003-05-22  Angus Leeming  <leeming@lyx.org>
7839
7840         * latexrunparams.h: add a 'bool nice' which defaults to false.
7841
7842         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7843         now encapsulated within runparams.
7844
7845         * bufferlist.C (updateIncludedTeXfiles):
7846         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7847
7848 2003-05-22  Angus Leeming  <leeming@lyx.org>
7849
7850         * latexrunparams.h: new file containing struct LatexRunParams.
7851         * Makefile.am: add new file.
7852
7853         * LaTeX.[Ch] (c-tor, run):
7854         * buffer.[Ch] (makeLaTeXFile):
7855         * bufferlist.[Ch] (updateIncludedTeXfiles):
7856         * converter.C (convert, scanLog):
7857         * converter.[Ch] (runLaTeX):
7858         * exporter.C (Export):
7859         * paragraph.[Ch] (simpleTeXOnePar):
7860         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7861         * paragraph_funcs.[Ch] (latexParagraphs):
7862         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7863         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7864         pass around a LatexRunParams parameter.
7865
7866 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * paragraph.[Ch]: remove unused constructor
7869
7870         * ParagraphList.C (erase): new function, taking two iterators
7871
7872 2003-05-22  André Pönitz  <poenitz@gmx.net>
7873
7874         * undo_funcs.C: remove duplicated code
7875
7876         * iterator.[Ch]: operator=
7877
7878 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * tabular.C (SetMultiColumn): ws changes
7881
7882         * rowpainter.C (paintFirst): get rid of a ->previous
7883
7884         * lyx_cb.C (getPossibleLabel): parlist simplification
7885
7886         * BufferView.C (ChangeInsets): simplify slightly.
7887
7888 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7889
7890         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7891         * lfuns.h: new LFUN_SPACE
7892         * lyxfunc.C: protected space has a new lfun
7893         * paragraph_funcs.C: read new space insets
7894         * text3.C:
7895         * factory.C: handle new space insets
7896
7897 2003-05-22  André Pönitz  <poenitz@gmx.net>
7898
7899         * BufferView.C:
7900         * BufferView_pimpl.C:
7901         * buffer.[Ch]:
7902         * lyxfunc.C:
7903         * undo_funcs.C: return a ParIterator from getParFromID.
7904
7905         * iterators.[Ch]: add two const's
7906
7907 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * toc.C (getTocList): adjust
7910
7911         * iterators.[Ch]: rework for parlist
7912
7913         * buffer.C (par_iterator_begin): adjust
7914         (par_iterator_end): adjust
7915
7916         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7917
7918         * BufferView.C (removeAutoInsets): adjust
7919         (ChangeInsets): adjust
7920
7921 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7922
7923         * text.C (top_y): fix bug 1110
7924
7925 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7926
7927         * errorlist.[Ch]: added
7928         * buffer.C:
7929         * BufferView.[Ch]:
7930         * BufferView_pimpl.C:
7931         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7932         instead
7933
7934 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * Makefile.am: ensure that lyx is relinked upon changes to the
7937         various "convenience" libs.
7938
7939 2003-05-20  Angus Leeming  <leeming@lyx.org>
7940
7941         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7942         files are compiled in alphabetical order again.
7943
7944         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7945
7946 2003-05-19  Angus Leeming  <leeming@lyx.org>
7947
7948         * gettext.[Ch]: remove "char const * _(char const *)".
7949
7950 2003-05-19  André Pönitz  <poenitz@gmx.net>
7951
7952         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7953
7954         * Makefile.am:
7955         * BufferView.C:
7956         * DepTable.h:
7957         * LaTeXFeatures.C:
7958         * buffer.C:
7959         * lyxfont.C:
7960         * lyxlex.h:
7961         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7962
7963 2003-05-19  André Pönitz  <poenitz@gmx.net>
7964
7965         * buffer.C:
7966         * lyxlayout.[Ch]:
7967         * lyxtextclass.[Ch]:
7968         * paragraph.C:
7969         * paragraph_funcs.[Ch]:
7970         * text2.C:
7971         * text3.C: more insetenv work
7972
7973 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7974
7975         * ParagraphParameters.C (params2string): small bug fixed
7976
7977 2003-05-16  André Pönitz  <poenitz@gmx.net>
7978
7979         * debug.C:
7980         * bufferview_funcs.C: patch from Kornel Benko to prevent
7981           crash when _(...) is called twice in a statement
7982
7983 2003-05-16  André Pönitz  <poenitz@gmx.net>
7984
7985         * BufferView.C:
7986         * lyxfunc.C:
7987         * text.C:
7988         * text2.C:
7989         * text3.C:
7990         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7991
7992 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7993
7994         * lyx_main.C (init): remove spurious static_cast
7995
7996 2003-05-14  André Pönitz  <poenitz@gmx.net>
7997
7998         * BufferView.C: fix format string
7999
8000 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8001
8002         * BufferView.[Ch] (insertErrors): removed
8003         * BufferView.[Ch] (showErrorList): added
8004         * buffer.C (runChkTeX):
8005         * converter.C (scanLog): call showErrorList instead of inserterrors
8006
8007 2003-05-13  André Pönitz  <poenitz@gmx.net>
8008
8009         * BufferView_pimpl.C:
8010         * buffer.C:
8011         * bufferview_func.C:
8012         * MenuBackend.C:
8013         * lyxfunc.C:
8014         * lyxrc.C:
8015         * tex-accent.C:
8016         * text3.C:
8017         * toc.C:
8018         * tabular_funcs.h: tostr() from its own header
8019
8020         * ParagraphParameters.C:
8021         * ToolbarBackend.C:
8022         * bufferparams.C:
8023         * format.C:
8024         * lyxlex_pimpl.C:
8025         * text3.C: STRCONV()
8026
8027 2003-05-12  André Pönitz  <poenitz@gmx.net>
8028
8029         * BufferView.C:
8030         * BufferView_pimpl.C:
8031         * CutAndPaste.C:
8032         * LaTeX.C:
8033         * LaTeXFeatures.C:
8034         * ParagraphParameters.C:
8035         * buffer.C:
8036         * bufferlist.C:
8037         * bufferparams.C:
8038         * bufferview_funcs.C:
8039         * converter.C:
8040         * counters.C:
8041         * debug.C:
8042         * exporter.C:
8043         * format.C:
8044         * importer.C:
8045         * lyx_cb.C:
8046         * lyx_main.C:
8047         * lyxfont.C:
8048         * lyxfunc.C:
8049         * lyxvc.C:
8050         * paragraph.C:
8051         * paragraph_funcs.C:
8052         * tabular.C:
8053         * tabular_funcs.C:
8054         * text2.C:
8055         * text3.C:  boost::format -> bformat  all over the place
8056
8057
8058 2003-05-09  André Pönitz  <poenitz@gmx.net>
8059
8060         * LColor.[Ch]: Pimpl the #include <map> away
8061
8062 2003-05-09  John Levon  <levon@movementarian.org>
8063
8064         * bufferlist.C: never remove emergency saves
8065
8066 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * Makefile.am: better lib building
8069
8070 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8073         instead.
8074         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8075         (simpleTeXSpecialChars): adjust
8076         (simpleTeXSpecialChars): adjust
8077         * paragraph.C (simpleTeXOnePar): adjust
8078         * buffer.C (makeLaTeXFile): adjust
8079
8080         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8081
8082         * text2.C (changeDepth): parlist cleanup
8083         (getColumnNearX): ditto
8084
8085         * rowpainter.C (getLabelFont): parlist cleanup
8086
8087         * bufferlist.C (newFile): parlist cleanup
8088
8089         * CutAndPaste.C (eraseSelection): parlist cleanup
8090
8091         * BufferView_pimpl.C (trackChanges): parlist cleanup
8092         (dispatch): ditto
8093
8094         * BufferView.C (lockInset): parlist cleanup.
8095         (ChangeInsets): ditto
8096
8097 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * CutAndPaste.h: Update file header.
8100
8101         * CutAndPaste.C: Update file header.
8102         Store the parts cut out of the Document in a limited_stack.
8103         (copySelection): adjust
8104         (pasteSelection): new function, takes the index in the limited stack.
8105         (nrOfParagraphs): adjust
8106         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8107         simplify error inset insertion.
8108         (checkPastePossible): adjust
8109
8110 2003-05-06  John Levon  <levon@movementarian.org>
8111
8112         * text2.C: don't cast wrap inset to float
8113
8114 2003-05-05  André Pönitz  <poenitz@gmx.net>
8115
8116         * iterator.C:
8117         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8118
8119         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8120           few naked Paragraph *.
8121
8122 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8123
8124         * bufferparams.C: Output warning if a document with missing
8125         TeX document class is loaded
8126         * exporter.C: Disable TeX exports if the document class is missing
8127         * lyxtextclass.C:
8128         * lyxtextclass.h:
8129         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8130         isTeXClassAvailable()
8131
8132 2003-05-03  John Levon  <levon@movementarian.org>
8133
8134         * BufferView.h:
8135         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8136         explicit cursor show/hide
8137
8138         * BufferView_pimpl.h:
8139         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8140         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8141
8142         * lyxfunc.C: hide cursor before dispatching.
8143
8144         * lyx_cb.C:
8145         * lyxfind.C:
8146         * text.C:
8147         * text3.C: remove explicit cursor hides
8148
8149 2003-05-02  André Pönitz  <poenitz@gmx.net>
8150
8151         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8152
8153         * undo_funcs.C:
8154         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8155           linked lists
8156
8157         * text2.C: tiny whitespace
8158
8159 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * undo_funcs.C: almost only ws changes.
8162
8163         * ParagraphList.C (splice): just return if pl is empty.
8164
8165 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * ParagraphList.C (splice): new function.
8168
8169         * CutAndPaste.C (pasteSelection): use it
8170
8171 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * CutAndPaste.C (pasteSelection): remove the last next and
8174         previous from this file.
8175
8176 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * CutAndPaste.C (pasteSelection): more clean up, user proper
8179         ParagraphList functions for pasteing.
8180
8181         * ParagraphList.C (insert): new function, three arg insert
8182
8183 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8184
8185         * ParagraphList.C (insert): new function, three arg insert
8186
8187         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8188         not on paragraphs.
8189
8190 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8193
8194 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8197
8198 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8201         (copySelection): clean up a bit.
8202         (pasteSelection): use make_pair
8203
8204         * ParagraphList.C (ParagraphList): implement copy constructor
8205         (operator=): implement, base on copy constructor.
8206         (assign): new func
8207
8208         * paragraph.C (erase): return a bool
8209
8210         * paragraph_pimpl.C (erasePos): remove function, move contents...
8211         (erase): ... here. Return a bool.
8212         (erase): call erase instead of erasePos.
8213
8214 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8215
8216         * ParagraphList.h: define PitPosPair
8217         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8218         ParagraphList, fix a bug on pasting multiple pars
8219         * text2.C: change interface to C&P
8220
8221 2003-04-30  André Pönitz  <poenitz@gmx.net>
8222
8223         * undo_func.C: revert part of yesterday's patch 2
8224
8225 2003-04-30  John Levon  <levon@movementarian.org>
8226
8227         * LColor.C: s/tabular/table/
8228
8229 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * text3.C (dispatch): do not convert iterator -> pointer
8232         * undo_funcs.C (setCursorParUndo): ditto
8233         * text_funcs.C (transposeChars): ditto
8234
8235         * text2.C (setLayout): ws changes only
8236
8237         * text.C (breakParagraph): do not convert iterator -> pointer
8238         (insertChar): ditto
8239         (acceptChange): ditto
8240         (rejectChange): ditto
8241         (changeCase): ditto
8242         (Delete): ditto
8243         (backspace): ditto
8244
8245         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8246         pointer
8247
8248 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8249
8250         * text3.C (gotoInset): YABG (yet another bad getChar)
8251
8252 2003-04-29  André Pönitz  <poenitz@gmx.net>
8253
8254         * paragraph.h: make operator= private unimplemented as long as
8255           it is unusable
8256
8257         * ParagraphList.C: whitespace
8258
8259         * paragraph.[Ch]:
8260         * paragraph_pimpl.[Ch]:
8261         * paragraph_funcs.C:
8262         * CutAndPaste.C:
8263         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8264
8265         * text2.C:
8266           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8267
8268 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8269
8270         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8271         * paragraph.[Ch] (erase):
8272         * paragraph_pimpl.[Ch] (erase): change return type and value
8273         * text2.C (cutSelection): some rework
8274
8275 2003-04-28  John Levon  <levon@movementarian.org>
8276
8277         * bufferlist.C: changes for unsaved changes dialog
8278
8279 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8280
8281         * bufferlist.C (newFile): set language (messages_) for new
8282         documents also.
8283
8284         * buffer.C (readFile): ws changes only.
8285
8286 2003-04-28  André Pönitz  <poenitz@gmx.net>
8287
8288         * undo_funcs.C:
8289         * lyxfunc.C:
8290         * buffer.[Ch]:
8291         * BufferView_pimpl.C:
8292         * BufferView.C: getParFromID related ParagraphList::iterator changes
8293
8294 2003-04-28  André Pönitz  <poenitz@gmx.net>
8295
8296         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8297           Changes
8298
8299 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8300
8301         * messages.C: remove one more localedir class variable.
8302
8303 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * messages.C (getLocaleDir): singleton generation function
8306         (Pimpl): use it.
8307         (Messages): add a default constructor.
8308
8309         * main.C (main): do not setup localedir here, do not call
8310         gettext_init.
8311
8312         * gettext.C (_): use it.
8313         (gettext_init): delete funciton
8314
8315 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * gettext.C (getLyXMessages): new singleton generating function.
8318
8319         * buffer.C (updateDocLang): adjust
8320
8321         * Makefile.am (messages.o): add target
8322         (main.o): remove target
8323
8324 2003-04-27  John Levon  <levon@movementarian.org>
8325
8326         * bufferlist.C:
8327         * lyx_cb.C:
8328         * lyxfunc.C:
8329         * lyxvc.C: specify cancel button in Alert::prompt
8330
8331 2003-04-26  John Levon  <levon@movementarian.org>
8332
8333         * text3.C:
8334         * lyxfunc.C:
8335         * lfuns.h:
8336         * LyXAction.C: add LFUN_INSET_SETTINGS
8337
8338         * lyxfunc.C: don't enable tabular-feature when there's
8339         just any locking inset
8340
8341 2003-04-26  John Levon  <levon@movementarian.org>
8342
8343         * bufferlist.C: re-add Cancel to buffer close question
8344
8345         * lyxfunc.C: fix import UI a bit
8346
8347 2003-04-25  John Levon  <levon@movementarian.org>
8348
8349         * gettext.C: remove the broken asserts for now
8350
8351 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * messages.C: make case where setlocale cannot comply work better.
8354
8355         * buffer.C (updateDocLang): new function
8356         (changeLanguage): use it
8357         (readFile): use it
8358
8359         * text2.C (setCounter): use B_ a bit.
8360
8361         * lyxlayout.C (Read): be sure to trim the label strings.
8362
8363         * messages.C (Messages): fix typo in comment
8364
8365         * buffer.C (readFile): set message_ after file is loaded.
8366         (makeDocBookFile): remove double return
8367         (changeLanguage): reset message_ upon language change.
8368         (B_): new func, use this to get translated buffer strings.
8369
8370         * main.C: add myself and Jean Marc as authors.
8371
8372 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * messages.[hC]: pimplify Messages, and three different pimpls to be
8375         used in different circumstances.
8376
8377         * gettext.[Ch]: change for use with new message code.
8378
8379 2003-04-24 André Pönitz <poenitz@gmx.net>
8380
8381         * factory.C: support for eqref
8382
8383 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * messages.[Ch]: add missing char
8386
8387         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8388
8389         * messages.[Ch]: New files
8390
8391 2003-04-18  John Levon  <levon@movementarian.org>
8392
8393         * BufferView.h:
8394         * BufferView.C:
8395         * BufferView_pimpl.C:
8396         * lfuns.h:
8397         * LyXAction.C:
8398         * lyxtext.h:
8399         * text2.C: remove layout-copy/paste (bug 778)
8400
8401 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8402
8403         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8404
8405 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8406
8407         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8408         if they succeed. Act accordingly.
8409
8410 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * text2.C (setCharFont): adjust
8413         (setCounter): adjust
8414         (insertStringAsLines): adjust
8415
8416         * text.C (leftMargin): adjust
8417         (setHeightOfRow): adjust
8418
8419         * rowpainter.C (paintFirst): adjust
8420         (paintLast): adjust
8421
8422         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8423         (outerHook): ditto
8424         (isFirstInSequence): ditto
8425         (getEndLabel): ditto
8426         (outerFont): adjust
8427
8428         * paragraph.C (getParLanguage): comment out some hard stuff.
8429
8430         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8431         (sgmlError): ditto
8432         (simpleDocBookOnePar): ditto
8433         (makeDocBookFile): use ParagraphList::iterator
8434
8435         * CutAndPaste.C (pasteSelection): adjust
8436
8437 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * text2.C (getFont): adjust
8440         (getLayoutFont): adjust
8441         (getLabelFont): adjust
8442
8443         * paragraph_funcs.C (TeXOnePar): adjust
8444
8445         * buffer.C (simpleLinuxDocOnePar): adjust
8446         (simpleDocBookOnePar): adjust
8447
8448         * CutAndPaste.C (pasteSelection): adjust
8449
8450         * BufferView.C (getEncoding): adjust
8451
8452         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8453
8454 2003-04-16  John Levon  <levon@movementarian.org>
8455
8456         * lyxfind.C: use parlist stuff for search/changes
8457
8458 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8461
8462         * text2.C (deleteEmptyParagraphMechanism): adjust
8463
8464         * text2.[Ch] (ownerParagraph): delete func (both of them
8465
8466 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8469
8470 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * ParagraphList.C: prepare for NO_NEXT
8473
8474 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8475
8476         * text2.C (getFont): adjust
8477         (getLayoutFont): adjust
8478         (getLabelFont): adjust
8479
8480         * paragraph.C (getFont): adjust
8481         (getLabelFont): adjust
8482         (getLayoutFont): adjust
8483
8484         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8485
8486 2003-04-15  John Levon  <levon@movementarian.org>
8487
8488         From Angus Leeming
8489
8490         * lyx_main.C: handle Include in .ui files
8491
8492 2003-04-15  John Levon  <levon@movementarian.org>
8493
8494         * MenuBackend.C: make the doc files length shorter
8495
8496         * ToolbarBackend.h:
8497         * ToolbarBackend.C: handle toolbar placement flags,
8498         Minibuffer
8499
8500 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8503         adjust
8504
8505         * paragraph_funcs.C (TeXOnePar): adjust
8506
8507         * paragraph.C (getLabelFont): add outerfont arg, adjust
8508         (getLayoutFont): ditto
8509         (simpleTeXOnePar): adjust
8510
8511         * paragraph_pimpl.C (realizeFont): delete func
8512
8513 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8514
8515         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8516         row argument, constify cur argument.
8517
8518 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * text2.C (getFont): adjust
8521         (getLayoutFont): adjust
8522         (getLabelFont): adjust
8523
8524         * paragraph_funcs.C (TeXOnePar): adjust
8525         (outerFont): new func...
8526         (realizeFont): ...moved out from here, changed this to facilitate
8527         transition
8528
8529         * paragraph.C (getFont): take outerfont as arg, adjust
8530         (simpleTeXOnePar): add outerfont arg, adjust
8531
8532         * buffer.C (simpleLinuxDocOnePar): adjust
8533         (simpleDocBookOnePar): adjust
8534
8535         * CutAndPaste.C (pasteSelection): adjust
8536
8537         * BufferView.C (getEncoding): adjust
8538
8539 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * text2.C (setCharFont): adjust
8542         (setCounter): adjust
8543
8544         * text.C (leftMargin): adjust
8545         (setHeightOfRow): adjust
8546
8547         * rowpainter.C (paintFirst): adjust
8548         (paintLast): adjust
8549
8550         * paragraph_pimpl.C (realizeFont): adjust
8551
8552         * paragraph.C (isFirstInSequence): move from here...
8553         * paragraph_funcs.C (isFirstInSequence): ...to here
8554
8555         * paragraph.C (outerHook): move from here...
8556         * paragraph_funcs.C (outerHook): ...to here
8557
8558         * paragraph.C (depthHook): move from here...
8559         * paragraph_funcs.C (depthHook): ...to here
8560
8561         * paragraph.C (getEndLabel): move from here...
8562         * paragraph_funcs.C (getEndLabel): ...to here
8563
8564         * text2.C (realizeFont): move from here...
8565         * paragraph_funcs.C (realizeFont): ...to here
8566
8567 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8568
8569         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8570
8571 2003-04-14  Angus Leeming  <leeming@lyx.org>
8572
8573         * LColor.[Ch]: scrap LColor mathcursor.
8574
8575 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8576
8577         * lyxlex.[Ch] (text): delete function
8578         * trans.C (Load): adjust
8579         * paragraph_funcs.C (readParToken): adjust
8580
8581 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8584         vector<char> instead of a char[].
8585
8586         * lyxlex_pimpl.C (getString): adjust
8587         (next): adjust
8588         (lex): use getString
8589         (eatLine): adjust
8590         (nextToken): adjust
8591
8592         * lyxlex.C (text): use pimpl_->getString()
8593         (getBool): ditto
8594         (findToken): ditto
8595
8596 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8597
8598         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8599         (makeFontEntriesLayoutSpecific): temp var for par.size()
8600         (setLayout): temp var for ownerParagraphs().end()
8601         (fullRebreak): temp var for rows().end()
8602         (selectionAsString): temp var for boost::next(startpit), realize
8603         that the while really is a regular for loop.
8604         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8605         setCursor in one place.
8606         (setParagraph): temp vr for ownerParagraphs().end()
8607         (updateCounters): make the while loop a for loop
8608         (cutSelection): temp var for ownerParagraphs().end()
8609         (updateInset): make the do {} while() a regular for loop
8610         (getCursorX): use temp vars
8611         (setCurrentFont): use temp vars
8612         (getColumnNearX): use temp vars
8613
8614 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * text.C (transformChar): use temp var for getChar
8617         (computeBidiTables): use temp var for row->par()
8618         (fill): move temp vars for row->par() and pit->layout() earlier in
8619         the function.
8620         (labelFill): use temp var for row->par()
8621         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8622         asc and desc, realize that pit never changes and that firstpit is
8623         just a duplicate and not needed. Exchange rit->par() with pit in a
8624         lot of places.
8625         (breakAgain): use a temp var for boost::next(rit)
8626         (breakAgainOneRow): ditto
8627         (breakParagraph): use a temp var for rows().begin()
8628         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8629         (cursorRightOneWord): use temp var for cursor.par() and
8630         cursor.pos(), remove usage of tmpcursor.
8631         (cursorLeftOneWord): use temp var for cursor.par() and
8632         cursor.pos() only set cur at end of function.
8633
8634 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * text.C, text2.C: exchange all usage of Paragraph::next with
8637         boost::next(ParagraphList::iterator)
8638
8639         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8640
8641         * text2.C (cursorTop): simplify implementation
8642         (cursorBottom): ditto
8643         (setParagraph): use ParagraphList::iterator
8644         (setCurrentFont): adjust
8645         (getColumnNearX): adjust
8646         (cursorRight): adjust
8647         (cursorLeft): remove usage of Paragraph::previous
8648         (cursorUpParagraph): ditto
8649         (deleteEmptyParagraphMechanism): slight cleanup
8650
8651         * text.C (isBoundary): take a Paragraph const & instead of a
8652         pointer as arg.
8653         (addressBreakPoint): ditto
8654         (leftMargin): remove usage of Paragraph::previous.
8655         (setHeightOfRow): ditto
8656         (cursorLeftOneWord): ditto
8657         (selectNextWordToSpellcheck): ditto
8658         (Delete): ditto
8659         (backspace): ditto
8660         (breakParagraph): remove one usage of Paragraph::next
8661         (redoParagraph): ditto
8662         (acceptChange): ditto
8663         (insertChar): adjust
8664         (rowBreakPoint): adjust
8665
8666         * bufferview_funcs.C (toggleAndShow): adjust
8667
8668 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8669
8670         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8671         methods to access it.
8672         * lyxtext.h:
8673         * text.C: Added updateRowPositions to compute all row positions.
8674         Make top_y and getRowNearY() to use the cached y position
8675
8676 2003-04-11  John Levon  <levon@movementarian.org>
8677
8678         * text.C (rowBreakPoint): reintroduce the labelEnd
8679         checks, code copied from the row fill stuff. Deep voodoo.
8680
8681         * text.C (fill): add a comment and debugging for the
8682         next poor soul.
8683
8684 2003-04-11  John Levon  <levon@movementarian.org>
8685
8686         * text.C: make sure fullrow insets get wrapped to the next line,
8687         even when they're in a manual label
8688
8689 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8690
8691         * text2.C (insertParagraph): make it take ParagraphList::iterator
8692         as arg.
8693         (setLayout): make it return ParagraphList::iterator
8694         (redoParagraphs): ditto
8695         (setCounter): ditto
8696         (checkParagraph): ditto
8697
8698         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8699
8700         * text2.C: adjust several funcs.
8701         (realizeFont): take a ParagraphList::iterator as arg.
8702         (getLayoutFont): ditto
8703         (getLabelFont): ditto
8704         (setCharFont): ditto
8705
8706         * text.C: adjust several funcs.
8707
8708 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8709
8710         * text.C (selectNextWordToSpellcheck): don't accidentally
8711         skip insets
8712
8713 2003-04-10  John Levon  <levon@movementarian.org>
8714
8715         * ToolbarBackend.C (getIcon): special handling for
8716         LFUN_MATH_DELIM
8717
8718 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8719
8720         * text2.C (cursorRight): a getChar assert fixed
8721
8722 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * text2.C (getFont): change to take a ParagraphList::iterator
8725         instead of Paragraph*
8726         Adjust several functions.
8727
8728         * text.C (transformChar): change to take a ParagraphList::iterator
8729         instead of Paragraph*
8730         (singleWidth): ditto
8731         Adjust several functions.
8732
8733         * rowpainter.C: adjust several functions
8734         * rowpainter.h:store a ParagraphList::iterator and not a
8735         Paragraph&.
8736
8737
8738 2003-04-09  John Levon  <levon@movementarian.org>
8739
8740         * lyxfunc.C:
8741         * lfuns.h:
8742         * LyXAction.h:
8743         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8744         and the "help" bits as well
8745
8746 2003-04-09  John Levon  <levon@movementarian.org>
8747
8748         * ToolbarBackend.h:
8749         * ToolbarBackend.C: allow multiple toolbars
8750
8751 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8752
8753         * undo_funcs.C (setCursorParUndo): adjust
8754
8755         * text_funcs.C (transposeChars): adjust
8756
8757         * text3.C (gotoNextInset): adjust
8758         (dispatch): adjust
8759
8760         * text2.C (setLayout): adjust
8761         (changeDepth): adjust
8762         (setFont): adjust
8763         (redoParagraphs): adjust
8764         (selectionAsString): adjust
8765         (setParagraph): adjust
8766         (insertInset): adjust
8767         (cutSelection): adjust
8768         (copySelection): adjust
8769         (pasteSelection): adjust
8770         (insertStringAsLines): adjust
8771         (updateInset): adjust
8772         (setCursor): change to take a ParagraphList::iterator parameter
8773         (setCursorIntern): change to take a ParagraphList::iterator parameter
8774         (setCurrentFont): adjust
8775         (cursorLeft): adjust
8776         (cursorRight): adjust
8777         (deleteEmptyParagraphMechanism): adjust
8778
8779         * text.C (breakParagraph): adjust
8780         (insertChar): adjust
8781         (acceptChange): adjust
8782         (rejectChange): adjust
8783         (selectNextWordToSpellcheck): adjust
8784         (changeCase): adjust
8785         (Delete): adjust
8786         (backspace): adjust
8787
8788         * lyxfind.C (SearchForward): adjust
8789         (SearchBackward): adjust
8790         (nextChange): adjust
8791
8792         * lyxcursor.C (par): adjust
8793
8794         * lyxcursor.h: store a ParagraphList::iterator instead of a
8795         Paragraph*
8796
8797         * lyx_cb.C (getPossibleLabel): adjust
8798
8799         * bufferview_funcs.C (toggleAndShow): adjust
8800
8801         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8802         (dispatch): adjust
8803
8804         * BufferView.C (removeAutoInsets): adjust
8805         (lockedInsetStoreUndo): adjust
8806
8807 2003-04-09  John Levon  <levon@movementarian.org>
8808
8809         * ToolbarBackend.C: try icon without argument
8810         if with argument fails
8811
8812 2003-04-08  John Levon  <levon@movementarian.org>
8813
8814         * ToolbarBackend.h:
8815         * ToolbarBackend.C: add getIcon(), handle tooltip,
8816         and change from "Icon" to "Item".
8817
8818 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8819
8820         * BufferView.C (lockInset): another bad getchar crunched
8821
8822 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8823
8824         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8825         again)
8826
8827 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8828
8829         * lyxfind.C (searchForward, searchBackwards): bug 782
8830
8831 2003-04-07  John Levon  <levon@movementarian.org>
8832
8833         * paragraph.C: remove dead comment
8834
8835         * text.C: remove troublesome depth-fiddling code
8836         in leftMargin() and rightMargin() (bug 1017)
8837
8838         * text.C: fix breaking of rows in nested lists
8839         (bug 1004)
8840
8841         * text2.C (updateCounters): fix up depth values
8842         (bug 1013)
8843
8844 2003-04-07  John Levon  <levon@movementarian.org>
8845
8846         * BufferView_pimpl.C: clear message when doc finishes resizing,
8847         and after a mouse event
8848
8849         * lyxfunc.C: clear message after exiting inset
8850
8851 2003-04-07  John Levon  <levon@movementarian.org>
8852
8853         * bufferview_funcs.C: show math status not outside
8854         status in the statusbar
8855
8856 2003-04-07  John Levon  <levon@movementarian.org>
8857
8858         * lyxfunc.C: note status changed after a depth change
8859
8860 2003-04-04  Angus Leeming  <leeming@lyx.org>
8861
8862         * LaTeX.h: move AuxInfo operator==, != out of line.
8863         Remove LaTeX virtual destructor; nothing derives from it.
8864         Move operator()() out of public area and rename it startscript().
8865         Change protected for private.
8866
8867 2003-04-04  Angus Leeming  <leeming@lyx.org>
8868
8869         * lyxfunc.C:
8870         * text2.C: remove unneeded #includes.
8871
8872 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8873
8874         * text2.C (dEPM): fix the heigth of the next row
8875
8876 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8877
8878         * text.C: squashed an invalid getChar requester + some ws changes
8879
8880 2003-04-03  John Levon  <levon@movementarian.org>
8881
8882         * bufferview_funcs.h:
8883         * bufferview_funcs.C:
8884         * lyxfunc.C:
8885         * lyxtext.h:
8886         * text2.C: make getStatus work for the env depth lfuns
8887
8888 2003-04-03  John Levon  <levon@movementarian.org>
8889
8890         * bufferview_funcs.h:
8891         * bufferview_funcs.C:
8892         * lyxfunc.C:
8893         * lyxtext.h:
8894         * text2.C: parlistize decDepth(), by merging it with incDepth()
8895
8896 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8897
8898         * lyxrow.h: store a ParagraphList::iterator instead of a
8899         Paragraph* and adjust other class functions to suit.
8900
8901         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8902         above.
8903
8904 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8905
8906         * text2.C (setCursor): do not anchor to cursor row for the time being
8907
8908 2003-04-02  John Levon  <levon@movementarian.org>
8909
8910         * LyXAction.C:
8911         * lfuns.h:
8912         * lyx_main.C:
8913         * lyxtext.h:
8914         * text.C:
8915         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8916
8917 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8918
8919         * paragraph.h: make ParagraphList and ParagraphList::iterator
8920         friends of Paragraph.
8921
8922         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8923
8924         * ParagraphList.C: Use the private next_ and previous_ from
8925         Paragraph.
8926
8927 2003-04-01  John Levon  <levon@movementarian.org>
8928
8929         * ToolbarBackend.h:
8930         * ToolbarBackend.C:
8931         * Makefile.am: rename, remove defaults gunk
8932
8933         * MenuBackend.h:
8934         * MenuBackend.C: remove defaults gunk
8935
8936         * Languages.h:
8937         * Languages.C: remove defaults gunk
8938
8939         * lyx_main.h:
8940         * lyx_main.C: error out if files couldn't be found.
8941
8942 2003-04-02  John Levon  <levon@movementarian.org>
8943
8944         * text2.C: make incDepth() use parlist
8945
8946 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8947
8948         * undo_funcs.C (firstUndoParagraph): adjust
8949
8950         * text3.C (gotoInset): adjust
8951         (dispatch): adjust, and rewrite loop.
8952
8953         * text2.C (init): adjust, and rewrite loop.
8954         (redoParagraphs): adjust
8955         (updateInset): adjust, and rewrite loop.
8956         (deleteEmptyParagraphMechanism): adjust
8957
8958         * tabular.C (LyXTabular): adjust
8959         (SetMultiColumn): adjust
8960         (TeXRow): adjust
8961
8962         * lyxtext.[Ch] (ownerParagraph): delete function
8963         (ownerParagraphs): new function returns a ParagraphList.
8964
8965         * BufferView.C (removeAutoInsets): adjust
8966         (insertErrors): adjust
8967         (setCursorFromRow): adjust
8968
8969 2003-04-01  Angus Leeming  <leeming@lyx.org>
8970
8971         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8972         in the frontends.
8973
8974 2003-04-02  John Levon  <levon@movementarian.org>
8975
8976         * lyxtext.h:
8977         * text.C:
8978         * Makefile.am:
8979         * text_funcs.h:
8980         * text_funcs.C: make transposeChars a free function
8981
8982         * lyxrow_funcs.C: remove wrong comment
8983
8984 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8985
8986         * lyxtext.h: adjust
8987         * rowpainter.C: adjust
8988         * text.C: adjust
8989         * text2.C: adjust
8990         * text3.C: adjust
8991
8992         * lyxrow_funcs. [Ch]: new files
8993
8994         * lyxrow.[Ch]: remove next and previous pointers
8995         (next,previous): remove accessor functions
8996         (isParEnd): move to lyxrow_funcs
8997         (lastPos): move to lyxrow_funcs
8998         (nextRowIsAllInset): move to lyxrow_funcs
8999         (lastPrintablePos): move to lyxrow_funcs
9000         (numberOfSeparators): move to lyxrow_funcs
9001         (numberOfHfills): move to lyxrow_funcs
9002         (numberOfLabelHfills): move to lyxrow_funcs
9003         (hfillExpansion): move to lyxrow_funcs
9004
9005         * lyxfunc.C: adjust
9006
9007         * bufferview_funcs.C (toggleAndShow): adjust
9008
9009         * RowList.h: Remove class RowList from file leave just a
9010         std::list<Row>.
9011
9012         * RowList.C: delete file
9013
9014         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9015         and lyxrow_funcs.h
9016
9017 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * text3.C (cursorPrevious): adjust
9020         (cursorNext): adjust
9021         (dispatch): adjust
9022
9023         * text2.C (redoHeightOfParagraph): adjust
9024         (redoDrawingOfParagraph): adjust
9025         (setCursor): adjust
9026
9027         * text.C (breakParagraph): adjust
9028         (insertChar): adjust
9029         (backspace): adjust
9030
9031         * rowpainter.C (RowPainter): adjust
9032         (leftMargin): simplify and adjust
9033         (most rowpainter functions): adjust.
9034
9035         * rowpainter.h: store the row as RowList::iterator not as Row*
9036
9037         * lyxcursor.C (row): taka RowList::iterator as arg
9038         (irow): ditto
9039
9040         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9041         of Row*.
9042
9043 2003-04-01  Angus Leeming  <leeming@lyx.org>
9044
9045         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9046         stuff like bool Bool.
9047
9048 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9049
9050         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9051         rewrite a loop
9052
9053 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9056         RowList::iterator.
9057
9058         * lyxtext.h (rows): drop one version and leve a const variant that
9059         returns a RowList::iterator.
9060
9061 2003-03-31  Angus Leeming  <leeming@lyx.org>
9062
9063         * text.C (fill): ensure that the signature is the same as that in the
9064         header file.
9065
9066 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9067
9068         * text2.C (redoParagraphs): adjust
9069         (updateCounters): adjust
9070         (checkParagraph): adjust
9071         (getColumnNearX): adjust and reformat a bit.
9072
9073         * text.C (top_y): adjust
9074         (workWidth): adjust
9075         (leftMargin): adjust
9076         (prepareToPrint): adjust
9077         (getRow): adjust
9078         (getRowNearY): adjust
9079
9080         * lyxtext.h: make rowlist_ mutable.
9081
9082         * RowList.h: add const_iterator
9083         * RowList.C: adjust for RowList::const_iterator.
9084
9085         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9086         adjust.
9087
9088 2003-03-31  John Levon  <levon@movementarian.org>
9089
9090         * lyxrc.h:
9091         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9092
9093         * lyx_main.C: set default fonts from using lyx_gui funcs
9094
9095         * exporter.C: pdf_mode moved from lyxrc
9096
9097         * lyx_cb.C:
9098         * lyxfunc.C: changes from above
9099
9100 2003-03-31  John Levon  <levon@movementarian.org>
9101
9102         * lyx_main.C: fix to the last fix
9103
9104 2003-03-31  John Levon  <levon@movementarian.org>
9105
9106         * bufferlist.C: "Load original" -> "Load Original"
9107
9108         * converter.C:
9109         * exporter.C:
9110         * importer.C:
9111         * lyx_main.C:
9112         * format.C: more Alert cleanups
9113
9114 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9115
9116         * text2.C (removeParagraph): make it take a RowList::iterator as
9117         arg, adjust.
9118         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9119         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9120
9121         * text.C (anchor_row): make it take a RowList::iterator as arg,
9122         adjust.
9123         (computeBidiTables): make it take a const reference to Row instead
9124         of Row pointer, adjust.
9125         (leftMargin): make it take a RowList::iterator as arg, adjust.
9126         (rowBreakPoint): adjust
9127         (breakAgainOneRow): make it take a RowList::iterator as arg,
9128         adjust.
9129         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9130
9131         * bufferview_funcs.C (toggleAndShow): adjust
9132
9133 2003-03-30  John Levon  <levon@movementarian.org>
9134
9135         * Makefile.am:
9136         * BoostFormat.h:
9137         * boost-inst.C: moved to support
9138
9139         * several files: changes as a result
9140
9141 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9142
9143         * text2.C (LyXText): adjust.
9144         (init): adjust
9145         (removeRow): make it take a RowList::iterator as arg, adjust.
9146         (fullRebreak): adjust
9147         (deleteEmptyParagraphMechanism): adjust
9148         (clearPaint): adjust
9149         (postPaint): adjust
9150
9151         * text.C (top_y): adjust
9152         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9153         (breakAgain): make it take a RowList::iterator as arg, adjust.
9154         (breakParagraph): adjust
9155         (insertChar): adjust
9156         (backspace): adjust
9157
9158         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9159         need_break_row, and refresh_row.
9160
9161         * text3.C (dispatch): adjust
9162
9163         * text2.C (checkParagraph): adjust
9164         (setCursor): adjust
9165         (setCursorFromCoordinates): adjust
9166
9167         * text.C (top_y): adjust
9168         (workWidth): adjust
9169         (getRow): make it return a RowList::iterator, adjust
9170         (getRowNearY): make it return a RowList::iterator, adjust
9171
9172         * text2.C (init): adjust
9173         (insertRow): remove function
9174         (insertParagraph): adjust
9175         (redoParagraphs): adjust
9176         (fullRebreak): adjust
9177         (updateCounters): adjust
9178
9179         * text.C (top_y): rewrite to use RowList iterators.
9180         (top_y): adjust
9181         (setHeightOfRow): rewrite to sue RowList iterators.
9182         (appendParagraph): adjust
9183         (breakAgain): adjust
9184         (breakAgainOneRow): adjust
9185         (breakParagraph): adjust
9186         (getRow): adjust
9187         (getRowNearY): adjust, and remove commented code.
9188
9189         * lyxtext.h (firstRow): delete function
9190         (lastRow): delete function
9191         (rows): new function (const and non-const versions.)
9192         (insertRow): delete function
9193
9194         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9195
9196 2003-03-29  John Levon  <levon@movementarian.org>
9197
9198         * BufferView_pimpl.C: always update scrollbar top
9199         because pasting text when we're anchored could mean we
9200         miss an update altogether
9201
9202 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9203
9204         * text2.C (init): use rowlist_.end() and not 0.
9205         (insertRow): change to take a RowList::iterator as arg, adjust
9206         for this.
9207         (insertParagraph): change to take a RowList::iterator as arg,
9208         adjust for this.
9209         (redoParagraphs): remove some debug msgs.
9210
9211         * text.C (appendParagraph): change to take a RowList::iterator
9212         arg, adjust for this.
9213         (breakAgain): add an assert
9214         (breakAgainOneRow): ditto
9215
9216 2003-03-29  John Levon  <levon@movementarian.org>
9217
9218         * text2.C: do not clear selection after inc/decDepth
9219         (bug 550)
9220
9221 2003-03-29  John Levon  <levon@movementarian.org>
9222
9223         * BufferView.C:
9224         * buffer.C: fix broken strerrors according to Lars
9225
9226 2003-03-29  John Levon  <levon@movementarian.org>
9227
9228         * converters.C: more Alert cleanups
9229
9230 2003-03-29  John Levon  <levon@movementarian.org>
9231
9232         * bufferview_funcs.C: remove pointless Alert
9233
9234         * buffer.C: fix confusing error message when
9235         a template is chmoded 000
9236
9237 2003-03-29  John Levon  <levon@movementarian.org>
9238
9239         * BufferView.C:
9240         * BufferView.h:
9241         * BufferView_pimpl.C: Alert fixes
9242
9243         * Makefile.am:
9244         * tabular.C:
9245         * tabular-old.C: remove unused table compat reading
9246
9247 2003-03-29  John Levon  <levon@movementarian.org>
9248
9249         * BufferView.C:
9250         * buffer.C:
9251         * lyx_cb.h:
9252         * lyx_cb.C: more Alert cleanups
9253
9254         * lyxfunc.C: don't allow chktex if not latex document
9255
9256 2003-03-29  John Levon  <levon@movementarian.org>
9257
9258         * lyx_cb.C:
9259         * BufferView.C:
9260         * buffer.C: warnings pushed down from support/,
9261         kill err_alert
9262
9263 2003-03-29  John Levon  <levon@movementarian.org>
9264
9265         * lyxfunc.C: safety check for C-r (revert)
9266
9267 2003-03-29  John Levon  <levon@movementarian.org>
9268
9269         * bufferlist.h:
9270         * bufferlist.C: several UI fixes using Alert::prompt.
9271         Fix the pointless looping quit code. Fix stupid revert
9272         behaviour (bug 938)
9273
9274         * lyxvc.h:
9275         * lyxvc.C:
9276         * lyx_cb.C: use Alert::prompt
9277
9278         * lyx_main.C: remove a silly question
9279
9280         * lyxfunc.C: remove a couple of silly questions,
9281         use Alert::prompt
9282
9283 2003-03-28  John Levon  <levon@movementarian.org>
9284
9285         * text2.C: fix bug 974 (End on empty par)
9286
9287 2003-03-28  John Levon  <levon@movementarian.org>
9288
9289         * BufferView_pimpl.C:
9290         * LyXAction.C:
9291         * lfuns.h: remove do-nothing math greek lfuns
9292
9293 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9294
9295         * lyxgluelength.h (isValidGlueLength): add default arg on
9296         parameter 2. Remove default arg from friend in class.
9297
9298         * lyxlength.h (isValidLength): add default arg on parameter 2.
9299         Remove default arg from friend in class.
9300
9301         * text2.C (LyXText): adjust, initialize refresh_row.
9302         (init): adjust
9303         (removeRow): adjust
9304         (insertRow): adjust
9305         (insertParagraph): adjst
9306         (redoParagraphs): adjust
9307         (fullRebreak): adjust
9308         (updateCounters): adjust
9309         (deleteEmptyParagraphMechanism): first attempt at fixing a
9310         crashing bug.
9311
9312         * text.C (top_y): adjust
9313         (setHeightOfRow): adjust
9314         (getRow): adjust
9315         (getRowNearY): adjust
9316
9317         * lyxtext.h: include RowList.h
9318         (~LyXText): not needed anymore, deleted.
9319         (firstRow): modify for RowList
9320         (lastRow): new function
9321         Delete firstrow and lastrow class variables, add a Rowlist
9322         rowlist_ class variable.
9323
9324         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9325         paragraph is empty.
9326
9327         * RowList.C (insert): fix case where it == begin().
9328
9329 2003-03-26  Angus Leeming  <leeming@lyx.org>
9330
9331         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9332         the thesaurus dialog.
9333
9334 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9335
9336         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9337
9338         * RowList.[Ch]: new files
9339
9340         * ParagraphList.C (erase): handle the case where it == begin
9341         correctly.
9342
9343 2003-03-25  John Levon  <levon@movementarian.org>
9344
9345         * Makefile.am:
9346         * aspell_local.h:
9347         * aspell.C: add new aspell support
9348
9349         * lyxrc.h:
9350         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9351         have it accessible.
9352
9353 2003-03-25  Angus Leeming  <leeming@lyx.org>
9354
9355         * lfuns.h:
9356         * LyXAction.C (init): new LFUN_INSET_INSERT.
9357
9358         * BufferView_pimpl.C (dispatch): split out part of the
9359         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9360
9361         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9362         LFUN_INSET_APPLY.
9363
9364 2003-03-25  Angus Leeming  <leeming@lyx.org>
9365
9366         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9367
9368 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9369
9370         * text2.C:
9371         * text3.C: remove useless row->height(0)
9372
9373 2003-03-25  John Levon  <levon@movementarian.org>
9374
9375         * lyxtext.h:
9376         * text2.C:
9377         * text3.C: rename the refreshing stuff to better names
9378
9379 2003-03-24  John Levon  <levon@movementarian.org>
9380
9381         * BufferView_pimpl.h:
9382         * BufferView_pimpl.C: update layout choice on a mouse
9383         press/release
9384
9385 2003-03-23  John Levon  <levon@movementarian.org>
9386
9387         * Makefile.am: fix commandtags.h reference
9388
9389 2003-03-22  John Levon  <levon@movementarian.org>
9390
9391         * BufferView_pimpl.C:
9392         * lyxtext.h:
9393         * rowpainter.C:
9394         * rowpainter.h:
9395         * text.C:
9396         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9397
9398 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9399
9400         * lyxtext.h:
9401         * text.C: take the rtl methods out of line
9402
9403 2003-03-21 André Pönitz <poenitz@gmx.net>
9404
9405         * metricsinfo.[Ch]: new files containing structures to be passed around
9406         during the two-phase-drawing...
9407
9408 2003-03-21 André Pönitz <poenitz@gmx.net>
9409
9410         * lyxtextclass.C: read 'environment' tag.
9411
9412 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9413
9414         * text2.C (removeRow): fix bug 964
9415
9416 2003-03-20  John Levon  <levon@movementarian.org>
9417
9418         * rowpainter.C:
9419         * text.C:
9420         * text2.C: paint cleanups. Inset::update() dropped font
9421         parameter
9422
9423 2003-03-19  John Levon  <levon@movementarian.org>
9424
9425         * lyxfunc.C: only fitcursor/markDirty if available()
9426
9427 2003-03-19  John Levon  <levon@movementarian.org>
9428
9429         * commandtags.h: rename to ...
9430
9431         * lfuns.h: ... this, and renumber / cleanup
9432
9433 2003-03-19  John Levon  <levon@movementarian.org>
9434
9435         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9436         fit the cursor after an lfun
9437
9438         * BufferView.h:
9439         * BufferView.C:
9440         * BufferView_pimpl.h:
9441         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9442
9443         * LyXAction.C: layout-character should have ReadOnly
9444
9445         * ParagraphParameters.C:
9446         * buffer.C:
9447         * bufferview_funcs.C:
9448         * lyx_cb.C:
9449         * lyxfind.C:
9450         * lyxtext.h:
9451         * text.C:
9452         * text2.C:
9453         * text3.C:
9454         * undo_funcs.C: changes from above
9455
9456 2003-03-18  John Levon  <levon@movementarian.org>
9457
9458         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9459         remove it from update()
9460
9461         * lyxfunc.C: update layout choice after an lfun
9462
9463         * text3.C: remove extra updateLayoutChoice()s
9464
9465 2003-03-18  John Levon  <levon@movementarian.org>
9466
9467         * text.C: top_y change means full repaint, fix
9468         a drawing bug with cursor movement
9469
9470 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9471
9472         * lyxtext.h:
9473         * text.C:
9474         * text2.C: anchor row on setCursor
9475
9476 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9477
9478         * lyxtext.h: remove almost all mutable keywords
9479         * text.C:
9480         * text2.C:
9481         * text3.C: remove const keywords accordingly
9482
9483 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9484
9485         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9486         anon namespace
9487         (TeXEnvironment): ditto
9488         (TeXOnePar): ditto
9489
9490 2003-03-17  John Levon  <levon@movementarian.org>
9491
9492         * text.C (rowBreakPoint): remove attempt to fix displayed
9493         math insets inside a manual label
9494
9495 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9496
9497         * lyxtext.h: remove BufferView* as first arg from almost all class
9498         functions.
9499         * other files: adjust.
9500
9501 2003-03-17  John Levon  <levon@movementarian.org>
9502
9503         * lyxtext.h:
9504         * undo_funcs.C:
9505         * text2.C: more paint cleanups
9506
9507         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9508
9509         * rowpainter.h:
9510         * rowpainter.C: remove "smart" background painting code
9511
9512 2003-03-16  John Levon  <levon@movementarian.org>
9513
9514         * lyxtext.h:
9515         * text.C:
9516         * text2.C:
9517         * text3.C: add helper functions for setting refresh_row/y
9518
9519 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9520
9521         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9522         newline inset which *can* get inserted in the pass_thru layouts.
9523         This is primarily for literate documents.
9524
9525 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9526
9527         * buffer.C: increment LYX_FORMAT to 223
9528
9529 2003-03-14 André Pönitz <poenitz@gmx.net>
9530
9531         * textclass.h: prepare for environment handling, ws changes
9532         * lyxlayout.C: read latexheader and latexfooter tags
9533
9534 2003-03-14  John Levon  <levon@movementarian.org>
9535
9536         * text2.C: rewrite ::status() a bit
9537
9538 2003-03-13  John Levon  <levon@movementarian.org>
9539
9540         * lyxtext.h: add some docs
9541
9542 2003-03-13  John Levon  <levon@movementarian.org>
9543
9544         * lyxtext.h:
9545         * text.C:
9546         * text2.C:
9547         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9548
9549 2003-03-13  John Levon  <levon@movementarian.org>
9550
9551         * text3.C: fix appendix redrawing
9552
9553 2003-03-13  John Levon  <levon@movementarian.org>
9554
9555         * text.C (setHeightOfRow):
9556         * rowpainter.h:
9557         * rowpainter.C: make appendix mark have the text
9558           "Appendix" so the user knows what it is
9559
9560         * LColor.h:
9561         * LColor.C: s/appendixline/appendix/ from above
9562
9563 2003-03-13  John Levon  <levon@movementarian.org>
9564
9565         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9566
9567         * text.C: fix a getChar(pos) bug properly
9568
9569 2003-03-13  Angus Leeming  <leeming@lyx.org>
9570
9571         * commandtags.h:
9572         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9573         Probably only temporary. Let's see how things pan out.
9574
9575         * BufferView.C (unlockInset):
9576         * BufferView_pimpl.C (fitCursor):
9577         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9578
9579         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9580         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9581
9582         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9583         new functions that convert ParagraphParameters to and from a string.
9584
9585         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9586         BufferView::Pimpl's dispatch.
9587         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9588
9589 2003-03-13 André Pönitz <poenitz@gmx.net>
9590
9591         * lyxfunc.C:
9592         * text3.C:
9593         * factory.C: make it aware of InsetEnv
9594
9595 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9596
9597         * text2.C (setCursor): never ask for one past last
9598         (setCursor): add some debugging messages.
9599
9600         * text.C (singleWidth): never ask for one past last
9601         (singleWidth): ditto
9602         (leftMargin): ditto
9603         (rightMargin): ditto
9604         (rowBreakPoint): ditto
9605         (setHeightOfRow): ditto
9606         (prepareToPrint): ditto
9607
9608         * rowpainter.C (paintBackground): never ask for one past last
9609         (paintText): never ask for one past last
9610
9611         * paragraph_pimpl.C (getChar): make the assert stricter, never
9612         allow the one past last pos to be taken
9613
9614         * paragraph.C (getChar): ws changes only
9615
9616         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9617         (numberOfSeparators): ditto
9618         (numberOfHfills): ditto
9619
9620 2003-03-12  John Levon  <levon@movementarian.org>
9621
9622         * author.h:
9623         * author.C:
9624         * bufferparams.h:
9625         * bufferparams.C:
9626         * paragraph_funcs.C: fix per-buffer authorlists
9627
9628 2003-03-12  John Levon  <levon@movementarian.org>
9629
9630         * text.C: fix newline in right address
9631
9632 2003-03-12  Angus Leeming  <leeming@lyx.org>
9633
9634         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9635         duplicate those in LyXFunc::dispatch.
9636
9637         * commandtags.h:
9638         * LyXAction.C:
9639         * ToolbarDefaults.C:
9640         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9641         Add LFUN_FONTFREE_UPDATE.
9642
9643         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9644         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9645
9646         * bufferview_func.[Ch]: several new functions to facilliate
9647         transfer of data to and from the character dialog.
9648
9649 2003-03-12  John Levon  <levon@movementarian.org>
9650
9651         * buffer.C:
9652         * paragraph.h:
9653         * paragraph.C:
9654         * paragraph_funcs.C:
9655         * paragraph_pimpl.C:
9656         * sgml.C:
9657         * tabular.C:
9658         * text.C:
9659         * text3.C: remove META_NEWLINE in favour of an inset
9660
9661         * rowpainter.h:
9662         * rowpainter.C: remove paintNewline (done by inset)
9663
9664 2003-03-12  John Levon  <levon@movementarian.org>
9665
9666         * paragraph_pimpl.C: complain about bad getChar()s
9667         for a while at least
9668
9669 2003-03-12  John Levon  <levon@movementarian.org>
9670
9671         * buffer.h:
9672         * buffer.C: move paragraph read into a separate function,
9673         a little renaming to reflect that.
9674
9675         * bufferparams.h:
9676         * bufferparams.C: remove the author_ids map, not necessary now
9677
9678         * factory.h:
9679         * factory.C: moved Buffer::readInset to here
9680
9681         * paragraph_funcs.h:
9682         * paragraph_funcs.C: readParagraph free function moved from
9683         buffer.C
9684
9685         * tabular.C: name change
9686
9687 2003-03-12  John Levon  <levon@movementarian.org>
9688
9689         * buffer.C:
9690         * ParagraphParameters.C: move par params input to
9691         a read() method
9692
9693         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9694         behave like a normal read from the stream wrt reading
9695         a line vs. a \\token
9696
9697 2003-03-12  John Levon  <levon@movementarian.org>
9698
9699         * paragraph.C:
9700         * ParagraphParameters.h:
9701         * ParagraphParameters.C: move output code to a
9702         ::write() method
9703
9704 2003-03-12  John Levon  <levon@movementarian.org>
9705
9706         * BufferView.C (insertLyXFile):
9707         * buffer.h:
9708         * buffer.C:
9709         * tabular.C: use a parlist iterator for creating the
9710           document.
9711
9712 2003-03-12  John Levon  <levon@movementarian.org>
9713
9714         * buffer.C: make current_change static local not
9715           static file-scope
9716
9717 2003-03-12  John Levon  <levon@movementarian.org>
9718
9719         * buffer.C: fix insertStringAsLines for change tracking
9720
9721 2003-03-12  John Levon  <levon@movementarian.org>
9722
9723         * BufferView.C:
9724         * tabular.C:
9725         * buffer.h:
9726         * buffer.C:
9727         * bufferparams.h:
9728         * bufferparams.C: move author list into params. Rename some
9729           functions. Move the header reading into a separate token
9730           loop. Move the header token reading into BufferParams.
9731
9732 2003-03-12  John Levon  <levon@movementarian.org>
9733
9734         * changes.C: put debug inside lyxerr.debugging() checks
9735
9736 2003-03-11 André Pönitz <poenitz@gmx.net>
9737
9738         * factory.C: make it aware of InsetHFill
9739
9740 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9741
9742         * buffer.C (latexParagraphs): move function from here...
9743         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9744         args.
9745
9746 2003-03-10  Angus Leeming  <leeming@lyx.org>
9747
9748         * LyXAction.C (init): fix bug in poplating array with multiple entries
9749         with the same LFUN (spotted by JMarc).
9750
9751 2003-03-10  John Levon  <levon@movementarian.org>
9752
9753         * text.C:
9754         * text2.C: move getColumnNearX() near its
9755         only call site
9756
9757 2003-03-10  John Levon  <levon@movementarian.org>
9758
9759         * text.C: fix break before a minipage
9760
9761 2003-03-10  John Levon  <levon@movementarian.org>
9762
9763         * text.C: fix the last commit
9764
9765 2003-03-09  John Levon  <levon@movementarian.org>
9766
9767         * lyxtext.h:
9768         * text.C:
9769         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9770         bug 365 (don't break before insets unless needed). Don't
9771         return a value > last under any circumstances.
9772
9773 2003-03-09  Angus Leeming  <leeming@lyx.org>
9774
9775         * BufferView_pimpl.C (trackChanges, dispatch): call
9776         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9777
9778 2003-03-09  Angus Leeming  <leeming@lyx.org>
9779
9780         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9781         than Dialogs::showAboutlyx().
9782
9783 2003-03-09  Angus Leeming  <leeming@lyx.org>
9784
9785         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9786         than Dialogs::showTabularCreate().
9787
9788 2003-03-09  John Levon  <levon@movementarian.org>
9789
9790         * lyxtext.h:
9791         * text.C:
9792         * text2.C: 3rd arg to nextBreakPoint was always the same.
9793           Use references.
9794
9795 2003-03-08  John Levon  <levon@movementarian.org>
9796
9797         * lyxrow.C:
9798         * paragraph.C:
9799         * paragraph.h:
9800         * rowpainter.C:
9801         * text.C:
9802         * text2.C: Remove the "main" bit from the "main body"
9803           notion.
9804
9805 2003-03-08  John Levon  <levon@movementarian.org>
9806
9807         * text.C (leftMargin): The left margin of an empty
9808         manual label paragraph should not include the label width
9809         string length.
9810
9811         * text.C (prepareToPrint): don't attempt to measure hfills
9812         for empty manual label paragraphs - the answer should be 0
9813
9814 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9815
9816         * CutAndPaste.C: remove commented code and reindent.
9817
9818 2003-03-08  John Levon  <levon@movementarian.org>
9819
9820         * lyxfunc.h:
9821         * lyxfunc.C: move reloadBuffer()
9822
9823         * BufferView.h:
9824         * BufferView.C: to here
9825
9826         * lyxvc.C: add comment
9827
9828         * vc-backend.h:
9829         * vc-backend.C: call bv->reload() to avoid
9830           getStatus() check on MENURELOAD
9831
9832 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9833
9834         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9835         to an old format .dep file.
9836
9837 2003-03-07  Angus Leeming  <leeming@lyx.org>
9838
9839         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9840         when the LFUN_MOUSE_RELEASE should have been handled by
9841         inset->localDispatch.
9842
9843 2003-03-07  Angus Leeming  <leeming@lyx.org>
9844
9845         * BufferView_pimpl.C (dispatch):
9846         * LyXAction.C (init):
9847         * ToolbarDefaults.C (init):
9848         * commandtags.h:
9849         * lyxfunc.C (getStatus):
9850         remove LFUN_INSET_GRAPHICS.
9851
9852         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9853
9854 2003-03-07  Angus Leeming  <leeming@lyx.org>
9855
9856         * commandtags.h:
9857         * LyXAction.C (init):
9858         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9859
9860         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9861
9862         * commandtags.h:
9863         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9864
9865         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9866         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9867
9868 2003-03-07  Angus Leeming  <leeming@lyx.org>
9869
9870         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9871         remove "ert".
9872
9873 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9874
9875         * ParagraphList.C (front): new function
9876         (back): implement
9877
9878 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9879
9880         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9881         and top_row_offset_. removed var first_y.
9882         * text.C (top_y):
9883         * text2.C (LyXText, removeRow):
9884         * text3.C:
9885         * BufferView_pimpl.C:
9886         use these methods instead of using first_y
9887
9888 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9889
9890         * text2.C (pasteSelection): adjust for checkPastePossible
9891
9892         * CutAndPaste.C: remove Paragraph * buf and replace with
9893         ParagraphList paragraphs.
9894         (DeleteBuffer): delete
9895         (cutSelection): change the tc type to textclass_type
9896         (copySelection): change the tc type to textclass_type
9897         (copySelection): adjust for ParagraphList
9898         (pasteSelection): change the tc type to textclass_type
9899         (pasteSelection): adjust for Paragraphlist
9900         (nrOfParagraphs): simplify for ParagraphList
9901         (checkPastePossible): simplify for ParagraphList
9902         (checkPastePossible): remove unused arg
9903
9904         * ParagraphList.C (insert): handle the case where there are no
9905         paragraphs yet.
9906
9907         * CutAndPaste.h: make CutAndPaste a namespace.
9908
9909         * text3.C (dispatch): adjust
9910
9911         * text.C (breakParagraph): add a ParagraphList as arg
9912
9913         * paragraph_funcs.C (breakParagraph): change to take a
9914         BufferParams and a ParagraphList as args.
9915         (breakParagraphConservative): ditto
9916         (mergeParagraph): ditto
9917         (TeXDeeper): add a ParagraphList arg
9918         (TeXEnvironment): ditto
9919         (TeXOnePar): ditto
9920
9921         * buffer.C (readLyXformat2): adjust
9922         (insertStringAsLines): adjust
9923         (latexParagraphs): adjust
9924
9925         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9926         (cutSelection): adjust
9927         (pasteSelection): adjust
9928
9929         * BufferView_pimpl.C (insertInset): adjust
9930
9931 2003-03-05  Angus Leeming  <leeming@lyx.org>
9932
9933         * commandtags.h:
9934         * LyXAction.C (init):
9935         * BufferView_pimpl.C (dispatch):
9936         * lyxfunc.C (getStatus):
9937         remove LFUN_CHILD_INSERT.
9938
9939         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9940
9941 2003-03-05  Angus Leeming  <leeming@lyx.org>
9942
9943         * commandtags.h:
9944         * LyXAction.C (init):
9945         * src/factory.C (createInset):
9946         * lyxfunc.C (getStatus):
9947         * text3.C (dispatch):
9948         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9949
9950         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9951
9952 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9953
9954         * ParagraphList.C (insert): handle insert right before end()
9955         (erase): fix cases where it can be first or last paragraph.
9956
9957 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9958
9959         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9960         Paragraph::next and Paragraph::previous
9961         (TeXOnePar): ditto
9962
9963         * text.C (breakParagraph): adjust
9964
9965         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9966         BufferParams& as arg.
9967         (breakParagraph): use ParagraphList::insert
9968         (breakParagraphConservative): take a Buffer* instead of a
9969         BufferParams& as arg.
9970         (breakParagraphConservative): use ParagraphList::insert.
9971
9972         * buffer.C (insertStringAsLines): un-const it
9973         (insertStringAsLines): adjust
9974
9975         * ParagraphList.C (insert): new function
9976
9977         * CutAndPaste.C (pasteSelection): adjust
9978
9979         * text.C (backspace): adjust
9980
9981         * tabular.C (SetMultiColumn): adjust
9982
9983         * CutAndPaste.C (cutSelection): adjust
9984         (pasteSelection): adjust
9985
9986         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9987         Buffer const * as arg
9988
9989         * ParagraphList.C (erase): new function
9990         * paragraph_funcs.C (mergeParagraph): use it
9991         (mergeParagraph): make it take a Buffer* instead of a
9992         BufferParams* as arg
9993
9994         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9995         as arg
9996         (breakParagraphConservative): ditto
9997
9998         * paragraph.h: remove the breakParagraph friend
9999
10000         * paragraph.C (eraseIntern): new function
10001         (setChange): new function
10002
10003         * paragraph_funcs.C (mergeParagraph): make it take a
10004         ParagraphList::iterator instead of a Paragraph *, adjust
10005         accordingly.
10006
10007         * paragraph.h: move an #endif so that the change tracking stuff
10008         also works in the NO_NEXT case.
10009
10010 2003-03-04  Angus Leeming  <leeming@lyx.org>
10011
10012         * commandtags.h:
10013         * LyXAction.C: new LFUN_INSET_MODIFY.
10014
10015         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10016         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10017
10018 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10019
10020         * several files: ws changes only
10021
10022         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10023         (TeXEnvironment): ditto
10024         (TeXDeeper): ditto
10025
10026         * buffer.C (makeLaTeXFile): adjust
10027         (latexParagraphs): make it take ParagraphList::iterator as args
10028
10029 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10030
10031         * buffer.C (latexParagraphs): adjust
10032
10033         * paragraph.C (TeXOnePar): move function...
10034         (optArgInset): move function...
10035         (TeXEnvironment): move function...
10036         * paragraph_pimpl.C (TeXDeeper): move function...
10037         * paragraph_funcs.C: ...here
10038
10039         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10040
10041 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10042
10043         * buffer.C (readInset): remove compability code for old Figure and
10044         InsetInfo insets
10045
10046 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10047
10048         * buffer.C: ws changes
10049         (readInset):
10050
10051         * BufferView_pimpl.C: ditto
10052         * author.C: ditto
10053         * buffer.h: ditto
10054         * bufferlist.h: ditto
10055         * changes.h: ditto
10056         * lyxfunc.C: ditto
10057
10058 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10059
10060         * converter.[Ch]: split into itself +
10061         * graph.[Ch]
10062         * format.[Ch]
10063         * Makefile.am: += graph.[Ch] + format.[Ch]
10064         * MenuBackend.C
10065         * buffer.C
10066         * exporter.C
10067         * importer.C
10068         * lyx_main.C
10069         * lyxfunc.C
10070         * lyxrc.C: added #include "format.h"
10071
10072 2003-02-27  Angus Leeming  <leeming@lyx.org>
10073
10074         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10075           a label.
10076
10077         * factory.C (createInset): add "label" to the factory.
10078
10079         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10080           string and do no more.
10081
10082 2003-02-27  Angus Leeming  <leeming@lyx.org>
10083
10084         * commandtags.h:
10085         * LyXAction.C (init):
10086         * factory.C (createInset):
10087         * BufferView_pimpl.C (dispatch):
10088           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10089
10090         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10091
10092         * lyxfunc.C (dispatch):
10093         * text3.C (dispatch): pass name to params2string.
10094
10095 2003-02-26  Angus Leeming  <leeming@lyx.org>
10096
10097         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10098           blocks together.
10099           Rearrange the ~includes. Strip out the unnecessary ones.
10100
10101         * factory.C (createInset): reformat.
10102           create new insets for the various LFUN_XYZ_APPLY lfuns.
10103
10104 2003-02-26  John Levon  <levon@movementarian.org>
10105
10106         * lyxrow.h:
10107         * lyxrow.C: add isParStart,isParEnd helpers
10108
10109         * paragraph.h: make isInserted/DeletedText take refs
10110
10111         * paragraph_funcs.h:
10112         * paragraph_funcs.C: remove #if 0'd code
10113
10114         * lyxtext.h:
10115         * text3.C:
10116         * text2.C:
10117         * text.C: use lyxrow helpers above.
10118           Move draw and paint routines to RowPainter.
10119           Make several methods use refs not pointers.
10120           Make backgroundColor() const.
10121           Add markChangeInDraw(), isInInset().
10122           Merge changeRegionCase into changeCase.
10123           Make workWidth() shouldn't-happen code into an Assert.
10124
10125         * rowpainter.h:
10126         * rowpainter.C: new class for painting a row.
10127
10128         * vspace.h:
10129         * vspace.C: make inPixels take a ref
10130
10131 2003-02-26  Angus Leeming  <leeming@lyx.org>
10132
10133         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10134         LFUN_REF_APPLY.
10135
10136 2003-02-25  John Levon  <levon@movementarian.org>
10137
10138         * ispell.C: give the forked command a more accurate name
10139
10140 2003-02-22  John Levon  <levon@movementarian.org>
10141
10142         * toc.h:
10143         * toc.C: make TocItem store an id not a Paragraph *
10144           (bug #913)
10145
10146 2003-02-21  Angus Leeming  <leeming@lyx.org>
10147
10148         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10149           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10150           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10151           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10152           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10153           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10154
10155         * BufferView_pimpl.C (dispatch):
10156         * LyXAction.C (init):
10157         * factory.C (createInset):
10158         * lyxfunc.C (getStatus, dispatch):
10159         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10160
10161 2003-02-21  Angus Leeming  <leeming@lyx.org>
10162
10163         * BufferView_pimpl.C (MenuInsertLyXFile):
10164         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10165         * lyxfunc.C (menuNew, open, doImport):
10166           no longer pass a LyXView & to fileDlg.
10167
10168 2003-02-21  Angus Leeming  <leeming@lyx.org>
10169
10170         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10171         * LyXAction.C: change, BIBKEY to BIBITEM.
10172         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10173         Change InsetBibKey to InsetBibitem.
10174         Change BIBKEY_CODE to BIBITEM_CODE.
10175         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10176         * factory.C: replace insetbib.h with insetbibitem.h.
10177         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10178         * paragraph.C: replace insetbib.h with insetbibitem.h.
10179         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10180         Change bibkey() to bibitem().
10181         * text.C: remove insetbib.h.
10182         * text2.C: replace insetbib.h with insetbibitem.h.
10183         change bibkey() to bibitem().
10184         * text3.C: remove insetbib.h.
10185         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10186
10187 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10188
10189         * lyxrc.C (output): enclose user email in quotes (in case there are
10190         several words)
10191
10192 2003-02-18  John Levon  <levon@movementarian.org>
10193
10194         * buffer.h: add std::
10195
10196 2003-02-17  John Levon  <levon@movementarian.org>
10197
10198         * SpellBase.h:
10199         * ispell.h:
10200         * ispell.C:
10201         * pspell.h:
10202         * pspell.C: reworking. Especially in ispell, a large
10203           number of clean ups and bug fixes.
10204
10205         * lyxfunc.C: fix revert to behave sensibly
10206
10207 2003-02-17 André Pönitz <poenitz@gmx.net>
10208
10209         * LyXAction.C:
10210         * commandtags.h: new LFUN_INSERT_BIBKEY
10211
10212         * layout.h:
10213         * lyxlayout.C:
10214         * buffer.C:
10215         * factory.C:
10216         * text.C:
10217         * text2.C:
10218         * text3.C:
10219         * paragraph.[Ch]:
10220         * paragraph_func.C: remove special bibkey handling
10221
10222 2003-02-17  John Levon  <levon@movementarian.org>
10223
10224         * text.C (Delete): fix case where delete at the end of
10225           the very first paragraph would not merge the pars
10226
10227 2003-02-17  John Levon  <levon@movementarian.org>
10228
10229         * lyxrow.C: fix lastPrintablePos()
10230
10231 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * bufferparams.C (writeLaTeX): add a std:here
10234
10235         * buffer.C: and remove a using directive there
10236
10237 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * buffer.C (makeLaTeXFile): move the code that generates the
10240           preamble...
10241
10242         * bufferparams.C (writeLaTeX): ... in this new method
10243
10244         * LaTeXFeatures.C (getEncodingSet): make const
10245           (getLanguages): make const
10246
10247         * MenuBackend.C (binding): returns the binding associated to this
10248           action
10249           (add): sets the status of each item by calling getStatus. Adds
10250           some intelligence.
10251           (read): add support for OptSubMenu
10252           (expand): remove extra separator at the end of expanded menu
10253
10254 2003-02-15  John Levon  <levon@movementarian.org>
10255
10256         * BufferView.C:
10257         * BufferView_pimpl.C:
10258         * bufferlist.h:
10259         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10260           inset code that had no actual effect. Remove unneeded status
10261           code.
10262
10263 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10264
10265         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10266           in preamble
10267
10268 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10269
10270         * text.C (drawLengthMarker): also draw an arrow marker for
10271           symbolic lengths (medskip...)
10272
10273 2003-02-14  John Levon  <levon@movementarian.org>
10274
10275         * tabular.h:
10276         * tabular.C: better method names
10277
10278 2003-02-14  John Levon  <levon@movementarian.org>
10279
10280         * BufferView_pimpl.C:
10281         * bufferlist.C:
10282         * buffer.C:
10283         * converter.C:
10284         * lyx_cb.C:
10285         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10286           it's a more accurate name. Remove some pointless uses.
10287
10288 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10289
10290         * text2.C (LyXText): change order of initilizers to shut off
10291           warnings
10292
10293 2003-02-14  John Levon  <levon@movementarian.org>
10294
10295         * buffer.C: use ParIterator for getParFromID()
10296
10297         * paragraph.h:
10298         * paragraph.C:
10299         * paragraph_pimpl.h:
10300         * paragraph_pimpl.C: remove unused getParFromID()
10301
10302 2003-02-14  John Levon  <levon@movementarian.org>
10303
10304         * buffer.C: remove some very old #if 0'd parse code
10305
10306 2003-02-13  John Levon  <levon@movementarian.org>
10307
10308         * text.h:
10309         * text.C:
10310         * text2.C: move hfillExpansion(), numberOfSeparators(),
10311           rowLast(), rowLastPrintable(), numberofHfills(),
10312           numberOfLabelHfills() ...
10313
10314         * lyxrow.h:
10315         * lyxrow.C: ... to member functions here.
10316
10317         * paragraph.h:
10318         * paragraph.C:
10319         * lyxtext.h:
10320         * text.C: remove LyXText::beginningOfMainBody(), and call
10321           p->beginningOfMainBody() directly. Move the check for
10322           LABEL_MANUAL into the latter.
10323
10324         * text.h:
10325         * text.C:
10326         * text2.C:
10327         * vspace.C:
10328         * BufferView.h:
10329         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10330
10331         * text.h:
10332         * text.C:
10333         * text2.C:
10334         * text3.C:
10335         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10336           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10337
10338 2003-02-13  John Levon  <levon@movementarian.org>
10339
10340         * CutAndPaste.C: remove debug
10341
10342 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10343
10344         * paragraph.C (asString): remove two unused variables
10345
10346         * lyxtextclass.C (readTitleType):
10347           (Read):
10348           (LyXTextClass): handle new members titletype_ and titlename_
10349
10350         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10351
10352 2003-02-09  John Levon  <levon@movementarian.org>
10353
10354         * buffer.h:
10355         * buffer.C: replace hand-coded list with a map for the dep clean
10356
10357 2003-02-08  John Levon  <levon@movementarian.org>
10358
10359         * LaTeX.C: consolidate code into showRunMessage() helper
10360
10361 2003-02-08  John Levon  <levon@movementarian.org>
10362
10363         * lyxfind.C:
10364         * lyxtext.h:
10365         * text2.C:
10366         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10367           and pass the size in explicitly
10368
10369         * BufferView_pimpl.h:
10370         * BufferView_pimpl.C:
10371         * BufferView.h:
10372         * BufferView.C: add getCurrentChange()
10373
10374         * BufferView_pimpl.h:
10375         * BufferView_pimpl.C: handle change lfuns
10376
10377         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10378           for changes. Mark pasted paragraphs as new.
10379
10380         * support/lyxtime.h:
10381         * support/lyxtime.C:
10382         * DepTable.C: abstract time_t as lyx::time_type
10383
10384         * LColor.h:
10385         * LColor.C: add colours for new text, deleted text, changebars
10386
10387         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10388           package use "usenames" option.
10389
10390         * commandtags.h:
10391         * lyxfunc.C:
10392         * LyXAction.C: add change lfuns
10393
10394         * Makefile.am:
10395         * author.h:
10396         * author.C: author handling
10397
10398         * buffer.h:
10399         * buffer.C: add a per-buffer author list, with first entry as
10400           current author. Handle new .lyx tokens for change tracking. Output
10401           author list to .lyx file. Output dvipost stuff to .tex preamble.
10402           Bump lyx format to 222.
10403
10404         * bufferlist.h:
10405         * bufferlist.C: add setCurrentAuthor() to reset current author details
10406           in all buffers.
10407
10408         * bufferparams.h:
10409         * bufferparams.C: add param for tracking
10410
10411         * bufferview_funcs.C: output change info in minibuffer
10412
10413         * Makefile.am:
10414         * changes.h:
10415         * changes.C: add change-tracking structure
10416
10417         * debug.h:
10418         * debug.C: add CHANGES debug flag
10419
10420         * lyxfind.h:
10421         * lyxfind.C: add code for finding the next change piece
10422
10423         * lyxrc.h:
10424         * lyxrc.C: add user_name and user_email
10425
10426         * lyxrow.h:
10427         * lyxrow.C: add a metric for the top of the text line
10428
10429         * lyxtext.h:
10430         * text.C: implement accept/rejectChange()
10431
10432         * lyxtext.h:
10433         * text.C: paint changebars. Paint new/deleted text in the chosen
10434         colours. Strike through deleted text.
10435
10436         * paragraph.h:
10437         * paragraph.C:
10438         * paragraph_pimpl.h:
10439         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10440           in the current change to the insert functions. Rework erase to
10441           mark text as deleted, adding an eraseIntern() and a range-based
10442           erase(). Implement per-paragraph change lookup and
10443           accept/reject.
10444
10445         * paragraph_funcs.C: Fixup paste for change tracking.
10446
10447         * tabular.C: mark added row/columns as new.
10448
10449         * text.C: fix rowLast() to never return -1. Don't allow
10450           spellchecking of deleted text. Track transpose changes. Don't
10451           allow paragraph break or merge where appropriate.
10452
10453         * text2.C: leave cursor at end of selection after a cut.
10454
10455 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10456
10457         * text.C (getLengthMarkerHeight):
10458         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10459         visible on screen too.
10460
10461 2003-02-07  John Levon  <levon@movementarian.org>
10462
10463         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10464
10465 2003-02-05  Angus Leeming  <leeming@lyx.org>
10466
10467         * lyxserver.C (read_ready): revert my patch of 11 September last year
10468         as it sends PC cpu through the roof. Presumably this means that
10469         the lyxserver will no longer run on an Alpha...
10470
10471 2003-01-30  Angus Leeming  <leeming@lyx.org>
10472
10473         * factory.C (createInset): create an InsetCommandParam of type "index"
10474         and use it to 'do the right thing'.
10475
10476         * text2.C (getStringToIndex): ensure that cursor position is always
10477         reset to the reset_cursor position.
10478
10479 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10480
10481         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10482         disabled.
10483
10484 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10485
10486         * bufferview.C:
10487         * lyxcb.C:
10488         * lyxfunc.C: Output messages with identical spelling, punctuation,
10489         and spaces
10490
10491 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10492
10493         * MenuBackend.C (expandFormats): List only viewable export formats
10494         in "View" menu
10495
10496         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10497         message
10498
10499         * lyxfunc.C (getStatus): Make sure that formats other than
10500         "fax" can also be disabled
10501
10502 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * text3.C (dispatch): put the lfuns that insert insets in 3
10505         groups, and call doInsertInset with appropriate arguments.
10506         (doInsertInset): new function, that creates an inset and inserts
10507         it according to some boolean parameters.
10508
10509 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10510
10511         * buffer.C (readFile): remember to pass on 'par' when calling
10512         readFile recursively.
10513
10514 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10515
10516         * MenuBackend.C (expandFormats): add "..." to import formats.
10517
10518 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10519
10520         * paragraph.C (asString): Remove XForms RTL hacks.
10521
10522 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10523         * buffer.C: fix typo
10524
10525 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10526
10527         * Makefile.am (LIBS): delete var
10528         (lyx_LDADD): add @LIBS@ here instead.
10529
10530 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10531
10532         * Clarify the meaning of "wheel mouse jump"
10533
10534 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10535
10536         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10537         tabular in a float
10538
10539 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10540
10541         * importer.C (Loaders): do not preallocate 3 elements in the
10542         vector, since one ends up with 6 elements otherwise
10543
10544 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10545
10546         * DepTable.C (write): write the file name as last element of the
10547         .dep file (because it may contain spaces)
10548         (read): read info in the right order
10549
10550 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * paragraph_pimpl.C (simpleTeXBlanks):
10553         (simpleTeXSpecialChars):
10554         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10555
10556         * tabular.C (latex): add some missing case statements. Reindent.
10557
10558         * MenuBackend.C (expandToc): remove unused variable.
10559
10560 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10561
10562         * LColor.C:
10563         * LaTeX.C:
10564         * LyXAction.C:
10565         * MenuBackend.C:
10566         * buffer.C:
10567         * exporter.C:
10568         * lyxfunc.C:
10569         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10570         and the like.
10571
10572 2003-01-05  John Levon  <levon@movementarian.org>
10573
10574         * BufferView.h:
10575         * BufferView.C: add getEncoding()
10576
10577         * kbsequence.h:
10578         * kbsequence.C: do not store last keypress
10579
10580         * lyxfunc.h:
10581         * lyxfunc.C: store last keypress here instead. Pass encoding
10582           to getISOEncoded()
10583
10584 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10585
10586         * lyx_main.C (init): remove annoying error message when following
10587         symbolic links (bug #780)
10588
10589 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10590
10591         * text.C (insertChar):
10592         * lyxrc.C (getDescription): remove extra spaces
10593
10594 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10595
10596         * lyxrc.C (getDescription): remove extra spaces
10597
10598 2002-12-20  John Levon  <levon@movementarian.org>
10599
10600         * text3.C: hack fix for page up/down across tall rows
10601
10602 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10603
10604         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10605         not been invoked
10606
10607 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10608
10609         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10610         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10611         thesaurus is not compiled in
10612
10613 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10614
10615         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10616
10617 2002-12-16  Angus Leeming  <leeming@lyx.org>
10618
10619         * lyxrc.[Ch]:
10620         * lyx_main.C (init): remove override_x_deadkeys stuff.
10621
10622 2002-12-12  John Levon  <levon@movementarian.org>
10623
10624         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10625           insert. Only remove shift modifier under strict
10626           circumstances.
10627
10628 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10629
10630         * MenuBackend.C (expandToc): fix crash.
10631
10632 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * MenuBackend.C (expandToc): gettext on float names.
10635
10636 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10637
10638         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10639         implement bool empty() [bug 490]
10640
10641 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10642
10643         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10644
10645 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10646
10647         * several files: ws changes
10648
10649 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10650
10651         * text2.C (setCounter): clean up a bit, use boost.format.
10652         (updateCounters): initialize par upon declaration.
10653
10654         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10655         if the layout exists. We do not just store the layout any more.
10656         (SwitchLayoutsBetweenClasses): use boost.format
10657
10658 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10659
10660         * converter.C (convert): if from and to files are the same, use a
10661         temporary files as intermediary
10662
10663 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10664
10665         * commandtags.h:
10666         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10667
10668 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10669
10670         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10671
10672 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10673
10674         * tabular.C (asciiPrintCell): use string(size, char) instead of
10675         explicit loop.
10676
10677         * sgml.C (openTag): fix order of arguments to string constructor
10678         (closeTag): ditto
10679
10680         * lyxfunc.C (dispatch): use boost.format
10681
10682         * lots of files: change "c" -> 'c'
10683
10684 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10687
10688 2002-11-25  Angus Leeming  <leeming@lyx.org>
10689
10690         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10691
10692         * lyx_main.C (init): compile fix.
10693
10694 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10695
10696         * lyx_cb.C (start): boost.formatify
10697         do not include <iostream>
10698
10699         * lengthcommon.C: ws only
10700
10701         * boost-inst.C,BoostFormat.h: add more explict instantations
10702
10703 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10704
10705         * lots of files: handle USE_BOOST_FORMAT
10706
10707 2002-11-21  John Levon  <levon@movementarian.org>
10708
10709         * pspell.C: fix compile
10710
10711 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * lyxfunc.C (dispatch): use boost::format
10714         (open): ditto
10715         (doImport): ditto
10716
10717         * lyxfont.C (stateText): use boost::format
10718
10719         * lyx_main.C (LyX): use boost::format
10720         (init): ditto
10721         (queryUserLyXDir): ditto
10722         (readRcFile): ditto
10723         (parse_dbg): ditto
10724         (typedef boost::function): use the recommened syntax.
10725
10726         * importer.C (Import): use boost::format
10727
10728         * debug.C (showLevel): use boost::format
10729
10730         * converter.C (view): use boost::format
10731         (convert): ditto
10732         (move): ditto
10733         (scanLog): ditto
10734
10735         * bufferview_funcs.C (currentState): use boost::format
10736
10737         * bufferlist.C (emergencyWrite): use boost::format
10738
10739         * buffer.C (readLyXformat2): use boost::format
10740         (parseSingleLyXformat2Token): ditto
10741
10742         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10743
10744         * LaTeX.C (run): use boost::format
10745
10746         * Chktex.C (scanLogFile): use boost::format
10747
10748         * BufferView_pimpl.C (savePosition): use boost::format
10749         (restorePosition): ditto
10750         (MenuInsertLyXFile): ditto
10751
10752         * BoostFormat.h: help file for explicit instation.
10753
10754 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * tabular.C (latex): Support for block alignment in fixed width
10757         columns.
10758
10759 2002-11-17  John Levon  <levon@movementarian.org>
10760
10761         * BufferView_pimpl.C:
10762         * lyx_cb.C:
10763         * lyxfunc.C: split filedialog into open/save
10764
10765 2002-11-08  Juergen Vigna  <jug@sad.it>
10766
10767         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10768         by my last patch (hopefully).
10769
10770 2002-11-08  John Levon  <levon@movementarian.org>
10771
10772         * iterators.h:
10773         * iterators.C:
10774         * buffer.h:
10775         * buffer.C:
10776         * paragraph.h:
10777         * paragraph.C:
10778         * toc.h:
10779         * toc.C: ParConstIterator, and use it (from Lars)
10780
10781 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10782
10783         * lyxtextclass.[Ch]: revise and add doxygen comments
10784
10785 2002-11-07  John Levon  <levon@movementarian.org>
10786
10787         * text.C: fix progress value for spellchecker
10788
10789         * toc.C: fix navigate menu for insetwrap inside minipage
10790
10791         * paragraph_funcs.C: added FIXME for suspect code
10792
10793 2002-11-07  John Levon  <levon@movementarian.org>
10794
10795         * BufferView_pimpl.C: fix redrawing of insets
10796           on buffer switch
10797
10798 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10799
10800         * text2.C (updateCounters): fix bug 668
10801
10802 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * text3.C (dispatch): Do not make the buffer dirty when moving the
10805         cursor.
10806
10807 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10808
10809         * vc-backend.C: STRCONV
10810         (scanMaster): ditto
10811
10812         * text2.C (setCounter): STRCONV
10813
10814         * paragraph.C (asString): STRCONV
10815
10816         * lyxlength.C (asString): STRCONV
10817         (asLatexString): ditto
10818
10819         * lyxgluelength.C (asString): STRCONV
10820         (asLatexString): ditto
10821
10822         * lyxfunc.C (dispatch): STRCONV
10823         (open): ditto
10824
10825         * lyxfont.C (stateText): STRCONV
10826
10827         * importer.C (Import): STRCONV
10828
10829         * counters.C (labelItem): STRCONV
10830         (numberLabel): ditto
10831         (numberLabel): remove unused ostringstream o
10832
10833         * chset.C: STRCONV
10834         (loadFile): ditto
10835
10836         * bufferview_funcs.C (currentState): STRCONV
10837
10838         * buffer.C (readFile): STRCONV
10839         (asciiParagraph): ditto
10840         (makeLaTeXFile): ditto
10841
10842         * Spacing.C (writeEnvirBegin): STRCONV
10843
10844         * LaTeXFeatures.C (getLanguages): STRCONV
10845         (getPackages): ditto
10846         (getMacros): ditto
10847         (getBabelOptions): ditto
10848         (getTClassPreamble): ditto
10849         (getLyXSGMLEntities): ditto
10850         (getIncludedFiles): ditto
10851
10852         * LaTeX.C: STRCONV
10853         (run): ditto
10854         (scanAuxFile): ditto
10855         (deplog): ditto
10856
10857         * LString.h: add the STRCONV macros
10858
10859         * BufferView_pimpl.C (savePosition): STRCONV
10860         (restorePosition): ditto
10861         (MenuInsertLyXFile): ditto
10862
10863         * vc-backend.C (scanMaster): change from submatch[...] to
10864         submatch.str(...)
10865
10866         * funcrequest.C: include config.h
10867
10868         * factory.C: include config.h
10869
10870         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10871
10872         * box.C: include config.h
10873
10874         * LaTeX.C (scanAuxFile): change from submatch[...] to
10875         submatch.str(...)
10876         (deplog): ditto
10877
10878 2002-10-25  Angus Leeming  <leeming@lyx.org>
10879
10880         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10881
10882         * ispell.[Ch] (setError): new method.
10883         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10884         Use setError() insetead of goto END.
10885
10886         * lyx_cb.C (AutoSave): move out child process into new class
10887         AutoSaveBuffer.
10888
10889 2002-10-30  John Levon  <levon@movementarian.org>
10890
10891         * text3.C: make start appendix undoable
10892
10893 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10894
10895         * lyxlength.C (inPixels): Fix returned value.
10896
10897         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10898         environment.
10899
10900 2002-10-24  Angus Leeming  <leeming@lyx.org>
10901
10902         * lyxgluelength.h: no need to forward declare BufferParams
10903         or BufferView, so don't.
10904
10905 2002-10-21  John Levon  <levon@movementarian.org>
10906
10907         * BufferView.C: menuUndo ->undo, redo
10908
10909         * BufferView.h: document, remove dead, make some methods private
10910
10911         * paragraph_funcs.h:
10912         * paragraph_funcs.C:
10913         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10914
10915         * buffer.h:
10916         * buffer.C:
10917         * sgml.h:
10918         * sgml.C: move sgml open/close tag into sgml.C
10919
10920         * bufferview_funcs.h: unused prototype
10921
10922         * lyxfunc.h:
10923         * lyxfunc.C: remove unused
10924
10925         * lyxtext.h:
10926         * text.C: remove unused
10927
10928 2002-10-21  John Levon  <levon@movementarian.org>
10929
10930         * BufferView.h:
10931         * BufferView.C:
10932         * BufferView_pimpl.h:
10933         * BufferView_pimpl.C: fix mouse wheel handling based on
10934           patch from Darren Freeman
10935
10936 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10937
10938         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10939
10940 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10941
10942         * lyxlength.C (inPixels): Fix hanfling of negative length.
10943         Fix LyXLength::MU case.
10944
10945 2002-10-16  John Levon  <levon@movementarian.org>
10946
10947         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10948
10949 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10950
10951         * converter.C (view): add support for $$i (file name) and $$p
10952         (file path) for the viewer command. If $$i is not specified, then
10953         it is appended to the command (for compatibility with old syntax)
10954
10955 2002-10-14  Juergen Vigna  <jug@sad.it>
10956
10957         * undo_funcs.C (textHandleUndo): alter the order in which the
10958         new undopar is added to the LyXText, as we have to set first
10959         the right prev/next and then add it as otherwise the rebuild of
10960         LyXText is not correct. Also reset the cursor to the right paragraph,
10961         with this IMO we could remove the hack in "redoParagraphs()".
10962
10963 2002-10-09  Angus Leeming  <leeming@lyx.org>
10964
10965         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10966         to turn off an optimisation if a new inset is to be inserted.
10967
10968 2002-10-11 André Pönitz <poenitz@gmx.net>
10969
10970         * lyxtext.h: make some functions public to allow access
10971         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10972
10973 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10974
10975         * text3.C (dispatch): when changing layout, avoid an infinite loop
10976         [bug #652]
10977
10978 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10979
10980         * lyxrc.C (read): treat a viewer or converter command of "none" as
10981         if it were empty.
10982
10983         * MenuBackend.C (expandFormats): for an update, also allow the
10984         formats that are not viewable
10985
10986         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10987         script if it is newer than the lyxrc.defaults in user directory
10988
10989 2002-10-07 André Pönitz <poenitz@gmx.net>
10990
10991         * text.C: Vitaly Lipatov's small i18n fix
10992
10993 2002-09-25  Angus Leeming  <leeming@lyx.org>
10994
10995         * ispell.h: doxygen fix.
10996
10997 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10998
10999         * buffer.h (readFile): Add a new argument to the method, to allow
11000         reading of old-format templates.
11001
11002 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11003
11004         * toc.C (getTocList): Get TOC from InsetWrap.
11005
11006 2002-09-16  John Levon  <levon@movementarian.org>
11007
11008         * lyxfunc.C: check tabular for cut/copy too
11009
11010 2002-09-12  John Levon  <levon@movementarian.org>
11011
11012         * LyXAction.C: tidy
11013
11014         * factory.h:
11015         * factory.C: add header
11016
11017         * paragraph_funcs.h:
11018         * paragraph_funcs.C: cleanup
11019
11020 2002-09-11  John Levon  <levon@movementarian.org>
11021
11022         * PrinterParams.h: odd/even default to true
11023
11024 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11025
11026         * PrinterParams.h: update printer parameters for new xforms dialog
11027
11028 2002-09-11  Angus Leeming  <leeming@lyx.org>
11029
11030         * lyxserver.C (read_ready): re-write to make it more transparent
11031         and to make it work in coherent fashion under Tru64 Unix.
11032
11033 2002-09-11  André Pönitz <poenitz@gmx.net>
11034
11035         * commandtags.h:
11036         * LyXAction.C:
11037         * text3.C: implement LFUN_WORDSEL
11038
11039 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11040
11041         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11042         make floatlist_ a boost::shared_ptr<FloatList>
11043
11044         * lyxtextclass.C: include FloatList.h
11045         (LyXTextClass): initialize floatlist_
11046         (TextClassTags): add TC_NOFLOAT
11047         (Read): match "nofloat" to TC_NOFLOAT and use it.
11048         (readFloat): modify call to floatlist_
11049         (floats): ditto
11050         (floats): ditto
11051
11052         * FloatList.[Ch] (FloatList): remove commented out float
11053         initialization.
11054         (erase): new function
11055
11056 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * MenuBackend.C (expandToc): fix crash when there is no document
11059         open
11060
11061 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * many files: Add insetwrap.
11064
11065 2002-09-09  John Levon  <levon@movementarian.org>
11066
11067         * text2.C: remove confusing and awkward depth wraparound
11068
11069 2002-09-09  John Levon  <levon@movementarian.org>
11070
11071         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11072
11073         * buffer.h:
11074         * buffer.C: remove getIncludeonlyList()
11075
11076         * paragraph.C:
11077         * lyxfunc.C: remove headers
11078
11079 2002-09-09  Juergen Vigna  <jug@sad.it>
11080
11081         * text.C (getColumnNearX): fix form Michael this is most
11082         probably a cut&paste bug.
11083
11084 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11085
11086         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11087
11088         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11089         references, ws changes.
11090
11091         * text2.C (init): update counters after init
11092         (insertParagraph): no need to set counter on idividual paragraphs.
11093         (setCounter): access the counters object in the textclass object
11094         on in the buffer object.
11095         (updateCounters): ditto
11096
11097         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11098         shared_ptr<Counters> to avoid loading counters.h in all
11099         compilation units.
11100         (LyXTextClass): initialize ctrs_
11101         (TextClassTags): add TC_COUNTER, and ...
11102         (Read): use it here.
11103         (CounterTags): new tags
11104         (readCounter): new function
11105         (counters): new funtion
11106         (defaultLayoutName): return a const reference
11107
11108         * counters.C (Counters): remove contructor
11109         (newCounter): remove a couple of unneeded statements.
11110         (newCounter): simplify a bit.
11111         (numberLabel): some small formatting changes.
11112
11113         * buffer.[Ch]: remove all traces of counters, move the Counters
11114         object to the LyXTextClass.
11115
11116 2002-09-06  Alain Castera  <castera@in2p3.fr>
11117
11118         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11119         package to set the horizontal alignment on fixed width columns.
11120
11121         * lyx_sty.C:
11122         * lyx_sty.h: added tabularnewline macro def.
11123
11124         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11125
11126 2002-09-06  John Levon  <levon@movementarian.org>
11127
11128         * LyXAction.C: tooltips for sub/superscript
11129
11130         * MenuBackend.C: a bit more verbose
11131
11132         * lyxfunc.C: tiny clean
11133
11134         * undo_funcs.C: document undo_frozen
11135
11136 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11137
11138         * counters.C (Counters): add missing algorithm counter.
11139
11140         * text2.C (setCounter): lookup the counter with layouts latexname
11141         instead of by section number.
11142         (setCounter): use a hackish way to lookup the correct enum
11143         counter.
11144         a float name->type change
11145         reset enum couners with counter name directly instead of depth value.
11146
11147         * counters.C (Counters): remove the push_backs, change to use the
11148         float type not the float name.
11149         (labelItem): remove unused string, float name->type change
11150
11151         * counters.h: don't include vector, loose the enums and sects vectors
11152
11153 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11154
11155         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11156         (Read): add float->TC_FLOAT to textclassTags
11157         (Read): and handle it in the switch
11158         (readFloat): new function
11159
11160         * FloatList.C (FloatList): comment out the hardcoded float
11161         definitions.
11162
11163         * lyxlayout.h: ws change.
11164
11165 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11166
11167         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11168
11169 2002-09-03  Angus Leeming  <leeming@lyx.org>
11170
11171         * BufferView_pimpl.h: qualified name is not allowed in member
11172         declaration: WorkArea & Pimpl::workarea() const;
11173
11174         * factory.C: added using std::endl directive.
11175
11176         * text3.C: added using std::find and std::vector directives.
11177
11178 2002-08-29  André Pönitz <poenitz@gmx.net>
11179
11180         * lyxtext.h:
11181         * text2.C: remove unused member number_of_rows
11182
11183         * Makefile.am:
11184         * BufferView2.C: remove file, move contents to...
11185         * BufferView.C: ... here
11186
11187         * BufferView_pimpl.C:
11188         * factory.C: move more inset creation to factory
11189
11190         * vspace.C: avoid direct usage of LyXText, ws changes
11191
11192         * BufferView.[Ch]:
11193                 don't provide direct access to WorkArea, use two simple
11194                 acessors haveSelction() and workHeight() instead
11195
11196
11197 2002-08-29  John Levon  <levon@movementarian.org>
11198
11199         * BufferView_pimpl.C (dispatch): do not continue when
11200           no buffer
11201
11202 2002-08-28  André Pönitz <poenitz@gmx.net>
11203
11204         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11205
11206         * BufferView.h:
11207         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11208
11209 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11210
11211         * buffer.C: increment LYX_FORMAT to 221
11212
11213         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11214         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11215
11216         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11217
11218         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11219
11220 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * factory.C (createInset): use LyXTextClass::floats
11223
11224         * MenuBackend.C (expandFloatListInsert):
11225         (expandFloatInsert):
11226         (expandToc):
11227
11228         * text2.C (setCounter):
11229
11230         * LaTeXFeatures.C (useFloat):
11231         (getFloatDefinitions):
11232
11233         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11234
11235         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11236         floatlist_, with accessor floats().
11237
11238         * FloatList.h: remove global FloatList
11239
11240 2002-08-26  André Pönitz <poenitz@gmx.net>
11241
11242         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11243
11244         * BufferView.h:
11245         * BufferView2.C:
11246         * BufferView_pimpl.C:
11247         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11248
11249 2002-08-25  John Levon  <levon@movementarian.org>
11250
11251         * LyXAction.C: fix margin note description
11252
11253 2002-08-24  John Levon  <levon@movementarian.org>
11254
11255         * buffer.C:
11256         * bufferlist.C:
11257         * bufferview_funcs.C:
11258         * lyxfont.C:
11259         * undo_funcs.C: cleanups
11260
11261         * lyxfunc.C: disable CUT/COPY when no selection
11262
11263 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11264
11265         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11266         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11267
11268         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11269         Add backward compatibility to "mono", "gray" and "no".
11270
11271 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11274         (and file_format >= 200).
11275
11276 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11279
11280 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11283
11284 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11285
11286         * BufferView_pimpl.C:
11287         * LyXAction.C:
11288         * buffer.C:
11289         * commandtags.h:
11290         * lyxfunc.C:
11291         * paragraph.[Ch]:
11292         * text2.C:
11293         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11294         inset and code to make it  work with the paragraph code. The inset
11295         can be anywhere in the paragraph, but will only do the expected
11296         thing in LaTeX if the layout file contains the parameter line
11297                         OptionalArgs    1
11298         (or more generally, a nonzero value) for that layout.
11299
11300 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11301
11302         * paragraph.h: remove the declaration of undefined counters class
11303         function.
11304
11305 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11306
11307         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11308         Dr. Richard Hawkins.
11309
11310 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * paragraph_funcs.h: remove some unneeded includes
11313
11314         * text.C (backspace): pasteParagraph now in global scipe
11315
11316         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11317         (pasteSelection): ditto
11318
11319         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11320         * paragraph_funcs.C (pasteParagraph): ... here
11321
11322 2002-08-20  André Pönitz <poenitz@gmx.net>
11323
11324         * commandtags.h: new LFUNs for swapping/copying table row/colums
11325
11326         * LyXAction.C:
11327         * lyxfunc.C: support for new lfuns
11328
11329 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11330
11331         * tabular.C:
11332         * buffer.[Ch]: remove NO_COMPABILITY stuff
11333
11334 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11335
11336         * boost.C (throw_exception): new file, with helper function for
11337         boost compiled without exceptions.
11338
11339         * paragraph.h:
11340         * lyxlength.C:
11341         * buffer.C:
11342         * ParameterStruct.h:
11343         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11344
11345         * bufferlist.C (emergencyWriteAll): use boost bind
11346
11347         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11348
11349         * text.C: include paragraph_funcs.h
11350         (breakParagraph): breakParagraph is now in global scope
11351
11352         * paragraph_funcs.[Ch]: new files
11353
11354         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11355         global scope
11356
11357         * buffer.C: include paragraph_funcs.h
11358         (insertStringAsLines): breakParagraph is now in global scope
11359
11360         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11361         paragraph_funcs.C
11362
11363         * CutAndPaste.C: include paragraph_funcs.h
11364         (cutSelection): breakParagraphConservative is now in global scope
11365         (pasteSelection): ditto
11366
11367         * buffer.h: declare oprator== and operator!= for
11368         Buffer::inset_iterator
11369
11370         * bufferlist.C (emergencyWrite): don't use fmt(...)
11371
11372         * text3.C: add using std::endl
11373
11374         * BufferView.C (moveCursorUpdate): remove default arg
11375
11376 2002-08-20  André Pönitz <poenitz@gmx.net>
11377
11378         * buffer.[Ch]: move inline functions to .C
11379
11380         * BufferView2.C:
11381         * BufferView_pimpl.C:
11382         * text.C:
11383         * buffer.[Ch]: use improved inset_iterator
11384
11385         * buffer.C:
11386         * paragraph.[Ch]: write one paragraph at a time
11387
11388 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11389
11390         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11391         style if style is not specified.
11392
11393 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11394
11395         * text2.C (setCounter): when searching for right label for a
11396         caption, make sure to recurse to parent insets (so that a caption
11397         in a minipage in a figure float works) (bug #568)
11398
11399 2002-08-20  André Pönitz <poenitz@gmx.net>
11400
11401         * text3.C: new file for LyXText::dispatch() and helpers
11402
11403         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11404
11405         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11406
11407 2002-08-19  André Pönitz <poenitz@gmx.net>
11408
11409         * lyxtext.h:
11410         * text.C: new LyXText::dispatch()
11411
11412         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11413
11414 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11415
11416         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11417
11418         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11419         Hebrew text.
11420
11421 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * Makefile.am: use $(variables) instead of @substitutions@
11424
11425 2002-08-15  André Pönitz <poenitz@gmx.net>
11426
11427         * lyxfunc.C:
11428         * BufferView_pimpl.C: streamlining mathed <-> outer world
11429         interaction
11430
11431         * commandtags.h:
11432         * LyXAction.C: remove unused LFUN_MATH
11433
11434 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11435
11436         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11437
11438 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11439
11440         * paragraph.C (Paragraph): reformat a bit
11441         (cutIntoMinibuffer): use builtin InsetList function instad of
11442         doing it manually.
11443         (getInset): ditto
11444
11445         * buffer.C: include boost/bind.hpp, add using std::for_each
11446         (writeFileAscii): use ParagraphList iterators
11447         (validate): use for_each for validate traversal of paragraphs
11448         (getBibkeyList): use ParagraphList iterators
11449         (resizeInsets): use for_each to resizeInsetsLyXText for all
11450         paragraphs.
11451         (getParFromID): use ParagraphList iterators
11452
11453         * BufferView2.C (lockInset): use paragraph list and iterators
11454
11455 2002-08-14  John Levon  <levon@movementarian.org>
11456
11457         * lyxserver.C: remove spurious xforms include
11458
11459 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11460
11461         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11462
11463 2002-08-13  André Pönitz <poenitz@gmx.net>
11464
11465         * LyXAction.[Ch]:
11466         * lyxfunc.C: further cleaning
11467
11468 2002-08-13  André Pönitz <poenitz@gmx.net>
11469
11470         * funcrequest.h: new constructor
11471
11472         * funcrequest.C: move stuff here from .h
11473
11474         * Makefile.am:
11475         * BufferView_pimpl.C:
11476         * LyXAction.C:
11477         * toc.C:
11478         * lyxfunc.C: subsequent changes
11479
11480         * lyxfunc.h: new view() member function
11481
11482         * lyxfunc.C: subsequent changes
11483
11484 2002-08-13  Angus Leeming  <leeming@lyx.org>
11485
11486         * BufferView2.C:
11487         * BufferView_pimpl.C:
11488         * buffer.C:
11489         * converter.C:
11490         * importer.C:
11491         * lyxfunc.C:
11492         * lyxvc.C:
11493         * toc.C:
11494         * vc-backend.C:
11495         changes due to the changed LyXView interface that now returns references
11496         to member variables not pointers.
11497
11498 2002-08-13  Angus Leeming  <leeming@lyx.org>
11499
11500         * WordLangTuple (word, lang_code): return references to strings,
11501         not strings.
11502
11503         * BufferView.h:
11504         * SpellBase.h:
11505         * lyxtext.h: forward-declare WordLangTuple.
11506
11507         * BufferView2.C:
11508         * ispell.C:
11509         * pspell.C:
11510         * text.C: #include "WordLangTuple.h".
11511
11512         * lyxtext.h:
11513         * text.C: (selectNextWordToSpellcheck): constify return type.
11514
11515 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11516
11517         * buffer.C:
11518         * buffer.h:
11519         * lyxtext.h:
11520         * paragraph.C:
11521         * paragraph_pimpl.h:
11522         * text.C:
11523         * text2.C:
11524         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11525         suggested by Angus.
11526         Made updateCounter always count from start of buffer, and removed
11527         second argument (par).
11528         Reverted floats number display to '#'. Perhaps I'll try again when the
11529         code base is sanitized a bit.
11530
11531 2002-08-12  Angus Leeming  <leeming@lyx.org>
11532
11533         * buffer.[Ch] (getLabelList): constify.
11534
11535 2002-08-07  André Pönitz <poenitz@gmx.net>
11536
11537         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11538
11539         * funcrequest.h: extension to keep mouse (x,y) position
11540
11541 2002-08-12  Juergen Vigna  <jug@sad.it>
11542
11543         * BufferView2.C (insertErrors): forbid undo when inserting error
11544         insets.
11545
11546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11547
11548 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11549
11550         * ParagraphList.[Ch]: new files
11551
11552         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11553
11554         * BufferView2.C (lockInset): ParagraphList changes
11555         * toc.C: ditto
11556         * text2.C: ditto
11557         * bufferlist.C: ditto
11558         * buffer.h: ditto
11559         * buffer.C: ditto
11560
11561 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11562
11563         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11564         unused class variable counter_,
11565
11566         * paragraph.[Ch] (getFirstCounter): delete unused function
11567
11568         * counters.C: include LAssert.h
11569         (reset): add a new function with no arg, change other version to
11570         not have def. arg and to not allow empty arg.
11571
11572         * text2.C (setCounter): remove empty arg from call to Counters::reset
11573
11574 2002-08-11  John Levon  <levon@movementarian.org>
11575
11576         * Makefile.am: add WordLangTuple.h
11577
11578 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11579
11580         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11581         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11582
11583         * insets/insettext.C: InsetList changes
11584
11585         * graphics/GraphicsSupport.C (operator()): InsetList changes
11586
11587         * toc.C (getTocList): InsetList changes
11588
11589         * paragraph_pimpl.[Ch]: InsetList changes
11590
11591         * paragraph.[Ch]: InsetList changes
11592
11593         * buffer.C (inset_iterator): InsetList changes
11594         (setParagraph): ditto
11595         * buffer.h (inset_iterator): ditto
11596         * iterators.C (operator++): ditto
11597         * iterators.h: ditto
11598
11599         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11600
11601         * InsetList.[Ch]: new files, most InsetList handling moved out of
11602         paragraph.C.
11603
11604         * BufferView2.C (removeAutoInsets): InsetList changes
11605         (lockInset): ditto
11606         (ChangeInsets): ditto
11607
11608 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11609
11610         * paragraph_pimpl.h (empty): new function
11611
11612         * paragraph.[Ch] (empty): new function
11613
11614         * other files: use the new Paragraph::empty function
11615
11616 2002-08-09  John Levon  <levon@movementarian.org>
11617
11618         * lyxtext.h: remove unused refresh_height
11619
11620 2002-08-09  John Levon  <levon@movementarian.org>
11621
11622         * Makefile.am:
11623         * sgml.h:
11624         * sgml.C:
11625         * buffer.C:
11626         * paragraph.h:
11627         * paragraph.C: move sgml char escaping out of paragraph
11628
11629         * paragraph.h:
11630         * paragraph.C: remove id setter
11631
11632         * buffer.C:
11633         * paragraph.C:
11634         * paragraph_pimpl.C: remove dead tex_code_break_column
11635
11636         * bufferview_funcs.C: small cleanup
11637
11638         * lyxfunc.C: remove dead proto
11639
11640         * lyxtext.h: make some stuff private. Remove some dead stuff.
11641
11642         * lyxgluelength.C: make as[LyX]String() readable
11643
11644 2002-08-08  John Levon  <levon@movementarian.org>
11645
11646         * LyXAction.h:
11647         * LyXAction.C:
11648         * MenuBackend.C:
11649         * ToolbarDefaults.C:
11650         * lyxfunc.C:
11651         * lyxrc.C:
11652         * toc.C: lyxaction cleanup
11653
11654 2002-08-08  John Levon  <levon@movementarian.org>
11655
11656         * BufferView2.C: small cleanup
11657
11658         * lyxfind.h:
11659         * lyxfind.C: move unnecessary header into the .C
11660
11661 2002-08-08  John Levon  <levon@movementarian.org>
11662
11663         * funcrequest.h: just tedious nonsense
11664
11665         * lyx_main.h:
11666         * lyx_main.C: cleanups
11667
11668         * buffer.C:
11669         * vspace.C: remove dead header lyx_main.h
11670
11671 2002-08-07  Angus Leeming  <leeming@lyx.org>
11672
11673         * Paragraph.[Ch]:
11674         * paragraph_pimpl.h:
11675         Forward declare class Counters in paragraph.h by moving the ctrs member
11676         variable into Paragraph::Pimpl.
11677         (counters): new method, returning a reference to pimpl_->ctrs.
11678
11679         * text2.C: ensuing changes.
11680
11681 2002-08-07  John Levon  <levon@movementarian.org>
11682
11683         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11684
11685         * BufferView_pimpl.C: announce X selection on double/triple
11686           click
11687
11688         * lyx_main.C: use correct bool in batch dispatch
11689
11690         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11691
11692 2002-08-07  André Pönitz <poenitz@gmx.net>
11693
11694         * funcrequest.h: new class to wrap a kb_action and its argument
11695
11696         * BufferView.[Ch]:
11697         * BufferView_pimpl[Ch]:
11698         * LaTeX.C:
11699         * LyXAction.[Ch]:
11700         * lyxfunc.[Ch]:
11701         * lyxrc.C: subsequent changes
11702
11703
11704 2002-08-07  John Levon  <levon@movementarian.org>
11705
11706         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11707           document options change.
11708
11709 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11710
11711         * counters.[Ch]
11712         * text2.C
11713         * paragraph.[Ch]
11714         * makefile.am: move counters functionality over from
11715         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11716
11717 2002-08-06  John Levon  <levon@movementarian.org>
11718
11719         * WordLangTuple.h: new file for word + language code tuple
11720
11721         * SpellBase.h:
11722         * pspell.h:
11723         * pspell.C:
11724         * ispell.h:
11725         * ispell.C:
11726         * lyxtext.h:
11727         * text.C:
11728         * text2.C:
11729         * BufferView.h:
11730         * BufferView2.C: use WordLangTuple
11731
11732         * layout.h:
11733         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11734
11735 2002-08-06  John Levon  <levon@movementarian.org>
11736
11737         * lyx_main.C: fix cmdline batch handling
11738
11739 2002-08-06  André Pönitz <poenitz@gmx.net>
11740
11741         * lyxrc.C: set default for show_banner to true
11742
11743 2002-08-06  John Levon  <levon@movementarian.org>
11744
11745         * pspell.C: fix a crash, and allow new aspell to work
11746
11747 2002-08-06  John Levon  <levon@movementarian.org>
11748
11749         * lyxfunc.C:
11750         * kbmap.C: small cleanup
11751
11752         * vspace.h:
11753         * vspace.C: add const
11754
11755 2002-08-05  John Levon  <levon@movementarian.org>
11756
11757         * LyXAction.C: back to tabular-insert
11758
11759 2002-08-04  John Levon  <levon@movementarian.org>
11760
11761         * BufferView.h:
11762         * BufferView.C: cosmetic change
11763
11764         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11765
11766         * bufferlist.C:
11767         * buffer.h:
11768         * buffer.C:
11769         * lyxcb.h:
11770         * lyxcb.C:
11771         * lyxserver.C:
11772         * lyxvc.C:
11773         * vc-backend.C:
11774         * BufferView2.C: purge all "Lyx" not "LyX" strings
11775
11776         * lyxcursor.h:
11777         * lyxcursor.C: attempt to add some documentation
11778
11779         * lyxfunc.C:
11780         * commandtags.h:
11781         * LyXAction.C:
11782         * ToolbarDefaults.C:
11783         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11784           merge with LFUN_TABULAR_INSERT
11785
11786         * Makefile.am:
11787         * SpellBase.h:
11788         * ispell.h:
11789         * ispell.C:
11790         * pspell.h:
11791         * pspell.C: split up i/pspell implementations into separate
11792           files, many cleanups
11793
11794         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11795
11796         * text2.C: some cleanup
11797
11798         * lyxfunc.C: don't check for isp_command == "none" any more, it
11799           didn't make any sense
11800
11801 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11802
11803         * counters.[Ch]
11804         * text2.C
11805         * paragraph.[Ch]
11806         * makefile.am: move counters functionality over
11807         from text2.C/paragraph.[Ch] to counters.[Ch], and
11808         make proper C++.
11809 2002-08-02  John Levon  <levon@movementarian.org>
11810
11811         * buffer.C: s/lyxconvert/lyx2lyx/
11812
11813 2002-08-02  Angus Leeming  <leeming@lyx.org>
11814
11815         * lyxlex.C: revert John's change as it breaks reading of the user
11816         preamble.
11817
11818 2002-08-02  Angus Leeming  <leeming@lyx.org>
11819
11820         * importer.C (Import):
11821         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11822         changes due to LyXView::view() now returning a boost::shared_ptr.
11823
11824 2002-08-02  John Levon  <levon@movementarian.org>
11825
11826         * lyxlex.C: small cleanup
11827
11828 2002-08-02  John Levon  <levon@movementarian.org>
11829
11830         * text2.C (status): small cleanup, no logic change
11831
11832 2002-08-01  John Levon  <levon@movementarian.org>
11833
11834         * buffer.h:
11835         * buffer.C (writeFile): don't output alerts, caller
11836           handles this
11837
11838         * bufferlist.C:
11839         * lyx_cb.C: from above
11840
11841         * lyxfunc.C: allow to open non-existent files
11842
11843 2002-07-31  John Levon  <levon@movementarian.org>
11844
11845         * lyxserver.C: don't let incidental errors get
11846           in the way (errno)
11847
11848 2002-07-30  John Levon  <levon@movementarian.org>
11849
11850         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11851
11852 2002-07-30  John Levon  <levon@movementarian.org>
11853
11854         * lyxserver.h:
11855         * lyxserver.C: remove I/O callback too
11856
11857 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11860         log.
11861
11862 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11863
11864         * many files: strip,frontStrip -> trim,ltrim,rtrim
11865
11866 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11867
11868         * PrinterParams.h: remove extern containsOnly, and include
11869         support/lstrings.h instead.
11870
11871         * LaTeX.C (scanAuxFile): modify because of strip changes
11872         (deplog): ditto
11873         * buffer.C (makeLaTeXFile): ditto
11874         * bufferparams.C (writeFile): ditt
11875         * lyxfont.C (stateText): ditto
11876         * lyxserver.C (read_ready): ditto
11877         * vc-backend.C (scanMaster): ditto
11878
11879         * BufferView_pimpl.h: ws changes
11880
11881         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11882
11883 2002-07-26  André Pönitz <poenitz@gmx.net>
11884
11885         * kb_sequence.C: remove unnedred usings
11886
11887 2002-07-26  Juergen Vigna  <jug@sad.it>
11888
11889         * lyxfind.C (LyXReplace): we have to check better if the returned
11890         text is not of theLockingInset()->getLockingInset().
11891
11892 2002-07-25  Juergen Vigna  <jug@sad.it>
11893
11894         * lyxfind.C (LyXReplace): don't replace if we don't get the
11895         right LyXText.
11896
11897         * undo_funcs.C (createUndo): remove debugging code.
11898
11899 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11900
11901         * buffer.C (parseSingleLyXformat2Token): Use default placement
11902         when reading old floats.
11903
11904         * FloatList.C (FloatList): Change the default placement of figure
11905         and tables to "tbp".
11906
11907 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * MenuBackend.C: using std::max
11910
11911 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * MenuBackend.C (expandToc):
11914         (expandToc2): code moved from xforms menu frontend. It is now
11915         generic and TOCs are transparent to menu frontends.
11916
11917 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * toc.C (getTocList): protect against buf=0
11920
11921         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11922         Menu as first parameter. Now, this calls itself recursively to
11923         expand a whole tree (this will be useful for TOC handling)
11924         (expandFloatInsert): remove 'wide' version of floats
11925
11926         * MenuBackend.h (submenuname): returns the name of the submenu.
11927         (submenu): returns the submenu itself, provided it has been
11928         created by MenuBackend::expand
11929
11930 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11933         insets which have noFontChange == true. (bug #172)
11934
11935 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * BufferView_pimpl.C: add connection objects and use them...
11938         (Pimpl): here.
11939
11940 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * MenuBackend.C (expandLastfiles):
11943         (expandDocuments):
11944         (expandFormats):
11945         (expandFloatListInsert):
11946         (expandFloatInsert):
11947         (expand): split expand in parts
11948
11949 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * lyx_gui.C: use lyx_gui::exit()
11952
11953 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * LyXAction.C: show the failing pseudo action
11956
11957 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11958
11959         * buffer.C (readFile): Run the lyxconvert script in order to read
11960         old files.
11961
11962 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * LyXAction.C:
11965         * commandtags.h:
11966         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11967
11968 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * LyXAction.C:
11971         * commandtags.h:
11972         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11973
11974 2002-07-22  Herbert Voss  <voss@lyx.org>
11975
11976         * lengthcommon.C:
11977         * lyxlength.[Ch]: add support for the vertical lengths
11978
11979 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * toc.[Ch]: std:: fixes
11982
11983 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * lyxrc.C: do not include lyx_main.h
11986
11987         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11988         for layouts
11989
11990         * lyxrc.C:
11991         * encoding.C:
11992         * bufferlist.C:
11993         * BufferView2.C: include "lyxlex.h"
11994
11995         * tabular.h:
11996         * bufferparams.h: do not #include "lyxlex.h"
11997
11998         * lyxtextclasslist.C (Add): remove method
11999         (classlist): renamed to classlist_
12000
12001         * paragraph_pimpl.C:
12002         * paragraph.C:
12003         * text2.C:
12004         * CutAndPaste.C:
12005         * bufferview_funcs.C:
12006         * bufferlist.C:
12007         * text.C:
12008         * LaTeXFeatures.C:
12009         * buffer.C:
12010         * toc.C (getTocList): use BufferParams::getLyXTextClass
12011
12012         * toc.C (getTocList): use InsetFloat::addToToc
12013
12014         * toc.[Ch]: new files, containing helper functions to handle table
12015         of contents
12016
12017         * lyxfunc.C (dispatch): no need to remove spaces around command
12018         given as a string
12019         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12020         first command of the sequence; it is not very clever, but I do not
12021         have a better idea, actually
12022
12023         * LyXAction.C (LookupFunc): make sure to remove space at the
12024         beginning and end of the command
12025
12026 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * MenuBackend.C (getMenubar): new method: return the menubar of
12029         this menu set
12030         (read): treat differently reading of menu and menubar (in
12031         particular, the menubar has no name now)
12032         (Menu::menubar): remove
12033
12034         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12035         saving is finished
12036
12037 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12038
12039         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12040         a bibitem inset in a RTL paragraph.
12041
12042 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * paragraph_pimpl.C: constify
12045
12046         * BufferView_pimpl.C:
12047         * LaTeX.C:
12048         * lyxfunc.C: fix dispatch in a nicer way
12049
12050 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * lyxfunc.C (dispatch):
12053         * BufferView_pimpl.C:
12054         * BufferView_pimpl.h:
12055         * BufferView.C:
12056         * BufferView.h: rename Dispatch() to dispatch()
12057
12058         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12059
12060         * lyxlayout.C (Read): honor DependsOn tag
12061
12062         * lyxlayout.[Ch] (depends_on): new method
12063
12064         * version.C.in: update lyx_docversion
12065
12066         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12067
12068         * paragraph.C (validate): remove from here...
12069         * paragraph_pimpl.C (validate): ... and move here
12070         (isTextAt): make it const
12071
12072         * buffer.C (getLists): ws cleanup
12073
12074 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12075
12076         * language.C (read): Use iso8859-1 encoding in latex_lang
12077         (this prevents LyX from crashing when using iso10646-1 encoding).
12078
12079 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12080
12081         * text2.C (toggleInset): if cursor is inside an inset, close the
12082         inset and leave cursor _after_ it
12083
12084 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * lyxfunc.C: move minibuffer completion handling out of here
12087
12088 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * BufferView_pimpl.C:
12091         * LaTeX.C: fix dispatch calls
12092
12093 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * text.C (drawChars): Fix Arabic text rendering.
12096
12097 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * LyXAction.C:
12100         * commandtags.h:
12101         * lyxfunc.C: remove message-push/pop
12102
12103         * lyxserver.C:
12104         * lyxfunc.h:
12105         * lyxfunc.C: rationalise some code by removing verboseDispatch
12106           in favour of a bool argument to dispatch()
12107
12108 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12109
12110         * lyx_main.C (init): make sure to read symlinks as absolute paths
12111
12112 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * lyxfunc.h:
12115         * lyxfunc.C: no need for commandshortcut to be a member
12116
12117 2002-07-15  André Pönitz <poenitz@gmx.net>
12118
12119         * converter.C: add support for $$s (scripts from lib/scripts dir)
12120         * lyx_main.C: white space
12121
12122 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * bufferlist.C:
12125         * lyxrc.h:
12126         * lyxrc.C: remove second exit confirmation
12127
12128 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * BufferView.h:
12131         * BufferView.C:
12132         * BufferView2.C:
12133         * BufferView_pimpl.h:
12134         * BufferView_pimpl.C:
12135         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12136
12137 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * MenuBackend.C (expand): add numeric shortcuts to document menu
12140
12141         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12142
12143 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12144
12145         * lyxfont.C (setLyXFamily):
12146         (setLyXSeries):
12147         (setLyXShape):
12148         (setLyXSize):
12149         (setLyXMisc):
12150         (lyxRead):
12151         * debug.C (value):
12152         * buffer.C (asciiParagraph): use ascii_lowercase
12153
12154 2002-07-15  Mike Fabian  <mfabian@suse.de>
12155
12156         * lyxlex_pimpl.C (search_kw):
12157         * lyxlex.C (getLongString):
12158         * converter.h (operator<):
12159         * converter.C (operator<):
12160         * buffer.C (parseSingleLyXformat2Token):
12161         (asciiParagraph):
12162         * ToolbarDefaults.C (read):
12163         * MenuBackend.C (checkShortcuts):
12164         (read):
12165         * LColor.C (getFromGUIName):
12166         (getFromLyXName): use the compare_ascii_no_case instead of
12167         compare_no_case, because in turkish, 'i' is not the lowercase
12168         version of 'I', and thus turkish locale breaks parsing of tags.
12169
12170 2002-07-16  Angus Leeming  <leeming@lyx.org>
12171
12172         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12173         now takes a Buffer const & argument.
12174
12175 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * BufferView.C (resize): check there's a buffer to resize
12178
12179 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * lyxfunc.C: remove dead code
12182
12183         * lyxserver.h:
12184         * lyxserver.C: use lyx_guii::set_read_callback
12185
12186 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12187
12188         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12189         an inset in a RTL paragraph.
12190
12191 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * lyxfunc.C: repaint after a font size update
12194
12195 2002-07-15  André Pönitz <poenitz@gmx.net>
12196
12197         * lyxlength.C: inBP should be able to return negative values
12198
12199 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * lyxfunc.C: use lyx_gui::update_fonts()
12202
12203 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * lyxfunc.C: use lyx_gui::update_color()
12206
12207 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * bufferlist.C:
12210         * lyxfunc.h:
12211         * lyxfunc.C:
12212         * lyxrc.h:
12213         * lyxrc.C: remove file->new asks for name option, and let
12214           buffer-new take an argument
12215
12216 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView_pimpl.C: remove unneeded extra repaint()
12219
12220 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * LyXAction.C: allow command-sequence with NoBuffer
12223
12224         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12225
12226 2002-07-10  Angus Leeming  <leeming@lyx.org>
12227
12228         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12229
12230 2002-07-09  Angus Leeming  <leeming@lyx.org>
12231
12232         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12233
12234 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * lengthcommon.h: whitespace
12237
12238         * lyxfunc.C: update scrollbar after goto paragraph
12239
12240         * lyxtext.h: factor out page break drawing, and fix it so
12241           page break/added space paints as selected nicely
12242
12243 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * BufferView_pimpl.C: add FIXMEs, clean up a little
12246
12247 2002-07-09  André Pönitz <poenitz@gmx.net>
12248
12249         * lyxfont.[Ch]: support for wasy symbols
12250
12251 2002-07-08  André Pönitz <poenitz@gmx.net>
12252
12253         * BufferView_pimpl.C: apply John's patch for #93.
12254
12255 2002-07-05  Angus Leeming  <leeming@lyx.org>
12256
12257         * BufferView_pimpl.C (buffer): generate previews if desired.
12258
12259         * LColor.h: add "preview" to the color enum.
12260
12261         * LColor.C (LColor): add a corresponding entry to the items array.
12262
12263         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12264         with this buffer.
12265
12266 2002-07-05  Angus Leeming  <leeming@lyx.org>
12267
12268         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12269         The body of the code is now in the method that is passed an ostream &
12270         rather than a file name.
12271         Pass an additional only_preamble parameter, useful for the forthcoming
12272         preview stuff.
12273
12274 2002-07-03  André Pönitz <poenitz@gmx.net>
12275
12276         * lyxfunc.C: simplify getStatus() a bit for math stuff
12277
12278 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12281
12282 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * text.C (changeRegionCase): do not change case of all the
12285         document when region ends at paragraph end (bug #461)
12286
12287 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12288
12289         * paragraph.C (startTeXParParams):
12290         (endTeXParParams): add \protect when necessary
12291
12292 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12293
12294         * BufferView_pimpl.C (workAreaExpose): remove warning
12295
12296 2002-06-27  Angus Leeming  <leeming@lyx.org>
12297
12298         * Makefile.am: add lyxlayout_ptr_fwd.h.
12299
12300 2002-06-26  André Pönitz <poenitz@gmx.net>
12301
12302         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12303
12304 2002-06-25  Angus Leeming  <leeming@lyx.org>
12305
12306         * lyxfunc.C (dispatch): Comment out the call to
12307         grfx::GCache::changeDisplay. The method no longer exists now that the
12308         pixmap generation part of the graphics loader has been moved into
12309         InsetGraphics.
12310
12311 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * text2.C: layout as layout
12314
12315         * text.C: layout as layout
12316
12317         * tabular.C (OldFormatRead): layout as layout
12318
12319         * paragraph_pimpl.C (TeXDeeper): layout as layout
12320         (realizeFont): layout as layout
12321
12322         * paragraph.C (writeFile): layout as layout
12323         (validate): layout as layout
12324         (getFont): layout as layout
12325         (getLabelFont): layout as layout
12326         (getLayoutFont): layout as layout
12327         (breakParagraph): layout as layout
12328         (stripLeadingSpaces): layout as layout
12329         (getEndLabel): layout as layout
12330         (getMaxDepthAfter): layout as layout
12331         (applyLayout): layout as layout
12332         (TeXOnePar): layout as layout
12333         (simpleTeXOnePar): layout as layout
12334         (TeXEnvironment): layout as layout
12335         (layout): layout as layout
12336         (layout): layout as layout
12337
12338         * lyxtextclass.C (compare_name): new functor to work with
12339         shared_ptr, layout as layout
12340         (Read): layout as layout
12341         (hasLayout): layout as layout
12342         (operator): layout as layout
12343         (delete_layout): layout as layout
12344         (defaultLayout): layout as layout
12345
12346         * lyxlayout_ptr_fwd.h: new file
12347
12348         * lyxlayout.C (Read): layout as layout
12349
12350         * lyx_cb.C (MenuInsertLabel): layout as layout
12351
12352         * bufferlist.C (newFile): layout as layout
12353
12354         * buffer.C (readLyXformat2): layout as layout
12355         (parseSingleLyXformat2Token): layout as layout
12356         (insertStringAsLines): layout as layout
12357         (asciiParagraph): layout as layout
12358         (latexParagraphs): layout as layout
12359         (makeLinuxDocFile): layout as layout
12360         (simpleLinuxDocOnePar): layout as layout
12361         (makeDocBookFile): layout as layout
12362         (simpleDocBookOnePar): layout as layout
12363         (getLists): layout as layout
12364
12365         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12366
12367         * CutAndPaste.C (cutSelection): layout as layout
12368         (pasteSelection): layout as layout
12369         (SwitchLayoutsBetweenClasses): layout as layout
12370
12371         * BufferView_pimpl.C (Dispatch): layout as layout
12372         (smartQuote): layout as layout
12373
12374         * BufferView2.C (unlockInset): layout as layout
12375
12376 2002-06-24  André Pönitz <poenitz@gmx.net>
12377
12378         * lyxfunc.C: fix #487
12379
12380 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * lyxrc.h:
12383         * lyxrc.C:
12384         * lyxfunc.C: remove display_shortcuts, show_banner
12385
12386 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * Buffer_pimpl.C: oops, update on resize
12389
12390 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * buffer.C:
12393         * converter.C:
12394         * exporter.C:
12395         * lyxfunc.C:
12396         * BufferView.h:
12397         * BufferView.C: use repaint()
12398
12399         * BufferView_pimpl.h:
12400         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12401           as it's a clearer description. Remove superfluous
12402           redraws.
12403
12404 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * text.C: fix bug 488. Not ideal, but getting
12407           getWord() to work properly for the insets that
12408           matter is more difficult ...
12409
12410 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * BufferView_pimpl.C:
12413         * LyXAction.C:
12414         * commandtags.h:
12415         * lyxfunc.C: remove the six million index lyxfuncs to just
12416           one, and DTRT (bug 458)
12417
12418 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * BufferView.h:
12421         * BufferView.C:
12422         * BufferView_pimpl.h:
12423         * BufferView_pimpl.C: clean up resize() stuff,
12424           and unnecessary updateScreen()s
12425
12426 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * BufferView.h:
12429         * BufferView.C:
12430         * BufferView_pimpl.h:
12431         * BufferView_pimpl.C:
12432         * lyxfind.h:
12433         * lyxfind.C:
12434         * minibuffer.C: remove focus management of workarea,
12435           not needed. Use screen's greyOut()
12436
12437 2002-06-17  Herbert Voss  <voss@lyx.org>
12438
12439         * converter.C: (convert) do not post a message, when converting
12440         fails, let the calling function decide what to do in this case
12441
12442 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * lyxfunc.C: tidy up a little
12445
12446 2002-06-16    <alstrup@diku.dk>
12447
12448         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12449         Got rid of FORMS_H_LOCATION include. Now we are
12450         GUII.
12451
12452 2002-06-15  LyX Development team  <lyx@rilke>
12453
12454         * buffer.[Ch] (sgmlOpenTag):
12455         (sgmlCloseTag): Added support for avoiding pernicious mixed
12456         content. Return number of lines written.
12457
12458         (makeLinuxDocFile):
12459         (makeDocBookFile): Fixed calls to sgml*Tag.
12460         Simple white space clean.
12461
12462         (simpleDocBookOnePar): Simple white space clean.
12463
12464         * tabular.[Ch] (docBook): Renamed to docbook and got another
12465         argument to related with the pernicious mixed content.
12466
12467         (docbookRow): Fixed calls for docbook inset method.
12468
12469 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12470
12471         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12472         so it's X11 independent.
12473
12474         * kb*.[Ch]: ditto.
12475
12476         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12477
12478 2002-06-15  Lyx Development team  <lyx@electronia>
12479
12480         * intl.h: Renamed getTrans to getTransManager.
12481
12482 2002-06-14  Angus Leeming  <leeming@lyx.org>
12483
12484         * Makefile.am: nuke forgotten stl_string_fwd.h.
12485
12486 2002-06-12  Angus Leeming  <leeming@lyx.org>
12487
12488         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12489
12490 2002-06-13  Angus Leeming  <leeming@lyx.org>
12491
12492         * LaTeX.C:
12493         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12494
12495 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12496
12497         * kbmap.C (getiso): add support for cyrillic and greek
12498
12499 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * BufferView.h:
12502         * BufferView.C:
12503         * BufferView_pimpl.h:
12504         * BufferView_pimpl.C: move bogus scrolling logic
12505           to xforms
12506
12507 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * lyxfunc.C:
12510         * BufferView_pimpl.C: view->resize() change
12511
12512 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * BufferView_pimpl.C: topCursorVisible
12515           prototype change
12516
12517 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * Makefile.am:
12520         * lyx_gui.h:
12521         * lyx_gui.C: move to frontends/
12522
12523         * main.C:
12524         * lyx_main.h:
12525         * lyx_main.C: changes from above
12526
12527 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * intl.C:
12530         * intl.h:
12531         * kbmap.C:
12532         * kbsequence.C:
12533         * lyx_cb.C:
12534         * lyx_main.C: minor tidy
12535
12536 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * BufferView_pimpl.h:
12539         * BufferView_pimpl.C:
12540         * BufferView.h:
12541         * BufferView.C: make painter() const,
12542           remove dead code
12543
12544         * BufferView2.C: use screen() accessor
12545
12546         * lyx_main.h:
12547         * lyx_main.C: some minor cleanup
12548
12549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * BufferView_pimpl.h:
12552         * BufferView_pimpl.C: remove enter/leaveView,
12553           use workHeight()
12554
12555 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * BufferView.h:
12558         * BufferView.C:
12559         * BufferView2.C:
12560         * BufferView_pimpl.h:
12561         * BufferView_pimpl.C: only construct screen once,
12562           rename
12563
12564         * lyxrc.C: remove pointless comment
12565
12566 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * BufferView.h:
12569         * BufferView.C: remove active() and belowMouse()
12570
12571         * BufferView_pimpl.h:
12572         * BufferView_pimpl.C: use workarea() not workarea_,
12573           and make it use a scoped_ptr instead
12574
12575 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * lyx_gui.C: add debug message on BadWindow
12578
12579 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * sp_spell.C: fdopen is not part of the C++ standard.
12582
12583         * paragraph.C (InsetIterator): use >= instead of ==
12584
12585 2002-06-07  Angus Leeming  <leeming@lyx.org>
12586
12587         Fixes needed to compile with Compaq cxx 6.5.
12588         * BufferView_pimpl.C:
12589         * DepTable.C:
12590         * buffer.C:
12591         * converter.C:
12592         * encoding.C:
12593         * lyx_gui.C:
12594         * lyx_main.C:
12595         * lyxtextclasslist.C:
12596         * minibuffer.C:
12597         * sp_spell.C:
12598         * tabular_funcs.C:
12599         * vc-backend.C:
12600         all c-library variables have been moved into namespace std. Wrap
12601         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12602
12603         * lyxlength.C:
12604         * tabular-old.C:
12605         * tabular.C:
12606         Add a using std::abs declaration.
12607
12608         * kbmap.h (modifier_pair):
12609         * paragraph.h (InsetTable, InsetList):
12610         * lyxfont.h (FontBits):
12611         type definition made public.
12612
12613         * bufferlist.C (emergencyWriteAll): the compiler complains that
12614         there is more than one possible lyx::class_fun template to choose from.
12615         I re-named the void specialisation as lyx::void_class_fun.
12616
12617         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12618
12619         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12620         the compiler is is unable to find tostr in write_attribute.
12621
12622 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12623
12624         * buffer.C (sgmlError): hide #warning
12625
12626 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12627
12628         * xtl/*: get rid of xtl, which is not in use anyway
12629
12630         * LyXAction.C (init):
12631         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12632         were unimplemented xtl experimentation
12633
12634 2002-06-04  André Pönitz <poenitz@gmx.net>
12635
12636         * lyxfunc.C: disable array operation on simple formulae
12637
12638 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * converter.C: constify a bit
12641
12642 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyx_gui.C: check xforms version correctly
12645
12646 2002-04-30  Herbert Voss  <voss@lyx.org>
12647
12648         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12649         "keep" option
12650
12651 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12654           attempt to register it with a VCS)
12655
12656 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * lyx_main.C (init): honor variables LYX_DIR_13x and
12659         LYX_USERDIR_13x
12660
12661 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * buffer.h:
12664         * buffer.C:
12665         * lyx_main.C: fix a crash on bad command line,
12666           and give a useful exit status on error
12667
12668         * lyxfunc.C (doImport): allow -i lyx to work
12669
12670 2002-03-30  André Pönitz <poenitz@gmx.net>
12671
12672         * lyxfunc.C: mathed font changes
12673
12674 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * LaTeX.C:
12677         * importer.h:
12678         * importer.C:
12679         * lyx_sty.h:
12680         * lyx_sty.C:
12681         * lyxlex.C:
12682         * lyxrow.h:
12683         * lyxtext.h:
12684         * paragraph.h:
12685         * paragraph.C:
12686         * texrow.h:
12687         * texrow.C:
12688         * text.C:
12689         * trans_mgr.h: srcdocs, and some minor cleanups
12690
12691 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12694         call getFont all the time)
12695
12696 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * switch from SigC signals to boost::signals
12699
12700 2002-05-29  André Pönitz <poenitz@gmx.net>
12701
12702         * paragraph_pimpl.C (getChar): don't call size() too often...
12703
12704 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * paragraph_pimpl.C (insertChar): do not try to update tables when
12707         appending (pos == size())
12708
12709         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12710         in order to reduce drastically the number of comparisons needed to
12711         parse a large document
12712
12713 2002-05-29  André Pönitz <poenitz@gmx.net>
12714
12715         * text.C:
12716         * text2.C:
12717         * lyxtextclass.C:
12718         * sp_pspell.h:
12719         * textclasslist.[Ch]:
12720         * sp_ispell.h: whitespace change
12721
12722 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12723
12724         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12725         lyxaction directly now.
12726
12727 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * trans.C:
12730         * lyxfont.C:
12731         * lyxvc.C: remove unused headers
12732
12733 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * Makefile.am:
12736         * buffer.h:
12737         * undostack.h:
12738         * undostack.C:
12739         * undo_funcs.h:
12740         * undo_funcs.C: some cleanups. Use shared_ptr
12741           and a template for the undo stacks.
12742
12743 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * BufferView_pimpl.h:
12746         * BufferView_pimpl.C:
12747         * kbmap.h:
12748         * kbmap.C:
12749         * kbsequence.h:
12750         * kbsequence.C:
12751         * lyxfunc.h:
12752         * lyxfunc.C:
12753         * text2.C: use key_state/mouse_state
12754
12755 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12758         and LSubstring
12759
12760         * chset.C: change include order
12761         (loadFile): use boost regex and get rid of LRegex and LSubstring
12762
12763         * Makefile.am (BOOST_LIBS): new variable
12764         (lyx_LDADD): use it
12765
12766         * LaTeX.C: change include order.
12767         (scanAuxFile): use boost regex and get rid of LRegex and
12768         LSubstring
12769         (deplog): ditto
12770
12771 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * ColorHandler.h:
12774         * ColorHandler.C:
12775         * FontInfo.h:
12776         * FontInfo.C: moved to frontends/xforms/
12777
12778         * FontLoader.h:
12779         * FontLoader.C: moved into frontends for GUIIzation
12780
12781         * Makefile.am:
12782         * lyx_gui.C:
12783         * lyxfont.C:
12784         * lyxfunc.C: changes from above
12785
12786 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * LColor.C: remove spurious X include
12789
12790         * BufferView_pimpl.C:
12791         * Makefile.am:
12792         * font.h:
12793         * font.C:
12794         * text.C:
12795         * text2.C: move font metrics to frontends/
12796
12797 2002-05-24  Juergen Vigna  <jug@sad.it>
12798
12799         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12800         setting the undo_cursor.
12801
12802         * ParagraphParameters.h: include local includes first.
12803
12804 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12805
12806         * BufferView_pimpl.C:
12807         * BufferView_pimpl.h:
12808         * Makefile.am:
12809         * WorkArea.h:
12810         * WorkArea.C:
12811         * screen.C: move WorkArea into frontends/
12812
12813         * lyxscreen.h:
12814         * screen.C:
12815         * text.C:
12816         * BufferView.C:
12817         * BufferView2.C: move LyXScreen into frontends/
12818
12819         * lyxlookup.h:
12820         * lyxlookup.C:
12821         * lyx_gui.C: move lyxlookup into frontends/xforms/
12822
12823 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * BufferView2.C:
12826         * BufferView_pimpl.C:
12827         * FontLoader.C:
12828         * LyXView.h:
12829         * LyXView.C:
12830         * Makefile.am:
12831         * WorkArea.C:
12832         * XFormsView.h:
12833         * XFormsView.C:
12834         * buffer.C:
12835         * bufferlist.C:
12836         * bufferview_funcs.C:
12837         * converter.C:
12838         * importer.C:
12839         * lyx_cb.C:
12840         * lyx_gui.C:
12841         * lyx_main.C:
12842         * lyx_find.C:
12843         * lyxfunc.C:
12844         * lyxvc.C:
12845         * minibuffer.C:
12846         * text.C:
12847         * text2.C:
12848         * trans.C:
12849         * vc-backend.C: move LyX/XFormsView into frontends/
12850
12851 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * Makefile.am:
12854         * PainterBase.C:
12855         * PainterBase.h:
12856         * Painter.C:
12857         * Painter.h:
12858         * WorkArea.C:
12859         * WorkArea.h:
12860         * screen.C:
12861         * tabular.C:
12862         * text.C:
12863         * text2.C: move Painter to frontends/
12864
12865 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * buffer.C: comment out some some code that depend upon lyx_format
12868         < 220
12869
12870         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12871         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12872
12873         * buffer.h (NO_COMPABILITY): turn off compability
12874
12875         * ColorHandler.C: include scoped_array.hpp
12876
12877         * font.C: Use more specific smart_ptr header.
12878         * Painter.C: ditto
12879         * gettext.C: ditto
12880         * ShareContainer.h: ditto
12881         * lyx_main.h: ditto
12882         * kbmap.h: ditto
12883         * FontInfo.h: ditto
12884         * BufferView_pimpl.h: ditto
12885         * ColorHandler.h: ditto
12886
12887         * kbmap.C (defkey): change call to shared_ptr::reset
12888
12889 2002-05-21  Juergen Vigna  <jug@sad.it>
12890
12891         * buffer.C (insertErtContents): fix to insert ert asis if it is
12892         non empty. Skip it completely if it contains only whitespaces.
12893
12894 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * BufferView_pimpl.C:
12897         * BufferView2.C: clear selection on paste (bug 393)
12898
12899 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * DepTable.C: include ctime
12902
12903 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12906
12907 2002-05-14  Juergen Vigna  <jug@sad.it>
12908
12909         * text.C (breakParagraph): fixed function to honor the keepempty
12910         layout in the right maner and also to permit the right breaking
12911         algorithm on empty or non empyt keepempty paragraphs.
12912
12913         * paragraph.C (breakParagraph): we have to check also if the par
12914         is really empty (!size()) for isempty otherwise we do the wrong
12915         paragraph break.
12916
12917 2002-05-10  Juergen Vigna  <jug@sad.it>
12918
12919         * buffer.[Ch] : The following are only changes to the ert
12920         compatibility read reading old LaTeX layout and font stuff and
12921         convert it to ERTInsets.
12922
12923         * buffer.h: added isErtInset().
12924
12925         * buffer.C (struct ErtComp): add a fromlayout bool to check
12926         if we're inside a LaTeX layout.
12927         (isErtInset): new helper function.
12928         (insertErtContents): look for other ert insets before this one
12929         and insert the contents there, so that we don't have subsequent
12930         ERT insets with nothing between them. This way we create only one
12931         inset with multiple paragraphs. Also check if we don't insert only
12932         spaces ' ' as they are ignored anyway afterwards in the .tex file
12933         so if we have only spaces we will ignore this latex part in the
12934         new file.
12935         (parseSingleLyXformat2Token \\layout): better compatibility when
12936         reading layout-latex stuff.
12937         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12938         language tag.
12939         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12940         stuff after reading the inset only get the information back from
12941         the stack.
12942
12943 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12944
12945         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12946
12947         * LaTeXFeatures.C (getBabelOptions): New method.
12948
12949 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * BufferView_pimpl.C (Dispatch): work around missing argument for
12952         'layout'
12953
12954 2002-05-08  Juergen Vigna  <jug@sad.it>
12955
12956         * text.C (leftMargin): handle paragraph leftindent.
12957
12958         * paragraph.C (writeFile): write the new \\leftindent tag.
12959         (validate): handle leftindent code.
12960         (TeXEnvironment): handle paragraphleftindent code again.
12961
12962         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12963
12964         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12965         for paragrap_extra indent code and new token \\leftindent.
12966         (latexParagraphs): handle the leftindent as environment.
12967
12968         * ParameterStruct.h: added leftindent support.
12969
12970         * ParagraphParameters.C (leftIndent): added support functions for
12971         the paragraph left indent.
12972
12973         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12974         more appropriate.
12975
12976 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12977
12978         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12979         inside insetERT.
12980
12981         * text.C (computeBidiTables): No bidi in insetERT.
12982
12983         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12984         in RTL documents.
12985
12986 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * version.C.in: pre 5
12989
12990 2002-05-02  José Matos  <jamatos@fep.up.pt>
12991         * buffer.C (makeDocBookFile): white space changes, add newline to
12992         command styles.
12993         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12994
12995         * tabular.C (docBook): fix typo.
12996
12997 2002-05-03  Juergen Vigna  <jug@sad.it>
12998
12999         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13000         change in LyXText as we can not be sure it was not freed.
13001         (drawOneRow): remove unused code.
13002
13003         * text.C (drawInset): redo the calculation of the need_break_row as
13004         it could have a row which was already freed.
13005         (draw): look at the return value of drawInset and return false if
13006         it also returned false.
13007         (paintRowText): look at the return value of draw and return false if
13008         it also returned false.
13009
13010         * lyxtext.h: added bool return type to drawInset() and draw() so that
13011         if we have a change in the row so that the rowbreak has to be redone
13012         we abort drawing as it will be called again.
13013
13014 2002-05-02  Juergen Vigna  <jug@sad.it>
13015
13016         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13017         a change in the maintext also if we're inside an inset.
13018         (Dispatch): set the cursor again after a break line and after the
13019         screen has been updated as it could be we're in a different row.
13020
13021         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13022         to set the cursor behind the pargraph with > size().
13023         (setCursor): check also for the same paragraph when checking where
13024         to put the cursor if we have a NFR inset.
13025
13026         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13027         parts of layout read further up as it still was in the wrong
13028         position.
13029
13030 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * screen.C (drawFromTo): change sine fullRebreak always return
13033         true.
13034
13035         * buffer.C (parseSingleLyXformat2Token): reindent some
13036
13037         * BufferView_pimpl.C (update): change since fullRebreak always
13038         return true.
13039         (Dispatch): git rid of the last hardcoded "Standard"s.
13040
13041 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13042
13043         * text2.[Ch] (fullRebreak): make it return void now that we always
13044         returned true.
13045
13046 2002-04-30  Juergen Vigna  <jug@sad.it>
13047
13048         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13049         ert compatibility check for "latex" layout.
13050
13051 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13052
13053         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13054         minipages: use col% instead of p%, and also use the current font.
13055         (makeLaTeXFile): Fix use babel condition.
13056         (parseSingleLyXformat2Token): Correct font when reading old floats.
13057
13058 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13059
13060         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13061         inserting list of floats.
13062
13063 2002-04-25  Herbert Voss  <voss@lyx.org>
13064
13065         * MenuBackend.C (expand): don't add the graphics extensions to the
13066         export menu
13067
13068 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13069
13070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13071         non-existing layout, do not complain if it was the default layout
13072         of the original class (bug #342)
13073
13074 2002-04-24  Juergen Vigna  <jug@sad.it>
13075
13076         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13077         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13078
13079 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13080
13081         * buffer.C (getBibkeyList): If using \bibliography, return the
13082         option field with the reference itself. Enables us to provide natbib
13083         support when using \bibliography.
13084
13085 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13086
13087         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13088
13089         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13090         natbib is provided by the LaTeX class.
13091
13092 2002-04-23  Juergen Vigna  <jug@sad.it>
13093
13094         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13095         Wakeup functions.
13096
13097         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13098
13099 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13100
13101         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13102
13103         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13104         ensuremath around textordmasculine, textordfeminine and
13105         textdegree.
13106
13107 2002-04-19  Juergen Vigna  <jug@sad.it>
13108
13109         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13110         reinitializing the buffer otherwise row-dimensions may be wrong.
13111         (update): reset also the selection cursors if they do exits otherwise
13112         their x/y positions may be wrong.
13113
13114         * text2.C (cursorDown): don't enter the inset if we came from a row
13115         above and are one row over the inset.
13116
13117         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13118         really leaving an inset.
13119
13120 2002-04-18  Juergen Vigna  <jug@sad.it>
13121
13122         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13123         of the selected paragraph does not have the selected layout also if
13124         the last one had!
13125
13126         * text2.C (setLayout): fixed bug which did not change last selected
13127         paragraph.
13128
13129         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13130         changed the read and substituted \\end_float with \\end_inset!
13131
13132         * BufferView_pimpl.C (cursorPrevious):
13133         (cursorNext): fixed to make it work with rows heigher than the work
13134         area without moving the cursor only the draw of the row.
13135         (workAreaMotionNotify): fix jumping over high rows.
13136
13137 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13140         Ressler.
13141
13142 2002-04-16  Juergen Vigna  <jug@sad.it>
13143
13144         * text2.C (setCursor): set also the irow().
13145         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13146         (cursorUp):
13147         (cursorDown): support for locking an inset if the x_fix value goes
13148         inside it. That way I can transverse insets too with cursor up/down.
13149
13150         * lyxrow.h: added irow helper function same as other (i) functions.
13151
13152         * BufferView_pimpl.C (cursorPrevious):
13153         (cursorNext): fixed for insets!
13154
13155 2002-04-15  Juergen Vigna  <jug@sad.it>
13156
13157         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13158         position otherwise it is wrong in some cases.
13159
13160         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13161         inside the inset before the call.
13162
13163 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13164
13165         * buffer.[Ch] (getBibkeyList): make it const.
13166
13167 2002-04-12  Juergen Vigna  <jug@sad.it>
13168
13169         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13170
13171         * text2.C (getCursorX): new helper function
13172         (setCursor): compute also ix_
13173         (setCursorFromCoordinates): set also ix.
13174
13175         * lyxcursor.h: added ix_ and helper functions.
13176
13177         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13178
13179         * buffer.C (insertStringAsLines): dont break paragraph if the this
13180         paragraph is inside an inset which does not permit it!
13181
13182         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13183         also with no chars on this paragraph.
13184         (paintRowText): only paint stuff if it's inside the workarea!
13185
13186         * paragraph.C (breakParagraph): honor keepempty flag and break the
13187         paragraph always below not above.
13188
13189         * BufferView2.C (unlockInset): update the paragraph layout on inset
13190         unlock as we changed paragraph in such a case.
13191
13192         * lyxfind.C (LyXFind): clear the former selection if not found!
13193
13194         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13195         again called in insertChar().
13196
13197         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13198         an inset which uses the whole row!
13199         (rightMargin): ditto.
13200         (insertChar): force a rebreak if we inserted an inset!
13201
13202 2002-03-28  Herbert Voss  <voss@lyx.org>
13203
13204         * lyxlength.[Ch]: add inBP() to get the right PS-point
13205         units (BigPoint). With inPixels we have rounding errors
13206
13207 2002-04-11  Juergen Vigna  <jug@sad.it>
13208
13209         * text2.C (setCursorFromCoordinates): set iy to the right value.
13210         (setCursor): add check if row->previous exists!
13211
13212         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13213         an old float_type as this was the case in the old code!
13214
13215         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13216
13217         * BufferView2.C (showLockedInsetCursor): use iy
13218         (fitLockedInsetCursor): ditto
13219
13220         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13221         locked insets as there we have the right value now.
13222
13223         * lyxcursor.C: added iy_ variable and iy functions to set to the
13224         baseline of cursor-y of the locked inset.
13225
13226         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13227         (setCursor): fixed for insets which need a full row.
13228
13229         * text.C (rowLastPrintable): don't ignore the last space when before
13230         an inset which needs a full row.
13231         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13232         as last character of a row when before a inset which needs a full row.
13233
13234 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * version.C.in: update date
13237
13238         * text2.C (fullRebreak): try to always return true and see what
13239         happens...
13240
13241 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13242
13243         * MenuBackend.C (expand): use Floating::listName
13244
13245         * FloatList.C (FloatList): add listName argument to the built-in
13246         floats
13247
13248         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13249         text associated with the float.
13250
13251 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13252
13253         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13254
13255 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * ShareContainer.h: add a couple of missing typenames.
13258
13259 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * lyxrc.C (getDescription): use _() correctly rather than N_().
13262
13263 2002-03-28  Herbert Voss  <voss@lyx.org>
13264
13265         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13266         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13267
13268 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13271         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13272
13273 2002-03-29  Juergen Vigna  <jug@sad.it>
13274
13275         * lyxfunc.C (dispatch): add a missing fitCursor call.
13276
13277         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13278         it was scrolled by a cursor move, so return the bool status.
13279
13280         * BufferView.C (fitCursor): return the bool flag also to the outside
13281         world as this is needed.
13282
13283         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13284
13285         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13286         call the edit() as it is not needed (and wrong) IMO.
13287         (workAreaButtonPress): set the screen_first variable before evt.
13288         unlock the inset as this may change screen_first and then we have
13289         a wrong y position for the click!
13290
13291 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * MenuBackend.C (expand): another translation that I missed
13294
13295 2002-03-28  Juergen Vigna  <jug@sad.it>
13296
13297         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13298
13299         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13300
13301 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13304
13305         * MenuBackend.C (expand): fix export/view/update when there is no
13306         document open.
13307
13308 2002-03-27  Herbert Voss  <voss@lyx.org>
13309
13310         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13311         and text%
13312
13313 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * bufferview_funcs.C (currentState): only show paragraph number
13316         for is DEVEL_VERSION is set.
13317
13318         * lyxfunc.C (dispatch): put warning in INFO channel
13319
13320         * MenuBackend.C (expand): translate the name of floats
13321
13322         * FloatList.C (FloatList): mark the float names for translation
13323
13324         * converter.C (convert): use LibScriptSearch
13325
13326 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13327
13328         * MenuBackend.C (defaults): fix default menu (we might as well get
13329         rid of it...)
13330
13331 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13334         directory.
13335
13336 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * lyxvc.C: reorder includes.
13339
13340 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13343           properly
13344
13345 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * CutAndPaste.C: change layouts earlier on paste
13348           to avoid crashing when calling getFont()
13349
13350 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13353         irritating #error.
13354
13355 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * WorkArea.C: remove 'Pending' debug message.
13358
13359         * most files: ws cleanup
13360
13361         * buffer.[Ch]: ws changes
13362
13363         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13364
13365 2002-03-21  Juergen Vigna  <jug@sad.it>
13366
13367         * tabular.C (SetMultiColumn): collapse also the contents of the
13368         cells and set the last border right. Added a Buffer const * param.
13369
13370 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13371
13372         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13373         linking or not.
13374
13375 2002-03-19  Juergen Vigna  <jug@sad.it>
13376
13377         * text2.C (clearSelection): reset also xsel_cache.
13378
13379         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13380         where it needs to be called (John tells us to do so too :)
13381         (selectionLost): reset sel_cache.
13382
13383         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13384
13385 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * text2.C (setCursorIntern): put debuging code in INSETS channel
13388
13389 2002-03-19  André Pönitz <poenitz@gmx.net>
13390
13391         * lyxfunc.C: tiny whitespace change
13392
13393 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13394
13395         * ToolbarDefaults.C (init):
13396         * LyXAction.C (init):
13397         * commandtags.h:
13398         * BufferView_pimpl.C (Dispatch):
13399         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13400
13401 2002-03-19  Allan Rae  <rae@lyx.org>
13402
13403         * exporter.C (Export): removeAutoInsets before doing anything else.
13404         While I've just introduced a dependency on BufferView this really is
13405         the best place to clean the buffer otherwise you need to cleanup in
13406         a dozen places before calling export or cleanup in a dozen functions
13407         that export calls.
13408
13409         * converter.C (runLaTeX):
13410         (scanLog): Better handling of removeAutoInsets and screen updates.
13411
13412         * lyxfunc.C (dispatch): small whitespace changes
13413
13414 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * WorkArea.C (C_WorkAreaEvent): return a value.
13417         (event_cb): return 1 if we handled the event, 0 otherwise.
13418
13419         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13420
13421 2002-03-18  Juergen Vigna  <jug@sad.it>
13422
13423         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13424         (GetAdditionalWidth): ditto.
13425         (RightLine): ditto.
13426         (LeftLine): ditto.
13427
13428         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13429         inset if we're there actually (probably not used right now but this
13430         is the direction to go for unifying code).
13431         (paste): disable code to clear the selection.
13432
13433         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13434         inside an InsetText and move the check further up as it is in the
13435         wrong place.
13436
13437         * text2.C (pasteSelection): set a selection over the pasted text.
13438
13439 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13440
13441         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13442         and libgraphics to build on Cygwin.
13443
13444 2002-03-15  Juergen Vigna  <jug@sad.it>
13445
13446         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13447         inserting an Inset into the paragraph. I know this is not the best
13448         fix but we already use current_view in CutAndPaste so we will remove
13449         all of it's using at the same time.
13450
13451         * buffer.C (sgmlError): deactivated function till it is rewritten in
13452         the right mode, now it can create problems.
13453
13454         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13455         before accessing it.
13456
13457 2002-03-14  Juergen Vigna  <jug@sad.it>
13458
13459         * undo_funcs.C (textHandleUndo): do the right thing when updating
13460         the inset after the undo/redo.
13461
13462         * text2.C (setCursor): just some testcode for #44 not ready yet.
13463
13464         * undo_funcs.C (textHandleUndo): set the next() and previous()
13465         pointers of the paragraph to 0 before deleting otherwise we have
13466         problems with the Paragraph::[destructor].
13467
13468         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13469         on a paragraph insertion.
13470
13471 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * buffer.C (asciiParagraph): use += operator for char append to
13474         string.
13475
13476         * paragraph.C (getFontSettings): compare >= not just >
13477         (highestFontInRange): ditto
13478         (setFont): ditto
13479
13480 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * paragraph.C: change several algorithm to be more appripriate for
13483         the problem domain. This is lookip in FontList and in the InsetList.
13484
13485 2002-03-13  André Pönitz <poenitz@gmx.net>
13486
13487         * commandtags.h:
13488         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13489
13490 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * commandtags.h:
13493         * LyXAction.C:
13494         * lyxfunc.C:
13495         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13496
13497 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13498
13499         * Painter.C (display): anon helper function, adjust code for this
13500         change.
13501         (pixmap): remove function.
13502
13503         * Painter.h: remove private display variable.
13504
13505         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13506
13507 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13508
13509         * WorkArea.[Ch]: remove figinset_canvas cruft.
13510
13511 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * lyxtextclass.C (operator): add one item cache optimization.
13514
13515         * bufferlist.h: doxy changes
13516
13517         * bufferlist.C: ws changes
13518
13519         * DepTable.[Ch] (ext_exist): place const in the right spot.
13520
13521         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13522         call resizeInsets.
13523         (workAreaExpose): call resizeInsets when the with BufferView changes.
13524         (Dispatch): adjust for protectedBlank removal
13525         (specialChar): call updateInset if the insert went ok.
13526
13527         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13528         specialChar instead.
13529
13530         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13531
13532         * BufferView.h: doxy change
13533
13534         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13535
13536         * lyxtextclass.C (operator[]): remove non-const version
13537         (defaultLayout): remove non-const version
13538
13539 2002-03-12  Juergen Vigna  <jug@sad.it>
13540
13541         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13542         did resize the LyXText too.
13543
13544         * buffer.C (readLyXformat2): set layout information on newly allocated
13545         paragraphs.
13546
13547         * tabular.C (OldFormatRead): set layout information on the paragraph.
13548
13549 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13550
13551         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13552
13553 2002-03-11  Juergen Vigna  <jug@sad.it>
13554
13555         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13556         plainly wrong.
13557         (resizeCurrentBuffer): force also the insets to resize themselfes.
13558         (moveCursorUpdate): fixed up for InsetText.
13559
13560 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13561
13562         * commandtags.h:
13563         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13564         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13565         value of Dialogs::tooltipsEnabled().
13566         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13567
13568 2002-03-08  Juergen Vigna  <jug@sad.it>
13569
13570         * BufferView_pimpl.C (updateInset): update inset inside inset also
13571         if it isn't inside theLockingInset().
13572
13573 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * buffer.C (asciiParagraph): redo some of the word and line length
13576         handling.
13577         (getLists): look for Caption instead of caption.
13578
13579 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13580
13581         * buffer.C (Buffer): initialize niceFile to true
13582         (makeLaTeXFile):
13583         (makeLinuxDocFile):
13584         (makeDocBookFile): make sure niceFile is true on exit
13585
13586 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13587
13588         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13589
13590 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13591
13592         * LyXSendto.C: remove.
13593         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13594         * lyx_gui.C: remove now-redundant comment.
13595         * ColorHandler.h: remove forward declaration of class WorkArea.
13596         * lyxfunc.C: remove #include "WorkArea.h".
13597
13598 2002-03-07  Juergen Vigna  <jug@sad.it>
13599
13600         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13601         got moved away with the DEPM and also set the inset_owner always
13602         right which before could have been omitted.
13603
13604 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13607         wanted layout is not found.
13608
13609 2002-03-07  Juergen Vigna  <jug@sad.it>
13610
13611         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13612
13613 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * paragraph.C (breakParagraph): use default layout not layout of
13616         prev paragraph.
13617         (Paragraph): clear ParagraphParameters.
13618
13619 2002-03-06  Juergen Vigna  <jug@sad.it>
13620
13621         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13622         otherwise it would not be a valid lenght. Fixed a special case in
13623         the minipage compatibility read where we end the document with a
13624         minipage.
13625
13626         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13627         was set as it could be 0 for InsetTexts first entry.
13628
13629 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * paragraph.C (writeFile): if layout is empty write out
13632         defaultLayoutName().
13633
13634         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13635         file without named layout we set layout to defaultLayoutName().
13636
13637 2002-03-06  Juergen Vigna  <jug@sad.it>
13638
13639         * CutAndPaste.C (copySelection): set layout for new paragraph.
13640
13641         * text.C (prepareToPrint): leave ERT inset left aligned
13642         (leftMargin): don't indent paragraphs inside ERT insets
13643
13644 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * paragraph.C (breakParagraph): dont call clear do the work manually
13647
13648         * paragraph.[Ch] (clear): remove function
13649
13650 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * paragraph.C (Paragraph): dont call clear, the work has already
13653         been done.
13654
13655         * lyxtextclass.C (operator): assert if n is empty
13656
13657         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13658         work manually instead.
13659
13660 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13661
13662         * BufferView_pimpl.C: protect selectionLost against text == 0
13663
13664 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * text.C (breakParagraph): fix a setting layout to '0' problem.
13667
13668 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13669
13670         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13671         final location of file, for the included files, and graphics.
13672
13673 2002-03-05  Juergen Vigna  <jug@sad.it>
13674
13675         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13676
13677 2002-03-04  Juergen Vigna  <jug@sad.it>
13678
13679         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13680
13681         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13682         last column of multicolumn cells.
13683         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13684
13685 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13686
13687         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13688         file if it doesn't go to a temporary file.
13689
13690         * buffer.C (sgmlOpenTag):
13691         (sgmlCloseTag):  remove extra newline insertion.
13692
13693 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * text.C (getRowNearY): comment out debug msg
13696
13697 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13698
13699         * text2.C: first -> first_y
13700
13701         * text.C (getRowNearY): add some attemts at a possible
13702         optimization, not working.
13703
13704         * tabular.[Ch]: add BufferParams to several function so that newly
13705         created paragraph can be initialized to he default layotu for the
13706         buffers textclass.
13707
13708         * tabular-old.C (ReadOld): add buf->params to call of Init
13709
13710         * screen.C: rename text->first to text->first_y
13711
13712         * paragraph.C (breakParagraph): always set layout in the broken
13713         paragraph
13714
13715         * lyxtextclass.C (Read): remove lowercase
13716         (hasLayout): ditto
13717         (operator): ditto
13718         (delete_layout): ditto
13719
13720         * lyxtext.h: rename first -> first_y
13721
13722         * lyxlayout.C (Read): remove lowercase
13723         (name): ditto
13724         (setName): ditto
13725         (obsoleted_by): ditto
13726
13727         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13728
13729         * buffer.C (insertErtContents): add params are to InsetERT
13730         (parseSingleLyXformat2Token): add code to check if a paragraphs
13731         layout really exist.
13732         (parseSingleLyXformat2Token): add params to several inset
13733         constructors
13734         (asciiParagraph): remove lowercase, do the layout comparisons with
13735         no_case
13736
13737         * BufferView_pimpl.C (cursorNext): first -> first_y
13738         (resizeCurrentBuffer): first -> first_y
13739         (updateScrollbar): first -> first_y
13740         (scrollCB): first -> first_y
13741         (workAreaMotionNotify): first -> first_y
13742         (workAreaButtonPress): first -> first_y
13743         (checkInsetHit): first -> first_y
13744         (cursorPrevious): first -> first_y
13745         (cursorNext): first -> first_y
13746         (Dispatch): add buffer_->params to severl inset contructors
13747
13748 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * lyxlayout.C (Read): remove some debug info that I forgot.
13751
13752         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13753         clean up the code slightly.
13754         (makeLinuxDocFile): ditto
13755         (makeDocBookFile): ditto
13756
13757         * text2.C: layout as string
13758
13759         * text.C: layout as string
13760
13761         * paragraph_pimpl.C: layout as string
13762
13763         * paragraph.[Ch]: layout as string
13764
13765         * lyxtextclasslist.[Ch]: layout as string
13766
13767         * lyxtextclass.[Ch]: layout as string
13768
13769         * lyxtext.h: layout as string
13770
13771         * lyxlayout.[Ch]: layout as string
13772
13773         * lyx_cb.C: layout as string
13774
13775         * bufferview_funcs.C: layout as string
13776
13777         * bufferparams.C: layout as string
13778
13779         * buffer.C: layout as string
13780
13781         * LyXView.[Ch]: layout as string
13782
13783         * LaTeXFeatures.[Ch]: layout as string
13784
13785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13786
13787         * BufferView_pimpl.C: change current_layout to string, remove
13788         lyx::layout_type.
13789         (Dispatch):
13790         (smartQuote):
13791         (insertInset):
13792         (workAreaButtonRelease): layout as string
13793
13794         * BufferView2.C (unlockInset): adjust
13795
13796         * vspace.C (asLatexCommand): use an explict temp variable.
13797
13798 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * Makefile.am: use FRONTEND_*
13801
13802 2002-03-01  Juergen Vigna  <jug@sad.it>
13803
13804         * tabular.C (SetWidthOfMulticolCell): changed to something better
13805         I hope but still work in progress.
13806         (recalculateMulticolumnsOfColumn): renamed function from
13807         recalculateMulticolCells as it is more appropriate now.
13808         (SetWidthOfCell): calculate multicols better.
13809
13810 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13811
13812         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13813
13814         * lyxfunc.C (processKeySym): print sequence also if it is
13815         `deleted' (complete)
13816
13817         * kbsequence.C (print): print sequence even if it is deleted
13818         (complete would be a better word, actually).
13819
13820         * lyxfunc.C (dispatch): print complete options after a prefix key
13821
13822         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13823
13824 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13825
13826         * text2.C (setCharFont): eliminate setCharFont code duplication.
13827
13828 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13829
13830         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13831         LFUN_TABULAR_FEATURE (bug #177)
13832
13833 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13834
13835         * Makefile.am: remove figure.h
13836
13837 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13838
13839         * Bufferview_pimpl.C:
13840         * CutAndPasteC:
13841         * LaTeX.C:
13842         * LyXSendto.C:
13843         * buffer.C:
13844         * bufferlist.C:
13845         * converter.C:
13846         * language.C:
13847         * lyxfunc.C:
13848         * lyxvc.C:
13849         * paragraph.C:
13850         * text.C:
13851         * text2.C: remove #include "lyx_gui_misc.h".
13852
13853         * LaTeX.C: added #include <cstdio>
13854
13855 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13856
13857         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13858         that the paragraph following this one can have.
13859
13860         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13861
13862         * vspace.C (asLatexCommand): fix bogus gcc warning
13863
13864         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13865
13866 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13867
13868         * text2.C (setLayout): get rid of redundant code
13869
13870 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13871
13872         * text2.C (incDepth): make sure depth cannot be increased beyond
13873         reasonable values.
13874
13875 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13878         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13879
13880         * PainterBase.h (image):
13881         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13882         a LyXImage const *.
13883
13884 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13885
13886         * BufferView.C:
13887         * BufferView.h:
13888         * BufferView_pimpl.C:
13889         * BufferView_pimpl.h:
13890         * LaTeXFeatures.C:
13891         * LyXAction.C:
13892         * LyXView.C:
13893         * Makefile.am:
13894         * UpdateList.h:
13895         * UpdateList.C:
13896         * buffer.C:
13897         * figure.h:
13898         * figureForm.C:
13899         * figureForm.h:
13900         * figure_form.C:
13901         * figure_form.h:
13902         * lyx_cb.C:
13903         * lyx_gui.C:
13904         * lyx_gui_misc.C:
13905         * lyxfunc.C:
13906         * sp_base.h:
13907         * sp_ispell.h:
13908         * sp_pspell.h:
13909         * sp_spell.C: remove fig inset, and the crap house of
13910           cards that follows it
13911
13912 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13913
13914         * Makefile.am:
13915         * lyxserver.C:
13916         * os2_defines.h:
13917         * os2_errortable.h:
13918         * nt_defines.h: move .h into support/
13919
13920         * vms_defines.h: remove
13921
13922         * WorkArea.C: add space in debug output
13923
13924         * text2.C:
13925         * paragraph.C:
13926         * buffer.C: add WITH_WARNINGS
13927
13928         * vc-backend.h:
13929         * vc-backend.C:
13930         * bufferlist.C: s/retrive/retrieve/, add docs
13931
13932         * vspace.h:
13933         * vspace.C:
13934         * kbmap.h:
13935         * lyxlength.h:
13936         * lyxgluelength.h:
13937         * length_common.h:
13938         * chset.h:
13939         * chset.C: add docs
13940
13941         * lyxgui.C: add ID to X error handler
13942
13943         * lyxtestclass.c: fix typo
13944
13945 2002-02-26  Juergen Vigna  <jug@sad.it>
13946
13947         * tabular_funcs.C (write_attribute): changed so that some default
13948         attributes are not written at all.
13949         (getTokenValue): set default values before trying to read the
13950         value so we have the return value always set as default if we don't
13951         find the token we search for.
13952
13953         * tabular.C (Write): write bools as bools not as strings!
13954
13955 2002-02-22  Juergen Vigna  <jug@sad.it>
13956
13957         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13958         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13959
13960         * text.C (leftMargin): don't add an indent for paragraphs inside
13961         tabular cells (fix #208).
13962
13963 2002-02-21  José Matos  <jamatos@fep.up.pt>
13964
13965         * tabular.C (docBook): fixed support for long tables.
13966
13967 2002-02-20  Juergen Vigna  <jug@sad.it>
13968
13969         * text2.C (getFont): get the drawing font of the Inset if this
13970         paragraph is inside an inset (only important for InsetERT for now).
13971
13972         * buffer.C (insertErtContents): use new lanugage params in ERT
13973         constructor.
13974
13975         * CutAndPaste.C: commenting out seemingly uneeded code.
13976
13977 2002-02-19  Allan Rae  <rae@lyx.org>
13978
13979         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13980         Iterators might be simple to use but they also get invalidated.
13981         (removeAutoInsets): renamed saved cursor tracking variables and added
13982         some comments to clarify what everything does.
13983
13984 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13985
13986         * Chktex.C:
13987         * LaTeX.C:
13988         * LyXSendto.C:
13989         * converter.C:
13990         * lyx_cb.C:
13991         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13992         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13993
13994         * lyxfunc.C:
13995         * vc-backend.h: remove #include "support/syscall.h"
13996
13997         * LaTeX.C:
13998         * LyXSendto.C:
13999         * converter.C: rearrange #includes in Lars' approved fashion.
14000
14001         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14002         forward declare class Timeout in the header file.
14003
14004         * XFormsView.C: changes due to the above.
14005
14006         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14007         similar to LyXView.
14008
14009         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14010         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14011
14012 2002-02-18  José Matos  <jamatos@fep.up.pt>
14013
14014         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14015         insets contents.
14016
14017 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14018
14019         * a lot of small ws changes
14020         * add a lot of using std::XXX
14021         * use std construcs some places where approp.
14022         * use some exisint stuff from lyxfunctional where approp.
14023         * Make file changes to use partial linking (lets test this now...)
14024
14025 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14026
14027         * Chktex.C:
14028         * buffer.C:
14029         remove #include "support/syscontr.h" as it's redundant. Always has been.
14030
14031         * Chktex.C:
14032         * LaTeX.C:
14033         * LyXSendto.C:
14034         * converter.C:
14035         * lyx_cb.C:
14036         * vc-backend.C:
14037         change Systemcalls::System to Systemcalls::Wait and
14038         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14039         No change of functionality, just reflects the stripped down Systemcalls
14040         class.
14041
14042 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * debug.[Ch]: add a GRAPHICS type to the enum.
14045
14046 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14047
14048         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14049
14050         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14051         there is an inset.
14052
14053 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14054
14055         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14056         match the changes below.
14057
14058         * text2.C (toggleInset): if there is not editable inset at cursor
14059         position, try to see if cursor is _inside_ a collapsable inset
14060         and close it.
14061
14062 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14063
14064         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14065         document menu has a nice checkbox
14066
14067 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * lyxlength.C (asLatexString): change PW to output as percent of
14070         \textwidth.
14071
14072         * lengthcommon.C: change '%' to 't%'
14073
14074         * lyxfunc.C (dispatch): a few comments from Martin
14075
14076 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * WorkArea.h:
14079         * WorkArea.C:
14080         * BufferView_pimpl.h:
14081         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14082           the X selection.
14083
14084 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14085
14086         * vspace.C (inPixels): fix compiler warning
14087
14088 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14089
14090         * lyxfunc.C (getStatus): fix status message for disabled commands.
14091
14092 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14093
14094         * BufferView_pimpl.C: fix crash on close buffer
14095         during selection (#227)
14096
14097 2002-01-27  Herbert Voss  <voss@lyx.org>
14098
14099         * buffer.C: link old Figure to new graphic inset
14100
14101 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14102
14103         * FontLoader.C (getFontinfo): Change the latex font names in order
14104         to match the names of type1inst.
14105
14106 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107
14108         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14109
14110         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14111         (extchanged): ditto
14112         (ext_exist): ditto
14113         (remove_files_with_extension): ditto
14114         (remove_file): ditto
14115         (write): ditto
14116
14117         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14118         document is smaller than the work area height. Do not initialize
14119         static variables to 0.
14120
14121 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14122
14123         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14124
14125         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14126         LFUN_LAYOUT_PARAGRAPHS.
14127
14128         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14129         tabular. It is possible to provide a possible cell, which will
14130         typically be the actcell from the corresponding insettabular
14131
14132         * lyxfunc.C (getStatus): small cleanup; disable
14133         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14134         true
14135
14136 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14137
14138         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14139
14140         * paragraph.C (startTeXParParams):
14141         (endTeXParParams): new methods. The LaTeX code to
14142         start/end paragraph formatting
14143         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14144         empty (fixes bug #200)
14145
14146         * vspace.C (inPixels): adapt to the change below
14147         (inPixels): [later] more cleanups (remove unused variables)
14148
14149         * lyxlength.C (inPixels): change to use a width and a height as
14150         parameter.
14151
14152 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14153
14154         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14155         Replaced with \paperwidth
14156
14157         * DepTable.C (insert): add std:: qualifier
14158
14159 2002-01-18  Allan Rae  <rae@lyx.org>
14160
14161         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14162         updated also?
14163
14164         * text.C (drawInset): Turned out I didn't know enough about how
14165         rebreaking worked.  This fixes most of the redraw problems.  I see
14166         an occasional cursor trail when a line is broken now and the cursor
14167         placement can seem out by a few pixels also after a rebreak.
14168
14169 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14170
14171         * buffer.C (parseSingleLyXformat2Token): update because minipage
14172         width is now a LyXLength
14173
14174         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14175
14176         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14177         math insets
14178
14179 2002-01-17  Juergen Vigna  <jug@sad.it>
14180
14181         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14182
14183         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14184         is set correctly and the inset is updated correctly.
14185
14186 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14187
14188         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14189         the beginning of the loop.
14190
14191 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14192
14193         * lyxrc.C: improve help for use_scalable_fonts
14194
14195 2002-01-17  Allan Rae  <rae@lyx.org>
14196
14197         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14198
14199 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14200
14201         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14202         make sure to set their inset_owner to the right value (bug #171)
14203
14204 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14205
14206         * DepTable.h
14207         * DepTable.C: Implement mtime checking to reduce time spent doing
14208         CRCs.
14209
14210 2002-01-16  Juergen Vigna  <jug@sad.it>
14211
14212         * tabular.C (GetAdditionalHeight): one of error fixed.
14213
14214         * lyxrc.C (output): small fix in writing use_pspell.
14215
14216 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * sp_base.h: #include LString.h
14219
14220 2002-01-16  Allan Rae  <rae@lyx.org>
14221
14222         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14223         Can someone check this please?
14224
14225         * text.C (drawInset): It was possible that p.row would be removed by
14226         breakAgainOneRow upsetting a few other settings.  There may be another
14227         small tweak possible by setting need_break_row = 0 when p.row has been
14228         removed but I don't know enough about the logic here.
14229
14230 2002-01-15  Allan Rae  <rae@lyx.org>
14231
14232         * text.C (insertChar): removed conditional truism.
14233
14234         * BufferView2.C (removeAutoInsets): More tweaks.
14235         cur_par_prev could be a stray pointer.  Check for trailing empty line
14236         in case last line was cur_par and only had an error inset on it.
14237
14238 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14239
14240         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14241         absolute
14242
14243         * vc-backend.C (most methods):
14244         * exporter.C (Export):
14245         * converter.C (convert):
14246         (runLaTeX):
14247         * LyXSendto.C (SendtoApplyCB):
14248         * lyxfunc.C (dispatch):
14249         (menuNew):
14250         (open):
14251         (doImport):
14252         * lyx_cb.C (AutoSave):
14253         (InsertAsciiFile):
14254         * BufferView_pimpl.C (MenuInsertLyXFile):
14255         * buffer.C (runChktex): use Buffer::filePath().
14256
14257         * buffer.h: rename filename to filename_; rename filepath to
14258         filepath_ and make it private
14259         (filePath): new method
14260
14261         * buffer.C (writeFile): use fileName()
14262         (getLatexName):
14263
14264         * lyx_main.C (init): fix starting  of LyX when the binary is a
14265         link from so,ewhere else.
14266
14267         * minibuffer.C: include <cctype> for isprint
14268
14269 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14272         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14273         name clash with InsetCollapsable's width function.
14274
14275 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * lastfiles.C: include <iterator>
14278
14279 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14280
14281         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14282         std::count.
14283
14284         * buffer.C (makeLaTeXFile): ditto.
14285         Also make loop operation more transparent.
14286
14287 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14288
14289         * ToolbarDefaults.C: remove trailing comma closing namespace.
14290
14291         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14292
14293         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14294         as in WorkArea.
14295
14296         * trans.C (Load): comment out unused variable, allowed.
14297
14298 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14299
14300         * minibuffer.[Ch] (append_char): new method to recieve input from the
14301         drop-down completion browser. If a key was pressed, then recieve this
14302         char and append it to the existing string.
14303         (peek_event): modify the positioning data passed to the completion
14304         browser so that it can be placed above the minibuffer rather than below.
14305 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14306
14307         * LyXAction.C (init): alloe error-next for readonly documents.
14308
14309         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14310         count.
14311
14312 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14313
14314         * bufferlist.C (readFile): create the buffer _after_ checking that
14315         the file exists.
14316
14317         * lyxfunc.C (verboseDispatch): fix handling of arguments
14318
14319         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14320
14321         * lyxrc.C: use string::erase() instead of initializing to "".
14322
14323
14324 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14325
14326         * BufferView_pimpl.h:
14327         * BufferView_pimpl.C:
14328         * WorkArea.h:
14329         * WorkArea.C:
14330         * text2.C: tell X when we have made a selection for copying
14331
14332 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14333
14334         * BufferView_pimpl.C (MenuInsertLyXFile):
14335         * lyxfunc.C (menuNew):
14336         (open):
14337         (doImport): add shortcuts to directory buttons
14338
14339         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14340         open a float)
14341
14342         * lyxfunc.C (setStatusMessage):
14343         (getStatusMessage): new methods
14344         (getStatus):use setStatusMessage instead of setErrorMessage
14345         (dispatch): when function is disabled, set error message here
14346         [instead of in getStatus previously]
14347
14348         * BufferView_pimpl.C (workAreaButtonRelease): update
14349         toolbar/menubar here too.
14350
14351 2002-01-13  Allan Rae  <rae@lyx.org>
14352
14353         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14354         Now seems indestructible.  Remaining task is to audit all other
14355         code affected by deleteEmptyParagraphMechanism.  One small quirk
14356         left is that an empty document with an error in the preamble can
14357         be made to report an error but no error box appears.  I don't know
14358         where it goes.
14359         (removeAutoInsets): Improved comments.
14360
14361 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14362
14363         * Thesaurus.h:
14364         * Thesaurus.C: update for Aiksaurus 0.14
14365
14366 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14367
14368         * text2.C (firstParagraph): removed member function, all uses
14369         replaces with ownerParagraph
14370         (redoParagraphs): here
14371         (updateInset): here
14372         (toggleAppendix): here
14373         * BufferView2.C (insertErrors): here
14374         (setCursorFromRow): here
14375
14376 2002-01-13  Allan Rae  <rae@lyx.org>
14377
14378         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14379         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14380         There is still a way to segfault this although you may have to do this
14381         multiple times: Have an InsetERT with an unknown command in it.
14382         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14383         <down-arrow>, <Enter> again, View->DVI, BANG!
14384
14385         * text2.C (setCursor):
14386         (deleteEmptyParagraphMechanism):
14387         * lyxtext.h (setCursor):
14388         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14389         Making use of the return value may help fix other bugs.
14390
14391 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14392
14393         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14394
14395         * LyXView.C (updateMenubar): call MenuBar::update here
14396         (updateToolbar): but not here
14397         (showState): do not update toolbar/menubar
14398
14399         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14400         should need to care about that.
14401
14402         * lyxfunc.C (verboseDispatch): simplify a bit
14403         (getStatus): have a version which takes a pseudoaction, and
14404         another which requires a (kb_action,string).
14405
14406         * LyXAction.C (retrieveActionArg): make it work also when action
14407         is not a pseudo-action.
14408         (getActionName): simplify a bit
14409         (helpText):
14410
14411 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14412
14413         * lyxfunc.C (verboseDispatch): new families of methods with
14414         several ways to specify a command and a bool to indicate whether
14415         the command name and shortcut should be displayed in minibuffer
14416         (eventually, we could extend that to a finer bitmask like
14417         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14418         (dispatch): the pristine dispatch command which just, well,
14419         dispatchs! Note it still sets its result to minibuffer; I'm not
14420         sure we want that.
14421
14422         * lyxfunc.h: remove setHintMessage
14423
14424         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14425
14426 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14427
14428         * BufferView_pimpl.C (specialChar): delete new inset if we have
14429         not been able to insert it.
14430
14431         * kbmap.C: revert to using int instead of kb_action, since all we
14432         are dealing with is pseudo-actions.
14433
14434         * LyXAction.C (searchActionArg): change to return int instead of
14435         kb_action, since the result is a pseudoaction.
14436
14437 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14438
14439         * buffer.C (insertErtContents): Fix (partially) the font bug.
14440
14441 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14442
14443         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14444         as the other one is broken on my machine!
14445
14446 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14447
14448         * commandtags.h:
14449         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14450
14451 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14452
14453         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14454         reflect their actual use. Provide compatibility code for older lyxrc
14455         files.
14456
14457         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14458         FL_NORMAL_STYLE.
14459         change names of popup font variables in line with the changes to lyxrc.C
14460
14461 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14462
14463         * buffer.C (asciiParagraph): avoid outputing a word twice after
14464         an inset.
14465
14466         * lyxrc.C (getDescription): document that document_path and
14467         template_path can be empty.
14468
14469 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14470
14471         * LaTeXFeatures.C (getMacros):
14472         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14473
14474         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14475
14476         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14477         getPackages.
14478         (getPackages): rename feature "floats" to "float". Use an array to
14479         iterate over 'simple' features (i.e. just a \usepackage). Add
14480         handling of "amsmath" (renamed from "amsstyle").
14481
14482 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14483
14484         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14485         features list.
14486
14487 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14488
14489         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14490         FuncStaus::FuncStatus & FuncStaus::some_method().
14491
14492 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14493
14494         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14495         of the func_satus stuff. Edited and massaged in various ways by
14496         JMarc.
14497
14498         * lyxfunc.C (getStatus): use FuncStatus
14499
14500 2002-01-08  Juergen Vigna  <jug@sad.it>
14501
14502         * text.C (nextBreakPoint): use function Inset::isChar().
14503
14504         * paragraph.C (TeXOnePar): use function
14505         Inset::forceDefaultParagraphs.
14506
14507         * buffer.C (latexParagraphs): use function
14508         Inset::forceDefaultParagraphs.
14509
14510 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * lyx_gui.C (init): set the style of the menu popups to
14513         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14514
14515 2002-01-07  Juergen Vigna  <jug@sad.it>
14516
14517         * text.C (setHeightOfRow): small fix
14518         (prepareToPrint): don't look at alignment if we don't have the place
14519         for doing it.
14520
14521 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14522
14523         * box.C: New file. Move the Box methods and functions out of box.h,
14524         following Lars' suggestion.
14525
14526 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14527
14528         * box.h: #include "support/LOstream.h", needed for inlined function.
14529
14530         * lyxtextclass.C:
14531         * lyxtextclasslist.C: added some using std declarations.
14532
14533 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * box.h: make signed dimensions to allow insets wider than
14536           the screen (bug #162)
14537
14538         * BufferView_pimpl.C: add some insetHit debug
14539
14540 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14541
14542         * vc-backend.C: add FIXME
14543
14544 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14545
14546         * lyxfunc.C (getStatus): enable code for showing math font status
14547         in toolbar/menu.
14548
14549 2002-01-07  Juergen Vigna  <jug@sad.it>
14550
14551         * text.C (nextBreakPoint): removed debug output not needed anymore.
14552
14553 2002-01-06  Juergen Vigna  <jug@sad.it>
14554
14555         * text.C (nextBreakPoint): fixed up this function we had this bug
14556         since ever but now hopefully we break row better.
14557         (insertChar): we have to check if an inset is the next char as it
14558         could now happen that a large inset is causing a break.
14559
14560 2002-01-05  Juergen Vigna  <jug@sad.it>
14561
14562         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14563         if it doesn't like to be drawed.
14564
14565 2002-01-04  Juergen Vigna  <jug@sad.it>
14566
14567         * BufferView2.C (lockInset): forgot to set a cursor.
14568
14569         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14570
14571 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14572
14573         * FormMathsPanel.C:
14574         * FormMathsPanel.h
14575         * MathsSymbols.C:
14576         * form_maths_panel.C:
14577         * form_maths_panel.h:
14578         * form_maths_panel.fd: implemented sub- and super- buttons in math
14579         panel.
14580
14581         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14582         (or ^ space) to be used as in TeX (req'd by Andr�.
14583
14584         * lyxfunc.C: Allow ^ and _ again to be used both as
14585         super/subscript (mathed) and as themselves (in text).
14586
14587 2002-01-03  Allan Rae  <rae@lyx.org>
14588
14589         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14590         "LyX" or the filename of the current buffer if it has one.  This is a
14591         modified form of John Levon's patch.
14592
14593         * XFormsView.C (setWindowTitle): also set icon title.
14594
14595         * LyXView.h (setWindowTitle): signature changed.
14596         * XFormsView.h (setWindowTitle): ditto.
14597
14598 2002-01-02  Juergen Vigna  <jug@sad.it>
14599
14600         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14601
14602 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * screen.C (topCursorVisible): introduce a temp var for
14605         text->cursor.row(), handle the case where this row is null. (kindo
14606         hachish)
14607
14608         * text2.C (setCursor): add a couple of asserts.
14609
14610         * paragraph.h (inset_iterator): add -> operator
14611
14612         * paragraph.[Ch] (autoDeleteInsets): remove member function
14613
14614         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14615         cursor pos correctly and handle inset deletion by itself.
14616         (insertErrors): move iterator declaration out of for expression
14617
14618         * lyxtextclass.C: add <algorithm>
14619
14620         * Makefile.am: added the new files to sources, removed layout.C
14621
14622         * layout.C: removed file
14623
14624         * layout.h: remove LYX_DUMMY_LAYOUT
14625
14626         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14627         layout.
14628
14629         * lyxlayout.[Ch]:
14630         * lyxtextclass.[Ch]:
14631         * lyxtextclasslist.[Ch]: new files
14632
14633         * include order changes to a lot of files, also changes because of
14634         the six new files.
14635
14636 2001-12-27  Juergen Vigna  <jug@sad.it>
14637
14638         * buffer.C (asciiParagraph): more fixes.
14639
14640         * tabular.C (ascii): make ascii export support export of only the
14641         data separated by a column-delimiter.
14642         (ascii): better support for ascii export.
14643
14644         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14645
14646 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14647
14648         * tabular_funcs.C: use a "using std::getline" instead of the
14649         previous fix from Angus (necessary for cxx + lyxstring)
14650
14651 2001-12-24  Juergen Vigna  <jug@sad.it>
14652
14653         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14654
14655         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14656         problems. First check a minipage also if we have some ert-contents
14657         (not only on par->size(), second set the right depth of the paragraph
14658         on the relink to the root-paragraph-list!
14659
14660         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14661         which then did not anymore update the main paragraphs on undo/redo!
14662
14663 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14664
14665         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14666         code. Support all font-changing funcs (even those which are not in
14667         menu currently). Support for reporting font settings in
14668         mathed (disabled until Andre provides a function on mathed's side).
14669
14670         * func_status.h (toggle): small helper function to set toggle
14671         state on a flag.
14672
14673 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14674
14675         * tabular_funcs.C: getline -> std::getline
14676
14677 2001-12-21  Juergen Vigna  <jug@sad.it>
14678
14679         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14680         accessed and could be 0 (I couldn't generate this but it seems
14681         Michael could!).
14682
14683 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14686         * tabular_funcs.h: here and include iosfwd
14687
14688 2001-12-20  Juergen Vigna  <jug@sad.it>
14689
14690         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14691         inside inset but undo_par was.
14692
14693 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14694
14695         * Thesaurus.C: always include <config.h> in sources.
14696
14697         * Painter.h:
14698         * lyxlookup.h:
14699         * box.h: do not include <config.h> in header files
14700
14701         * text.C (paintLastRow): remove unused variable
14702
14703         * text.C (transformChar):
14704         (insertChar):
14705         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14706
14707         * Painter.C (text):
14708         * font.C (width): rewrite to use uppercase() instead of
14709         islower/toupper.
14710
14711         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14712
14713 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14714
14715         * lyxfind.C: clean up of find failure position change
14716
14717 2001-12-20  Juergen Vigna  <jug@sad.it>
14718
14719         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14720
14721         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14722         (TeXRow): added to LaTeX a single tabular row.
14723         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14724         (Latex): simplified and finally good LT-h/f support.
14725         (various_functions): just small adaptions for LT-h/f support.
14726
14727         * tabular_funcs.[hC]: added and moved here all not classfunctions
14728         of LyXTabular.
14729
14730 2001-12-19  Juergen Vigna  <jug@sad.it>
14731
14732         * tabular.[Ch]: better support for longtabular options (not finished
14733         yet!)
14734
14735 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14736
14737         * text.C (paintLastRow): use the label font instead of the font of
14738         the last character to compute the size of *_BOX. This makes more
14739         sense and avoids a crash with empty paragraphs.
14740         Use Painter::rectangle to draw EMPTY_BOX.
14741
14742 2001-12-19  Juergen Vigna  <jug@sad.it>
14743
14744         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14745         the paragraphs if the replaced paragraph is not the first one!
14746         Tried to delete not used paragraphs but does not work yet so for
14747         now it's inside #ifdef's and by default off!
14748
14749 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14750
14751         * MenuBackend.C: include "lyx_main.h" instead of declaring
14752         lastfiles (actually was declared as LastFiles* instead of a
14753         scoped_ptr).
14754
14755 2001-12-17  Juergen Vigna  <jug@sad.it>
14756
14757         * tabular.C (AppendColumn): applied John's fix
14758
14759 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * BufferView.h:
14762         * BufferView.C:
14763         * BufferView_pimpl.h:
14764         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14765
14766         * Makefile.am:
14767         * box.h: new start of class for above
14768
14769         * lyxfunc.C: ignore space-only minibuffer dispatches.
14770           Show the command name when it doesn't exist
14771
14772         * minibuffer.C: don't add empty lines to the history
14773
14774         * minibuffer.C: add a space on dropdown completion
14775
14776 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * text.C: fix line above/below drawing in insets
14779
14780 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14781
14782         * lyxlength.C (LyXLength): Initialize private variables.
14783
14784 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14785
14786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14787         when inserting error insets.
14788
14789 2001-12-13  Juergen Vigna  <jug@sad.it>
14790
14791         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14792         actually sometimes the before-paragraph.
14793         (setUndo): don't clear the redostack if we're not actually undoing!
14794
14795 2001-12-06  Juergen Vigna  <jug@sad.it>
14796
14797         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14798         and fixed redoing of main paragraph, so we can use it now ;)
14799
14800         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14801
14802 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14803
14804         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14805         Juergen's request
14806
14807 2001-12-13  André Pönitz <poenitz@gmx.net>
14808
14809         * undostack.[Ch]:
14810         * undo_func.C: minor cleanup
14811
14812 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14813
14814         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14815         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14816         font in urw-fonts package which is marked as -urw-fontspecific and
14817         does not work (incidentally, changing the encoding in the
14818         fonts.dir of this package to -adobe-fontspecific fixes the
14819         problem).
14820
14821         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14822         is a crash when undoing first paragraph (Juergen, please take a
14823         look). THis does not mean the undo fix is wrong, just that it
14824         uncovers problems.
14825
14826         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14827         the (Paragraph*) version when needed instead of duplicating the
14828         code.
14829
14830         * text.C (workWidth): use Inset::parOwner to find out where the
14831         inset has been inserted. This is a huge performance gain for large
14832         documents with lots of insets. If Inset::parOwner is not set, fall
14833         back on the brute force method
14834
14835         * paragraph_pimpl.C (insertInset):
14836         * paragraph.C (Paragraph):
14837         (cutIntoMinibuffer): set parOwner of insets when
14838         inserting/removing them
14839
14840         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14841
14842 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14843
14844         * commandtags.h:
14845         * LyXAction.C:
14846         * lyx_main.C:
14847         * lyxfunc.C:
14848         * mathed/formulabase.C:
14849         * mathed/math_cursor.[Ch]:
14850         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14851
14852
14853 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * lyxlength.[Ch] (operator!=): new function
14856
14857 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14858
14859         * text.C (workWidth): use Inset::parOwner to find out where the
14860         inset has been inserted. This is a huge performance gain for large
14861         documents with lots of insets. If Inset::parOwner is not set, fall
14862         back on the brute force method
14863
14864         * paragraph_pimpl.C (insertInset):
14865         * paragraph.C (Paragraph):
14866         (cutIntoMinibuffer): set parOwner of insets when
14867         inserting/removing them
14868
14869         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14870
14871 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14872
14873         * tabular-old.C (getTokenValue):
14874         * tabular.C (getTokenValue):
14875         (write_attribute): new versions for LyXLength
14876         (everywhere): adjust the use of widths
14877
14878         * tabular.h: change the type of widths from string to LyXLength
14879
14880 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14881
14882         * paragraph.C: fixed missing line number count when exporting
14883         Environments to LaTeX file
14884
14885         * buffer.C: added informational message for checking line numbers.
14886
14887 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14888
14889         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14890         paragraph, do the 'double space' part, but not the 'empty
14891         paragraph' one.
14892
14893         * text.C (workWidth): small optimization
14894         (getLengthMarkerHeight): use minimal size for negative lengths.
14895
14896 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14899
14900         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14901
14902 2001-12-11  André Pönitz <poenitz@gmx.net>
14903
14904         * FontLoader.C:
14905         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14906
14907 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * text2.C: keep selection on a setFont()
14910
14911 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * lyx_cb.C: another bv->text misuse, from insert label
14914
14915 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * kbsequence.h:
14918         * kbsequence.C: re-instate nmodifier mask
14919
14920 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14921
14922         * lyx_main.h: make lyxGUI private.
14923
14924 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * lyxfind.C: place the cursor correctly on failed search
14927
14928 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14929
14930         * text.C (getLengthMarkerHeight): for small heights, the arrows
14931         are not always on top/bottom of the text
14932         (drawLengthMarker): smaller arrows; take the left margin in
14933         account; draw also vfills.
14934         (paintFirstRow):
14935         (paintLastRow): remove special code for vfill and standard spaces,
14936         since everything is handled in drawLengthMarker now.
14937
14938 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14939
14940         * buffer.C (insertErtContents): try to handle font and language
14941         interaction a bit better.g
14942
14943         * ColorHandler.C (updateColor): change the hash to cover the whole
14944         LColor enum, ws cleanup
14945         (getGCLinepars): ditto
14946         (getGCLinepars): only lookup in the linecache once.
14947
14948 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14949
14950         * iterators.C (operator++): Make the iterator more robust
14951
14952         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14953         (John's patch)
14954         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14955
14956 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * lyxtext.h:
14959         * text.C: better added space drawing
14960
14961 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14962
14963         * LyXView.C:
14964         * BufferView2.C: fix layout combo update on inset unlock
14965
14966 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14967
14968         * Makefile.am: don't compile unused files
14969
14970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * lyxfunc.C:
14973         * commandtags.h:
14974         * LyXAction.C: remove old LFUN_LAYOUTNO
14975
14976 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14977
14978         * paragraph_pimpl.h:
14979         * paragraph_pimpl.C: isTextAt() doesn't need font param
14980
14981 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14982
14983         * lyxlex.h:
14984         * lyxlex.C: little cleanup
14985
14986 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * BufferView_pimpl.C: fix insertAscii for insets
14989
14990 2001-12-05  Juergen Vigna  <jug@sad.it>
14991
14992         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14993         set the right font on the "multi" paragraph paste!
14994
14995 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * trans_decl.h:
14998         * trans_mgr.[Ch]:
14999         * trans.[Ch]:
15000         * lyxgluelength.C:
15001         * lyxlength.C: remove out-commented code.
15002
15003         * BufferView_pimpl:
15004         * CutAndPaste.C:
15005         * DepTable.C:
15006         * buffer.C:
15007         * chset.C:
15008         * lastfiles.C:
15009         * lyxlex.C:
15010         * lyxlex_pimpl.C:
15011         * lyxserver.C:
15012         * screen.C:
15013         * tabular-old.C:
15014         * tabular.C:
15015         * text.C:
15016         * trans_mgr.C:
15017         * vc-backend.C: change "while(" to "while ("
15018
15019         * lyxlength.[Ch]: add zero function to check if length is zero or
15020         not
15021         * lyxgluelength.C: use it
15022
15023 2001-12-05  Allan Rae  <rae@lyx.org>
15024
15025         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15026         Works for 2.95.3, from what I understand of Garst's reports this should
15027         work for other g++ versions.  We're screwed if the abs(int) definition
15028         changed between bugfix releases of gcc.
15029
15030 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * text.C: fix chapter label offset !
15033
15034 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15035
15036         * lyxtext.h:
15037         * text.C: fix hfill at end of line, clean up
15038
15039 2001-12-04  Juergen Vigna  <jug@sad.it>
15040
15041         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15042         that we force an update of the inset and it's owners if neccessary.
15043
15044 2001-12-03  Juergen Vigna  <jug@sad.it>
15045
15046         * text.C (rowLast): simplified code
15047
15048 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * lyxfunc.C: fix show options on timeout
15051
15052 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * screen.C (topCursorVisible): scroll half a page when the cursor
15055         reached top of bottom of screen
15056
15057 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * minibuffer.C: deactivate on loss of focus
15060
15061 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15062
15063         * vspace.[Ch] (operator!=): add operator.
15064
15065 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * BufferView_pimpl.C: refuse to open an inset when
15068         there's a selection.
15069
15070 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * BufferView_pimpl.C: allow to click on RHS of full row insets
15073
15074 2001-11-30  Juergen Vigna  <jug@sad.it>
15075
15076         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15077         insets for undo reasons.
15078
15079 2001-11-28  André Pönitz <poenitz@gmx.net>
15080
15081         * vspace.[Ch]: cosmetical changes
15082
15083 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * LyXAction.h:
15086         * LyXAction.C:
15087         * lyxfunc.h:
15088         * lyxfunc.C:
15089         * kbmap.h:
15090         * kbmap.C:
15091         * lyxrc.C:
15092         * kbsequence.h:
15093         * kbsequence.C: part re-write of old kb code
15094
15095         * Painter.C:
15096         * WorkArea.C: remove Lgb_bug_find_hack
15097
15098 2001-11-30  José Matos <jamatos@fep.up.pt>
15099
15100         * buffer.C (makeDocBookFile): add a comment to point a hack.
15101         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15102         Fixed a double write of labels.
15103
15104 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15105
15106         * LaTeX.C:
15107         * LaTeX.h Fixed bug in LaTeX class where it would not
15108         re-run latex if no depfiles were changed, but the .dvi was removed.
15109
15110 2001-11-28  André Pönitz <poenitz@gmx.net>
15111
15112         * all the files from the change on 2001/11/26:
15113         use lyx::layout_type instead of LyXTextClass::size_type
15114         use lyx::textclass_type instead of LyXTextClassList::size_type
15115
15116 2001-11-29  Juergen Vigna  <jug@sad.it>
15117
15118         * text.C: added support for paragraph::isFreeSpacing()
15119
15120         * buffer.C: same as above
15121
15122         * paragraph.h: inserted isFreeSpacing() function to enable
15123         FreeSpacing inside InsetERT.
15124
15125         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15126         of the paragraph's in the cut/copy buffer to 0!
15127
15128         * text2.C (removeRow): remove the assert as it can!
15129
15130         * lyxtext.h: added helper function firstRow returning firstrow and
15131         made firstrow private again.
15132
15133         * BufferView2.C (lockInset): don't relock if we're already locked!
15134
15135         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15136         the only paragraph.
15137         (removeRow): added Assert::(firstrow)
15138
15139         * debug.C: forgot to add INSETTEXT here.
15140
15141 2001-11-28  Juergen Vigna  <jug@sad.it>
15142
15143         * sp_spell.C (initialize): changed error text to more general
15144         spellchecker command use (not only ispell!)
15145
15146         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15147
15148         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15149
15150 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * vspace.C: initialise lyxgluelength on failure
15153
15154 2001-11-28  Allan Rae  <rae@lyx.org>
15155
15156         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15157         declaration & definition that looks like a function declaration.
15158
15159 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * BufferView2.C (copy):
15162         (copyEnvironment): do not clear the selection when doing a copy.
15163
15164         * text.C (paintFirstRow): compilation fix
15165
15166 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15167
15168         * tabular.C (Latex): correct line count when writing latex.
15169
15170 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * paragraph_pimpl.h:
15173         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15174           bug a bit
15175
15176 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15177
15178         * text.C:
15179         * LColor.h:
15180         * LColor.C: change vfillline->added_space
15181
15182         * text.C: add markers and text for added space
15183
15184         * vspace.C: fix comment
15185
15186 2001-11-28  André Pönitz <poenitz@gmx.net>
15187
15188         * paragraph.C: whitespace changes
15189         * all the other files from the change on 2001/11/26:
15190         change *::pos_type into lyx::pos_type
15191
15192 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15193
15194         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15195         language of the document when inserting error insets.
15196
15197 2001-11-26  André Pönitz <poenitz@gmx.net>
15198
15199         * BufferView_pimpl.[Ch]:
15200         *       CutAndPaste.C:
15201         * buffer.[Ch]:
15202         * lyxcursor.[Ch]:
15203         * lyxfind.C:
15204         * lyxfunc.C:
15205         * lyxrow.[Ch]:
15206         * paragraph.[Ch]:
15207         * paragraph_pimpl.[Ch]:
15208         * sp_spell.C:
15209         * text.C:
15210         * text2.C: reduce header dependencies, introduce type for positions
15211
15212 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15213
15214         * <various>: change to use Alert.h
15215
15216 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15219         when encountering an unknown token.
15220         (readLyXformat2): Show an error message if there were unknown tokens.
15221
15222 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15223
15224         * BufferView2.C:
15225         * BufferView_pimpl.C:
15226         * buffer.C:
15227         * paragraph.h:
15228         * text.C:
15229         * text2.C: use par->isInset()
15230
15231 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * paragraph_pimpl.h:
15234         * paragraph_pimpl.C: cleanup
15235
15236 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * text2.C (removeRow):
15239         * text.C (setHeightOfRow): remove useless (and costly) call to
15240         getRow.
15241
15242 2001-11-20  Allan Rae  <rae@lyx.org>
15243
15244         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15245         Now need Inset*::checkInsertChar() to return true for appropriate
15246         cases so that the characters in the minibuffer will actually be
15247         inserted.
15248
15249 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * text.C: change the order of the includes.
15252         (workWidth): initialize it at once.
15253         (workWidth): make maxw unsigned
15254         (setHeightOfRow): remove unused variable (inset)
15255         (selectSelectedWord): remove unused variable (inset)
15256         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15257
15258 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15259
15260         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15261         server is not running.
15262         (openConnection):
15263         (closeConnection): add debug info when server is disabled.
15264
15265         * ColorHandler.C (getGCForeground): send debug message to GUI
15266         channel.
15267
15268         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15269
15270         * kbmap.C (bind): modify because return conventions of
15271         kb_sequence::parse have changed.
15272
15273         * kbsequence.C (parse): only ignore spaces and not any stupid
15274         control character. This avoids tests like s[i] <= ' ', which are
15275         guaranteed to fail with 8bit characters and signed chars.
15276         Change return code to string::npos when there have been no error
15277         (0 was a bad idea when error is at first character)
15278
15279 2001-11-14  José Matos  <jamatos@fep.up.pt>
15280
15281         * buffer.h:
15282         * buffer.C (simpleDocBookOnePar): removed unused argument.
15283
15284 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15287         insets which are part of a word. Paragraph::isLetter takes care of
15288         that now. Use Paragraph::isInset to identify insets.
15289         (selectSelectedWord): do not test for hyphenation break.
15290
15291         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15292         that protected spaces are considered as spaces.
15293
15294         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15295         Inset::isLetter.
15296
15297 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * lyxserver.h:
15300         * lyxserver.C: fix it. and small cleanup.
15301
15302 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15303
15304         * BufferView_pimpl.C: use inline helpers
15305
15306         * LaTeXFeatures.h:
15307         * LaTeXFeatures.C: fix typos
15308
15309         * Spacing.h:
15310         * Spacing.C: move spacing_string into class
15311
15312         * ToolbarDefaults.C: move stuff into namespace anon
15313
15314         * layout.h: update enum
15315
15316         * lyxfunc.C: use better debug
15317
15318         * minibuffer.h: fix typo
15319
15320         * debug.h:
15321         * debug.C:
15322         * WorkArea.C: add and use Debug::WORKAREA
15323
15324         * lyxtext.h:
15325         * text.C:
15326         * text2.C: code re-organisation, inline helpers
15327
15328 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15329
15330         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15331         std::vector.empty().
15332
15333 2001-11-09  Allan Rae  <rae@lyx.org>
15334
15335         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15336         '\n's after tables.  Tabular and ERT inset work now makes this no
15337         longer necessary.
15338
15339 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15340
15341         * minibuffer.h:
15342         * minibuffer.C: fix crash, improve drop-down completion
15343
15344 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * lyxserver.h:
15347         * lyxserver.C: invalidate fd's when doing endPipe()
15348
15349 2001-11-08  José Matos  <jamatos@fep.up.pt>
15350
15351         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15352         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15353
15354         * paragraph.h:
15355         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15356
15357 2001-11-07  José Matos  <jamatos@fep.up.pt>
15358
15359         * buffer.h:
15360         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15361         const qualifier.
15362
15363         * buffer.C (sgmlOpenTag):
15364         * buffer.C (sgmlCloseTag): removed debug info.
15365
15366         * buffer.h (sgmlOpenTag):
15367         * buffer.h (sgmlCloseTag): made public.
15368
15369 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15370
15371         * buffer.C (saveParamsAsDefaults):
15372         * lyx_cb.C (MenuLayoutSave): remove
15373
15374         * LyXAction.C (init):
15375         * commandtags.h:
15376         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15377
15378 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15379
15380         * buffer.C (setPaperStuff): removed from here...
15381
15382         * bufferparams.C (setPaperStuff): ... and moved there.
15383
15384 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15385
15386         * minibuffer.h:
15387         * minibuffer.C:
15388         * XFormsView.C: add support for drop-down completion
15389
15390 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15393         commands.
15394
15395 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15398         disabled.
15399
15400 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15401
15402         * lyx_main.C: change ref to known bugs
15403
15404 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15405
15406         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15407         to work around older babel problems.
15408
15409 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15410
15411         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15412
15413 2001-10-24  Juergen Vigna  <jug@sad.it>
15414
15415         * tabular-old.C (ReadOld): below variable changes reflected.
15416
15417         * tabular.[Ch]: added ltType struct for longtable header/footer
15418         defines and changed all instances where they are used. Added
15419         future support for double top/bottom rows.
15420
15421 2001-10-24  José Matos  <jamatos@fep.up.pt>
15422
15423         * buffer.h (docbookHandleCaption):
15424         * buffer.C (docbookHandleCaption): removed unused function.
15425         (makeDocBookFile): moved docbook supported version to v4.1.
15426
15427 2001-10-24  José Matos  <jamatos@fep.up.pt>
15428
15429         * tabular.h:
15430         * tabular.C (docbookRow): new function to export docbook code of a row.
15431         (DocBook): now honors the longtable flags.
15432
15433 2001-10-23  José Matos  <jamatos@fep.up.pt>
15434
15435         * LaTeXFeatures.h:
15436         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15437         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15438
15439         * buffer.C (makeLinuxDocFile):
15440         (makeDocBookFile): reworked the preamble, more clean, and with
15441         support for lyx defined entities. Changed the document declaration
15442         to be more XML friendly.
15443
15444         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15445         if we need to output XML that should be done with a filter.
15446
15447 2001-10-22  Juergen Vigna  <jug@sad.it>
15448
15449         * sp_pspell.h (class PSpell): add alive function needed in the
15450         controller to see if the spellchecker could be started.
15451
15452 2001-10-22  Juergen Vigna  <jug@sad.it>
15453
15454         * buffer.C (insertStringAsLines): modify the font for inserting
15455         chars in certain conditions by calling checkInsertChar(font).
15456
15457 2001-10-19  Juergen Vigna  <jug@sad.it>
15458
15459         * text.C (workWidth): use getRow instead of wrong algorithm.
15460         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15461
15462 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15463
15464         * lyxserver.h:
15465         * lyxserver.C:
15466         * lyx_main.h:
15467         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15468
15469 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15470
15471         * text.C (workWidth): do not search for the exact row when
15472         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15473         optimization for big documents.
15474
15475 2001-10-18  Juergen Vigna  <jug@sad.it>
15476
15477         * text.C (workWidth): new function with added Inset * parameter.
15478
15479 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15480
15481         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15482
15483         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15484         change return type of getColumnNearX.
15485
15486
15487         * text.C (changeRegionCase): use uppercase/lowercase instead of
15488         toupper/tolower.
15489         (leftMargin):
15490         (rightMargin): simplify code by factoring out the uses of
15491         textclasslist.
15492         (labelFill):
15493         (numberOfHfills):
15494         (setHeightOfRow):
15495         (appendParagraph): use Paragraph::size_type
15496
15497 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * vspace.C (asLatexString): add a missing break
15500
15501 2001-10-15  Herbert Voss  <voss@perce.de>
15502
15503         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15504
15505 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15506
15507         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15508         is not available.
15509
15510 2001-10-10  André Pönitz <poenitz@gmx.net>
15511
15512         * lyxfunc.C: removed greek_kb_flag.
15513
15514 2001-10-10  Herbert Voss  <voss@perce.de>
15515
15516         * lyx_main.C: delete global string help_lyxdir.
15517
15518 2001-10-09  Herbert Voss  <voss@perce.de>
15519
15520         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15521
15522         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15523
15524         * lyx_main.C: added global string help_lyxdir.
15525
15526         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15527
15528 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15529
15530         * lyxrc.C (set_font_norm_type): support iso8859-4
15531
15532 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15533
15534         * LaTeX.C (deplog): add another regex for MikTeX
15535
15536 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15537
15538         * lyxrc.C (set_font_norm_type): support iso8859-3
15539
15540 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15543
15544         * LaTeXFeatures.C: remove special case of french and index
15545
15546         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15547         before \begin{document}). This solves several incompatibilities.
15548
15549 2001-10-03  Garst Reese  <reese@isn.net>
15550
15551         * lyx_cb.C: change CheckTex error msg.
15552
15553 2001-10-03  José Matos  <jamatos@fep.up.pt>
15554
15555         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15556
15557 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15558
15559         * .cvsignore: update
15560
15561         * lyx_main.C (commandLineVersionInfo): use new style version info.
15562
15563         * buffer.C (writeFile):
15564         (makeLaTeXFile):
15565         (makeLinuxDocFile):
15566         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15567
15568         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15569
15570         * version.h: update to use stuff in version.C
15571
15572         * version.C.in: new file. Contains version information determined
15573         at compile time. This is a merging of version.h and
15574         version_info.h.in.
15575
15576 2001-10-03  Juergen Vigna  <jug@sad.it>
15577
15578         * BufferView_pimpl.C (update): don't change "dirty" status in
15579         updateInset call.
15580
15581 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15582
15583         * WorkArea.C (c-tor): re-position version string slightly.
15584
15585 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15588         revert to previous code.
15589
15590         WorkArea.[Ch]: (show, destroySplash): methods removed.
15591
15592         WorkArea.C: rework code so that it's an amalgam of the codes before and
15593         after the splash screen was moved to WorkArea.
15594
15595 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15596
15597         * lyxrc.C (read):
15598         * vspace.C (inPixels):
15599         (lyx_advance):
15600         * kbmap.C (bind):
15601         * buffer.C (insertStringAsLines):
15602         (asciiParagraph): fix types to be large enough
15603
15604         * lyxlex_pimpl.h: change member status from short to int
15605
15606         * layout.h: fix type of endlabeltype
15607
15608         * kbmap.C (bind):
15609         * kbsequence.C (parse): change return type to string::size_type
15610
15611         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15612         variable
15613
15614         * Bullet.C (bulletSize):
15615         (bulletEntry): do not use short ints as parameters
15616
15617         * BufferView2.C (insertLyXFile): change a char to an int.
15618
15619         * WorkArea.C (WorkArea): remove unneeded floats in computation
15620
15621 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15624
15625         * paragraph.C (asString): Do not ignore newline/hfill chars when
15626         copying to the clipboard.
15627
15628 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15629
15630         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15631         after a multi-line inset.
15632
15633 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * paragraph.C (validate): Set NeedLyXFootnoteCode
15636
15637 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15638
15639         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15640         and decrease-error to decrease.
15641
15642 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15645         it more readable (should be equivalent)
15646
15647 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15648
15649         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15650
15651 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15654         of a cursor (row, etc.) after a character has been deleted
15655         (deleteEmptyParagraphMechanism): call the method above on _all_
15656         cursors held by the LyXText when a double space has been
15657         detected/deleted.
15658
15659 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15660
15661         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15662         pixmap.
15663         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15664
15665         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15666         background. Use greyOut() and the new show() methods to toggle between
15667         the foreground and background. Add code to remove the splash after
15668         its initial showing.
15669
15670         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15671         (create_forms): no longer call Dialogs::showSplash.
15672
15673 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * .cvsignore: add version_info.h
15676
15677 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * version_info.h.in: new file
15680
15681         * Makefile.am: add version_info.h.in
15682
15683         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15684         version_info.h instead of VERSION_INFO
15685
15686 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15687
15688         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15689         The ERT inset now returns string().
15690
15691 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15692
15693         * lyxtext.h, text.C (selectNextWord): renamed as
15694         selectNextWordToSpellcheck.
15695
15696         * text.C (selectNextWordToSpellcheck): Modified to not select
15697         words inside an ERT inset.
15698
15699 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15700
15701         * lyx_cb.C (MenuLayoutSave): change a bit the question
15702
15703         * sp_base.h: include <sys/types.h>
15704
15705 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15706
15707         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15708
15709 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15710
15711         * several files: fix typos in user-visible strings
15712
15713 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * text2.C (pasteSelection): do not set the selection, since it
15716         will be cleared later. Actually, the intent was to fix the way the
15717         selection was set, but I figured rmoving the code was just as good.
15718
15719 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15720
15721         * FontLoader.C (available): Check if font is available without
15722         loading the font.
15723
15724 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15725
15726         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15727
15728 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15729
15730         * lyxrc.[Ch]: added display_graphics variable and associated code.
15731
15732 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * bufferparams.C (hasClassDefaults): new method. Returns true if
15735         the buffer parameters correspond to known class defaults
15736
15737 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15738
15739         * XFormsView.C (show): set minimum size to the main window.
15740
15741 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * text2.C (copySelection):
15744         (cutSelection):
15745         * lyxfind.C (LyXReplace):
15746         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15747         LyXText::selectionAsString.
15748
15749         * paragraph.C (asString): add "label" argument to the second form
15750
15751         * text2.C (selectionAsString): add "label" argument and pass it to
15752         Paragraph::asString.
15753
15754 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * lyx_main.C (commandLineHelp): remove version information
15757
15758 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15759
15760         * lyx_main.C: add -version commandline option
15761
15762 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * paragraph.h: make the optional constructor arg required instead.
15765         some modifications to other files because of this.
15766
15767         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15768
15769         * lyxserver.C (C_LyXComm_callback): make it static
15770
15771         * lyx_main.C (error_handler): make it static
15772
15773         * lyx_gui.C (LyX_XErrHandler): make it static
15774
15775         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15776
15777         * WorkArea.C: make the extern "C" methods static.
15778
15779         * Makefile.am (lyx_LDADD): simplify
15780
15781 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15784         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15785
15786         * LyXAction.C (init):
15787         * lyxfunc.C (dispatch): associated code removal.
15788
15789 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * lyxfont.h (isSymbolFont): shut off warning
15792
15793         * text.C (setHeightOfRow):
15794         (getVisibleRow): fix crash with empty paragraphs which have a
15795         bottom line
15796
15797 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15798
15799         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15800         code.
15801
15802 2001-09-04  José Matos  <jamatos@fep.up.pt>
15803         * buffer.C
15804         * buffer.h
15805         * tabular.C (docbook): rename docBook method to docbook.
15806
15807 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15808
15809         * Makefile.am: add dependencies to main.o.
15810
15811 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15812
15813         * FontLoader.C (available): Return false if !lyxrc.use_gui
15814
15815 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15816
15817         * FontInfo.C (query):
15818         * converter.C (view):
15819         * importer.C (Import):
15820         * exporter.C (Export): Can not -> cannot.
15821
15822 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15823
15824         * BufferView_pimpl.C: allow to create index inset even if
15825           string is empty
15826
15827 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15828
15829         * buffer.C (getLists): replace boost::tie code with an explicit pair
15830         as boost::tie can break some compilers.
15831
15832         * iterators.h: Added a std:: declaration to the return type of
15833         ParIterator::size.
15834
15835 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15836
15837         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15838           case.
15839
15840 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15841
15842         * iterators.[Ch]: New files. Provide paragraph iterators.
15843
15844         * buffer.C (changeLanguage): Use paragraph iterators.
15845         (isMultiLingual): ditto
15846
15847         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15848
15849 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15850
15851         * FontLoader.C: Support for cmr font.
15852
15853 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15854
15855         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15856         (available): New method.
15857
15858         * FontInfo.C (getFontname): Use scalable fonts even when
15859         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15860         found.
15861
15862 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15863
15864         * converter.C (Formats::view): reverted! Incorrect fix.
15865
15866 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15867
15868         * converter.C (Formats::view): only output the -paper option
15869         if the dvi viewer is xdvi, thereby fixing bug #233429.
15870
15871 2001-08-23  Herbert Voss  <voss@perce>
15872
15873         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15874
15875 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * Spacing.h (Spacing): Set space to Default on in the default
15878         constructor.
15879
15880 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15881
15882         * vc-backend.h (RCS::versionString): add RCS to version
15883         (CVS::versionString): add CVS to version
15884
15885         * vc-backend.C (scanMaster): do not add CVS to version.
15886         (scanMaster): do not add RCS to version
15887
15888         * lyxvc.C (versionString): new method
15889
15890         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15891
15892 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * Spacing.C (set): initialize fval
15895
15896 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15897
15898         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15899         " or \.
15900
15901 2001-08-16  Juergen Vigna  <jug@sad.it>
15902
15903         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15904
15905 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15906
15907         * BufferView_pimpl.C:
15908         * figureForm.C:
15909         * lyxtext.h:
15910         * text2.C: setParagraph takes linespacing now
15911
15912 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15913
15914         * LyxAction.C: add internal LFUN_CITATION_INSERT
15915
15916         * LyXView.C: actually apply fix
15917
15918         * bufferlist.C: fix open non-existent file
15919
15920         * lyxfind.C: fix indentation
15921
15922         * lyxfunc.C: remove unneeded assert, fix typo
15923
15924 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15925
15926         * MenuBackend.C: use "Floatname List"
15927
15928 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15929
15930         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15931         when converting LaTeX layout to insetERT.
15932         Generate a non-collapsed float when reading old float
15933
15934 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15935
15936         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15937         ERT insets.
15938
15939 2001-08-13  Juergen Vigna  <jug@sad.it>
15940
15941         * text.C (fill): return 0 instead of 20 as this seems to be the more
15942         correct value.
15943
15944 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15945
15946         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15947         lyxrc.font_norm.
15948
15949 2001-08-13  Juergen Vigna  <jug@sad.it>
15950
15951         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15952         casesensitive off.
15953         (SearchBackward): comment out the unlocking of the inset_owner this
15954         should not be needed!
15955
15956 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15957
15958         * Many files: Remove inherit_language, and add latex_language
15959
15960         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15961         collapsible insets.
15962
15963 2001-08-10  Juergen Vigna  <jug@sad.it>
15964
15965         * text.C (prepareToPrint): fixed hfill-width in draw!
15966
15967         * BufferView2.C (selectLastWord): save the selection cursor as this
15968         now is cleared in the function LyXText::clearSelection!
15969
15970 2001-08-08  Juergen Vigna  <jug@sad.it>
15971
15972         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15973         BACKSPACE type functions.
15974
15975         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15976         is only cutted from the document but not put in the cut-buffer, where
15977         still the old stuff should be.
15978
15979         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15980
15981         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15982
15983         * tabular.C (SetWidthOfCell): fixed special case where the width
15984         was not updated!
15985         (LeftLine): handle '|' in align_special.
15986         (RightLine): ditto
15987         (LeftAlreadyDrawed): ditto
15988         (SetWidthOfCell): ditto
15989
15990 2001-08-07  Juergen Vigna  <jug@sad.it>
15991
15992         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15993
15994 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15997         * lyxlex.[hC]: ditto
15998
15999 2001-08-06  Juergen Vigna  <jug@sad.it>
16000
16001         * text.C (getVisibleRow): fix up row clearing a bit.
16002
16003 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * minibuffer.C: make sure the X server sees the changes in the input.
16006
16007 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * paragraph.C (getFont): split into...
16010         (getLabelFont): this
16011         (getLayoutFont): and this
16012         * paragraph_pimpl.C (realizeFont): calling this
16013
16014         * text2.C (getFont): split into...
16015         (getLayoutFont): this
16016         (getLabelFont): and this
16017         (realizeFont): all three calling this
16018
16019         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16020         files where used.
16021
16022 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16023
16024         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16025
16026 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16027
16028         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16029         layouts from the Quote inset insertion.
16030
16031 2001-08-03  Juergen Vigna  <jug@sad.it>
16032
16033         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16034
16035         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16036         only if status not is already CHANGED_IN_DRAW (second level).
16037
16038         * text.C (draw): don't set the need_break_row when inside an
16039         InsetText LyXText.
16040
16041 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16042
16043         * buffer.C (parseSingleLyXformat2Token): handle more latex
16044         conversion cases.
16045
16046         * bufferview_funcs.[hC]: change function names to
16047         begin with small char, adjust other files.
16048
16049 2001-08-02  André Pönitz <poenitz@gmx.net>
16050
16051         * lyxfunc.C:
16052         BufferView_pimpl.C: remove broken special code for math-greek
16053
16054 2001-08-02  Juergen Vigna  <jug@sad.it>
16055
16056         * BufferView_pimpl.C (update): redone this function so that we
16057         update the text again if there was a CHANGE_IN_DRAW.
16058
16059         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16060         (drawFromTo): added a new internal bool which is used by draw() and
16061         redraw() function.
16062         (general): some cursor drawing problems fixed.
16063
16064 2001-08-01  Juergen Vigna  <jug@sad.it>
16065
16066         * lyxfind.C (LyXFind): fixed
16067         (SearchForward): ditto
16068         (SearchBackward): ditto
16069
16070         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16071         spurius drawing of the cursor in the main area.
16072
16073         * text2.C (status): small fix which could lead to a segfault!
16074         (clearSelection): remove unneeded BufferView param.
16075
16076 2001-08-01  André Pönitz <poenitz@gmx.net>
16077
16078         * lyxfunc.C: small change due to changed mathed interface
16079
16080 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16083
16084 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16085
16086         * lyxfunc.c: fail gracefully if file doesn't exist
16087
16088         * LyXSendto.C:
16089         * buffer.C:
16090         * lyxfunc.C:
16091         * BufferView_pimpl.C: IsDirWriteable() proto changed
16092
16093         * LyXView.C: fix updateWindowTitle() to store the last title
16094
16095 2001-07-31  Juergen Vigna  <jug@sad.it>
16096
16097         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16098         the font (wrong since using of Paragraph::highestFontInRange).
16099
16100         * paragraph.C (highestFontInRange): added a default_size parameter.
16101
16102         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16103         (setHeightOfRow): reformat
16104
16105 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16106
16107         * converter.[hC] + affected files: move to (inital-char)lowercase
16108         function names.
16109
16110         * ParagraphParameters.C (ParagraphParameters): remove commented code
16111
16112         * PainterBase.[Ch]: remove commented code
16113
16114         * LaTeXFeatures.h: add "bool floats" for float.sty
16115
16116         * LaTeXFeatures.C (LaTeXFeatures): init floats
16117         (require): handle float
16118         (getPackages): do it with floats
16119
16120 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * BufferView_pimpl.C (Dispatch): improve handling of
16123         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16124
16125         * commandtags.h: #include lyxfont.h here temporarily to avoid
16126         keybinding bug.
16127
16128         * bufferlist.h: include LString.h here.
16129
16130 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16131
16132         * text2.C (getStringToIndex): new method.
16133
16134 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16135
16136         * *: Reduced header file dependencies all over.
16137
16138 2001-07-30  Baruch Even  <baruch@lyx.org>
16139
16140         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16141
16142 2001-07-29  Baruch Even  <baruch@lyx.org>
16143
16144         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16145
16146 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16147
16148         * ParameterStruct.h (endif): add a default constructor to make
16149         sure that all variables is initialized.
16150
16151         * ParagraphParameters.C (ParagraphParameters): adjust
16152
16153 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16154
16155         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16156         index; also, check that there is something to index, and that it
16157         does not span over several paragraphs.
16158         (doubleClick): use WHOLE_WORD_STRICT for double click.
16159
16160         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16161
16162         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16163         scheme.
16164
16165 2001-07-26  Baruch Even  <baruch@lyx.org>
16166
16167         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16168         an InsetFig figure, backwards compatible reading of old figure code.
16169
16170 2001-07-27  Juergen Vigna  <jug@sad.it>
16171
16172         * text2.C: font.realize function adaption.
16173
16174         * text.C (draw): add a warnings lyxerr text if needed.
16175
16176         * layout.C: font.realize function adaption.
16177
16178         * language.C: add inherit_language and implement it's handlings
16179
16180         * bufferview_funcs.C (StyleReset): remove language parameter from
16181         font creation (should be language_inherit now).
16182
16183         * bufferparams.C (writeFile): handle ignore_language.
16184
16185         * paragraph.C (getFontSettings): the language has to be resolved
16186         otherwise we have problems in LyXFont!
16187
16188         * lyxfont.C (lyxWriteChanges): added document_language parameter
16189         (update): removed unneeded language parameter
16190
16191         * paragraph.C (validate): fixed wrong output of color-package when
16192         using interface colors for certain fonts in certain environments,
16193         which should not seen as that on the final output.
16194
16195 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16196
16197         * BufferView_pimpl.C:
16198         * Thesaurus.h:
16199         * Thesaurus.C:
16200         * Makefile.am:
16201         * commandtags.h:
16202         * LyXAction.C: add thesaurus support
16203
16204         * lyxfind.h:
16205         * lyxfind.C: add "once" parameter, for thesaurus, to not
16206           move to the next match
16207
16208 2001-07-26  Juergen Vigna  <jug@sad.it>
16209
16210         * lyxfont.C (realize): honor ignore_language too!
16211         (resolved): ditto.
16212
16213         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16214
16215         * text.C (draw): one place more for ignore_language to not draw
16216         itself!
16217
16218 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16219
16220         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16221
16222 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16225         the minipage conversion problem.
16226
16227 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16228
16229         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16230         insert an inset.
16231
16232 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16233
16234         * BufferView.h: don't forward declare WorkArea
16235
16236         * BufferView.C: don't include WorkArea.h
16237
16238 2001-07-25  André Pönitz <poenitz@gmx.net>
16239
16240         * commandtags.h:
16241         * LyXAction.C:
16242         * lyxfunc.C:  new LFUN 'math-space'
16243
16244         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16245
16246 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * text2.C (toggleInset): call open/close
16249
16250 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16251
16252         * lyxfunc.C (dispatch): add debug for the disabled case
16253
16254         * font.C (buttonText): make similar to rectText
16255
16256         * buffer.C (readInset): comment out parsing of insetlist and
16257         insttheorem
16258
16259         * PainterBase.C (rectText): small correction
16260
16261         * BufferView_pimpl.C: comment out insettheorem and insetlist
16262         * LyXAction.C: ditto
16263         * commandtags.h: ditto
16264
16265 2001-07-24  Juergen Vigna  <jug@sad.it>
16266
16267         * text.C (draw): honor the ignore_language.
16268
16269         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16270
16271 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16272
16273         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16274         char inset.
16275
16276 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16277
16278         * lyxtext.h: remove unused (and unimplemented) methods
16279
16280 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16281
16282         * text.C (getVisibleRow): honor background color
16283
16284         * PainterBase.h:
16285         * Painter.h: remove default color argument for fillRectangle
16286
16287         * text.C (backgroundColor): new method
16288
16289 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16290
16291         * text.C (getVisibleRow): adjust
16292
16293         * font.[Ch] (rectText): new method, metrics
16294         (buttonText): new method, metrics
16295
16296         * PainterBase.[hC]: make rectText and buttonText always draw and take
16297         fewer paramteres.
16298
16299 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16300
16301         * ToolbarDefaults.C (read):
16302         * MenuBackend.C (read): allow escaping in all strings
16303
16304         * BufferView_pimpl.C (insertAndEditInset): new method.
16305         (Dispatch): use insertAndEditInset whenever appropriate.
16306
16307         * BufferView_pimpl.C (insertNote): removed
16308
16309         * BufferView_pimpl.C (smartQuote): new method, moved from
16310         BufferView; if an insetquote cannot be inserted, insert a '"'
16311         character instead.
16312
16313         * BufferView2.C: remove insertCorrectQuote();
16314
16315         * lyxfunc.C (getStatus): Add support for all remaingin
16316         inset-insert lfuns.
16317
16318         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16319
16320         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16321         command (necessary to pass " as parameter of self-insert.
16322
16323         * text.C (selectWordWhenUnderCursor):
16324         (selectWord): add word_location parameter
16325         (selectWordWhenUnderCursor): same + remove special code for word
16326         boundary.
16327         (selectNextWord): use kind() to guess type of insetspecialchar,
16328         not latex().
16329
16330         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16331         (insertErtContents): create ert insets as collapsed.
16332         (readInset): better compatibility code for Info inset.
16333
16334 2001-07-20  Juergen Vigna  <jug@sad.it>
16335
16336         * lyxfunc.C (dispatch): use always LyXFind now!
16337
16338         * text2.C (init): add a reinit flag so that the LyXText can be
16339         reinited instead of deleted and reallocated (used in InsetText).
16340
16341         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16342
16343         * text.C: ditto
16344
16345         * text2.C: ditto
16346
16347 2001-07-18  Juergen Vigna  <jug@sad.it>
16348
16349         * text.C (selectNextWord): handle insets inside inset by calling
16350         always the bv->text functions so that we can go up the_locking_inset!
16351
16352         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16353         in strange locations when inside an inset!
16354
16355         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16356         handling to include insets.
16357
16358         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16359
16360 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16361
16362         * LyXAction.C (init):
16363         * commandtags.h:
16364         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16365         LIGATURE_BREAK, since the name is so stupid.
16366
16367 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16368
16369         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16370         InsetInfos.
16371
16372         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16373
16374         * sp_form.[Ch]: remove.
16375
16376         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16377
16378         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16379         InsetInfo.
16380
16381         * src/buffer.C (readInset): ditto.
16382
16383 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16384
16385         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16386         menuSeparator(), endOfSentenceDot(), ldots() and
16387         hyphenationPoint(), which are therefore removed.
16388         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16389
16390         * LyXAction.C (init):
16391         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16392
16393         * paragraph.C (getWord): removed.
16394
16395         * BufferView_pimpl.C (Dispatch): use last word or selection for
16396         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16397
16398         * lyx_main.C (queryUserLyXDir): do not ask before creating
16399         user_dir, except if it has been named explicitely.
16400
16401 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16402
16403         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16404         a document of zero size.
16405
16406 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16407
16408         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16409         approriately in the c-tor and in require().
16410         (getPackages): output the appropriate LaTeX for natbib support.
16411
16412         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16413         variables "use_natbib" and "use_numerical_citations" when reading the
16414         LyX file.
16415         (readInset): read the various natbib cite commands.
16416         (validate): white-space change.
16417
16418         * bufferparams.[Ch]: new variables "bool use_natbib" and
16419         "bool use_numerical_citations".
16420         (writeFile): output them in the LyX file.
16421
16422 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16423
16424         * lyxfunc.C (getStatus): add support for all the inset insertion
16425         commands.
16426
16427         * text2.C (insertInset):
16428         * paragraph.C (insetAllowed):
16429         * BufferView_pimpl.C (insertInset): update to take in account the
16430         renaming of insertInsetAllowed
16431
16432         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16433
16434         * text2.C (getInset): new method. returns inset at cursor position.
16435
16436         * BufferView_pimpl.C (Dispatch): changes because of this.
16437
16438         * LyXAction.C (init): rename open-stuff to inset-toggle.
16439
16440         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16441
16442         * text2.C (toggleInset): renamed from openStuff; use
16443         Inset::open().
16444
16445 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16446
16447         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16448
16449         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16450
16451 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16452
16453         * buffer.C (readLyXformat2): Add filename to the error dialog
16454
16455 2001-07-18  Juergen Vigna  <jug@sad.it>
16456
16457         * tabular.C (GetCellNumber): put an assert here instead of the check!
16458
16459 2001-07-17  Juergen Vigna  <jug@sad.it>
16460
16461         * BufferView_pimpl.C (toggleSelection): adapted too.
16462
16463         * text.C (selectNextWord): adapted for use with insets.
16464         (selectSelectedWord): ditto
16465
16466 2001-07-17  Juergen Vigna  <jug@sad.it>
16467
16468         * sp_spell.C (PSpell): fix initialitation order.
16469
16470 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16471
16472         * paragraph.C: spacing
16473
16474 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16475
16476         * sp_spell.C: repair language selection for pspell
16477
16478 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * lyxfunc.h: change more methods to begin with lower char.
16481
16482 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16483
16484         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16485         for unknown layouts.
16486
16487 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16488
16489         * buffer.C (readLyXformat2): Generate an error dialog if there are
16490         unknown layouts.
16491
16492 2001-07-16  Juergen Vigna  <jug@sad.it>
16493
16494         * sp_spell.C: always compile ISpell part.
16495
16496         * lyxrc.C: added use_pspell entry and it's handling.
16497
16498 2001-07-13  Juergen Vigna  <jug@sad.it>
16499
16500         * sp_spell.C: removed double includes.
16501
16502 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16503
16504         Consistent use of Lsstream.h:
16505         * Lsstream.h: added using std::stringstream for consistencies sake.
16506
16507         * buffer.C: removed using std::stringstream
16508
16509         * lyxfont.C (stateText):
16510         * paragraph.C (asString):
16511         * text.C (selectNextWord, selectSelectedWord):
16512         * text2.C (setCounter):
16513         * vspace.C (asString, asLatexString):
16514         std::ostringstream -> ostringstream.
16515
16516 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16517
16518         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16519         * commandtags.h: add LFUN_HELP_ABOUTLYX
16520         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16521
16522 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16523
16524         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16525         cursorToggle()
16526         * lyx_gui_misc.C: remove spellchecker
16527         * lyxfunc.C: showSpellchecker
16528         * sp_base.h: added
16529         * sp_ispell.h: added
16530         * sp_pspell.h: added
16531         * sp_spell.C: added
16532         * sp_form.[Ch]: removed
16533         * spellchecker.[Ch]: removed
16534
16535 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16536
16537         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16538         is set.
16539         (simpleTeXSpecialChars): Simply print the input character without
16540         any special translation if pass_thru is set.
16541
16542         * layout.h: Added bool pass_thru to layout class for being able to
16543         implement pass through of a paragraph for Literate Programming.
16544
16545         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16546         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16547         * layout.C (Read): add "passthru" to list of layout tags and add
16548         code to set the pass_thru boolean when it is read.
16549
16550 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16551
16552         * trans_decl.h: remove allowed from KmodInfo
16553
16554         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16555         remove allowed code
16556         (Load): adjust
16557
16558         * paragraph_pimpl.C (erase): use boost::prior
16559
16560         * Painter.C (text): use data() instead of c_str() when length is
16561         also provided.
16562         * WorkArea.C (putClipboard): ditto
16563         * font.h (width): ditto
16564
16565         * BufferView2.C: use it-> instead of (*it). for iterators
16566         * texrow.C: ditto
16567         * paragraph_pimpl.C: ditto
16568         * paragraph.C: ditto
16569         * minibuffer.C: ditto
16570         * language.C: ditto
16571         * kbmap.C: ditto
16572         * encoding.C: ditto
16573         * counters.C: ditto
16574         * converter.C: ditto
16575         * chset.C: ditto
16576         * Variables.C: ditto
16577         * TextCache.C: ditto
16578         * MenuBackend.C: ditto
16579         * LyXAction.C: ditto
16580         * LColor.C: ditto
16581         * FloatList.C: ditto
16582         * DepTable.C: ditto
16583         * ColorHandler.C (LyXColorHandler): ditto
16584
16585 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16588
16589         * text2.C (openStuff): reintroduce this method (which had been
16590         nuked in NEW_INSETS frenzy).
16591
16592         * lyxfunc.C (Dispatch): when an action has not been handled, use
16593         its name in the error message, not its number.
16594
16595         * paragraph.C (inInset): change method name to begin with lowercase.
16596
16597         * undo_funcs.C:
16598         * text2.C: updates because of this.
16599
16600 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16601
16602         * ToolbarDefaults.C (add): add spaces in error message
16603
16604 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16607         (readLyXformat2): rename return_par to first_par, use lyxlex's
16608         pushToken and remove the manual push handling.
16609         (parseSingleLyXformat2Token): add another ert comp. variable:
16610         in_tabular, rename return_par to first_par. handle newlines better
16611
16612 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16615
16616 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * text2.C (getParFromID): removed
16619
16620         * buffer.C (getParFromID): new method moved form lyxtext.
16621         * BufferView2.C (insertErrors): adjust
16622         (setCursorFromRow): adjust
16623         * BufferView_pimpl.C (restorePosition): adjust
16624         * lyxfunc.C (Dispatch): adjust
16625         * undo_funcs.C (textUndo): adjust
16626         (textRedo): adjust
16627         (textHandleUndo): adjust
16628         (textHandleUndo): adjust
16629
16630 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * buffer.C: up' the LYX_FORMAT
16633
16634         * lyxfont.h: turn NO_LATEX on as default
16635
16636         * buffer.C (insertErtContents): new methods of tex style compability.
16637         (parseSingleLyXformat2Token): use it several places.
16638         * tabular.C (OldFormatRead): and here
16639
16640 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * text2.C: remove some commented code.
16643         reindent file.
16644
16645         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16646         * trans.C: changes because of the above.
16647
16648 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16649
16650         * text2.C (setCounter): Fix counters bug with bibliography layout.
16651
16652 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16655         own member functions
16656         (simpleTeXSpecialChars): ditto
16657
16658 2001-07-06  Juergen Vigna  <jug@sad.it>
16659
16660         * a lot of files: changed the access to LyXText::status and the
16661         call of undo-functions.
16662
16663         * undo.[Ch]: added a inset_id to the undo informations.
16664
16665         * undo_funcs.[Ch]: added and moved here all undo functions.
16666
16667         * lyxtext.h: give the status enum a weight, made status_ a private
16668         variable and made accessor functions for it, removed the whole bunch
16669         of undo-functions as they are now in their own file, make some
16670         functions publically available. Added function ownerParagraph with
16671         int parameter.
16672
16673         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16674         made InInset() a const function, added getParFromID() function.
16675
16676         * buffer.[Ch]: added const version for inset_iterator functions,
16677         added getInsetFromID() function.
16678
16679         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16680         changed undo functions for new version.
16681
16682 2001-07-05  Juergen Vigna  <jug@sad.it>
16683
16684         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16685         unknow mechanism does not call the proper constructor but only this
16686         one also if I request the other!?
16687
16688 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16689
16690         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16691
16692         * text2.C (LyXText): use initialization lists.
16693
16694         * lyxtext.h (Selection): initialize set_ and mark_
16695         (init): remove method
16696
16697 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16698
16699         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16700
16701 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16702
16703         * screen.[Ch]: change method names to begin with lowercase
16704
16705         * BufferView_pimpl.C (updateScrollbar): simplify further and
16706         hopefully make it a bit faster.
16707
16708 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16709
16710         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16711         calling directly xforms functions.
16712
16713         * Painter.C (Painter):
16714         * lyx_cb.C (MenuWrite):
16715         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16716         fl_display.
16717
16718         * lyx_gui.C: remove bogus guiruntime extern declaration.
16719
16720 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16723         in NEW_INSETS
16724         (redoDrawingOfParagraph): ditto
16725         (redoParagraphs): ditto
16726         (cutSelection): don't create a object for CutAndPaste use the
16727         static method directly
16728         (pasteSelection): ditto
16729
16730         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16731         LyXview (+ rename)
16732
16733 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16734
16735         * modifications to some other files because of this.
16736
16737         * Makefile.am (lyx_SOURCES): add XFormsView
16738
16739         * XFormsView.[Ch]: new files
16740
16741         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16742         the main window. Move the gui dependent stuff to XFormsView
16743
16744 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16745
16746         * tabular.C (GetCellInset): update cur_cell also in the row/col
16747         version of this function.
16748
16749         * lyxfunc.C: no need to include figure_form.h here.
16750
16751         * FontLoader.h:
16752         * lyxfunc.h:
16753         * lyxscreen.h:
16754         * text2.C:
16755         * lyxvc.C: no need to include forms.h here.
16756
16757 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16758
16759         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16760
16761         * lyxfunc.C (Dispatch):
16762         * Spacing.C (set):
16763         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16764         constructor argument.
16765
16766 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16767
16768         * paragraph.C (Paragraph): dont't clear, and just set layout.
16769         (makeSameLayout): use params's copy contructor.
16770
16771         * ParagraphParameters.[Ch] (makeSame): delete method
16772
16773 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16774
16775         * Variables.[Ch]: fix indentation, rename set to isSet
16776
16777 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * lyxfunc.C (Dispatch): fix typo
16780
16781 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16784         upper_bound.
16785
16786         * bufferlist.C: include assert.h for emergencyWrite().
16787
16788 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16789
16790         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16791           give up at last (bug #425202) !
16792
16793 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16794
16795         * lyx_gui_misc.C:
16796         * sp_form.h:
16797         * sp_form.C:
16798         * spellchecker.h:
16799         * spellchecker.C: strip spellchecker options and bring up
16800           preferences tab instead
16801
16802 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16805         the istringstream constructor
16806
16807 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16808
16809         * paragraph.C (getLayout): fix return value
16810
16811         * paragraph.h: do not declare getLayout as inline.
16812
16813         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16814
16815 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16816
16817         * lyxcursor.h (operator<): new func
16818         (operator>): new func
16819         (operator>=): new func
16820         (operator<=): new func
16821
16822         * text.C (changeCase): use selection.start and selection.end
16823         (changeRegionCase): require from to be <= to. Require par to be a
16824         valid paragraph.
16825
16826         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16827
16828 2001-06-27  Juergen Vigna  <jug@sad.it>
16829
16830         * text.C (cursorLeftOneWord): changed to return the cursor and added
16831         overlay with BufferView * parameter which calls this one.
16832         (getWord): added
16833         (selectWord): use new getWord function.
16834         (changeCase): renamed from changeWordCase as and extended to work
16835         also on selections.
16836
16837         * lyxtext.h: added enum word_location
16838
16839         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16840         changeCase as this operates now also on selections.
16841
16842 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16843
16844         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16845
16846         * many files: send debug output to Debug::INFO instead of
16847         Debug::ANY.
16848
16849         * converter.C (View):
16850         (Convert):
16851         (Move): send debug output to Debug::FILES instead of console.
16852
16853 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16854
16855         * lyxfunc.C (getStatus): use func_status
16856
16857         * func_status.h: new header, describing the results of
16858         LyXFunc::getStatus;
16859
16860         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16861         LFUN_MATH_HALIGN.
16862
16863 2001-06-25  The LyX Project  <jug@sad.it>
16864
16865         * buffer.C (sgmlOpenTag):
16866         (sgmlCloseTag):
16867         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16868
16869 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16870
16871         * text2.C: remove some dead code
16872
16873         * tabular.C (GetCellInset): store the last cell checked (gotten)
16874
16875         * tabular.h: add the helper for the speedup
16876
16877         * lyxtext.h: remove some dead code
16878
16879 2001-06-26  The LyX Project  <Asger>
16880
16881         * paragraph.C: Change export to LaTeX of alignment to
16882         \begin{center} and family for better roundtrip work with reLyX.
16883
16884         * Tune the math drawing a bit.
16885
16886 2001-06-25  The LyX Project  <Asger>
16887
16888         * LColor.C (LColor): New color for math background. New color
16889         for buttons.
16890
16891 2001-06-25  The LyX Project  <jug@sad.it>
16892
16893         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16894
16895         * lyxfunc.C (Open):
16896         * bufferlist.C (newFile): do not restrict to files ending with
16897         .lyx
16898
16899         * BufferView_pimpl.C (MenuInsertLyXFile):
16900
16901 2001-06-24  The LyX Project  <jug@sad.it>
16902
16903         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16904         of compare_no_case
16905
16906 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16907
16908         * lyxtext.h: rename most methods to begin with a small char.
16909         Lots of changes because of this.
16910
16911         * paragraph.C (Paragraph): do not call fitToSize
16912         (erase): call Pimpl::erase
16913         (insertChar): call Pimpl::insertChar
16914         (insertInset): call Pipl::insertInset
16915         (breakParagraph): do not call fitToSize
16916         (breakParagraphConservative): do not call fitToSize
16917         (fitToSize): remove method
16918
16919         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16920
16921 2001-06-24  The LyX Project  <Asger>
16922
16923         * Fix Qt compilation^2
16924
16925 2001-06-24  The LyX Project  <jug@sad.it>
16926
16927         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16928         depthHook(getDepth()-1).
16929
16930         * paragraph.h:
16931         * ParagraphParameters.h:
16932         * ParameterStruct.h: change type of depth to unsigned int ==
16933         depth_type. Many adaptations to other files before of that.
16934
16935 2001-06-24  The LyX Project  <Asger>
16936
16937         * Fix Qt compilation.
16938
16939 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16940
16941         * paragraph.h: renamed several methods to begin with small letter.
16942         several changes to many parts of the code because of this.
16943
16944 2001-06-23  The LyX Project  <jug@sad.it>
16945
16946         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16947         rewritten to discard all double spaces when KeepEmpty is off
16948         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16949         to only handle newlines but not fiddle with spaces and friends.
16950
16951         * lyxfunc.C (MenuNew): when doing 'new from template', use
16952         template_path as default directory
16953
16954 2001-06-23  The LyX Project  <Asger>
16955
16956         * Clean-up of header file includes all over
16957         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16958
16959 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16960
16961         * paragraph.h: renamed from lyxparagraph.h
16962
16963 2001-06-23  Asger  <lyx@violet.home.sad.it>
16964
16965         * Buffer.h: Removed Buffer::resize
16966         * BufferList.h: Removed BufferList::resize
16967         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16968         the document lazily when we change the width, or the font settings.
16969
16970 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16971
16972         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16973
16974 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16975
16976         * buffer.h: remove out of date comment
16977
16978 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16979
16980         * lyxscreen.h:
16981         * screen.C: fix "theoretical" GC leak
16982
16983 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16984
16985         * LaTeX.C (scanAuxFile):
16986         (deplog): remove trailing \r when reading stream (useful under
16987         win32)
16988
16989 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16990
16991         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16992         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16993         and BufferView::theLockingInset(Inset*), so should use them and not
16994         access bv_->text->the_locking_inset directly.
16995
16996         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16997
16998 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16999
17000         * Makefile.am:
17001         * tex-defs.h: remove old unused file
17002
17003 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17004
17005         * BufferView_pimpl.C: fix typo, remove minibuffer message
17006           when buffer has loaded
17007
17008 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17009
17010         * lyxfunc.C (Dispatch): use stringstream
17011         (MenuNew): use stringstream
17012         (Open): use stringstream
17013
17014         * importer.C (Import): use stringstream
17015
17016         * bufferview_funcs.C (CurrentState): use stringstream
17017
17018         * LaTeX.C (run): use stringstream
17019
17020         * BufferView_pimpl.C (savePosition): use stringstream
17021         (restorePosition): use stringstream
17022         (MenuInsertLyXFile): use stringstream
17023
17024 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17025
17026         * BufferView.C:
17027         * Bullet.C:
17028         * ColorHandler.C:
17029         * FontInfo.C:
17030         * FontLoader.C:
17031         * LColor.C:
17032         * LaTeXFeatures.C:
17033         * Painter.C:
17034         * gettext.C:
17035         * lyx_gui_misc.C:
17036         * lyxserver.C:
17037         * vspace.C: removed // -*- C++ -*- as first line.
17038
17039         * lyxfind.h:
17040         * version.h: added // -*- C++ -*- as first line.
17041
17042 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17043
17044         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17045
17046         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17047         of string
17048
17049 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17050
17051         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17052         of floats.
17053
17054 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17055
17056         * gettext.C: include LString.h even when --disable-nls is on.
17057
17058 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17059
17060         * converter.h (Get): changed argument type from int to
17061         FormatList::size_type to avoid unnecessary conversion.
17062
17063         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17064         before using it.
17065
17066 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17067
17068         * gettext.h: include LString.h even when --disable-nls is on.
17069
17070 2001-06-07  Juergen Vigna  <jug@sad.it>
17071
17072         * text.C (BreakAgain): subst spaces with tabs.
17073
17074         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17075         (resizeInsetsLyXText): set force on resizeLyXText.
17076
17077 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17078
17079         * gettext.h (gettext_init):
17080         (locale_init): use a real definition instead of a macro
17081
17082 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17083
17084         * Bufferview_pimpl.C:
17085         * LColor.h:
17086         * LColor.C: further lcolor tidies
17087
17088 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17089
17090         * BufferView_pimpl.C (updateScrollbar): simplify.
17091
17092         * BufferView2.C: don't include insets/insetinfo.h, change
17093         prototype for insertInset and call the Pimpl version. let
17094         updateInset call Pimpl version.
17095
17096         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17097         gotoInset to BufferView::Pimpl
17098
17099 2001-06-01  Juergen Vigna  <jug@sad.it>
17100
17101         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17102         inside a LockingInset (is the update needed at all?).
17103
17104 2001-05-31  Juergen Vigna  <jug@sad.it>
17105
17106         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17107         here not the old one otherwise how should we compare it afterwards
17108         if it's the same!
17109
17110 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17111
17112         * lyxfont.C:
17113         * tabular.C:
17114         * tabular-old.C:
17115         * FontInfo.C: bring C functions into global namespace when
17116         necessary
17117
17118 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17119
17120         * LString.h: make sure config.h has been loaded before LString.h.
17121
17122         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17123         (one for each char read by EatLine!).
17124
17125         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17126         variables.
17127
17128 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17129
17130         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17131         to the same as the par we break from
17132
17133 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17134
17135         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17136
17137         * MenuBackend.C (expand): also create menu entries for wide
17138         versions of the floats.
17139
17140         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17141
17142         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17143
17144         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17145         frontends/Makefile.am
17146
17147         * text2.C: adjust
17148         * text.C: adjust
17149
17150
17151         * tabular.C (getTokenValue): add std::
17152
17153         * tabular-old.C (getTokenValue): add std::
17154         (getTokenValue): ditto
17155         (getTokenValue): ditto
17156
17157         * screen.C (ToggleSelection): adjust
17158
17159         * lyxtext.h: put selection cursors inside a Selection struct.
17160
17161         * lyxfunc.C (moveCursorUpdate): adjust
17162
17163         * lyxfont.C (latexWriteStartChanges): add std::
17164
17165         * lyxfind.C: adjust
17166
17167         * font.h: delete with(char const *, LyXFont const &)
17168
17169         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17170
17171         * FontInfo.C (getFontname): add std::
17172
17173         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17174         (workAreaButtonPress): adjust
17175         (tripleClick): adjust
17176         (update): adjust
17177         (moveCursorUpdate): adjust
17178         (Dispatch): adjust
17179
17180         * BufferView2.C (gotoInset): adjust
17181
17182 2001-05-30  Juergen Vigna  <jug@sad.it>
17183
17184         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17185         to check pspell I add this as default as I now have new pspell
17186         libraries and they seem to use this.
17187
17188 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17189
17190         * text2.C (CutSelection): make the cursor valid before the call to
17191         ClearSelection.
17192
17193 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17194
17195         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17196         relied on 0 terminated strings and other horrors. Bug found due to
17197         the new assert in lyxstring!
17198
17199         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17200         KP_ keys.
17201
17202 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17203
17204         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17205         to latinkeys.bind.
17206
17207         * lyxfunc.C (processKeySym): change method of getting to the
17208         self-insert char.
17209
17210         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17211         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17212         * BufferView_pimpl.[Ch]: here as private methods.
17213
17214 2001-05-28  Juergen Vigna  <jug@sad.it>
17215
17216         * text.C (SetHeightOfRow): added the update() call again as it is
17217         needed to initialize inset dimensions!
17218
17219 2001-05-16  Juergen Vigna  <jug@sad.it>
17220
17221         * text2.C (SetCharFont): Add new function with BufferView * and
17222         bool toggleall parameters for setting insets internal fonts.
17223         (SetFont): Freeze the undo as we may change fonts in Insets and
17224         all this change should be inside only one Undo!
17225
17226         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17227         setting font's in insets as for them we have the SetFont function!
17228
17229 2001-05-15  Juergen Vigna  <jug@sad.it>
17230
17231         * text2.C (ClearSelection): to be sure we REALLY don't have any
17232         selection anymore!
17233
17234         * tabular.C (TeXCellPreamble): fixed the left border problem for
17235         multicolumn cells.
17236
17237 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17238
17239         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17240         dependancy file
17241
17242 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17245         LFUN_BREAKPARAGRAPH.
17246
17247         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17248         help test to "internal only", similar for LFUN_INSERT_URL
17249
17250         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17251         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17252         auto_region_delete and deadkeys.
17253
17254 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17255
17256         * LColor.h:
17257         * LColor.C: remove some dead entries, tidy a little
17258
17259 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17260
17261         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17262         commented code.
17263         (Dispatch): implement LFUN_ESCAPE
17264
17265         * commandtags.h: add LFUN_ESCAPE
17266
17267         * LyXAction.C (init): add entry for LFUN_ESCAPE
17268
17269         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17270         Remove commented code.
17271         (insertNote): moved here
17272         (open_new_inset): moved here
17273
17274         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17275         BufferView_pimpl
17276
17277 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17278
17279         * kbmap.C (findbinding): clean it up and make it work correctly.
17280
17281         * lyx_main.C (init): do not pass argc and argv as parameters
17282
17283 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17284
17285         * buffer.C: fix path for OS/2 & Win32
17286
17287         * lyx_gui.C:
17288         * lyx_main:
17289         * lyx_main.C: Added os:: class.
17290
17291         * os2_defines.h: update
17292
17293 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17294
17295         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17296         better by trying again with reduced state.
17297
17298 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17299
17300         * lyxrc.C (read): print error about invalid key sequence only when
17301         debugging (because not all latinX keysyms are known to some X
17302         servers)
17303
17304         * kbsequence.C (getiso): add a few std:: qualifiers
17305         (getiso): comment out extra return statement.
17306
17307 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17308
17309         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17310         handling.
17311         (Dispatch): enhance the accent inset a bit. (not perfect)
17312
17313 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17314
17315         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17316
17317 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17318
17319         * bufferlist.C (emergencyWrite): fix assert() call
17320
17321 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17322
17323         * text.C (InsertChar): Added trivial patch to only send the "you
17324         can not do multiple spaces this way" message once during a
17325         session.
17326
17327 2001-05-08  Baruch Even  <baruch@lyx.org>
17328
17329         * Makefile.am: Changed order of libraries to get LyX to link properly
17330         with the gnome frontend.
17331
17332 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17333
17334         * LaTeXFeatures.h: add a std:: qualifier
17335
17336 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17337
17338         * paragraph.C (String): use stringstream
17339
17340 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17341
17342         * paragraph.C (writeFile): remove footflag arg
17343
17344         * buffer.C (makeLaTeXFile): use stringstream
17345         (latexParagraphs): remove footnot gurba
17346
17347         * LaTeXFeatures.C (getPackages): use stringstream
17348         (getMacros): likewise
17349         (getTClassPreamble): likewise
17350         (getFloatDefinitions): new method
17351
17352         * paragraph.C (writeFile): reindent
17353         (Erase): reindent
17354
17355         * WorkArea.h: revert the xpos + etc changes.
17356
17357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17358
17359         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17360
17361         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17362         (pasteSelection): likewise
17363         * text2.C (CreateUndo): likewise
17364
17365 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17366
17367         * minibuffer.C (peek_event): temporarily reduce the functionality
17368         of the minibuffer (to allow args on lfuns)
17369
17370         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17371         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17372
17373         * buffer.C (readInset): add compability reading of old float
17374         lists, add reading of new style float list.
17375         (readInset): avoid reevaluation of inscmd.getCmdName()
17376         (getLists): reindent
17377
17378         * MenuBackend.C (MenuItem): implement parsing of
17379         md_floatlistinsert and md_floatinsert.
17380         (expand::LastFiles): move initalizaton of iterators out of loop,
17381         avoid reevaluation.
17382         (expand::Documents): introduce typdedef vector<string> Strings,
17383         and use it.
17384         (expand::ExportFormats): introduce typedef vector<Format const *>
17385         Formats, and use it.
17386         (expand): implement FloatListInsert and FloatInsert.
17387
17388         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17389         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17390         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17391
17392         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17393         handling.
17394         (Dispatch::LFUN_FLOAT_LIST): implement
17395
17396 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17397
17398         * LaTeX.C (run): Fix problem with --export code.
17399
17400 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17401
17402         * BufferView.[Ch] (workarea): removed.
17403         (getClipboard) new method; wrapper for workarea()->getClipboard()
17404
17405         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17406         bug.
17407
17408         * WorkArea.h (width, height, xpos, ypos): These methods all
17409         returned the dimensions of the work_area sub-area of WorkArea,
17410         resulting in a position error if the WorkArea were resized. Now
17411         return the dimensions of the entire WorkArea.
17412
17413         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17414
17415 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17416
17417         * LaTeX.C (deplog): correct the syntax of regex reg1
17418
17419 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17420
17421         * undo.C: remove !NEW_INSETS cruft
17422
17423 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17424
17425         * text2.C: remove !NEW_INSETS cruft
17426
17427         * text.C: remove !NEW_INSETS cruft
17428
17429         * tabular.C: remove !NEW_INSETS cruft
17430
17431         * spellchecker.C: remove !NEW_INSETS cruft
17432
17433         * lyxtext.h: remove !NEW_INSETS cruft
17434
17435         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17436
17437         * lyxfunc.C: remove !NEW_INSETS cruft
17438
17439         * lyxfind.C: remove !NEW_INSETS cruft
17440
17441         * lyx_cb.C: remove !NEW_INSETS cruft
17442
17443         * figureForm.C: remove  !NEW_INSETS cruft
17444
17445         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17446
17447         * buffer.[Ch]: remove !NEW_INSETS cruft
17448
17449         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17450
17451         * CutAndPaste.C: remove !NEW_INSETS cruft
17452
17453         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17454
17455         * BufferView2.C: remove !NEW_INSETS cruft
17456
17457         * BufferView.h: remove !NEW_INSETS cruft
17458
17459 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17460
17461         * Lsstream.h: include LString.h before the sstream headers to
17462         fix problem with gcc 2.95.3 and lyxstring
17463
17464 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17465
17466         * lyx_main.C: add using directives when needed for C functions
17467         declared in std:: namespace.
17468
17469 2001-04-27  Juergen Vigna  <jug@sad.it>
17470
17471         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17472         (SetHeightOfRow): comment out the update call should not be needed!
17473
17474 2001-04-13  Juergen Vigna  <jug@sad.it>
17475
17476         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17477         (LyXTabular): tried to minimize operator= operations (and realized
17478         hopfully Lars wish).
17479
17480 2001-04-27  Juergen Vigna  <jug@sad.it>
17481
17482         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17483
17484 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17485
17486         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17487
17488         * buffer.C (readInset): hack to make listof algorithm work
17489
17490         * BufferView_pimpl.C: hack to make listof algorithm work
17491
17492 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17493
17494         * LyXAction.C: removed all !NEW_INSETS cruft
17495         (init): moved lfun_item in method
17496
17497         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17498
17499 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17500
17501         * BufferView2.C (theLockingInset): white space.
17502
17503 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17504
17505         * minibuffer.C: include <iostream>
17506
17507         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17508
17509         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17510
17511         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17512
17513         * text.[Ch] (TransposeChars): new method
17514
17515 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17516
17517         * call message directly through LyXView instead of through LyXFunc
17518         * BufferView2.C: adjust
17519         * BufferView_pimpl.C: adjust
17520         * FontLoader.C: adjust
17521         * buffer.C: adjust
17522         * bufferview_funcs.C: adjust
17523         * converter.C: adjust
17524         * figureForm.C: adjust
17525         * importer.C: adjust
17526         * lyx_cb.C: adjust
17527         * lyx_gui_misc.C: adjust
17528         * lyxfunc.C: adjust
17529         * lyxvc.C: adjust
17530         * text2.C: adjust
17531         + more files in subdirs
17532
17533         * lyxparagraph.h (size): move up int file
17534         (GetLayout): ditto
17535
17536         * adjust all uses of Assert to lyx::Assert.
17537
17538         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17539         lyxfunctional in namespace lyx
17540         * layout.C (hasLayout): ditto
17541         (GetLayout): ditto
17542         (GetLayout): ditto
17543         (delete_layout): ditto
17544         (NumberOfClass): ditto
17545         * converter.C (GetFormat): ditto
17546         (GetNumber): ditto
17547         (Add): ditto
17548         (Delete): ditto
17549         (SetViewer): ditto
17550         * bufferlist.C (getFileNames): ditto
17551         (emergencyWriteAll): ditto
17552         (exists): ditto
17553         (getBuffer): ditto
17554         * MenuBackend.C (hasSubmenu): ditto
17555         (hasMenu): ditto
17556         (getMenu): ditto
17557         * BufferView_pimpl.C (getInsetByCode): ditto
17558
17559 2001-04-18  Juergen Vigna  <jug@sad.it>
17560
17561         * vspace.C (asLatexString): fixed the 100% problem.
17562
17563 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17564
17565         * lyxfunc.C (Dispatch):
17566         * minibuffer.C:
17567         * minibuffer.h: add a few std:: qualifiers
17568
17569 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17570
17571         * minibuffer.[Ch]: reimplement so that commands is initiated and
17572         run from lyxfunc, simplified som handling, and made the completion
17573         and history code for complete. wip.
17574
17575         * lyxfunc.C (processKeySym): call message
17576         (miniDispatch): new temporary method
17577         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17578         (LFUN_MESSAGE): implement
17579         (LFUN_MESSAGE_PUSH): implement
17580         (LFUN_MESSAGE_POP): implement
17581         (initMiniBuffer): the initial/defualt minibuffer message.
17582
17583         * lyxfont.[Ch]: inline some more getters
17584
17585         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17586
17587         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17588
17589         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17590         (AutoSave): use LFUN_MESSAGE
17591         (Reconfigure): ditto
17592
17593         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17594
17595         * figureForm.C: use LFUN_MESSAGE
17596
17597         * converter.C (runLaTeX): use LFUN_MESSAGE
17598
17599         * bufferview_funcs.C: use LFUN_MESSAGE
17600         (Melt): ditto
17601         (changeDepth): ditto
17602
17603         * bufferparams.h: use boost::
17604
17605         * bufferlist.h: inherit privately from noncopyable
17606
17607         * bufferlist.C (loadLyXFile): remove some commented code.
17608
17609         * buffer.C (runChktex): use LFUN_MESSAGE
17610
17611         * ShareContainer.h: inherit privately from noncopyable
17612
17613         * ParagraphParameters.[hC] (depth): inline it.
17614
17615         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17616         methods.
17617         (message): new method
17618         (messagePush): ditto
17619         (messagePop): ditto
17620         (show): init minibuffer
17621         (showState): direct call
17622
17623         * LaTeX.[Ch]: inherit privately from noncopyable
17624         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17625         instead of WriteStatus.
17626
17627         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17628
17629         * BufferView_pimpl.C (buffer): don't init minibuffer
17630         (workAreaButtonPress): use LFUN_MESSAGE
17631         (workAreaButtonRelease): ditto
17632         (savePosition): ditto
17633         (restorePosition): ditto
17634         (MenuInsertLyXFile): ditto
17635         (workAreaExpose): don't init minibuffer
17636         (update): remove commented code, simplify
17637
17638         * BufferView2.C (openStuff): use LFUN_MESSAGE
17639         (toggleFloat): ditto
17640         (menuUndo): ditto
17641         (menuRedo): ditto
17642         (copyEnvironment): ditto
17643         (pasteEnvironment): ditto
17644         (copy): ditto
17645         (cut): ditto
17646         (paste): ditto
17647         (gotoInset): ditto
17648         (updateInset): remove some commented code
17649
17650         * lastfiles.h: inherit privately from noncopyable
17651         * layout.h: ditto
17652         * lyx_gui.h: ditto
17653         * lyx_main.h: ditto
17654         * lyxlex.h: ditto
17655         * lyxlex_pimpl.h: ditto
17656
17657         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17658         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17659         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17660
17661         * LyXAction.h: inherit privately from noncopyable, add methods
17662         func_begin, func_end, returning iterators to the func map.
17663
17664         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17665         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17666         (func_begin): new method
17667         (func_end): new method
17668
17669         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17670         and not)
17671         (copySelection): ditto
17672         (pasteSelection): ditto
17673
17674         * BufferView.C: whitespace change
17675         * BufferView.h: inherit privately from noncopyable
17676
17677 2001-04-16  Allan Rae  <rae@lyx.org>
17678
17679         * tabular-old.C (l_getline):
17680         * spellchecker.C (sc_check_word):
17681         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17682         an unrecognised preprocessor directive.  So ensure they're wrapped.
17683
17684 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17685
17686         * src/exporter.C (Export): Give an error message when path to file
17687         contains spaces.
17688
17689 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17690
17691         * LaTeX.C (deplog): Always check that foundfile exists.
17692
17693 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17694
17695         * lyx_main.h:
17696         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17697
17698 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17699
17700         * tabular.[Ch] (getLabelList): implement new method
17701
17702         * minibuffer.h: comment ouf setTiimer
17703
17704         * minibuffer.C (ExecutingCB): constify res
17705         (peek_event): constify s
17706         (Set): constify ntext
17707         (Init): constify nicename
17708
17709         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17710
17711         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17712         (savePosition): use two params to Minibuffer::Set
17713         (restorePosition): ditto
17714
17715 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17716
17717         * lyx_main.C: include language.h
17718
17719         * Makefile.am (lyx_main.o): add language.h
17720
17721 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17722
17723         * exporter.C:
17724         * paragraph.C:
17725         * screen.C:
17726         * tabular.C:
17727         * CutAndPaste.C: include gettext.h
17728
17729         * lyxfont.h: remove old hack with ON and OFF.
17730
17731         * lyxparagraph.h:
17732         * lyxfont.h: do not include language.h...
17733
17734         * BufferView2.C:
17735         * LaTeXFeatures.C:
17736         * Painter.C:
17737         * bufferview_funcs.C:
17738         * font.C:
17739         * lyxfont.C:
17740         * text.C:
17741         * text2.C:
17742         * trans_mgr.C:
17743         * paragraph.C: ... but do it here instead
17744
17745 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17746
17747         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17748
17749         * tabular.C: small reformat
17750
17751         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17752         NEW_INSETS version
17753         (GetChar): ditto
17754         (BreakParagraph): ditto
17755         (SetOnlyLayout): ditto
17756         (SetLayout): ditto
17757
17758         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17759         with one arg less.
17760
17761         * lastfiles.C: removed most using decl, add std:: where needed
17762
17763         * buffer.C: ws changes
17764
17765         * MenuBackend.C (class compare_format): put into anon namespace
17766         (expand): constify label, names, action, action2
17767         (expand):
17768
17769         * text.C (SingleWidth): constify font
17770         (IsBoundary): constify rtl2
17771         (GetVisibleRow): constify ww
17772
17773         * LaTeX.C (deplog): constify logfile
17774
17775         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17776         start_x, end_x
17777         (workAreaExpose): constify widthChange, heightChange
17778
17779         * lyxrow.C (par): moved
17780         (height): moved
17781         (next): moved
17782         * lyxrow.h: as inlines here
17783
17784         * lyxfont.h (shape): moved from lyxfont.C
17785         (emph): moved from lyxfont.C
17786
17787         * lyxfont.C (LyXFont): use initialization list for all
17788         constructors
17789         (shape): move to lyxfont.h as inline
17790         (emph): move to lyxfont.h as inline
17791
17792
17793 2001-04-04  Juergen Vigna  <jug@sad.it>
17794
17795         * vspace.C: had to include stdio.h for use of sscanf
17796
17797 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17798
17799         * BufferView.h:
17800         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17801         independent of xforms.
17802
17803 2001-04-02  Juergen Vigna  <jug@sad.it>
17804
17805         * spellchecker.C: fixed namespace placing!
17806
17807 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17808
17809         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17810         the LyXParagraph * is 0.
17811
17812 2001-03-29  Juergen Vigna  <jug@sad.it>
17813
17814         * vspace.C: added support for %, c%, p%, l%.
17815         (stringFromUnit): added helper function.
17816         (asLatexString): changed to give right results for the %-values.
17817
17818         * buffer.C: convert the widthp in a width%.
17819
17820 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17821
17822         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17823         figureForm.[Ch].
17824
17825         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17826         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17827
17828         * lyx_cb.[Ch]: see above.
17829
17830         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17831         form1.[Ch].
17832
17833         * form1.[Ch]:
17834         * lyx.[Ch]: replaced by figure_form.[Ch].
17835
17836         * lyx_gui.C:
17837         * lyx_gui_misc.C:
17838         * lyxfunc.C: changed headers associated with above changes.
17839
17840 2001-03-27  Juergen Vigna  <jug@sad.it>
17841
17842         * BufferView_pimpl.C: set the temporary cursor right!
17843
17844 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17845
17846         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17847
17848 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17849
17850         * LString.h: removed "using std::getline"!
17851
17852         * BufferView_pimpl.C (Dispatch): changes due to changes in
17853         InsetInclude::Params.
17854
17855         * buffer.C (tag_name): removed redundant break statements as they were
17856         producing lots of warnings with my compiler.
17857
17858 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17859
17860         * LString.h: add "using std::getline" when using the real <string>.
17861
17862 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17863
17864         * buffer.C: removed bitset usage.
17865         PAR_TAG moved to an anonymous name space.
17866         (tag_name): new funtion, also in the anonymous namespace.
17867         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17868         (makeDocBookFile): clean code. Completed transition from string arrays
17869         to string vectors.
17870         (SimpleDocBookOnePar): code clean.
17871
17872 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17873
17874         * tabular.C: add some comments.
17875
17876 2001-03-22  Juergen Vigna  <jug@sad.it>
17877
17878         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17879         compatibility read a bit and fixed bug with minipage in different
17880         depth.
17881
17882 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17883
17884         * buffer.C (pop_tag): removed.
17885         (push_tag): removed.
17886         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17887         array replaced with vector. Added support for CDATA sections.
17888         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17889         at any nest level.
17890         (makeDocBookFile): XML conformant declaration of CDATA section,
17891         fixed bug related to <emphasis> in the first paragraph char.
17892         (sgmlOpenTag): exclude empty tags.
17893         (sgmlCloseTag): ditto.
17894
17895         * buffer.h (pop_tag): removed.
17896         (push_tag): removed.
17897
17898 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17899
17900         * language.h (Languages): added size_type and size().
17901
17902 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17903
17904         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17905         response on compability reading of minipages. One probliem is that
17906         the old usage of minipages was flertydig
17907
17908         * several files here and in subdirs: don't use static at file
17909         scope use anon namespaces instead.
17910
17911 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17912
17913         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17914         LaTeX output. This is necessary for Literate document
17915         processing.
17916
17917 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17918
17919         * buffer.C: insert hfill when needed.
17920
17921         * tabular.C (l_getline): use string::erase, small whitespace change.
17922
17923         * BufferView_pimpl.C: try the anon namespace.
17924         * WorkArea.C: ditto
17925
17926 2001-03-16  Juergen Vigna  <jug@sad.it>
17927
17928         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17929         otherwise it won't open options-dialogs.
17930
17931         * buffer.C: honor pextraWidth(p) on converting minipages.
17932
17933         * tabular.C (l_getline): changed the functions to strip trailing \r.
17934
17935 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17936
17937         * BufferView_pimpl.C:
17938         * minibuffer..C: added "using SigC::slot" declaration.
17939
17940 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17941
17942         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17943
17944         * text2.C: ditto
17945
17946         * text.C: ditto
17947
17948         * paragraph.C: ditto
17949
17950         * lyxtext.h: NO_PEXTRA
17951
17952         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17953
17954         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17955         * ParameterStruct.h: ditto
17956         * ParagraphParameters.h: ditto
17957         * lyxparagraph.h: ditto
17958
17959 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17960
17961         * buffer.C: add compability for minipage alignment.
17962         (latexParagraphs): remove unwanted pextra check.
17963
17964         * several files: remove CXX_WORKING_NAMESPACES
17965
17966         * buffer.C (pop_tag): tie is in namespace boost
17967
17968         * BufferView.h: noncopyable is in namespace boost
17969         * lyxlex.h: ditto
17970         * lyx_main.h: ditto
17971         * lyx_gui.h: ditto
17972         * layout.h: ditto
17973         * lastfiles.h: ditto
17974         * bufferlist.h: ditto
17975         * ShareContainer.h: ditto
17976         * LyXView.h: ditto
17977         * LyXAction.h: ditto
17978         * LaTeX.h: ditto
17979
17980 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17981
17982         * Merging changes from BRANCH_MVC back into HEAD.
17983
17984         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17985
17986 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17987
17988         * BufferView_pimpl.C: change from intl.C
17989
17990         * combox.h:
17991         * combox.C:
17992         * Makefile.am: move combox.*
17993
17994         * form1.h:
17995         * form1.C:
17996         * lyx_gui.C:
17997         * intl.h:
17998         * intl.C: remove dialog (covered by prefs)
17999
18000 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18001
18002         * lyxfunc.C (Dispatch): removed redundant break statement.
18003
18004 2001-03-14  Juergen Vigna  <jug@sad.it>
18005
18006         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18007
18008 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18009
18010         * buffer.C: add hack to fix compability reading of minipages.
18011
18012 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18013
18014         * buffer.C (getLists): Cleanup.
18015
18016 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18017
18018         * lyxfont.C (update): don't honor toggleall on font size.
18019
18020 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18021
18022         * bmtable.c:
18023         * bmtable.h:
18024         * Makefile.am: moved to frontends/xforms/
18025
18026         * lyx_gui_misc.C:
18027         * lyxfunc.C:
18028         * BufferView_pimpl.C: changes for moved mathpanel
18029
18030 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18031
18032         * gettext.h: fix gettext_init() in --disable-nls
18033
18034 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18035
18036         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18037
18038 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18039
18040         * lyx.C:
18041         * lyx.h: strip external form
18042
18043 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18044
18045         * BufferView_pimpl.C: add comment, destroySplash()
18046
18047 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18048
18049         * BufferView_pimpl.C:
18050         * LyXAction.C:
18051         * buffer.C:
18052         * commandtags.h:
18053         * lyxfunc.C: use re-worked insetinclude
18054
18055 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18056
18057         * buffer.C: add using std::stringstream.
18058
18059         * lyx_cb.C: readd using std::ios.
18060
18061         * buffer.C: add using std::map.
18062
18063         * BufferView_pimpl.C: add using std::vector.
18064
18065         * ShareContainer.h: add std:: to swap.
18066
18067         * buffer.h: add some typedefs
18068         * buffer.C (getLists): use them
18069         (getLists): renamed from getTocList.
18070         add a counter for the different float types and use it in the
18071         generated string.
18072         (getLists): use the same counter for the NEW_INSETS and the "non"
18073         NEW_INSETS
18074
18075         * lyx_cb.h: remove unused items, includes, using etc.
18076
18077         * ShareContainer.h: remove some commented code, add more comments
18078         and "documentation".
18079
18080 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18081
18082         * buffer.C (getTocList): make the list also when NEW_INSETS is
18083         defined.
18084
18085         * buffer.h: remove TocType
18086
18087         * buffer.C (getTocList): change to return a map<string,
18088         vector<TocItem> >, implement for dynamic number of list.
18089
18090         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18091         * text2.C (PasteSelection): adjust
18092         * CutAndPaste.C (pasteSelection): adjust
18093
18094         * FloatList.C (FloatList): update from the new_insets branch.
18095         * Floating.[Ch]: ditto
18096         * LaTeXFeatures.C: ditto
18097         * buffer.C: ditto
18098         * lyxlex_pimpl.C: ditto
18099
18100         * paragraph.C (Last): remove when NEW_INSETS is defined.
18101
18102         * other file: changes because of the above.
18103
18104 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18105
18106         * lyxparagraph.h: rename next to next_, previous to previous_,
18107         make them private for NEW_INSETS. Rename Next() to next(),
18108         Previous() to previous().
18109
18110         * other files: changes because of the above.
18111
18112 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18113
18114         * BufferView.h:
18115         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18116         problem.
18117
18118 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18119
18120         * main.C (main): pass lyx_localedir to gettext_init().
18121
18122         * gettext.h: remove locale_init and gettext_init macros
18123
18124         * gettext.C (locale_init): new function
18125         (gettext_init): new function
18126
18127         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18128         setlocale().
18129
18130 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18131
18132         * Moved credits to frontends:
18133         * credits.[Ch]: removed
18134         * credits_form.[Ch]: removed
18135         * lyx_gui_misc.C: remove credits stuff
18136         * Makefile.am:
18137
18138 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18139
18140         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18141
18142         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18143         unneeded destructor.
18144
18145         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18146         a standalone pointer again.
18147
18148         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18149
18150 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18151
18152         * Makefile.am:
18153         * filedlg.h:
18154         * filedlg.C:
18155         * LyXAction.C:
18156         * ToolbarDefaults.C:
18157         * bufferlist.C:
18158         * commandtags.h:
18159         * form1.C:
18160         * form1.h:
18161         * lyx_cb.C:
18162         * lyx_cb.h:
18163         * lyxfunc.h:
18164         * lyxfunc.C:
18165         * BufferView_pimpl.C: use new file dialog in GUII
18166
18167         * lyx_cb.h:
18168         * lyx_cb.C: remove LayoutsCB to Toolbar
18169
18170 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18171
18172         * ShareContainer.h (get): add std:: qualifier
18173
18174 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18175
18176         * ShareContainer.h: define a proper ShareContainer::value_type
18177         type (and use typename to please compaq cxx)
18178
18179 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18180
18181         * lyxparagraph.h: move serveral local vars to
18182         ParameterStruct/ParagraphParameters., use ShareContainer in
18183         FontTable., make vars in FontTable private and add getter and
18184         setter.
18185
18186         * paragraph.C: changes because of the above.
18187
18188         * lyxfont.h: remove copy constructor and copy assignment. (the
18189         default ones is ok), move number inside FontBits. move inlines to
18190         lyxfont.C
18191
18192         * lyxfont.C: add number to initializaton of statics, move several
18193         inlines here. constify several local vars. some whitespace
18194         cleanup. Dont hide outerscope variables.
18195
18196         * Spacing.h: add two new constructors to match the set methods.
18197
18198         * ShareContainer.h: new file, will perhaps be moved to support
18199
18200         * ParameterStruct.h: new file
18201
18202         * ParagraphParameters.h: new file
18203
18204         * ParagraphParameters.C: new file
18205
18206         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18207         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18208
18209         * BufferView_pimpl.C: ParagraphParameter changes.
18210         * buffer.C: Likewise.
18211         * bufferview_funcs.C: Likewise.
18212         * text.C: Likewise.
18213         * text2.C: Likewise.
18214
18215 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18216
18217         * lyxfind.C (LyXReplace): do not redefine default argument in
18218         implementation.
18219         (IsStringInText): ditto
18220         (SearchForward): ditto
18221         (SearchBackward): ditto
18222
18223 2001-03-06  Juergen Vigna  <jug@sad.it>
18224
18225         * lyxfind.C (IsStringInText): put parentes around expressions.
18226
18227 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18228
18229         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18230
18231 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18232
18233         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18234
18235         * stl_string_fwd.h: add comment
18236
18237         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18238
18239         * tabular.h:
18240         * tabular.C: remove unused DocBook methods
18241
18242         * intl.C:
18243         * language.C:
18244         * paragraph.C:
18245         * buffer.C:
18246         killed DO_USE_DEFAULT_LANGUAGE
18247
18248 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18249
18250         * lyx_gui.C: do not include language.h.
18251
18252         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18253         arguments in function implementation.
18254
18255 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18256
18257         * BufferView_pimpl.C: add <ctime>
18258
18259 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18260
18261         * BufferView_pimpl.C: add using std::find_if
18262
18263 2001-02-27  José Matos  <jamatos@fep.up.pt>
18264
18265         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18266         by OnlyPath.
18267
18268 2001-02-11  José Matos  <jamatos@fep.up.pt>
18269
18270         * buffer.C (makeDocBookFile): command styles now have a parameter as
18271         "title" by default.
18272
18273 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18274
18275         * layout_forms.[Ch]: removed
18276         * lyx_cb.[Ch]: out character
18277         * lyx_gui.C: out character
18278         * lyx_gui_misc.C: out character
18279         * bufferview_funcs.C: : out character,
18280         added toggleall as parameter in ToggleAndShow
18281
18282 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18283
18284         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18285
18286         * text2.C (SetCurrentFont): Disable number property at boundary.
18287
18288 2001-02-26  Juergen Vigna  <jug@sad.it>
18289
18290         * lyxfunc.C (getStatus): added a string argument override function so
18291         that this is correctly called from LyXFunc::Dispatch if it contains a
18292         do_not_use_argument which is used!
18293         (Dispatch): added check for "custom" export and call appropriate func.
18294
18295 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18296
18297         * lyxrc.C: Add language_command_local, language_use_babel and
18298         language_global_options.
18299
18300         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18301
18302         * buffer.C (makeLaTeXFile): Use language_use_babel and
18303         language_global_options.
18304
18305 2001-02-23  Juergen Vigna  <jug@sad.it>
18306
18307         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18308         which works with LyXText and putted it inside BufferView. Here now we
18309         only call for that part the BufferView::Dispatch() function.
18310
18311         * BufferView.C (Dispatch): added.
18312
18313         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18314         functions which needs to use a LyXText over from LyXFunc.
18315         (MenuInsertLyXFile): added
18316         (getInsetByCode): added
18317         (moveCursorUpdate): added
18318         (static TEXT): added
18319
18320 2001-02-22  Juergen Vigna  <jug@sad.it>
18321
18322         * BufferView_pimpl.C (update): call a status update to see if LyXText
18323         needs it.
18324
18325 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18326
18327         * vc-backend.C (revert): implement for CVS
18328         (getLog): implement for CVS
18329
18330 2001-02-20  Juergen Vigna  <jug@sad.it>
18331
18332         * text2.C (ClearSelection): added BufferView param for inset_owner call
18333
18334         * lyxfunc.C (TEXT): added this function and use it instead of
18335         directly owner->view()-text of getLyXText().
18336
18337 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18338
18339         * src/layout_forms.C: out preamble
18340         * src/layout_forms.h: out preamble
18341         * src/lyx_cb.C: out preamble
18342         * src/lyx_cb.h: out preamble
18343         * src/lyx_gui.C: out preamble
18344         * src/lyx_gui_misc.C: out preamble
18345         * src/lyxfunc.C: connect with guii preamble
18346
18347 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18348
18349         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18350
18351 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18352
18353         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18354         whether to run bibtex.
18355
18356 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18357
18358         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18359
18360 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18361
18362         * Makefile.am (lyx_SOURCES): removed bibforms.h
18363
18364         * vspace.h: doxygen
18365
18366         * text.C (GetVisibleRow): make several local vars const
18367
18368         * tabular.C: small cleanup.
18369
18370         * lyxserver.C (callback): use compare instead of strncmp
18371
18372         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18373         inlines to after class or to paragraph.C
18374
18375         * lyxfont.h: remove friend operator!=
18376
18377         * converter.h: move friend bool operator< to non friend and after
18378         class def.
18379
18380         * combox.h: small cleanup
18381
18382         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18383         to inlines after class def.
18384
18385         * buffer.C (pop_tag): use string operations instead of strcmp
18386
18387         * bmtable.c: doxygen, small cleanup
18388
18389         * LaTeX.h: remove friend operator==
18390
18391 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18392
18393         * screen.C:
18394         * lyxrc.[Ch]:
18395         * lyxfunc.C:
18396         * lyxfont.[Ch]:
18397         * lyx_cb.C:
18398         * intl.[Ch]:
18399         * commandtags.h:
18400         * buffer.C:
18401         * WorkArea.[Ch]:
18402         * LyXAction.C:
18403         * BufferView_pimpl.C:
18404         * BufferView.[Ch]: remove cruft
18405
18406 2001-02-14  Juergen Vigna  <jug@sad.it>
18407
18408         * lyxfunc.C: removed #if 0 unused code
18409
18410         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18411
18412         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18413
18414         * text2.C (SetSelection): added a BufferView * parameter
18415
18416 2001-02-13  Juergen Vigna  <jug@sad.it>
18417
18418         * lyxfunc.C (Dispatch): fixed protected blank problem.
18419         * BufferView2.C (protectedBlank): added LyxText * parameter.
18420
18421         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18422         (AppendColumn): same as above for column_info.
18423
18424         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18425         (moveCursorUpdate): use a LyXText param for support of InsetText.
18426
18427         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18428         (tripleClick): ditto
18429
18430         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18431
18432         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18433
18434         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18435
18436         * text2.C (SetSelection): set correct update status if inset_owner
18437         (ToggleFree): ditto
18438
18439 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18440
18441         * tabular.C: remove some commented code.
18442
18443 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18444
18445         * BufferView_pimpl.C: call hideSplash()
18446
18447         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18448
18449         * include_form.h:
18450         * bibforms.h: remove
18451
18452         * lyxfunc.C:
18453         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18454           add LFUN_CHILD_CREATE
18455
18456         * counters.h: fix tiny typo
18457
18458         * lyx_cb.C:
18459         * lyx.h:
18460         * lyx_gui.C:
18461         * lyx.C: move splash to frontends/xforms/
18462
18463         * lyx_gui_misc.C: move Include and Bibform to frontends
18464
18465         * lyxvc.h: clarify comment
18466
18467         * vspace.C: tiny housekeeping
18468
18469 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18470
18471         * text.C (PrepareToPrint): RTL Fix.
18472
18473         * paragraph.C (GetUChar): New method.
18474         (String):  Use GetUChar.
18475
18476         * buffer.C (asciiParagraph): Use GetUChar.
18477
18478 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18481
18482 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18483
18484         * buffer.h:
18485         * buffer.C: rename to getLogName(), handle
18486           build log / latex log nicely
18487
18488 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18489
18490         * MenuBackend.C:
18491         * MenuBackend.h: remove support for reference menuitem type.
18492
18493 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18494
18495         * BufferView_pimpl.C: housekeeping
18496         * BufferView_pimpl.h:
18497         * LyXView.h:
18498         * Makefile.am:
18499         * Timeout.C:
18500         * Timeout.h:
18501         * minibuffer.h: move Timeout GUI-I
18502
18503 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18504
18505         * lyxrc.C (read): Update converters data-structures.
18506
18507 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18508
18509         * LaTeX.h (operator!=): add operator != for Aux_Info
18510
18511 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18512
18513         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18514
18515         * LaTeXLog.C: deleted, useful code moved to Buffer
18516
18517         * buffer.h:
18518         * buffer.C: new function getLatexLogName()
18519
18520         * lyx_gui_misc.C:
18521         * lyx_gui.C:
18522         * lyxvc.C:
18523         * lyxvc.h:
18524         * lyxfunc.C: use frontends for LaTeX and VC logs
18525
18526 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18527
18528         * LaTeX.h: yet another std:: that Allan forgot.
18529
18530         * Variables.C (set): renamed from isset(), because this clashes
18531         with some HP-UX macros (grr).
18532
18533 2001-02-06  Allan Rae  <rae@lyx.org>
18534
18535         * LaTeX.h: Another bug fix.  Missing std:: this time.
18536
18537 2001-02-04  Allan Rae  <rae@lyx.org>
18538
18539         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18540         floats problem. I've left it commented out because it's not quite
18541         correct.  It should also test that the current object is a table or
18542         figure inset.  But I haven't gotten around to figuring out how to do
18543         that.  I *think* it'll be something like: "table" == inset.type()
18544
18545         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18546         bool.
18547
18548 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18549
18550         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18551         all the citation/databases/styles in the auxilary file.
18552         (run): Rerun latex if there was a babel language error.
18553
18554 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18555
18556         * text.C (Backspace): Preserve the font when changing newline char
18557         with a space.
18558         (BreakParagraph): If the cursor is before a space, delete the space.
18559
18560         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18561
18562 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18563
18564         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18565         new argument (code).
18566         (ChangeCitationsIfUnique): New method.
18567
18568         * paragraph.C (GetPositionOfInset): Handle bibkey.
18569
18570 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18571
18572         * BufferView_pimpl.h: change type of Position::par_pos to
18573         LyXParagraph::size_type.
18574
18575 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18576
18577         * BufferView_pimpl.C (savePosition, restorePosition): Write
18578         messages to minibuffer.
18579
18580 2001-01-28  José Matos  <jamatos@fep.up.pt>
18581
18582         * buffer.C (makeDocBookFile): adds support for document language.
18583         A silly restriction on the name of LatexCommand types where removed.
18584         Added support for CDATA sections, allows to chars unescaped, used
18585         among others in code, to avoid escape < and >.
18586
18587 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18588
18589         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18590         saved positions instrad of a stack. Furthermore, a position is
18591         stored using paragraph id/paragraph position.
18592
18593         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18594         Remove LFUN_REF_BACK.
18595
18596 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18597
18598         * converter.C (dvipdfm_options): New method.
18599
18600 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18601
18602         * vspace.C (isValidLength): Fix for empty input string.
18603
18604 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18605
18606         * LyXAction.C (init): change description of LFUN_FIGURE to
18607         "Insert Graphics"
18608
18609 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18610
18611         * LaTeX.C: add using directive
18612
18613 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18614
18615         * MenuBackend.C (expand): Fix the sorting of the formats.
18616
18617 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18618
18619         * lyx_main.C: tiny error message fix
18620
18621 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18622
18623         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18624         calling fl_initialize(). This fixes the problem with ',' as
18625         decimal separator in text files.
18626
18627 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18628
18629         * trans.C (process): Fix the keymap bug.
18630
18631 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18632
18633         * LaTeX.C (scanAuxFiles): New method. Provides support for
18634         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18635         (scanLogFile) Scan for "run BibTeX" messages.
18636
18637         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18638         OT1 font encoding. Also, load the aecompl package if the ae
18639         package is loaded.
18640
18641         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18642
18643 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18644
18645         * texrow.C (increasePos): turn two error messages into debug
18646         messages.
18647
18648 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18649
18650         * LaTeX.C (scanAux): Handle the \@input macro.
18651         (runBibTeX): Use scanAux().
18652
18653         * language.C (latex_options_): New field.
18654
18655         * LaTeXFeatures.C (getMacros): Add language macros.
18656
18657         * buffer.C (makeLaTeXFile): Small fix.
18658
18659 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18660
18661         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18662
18663         * text2.C: add a using directive.
18664
18665 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18666
18667         * BufferView2.C:
18668         * lyx_gui_misc.h:
18669         * lyxfr1.C:
18670         * lyxfunc.C: kill LyXBell.
18671
18672 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18673
18674         * text.C (IsBoundary): Remove the error message
18675
18676         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18677
18678         * lyxrc.C (setDefaults): Correct initialization value for
18679         font_norm_type.
18680
18681 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18682
18683         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18684         gotoError().
18685
18686         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18687         and GotoNextNote().
18688
18689         * src/LyXAction.C: Added reference-next.
18690
18691         * text.C (InsertChar): Use contains instead of strchr.
18692
18693         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18694
18695 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18696
18697         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18698         alignment commands (when needed).
18699
18700         * text.C (InsertChar): Add ':' to number separator chars.