]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d3904554567fa99f6366ecaf829b2a43239b3538
[lyx.git] / src / ChangeLog
1 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text2.C: fix bug 2015: on screen fonts in nested environments 
4         can be wrong
5
6 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * converter.C (convert): handle unknown formats
9
10 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * cursor.C (goUpDown): comment out some debug messages.
13
14         * counters.C (newCounter): make error messages more explicit
15         (these appear with some textclasses like beamer)
16
17 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * kbmap.C (defkey): 
20         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
21         have origin set to KEYBOARD. (bug 2221)
22
23 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * rowpainter.C (isCursorOnRow): do not exclude endpos().
26
27 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * cursor.C (macroModeClose): returns true if an inset actually got
30         inserted; revert faulty fix to bug 2034.
31
32 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * tabular.C (getLabelList): remove (not used anymore).
35
36 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * outputparams.[Ch]: add new flag inComment
39
40 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * text2.C (deleteEmptyParagraphMechanism): since we delete a
43         paragraph, recordUndo should span two paragraphs (bug 2155).
44
45 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
46
47         * rowpainter.C (paintPar): always repaint the row with the
48         cursor in it
49
50 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
51
52         * MenuBackend.h: 
53         * bufferlist.h: 
54         * lyxtext.h: 
55         * paragraph.h:
56         * vspace.h: fix syntax error
57
58 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * text3.C (dispatch): Force refresh if typing into inset changes its
61                               metrics
62
63 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * RowList_fwd.h:
66         * paragraph.C:
67         * paragraph.h:
68         * rowpainter.C: Speed up rendering by only re-painting rows that
69         have changed. When selection or whole-screen update active, all rows
70         are repainted, as are all rows within insets.
71
72 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
73
74         * version.C.in: Use PACKAGE_VERSION instead of VERSION
75
76 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * tabular.C (toggleFixedWidth): Use default layout of text class
79         instead of hardcoded "Standard"
80
81 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * lyxfunc.C (dispatch): do not call getStatus again to determine
84         whether a lfun is disabled (bug 2172).
85
86 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * cursor.C (macroModeClose): set the cursor inside the new math
89         atom if relevant (think \frac{}{}) (bug 2034)
90
91 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
92
93         * lyxtext.h:
94         * text.C:
95         * text3.C (Delete, backspace): force update when merging paragraphs
96
97 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * BufferView.C (mouseSetCursor): clear the selection properly (bug
100         2163). 
101
102 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * text.C (redoParagraph): honor inset->noFontChange()
105         * rowpainter.C (paintInset): ditto
106
107 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * lyx_main.C (priv_exec): don't initialize Math on startup 
110         (initMath() has been moved to math_hullinset).
111
112 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
115         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
116         * paper.h: dispose dead PAPER_PACKAGES enum.
117
118 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
121         without X support.
122
123 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
124
125         * exporter.C (Export): Don't try to copy a file if it does not exist
126         (bug 1888)
127
128 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * text2.C (makeFontEntriesLayoutSpecific): remove.
131         (setLayout): adapt.
132
133         * text.C (insertChar): remove bogus caching of fonts (did not do
134         anything). 
135
136         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
137         ALL_SANE). (bug 2146)
138
139 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * rowpainter.C (paintFirst): fix centering of
142         LABEL_CENTERED_TOP_ENVIRONMENT. 
143
144 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * BufferView.C (mouseSetCursor): new method. Calls
147         deleteEmptyParagraphMechanism if necessary.
148
149         * lyxtext.h: make deleteEmptyParagraphMechanism public.
150
151         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
152         BufferView::mouseSetCursor (bug 2109).
153         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
154
155 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
156
157         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
158         do not remove it (this inset behaves differently from the others).
159
160 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         Fix bug 2096.
163         
164         * BufferView_pimpl.C (getStatus): it is only possible to insert a
165         file in a text inset.
166
167         * buffer.C (readDocument): remove pit argument and code releated
168         to it; set the inset owner correctly (unrelated, but useful).
169         (readFile): get rid of pit argument.
170
171         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
172         textclass instead of a selection index.
173         (pasteParagraphList): new function.
174         (pasteSelection): make it a wrapper around pasteParagraphList.
175
176         * BufferView_pimpl.C (MenuInsertLyXFile): use
177         cap::pasteParagraphList to insert a file.
178
179 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
180
181         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
182
183 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
184
185         * exporter.C: fix typo in text message
186
187 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
188
189         * text2.C (setLayout): move recUndo call to other setLayout method
190         * tabular.C (toggleFixedWidth): new, handle cell width changes
191         * tabular.C (setColumnPWidth): move some code from insettabular.C here
192         and use toggleFixedWidth
193         * tabular.C (setMColumnPWidth): ditto
194
195 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
196
197         * paragraph.C (asString): use new inset->textString method (fix
198         bug 2089) 
199
200 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * CutAndPaste.C (numberOfSelections): new helper function.
203
204         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
205
206         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
207         LyXFunc::getStatus; implement LFUN_PASTE.
208
209 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * dociterator.[Ch]: new member realInset() that returns the cell
212         for tabulars and the inset for the rest (bug 1952).
213         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
214         (bug 1952).
215
216 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
219
220 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
221
222         * lyxfunc.C:
223         * paragraph.C:
224         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
225         argument.
226
227 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
228
229         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
230         line after typing ctrl-enter
231
232 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
235         math insets do not return a proper editable() state yet (bug 2124).
236
237 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
240         docs containing very large paragraphs.
241
242 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
243
244         * cursor.C (selectionBegin, selectionEnd):
245         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
246         cursor at different depths.
247
248 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
249
250         * bufferview_funcs.C (coordOffset): do not call cursorPos
251         for collapsed collapsables (fix bug 2094).
252
253 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * paragraph.C (fontSpan): make sure that the FontSpan does not
256         span across beginOfBody (bug 1947).
257
258 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
261
262 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
263
264         * messages.C: fix crash and localization on MinGW/Windows platform
265
266 2005-11-02  Angus Leeming  <leeming@lyx.org>
267
268         * Bidi.C:
269         * lyxtextclass.C: trivial fixes to some MSVS warnings.
270
271 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * text3.C (getStatus): re-enable disabled code. (bug 2081)
274
275         * BranchList.h (empty): constify.
276
277 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * text3.C (getStatus): 
280         * MenuBackend.C (expandBranches): take the branch list from the
281         master document (bug 2092).
282         
283         * MenuBackend.C (expandBranches): 
284         * bufferparams.C (writeFile): use BranchList type.
285
286 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * text3.C (dispatch, getStatus): 
289         * LyXAction.C (init): 
290         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
291
292 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
295
296 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * text.C (insertChar): do not reset boundary (bug 2061)
299
300 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * dociterator.C (updateInsets): new method. Updates the inset_
303         cache of all the slices of the iterator.
304
305         * text2.C (deleteEmptyParagraphMechanism): compare also containing
306         insets when comparing pit/pos; pass the right cursor to
307         recordUndo; when a paragraph has been deleted, compare `old.top()' to
308         the right cursor slice of `cur'; use updateInsets on cur to make
309         sure that the inset caches are correct; general cleanup.
310
311 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
314         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
315         containg inset. If this does not work, the same command will be
316         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
317
318         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
319         a dispatch.
320
321 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * lyxtextclass.C (Read): convert layout file if the format is wrong
324         * lyxtextclass.C (layout2layout): new, needed for the above
325
326 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * messages.C: do not forget to include <cerrno>.
329
330 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
331
332         * dociterator.h (StableDocIterator): add access to pos().
333         * undo.C (samePar): new method to check if two
334         iterators are in the same paragraph
335         * undo.C (recordUndo): check for samePar instead of cell identity
336         (which includes pos() and is too strict) (fixes bug 2097)
337
338 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * text.C (setCursorFromCoordinates): return a bool telling whether
341         dEPM triggered.
342
343         * text3.C (cursorPrevious): update if needed after
344         setCursorFromCoordinates (when dEPM triggered).
345
346         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
347         (otherwise the anchor may be completely wrong and make dEPM assert).
348
349 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
350
351         * buffer.C: version upgrade to 245.
352         * bufferparams.C: remove \quotes_times (bug 2090).
353         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
354         quotation marks as default.
355
356 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
357
358         * CutAndPaste.C (nrOfParagraphs): remove (unused)
359         * CutAndPaste.C (cutSelection): Remove debug message
360         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
361         undo information and only copy if this is a real cut
362         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
363         call
364         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
365         (bug 2059)
366         * CutAndPaste.C (eraseSelection): prevent cursor corruption
367         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
368         superflous cur.selection() setting
369         * CutAndPaste.[Ch] (grabSelection): take a const cursor
370         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
371
372 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
373
374         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
375         change anything.
376
377 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
378
379         * BufferView_pimpl.C: comment layout change
380
381 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
382
383         * LyXAction.C:
384         * lfuns.h:
385         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
386         by bibliography managers (bug 2071).
387
388 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
389
390         * BufferView_pimpl.C (update): choose arguments to update call so
391         that single-par update works most times
392         * text3.C (dispatch): carefully tune updating separately for
393         whole-screen and current-paragraph
394         * rowpainter.C (paintText): 1) replace painting by caching for
395         the two extra paragraphs, because we can;
396         2) suppress greying out of areas below/above drawn area in case of
397         single-par refresh
398         * lyxfunc.C (dispatch): remove superfluous update
399         * LyXAction.[Ch]: introduce SingleParUpdate
400
401 2005-10-05  Angus Leeming  <leeming@lyx.org>
402
403         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
404         always initialised before use.
405
406         * text.C (setHeightOfRow): squash warning about comparison
407         of signed and unsigned types.
408
409 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * text.C (cursorX): two fixes involving RtL text drawing
412
413 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
416         items, not only large ones (part of bug 2057)
417
418 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
421         argument, use "newcommand".
422
423 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
424
425         * cursor.C (setSelection): do not open collapsable insets;
426         the insets do by themselves now (autoopen).
427
428 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
429
430         * buffer.C: format is up to 244.
431
432 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * text.C (redoParagraph): fix calcultation of inset width wrt 
435         leftMargin (bug 1957).
436
437         * text3.C (dispatch): leave inset to the right when hitting ESC 
438         (bug 2034).
439
440 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * text2.C: 
443         * text.C: 
444         * factory.C:
445         * messages.C: include <boost/current_function.hpp> 
446
447 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
450         when command is internal. (bug 1941)
451
452 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * text2.C (cursorRight): do not honor boundary when at the end of
455         a paragraph. (bug 2010 again)
456
457 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
460
461 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * rowpainter.C (paintText): fix RtL space width display bug (2029)
464
465 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * text2.C (setCursor): remove the unused 'boundary' parameter for
468         the CursorSlice version; adapt the LCursor version.
469
470         * lyxrc.C (write): 
471         * paragraph_pimpl.C (markErased): 
472         * cursor.C (bruteFind2, bruteFond3): fix warnings.
473
474 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
477         as is already done for "chapter".
478
479 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
482         textclass; do not record undo if nothing is changed.
483
484 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
487
488 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
489
490         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
491
492 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
495         combox, it is necessary to search for the topmost paragraph in the
496         cursor stack (bug 1926)
497
498 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
501         end of paragraph. (bug 2010)
502
503 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
504
505         * text.C (leftMargin): check for inInset == 0
506
507 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
508
509         * text.C (leftMargin): test for insetbase's new neverIndent()
510         bool instead of listing each and every inset that does not
511         wish par indendation.
512
513 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * buffer_funcs.C (setCounter): put the code to compute enum label
516         here (where it belongs).
517
518         * counters.C (enumLabel): move code to buffer_funcs.C.
519
520 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
521
522         * outputparams.[Ch]: store local_font instead of local_language
523         * paragraph.C (simpleTeXOnePar): adapt to the change above
524
525 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * buffer_funcs.C:
528         * counters.[Ch]: clean up special code for Hebrew.
529
530 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
533         than 2.
534
535 2005-09-08  Angus Leeming  <leeming@lyx.org>
536
537         * ispell.C:
538         * lyxrc.C: correct grammar describing invocation of the
539         spellchecker.
540
541 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
542
543         * text.C (read): remove unused variable.
544         (readParToken): remove static Change variable (never good in
545         recursive settings...); add it as a parameter instead.
546
547         * paragraph_pimpl.C (acceptChange): make debug info conditional.
548
549         * metricsinfo.C (PainterInfo): add new member erased_.
550
551         * rowpainter.C (RowPainter): add erased_ member, initialized from
552         PainterInfo. 
553         (paintInset): pass erased_ to Inset::draw.
554
555         * lyxfunc.C (lookupChange): new function. Tells whether change 
556         tracking is disabled at a given postion.
557         (getStatus): disable some actions when in deleted text with change
558         tracking. 
559
560 2005-08-03  John Levon  <levon@movementarian.org>
561         
562         * tabular.C (appendColumn, setMultiColumn): adapt to change to
563         InsetText::clear().
564
565         * paragraph_pimpl.C (markErased): add bool argument and handle it.
566         Also make sure to mark insets recursively.
567         (rejectChange, erase): be recursive
568
569         * paragraph.C (markErased): add bool argument.
570 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * lyxfind.C (findNextChange): tiny cleanup.
573
574         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
575         change tracking with the cursor in an inset; make sure the first
576         change is not skipped.
577
578 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
579
580         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
581         tabularStackDirty to work around bug 1919 (tabular needs
582         to know whether its own cell paste buffer or the one of 
583         texted is newer.
584         * CutAndPaste.C: mark tabular_stack_ clean after copy.
585
586 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
587
588         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
589
590 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
591
592         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
593         use old deleteion algorithm when changetracking is on.
594
595 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * messages.C (get): add debug output.
598
599 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
600
601         * text.C (cursorX): fix bug 1965: cursor movement at
602         line end broken in RtL.
603         (drawSelection): fix bug 1970: drawing of single-line 
604         selection broken for RtL.
605
606 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         bug 465.
609
610         * dociterator.h (clear, push_back, pop_back): change from
611         protected to public.
612
613         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
614         and changed to just return the value of the item depth; take a
615         ParIterator as argument; take the itemdepth at outer nesting level
616         in account if necessary; cleanup and comment the code.
617         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
618         and changed to just return true if reset is needed; take a
619         ParIterator as argument; cleanup and comment the code.
620         (setCounter): adapt to above changes.
621
622 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * text3.C (dispatch): make debug message optional
625
626 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
629         inset. (bug 1963)
630
631 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
632
633         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
634
635 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
636
637         * text.C (insertChar):
638         * text2.C (deleteEmptyParagraphMechanism): take care whether 
639         a blank has been deleted (in change tracking mode) (bug 1254).
640
641 2005-07-20  John Levon  <levon@movementarian.org>
642
643         * text2.C (insertStringAsLines): remove old dubious code,
644         fixing bug 1939.
645
646 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * MenuBackend.C (expandToc): use Floating::listName() as title of
649         the floats submenus.
650
651 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
652
653         * toc.[Ch]: Do not use translatable strings (bug 1870).
654
655 2005-07-20  John Levon  <levon@movementarian.org>
656
657         * tabular.C: fix 1748 - setting multicolumn adds
658           left line to the first cell
659
660 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
661
662         bug 1920
663         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
664         pars in one go.
665
666 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
667
668         * messages.C: supress some lyxerr messages
669
670 2005-07-18  Juergen Vigna  <jug@lyx.org>
671
672         * text.C (drawSelection): honor boundary when asking for cursorX.
673
674 2005-07-17  José Matos  <jamatos@fc.up.pt>
675
676         * tabular.C (recalculateMulticolumns): fix handling of one column
677         tables.
678
679 2005-07-17  Juergen Vigna  <jug@lyx.org>
680
681         * text.C (Delete, backspace): fixed so that paragraph with the
682         same layout can be merged by Delete/Backspace.
683
684 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
685
686         * text.C (readParToken): fix spelling.
687
688 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
689
690         * text2.C: fix counter update for DEPM problem reported by
691         Georg Baum
692
693 2005-07-17  Juergen Vigna  <jug@lyx.org>
694
695         * BufferView_pimpl.C (setBuffer): save/restore the
696         cursor/selection when switching buffers
697
698         * buffer.h: 
699         * buffer.C (saveCursor): add saveDocumentIterators to save the
700         cursor when switching buffer.
701
702 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
703
704         * debug.C: fix typo
705         * buffer.C: clarify message
706         
707 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
708
709         * dociterator.C (DocIterator): fix initialization order
710
711 2005-07-17  Juergen Vigna  <jug@lyx.org>
712
713         * text2.C (cursorHome): 
714         * text.C (drawSelection, cursorX): 
715         * dociterator.C (textRow): add boundary to getRow() call
716
717         * paragraph.C (getRow): implementation of below
718
719         * paragraph.h: add parameter boundary for getRow() function
720
721 2005-07-17  José Matos  <jamatos@fc.up.pt>
722
723         * buffer.C:
724         * bufferparams.[Ch]:
725         * tex-strings.[Ch]: new file format, remove support for a4.sty,
726         a4wide.sty and a4widemargins.
727
728 2005-07-17  Juergen Vigna  <jug@lyx.org>
729
730         * text2.C (cursorLeft): fix one of error
731
732 2005-07-17  Juergen Vigna  <jug@lyx.org>
733
734         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
735                    cursorEnd):
736         more fixes for boundary handling
737
738         * text3.C (dispatch): don't reset cursor if boundary has changed
739         on cursor movement.
740
741 2005-07-16  Juergen Vigna  <jug@lyx.org>
742
743         * text2.C (getColumnNearX): hopefully got it right now,
744         check if we are on column 0 for special case.
745
746 2005-07-16  Juergen Vigna  <jug@lyx.org>
747
748         * text2.C (getColumnNearX): handle special case Newline Inset
749
750         * text.C (singleWidth): Just remove bogus check
751
752 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
753
754         * funcrequest.C (split): avoid reading uninitialized char c
755
756 2005-07-16  José Matos  <jamatos@fc.up.pt>
757
758         * buffer.C:
759         * converter.C:
760         * lyxrc.C:
761         * paper.h:
762         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
763         single papersize variable.
764
765 2005-07-16  Juergen Vigna  <jug@lyx.org>
766
767         * text3.C (dispatch): honor boundary when checking if a cursor
768         movement has been done
769
770         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
771         (setCursor, setCursorIntern): fix cursor movement with boundary
772
773 2005-07-16  Juergen Vigna  <jug@lyx.org>
774
775         * text.C (currentState): output the actual Boundary
776
777 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * factory.C (createInset): fix bad logic for tabular creation
780
781 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
782
783         * lyx_main.C (init): change some reLyX reference to tex2lyx
784
785 2005-07-16  Juergen Vigna  <jug@lyx.org>
786
787         * dociterator.C (DocIterator): initialize boundary
788
789 2005-07-16  Juergen Vigna  <jug@lyx.org>
790
791         * text2.C (getColumnNearX): Consider rows without trailing blank.  
792
793 2005-07-16  André Pönitz  <poenitz@gmx.net>
794
795         * lyxfont.h: Change order of declarations to give the compiler
796         a better chance to inline things
797
798         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
799         questions on unsaved docs for better scritability
800
801 2005-07-16  André Pönitz  <poenitz@gmx.net>
802
803         * paragraph.h (getChar): remove asserts as the same kind of security
804         can be achieved by using a suitable standard library implementation
805         and the function was in the critical path (25.9% in profiler)
806
807 2005-07-16  Juergen Vigna  <jug@lyx.org>
808
809         * cursor.C (bruteFind2):
810         * bufferview_funcs.C (coordOffset): 
811         * text.C (cursorX,cursorY): Handle cursor position after last char
812         in row before a inset which uses a whole row.
813
814 2005-07-15  José Matos <jamatos@lyx.org>
815
816         * output_plaintext.[Ch] (writeFileAscii): control reference title
817         printing.
818         (asciiParagraph): noparbreak was already deal and was incorrectly
819         used.
820
821 2005-07-15  Juergen Vigna <jug@lyx.org>
822
823         * lyxfunc.C (dispatch): save and restore the cursor after a
824         textclass switch.
825
826 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
827
828         * text.C (backspace): bug 806 for empty keepempty paragraphs we
829         change the layout to default before letting DEPM do its thing.
830
831         * paragraph_funcs.C (breakParagraph): dont reset the layout on
832         keepEmpty paragraphs
833
834         * text.C (setCursorFromCoordinates): add a debug statement
835
836         * text2.C (getColumnNearX): bug 1825 make sure that we don't
837         return a pos that is not on the row
838
839         * output_latex.C (TeXDeeper): get rid of potential dereferencing
840         of past the end iterator
841
842 2005-07-14  André Pönitz  <poenitz@gmx.net>
843
844         * undo.C (recordUndoFullBuffer): implement undo for
845         textclass switches
846
847 2005-07-14  André Pönitz  <poenitz@gmx.net>
848
849         * cursor.C (setSelection): open insets when selection is set there
850         to avoid crashs with cold coord cache
851
852 2005-07-14  André Pönitz  <poenitz@gmx.net>
853
854         * trans_mgr.C (insert): move cursor to the right after inserting
855         a char.
856
857 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
858
859         * BufferView_pimpl.C (update): dampen some of the debug blabbering
860         * factory.C (readInset): ditto
861         * text.C, text2.C: ditto
862
863 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * buffer.C: format incremented to 242. There is no file format per
866         se, but the "frenchb" language has been removed from lib/language
867         and has to be translated to "french" by lyx2lyx.
868
869 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
870
871         * cursor_slice.h, dociterator.h: add some documentation
872         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
873
874 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
875
876         * text.C (leftMargin): do not add identation to display() style
877         insets, because they are always centered (bug 1293).
878
879 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
880
881         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
882         formatted_time methods in support/lyxtime.
883
884 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
885
886         * toc.[Ch]: new method getGuiName, which is used by the frontends 
887         to set the toc combo (fixes bug 1870). Make TOC string translatable.
888
889 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
890
891         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
892         StableDocIterator const &)
893         * undo.C (recordUndo): use the above instead of cell.size() comparison
894         (fixes bug 1808; instructed by Andr�.
895
896 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
897
898         * cursor_slice.h: 
899         * dociterator.h: Fix the assert when copying rows/cols in math
900
901 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
902
903         * BufferView_pimpl.C:
904         * LyXAction.C:
905         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
906
907         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
908         (findInset): new functions, refactored from goto Inset that return 
909         the position of a certain inset without setting the buffer's cursor
910         (by Jean-Marc); 
911         (gotoInset): rewrite to call findInset and then set the cursor
912         (by Jean-Marc).
913
914 2005-06-16  Angus Leeming  <leeming@lyx.org>
915
916         * lyxrc.C (output, read): wrap all input and output of paths with
917         calls to os::internal_path and os::external_path, respectively.
918         (output): wrap bind_file inside quotes.
919
920         * format.C (view): enable the viewer to use the '$$s' placeholder.
921
922 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * LColor.[Ch] (getFromLaTeXName): new
925
926 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
929
930 2005-06-14  Angus Leeming  <leeming@lyx.org>
931
932         * lyx_main.C (init): ensure that the LyX binary dir is the first
933         element in the PATH on non-POSIX builds.
934
935 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
938
939 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
940
941         * rowpainter.C (paintInset, paintHebrewComposeChar)
942         (paintArabicComposeChar, paintChars): add a LyXFont argument.
943         (paintChars): use getFontSpan to reduce calls to getFont to a
944         minimum; use Paragraph::lookupChange instead of isXXXText.
945         (paintForeignMark): rename LyXFont argument.
946         (paintFromPos): pass a LyXFont object to the various paintXXX
947         methods.
948
949         * FontIterator.C (FontIterator, operator++): use
950         Paragraph::getFontSpan
951
952         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
953         version that returns the font span as a pair.
954
955 2005-06-09  Angus Leeming  <leeming@lyx.org>
956
957         * converter.C (convert): Don't forget "outfile = real_outfile" as
958         the final step in a conversion where the input and output file names
959         are the same. Otherwise, future conversion steps won't work...
960
961 2005-06-09  Angus Leeming  <leeming@lyx.org>
962
963         * lyxsocket.C: remove stub code as it isn't needed by
964         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
965
966 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
967
968         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
969         effectively disabled -x
970
971 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
972
973         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
974         when it actually makes sense.
975
976 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * BufferView_pimpl.C: revert to showCursor in connection with
979         Lars's front-end stack
980
981 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
982
983         * text.C (redoParagraph): move cursor right after a bibitem
984         has been inserted.
985
986         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
987
988 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * buffer_funcs.C (bufferErrors): fix computation of the end of an
991         error range.
992
993 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
994
995         * BufferView.[Ch] (update):
996         * BufferView_pimpl.[Ch] (update, metrics):
997         * dimension.h (operator==):
998         * lyxfunc.C (dispatch):
999         * metricsinfo.h (ViewMetricsInfo):
1000         * rowpainter.C (paintText):
1001         * lyxtext.h:
1002         * text.C (redoParagraph):
1003         * text3.C (dispatch): Make LyX only repaint current paragraph in
1004         case of character insert --> speedup. Also fix cursor draw
1005         artifacts
1006
1007 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1008
1009         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1010         avoid a crash (bug 1891)
1011
1012 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         Fix bug 1892:
1015
1016         * text2.C (getStringToIndex): constify cur argument.
1017
1018         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1019         argument has been given
1020         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1021         try to invoke LFUN_INSET_APPLY).
1022
1023         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1024         if no inset was created by doInsertInset
1025         (doInsertInset): return true if an inset has been inserted.
1026
1027 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1028
1029         * vspace.C (asGUIName): new method. A version of the space
1030         suitable for showing on screen.
1031
1032 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1033
1034         * MenuBackend.C:
1035         * lyxrc.C: rename "ASCII" to "Plain Text"
1036
1037 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1040         translate the labelstring.
1041         (setCounter): translate labelstring as needed.
1042
1043         * output_docbook.C (makeCommand): fix expandLabel invokation
1044
1045 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1046
1047         * BufferView.C: fix dialog title
1048
1049 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * lyx_main.C (priv_exec): fix logic error with help from Angus
1052         * lyx_main.C (parse_execute): set is_gui = false and remove now
1053         obsolete comment about a segfault
1054
1055 2005-05-18  Angus Leeming  <leeming@lyx.org>
1056
1057         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1058
1059 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1060
1061         * tabular.[hC]: added setCellInset to fix tabular paste.
1062
1063 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1064
1065         * buffer.C (save): check if destination is writable before trying
1066         to copy a file
1067
1068 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * BufferView_pimpl.C (update): fix processEvents -caused update
1071         recursion bug
1072
1073 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074
1075         * buffer_funcs.C (setCounter): fix test for numbering of
1076         environments.
1077
1078         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1079         depth correctly; use optional argument when it exists
1080
1081         * lyxtextclass.C: remove unused MaxCounterTags enum
1082         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1083         (max_toclevel, min_toclevel): new methods.
1084
1085         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1086         the smallest depth in toc.
1087
1088         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1089         layouts that should not appear in a table of contents.
1090
1091 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1092
1093         * cursor.h (undispatched, noUpdate): add comments from Andr�
1094 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1095
1096         * lfuns.h:
1097         * LyXAction.C:
1098         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1099
1100 2005-05-07  André Pönitz  <poenitz@gmx.net>
1101
1102         * cursor.[Ch] (leaveInset): new function
1103
1104 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1105
1106         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1107
1108 2005-05-04  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyxfunc.C (getStatus): disable the spell checker dialog if
1111         none of USE_[AIP]SPELL are defined.
1112
1113 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * tabular.C (setWidthOfCell): remove obsolete comment
1116
1117 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1118
1119         * paragraph.C (bibitem):
1120         * buffer_funcs.C (setCounter):
1121         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1122
1123 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1124
1125         * text3.C (getStatus): immediately return after setOnOff
1126
1127         * rowpainter.C: fix drawing of appendix start
1128
1129 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1130
1131         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1132         SwitchBetweenClasses and remove the unused return value.
1133         Handle character styles, too
1134
1135 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * factory.C (createInset): handle undefined character styles
1138
1139 2005-05-02  Angus Leeming  <leeming@lyx.org>
1140
1141         * buffer.C: protect the #include of utime.h with a preprocessor
1142         guard.
1143
1144 2005-05-02  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1147         function so that auto-saving works, albeit in a blocking manner.
1148
1149         * Makefile.am: make compilation of the client sub directory, of
1150         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1151         on conditionals set at configure time.
1152
1153         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1154         it can be compiled in its own right but has no-op functionality.
1155
1156         * aspell.C, pspell.C: remove preprocessor guards. The files should
1157         be compiled only if the necessary functionality exists.
1158
1159         * lyxserver.C, lyxsocket.C: disable on Windows.
1160
1161 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * text.C (leftMargin): Fix the parindent use bug (1764)
1164         by dirty trick
1165
1166 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1167
1168         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1169         argument.
1170
1171 2005-04-25  Angus Leeming  <leeming@lyx.org>
1172
1173         * Bidi.[Ch]:
1174         * coordcache.[Ch]:
1175         * ispell.C:
1176         * lyxserver.C:
1177         * mover.C:
1178         * pch.h:
1179         include <config.h> in .C files, not .h ones.
1180         add licence blurb.
1181         protect headers inside preprocessor guards.
1182
1183 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1184
1185         * FuncStatus.h (StatusCodes): document
1186
1187 2005-04-21  André Pönitz  <poenitz@gmx.net>
1188
1189         * FuncStatus.h (enabled, onoff): document
1190
1191 2005-04-19  Angus Leeming  <leeming@lyx.org>
1192
1193         * BufferView_pimpl.C (cursorToggle): no longer test whether
1194         any child processes have been reaped before calling
1195         handleCompletedProcesses().
1196
1197 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1198
1199         * text3.C (dispatch): fix, finally fix, the language problem in
1200         new lyxtexts, without disabling on-the-fly font changes (Helge's
1201         bug report)
1202
1203 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1204
1205         * text3.C (dispatch): set cursor on double/triple click events
1206         (bug 1811)
1207
1208 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1211         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1212
1213         * rowpainter.C (paintFirst): simplify the code a little bit. In
1214         particular, remove the test for secnumdepth.
1215         * text.C (setHeightOfRow): only allocate space for chapter number
1216         when updateCounters provided an actual label, instead of looking
1217         at secnumdepth directly.
1218
1219         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1220
1221         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1222         paragraphs when secnumdepth is large enough or, for environments,
1223         when they are not the first in a sequence.
1224
1225 2005-04-17  Angus Leeming  <leeming@lyx.org>
1226
1227         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1228         containing space and '~' characters with a call to latex_path().
1229
1230 2005-04-17  Angus Leeming  <leeming@lyx.org>
1231
1232         * converter.C (convert): protect all args of convertDefault.sh
1233         script with quotes.
1234
1235 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * text3.C (dispatch): change the layout to "Caption" after inserting
1238         a float.
1239
1240 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * text3.C (dispatch): fix language problem in newly created
1243         textinsets (and main text) in non-english docs
1244
1245 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1246
1247         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1248         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1249         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1250
1251 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * lyxtext.h:
1254         * text.C (metrics):
1255         * text2.C (getFont):
1256         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1257         fonts fix
1258
1259 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1260
1261         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1262         output of \item arguments without trailing text.
1263
1264 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1265
1266         * FontIterator.C (operator*): avoid a copy of the font.
1267
1268 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * rowpainter.C (getFont): fix language bug from previous fix
1271
1272 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * rowpainter.C (RowPainter, getFont): fix font inside inset
1275         (bugs 1766, 1809)
1276
1277 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1280         preventing inserted font, deco, delim insets jumping to start of
1281         surrounding inset.
1282
1283 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * lyxfunc.C (dispatch): translate message before sending it to the
1286         minibuffer.
1287
1288 2005-03-29  Angus Leeming  <leeming@lyx.org>
1289
1290         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1291         to LyX on the command line.
1292
1293 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1294
1295         * vc-backend.C: use QuoteName to protect file names wherever
1296         necessary.
1297
1298 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1299
1300         * buffer.[Ch]:
1301         * BranchList.h: fix bugs 1844,1845: document settings don't
1302         stick
1303
1304 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * lyxrc.C (setDefaults, read, output, getDescription): add support
1307         for tex_allows_spaces.
1308
1309         * exporter.C (Export): allows files in directory containing spaces
1310         if tex_allows_spaces is true.
1311
1312         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1313         output it in double quotes.
1314
1315 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1316
1317         * rowpainter.C: use default text height for drawing change tracker
1318         strikeout lines.
1319
1320 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1321
1322         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1323
1324 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1327         directory is missing.
1328
1329 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1330
1331         * text2.C: fixed the fix, extended to other case.
1332
1333 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1334
1335         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1336
1337 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1338
1339         * text2.C (cursorUp): get rid of a crash
1340         * text.C (x2pos): add an assert
1341
1342 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1345
1346         * text3.C:
1347         * lyxfunc.C:
1348         * dociterator.C: include <boost/current_function.hpp>, which is
1349         needed when assertions are disabled.
1350
1351 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1352
1353         * text2.C: fix for stuck cursor when traversing two
1354         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1355
1356 2005-02-25  Andreas Vox  <avox@arcor.de>
1357
1358         * output_docbook.C (makeParagraph): suppress trailing newline
1359         after a run of paragraphs
1360
1361 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1362
1363         * paragraph.C: fix for confused change tracker when pasting
1364         text that begins with a lineseparator. [bug 1827]
1365         (setChange(0, Change::INSERTED);)
1366
1367         * paragraph_funcs.C: fix for lost changes on triple-paste
1368         in change tracking mode [bug 1827] (par.setChange()).
1369
1370 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1371
1372         * text2.C (updateCounters, setCounter, expandLabel): move to
1373         buffer_funcs.
1374
1375         * buffer_funcs.C (updateCounters): turn into a free standing
1376         function and add a buffer parameter. Remove dead code for tracking
1377         labelstring change.
1378         (setCounter): change into a free-standing function which gets a
1379         dociterator as argument. Use this iterator to fix captions in a
1380         simple way. When no float is found above the caption, use the
1381         labelstring of the caption layout as default.
1382
1383         * text.C (breakParagraph, backspace):
1384         * text2.C (init, setLayout, changeDepth):
1385         * text3.C (dispatch):
1386         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1387         updateCounters.
1388
1389         * dociterator.C (forwardPar): make it much faster by calling
1390         forwardPos() only when really necessary.
1391
1392         * output_docbook.C (makeCommand): adapt to expandLabel move.
1393
1394         * cursor.C: remove unused variable
1395
1396 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1397
1398         * paragraph_funcs.C: fix crash when pasting insets in change
1399         tracking mode [bug 1277] (honour change type in moveItem).
1400
1401 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1402
1403         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1404
1405 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1406
1407         * BufferView.C (setCursor): change to use a DocIterator.
1408         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1409         (putSelectionAt): adapt to BufferView::setCursor change.
1410
1411         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1412         moved here from LyXText and rewritten to use proper cursor
1413         methods. Fixes bug 1787, 616 and 835.
1414
1415         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1416         when inside an inset (part of bug 781).
1417         (dispatch): adapt to change of BufferView::setCursor.
1418         (getStatus, dispatch): handle LFUN_GOTOERROR,
1419         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1420
1421         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1422         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1423         * text3.C (gotoNextInset, gotoInset): removed.
1424
1425 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1428
1429 2005-02-15  Angus Leeming  <leeming@lyx.org>
1430
1431         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1432         can be used meaningfully in a comparison.
1433
1434 2005-02-13  André Pönitz  <poenitz@gmx.net>
1435
1436         * bufferview_funcs.C (coordOffset): improve cursor drawing
1437
1438 2005-02-13  André Pönitz  <poenitz@gmx.net>
1439
1440         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1441         * Cursor.C (dispatch): use fixIfBroken
1442         * lyxfunc.C (getStatus): use fixIfBroken
1443
1444 2005-02-15  Angus Leeming  <leeming@lyx.org>
1445
1446         * lyx_main.C (error_handler):
1447         * lyxfunc.C:
1448         * lyxrc.C (setDefaults):
1449         s/GetEnv/getEnv/.
1450         #include "environment.h".
1451
1452         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1453
1454 2005-02-15  Angus Leeming  <leeming@lyx.org>
1455
1456         * lyxserver.C (startPipe): squash MSVC warning "local variable
1457         'fd' used without having been initialized".
1458
1459 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1460
1461         * BufferView_pimpl.C: revert accidental commit.
1462
1463 2005-02-14  André Pönitz  <poenitz@gmx.net>
1464
1465         * dociterator.[Ch]: new member forwardPosNoDescent(),
1466         which doesn't enter nested insets.
1467         * text2.C (setFont): use forwardPosNoDescent() instead
1468         of ForwardPos() (fixes crash on font change).
1469
1470 2005-02-13  Angus Leeming  <leeming@lyx.org>
1471
1472         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1473         only if lyxrc.path_prefix is not empty.
1474
1475 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1476
1477         * bufferparams.C (readGraphicsDriver): prevent crash
1478
1479 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1480
1481         * text2.C (setCounter): check for inInset() == 0
1482
1483 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1486         but use update() to get correct screen display; use convert
1487         instead of istringstream.
1488         (getStatus): handle LFUN_GOTO_PARAGRAPH
1489
1490         * lyxfunc.C (dispatch, getStatus): do not handle
1491         LFUN_GOTO_PARAGRAPH here.
1492
1493 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1494
1495         * text3.C (dispatch): size() -> depth()
1496
1497         * text2.C: remove some debug output
1498
1499         * paragraph.C: ws changes only
1500
1501         * lyxfunc.C (getStatus): size() -> depth()
1502
1503         * dociterator.h (clear, push_back, pop_back, internalData,
1504         operator[], resize, empty): new functions
1505         Make StableDocIterator and operator== be friends. Don't inherit
1506         from std::vector use a privat class variable slices_ instead.
1507         Modify to fit.
1508
1509         * dociterator.C: update because of not inheriting from std::vector
1510         anymore. Call explictly to slices_ instead. Use depth() instead of
1511         size() and top() instead of back()
1512
1513         * cursor.C: chagne size() -> depth and back() -> top(). Also
1514         remove some direct operator[](i) calls in favour of foo[i]
1515         (getFont): remove some dead code
1516
1517         * bufferview_funcs.C (coordOffset): size() -> depth()
1518
1519         * buffer.C: ws changes only
1520
1521         * CutAndPaste.C (eraseSelection): back() -> top()
1522
1523         * BufferView_pimpl.C (selectionRequested): back() -> top()
1524
1525         * BufferView.C (setCursor): size() -> depth()
1526
1527 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1528
1529         * text3.C (cursorPrevious): return true if depm changed something
1530         (cursorNext): ditto
1531         (dispatch): rename sl to oldTopSlice, remove moving use the new
1532         NoUpdate func attrib instead. Make sure that needsUpdate is set
1533         for function that have NoUpdate, but where depm might have changed
1534         the buffer anyway.
1535
1536         * text2.C (cursorLeft): make us return true if depm changed
1537         something
1538         (cursorRight): ditto
1539         (cursorUpParagraph): ditto
1540         (curosrDownParagraph): ditto
1541         (cursorUp, cursorDown): ditto, make sure to read comments in code
1542         (deleteEmptyParagraphMechanism): remove an assert, also return
1543         true if just a single char was deleted.
1544
1545         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1546         cursor that we modify, to avoid modifying an active cursor before
1547         we call setCursor. This allows depm to run. Also return true if
1548         depm deleted something.
1549
1550         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1551         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1552         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1553         something was changed in the buffer because of them (ie. depm run)
1554
1555         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1556         debug messages. Make update by default be false. Make sure that
1557         the result of update is retained throught several calls down to
1558         dispatch.
1559
1560         * LyXAction.h: add a new func_attrib: NoUpdate
1561
1562         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1563         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1564         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1565         and LFUN_WORDLEFT
1566         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1567
1568 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1571         bv_->owner(), bv_->buffer() by direct references to the private
1572         members.
1573         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1574         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1575         (fitCursor): center() is in BufferView::Pimpl.
1576         (getStatus, trackChanges, dispatch): no need for a temporary buf
1577         variable
1578         (fitCursor, workAreaDispatch): use workarea().workheight()
1579
1580 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1581
1582         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1583
1584 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1585
1586         * buffer.C: format up to 241.
1587         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1588         break if pasting into ERT
1589         * lyxfunc.C (getStatus): suppress mathpanel and
1590         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1591
1592 2005-02-01  Angus Leeming  <leeming@lyx.org>
1593
1594         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1595
1596 2005-02-01  Angus Leeming  <leeming@lyx.org>
1597
1598         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1599         calling fs::is_directory().
1600
1601 2005-01-31  Angus Leeming  <leeming@lyx.org>
1602
1603         * lyx_main.C (priv_exec): specify explicitly the relative location
1604         of the top level build directory when run in-place.
1605
1606 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1607
1608         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1609         LyXText containing the cursor, not the top-level one.
1610
1611         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1612         true.
1613         (insertStringAsLines): rename par to pit; use temporary variable
1614         par to hold a Paragraph; do not store par.layout() in a variable,
1615         since the pointer may die when breaking paragraphs; pass pars to
1616         breakParagraph() instead of Buffer::paragraphs().
1617
1618 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1619
1620         * lyxlex_pimpl.h: #include <fstream>.
1621
1622         * BufferView.[Ch] (getLyXText): add a const version.
1623
1624         * BufferView_pimpl.C: add debug aids.
1625
1626         * RowList_fwd.h:
1627         * buffer.h:
1628         * lyxrow.h:
1629         * paragraph_funcs.h: add commentary explaining what the class does.
1630
1631
1632         * coordcache.[Ch]: add lots of commentary.
1633         (startUpdating, doneUpdating): debug aids.
1634         (arrays, insets, parPos, getParPos): accessors to private data.
1635
1636         * cursor_slice.[Ch] (text): add a const version.
1637         * dociterator.[Ch] (text, innerText): add const versions.
1638
1639         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1640         bool.
1641
1642         * paragraph.C (getRow, pos2ros): add asserts.
1643
1644         * paragraph.h: add commentary. Lots of.
1645
1646         * paragraph.[Ch] (metrucs, draw): removed.
1647
1648         * cursor.C:
1649         * rowpainter.[Ch]: const-correct changes.
1650
1651         * text.C: various obvious clean-ups. Removal of ancient cruft.
1652         Bug fixes, even.
1653
1654 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1655
1656         * vc-backend.C (find_file): rewrite to use boost.filesystem
1657         (scanMaster): ditto
1658
1659         * main.C (main): set default name check for boost.filesystem to
1660         no check
1661
1662         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1663         (open): ditto
1664         (doImport): ditto
1665         (actOnUpdatedPrefs): ditto
1666
1667         * lyx_main.C (init): rewrite to use boost.filesystem
1668         (queryUserLyXDir): ditto
1669
1670         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1671         (getContentsOfAsciiFile): ditto
1672
1673         * lastfiles.C (readFile): rewrite to use boost.filesystem
1674
1675         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1676
1677         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1678         (loadLyXFile): ditto
1679
1680         * buffer.C (Buffer): adjust for destroydir
1681         (getLogName): rewrite to use boost.filesystem
1682         (setFileName): ditto
1683         (save): use fs::copy_file (from fs_extras)
1684
1685         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1686
1687         * LaTeX.C (run): rewrite to use boost.filesystem
1688         (scanAuxFiles): ditto
1689         (handleFoundFile): ditto
1690
1691 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1692
1693         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1694
1695         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1696
1697 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * lyxlayout.[Ch]: change some vars from float to double
1700
1701         * buffer.C (readFile): make a local var const
1702
1703         * Several files: use convert<> instead of atoi,strToXXX and friends
1704
1705 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1706
1707         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1708         holds the contents of packages.lst. New functions getAvailable
1709         and isAvailable to parse and check that list, resp.
1710
1711         * LyXAction.C:
1712         * lfuns.h:
1713         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1714
1715         * bufferparams.[Ch]: new param output_changes.
1716
1717         * Buffer.C: increase file format to 240.
1718         Use output_changes and isVailable.
1719
1720         * changes.[Ch]:
1721         * paragraph.C:
1722         * paragraph_pimpl.C: Use output_changes and isVailable.
1723
1724 2005-01-23  Angus Leeming  <leeming@lyx.org>
1725
1726         * output_latex.C: #include "insetbibitem.h", rather than
1727         forward declare function bibitemWidest.
1728
1729 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1730
1731         * lyx_main.C (init): make it compile on the Mac.
1732
1733 2005-01-20  Angus Leeming  <leeming@lyx.org>
1734
1735         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1736         (setLyXMisc): (char string literal) != (char string literal) is
1737         performing a comparison on the addresses. Convert one operand
1738         explicitly to string to guarantee expected behaviour.
1739         From MSVC warning.
1740
1741 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1742
1743         * buffer.C:
1744         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1745
1746         * output_plaintext.C: remove unneeded #include gzstream.h.
1747
1748 2005-01-20  Angus Leeming  <leeming@lyx.org>
1749
1750         * SpellBase.h: rename some of the elements of the Result enum.
1751
1752         * aspell_local.h:
1753         * ispell.h:
1754         * pspell.h:
1755         * aspell.C (check):
1756         * ispell.C (check):
1757         * pspell.C (check): ditto
1758
1759 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1760
1761         * buffer.C: add #include <fstream>.
1762
1763         * lyx_main.C (init): Compile fix.
1764
1765         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1766
1767 2005-01-20  Angus Leeming  <leeming@lyx.org>
1768
1769         * mover.h: change commentary to reflect the changed meaning of
1770         the $$s placeholder.
1771
1772 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1773
1774         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1775
1776         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1777
1778 2005-01-20  Angus Leeming  <leeming@lyx.org>
1779
1780         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1781         printing diagnostic data by not dereferecing an iterator past the
1782         end.
1783
1784 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1785
1786         * buffer.C (readHeader): use "&&" rather than "and".
1787
1788         * lyxserver.h (inPipeName, outPipeName): make these const.
1789
1790 2005-01-19  Angus Leeming  <leeming@lyx.org>
1791
1792         * lyx_main.C (error_handler, init): protect SIGHUP with
1793         #ifdef SIGHUP guards.
1794
1795 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1798
1799 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1800
1801         * text.C (setHeightOfRow): add a margin at the top and bottom of
1802         the document (bug 1761)
1803
1804 2005-01-17  Angus Leeming  <leeming@lyx.org>
1805
1806         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1807         with "python ". Workaround for a brain-dead Windows.
1808
1809 2005-01-16  Angus Leeming  <leeming@lyx.org>
1810
1811         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1812         for MacOSX and Windows to use prependEnvPath.
1813         Strip out the hard-coded block to add elements to the PATH for
1814         MacOSX and replace it with a call to prependEnvPath using the
1815         contents of LyXRC::path_prefix.
1816         (queryUserLyXDir): strip out the code to run reconfigure, instead
1817         returning a boolean indicating the necessity to do so.
1818         (reconfigureUserLyXDir): contains the code to reconfigure the
1819         user support directory. Is now called after the various LyXRC data
1820         files have been read.
1821
1822         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1823
1824 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * converter.[Ch] (convert): take a new parameter try_default. Use
1827         a default converter (imagemagick) if try_default is true.
1828
1829 2005-01-13  Angus Leeming  <leeming@lyx.org>
1830
1831         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1832         os::cygwin_path_fix.
1833         (write): output LyXRC::cygwin_path_fix as necessary.
1834
1835 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1836
1837         * lyxrc.h:
1838         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1839
1840 2005-01-12  Angus Leeming  <leeming@lyx.org>
1841
1842         * lyx_main.C (init): set the PATH variable to include the
1843         directory containing the LyX binary when running on Mac or Windows.
1844
1845 2005-01-12  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyx_main.C (init): remove cruft that purports to set the locale
1848         dir. It doesn't and is not needed anyway.
1849
1850 2005-01-10  Angus Leeming  <leeming@lyx.org>
1851
1852         * Makefile.am: remove the lyx_main.C special casing.
1853
1854         * BufferView_pimpl.C:
1855         * bufferlist.C:
1856         * exporter.C:
1857         * lyx_cb.C:
1858         * lyx_main.C:
1859         * lyxfunc.C:
1860         * messages.C: use support/package.h to provide the paths to the
1861         various directories used by LyX.
1862
1863 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1864
1865         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1866         layout if pasting into an empty paragraph)
1867
1868 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * tex-accent.C: add <string>
1871
1872 2005-01-06  José Matos  <jamatos@lyx.org>
1873
1874         * ParagraphParameters.C (write): put every parameter in its own line.
1875         * paragraph.C (write): reduce number of consecutive empty lines exported.
1876         * buffer.C (LYX_FORMAT): increase file format to 239.
1877
1878 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1879
1880         * everywhere: change support/tostr.h -> support/convert.h
1881
1882         * tabular.C: make all write_attributes templates, tostr -> convert
1883
1884         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1885         (emptyTag): and -> &&, and fix type for ret from getChar
1886         (getFirstWord): fix type for ret from getChar
1887         (onlyText): and -> &&
1888         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1889         getChar
1890
1891         * toc.C (goTo, action):
1892         * text3.C (dispatch):
1893         * text.C (currentState):
1894         * tex-accent.C (DoAccent):
1895         * sgml.C:
1896         * lyxrc.C:
1897         * lyxfunc.C (menuNew):
1898         * lyxfinc.C (replace):
1899         * counters.C (laberItem):
1900         * bufferview_funcs.C (font2string):
1901         * bufferparams.C (writeFile):
1902         * buffer.C (readFile):
1903         * Spacing.C (set):
1904         * MenuBackend.C: tostr -> convert
1905
1906         * LaTeX.C (runMessage): fix format
1907         (scanAuxFiles): tostr -> convert
1908
1909         * BufferView_pimpl.C (savePosition): fix format
1910         (restorePosition): ditto
1911         (dispatch): ditto
1912
1913 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1914
1915         * Spacing.[Ch]: New method getValueAsString().
1916
1917         * Spacing.[Ch]:
1918         * bufferparams.C:
1919         * ParagraphParameters.C:
1920         * lyxlayout.C:
1921         * text.C:
1922         * text3.C: store/read spacing value as string.
1923
1924         * rowpainter.C: change float value (spacing_val) to double.
1925
1926         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1927         broken custom document spacing).
1928
1929 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1932         namespace, also more use of temp references and const
1933
1934         * cursor.[Ch] (getStatus): move to lyxfunc.C
1935
1936         * bufferparams.C: reformat slightly
1937
1938         * bufferview_funcs.C (font2string): constify arg
1939
1940         * changes.C:
1941         * converter.C:
1942         * counters.C:
1943         * bufferlist.C:
1944         * buffer_funcs.C: (many funcs): constify arg on function
1945         definitions, also make more local vars const, also add ASSERTS on
1946         pointer args.
1947
1948         * buffer.C (LYX_FORMAT): put const in correct place
1949         (many funcs): constify arg on function definitions, also make
1950         more local vars const
1951
1952         * aspell_local.h: remove "struct" from typdef setup
1953
1954         * aspell.C (check): make word_ok const
1955         (nextMiss): simplify slightly
1956         (error): ditto
1957
1958 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1959
1960         * lyxrc.[Ch]: store all float values as strings.
1961         use int (not float) for lyxrc.dpi.
1962
1963 2005-01-04  Angus Leeming  <leeming@lyx.org>
1964
1965         * lyx_cb.C (Reconfigure):
1966         * lyx_main.C (queryUserLyXDir):
1967         to run the <system_lyxdir>/configure correctly on Windows, prefix
1968         the path to the script with "sh " when generating the string that
1969         is passed to system().
1970
1971 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1972
1973         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1974
1975 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1976
1977         * lyxlength.C (asLatexString): get rid of setprecision
1978
1979 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1980
1981         * text2.C (setLayout): remove unused variable endpit.
1982         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1983
1984         * paragraph.C (onlyText): remove unused variable style.
1985
1986         * cursor.C (bruteFind): remove unused variables beg and end.
1987
1988         * Makefile.am (dist_noinset_DATA): not needed anymore
1989
1990         * cheaders/*: remove.
1991
1992 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1993
1994         * text3.C: fix LFUN_MATH_MODE.
1995
1996 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1997
1998         * buffer_funcs.C (countWords): new function. Counts words between
1999         two iterators.
2000
2001         * BufferView_pimpl.C (getStatus, dispatch): handle
2002         LFUN_WORDS_COUNT.
2003
2004         * LyXAction.C (init):
2005         * lfuns.h: add LFUN_WORDS_COUNT.
2006
2007 2004-12-19  Angus Leeming  <leeming@lyx.org>
2008
2009         * buffer.C (save): s/slashify_path/internal_path/.
2010
2011 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2012
2013         * lyxfind.C (findChange): do not search for end of pars, because
2014         the change tracker cannot handle this (fixes bug 1719).
2015
2016 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2017
2018         * paragraph.[Ch] (autoBreakRows): remove
2019
2020         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2021
2022         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2023         avoid using the paragraph one
2024
2025         * text2.C (LyXText, insertStringAsLines): adjust
2026
2027 2004-12-16  Angus Leeming  <leeming@lyx.org>
2028
2029         * bufferlist.C:
2030         * lyx_main.C:
2031         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2032
2033 2004-12-14  Angus Leeming  <leeming@lyx.org>
2034
2035         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2036
2037         * bufferlist.C (emergencyWrite):
2038         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2039         GetEnvPath("HOME").
2040
2041 2004-12-14  Angus Leeming  <leeming@lyx.org>
2042
2043         * main.C: (main): no longer pass pointers to os::init.
2044
2045 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2046
2047         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2048         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2049
2050 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * lyxfunc.C:
2053         * text3.C: remove selection_possible global flag
2054
2055 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * text2.C (getSelectionSpan): remove
2058         (changeDepth, changeDepthAllowed): adjust
2059
2060 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2061
2062         * Makefile.am (BOOST_LIBS): use boost variables
2063
2064 2004-12-03  José Matos  <jamatos@lyx.org>
2065
2066         * buffer.C: format up to 238.
2067
2068 2004-12-03  José Matos  <jamatos@lyx.org>
2069
2070         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2071
2072 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2073
2074         * cursor.C (goUpDown): remove call to idxUpDown2
2075
2076 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2077
2078         * tabular.[Ch]: use size_t-like types for cell, row and column
2079         indices
2080
2081 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2082
2083         * lyxfunc.C (getStatus): do not lose previous information when
2084         calling BufferView::getStatus; do not set a default "Command
2085         disabled" message at the beginning, but just before returning.
2086
2087 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2088
2089         * cursor.h (getStatus): add better comment from src/cursor.C
2090
2091 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * text3.C (getStatus): return false when the lfun is not handled
2094
2095 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * broken_headers.h: remove
2098
2099         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2100
2101 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2104         offset_ref accessors
2105
2106         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2107         top_y_, merge fitcursor with update
2108         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2109         coord scheme
2110         (metrics): introduce
2111         (workAreaDispatch): adapt to new coord scheme
2112         (redoCurrentBuffer): remove
2113
2114         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2115
2116         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2117         CurStatus enum.
2118
2119         * coordcache.[Ch]: add paragraph cache and helpers
2120
2121         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2122         adjust everywhere
2123
2124         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2125         (targetX, setTargetX): introduce
2126
2127         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2128         baseline -> ascent, as the rest of lyx
2129
2130         * lyxtext.h: remove redoParagraphs, updateParPositions,
2131         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2132         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2133         have ascent/descent (ascent is ascent of first par)
2134
2135         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2136         step of BufferView
2137
2138         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2139
2140         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2141
2142         * pariterator.C: fix infinite loop introduced in par->pit renaming
2143
2144         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2145         in insets and LyXText, draw two off-screen paragraphs using
2146         NullPainter, and adapt to new coord scheme
2147
2148         * text.C:
2149         * text2.C:
2150         * text3.C: adapt lfun handlers to the new coord scheme, which
2151         means: there's only guaranteed coord information for onscreen pars
2152         plus one above and one below. This implies that one can do search
2153         from y coordinates in the range [-1,workHeight]
2154
2155 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2156
2157         * rename a lot of InsetOld to InsetBase
2158
2159 2004-11-25  Angus Leeming  <leeming@lyx.org>
2160
2161         * BufferView_pimpl.C:
2162         * lyx_cb.C:
2163         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2164
2165 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2168         call BufferView::getStatus if LCursor::getStatus did nothing
2169         (setStatusMessage, getStatusMessage): removed.
2170
2171         * FuncStatus.C (message): new methods. Used to provide an error
2172         message indicating why a command is disabled.
2173         (clear, |=, FuncStatus): update for message.
2174
2175 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2176
2177         * lyxfunc.C (dispatch): always call sendDispatchMessage
2178
2179 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2180
2181         * BufferView.C:
2182         * BufferView_pimpl.C:
2183         * CutAndPaste.C:
2184         * FontIterator.C:
2185         * buffer.C:
2186         * cursor.C:
2187         * cursor_slice.[Ch]:
2188         * dociterator.[Ch]:
2189         * lyxfind.C:
2190         * paragraph_funcs.C:
2191         * pariterator.C:
2192         * rowpainter.C:
2193         * text.C:
2194         * text2.C:
2195         * text3.C:
2196         * undo.C: par->pit renaming
2197
2198 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * tabular.C (cellstruct): use initialization, store a shared_ptr
2201         to insettext instead of the insettext directly, adjust to fit.
2202         (operator=):  new function
2203         (swap): new function
2204         (rowstruct): use initialization
2205         (columnstruct): use initialization
2206         (ltType): use initialization
2207
2208
2209         * lyxlength.h (swap): new function
2210
2211         * LColor.[Ch] (operator=): use the common semantics
2212
2213 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2214
2215         * lyxfind.C (findNextChange): update the bufferview after setting
2216         the selection.
2217
2218 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2219
2220         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2221         number of InsetOptArgs has already been inserted.
2222
2223         * output_latex.C (latexOptArgInsets): new method. This outputs all
2224         the optarg insets, up to the limit defined in the layout file.
2225         (optArgInset): removed
2226         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2227
2228 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * paragraph.C (isLetter): remove special spellchecker-related
2231         code; return true also for digits
2232         (isWord, isKomma): remove
2233
2234         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2235         * lyxfind.C (MatchString()): use isLetter instead of isWord
2236
2237 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * pariterator.h (operatir=): comment out un-implemented member
2240         function.
2241
2242         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2243         static cast.
2244
2245 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * lyxfont.h: include LColor.h to satisfy concept checks.
2248
2249 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * pariterator.h: add typdefs for value_type, difference_type,
2252         pointer and reference to satisfy concept checks. Also add default
2253         constructor for same reason.
2254
2255         * pariterator.C (operator++): add post-increment operator to
2256         satisfy concept checks.
2257
2258         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2259         checks.
2260
2261         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2262
2263         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2264         checks. Also rename base_type to BaseType to follow naming
2265         standard better.
2266
2267         * FloatList.h: include Floating.h to satisfy concept checks.
2268
2269 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * lyxfunc.C (getStatus): when the origin of the request is menu or
2272         toolbar, and the LyXView does not have focus, do as if there was
2273         no buffer (bug 1720)
2274
2275         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2276         FuncRequest to individual entries of LFUN_SEQUENCE
2277
2278 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * output_latex.C (TeXOnePar): override runparams.moving_arg
2281         according to the needprotect value of the current paragraph (bug
2282         1739)
2283
2284         * paragraph.C (simpleTeXOnePar): no need to override
2285         runparams.moving_args here
2286
2287 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2288
2289         * vspace.C: fix off-by-one-error, related to fix #1682
2290
2291 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2292
2293         * lengthcommon.C: a more general fix for bug 1682
2294
2295 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * text.C (backspace): fix crash
2298
2299 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2300
2301         * format.[Ch] (getFormatFromFile): new method
2302         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2303
2304 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2307
2308 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2309
2310         * lyxfunc.C (dispatch): remove the verbose argument
2311         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2312         instead
2313
2314         * kbmap.C (defkey): set the origin of func to KEYBOARD
2315
2316         * MenuBackend.C (MenuItem):
2317         * ToolbarBackend.C (add): set the origin of func to UI
2318
2319         * funcrequest.[Ch]: add origin member, which indicates which part
2320         of LyX requests an action
2321
2322 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2323
2324         * converter.C (move): don't lie in the error message
2325         * converter.h (isReachable, move): document
2326
2327 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * buffer.C: remove unused using lyx::support::atoi
2330         * paragraph_funcs.C: ditto
2331
2332 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2333
2334         * bufferlist.C (exists): use bind and equal_to instead of
2335         compare_memfun
2336         (getBuffer): ditto
2337         * lyxtextclasslist.C (NumberOfClass): ditto
2338
2339         * cursor.C (insert): use for_each instead of explicit for loop
2340
2341         * bufferlist.C (getFileNames): use std::transform and
2342         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2343
2344         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2345         for loop
2346
2347         * buffer.C (changeLanguage): use for_each instead of explicit for
2348         loop
2349         (hasParWithID): implement using getParFromID
2350
2351         * LaTeXFeatures.C: ws change only
2352
2353         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2354         to cleanup a bit.
2355
2356         * BufferView_pimpl.C (trackChanges): use for_each instead of
2357         expilicit for loop
2358
2359 2004-11-04  André Pönitz  <poenitz@gmx.net>
2360
2361         * undo.h:
2362         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2363
2364         * dociterator.C (asDocIterator): use hard assert again.
2365
2366 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2367
2368         * lyxlength.C (asLatexString): rewrite so that it does not use
2369         snprintf anymore
2370
2371 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * text3.C (specialChar, dispatch): make sure cursor moves to the
2374         right after inserting an inset
2375
2376 2004-11-02  José Matos  <jamatos@lyx.org>
2377
2378         * output_docbook.C (docbook):
2379         * paragraph.C (getID):
2380         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2381         garantee that the output is always legal.
2382
2383         * tabular.C (docbook):
2384         * outputprams.[Ch]: remove mixed contents.
2385
2386 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2387
2388         * text2.C (setCounter): prevent endless loop
2389
2390 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2391
2392         * exporter.C (copyFile): use the mover instead of support::copy()
2393         * exporter.C (Export): pass format and latex name to copyFile()
2394         * exporter.h (addExternalFile): document
2395         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2396
2397 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2398
2399         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2400
2401 2004-10-30  José Matos  <jamatos@lyx.org>
2402
2403         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2404         text and no inset or font change. This allows to use CDATA
2405         sections just for the whole paragraph.
2406
2407 2004-10-30  José Matos  <jamatos@lyx.org>
2408
2409         * paragraph.C (getFirstWord): remove unused variable.
2410
2411 2004-10-30  José Matos  <jamatos@lyx.org>
2412
2413         * paragraph.C (getFirstWord): the content should always be escaped
2414         there.
2415         (simpleDocBookOnePar):
2416         * output_docbook.C (makeEnvironment): replace reference to CDATA
2417         to style pass_thru.
2418
2419 2004-10-30  José Matos  <jamatos@lyx.org>
2420
2421         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2422
2423 2004-10-30  José Matos  <jamatos@lyx.org>
2424
2425         * output_docbook.C (makeParagraphs):
2426         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2427         standard paragraph has only a given type of content drop the wrapper.
2428
2429 2004-10-29  José Matos  <jamatos@lyx.org>
2430
2431         * output_docbook.C (makeEnvironment):
2432         * sgml.C (openTag):
2433         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2434
2435 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2436
2437         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2438         (cleanID): sanitize any id.
2439
2440 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2441
2442         * buffer.C, lyxlex_pimpl.C:
2443         * lyxlex_pimpl.C (setFile):
2444         s/getExtFromContents/getFormatFromContents/
2445
2446 2004-10-28  José Matos  <jamatos@lyx.org>
2447
2448         * output_docbook.C (makeEnvironment): move id to broadest possible
2449         scope.
2450
2451         * sgml.C (openTag): apply substitution of <> for all attributes.
2452
2453 2004-10-28  José Matos  <jamatos@lyx.org>
2454
2455         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2456         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2457         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2458
2459         * sgml.[Ch]: new version for open and closeTag for paragraph and
2460         for strings. Now they handle the ids of paragraphs.
2461
2462 2004-10-26  Angus Leeming  <leeming@lyx.org>
2463
2464         * Makefile.am: add mover.[Ch].
2465
2466         * converter.C (convert, move): use the new Movers to move external
2467         files to the temp directory.
2468
2469         * lyx_main.C (init): ensure that the global system_movers data
2470         is initialised.
2471
2472         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2473         preferences file.
2474
2475         * mover.[Ch]: new files, defining a Mover as a utility to move an
2476         external file between directories and, if necessary, manipulate this
2477         file using a helper script.
2478
2479 2004-10-25  José Matos  <jamatos@lyx.org>
2480
2481         * output_docbook.C (makeCommand): merge two if's that tested the
2482         same condition.
2483
2484 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2485
2486         * sgml.C (escapeString): fix warning in a better way
2487
2488 2004-10-25  José Matos  <jamatos@lyx.org>
2489
2490         * sgml.C (escapeString): import the require boosts header file for
2491         tie, and avoid a signed unsigned comparison.
2492
2493 2004-10-25  José Matos  <jamatos@lyx.org>
2494
2495         * sgml.h: add #include <string>
2496
2497 2004-10-25  José Matos  <jamatos@lyx.org>
2498
2499         * sgml.[Ch] (escapeString): new function to escape all the string.
2500
2501 2004-10-24  José Matos  <jamatos@lyx.org>
2502
2503         * paragraph.[Ch] (getFirstWord): new function to get the first
2504         word. Useful for description.
2505         (simpleDocBookOnePar): remove depth argument, add another that
2506         says where to start the paragraph.
2507
2508         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2509         use the new functions to fix cleanly the support for descriptions.
2510
2511 2004-10-24  José Matos  <jamatos@lyx.org>
2512
2513         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2514         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2515         * output_linuxdoc.C (linuxdocParagraphs):
2516         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2517         add buffer as argument.
2518
2519 2004-10-24  José Matos  <jamatos@lyx.org>
2520
2521         * output_docbook.C (makeEnvironment, searchEnvironment): place
2522         CDATA inside paragraphs and fix scope for listitems.
2523
2524 2004-10-24  José Matos  <jamatos@lyx.org>
2525
2526         * output_docbook.C: remove using statement for stack.
2527
2528 2004-10-23  José Matos  <jamatos@lyx.org>
2529
2530         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2531         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2532         docbook. The new scheme is recursive and makes use of iterators, the
2533         same as latex export works.
2534         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2535         directly with the paragraph contents. This code was moved up to
2536         output_docbook.C (docbookParagraphs).
2537         * sgml.C (openTag, closeTag): removed unneeded newlines.
2538         (closeEnvTags) removed.
2539
2540 2004-10-23  André Pönitz  <poenitz@gmx.net>
2541
2542         * undo.C (textUndoOrRedo):
2543         * dociterator.C (asDocIterator): work around crash
2544
2545         * cursor.C (getStatus): replace ASSERT by more verbose error message
2546           and manual correction of the problem. Should increase stability
2547           while providing more sensible information.
2548
2549 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2550
2551         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2552
2553         * bufferlist.C (previous, next): new methods
2554
2555         * lfuns.h:
2556         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2557
2558 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2559
2560         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2561         entities to preamble.
2562
2563 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2564
2565         * messages.C (Pimpl): strip off translation context information
2566
2567 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2568
2569         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2570         the cursor is correct (bug 1694)
2571
2572 2004-10-13  José Matos  <jamatos@lyx.org>
2573
2574         * output_docbook.C (docbookParagraphs): fix closing tags in the
2575         end of the document.
2576
2577 2004-10-09  José Matos  <jamatos@lyx.org>
2578
2579         * buffer.C: format up to 237.
2580         * bufferparams.C (write): use tostr to convert booleans to strings.
2581
2582 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2583
2584         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2585
2586 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2587
2588         * LaTeX.C: implement use of babel language in xindy.
2589
2590 2004-10-05  José Matos  <jamatos@lyx.org>
2591
2592         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2593         Add new translators to help reading and writing the lyx file.
2594
2595 2004-10-05  José Matos  <jamatos@lyx.org>
2596
2597         * ParagraphParameters.C (read):
2598         * text.C (readParToken): replace nexToken by more appropriate lex
2599         methods.
2600
2601 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2602
2603         * LaTeX.C (runMakeIndex):
2604         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2605         (usually 'makeindex') configurable.
2606
2607         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2608         with a variable rather than with a number.
2609
2610 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2611
2612         * output_latex.C (TeXOnePar): make sure font setting is the first
2613         thing that gets output (and the last at the end). Should fix bug
2614         1404.
2615
2616 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * pch.h: use proper signal include
2619
2620         * LaTeX.h: Use preferred calling of Boost.Signal
2621         * buffer.h: ditto
2622
2623 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * pch.h: dont include <boost/function/function0.hpp>
2626
2627         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2628
2629         * paragraph_pimpl.h: remove usage of ShareContainer
2630
2631         * paragraph_pimpl.C: remove initialization of ShareContainer.
2632
2633 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2634
2635         Fix bug #1666
2636
2637         * BufferView.C (putSelectionAt): change the semantics when
2638         backwards == true: now, this just swaps cursor and anchor wrt the
2639         forward case
2640
2641         * BufferView.h (putSelectionAt): add some documentation
2642
2643         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2644         make sure backwardChar is done at least once (to avoid getting
2645         stuck)
2646         (findNextChange): use putSelectionAt in the forward direction
2647         (operator()): use Paragraph::isWord
2648
2649 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * Spacing.C (set): c_str fix
2652
2653 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2654
2655         * lyx_cb.C (Reconfigure): quote the name of configure script in
2656         case it contains spaces
2657
2658 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * client: new dir
2661
2662         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2663         (BOOST_LIBS): use top_buildir when looking for the file
2664
2665 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2666
2667         * pch.h: do not use include boost/format.hpp, multiple symbols
2668                 will result (gcc bug)
2669
2670
2671 2004-08-23  José Matos  <jamatos@lyx.org>
2672
2673         * bufferparams.C (readToken): fix reading of the author field.
2674
2675 2004-08-20  José Matos  <jamatos@lyx.org>
2676
2677         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2678
2679 2004-08-20  José Matos  <jamatos@lyx.org>
2680
2681         * lyxlex.[Ch] (findToken): remove function.
2682
2683         * ParagraphParameters.C (findToken):
2684         * bufferparams.C (findToken): replace call for previous function
2685         with local copy. This local function has one more argument, the
2686         read string argument.
2687
2688 2004-08-16  José Matos  <jamatos@lyx.org>
2689
2690         * ParagraphParameters.C (write):
2691         * Spacing.C (writeFile):
2692         * bufferparams.C (writeLaTeX):
2693         * lyx_cb.C (Reconfigure):
2694         * paragraph.C (write):
2695         * tabular.C (write): remove unnecessary space at end of line.
2696
2697
2698 2004-08-16  José Matos  <jamatos@lyx.org>
2699
2700         * text.C (readParagraph): remove debug message.
2701
2702 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703
2704         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2705         crash
2706
2707         * output_plaintext.C (asciiParagraph): set depth correctly
2708
2709         * outputparams.h: add member depth
2710
2711         * paragraph_funcs.C (ownerPar): remove.
2712
2713         * text2.C (setCounter): remove first_pit; comment out some
2714         non-working code that uses ownerPar
2715
2716         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2717         uses ownerPar
2718
2719 2004-08-16  José Matos  <jamatos@lyx.org>
2720
2721         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2722         For the same level of importance use the same chanel to report problems.
2723         (read): add code to deal with \begin_body and \end_body.
2724
2725
2726 2004-08-15  José Matos  <jamatos@lyx.org>
2727
2728         * lyxlex.C (getString): fix comment, buffer::readBody is now
2729         buffer:readDocument.
2730
2731         * tex-strings.C (string_papersize): Default -> default,
2732         Custom -> custom, for consistency with other options.
2733
2734 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * pch.h: new file
2737
2738         * Makefile.am: support pch
2739
2740 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2741
2742         * text.C (readParToken): remove the static LyXFont variable and
2743         pass it as a parameter instead. This fixes a nasty bug where an
2744         inset will be inserted with a bad font in some situations
2745         (readParagraph): adapt
2746
2747         * text2.C (setCounter): reduce number of calls to pars_[pit]
2748
2749         * text.C (singleWidth): add an assert, fix a test
2750
2751         * rowpainter.C (paintText): reduce number of calls to singleWidth
2752
2753         * paragraph.C (isHfill):
2754         (isNewline): ws only
2755
2756 2004-08-14  André Pönitz  <poenitz@gmx.net>
2757
2758         * text.C:
2759         * text2.C:
2760         * rowpainter.C:
2761         * lyxtext.h (several functions): use a Paragraph & argument
2762         instead of par_type
2763
2764 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2765
2766         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2767
2768         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2769
2770         * text.C (singleWidth): remove useless test
2771
2772 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * tabular.h: remove bogus comments
2775
2776         * tabular.C (getDescentOfRow):
2777         (isPartOfMultiColumn): add assertions
2778
2779         * lyxlength.C (inPixels): remove #warning
2780
2781 2004-08-14  André Pönitz  <poenitz@gmx.net>
2782
2783         * paragraph.h: inline getChar()
2784
2785         * BufferView.h: remove unused declarations
2786
2787 2004-08-14  José Matos  <jamatos@lyx.org>
2788
2789         * Buffer.[Ch] (readDocument): new name for old readBody.
2790         * Buffer.C: new file format, new keywords: \begin_document,
2791         \begin_header, \begin_body, \end_body.
2792
2793         * bufferparams.C (readToken): replace all calls to lex.nextToken
2794         by lex.next(). Do the same to eatLine except where really needed.
2795
2796         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2797         line when writing to the lyx file.
2798
2799         * output_plaintext.C (asciiParagraph): fix Bibliography style
2800         handling.
2801
2802         * text.C (read): fix end of file handling.
2803
2804 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * MenuBackend.C (Menu::operator[]): new method to access
2807         individual menu items
2808         (Menu::hasFunc): new method. search for an item that corresponds
2809         to a given func
2810         (MenuBackend::specialMenu): new method
2811         (MenuBackend::expand): if a special menu has been set, skip
2812         entries whose func() appears in this menu
2813
2814 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2815
2816         * text3.C: use Debug::DEBUG a bit more
2817
2818         * text.C (leftMargin): try to simplify a tiny bit change var x to
2819         l_margin. Dont output the wide margins always.
2820         (rightMargin): no margin in inner texts
2821
2822         * rowpainter.h (nestMargin): new func
2823         (changebarMargin): new func
2824         (rightMargin): new func
2825
2826         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2827         now functions.
2828         (paintLast): ditto
2829
2830         * factory.C (createInset): modify setDrawFrame
2831
2832         * cursor.C: use Debug::DEBUG a bit more
2833
2834 2004-08-14  André Pönitz  <poenitz@gmx.net>
2835
2836         * coordcache.[Ch]:
2837         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2838         cache for all insets in (at least partially) visible (top-level)
2839         paragraphs.
2840
2841         * BufferView_pimpl.C: reset external coord cache before every update.
2842         This means the coord cache only contains valid entries.
2843
2844 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2845
2846         bug 1096
2847         * BufferView_pimpl.C (getInsetByCode): move function out of class
2848         and change in to a template in anon namespace. Also fix to do what
2849         suits us better.
2850
2851 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2852
2853         bug 1305
2854         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2855         of char
2856         (breakParagraph): rename par to par_offset and use a local
2857         reference. Add code to keep the language over a rebreak.
2858         (breakParagraphConservative): rename par to par_offset, use a
2859         local reference
2860         (mergeParagraph): ditto
2861         (outerHook): ditto
2862         (isFirstInSequence): ditto
2863         (outerFont): rename pit to par_offset
2864
2865         * paragraph.C: ws change
2866         * paragraph.h: ditto
2867         * text3.C: ditto
2868         * text.C: ditto
2869
2870 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2871
2872         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2873         treatment for ']'
2874
2875         * paragraph.C (simpleTeXOnePar): when we have a \item with
2876         optional argument, enclose the argument with curly brackets (in
2877         case it contains a closing square bracket)
2878
2879         * text2.C (editXY):
2880         * text2.C (editXY):
2881         * text3.C (checkInsetHit): constify
2882
2883 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2884
2885         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2886         documents (bug 1629)
2887
2888 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2889
2890         Fix toggling of collapsable insets with the mouse (bug 1558)
2891
2892         * lyxfunc.C (dispatch): adapt to LCursor changes
2893
2894         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2895         make sure that dispatch is not invoked twice
2896
2897         * cursor.C (needsUpdate): new method
2898         (dispatch): return void
2899         (result): new method, to access the DispatchResult of the cursor.
2900
2901 2004-08-13  José Matos  <jamatos@lyx.org>
2902
2903         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2904
2905 2004-08-13  André Pönitz  <poenitz@gmx.net>
2906
2907         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2908
2909         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2910           multiple cells
2911
2912 2004-08-12  André Pönitz  <poenitz@gmx.net>
2913
2914         * text3.C: take out the 'cursor right' form insertInset and only
2915         do it in those places when it is really needed. Fixes crash on
2916         C-m...
2917
2918 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2921
2922         * BufferView_pimpl.C (setBuffer): initialize the current font of
2923         the underlying LyXText
2924
2925 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2926
2927         * kbsequence.C (print): use UI native formatting for menu
2928         shortcuts
2929
2930         * text.C (insertChar): call Paragraph::insertChar with a font
2931         argument (cosmetic)
2932
2933         * paragraph.C (insertInset, insertChar): the version that takes a
2934         LyXFont argument is now a wrapper around the other one (the
2935         opposite used to be true).
2936
2937         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2938         argument. Font setting is done in Paragraph now.
2939
2940 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2941
2942         * outputparams.h: add new members intitle and lang.
2943
2944         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2945         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2946
2947 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * text3.C (dispatch): remove special handling of button 4 and 5,
2950         it is now taken care of in the frontend code.
2951
2952 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2953
2954         * Spacing.h: add <string> (STLPort compile fix)
2955
2956 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2957
2958         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2959
2960 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2963         to bool.
2964
2965         * converter.C (showMessage): inherit from unary_function, make
2966         operator() const.
2967
2968         * buffer.C (writeFile): initialize retval
2969
2970         * InsetList.h: rename private variable list to list_
2971         * InsetList.[Ch]: adjust accordingly.
2972
2973 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2976         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2977         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2978         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2979         * ParagraphParameters.C, LaTeXFeatures.C: replace
2980         "support/std_sstream.h" with <sstream>
2981
2982 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2985         * lyxsocket.C (LyXServerSocket): ditto
2986         (serverCallback): ditto
2987
2988 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2989
2990         * LaTeXFeatures.C: check release date when loading jurabib.
2991
2992 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * lyxserver.C (startPipe): call register_socket_callback
2995         (endPipe): call unregister_socket_callback
2996
2997 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3000         (LyXServerSocket): register the callback
3001         (LyXServerSocket): unregister the callback
3002         (fd): delete function
3003         (serverCallback): improve error checking and setup the callbacks.
3004         (dataCallback): change arg to fd.
3005         (writeln): new func (copied fro the client socket) used for server
3006         write to client.
3007         (LyXDataSocket): simplify
3008         (~LyXDataSocket): close ann unregiser callback
3009         (server): delete function
3010         (fd): delete function
3011         (readln): small changes, improve some std::string usage
3012         (writeln): constify a bit
3013
3014 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3015
3016         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3017         Qt frontend
3018
3019 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3022         after it has been populated
3023
3024 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * text2.C (insertInset): move cursor when inserting inset.
3027
3028 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3029
3030         * kbmap.C (findbindings): a couple of new methods. returns a
3031         container of kb_sequence objects. The real work is done by the
3032         private recursive version
3033         (printbindings): uses findbindings to print out a bracketed list
3034         of bindings (renamed from findbinding).
3035
3036         * MenuBackend.C (binding): use kb_keymap::findbindings
3037
3038         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3039
3040 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3041
3042         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3043
3044 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3045
3046         * paragraph.C (isWord): return true on insets that report
3047         isLetter().
3048
3049         * text.C (getWord): use Paragraph::isWord to decide what is in a
3050         word and what is not; fix bug 1609.
3051
3052 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3053
3054         * tex-strings.C: add "none" to string_paperpackages[], fixes
3055         off-by-one-error in the paperpackage selection.
3056
3057         * lyxlex.[Ch]:
3058         * tex-strings.[Ch]: char const * string[n]
3059         -> char const * const string[]
3060
3061 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3062
3063         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3064         command, return early.
3065
3066 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * debug.h: add DEBUG to enum and fix size of ANY.
3069
3070         * debug.C: add support for Debug::DEBUG
3071         (showTags): cast errorTags.level to unsigned int
3072
3073         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3074         (redoCurrentBuffer): ditto
3075         (updateScrollbar): ditto
3076         * cursor.C (dispatch): ditto
3077         * text2.C (setLayout): ditto
3078         (setFont): ditto
3079         (updateCounters): ditto
3080         (editXY): ditto
3081         (deleteEmptyParagraphMechanism): ditto
3082
3083 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3084
3085         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3086         annotations to cleanup the Makefile slightly.
3087
3088 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3089
3090         * lyxrc.C: do not set user_email to a default value but use empty
3091         instead. The entry used to be translated, which does not work
3092         since at the point where lyxrc is constructed there is no
3093         translation service available
3094
3095         * messages.C (getLocaleDir): remove and use directly
3096         lyx_localedir() instead
3097
3098 2004-06-02  Angus Leeming  <leeming@lyx.org>
3099
3100         Fix crash caused by dereferencing null pointer 'exportdata' in
3101         OutputParams by creating a new ExportData variable on the heap,
3102         storing it in a boost::shared_ptr.
3103         The crash was triggered when generating an Instant Preview
3104         of an external inset.
3105
3106         * Makefile.am: add outputparams.C
3107
3108         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3109         (c-tor): allocate memory to it.
3110
3111         * exporter.C (c-tor): associated changes.
3112
3113 2004-06-01  Angus Leeming  <leeming@lyx.org>
3114
3115         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3116         contains data before calling isInset(0). (Bug 1513.)
3117
3118 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3119
3120         * exporter.C (checkOverwrite): new method
3121         * exporter.C (copyFile): new method
3122         * exporter.C (Export): copy referenced files to the document dir
3123         * exporter.[Ch]: new class ExportedFile
3124         * exporter.[Ch]: new class ExportData. Contains currently the
3125         names of referenced external files
3126         * outputparams.h: add exportdata member.
3127
3128 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3131         version.C-tmp
3132
3133 2004-05-19  Angus Leeming  <leeming@lyx.org>
3134
3135         * LaTeXFeatures.C:
3136         * ToolbarBackend.C:
3137         * bufferparams.C:
3138         * lyxfunc.C: small changes due to the introduction of namespace
3139         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3140
3141 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * text3.C (dispatch): supress update when only moving the cursor
3144         * cursor.C (selHandle): remove commented code
3145
3146 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3147
3148         * paragraph.C (startTeXParParams): correct column count
3149         * CutAndPaste.C (pasteSelection): remove const_cast
3150         * output_docbook.C (docbookParagraphs): remove const_cast
3151         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3152         const_cast and return ParagraphList::const_iterator
3153         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3154         * output_plaintext.C (writeFileAscii): remove const_cast
3155         * paragraph.[Ch] (simpleTeXOnePar): make const
3156         * paragraph_funcs.C (outerPar): use const iterators
3157         * paragraph_pimpl.C (validate): use const iterators
3158         * text.C (setHeightOfRow): use const iterators
3159
3160 2004-05-17  Angus Leeming  <leeming@lyx.org>
3161
3162         * lfuns.h:
3163         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3164
3165         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3166         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3167         if the citation engine has changed.
3168
3169 2004-05-14  José Matos  <jamatos@lyx.org>
3170
3171         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3172         if the textclass does not provide it. Have it different for sgml and
3173         xml.
3174         support the language of document.
3175         * output_docbook.C (docbookParagraphs):
3176         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3177         first anchor as the id of the paragraph, remove special case code.
3178         * sgml.C (escapeChar): escape only < & >.
3179
3180 2004-05-14  Angus Leeming  <leeming@lyx.org>
3181
3182         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3183         dependencies on src/frontends/controllers/biblio.h. Define a
3184         CiteEngine_enum wrapper class to enable the enum to be forward
3185         declared.
3186
3187 2004-05-12  Angus Leeming  <leeming@lyx.org>
3188
3189         * buffer.C: up LYX_FORMAT to 234.
3190         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3191         use_numerical_citations with a single biblio::CiteEngine cite_engine
3192         variable.
3193         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3194
3195 2004-05-13  José Matos  <jamatos@lyx.org>
3196
3197         * converter.h:
3198         * converter.C (Converter, readFlags): add xml member.
3199         * outputparams.h: add XML flavor.
3200         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3201
3202 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3203
3204         * lyxfunc.C (dispatch):
3205         (getStatus): fix handling of LFUN_SEQUENCE
3206
3207 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * debug.C (showLevel): do not forget the end-of-line marker
3210
3211 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3212
3213         * kbmap.C (read): do not stop parsing a bind file when an error
3214         occurs (bug 1575)
3215
3216 2004-04-29  Angus Leeming  <leeming@lyx.org>
3217
3218         * cursor.C:
3219         * factory.C:
3220         * pariterator.C:
3221         * text2.C: wrap a bunch of #warning statements
3222         inside #ifdef WITH_WARNINGS blocks.
3223
3224 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3225
3226         * buffer.C: increment format to 233.
3227
3228 2004-04-28  Angus Leeming  <leeming@lyx.org>
3229
3230         * BufferView_pimpl.C:
3231         * lyxfunc.C:
3232         * text3.C:
3233         s/updateToolbar()/updateToolbars()/
3234         s/Toolbar.h/Toolbars.h/
3235
3236 2004-04-28  Angus Leeming  <leeming@lyx.org>
3237
3238         * BufferView.[Ch] (c-tor):
3239         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3240         No longer passes these data to the WorkArea generator.
3241
3242 2004-04-28  Angus Leeming  <leeming@lyx.org>
3243
3244         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3245
3246 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3247
3248         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3249
3250 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3251
3252         * output_latex.C (TeXEnvironment): make sure that there is a line
3253         break before \end{foo} for the last paragraph of a document
3254         (TeXOnePar): if the paragraph is at the end of the document (or
3255         inset) and the language has to be reset, then make sure that the
3256         line break is _before_ the language command, not after (fixes bug
3257         1225); also make sure that the language reset command is the first
3258         thing after the paragraph (to ensure proper nesting of
3259         environments and thus fix bug 1404)
3260
3261 2004-04-21  John Levon  <levon@movementarian.org>
3262
3263         * ToolbarBackend.h:
3264         * ToolbarBackend.C: make "name" be a programmatic name
3265         and a gui_name field.
3266
3267         * lyxfunc.C: display the minibuffer on M-x
3268
3269 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3270
3271         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3272         (bug 1526)
3273
3274 2004-04-19  Angus Leeming  <leeming@lyx.org>
3275
3276         * BufferView_pimpl.C (setBuffer): changed preview interface.
3277
3278         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3279         possible values.
3280
3281 2004-04-19  John Levon  <levon@movementarian.org>
3282
3283         * BufferView_pimpl.C:
3284         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3285
3286 2004-04-05  Angus Leeming  <leeming@lyx.org>
3287
3288         * text.C (redoParagraphs): add call to updateCounters(), thereby
3289         fixing the missing "Figure #:" label from the caption of a
3290         figure float.
3291
3292 2004-04-13  Angus Leeming  <leeming@lyx.org>
3293
3294         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3295         cursor is clicked out of an inset.
3296
3297 2004-04-13  Angus Leeming  <leeming@lyx.org>
3298
3299         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3300         than an InsetOld one.
3301
3302 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3303
3304         * format.[Ch]: add editor to Format
3305         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3306         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3307
3308 2004-04-08  André Pönitz  <poenitz@gmx.net>
3309
3310         * metricsinfo.h: remove PainterInfo::width member
3311
3312 2004-04-08  Angus Leeming  <leeming@lyx.org>
3313
3314         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3315         "\providecommand" rather than "\newcommand", thereby preventing
3316         clashes with packages that define "\boldsymbol" themselves.
3317         Eg, beamer.
3318
3319 2004-04-08  Angus Leeming  <leeming@lyx.org>
3320
3321         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3322         thereby squashing an unnecessary warning.
3323
3324 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3325
3326         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3327         setBuffer()
3328
3329 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3330
3331         * BufferView.C (setCursor): call redoParagraph (some insets could
3332         have been opened)
3333         (putSelectionAt): remove the 'double update' trick
3334
3335         * BufferView_pimpl.C (fitCursor): call refreshPar
3336         (workAreaDispatch): remove an uneeded update call
3337         (dispatch): remove some manual update calls
3338
3339         * cursor.[Ch]: remove cached_y_, updatePos
3340         (selHandle): set noUpdate when appropriate
3341
3342         * lyxfunc.C (dispatch): track if we need an update
3343
3344         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3345
3346         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3347         (paintSelection): cheap optimization, do not call cursorX when not
3348         needed
3349         (paintPars): change signature
3350         (refreshPar): add
3351         (paintText): adjust
3352         (paintTextInset): adjust
3353
3354         * text.C: adjust
3355
3356 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3357
3358         * lengthcommon.C: compilation fix: remove explicit array size from
3359         unit_name[] and friends
3360
3361 2004-04-05  Angus Leeming  <leeming@lyx.org>
3362
3363         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3364
3365         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3366         present only for the preferences dialog.
3367         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3368
3369 2004-04-05  Angus Leeming  <leeming@lyx.org>
3370
3371         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3372         to enable the frontends to export changes to lyxrc correctly.
3373
3374         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3375
3376 2004-04-07  André Pönitz  <poenitz@gmx.net>
3377
3378         * cursor.[Ch] (selClear, adjust): remove math
3379
3380         * cursor_slice.C: more agressive assert
3381
3382         * lyxfunc.C:
3383         * BufferView_pimpl.C: rework mouse event dispatch
3384
3385         * dociterator.C:
3386         * paragraph.C:
3387         * text2.C:
3388         * text3.C: adjust
3389
3390 2004-04-05  André Pönitz  <poenitz@gmx.net>
3391
3392         * cursor.[Ch] (valign, halign...): remove unneeded functions
3393
3394 2004-04-05  Angus Leeming  <leeming@lyx.org>
3395
3396         * lyxlength.[Ch] (unit_name et al.): const-correct.
3397
3398 2004-04-05  Angus Leeming  <leeming@lyx.org>
3399
3400         * BufferView_pimpl.C:
3401         * buffer.C:
3402         * counters.C:
3403         * cursor.C:
3404         * lyxfunc.C
3405         * paragraph.C:
3406         * pariterator.C:
3407         * text.C:
3408         * text2.C:
3409         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3410
3411 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3412
3413         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3414
3415 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3416
3417         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3418         * BufferView_pimpl.[Ch] (getStatus)
3419         * BufferView.[Ch] (getStatus): add
3420         * lyxfunc.C (getStatus): move lfuns handled in
3421         BufferView::dispatch to te function above
3422         * Cursor.C (setSelection): set selection() = true
3423
3424 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3425
3426         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3427
3428 2004-03-31  Angus Leeming  <leeming@lyx.org>
3429
3430         * lyxfunc.C (dispatch): Fall through to the generic
3431         Dialogs::show("preamble").
3432
3433 2004-03-31  Angus Leeming  <leeming@lyx.org>
3434
3435         * lyxfunc.C (dispatch): Fall through to the generic
3436         Dialogs::show("spellchecker").
3437
3438 2004-03-31  Angus Leeming  <leeming@lyx.org>
3439
3440         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3441         preferences dialog.
3442
3443 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * BufferView.C
3446         * cursor.[Ch]
3447         * dociterator.[Ch]:
3448         * insetiterator.[Ch]:
3449         * lyxfind.C:
3450         * lyxfunc.C:
3451         * pariterator.[Ch]:
3452         * text2.C:
3453         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3454
3455 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3458         insets where we are putting the cursor.
3459
3460 2004-03-31  Angus Leeming  <leeming@lyx.org>
3461
3462         * lfuns.h:
3463         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3464
3465         * lyxrc.[Ch] (read, write): overloaded member functions taking
3466         a std::[io]stream arguments.
3467
3468         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3469
3470 2004-03-31  Angus Leeming  <leeming@lyx.org>
3471
3472         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3473         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3474
3475         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3476         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3477
3478 2004-03-31  Angus Leeming  <leeming@lyx.org>
3479
3480         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3481         the LFUN_ALL_INSETS_TOGGLE code.
3482
3483 2004-03-30  Angus Leeming  <leeming@lyx.org>
3484
3485         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3486         has died. Fall through to the generic Dialogs::show("document").
3487
3488 2004-03-30  Angus Leeming  <leeming@lyx.org>
3489
3490         * lfuns.h:
3491         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3492         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3493
3494         * lyxfunc.C (getStatus, dispatch): define the actions for these
3495         lfuns. Little more than a cut and pste job from ControlDocument.C
3496
3497         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3498
3499 2004-03-30  Angus Leeming  <leeming@lyx.org>
3500
3501         * lfuns.h:
3502         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3503         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3504
3505         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3506         open/closed state of ollapsable insets. Usage:
3507
3508         all-inset-toggle <state> <name>, where
3509         <state> == "open" || "closed" || "toggle" and
3510         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3511
3512         * lyxtext.h, text2.C (toggleInset): removed.
3513
3514         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3515         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3516         now passes LFUN_INSET_TOGGLE to the found inset.
3517
3518         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3519         is now invoked as "all-insets-toggle toggle branch".
3520
3521 2004-03-30  Angus Leeming  <leeming@lyx.org>
3522
3523         * dociterator.C:
3524         * insetiterator.C:
3525         * pariterator.[Ch]: added/corrected header blurb.
3526
3527 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3528
3529         * dociterator.[Ch]: add an inset_ member
3530         (backwardPos): implemented
3531         (backwardPos, forwardPos): use inset_ when the stack is empty.
3532         (doc_iterator_begin, doc_iterator_end): implemented
3533         * pariterator.[Ch]: adjust, add begin, end
3534         * insetiterator.[Ch]: adjust, add begin, end
3535         * cursor.C:
3536         * document.C:
3537         * BufferView.C:
3538         * BufferView_pimpl.C:
3539         * CutAndPaste.C: adjust
3540
3541 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3542
3543         * buffer.C: increment file format to 232.
3544         * LaTeXFeatures.C: add bibtopic package.
3545         * bufferparams.[Ch]: param \use_bibtopic.
3546
3547         * lyxrc.[Ch]: add lyxrc bibtex_command
3548         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3549
3550         * buffer.C: increment file format to 231.
3551
3552 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * dociterator.C: implement forwardPar
3555         * iterators.[Ch]: remove, replaced by
3556         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3557         * BufferView.C:
3558         * BufferView_pimpl.C:
3559         * CutAndPaste.C:
3560         * buffer.C:
3561         * bufferview_funcs.C:
3562         * cursor.C:
3563         * lyxfind.C
3564         * lyxfunc.C
3565         * paragraph_funcs.C
3566         * toc.C:
3567         * Makefile.am: adjust
3568
3569 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3570
3571         * CutAndPaste.C (pasteSelection): fix 2 crashes
3572         (eraseSelection): fix a crash
3573         * paragraph_funcs.C: remove a warning
3574
3575 2004-03-28  Angus Leeming  <leeming@lyx.org>
3576
3577         * lfuns.h:
3578         * LyXAction.C (init): new LFUN_PRINT.
3579
3580         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3581
3582 2004-03-27  Angus Leeming  <leeming@lyx.org>
3583
3584         * lfuns.h:
3585         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3586
3587         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3588
3589 2004-03-27  Angus Leeming  <leeming@lyx.org>
3590
3591         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3592         insetlist always contains non-null pointers to insets.
3593
3594 2004-03-26  Angus Leeming  <leeming@lyx.org>
3595
3596         * src/BufferView_pimpl.C:
3597         * src/CutAndPaste.C:
3598         * src/buffer.C:
3599         * src/iterators.C:
3600         * src/output_plaintext.C:
3601         * src/outputparams.h:
3602         * src/paragraph_funcs.C:
3603         * src/rowpainter.C:
3604         * src/text.C:
3605         * src/text2.C:
3606         * src/frontends/controllers/ControlErrorList.C:
3607         * src/frontends/gtk/FileDialogPrivate.C:
3608         * src/frontends/gtk/GPainter.C:
3609         * src/frontends/gtk/GToolbar.C:
3610         * src/frontends/qt2/QRef.C:
3611         * src/mathed/math_scriptinset.C: squash compiler warnings.
3612
3613 2004-03-26  Angus Leeming  <leeming@lyx.org>
3614
3615         * ispell.C (LaunchIspell::start):
3616         * lyx_cb.C (AutoSaveBuffer::start):
3617         invoke run(DontWait) rather than runNonBlocking().
3618
3619 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3620
3621         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3622
3623 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3624
3625         * kbsequence.C (print): adjust
3626
3627         * kbmap.C (printKeySym): rename and change signature
3628         (printKey): use LyXKeySym::print()
3629
3630 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3631
3632         * undo.C: add using std::advance to compile for stlport
3633
3634 2004-03-24  Angus Leeming  <leeming@lyx.org>
3635
3636         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3637         it leads to a crash when no buffer is present.
3638
3639 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3640             Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * lyxfunc.C (dispatch):
3643         * bufferparams.C (readToken): use the new LColor::setColor
3644
3645         * LColor.[Ch] (setColor): new version that takes two strings as
3646         argument and creates a new color entry if necessary
3647
3648 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3649
3650         * buffer.C (makeLaTeXFile): if the main latex file that is
3651         processed is usually a subdocument of some master, then pretend
3652         for a while that it is actually the master
3653
3654 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3655
3656         * buffer.C (getLabelList):
3657         (getBibkeyList): use getMasterBuffer()
3658         (getMasterBuffer): new method. Returns the main document in the
3659         case where one is using included documents.
3660
3661 2004-03-25  André Pönitz  <poenitz@gmx.net>
3662
3663         * Makefile.am:
3664         * iterators.[Ch]:
3665         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3666
3667         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3668
3669         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3670         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3671
3672         * ParameterStruct.h: merge with ParagraphParameters
3673
3674         * lyxtext.h: remove LyXText::parOffset() and getPar()
3675
3676         * text3.C: Remove all 'manual' update calls. We do now one per user
3677         interaction which is completely sufficient.
3678
3679         * Bidi.C:
3680         * BufferView.[Ch]:
3681         * BufferView_pimpl.C:
3682         * FontIterator.[Ch]:
3683         * MenuBackend.C:
3684         * ParagraphParameters.[Ch]:
3685         * buffer.C:
3686         * buffer.h:
3687         * bufferlist.C:
3688         * cursor.[Ch]:
3689         * cursor_slice.[Ch]:
3690         * dociterator.[Ch]:
3691         * errorlist.[Ch]:
3692         * factory.C:
3693         * lfuns.h:
3694         * lyxfind.C:
3695         * lyxfunc.C:
3696         * output_docbook.[Ch]:
3697         * output_latex.[Ch]:
3698         * output_linuxdoc.[Ch]:
3699         * output_plaintext.[Ch]:
3700         * paragraph.[Ch]:
3701         * paragraph_funcs.[Ch]:
3702         * paragraph_pimpl.[Ch]:
3703         * rowpainter.C:
3704         * tabular.[Ch]:
3705         * text.C:
3706         * text2.C:
3707         * toc.C:
3708         * undo.[Ch]: adjust
3709
3710         * frontends/controllers/ControlDocument.C:
3711         * frontends/controllers/ControlErrorList.C:
3712         * frontends/controllers/ControlSpellchecker.C:
3713         * insets/inset.C:
3714         * insets/inset.h:
3715         * insets/insetbase.h:
3716         * insets/insetbibitem.C:
3717         * insets/insetbox.C:
3718         * insets/insetbranch.C:
3719         * insets/insetcaption.C:
3720         * insets/insetcharstyle.C:
3721         * insets/insetcharstyle.h:
3722         * insets/insetcollapsable.C:
3723         * insets/insetcollapsable.h:
3724         * insets/insetert.C:
3725         * insets/insetfloat.C:
3726         * insets/insetfoot.C:
3727         * insets/insetmarginal.C:
3728         * insets/insetnote.C:
3729         * insets/insetoptarg.C:
3730         * insets/insettabular.C:
3731         * insets/insettext.C:
3732         * insets/insettext.h:
3733         * insets/insetwrap.C:
3734         * mathed/math_mboxinset.C:
3735         * mathed/math_nestinset.C:
3736         * mathed/math_scriptinset.C:
3737         * mathed/math_scriptinset.h:
3738         * support/types.h:
3739
3740 2004-03-24  Angus Leeming  <leeming@lyx.org>
3741
3742         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3743         deal with any child processes that have finished but are waiting to
3744         communicate this fact to the rest of LyX.
3745
3746 2004-03-24  Angus Leeming  <leeming@lyx.org>
3747
3748         64-bit compile fixes.
3749
3750         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3751         (c-tor): pass lyx::pos_types rather than ints.
3752
3753         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3754         lyx::pos_type.
3755
3756         * text.C (Delete): compile fix.
3757         (getPar): ensure that function declaration is the same as that in
3758         the header file.
3759
3760 2004-03-23  Angus Leeming  <leeming@lyx.org>
3761
3762         * ispell.C (LaunchIspell):
3763         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3764         a boost::shred_ptr rather than a std::auto_ptr.
3765
3766 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3767
3768         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3769         handle LFUN_FILE_INSERT_*
3770
3771         * lyxrc.C (setDefaults, getDescription, output, read):
3772         * lyxrc.h: remove ps_command
3773
3774 2004-03-22  Angus Leeming  <leeming@lyx.org>
3775
3776         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3777         Ensure that error_handler is processed once only and that all data
3778         is saved before attempting to output any warning messages.
3779
3780         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3781
3782 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3785
3786 2004-03-19  André Pönitz  <poenitz@gmx.net>
3787
3788         * cursor.[Ch] (reset): take main text inset as argument
3789
3790         * BufferView: adjust
3791         * BufferView_pimpl.C: adjust
3792
3793         * paragraph.[Ch]: fix completely broken operator=()
3794
3795 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3796
3797         * LColor.C (getFromLyXName): make sure that the color name is used
3798         as lowercase.
3799
3800 2004-03-17  Angus Leeming  <leeming@lyx.org>
3801
3802         * lfuns.h:
3803         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3804
3805         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3806         dialog and to kill a forked process.
3807
3808 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3809
3810         * text2.C (setCursorFromCoordinates): fix font problem
3811
3812 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3813
3814         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3815         bogus "rebuild cursor" code
3816
3817 2004-03-11  André Pönitz  <poenitz@gmx.net>
3818
3819         * buffer.[Ch]: use InsetText instead of LyXText as container for
3820         the main lyx text.
3821
3822         * dociterator.[Ch]: drop the BufferView * member which is not needed
3823         anymore after the change to buffer.C
3824
3825         * paragraph_funcs.C:
3826         * text.C:
3827         * text2.C:
3828         * BufferView.[Ch]:
3829         * BufferView_pimpl.[Ch]:
3830         * cursor.[Ch]:
3831         * cursor_slice.[Ch]: adjust
3832
3833         * text3.C: fix bug in mathDispatch
3834
3835 2004-03-08  André Pönitz  <poenitz@gmx.net>
3836
3837         * undo.[Ch]: use 'StableDocumentIterator' as base for
3838         the Undo struct.
3839
3840 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3841
3842         * LaTeXFeatures.C:
3843         * bufferparams.[Ch]: add jurabib support and param.
3844
3845         * LaTeX.C: add FIXME/comment.
3846
3847 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3848
3849         * buffer.C: increment file format to 230.
3850
3851 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3852
3853         * cursor.C (dispatch): avoid infinite loops
3854
3855 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * rowpainter.C (paintSelection): fix x coordinates
3858
3859 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3860
3861         * text.C (rowBreakPoint): fix breaking before displayed insets
3862
3863 2004-03-01  André Pönitz  <poenitz@gmx.net>
3864
3865         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3866
3867         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3868
3869         * Makefile.am:
3870         * BufferView.C:
3871         * BufferView_pimpl.C:
3872         * buffer.C:
3873         * lyxfind.C:
3874         * lyxfunc.C:
3875         * text.C:
3876         * text2.C:
3877         * text3.C: adjust
3878
3879 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * lyxtext.h:
3882         * text.C:
3883         * text2.C:
3884         * rowpainter.C:
3885         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3886         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3887
3888 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3889
3890         * Bidi.[Ch] (computeTables): const correctness
3891         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3892         fill_hfill, fill_label_hfill and x from Row
3893         * lyxtext.h: prepareToPrint returns a RowMetrics
3894         * rowPainter.C: adjust
3895         * text.C (prepareToPrint): use width, not textWidth. adjust
3896         (redoParagraphInternal, cursorX): adjust
3897         * text2.C (getColumnNearX): adjust
3898         (init): put a default value to the top LyXText::width
3899
3900 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3903
3904 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3905
3906         * lyxtext.h: add FontIterator class
3907
3908         * text.C (FontIterator, operator*, operator->, operator++): add
3909         (rowBreakPoint, setRowWidth): adjust (fixing a
3910         rebreaking bug)
3911
3912 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3913
3914         * BufferView_pimpl.C (workAreaDispatch): allow also
3915         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3916
3917 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3918
3919         * text.C (rowBreakPoint): fix a bug showing with very large insets
3920
3921 2004-02-25  André Pönitz  <poenitz@gmx.net>
3922
3923         * text3.C:
3924         * cursor.[Ch]: move some mathed specific code to mathed
3925
3926 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3927
3928         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3929         use_tempdir in preferences
3930         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3931         tempfile creation
3932         * lyx_main.C: ensure that tempdir is valid
3933         * lyxlex.h: correct typo
3934         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3935         * paragraph.[Ch] (isMultiLingual): make const
3936         * cursor.[Ch] (openable): make const
3937
3938 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3939
3940         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3941
3942 2004-02-20  André Pönitz  <poenitz@gmx.net>
3943
3944         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3945
3946         * cursor.[Ch]: prepare for localized getStatus()
3947
3948         * lyxtext.h:
3949         * tabular.C:
3950         * text.C:
3951         * text2.C:
3952         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3953
3954 2004-02-20  André Pönitz  <poenitz@gmx.net>
3955
3956         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3957
3958 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * text2.C (setCursorFromCoordinates): switch to absolute coords
3961         (cursorUp): adjust
3962         (cursorDown): adjust
3963         * text3.C (dispatch): adjust
3964
3965 2004-02-16  André Pönitz  <poenitz@gmx.net>
3966
3967         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3968           insets/ChangeLog)
3969
3970         * cursor_slice.[Ch]: remove unneeded acessor function
3971
3972         * lyxtext.h: rename rtl() to isRTL()
3973
3974         * rowpainter.C:
3975         * tabular.C:
3976         * text.C:
3977         * text2.C:
3978         * text3.C: adjust
3979
3980 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * rowpainter.C (paintSelection): coord fix
3983
3984 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3985
3986         * Spacing.C: compile fix
3987
3988 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * cursor.C (dispatch): restore current_ before returning
3991
3992 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * text2.C (cursorUp, cursorDown): fix coords
3995         (moveUp): fix crash
3996
3997 2004-02-12  André Pönitz  <poenitz@gmx.net>
3998
3999         * lyxtext.h:
4000         * text.C:
4001         * text2.C:
4002         * text3.C: add LCursor & parameter to most cursor movement functions
4003           remove usage of LyXText::cursorRow() and cursorPar()
4004
4005         * cursor.[Ch]: add textRow() needed members
4006
4007         * BufferView.C:
4008         * BufferView_pimpl.C:
4009         * paragraph.[Ch]:
4010         * BufferView.C:
4011         * BufferView_pimpl.C: adjust
4012
4013 2004-02-11  André Pönitz  <poenitz@gmx.net>
4014
4015         * lyxfunc.C:
4016         * BufferView.[Ch]:
4017         * BufferView_pimpl.C: shift undo/redo handling
4018
4019         * cursor.[Ch]: fix mathed crash
4020
4021         * lyxfind.C:
4022         * lyxtext.h: move selectionAsText to LCursor
4023
4024         * output_latex.C:
4025         * paragraph.C:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: adjust
4029
4030         * rowpainter.C: fix excessive drawing
4031
4032 2004-02-06  André Pönitz  <poenitz@gmx.net>
4033
4034         * BufferView.[Ch]:
4035         * BufferView_pimpl.[Ch]:
4036         * text3.C: move some text specific LFUN handling
4037
4038 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4039
4040         * text3.C (checkInsetHit): adjust coords
4041         * text2.C (getColumnNearX): adjust coords
4042         (edit): adjust coords
4043         * text.C (getRowNearY): add two asserts
4044
4045 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4046
4047         * converter.C:
4048         * format.C: add using std::distance to compile on gcc 2.95/stlport
4049
4050 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4051
4052         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4053
4054 2004-02-04  André Pönitz  <poenitz@gmx.net>
4055
4056         * BufferView.[Ch] (insertInset):
4057         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4058
4059         * text2.C:
4060         * text3.C: adjust
4061
4062 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4063
4064         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4065         on the default clause of the switch
4066         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4067         wasn't catched by LCursor::dispatch
4068
4069 2004-02-03  André Pönitz  <poenitz@gmx.net>
4070
4071         * BufferView.C:
4072         * cursor.[Ch]: some additional asserts
4073
4074         * undo.[Ch]: remove LyXText dependency in interface
4075
4076         * lyxfunc.C: adjust
4077
4078         * lyxtext.h (firstPar, lastPar): remove dead functions
4079
4080         * text.C:
4081         * text2.C:
4082         * text3.C:
4083         * paragraph.[Ch]: adjust
4084
4085 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * lyxfind.C (find): fix argument order in call to ::find
4088
4089 2004-02-02  André Pönitz  <poenitz@gmx.net>
4090
4091         * cursor.[Ch]: remove direct access to anchor
4092
4093         * text.C: remove findText() hack
4094
4095 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4096
4097         * iterators.[Ch] (lockPath): remove in favour of...
4098         * BufferView.[Ch] (setCursor): this addition
4099         * BufferView.C (putSelectionAt): adjust
4100         * undo.C (performUndoOrRedo): adjust
4101         * lyxfunc.C (dispatch): adjust
4102
4103 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4104
4105         * iterators.C (lockPath): add a missing slice
4106         * undo.C (performUndoOrRedo): remove redundant positioning code
4107
4108 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * vc-backend.C (scanMaster): ";" -> ';'
4111
4112 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4115         std::binary_function
4116
4117         * lyxtextclass.C (compare_name): rename to...
4118         (LayoutNamesEqual): ...this
4119
4120         * lyxlex_pimpl.C (compare_tags): inherit from
4121         std::binary_function, put back into anon namespace
4122
4123         * lyxfind.C (MatchString): inherig from std::binary_function
4124         (findChange): use empty() istead of !size()
4125
4126         * format.C (FormatNamesEqual): new functor
4127         (getFormat): use it
4128         (getNumber): use it
4129         (add): use it
4130         (erase): use it
4131         (setViewer): use it
4132
4133         * converter.C (compare_Converter): rename to...
4134         (ConverterEqual): ...this, and fixup a bit.
4135         (getConverter): use it, and make function const
4136         (getNumber): use it, and make function const
4137         (add): use it
4138         (erase): use it:
4139
4140         * bufferlist.C: add using boost::bind
4141
4142         * MenuBackend.C (MenuNamesEqual): new functor
4143         (hasMenu): use it, and make function const
4144         (hasSubmenu): use nested bind to get rid of compare_memfun.
4145
4146 2004-01-30  André Pönitz  <poenitz@gmx.net>
4147
4148         * BufferView_pimpl.C:
4149         * cursor.C:
4150         * cursor.h:
4151         * cursor_slice.[Ch]:
4152         * lyxfunc.C:
4153         * lyxtext.h:
4154         * paragraph_funcs.C:
4155         * paragraph_funcs.h:
4156         * rowpainter.C:
4157         * text.C:
4158         * text2.C:
4159         * text3.C: move some of the edit(x,y) handling to the insets
4160         some coordinate changes.
4161
4162 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * text.C: add using statements for std::advance and std::distance
4165
4166         * paragraph.C: add using statement for std::distance
4167
4168         * lyxfind.C: add using statement for std::advance
4169
4170         * cursor.C (region): remove std:: from swap
4171         (openable): use nucleus in stead of operator->
4172
4173         * BufferView.C: add using statements for std::distance and std::swap
4174
4175 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * iterators.C: Remove the pimple, move the needed structures to
4178         the header file. Create accessor for the positions stack.
4179         (asPosIterator): remove function
4180
4181         * PosIterator.C (PosIterator): move constructors to top of file
4182         (PosIterator): reimplement the constructor taking a ParIterator in
4183         terms of setFrom.
4184         (setFrom): new function
4185         (operator!=): inline it
4186
4187 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * lyxfind.C (replaceAll): use std::advance
4190
4191         * iterators.h: inherit from std::iterator.
4192
4193         * PosIterator.C (advance, distance): remove
4194         * PosIterator.h: interit from std::iterator.
4195
4196 2004-01-26  André Pönitz  <poenitz@gmx.net>
4197
4198         * BufferView.[Ch]:
4199         * BufferView_pimpl.[Ch]:
4200         * InsetList.[Ch]:
4201         * PosIterator.[Ch]:
4202         * buffer.h:
4203         * bufferview_funcs.C:
4204         * cursor.[Ch]:
4205         * cursor_slice.h:
4206         * factory.[Ch]:
4207         * iterators.[Ch]:
4208         * lyxfind.C:
4209         * lyxfunc.C:
4210         * lyxtext.h:
4211         * output_docbook.C:
4212         * output_latex.C:
4213         * output_linuxdoc.C:
4214         * output_plaintext.C:
4215         * paragraph.[Ch]:
4216         * paragraph_funcs.[Ch]:
4217         * paragraph_pimpl.[Ch]:
4218         * rowpainter.C:
4219         * tabular.C:
4220         * tabular.h:
4221         * text.C:
4222         * text2.C:
4223         * text3.C: more IU:  dumps most of the rest of the mathcursor
4224     implementation into cursor.[Ch]; "globalize" a bit of it.
4225
4226 2004-01-25  Angus Leeming  <leeming@lyx.org>
4227
4228         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4229
4230 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4231
4232         * LaTeXFeatures.h: add nice_ and nice() const
4233         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4234
4235 2004-01-20  André Pönitz  <poenitz@gmx.net>
4236
4237         * BufferView.[Ch]:
4238         * BufferView_pimpl.C:
4239         * PosIterator.C:
4240         * bufferview_funcs.C:
4241         * cursor.[Ch]:
4242         * cursor_slice.[Ch]:
4243         * factory.C:
4244         * iterators.C:
4245         * lyx_cb.C:
4246         * lyxfind.C:
4247         * lyxfunc.C:
4248         * lyxtext.h:
4249         * rowpainter.C:
4250         * text.C:
4251         * text2.C:
4252         * text3.C:
4253         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4254           LCursor and mathcursor parts to LCursor and InsetBase.
4255
4256 2004-01-15  André Pönitz  <poenitz@gmx.net>
4257
4258         * cursor_slice.[Ch]: add a few covienience functions
4259
4260         * funcrequest.[Ch]: remove BufferView * member
4261
4262         * BufferView_pimpl.C:
4263         * cursor.C:
4264         * factory.[Ch]:
4265         * lyxfind.[Ch]:
4266         * lyxfunc.C:
4267         * lyxtext.h:
4268         * text3.C:
4269         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4270
4271 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4272
4273         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4274         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4275
4276 2004-01-13  André Pönitz  <poenitz@gmx.net>
4277
4278         * textcursor.[Ch]:
4279         * lyxtext.h: hide cursor and selection anchor behind accessor function
4280
4281         * BufferView.C:
4282         * BufferView_pimpl.[Ch]:
4283         * PosIterator.C:
4284         * bufferview_funcs.C:
4285         * cursor.h:
4286         * lyxfind.C:
4287         * lyxfunc.C:
4288         * text.C:
4289         * text2.C:
4290         * text3.C:
4291         * undo.C: adjust
4292
4293         * cursor.h:
4294         * cursor_slice.[Ch]: some integer type changes for inset unification
4295
4296         * lyxcursor.[hC]: remove, it's CursorSlice now.
4297
4298         * Makefile.am:
4299         * BufferView_pimpl.[Ch]:
4300         * bufferview_funcs.C:
4301         * cursor_slice.C:
4302         * lyxtext.h:
4303         * text.C:
4304         * text2.C:
4305         * text3.C:
4306         * textcursor.[Ch]: adjust
4307
4308 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4309
4310         * text2.C (undoSpan): add and use
4311         * text.C (breakParagraph): use undoSpan (fix bug 578)
4312         * lyxtext.h: adjust
4313
4314 2004-01-08  Angus Leeming  <leeming@lyx.org>
4315
4316         * BufferView_pimpl.C (MenuInsertLyXFile):
4317         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4318         * lyxfunc.C (menuNew, open, doImport):
4319         FileFilterList change to the FileDialog open and save functions.
4320
4321 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * ShareContainer.h: make isEqual and isUnique adaptable
4324
4325         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4326
4327 2004-01-07  Angus Leeming  <leeming@lyx.org>
4328
4329         * LyXAction.C:
4330         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4331
4332         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4333
4334         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4335         functions replacing find, replace and replaceAll.
4336
4337         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4338         LFUN_WORDFIND(FORWARD|BACKWARD).
4339
4340 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4341
4342         * text.C (breakParagraph): remove an outdated #warning
4343
4344 2004-01-07  André Pönitz  <poenitz@gmx.net>
4345
4346         * lyxfind.C: somewhat clearer logic
4347
4348         * text.C: prevent crash in cursorX on unitialized row cache
4349
4350 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4351
4352         * lyxcursor.[Ch] (operator>): add
4353         * textcursor.C (selStart, selEnd): use std::min and std::max
4354
4355 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * Chktex.C: include boost/format.hpp
4358
4359 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * InsetList.C: replace functor MathcIt with adaptable functor
4362         InsetTablePosLess
4363         (insetIterator): modify accordingly
4364
4365         * BranchList.h: move the BranchNamesEqual functor here from...
4366         * BranchList.C: ... to here
4367
4368         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4369         SameName and match.
4370         (add): replace a finding loop with std::find_if.
4371
4372 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4373
4374         * output_docbook.C: moving LatexParam functionality into
4375         .layout files
4376
4377 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4378
4379         * buffer.C: increment format to 229.
4380
4381 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4382
4383         * LaTeXFeatures.C:
4384         * lyx_sty.[Ch]: remove minipageindent_def
4385
4386         * LyXAction.C:
4387         * factory.C:
4388         * lfuns.h:
4389         * lyxfunc.C:
4390         * text3.C: remove LFUN_INSET_MINIPAGE
4391
4392 2003-12-28  Angus Leeming  <leeming@lyx.org>
4393
4394         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4395
4396 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4397
4398         * text2.C (setParagraph): fix off-by-one crash
4399
4400 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4401
4402         * output_docbook.C: header stuff for AGU
4403
4404 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4405
4406         * text2.C (redoCursor): remove
4407         * text.C:
4408         * text3.C:
4409         * BufferView_pimpl.C: remove calls to redoCursor and
4410         setCursor(cursor.par(), cursor.pos()) all around
4411
4412 2003-12-15  Angus Leeming  <leeming@lyx.org>
4413
4414         * buffer.C: up the format to 228.
4415
4416 2003-12-15  André Pönitz  <poenitz@gmx.net>
4417
4418         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4419         slices
4420
4421         * Makefile.am:
4422
4423         * BufferView_pimpl.C:
4424         * cursor.[Ch]:
4425         * lyxcursor.[Ch]:
4426         * rowpainter.[Ch]:
4427         * lyxtext.h:
4428         * text.C:
4429         * text2.C:
4430         * text3.C: adjust
4431
4432 2003-12-15  Angus Leeming  <leeming@lyx.org>
4433
4434         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4435         than getFromGUIName to manipulate the color.
4436
4437 2003-12-14  Angus Leeming  <leeming@lyx.org>
4438
4439         * BranchList.[Ch]: minimize the API.
4440         (Branch::getBranch, getColor): now return a 'const &'.
4441         (Branch::setSelected) now returns a bool set to true if the
4442         selection status changes.
4443         (BranchList::clear, size, getColor, setColor, setSelected,
4444         allBranches, allSelected, separator): removed.
4445         (BranchList::find): new functions, returning the Branch with
4446         the given name.
4447         (BranchList::add, remove): return a bool indicating that
4448         the operation was successful.
4449
4450         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4451         new InsetBranch::isBranchSlected member function.
4452
4453         * LColor.[Ch]: mimimize the API.
4454         (fill): renamed as addColor and made private.
4455         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4456         versions of these functions taking a string arg have been removed.
4457
4458         * bufferparams.C (readToken):
4459         * lyxfunc.C (dispatch):
4460         * lyxrc.C (read): changes due to the altered BranchList and
4461         LColor APIs.
4462
4463         * factory.C (createInset, readInset): changes due to altered
4464         InsetBranch c-tor.
4465
4466 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4467
4468         * factory.C:
4469         * lyxfunc.C: remove insetminipage. "minipage-insert"
4470         now produces a frameless minipage box inset.
4471
4472 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4473
4474         * textcursor.[Ch] (selStart,selEnd): add new methods
4475         remove selection::start, end, use LyXCursor::operator<
4476         * lyxcursor.[Ch] (operator<): add
4477         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4478         * BufferView.[Ch] (unsetXSel): add
4479         * text2.C (clearSelection): use unsetXSel,adjust
4480         * text.C: adjust
4481         * text3.C: adjust
4482         * rowpainter.C: adjust
4483         * bufferview_funcs.C (put_selection_at): adjust
4484
4485 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4486
4487         * BufferView_pimpl.C: small coord. correction
4488
4489 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4490
4491         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4492         dragging over the splash screen.
4493
4494 2003-12-11  Angus Leeming  <leeming@lyx.org>
4495
4496         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4497         as it is now handled in LyXText::dispatch.
4498
4499         * text3.C (doInsertInset): remove a level of nesting.
4500
4501 2003-12-11  Angus Leeming  <leeming@lyx.org>
4502
4503         * factory.C (createInset): changes due to the changed interface to
4504         InsetCommandMailer::string2params.
4505
4506 2003-12-10  Angus Leeming  <leeming@lyx.org>
4507
4508         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4509         'dialog-show-new-inset <inset name>'
4510
4511 2003-12-10  Angus Leeming  <leeming@lyx.org>
4512
4513         * buffer.C: up the format to 227.
4514
4515         * factory.C: the box inset is now identified simply by 'Box'.
4516
4517 2003-12-10  Angus Leeming  <leeming@lyx.org>
4518
4519         * buffer.C: up the format to 226.
4520
4521         * factory.C: the note inset is now identified simply by 'Note'.
4522
4523 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4526         when a pit is enough. Standarize a couple of loops.
4527
4528 2003-12-05  Angus Leeming  <leeming@lyx.org>
4529
4530         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4531         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4532         data to the re-worked "log" dialog.
4533
4534 2003-12-03  André Pönitz  <poenitz@gmx.net>
4535
4536         * PosIterator.C:
4537         * iterators.C:
4538         * lyxtext.h:
4539         * output_latex.C:
4540         * paragraph_funcs.C:
4541         * text.C:
4542         * text2.C: use Inset::getText instead of Inset::getParagraph
4543
4544 2003-12-03  André Pönitz  <poenitz@gmx.net>
4545
4546         * buffer.[Ch]:
4547         * lyxtext.h:
4548         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4549         InsetText::read() as LyXText::read()
4550
4551 2003-12-02  Angus Leeming  <leeming@lyx.org>
4552
4553         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4554         type. Add a comment in the implementation that the function uses
4555         the stream's bad() function rather than fail() as the std::streams
4556         would do.
4557
4558 2003-12-02  André Pönitz  <poenitz@gmx.net>
4559
4560         * lyxlex.[Ch]: make interface more similar to std::stream
4561
4562         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4563
4564 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4565
4566         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4567
4568 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4569
4570         * vspace.[Ch]: remove VSpace::NONE
4571
4572 2003-12-01  André Pönitz  <poenitz@gmx.net>
4573
4574         * buffer.[Ch]:
4575         * lyxtext.h: move ParagraphList member to LyXText
4576         rename LyXText::ownerParagraphs to LyXText::paragraph
4577
4578         * CutAndPaste.C:
4579         * bufferview_funcs.C:
4580         * iterators.[Ch]:
4581         * lyx_cb.C:
4582         * paragraph.C:
4583         * rowpainter.C:
4584         * tabular.C:
4585         * text.C:
4586         * text2.C:
4587         * text3.C: adjust
4588
4589         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4590
4591         * undo.C: fix cursor positioning
4592
4593 2003-12-01  John Levon  <levon@movementarian.org>
4594
4595         * BufferView_pimpl.C: fix a crash on exit with
4596         a buffer open
4597
4598 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4599
4600         * BranchList.C: fix setSelected() method.
4601
4602 2003-11-28  André Pönitz  <poenitz@gmx.net>
4603
4604         * ParagraphParameters.[Ch]:
4605         * ParameterStruct.h: remove space above/below from Paragraph to
4606          InsetVSpace
4607
4608         * BufferView_pimpl.C:
4609         * factory.C:
4610         * lyxfunc.C:
4611         * lyxtext.h:
4612         * output_latex.C:
4613         * paragraph.C:
4614         * paragraph_funcs.C:
4615         * rowpainter.[Ch]:
4616         * text.C:
4617         * text2.C:
4618         * text3.C: adjust
4619
4620 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4621
4622         * factory.C: Syntax change for CharStyles
4623
4624 2003-11-28  André Pönitz  <poenitz@gmx.net>
4625
4626         * BufferView.[Ch]:
4627         * BufferView.[Ch]:
4628         * buffer.[Ch]:
4629         * buffer.[Ch]: move LyXText member
4630
4631 2003-11-28  André Pönitz  <poenitz@gmx.net>
4632
4633         * BufferView.[Ch]: make LyXText * text a private member
4634
4635         * BufferView_pimpl.C:
4636         * cursor.C:
4637         * iterators.C:
4638         * lyx_cb.C:
4639         * lyxfind.C:
4640         * lyxtext.h:
4641         * rowpainter.[Ch]:
4642         * text.C:
4643         * text2.C:
4644         * undo.C: adjust
4645
4646         * output_plaintext.C: cleanup
4647
4648 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * buffer.C:
4651         * lyxtextclass.[Ch]: parametrize SGML document header
4652
4653 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4654
4655         * converter.[Ch]:
4656         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4657         getFlavor().
4658
4659 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4660
4661         * text2.C (setFont): rework using PosIterator (no more recursive)
4662         (setCharFont): no more needed
4663         (setLayout): no more selection cursors fiddling (done by redoCursor)
4664         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4665         destroy remaining ones)
4666
4667 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4668
4669         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4670         * lyxtext.h: ditto
4671         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4672         selection cursors
4673         * lyxfunc.C: adjust
4674         * text3.C: adjust + re-allow multi par depth changes
4675         * textcursor.C: simplify a bit
4676
4677 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4678
4679         * src/buffer.C:
4680         * src/lyxlayout.C:
4681         * src/lyxlayout.h:
4682         * src/lyxtext.h:
4683         * src/output_docbook.C:
4684         * src/output_latex.C:
4685         * src/paragraph.C:
4686         * src/paragraph.h:
4687         * src/sgml.C:
4688         * src/sgml.h:
4689         * src/text2.C: Introducing a number of tags parametrizing various
4690         XML formats that we may want to support
4691
4692 2003-11-25  André Pönitz  <poenitz@gmx.net>
4693
4694         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4695
4696         * lyxtext.h (leftMargin/rightMargin): simplify interface
4697
4698         * rowpainter.C:
4699         * text.C:
4700         * text2.C:
4701         * text3.C: adjust
4702
4703 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4704
4705         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4706         master file to any child files. Fixes bug 546.
4707
4708 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4709
4710         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4711
4712 2003-11-24  André Pönitz  <poenitz@gmx.net>
4713
4714         * rowpainter.C: simplification
4715
4716         * text2.C (updateCounters): remove call to redoParagraph on
4717         changed labels as this is far too expensive.
4718
4719 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4720
4721         * converter.C (convert): fix a crash: this function gets
4722         called with buffer == 0 from importer code.
4723
4724 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * text3.C (cursorPrevious): make sure that we do not compare
4727         iterators form different containers.
4728         (cursorNext): ditto
4729
4730         * rowpainter.C (paintSelection): make sure that we do not compare
4731         iterators from different containers.
4732
4733         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4734         iterators from different ParagraphList containers.
4735         [NEXT] ditto
4736
4737         * text2.C (LyXText): change order of initialization slightly
4738         (operator=): new function. copy all variables except cache_par_
4739         (moveUp): make sure that we do not compare iterators from
4740         different ParagraphList constainers.
4741         (moveDown): ditto
4742
4743         * text.C (firstPar): new function
4744         (lastPar): new function
4745         (endPar): new function
4746
4747         * lyxtext.h: move things around and group public functions, public
4748         variables, private functions, private variables
4749
4750 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4751
4752         * factory.C: change call to InsetERT constructor to avoid
4753         additional invocation of method status
4754         * text2.C (toggleInset): remove redundant update() call
4755         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4756         instead of a Bufferview pointer
4757
4758 2003-11-21  André Pönitz  <poenitz@gmx.net>
4759
4760         * rowpainter.C: simplification
4761
4762 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4763
4764         * text3.C (dispatch): make possible to extend a word/row selection
4765         with the mouse
4766
4767 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4768
4769         * lyxtext.h: x0_,y0_ -> xo_,yo_
4770         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4771         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4772         * rowpainter.C (paintRows): paint full paragraphs
4773
4774 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4775
4776         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4777         screen coordinates)
4778
4779 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4780
4781         * lyxtext.h: add x0_, y0_
4782         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4783         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4784
4785 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4786
4787         * text2.C (setCursorIntern): move the x_target update here *
4788         * text3.C: change some bv() to true/false in calls to
4789         cursorUp/Down/Right/Left
4790         * cursor.C: use helper function.
4791
4792 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4793
4794         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4795         * paragraph_funcs.[Ch]: correct comment
4796         * rowpainter.C: do not paint selections away from bv->cursor()
4797         Fix a long standing selection painting bug.
4798         * text3.C: generalize mouse-selection code to LyXTexts other that
4799         top one
4800         * textcursor.C: do not use y coords if we can use par offsets
4801
4802 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4803
4804         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4805         cursor position after e.g. inset insert)
4806
4807 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4808
4809         * lyxfind.C (replace): adjust to locking removal + some
4810         code simplification
4811
4812 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4813
4814         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4815         of the path
4816
4817 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4818
4819         * lyxlayout.[Ch]:
4820         * output_docbook.C: XML sanitation: new layout
4821         parameters InnerTag and CommandDepth
4822
4823 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4824
4825         * BufferView_pimpl.C:
4826         * factory.C:
4827         * text3.C: Fix the insertion and modification of button-style
4828         insets
4829
4830 2003-11-13  André Pönitz  <poenitz@gmx.net>
4831
4832         * InsetList.[Ch]: remove deleteLyXText
4833
4834         * paragraph.[Ch]: cache beginOfBody position
4835
4836         * Bidi.C:
4837         * text.C:
4838         * text2.C:
4839         * text3.C: remove superfluous update() calls
4840
4841         * vspace.C: cleanup
4842
4843 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4844
4845         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4846         * BufferView.C (fitLockedInsetCursor): remove
4847         * cursor.[Ch] (getDim): add
4848         * text.C (getRowNearY): add faster version
4849         * text3.C: remove some update calls
4850
4851 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4852
4853         * LaTeXFeatures.C:
4854         * LyXAction.C:
4855         * MenuBackend.C:
4856         * MenuBackend.h:
4857         * dispatchresult.h:
4858         * factory.C:
4859         * lfuns.h:
4860         * lyxfunc.C:
4861         * lyxtextclass.C:
4862         * lyxtextclass.h:
4863         * text3.C: The Character Style /XML short element patch.
4864
4865 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4866
4867         * text3.C:
4868         * factory.C: Small step to solving 'unable to insert some insets'
4869         problem
4870
4871 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4872
4873         * cursor.[Ch] (updatePos): new function for updating the y
4874         position of the tip inset
4875         * bufferview_funcs.C (put_selection_at):
4876         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4877
4878 2003-11-11  André Pönitz  <poenitz@gmx.net>
4879
4880         * text.C: remove big comment on invalid Paragraph pointers as it is
4881         not valid anymore
4882
4883 2003-11-11  André Pönitz  <poenitz@gmx.net>
4884
4885         * text_funcs.[Ch]: merge with ...
4886
4887         * text.C: ... this
4888
4889         * lyxtext.h:
4890         * text2.C:
4891         * text3.C: adjust
4892
4893         * Makefile.am: remove text_funcs.[Ch]
4894
4895 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * cursor.C (getPos): return absolute cached y coord
4898
4899         * BufferView_pimpl.C (fitCursor): new simplistic code
4900         (workAreaDispatch): add a fitCursor call
4901
4902 2003-11-10  André Pönitz  <poenitz@gmx.net>
4903
4904         * BufferView.[Ch]:
4905         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4906
4907 2003-11-10  André Pönitz  <poenitz@gmx.net>
4908
4909         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4910         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4911         indicate that the cursor needs to leave an inset
4912
4913         * lyxtext.h: remove inset locking
4914
4915         * cursor.[Ch]: re-implement functionality provided by inset locking
4916
4917         * BufferView.[Ch]:
4918         * BufferView_pimpl.[Ch]:
4919         * LyXAction.C:
4920         * bufferview_funcs.[Ch]:
4921         * factory.C:
4922         * funcrequest.[Ch]:
4923         * iterators.C:
4924         * lyx_cb.C:
4925         * lyxfind.C:
4926         * lyxfunc.C:
4927         * text.C:
4928         * text2.C:
4929         * text3.C:
4930         * undo.C: adjust
4931
4932 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4933
4934         * PosIterator.[Ch]: replace the stack with a vector, add inset
4935         accesor
4936         * iterators.[C]: adjust
4937
4938 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4939
4940         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4941         replaced
4942         * paragraph_funcs.C (readParToken): put the correct id in the
4943         error item, not the id of the top paragraph
4944
4945 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4948         * bufferview_funcs.C (put_selection_at): use the above
4949
4950 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4953
4954 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4955
4956         * output_linuxdoc.h:
4957         * output_plaintext.h:
4958         * output.h:
4959         * output_docbook.h: add #include statements
4960
4961 2003-11-05  José Matos  <jamatos@lyx.org>
4962
4963         * output_docbook.[Ch]:
4964         * output_latex.[Ch]:
4965         * output_linuxdoc.[Ch]:
4966         * output_plaintext.[Ch]: New files for output formats.
4967         * output.[Ch]: New file for helper functions.
4968
4969         * buffer.[Ch]:
4970         * paragraph_funcs.[Ch]: output functions moved to new files.
4971
4972         * outputparams.h: rename of latexrunparams.h
4973
4974         * LaTeX.[Ch]:
4975         * buffer.[Ch]:
4976         * bufferlist.[Ch]:
4977         * converter.[Ch]:
4978         * exporter.C:
4979         * paragraph.[Ch]:
4980         * paragraph_funcs.[Ch]:
4981         * paragraph_pimpl.[Ch]:
4982         * tabular.[Ch]: rename ascii to plaintext
4983         and LatexRunParams to OutputParams.
4984
4985 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * iterators.[Ch] (text): require bv argument
4988         * undo.C (recordUndo):
4989         * lyxfunc.C (dispatch):
4990         * bufferview_funcs.C (put_selection_at): adjust
4991
4992 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4993
4994         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4995
4996 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4997
4998         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4999         nestings
5000
5001 2003-11-04  André Pönitz  <poenitz@gmx.net>
5002
5003         * cursor.[Ch]: restructure
5004
5005         * BufferView.[Ch]:
5006         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5007
5008         * iterators.[Ch] (asCursor): remove
5009
5010         * lfuns.h: remove LFUN_INSET_EDIT
5011
5012         * lyxfunc.C:
5013         * tabular.C:
5014         * text.C:
5015         * text2.C:
5016         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5017
5018 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * lyxfind.[Ch]: complete overhaul
5021         * BufferView_pimpl.C:
5022         * lyxfunc.C: adjust
5023         * paragraph.[Ch] (insert): add
5024
5025 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * BufferView.[Ch]:
5028         * lyxtext.h:
5029         * text.C: remove dead spellcheck code
5030
5031 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * dispatchresult.h: add a val setter
5034
5035         * cursor.C (dispatch): use a tempvar for data_[i]
5036
5037 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5038
5039         * PosIterator.[Ch]: compile fix
5040
5041 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * text.C (cursorPar): deactivate the cursor cache
5044
5045 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5048
5049 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * text3.C (dispatch): adjust for new DisptchResult semantics.
5052
5053         * lyxfunc.C (dispatch): handle update when return from
5054         Cursor::dispatch, adjust for new DispatchResult semantics.
5055
5056         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5057         DispatchResult(true) mean to not update. Add class functions for
5058         setting dispatched and update, as well as reading.
5059
5060         * cursor.C (dispatch): don't handle update here
5061
5062 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5065         * trans_mgr.C: adjust
5066
5067         * paragraph_funcs.C (readParToken): exception safety
5068
5069         * lyxvc.h: store the vcs pointer in a scoped_ptr
5070         * lyxvc.C: adjust
5071
5072         * lyxsocket.C (serverCallback): exception safety
5073
5074         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5075
5076         * ispell.C (clone): make it return a auto_ptr
5077
5078         * factory.C (createInset): exception safety
5079         (readInset): exception safety
5080
5081         * bufferlist.C (newBuffer): exception safety
5082
5083         * Thesaurus.C (Thesaurus): use initialization for aik_
5084
5085         * MenuBackend.C (expandToc): exception safety.
5086
5087 2003-11-03  André Pönitz  <poenitz@gmx.net>
5088
5089         * buffer.C:
5090         * buffer.h:
5091         * bufferview_funcs.C: remove getInsetFromId()
5092
5093         * lyxcursor.[Ch]:
5094         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5095
5096         * lyxfunc.C:
5097         * text2.C:
5098         * text3.C: adjust
5099
5100 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * PosIterator.C (distance, advance): new
5103         * bufferview_funcs.[Ch] (put_selection_at): new
5104         * iterators.[Ch] (lockPath): new
5105
5106 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * iterators.[Ch] (asPosIterator): added
5109         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5110         * PosIterator.[Ch]: added
5111
5112 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * text3.C:
5115         * lyxfunc.C:
5116         * cursor.C (dispatch):
5117         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5118
5119         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5120         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5121         contructor, add a class function dispatched. Remove operator>=
5122
5123 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * debug.C: only use the default constructor for debugstream
5126         (lyxerr) here.
5127
5128         * main.C (main): include debug.h and setup the lyxerr streambuf
5129         here.
5130
5131 2003-10-31  José Matos  <jamatos@lyx.org>
5132
5133         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5134
5135         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5136         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5137         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5138         * paragraph_pimpl.C (simpleTeXSpecialC):
5139         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5140         add LatexRunParams argument.
5141
5142         * exporter.C (Export): change call accordingly.
5143
5144         * latexrunparams.h: add new member to take care of the other backends.
5145 2003-10-30  José Matos  <jamatos@lyx.org>
5146
5147         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5148         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5149         factorise code for paragraph output.
5150         * buffer.[Ch]:
5151         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5152         move functions.
5153
5154 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * text3.C (dispatch):
5157         * lyxfunc.C (dispatch):
5158         * cursor.C (dispatch):
5159         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5160
5161         * dispatchresult.h: make the dispatch_result_t ctor explicit
5162
5163 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5164
5165         * sgml.[Ch]:
5166         * buffer.C: small refactoring of docbook stuff
5167
5168 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5171         meaning.
5172
5173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5176         operator dispatch_result_t, and operators for == != and >=
5177
5178         * cursor.C (dispatch): adjust for operator dispatch_result_t
5179         removal. comment out call to update
5180
5181         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5182
5183 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * text3.C:
5186         * text2.C:
5187         * text.C:
5188         * lyxtext.h:
5189         * lyxfunc.C:
5190         * cursor.C:
5191         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5192         (dispatch):
5193
5194         * dispatchresult.h: new file, DispatchResult broken out of
5195         insets/insetbase.h
5196
5197         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5198
5199 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * text.C (rowBreakPoint): put a hack inside #if 0
5202
5203 2003-10-28  André Pönitz  <poenitz@gmx.net>
5204
5205         * lyxtext.h:
5206         * metricsinfo.C:
5207         * paragraph_funcs.C:
5208         * rowpainter.C:
5209         * text.C:
5210         * text2.C: general cleanup (lots of small stuff)
5211
5212 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * text2.C (cursorEnd): simple fix to the "end key goes to one
5215         before the end on last row" bug
5216
5217 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5218
5219         * text.C (backspace): fix the "zombie characters"
5220
5221 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5222
5223         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5224
5225 2003-10-27  André Pönitz  <poenitz@gmx.net>
5226
5227         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5228
5229         * factory.C: handle new InsetPagebreak, InsetLine
5230
5231         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5232         and move handling into new InsetPagebreak, InsetLine
5233
5234         * BufferView_pimpl.C:
5235         * LyXAction.C:
5236         * ParagraphParameters.C:
5237         * ParameterStruct.h:
5238         * lyxfunc.C:
5239         * lyxtext.h:
5240         * paragraph.C:
5241         * paragraph.h:
5242         * paragraph_funcs.C:
5243         * paragraph_pimpl.C:
5244         * rowpainter.C:
5245         * text.C:
5246         * text2.C:
5247         * text3.C: adjust
5248
5249 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * text.C:
5252         * lyxrow_funcs.[Ch]:
5253         * Bidi.C:
5254         * paragraph.C:
5255         * lyxtext.h:
5256         * rowpainter.C:
5257         * text2.C:
5258         * text3.C: remove lastPos uses in favour of Row::endpos
5259
5260 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * undo.C (performUndoOrRedo): fix two crashes by setting a
5263         cursor by hand and reordering some calls. Use bv->lockInset instead
5264         of inset->edit because the latter loses cursor information
5265
5266 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5267
5268         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5269         by Martin
5270         (rowBreakPoint): fix width. change point to point + 1.
5271         Add a missing check.
5272
5273 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5274
5275         * MenuBackend.C:
5276         * lyxfunc.C: fix (at least partly) the problems
5277         with the Nav menu and headers inside branch insets
5278         reported by Kayvan
5279
5280 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * paragraph.C (getChar): add strong asserts
5283
5284         * lyxrow_funcs.C (lastPos): remove hideous hack
5285
5286         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5287         (fill): adjust to that (avoid an infinite loop)
5288
5289 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5292
5293 2003-10-23  André Pönitz  <poenitz@gmx.net>
5294
5295         * RowList_fwd.h: change list<> to vector<> to gain speed
5296         after suggestion from Alfredo
5297
5298 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * lyxtext.h: move the bidi stuff from here...
5301         * text.C: and here
5302         * text2.C: and here
5303         * Bidi.[Ch]: ... to here
5304
5305 2003-10-23  André Pönitz  <poenitz@gmx.net>
5306
5307         * lyxtext.h:
5308         * text.C (isLastRow, isFirstRow): new functions
5309
5310         * paragraph.h: new width cache member
5311
5312         * rowpainter.C: replace RowList::iterator with Row & where possible
5313
5314         * lyxfunc.C: replace several view()->text with a single call
5315
5316         * toc.C: fix 'unused' warning
5317
5318 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5321         when woring with stream::pos_type
5322         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5323
5324 2003-10-22  André Pönitz  <poenitz@gmx.net>
5325
5326         * lyxtext.h:
5327         * text.C: use Row & instead of RowList::iterator
5328
5329         * lyxrow.h: rename end() to endpos()
5330
5331         * rowpainter.C:
5332         * text.C:
5333         * text2.C: adjust
5334
5335 2003-10-22  Angus Leeming  <leeming@lyx.org>
5336
5337         * buffer.[Ch] (fully_loaded): new member function, returning true
5338         only when the file has been loaded fully.
5339         Used to prevent the premature generation of previews and by the
5340         citation inset to prevent computation of the natbib-style label.
5341
5342         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5343         templates are all set up.
5344
5345         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5346
5347 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5348
5349         * text.C: fixed an "oops" in the "is a bit silly"
5350         bug fix
5351
5352 2003-10-21  André Pönitz  <poenitz@gmx.net>
5353
5354         * FuncStatus.[Ch]: small stuff, whitespace
5355
5356         * lyxfont.[Ch]: operator<<() for debug reasons
5357
5358         * lyxfunc.C:
5359         * lyxrow_funcs.C:
5360         * lyxtext.h: whitespace, spelling
5361
5362         * paragraph.C: naming of variables
5363
5364         * text.C:
5365         * text2.C: small stuff
5366
5367
5368 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5369
5370         * text.C: (1) finish off the inset display() work;
5371         (2) fix the "is a bit silly" bug (accessing char
5372         past end of par).
5373
5374 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5375
5376         * text.C: re-introduce display() for insets, fixing the
5377         various bugs (stretch of line above, math inset
5378         positioning, ...)
5379
5380 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5381
5382         * text.C (rightMargin): remove spurious semicolon
5383
5384         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5385         1415)
5386
5387 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5388
5389         * text3.C: fix one crash due to wrong cursor def
5390
5391 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * vc-backend.C (scanMaster): make the regex static
5394
5395         * LaTeX.C (scanAuxFile): make the regexs static
5396
5397         * text3.C (doInsertInset, dispatch, dispatch):
5398         * text2.C (cursorUp, cursorDown):
5399         * text.C (selectNextWordToSpellcheck):
5400         * BufferView_pimpl.C (dispatch):
5401         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5402
5403 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5404
5405         * lyxsocket.C: include <cerrno>
5406
5407 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * lyxfunc.C (dispatch): remove textcache stuff
5410
5411         * bufferlist.C (release): remove textcache stuff
5412         (closeAll): ditto
5413
5414         * TextCache.C: delete file
5415         * TextCache.h: delete file
5416
5417         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5418
5419         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5420         delete of the bv_->text.
5421         (resizeCurrentBuffer): remove texcache stuff
5422         (workAreaResize): ditto
5423
5424 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5427         action.
5428
5429 2003-10-16  André Pönitz  <poenitz@gmx.net>
5430
5431         * lyxrow.[Ch]:
5432         * paragraph.h:
5433         * rowpainter.C:
5434         * text.C:
5435         * text2.C:
5436         * text3.C: speed up by storing y positions per paragraph plus per-row
5437         offset instead of having a 'full' y position in the row.
5438
5439 2003-10-15  André Pönitz  <poenitz@gmx.net>
5440
5441         * iterators.[Ch]:
5442         * iterators.[Ch]:
5443         * undo.[Ch]: make undo aware of inner insets
5444
5445 2003-10-14  Angus Leeming  <leeming@lyx.org>
5446
5447         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5448         static member functions LyX::ref() and LyX::cref.
5449         (lastfiles): new accessor functions for the new lastfiles_ member var.
5450         (addLyXView, views_): add a new LyXView to the list of views_.
5451         (updateInset): loop over all LyXViews to call their own updateInset
5452         member function, returning a pointer to the Buffer owning the inset.
5453
5454         * BufferView_pimpl.C (loadLyXFile):
5455         * MenuBackend.C (expandLastfiles):
5456         * bufferlist.C (MenuWrite, QuitLyX):
5457         lastfiles is no longer a global variable.
5458         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5459
5460         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5461         static function. Access through LyX::cref().emergencyCleanup().
5462
5463 2003-10-14  André Pönitz  <poenitz@gmx.net>
5464
5465         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5466
5467         * undo.[Ch]: restoring part of 'undo in insets'
5468
5469         * Makefile.am:
5470         * undo_funcs.[Ch]: merge with undo.[Ch]
5471
5472         * tabular.C: small cleansing stuff
5473
5474 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5475
5476         * paragraph_funcs.C (readParToken): report unknown insets as error
5477         boxes. Use the outer paragraph as location (also for unknown
5478         tokens).
5479
5480         * factory.C (readInset): do not abort on reading an unknown inset.
5481         Eat it and return 0.
5482
5483 2003-10-13  Angus Leeming  <leeming@lyx.org>
5484
5485         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5486
5487         * lyxrc.C: displayTranslator is now a function,
5488         declared in GraphicsTypes.h.
5489
5490 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5491
5492         * format.C: new placeholder $$a to pass the socket address.
5493
5494         * bufferlist.[Ch]: new function getBufferFromTmp.
5495
5496         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5497           files in the temporary dir.
5498
5499 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5500
5501         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5502
5503         * Makefile.am: add lyxsocket.[Ch].
5504
5505         * lyx_main.C (error_handler): handle SIGPIPE.
5506
5507 2003-10-13  André Pönitz  <poenitz@gmx.net>
5508
5509         * BufferView_pimpl.C:
5510         * lyxtext.h:
5511         * text.C:
5512         * text2.C:
5513         * text3.C:
5514         * undo_funcs.[Ch]: use paroffset_type instead of
5515           ParagraphList::iterators to prevent multiple conversion
5516           (and get a more robust interface)
5517
5518 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5521         * lyxtext.h: ditto
5522         * text3.C (dispatch): ditto
5523
5524 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5527         move the onlyfile, use onlyfile instead of foundfile in a couple
5528         of places.
5529
5530         * DepTable.C (update): flush the error stream a bit more
5531
5532 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * lyxserver.C (callback): adjust
5535
5536         * lyxfunc.C (getStatus): add a missing brace in commented code
5537         (ensureBufferClean): reindent
5538         (dispatch): delete version taking a string
5539
5540 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * LaTeX.C (deplog): move found file handlig from here...
5543         (handleFoundFile): .. to new function here.
5544         (deplog): make sure to discover several files mentioned on the
5545         same log line.
5546
5547 2003-10-10  André Pönitz  <poenitz@gmx.net>
5548
5549         * lyxfunc.C:
5550         * lyxtext.h:
5551         * tabular.C:
5552         * text.C:
5553         * text2.C:
5554         * text3.C: fix some of the tabular crashes
5555
5556 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5557
5558         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5559
5560         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5561
5562 2003-10-09  André Pönitz  <poenitz@gmx.net>
5563
5564         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5565
5566         * BufferView.C:
5567         * BufferView_pimpl.C:
5568         * bufferview_funcs.C:
5569         * lyx_cb.C:
5570         * lyxcursor.C:
5571         * lyxfind.C:
5572         * lyxfunc.C:
5573         * lyxtext.h:
5574         * text.C:
5575         * text2.C:
5576         * text3.C:
5577         * text_funcs.[Ch]:
5578         * textcursor.[Ch]:
5579         * undo_funcs.C: adjust
5580
5581 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * text2.C (incrementItemDepth): new function, use a backtracking
5584         algorithm to discover the correct item depth.
5585         (resetEnumCounterIfNeeded): new function, use a backtracking
5586         algorithm to discover if counter reset is needed.
5587         (setCounter): use them. Simplify a bit. Add different labels for
5588         different item depths for itemize.
5589
5590         * paragraph.C (Paragraph): remove initialization of enumdepth
5591         (operator=): ditto
5592
5593         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5594         enumerate and itemize. Change the type of itemdepth to signed char.
5595
5596 2003-10-08  André Pönitz  <poenitz@gmx.net>
5597
5598         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5599           thing assignable.
5600         * text.C:
5601         * text2.C: adjust
5602
5603         * tabular.[Ch]: fix crash after 'row-insert'
5604
5605 2003-10-08  Angus Leeming  <leeming@lyx.org>
5606
5607         Fix doxygen warnings.
5608
5609         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5610         Remove CutAndPaste:: prefix from header file declaration.
5611
5612         * LColor.h (fill): remove LColor:: prefix from declaration.
5613
5614         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5615         use lyx::depth_type rather than Paragraph::depth_type so that
5616         header file and .C file match.
5617
5618         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5619
5620         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5621         * aspell.C: \file aspell_local.C -> \file aspell.C
5622         * gettext.C: \file gettext.C -> \file src/gettext.C
5623         * gettext.h: \file gettext.h -> \file src/gettext.h
5624         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5625         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5626         * text.C: \file text.C -> \file src/text.C
5627
5628         * toc.C: move comment so that doxygen is not confused.
5629
5630 2003-10-07  Angus Leeming  <leeming@lyx.org>
5631
5632         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5633
5634 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5635
5636         * aspell.C:
5637         * aspell_local.h: add forgotten std::string's.
5638
5639 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5640
5641         * LaTeXFeatures.C:
5642         * LyXAction.C:
5643         * factory.C:
5644         * lfuns.h:
5645         * lyxfunc.C:
5646         * text3.C: The Box patch. Fancybox support, minipage, parbox
5647
5648 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5649
5650         * CutAndPaste.h:
5651         * DepTable.h:
5652         * FloatList.h:
5653         * LaTeXFeatures.h:
5654         * ParagraphParameters.h:
5655         * TextCache.h:
5656         * Thesaurus.h:
5657         * bufferlist.h:
5658         * exporter.h:
5659         * importer.h:
5660         * lastfiles.h:
5661         * lyxfind.h:
5662         * lyxfont.h:
5663         * lyxlex.h:
5664         * lyxtextclasslist.h:
5665         * messages.h:
5666         * paragraph.h:
5667         * paragraph_pimpl.C:
5668         * textcursor.h: add <string> and other small fixes to make Lars'
5669         std::string patch compile with STLport.
5670
5671 2003-10-06  Angus Leeming  <leeming@lyx.org>
5672
5673         * LColor.h: Add missing #include <string>.
5674
5675 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * All most all file in all subdirs: Make <string> be the prefered
5678         way of getting to std::string, add using declarations.
5679
5680 2003-10-06  André Pönitz  <poenitz@gmx.net>
5681
5682         * metricsinfo.C: initialize LyXFont before changing attribute.
5683         (fixes the 'math in \emph is upright' bug)
5684
5685 2003-10-06  André Pönitz  <poenitz@gmx.net>
5686
5687         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5688
5689 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5690
5691         * graph.C:
5692         * paragraph_pimpl.C: Small fixes to build using STLport
5693
5694 2003-10-02  André Pönitz  <poenitz@gmx.net>
5695
5696         * lyxfunc.C:
5697         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5698
5699 2003-10-01  André Pönitz  <poenitz@gmx.net>
5700
5701         * factory.C: assert early
5702
5703 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * lyx_main.C: remove the global debug object
5706
5707         * debug.h: adjust for new debugstream
5708
5709         * debug.C: adjust for new debugstream and keep the global debug
5710         object here.
5711
5712 2003-09-22  Angus Leeming  <leeming@lyx.org>
5713
5714         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5715         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5716         an incomplete class LyXFont.
5717
5718 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5719
5720         * factory.C: bug fix in branches
5721
5722 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * lyxfunc.C (processKeySym): adjust
5725         (dispatch): adjust
5726         (dispatch): change arg name from ev to func, adjust
5727         (sendDispatchMessage): ditto
5728
5729         * lyx_main.C (defaultKeyBindings): adjust keybindings
5730         (deadKeyBindings): ditto
5731
5732         * kbsequence.C (addkey): return a FuncRequest
5733
5734         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5735
5736         * kbmap.C (bind): take a FuncRequest as arg, adjust
5737         (read): adjust
5738         (lookup): adjust
5739         (defkey): change to take a FuncRequest as arg, adjust
5740         (findbinding): take a FuncRequest as arg, adjust.
5741
5742         * funcrequest.h (operator=): added
5743
5744         * funcrequest.C (FuncRequest): default kb_action changed from
5745         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5746
5747         * buffer.C (dispatch): simplify
5748         (dispatch): adjust to take a FuncRequest as arg, adjust
5749
5750         * boost.C (assertion_failed): change assertion message slightly
5751
5752         * ToolbarBackend.C (read): simplify
5753
5754         * MenuBackend.C (binding): adjust call to findbinding, add a
5755         message if no binding is found.
5756         (read): simplify
5757         (expandToc): correct by adding a empty FuncRequest
5758
5759         * LyXAction.C: include <boost/assert.hpp>
5760         (isPseudoAction): delete function
5761         (LookupFunc): change name to...
5762         (lookupFunc): this. change return type to FuncRequest.
5763         (getActionName): take kb_action as arg, simplify
5764         (funcHasFlag): add an assert, simplify.
5765
5766 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * toc.C (action): return a FuncRequest, simplify
5769
5770         * lyxfunc.C (processKeySym): adjust
5771         (getStatus): delete version that takes an int.
5772         (getStatus): adjust
5773         (dispatch): delete version that takes action as int
5774         (dispatch): adjust
5775         (sendDispatchMessage): simplify and adjust
5776
5777         * funcrequest.C (getArg): take unsigned int as arg
5778
5779         * ToolbarBackend.C (read): adjust
5780         (add): delete version that takes func as a string.
5781         (getIton): take a FuncRequest as arg
5782
5783         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5784         action.
5785
5786         * MenuBackend.C (MenuItem): add a new construct that only takes a
5787         Kind, simplify the constructor use for submenus.
5788         (add): adjust
5789         (expandLastfiles): adjust
5790         (expandDocuments): adjust
5791         (expandFormats): adjust
5792         (expandFloatListInsert): adjust
5793         (expandFloatInsert): adjust
5794         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5795
5796         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5797         Remove class variables lyx_pseudo_map and lyx_arg_map
5798
5799         * LyXAction.C (searchActionArg): delete function
5800         (getPseudoAction): delete function
5801         (retrieveActionArg): delete function
5802         (LookupFunc): make it return kb_action, simplify.
5803         (getActionName): simplify
5804
5805         * factory.C (createInset): fix new bug
5806
5807 2003-09-19  Angus Leeming  <leeming@lyx.org>
5808
5809         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5810         masterFilename_ parameter in the include inset.
5811
5812         * factory.C (createInset): changes due to the changes to InsetInclude.
5813
5814 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5815
5816         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5817
5818 2003-09-18  Angus Leeming  <leeming@lyx.org>
5819
5820         * buffer.C:
5821         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5822         Inset::fillWithBibKeys.
5823         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5824
5825 2003-09-18  Angus Leeming  <leeming@lyx.org>
5826
5827         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5828         variables.
5829         (ctor): pass and store a 'Buffer const &'
5830         (buffer): new member function.
5831
5832         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5833         '*this' to the LaTeXFeatures ctor.
5834
5835 2003-09-18  Angus Leeming  <leeming@lyx.org>
5836
5837         * LColor.h:
5838         * lyxfont.C:
5839         * lyxfont.h:
5840         * lyxtext.h:
5841         * text.C: rename EnumLColor as LColor_color.
5842
5843 2003-09-18  Angus Leeming  <leeming@lyx.org>
5844
5845         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5846         remove #include "insets/insetbase.h" from cursor.h.
5847
5848 2003-09-18  Angus Leeming  <leeming@lyx.org>
5849
5850         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5851         InsetOld_code to remove #include "inset.h".
5852
5853         * iterators.C: add #include "insets/inset.h"
5854
5855 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5856
5857         * BufferView.C: remove more locking stuff that apparently doesn't
5858         do anything sensible.
5859
5860 2003-09-16  André Pönitz  <poenitz@gmx.net>
5861
5862         * paragraph.[Ch]:
5863         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5864           performance boost.
5865
5866 2003-09-16  Angus Leeming  <leeming@lyx.org>
5867
5868         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5869
5870         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5871         arg/return type.
5872
5873         * paragraph.h: remove #include "lyxfont.h". Forward declare
5874         LyXFont_size.
5875
5876 2003-09-16  Angus Leeming  <leeming@lyx.org>
5877
5878         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5879         of support/textutils.h.
5880         (isWord): move the contents of support/textutils.h's IsWordChar here.
5881
5882         * buffer.C:
5883         * lyxfind.C:
5884         * rowpainter.C:
5885         * text.C:
5886         * text2.C: add #include "paragraph.h".
5887
5888         * rowpainter.C:
5889         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5890
5891 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * main.C:
5894         * lyx_main.C:
5895         * lyx_cb.C:
5896         * buffer.C:
5897         * LaTeX.C: use namespace alias for lyx::support::os
5898
5899 2003-09-16  Angus Leeming  <leeming@lyx.org>
5900
5901         * bufferparams.C:
5902         * bufferview_funcs.C:
5903         * factory.C:
5904         * lyxfunc.C:
5905         * paragraph_pimpl.C:
5906         * rowpainter.C:
5907         * text.C: add #include "LColor.h".
5908
5909 2003-09-16  Angus Leeming  <leeming@lyx.org>
5910
5911         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5912         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5913         return LyXFont &.
5914         Store the FontBits::color variable as an int rather than as an
5915         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5916         file.
5917
5918         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5919         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5920         string calls together.
5921
5922         * lyxrc.C: add #include "LColor.h".
5923
5924 2003-09-15  Angus Leeming  <leeming@lyx.org>
5925
5926         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5927         a cow_ptr.
5928
5929 2003-09-15  Angus Leeming  <leeming@lyx.org>
5930
5931         * LColor.h: add an EnumLColor wrapper for LColor::color.
5932
5933         * lyxfont.[Ch] (color, setColor, realColor):
5934         * lyxtext.h, text.C (backgroundColor):
5935         pass EnumLColor args to/from the functions, rather than LColor::color
5936         ones.
5937
5938         * lyxfont.h:
5939         * lyxtext.h: forward declare EnumLColor.
5940
5941         * lyx_main.C: add #include "LColor.h".
5942
5943 2003-09-15  Angus Leeming  <leeming@lyx.org>
5944
5945         * .cvsignore: add lyx-gtk.
5946
5947 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * Chktex.C
5950         * LaTeX.C
5951         * LaTeXFeatures.C
5952         * ParagraphParameters.C
5953         * Spacing.C
5954         * buffer.C
5955         * bufferparams.C
5956         * bufferview_funcs.C
5957         * chset.C
5958         * counters.C
5959         * funcrequest.C
5960         * lyxfont.C
5961         * lyxgluelength.C
5962         * lyxlength.C
5963         * paragraph.C
5964         * paragraph_funcs.C
5965         * text3.C
5966         * vc-backend.C: remove usage of STRCONV
5967
5968 2003-09-15  Angus Leeming  <leeming@lyx.org>
5969
5970         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5971         explicitly define the color passed to the painter.
5972
5973 2003-09-15  Angus Leeming  <leeming@lyx.org>
5974
5975         * bufferparams.C (BufferParams): reorder member initializers to avoid
5976         compiler warning.
5977
5978 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5979
5980         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5981         * text.C (updateRowPositions): remove an unusual nop
5982
5983 2003-09-12  André Pönitz  <poenitz@gmx.net>
5984
5985         * BufferView_pimpl.C:
5986         * Bullet.C:
5987         * layout.h:
5988         * lyxfunc.C:
5989         * lyxlayout.[Ch]:
5990         * lyxtextclass.C:
5991         * rowpainter.C:
5992         * text.C:
5993         * text2.C:
5994         * Counters.[Ch]: finish the 'automatic counters' job
5995
5996 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5997
5998         * aspell.C: include <boost/assert.cpp> (compile fix)
5999
6000 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6001
6002         * boost.C (assertion_failed): use lyx::support::abort instead of
6003         assert.
6004
6005 2003-09-10  Angus Leeming  <leeming@lyx.org>
6006
6007         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6008         with their _fwd progeny.
6009
6010 2003-09-09  Angus Leeming  <leeming@lyx.org>
6011
6012         134 files throughtout the source tree: replace 'using namespace abc;'
6013         directives with the appropriate 'using abc::xyz;' declarations.
6014
6015 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6016
6017         * boost.C (emergencyCleanup): moved here from LAssert.c
6018         (assertion_failed): new function, called by BOOST_ASSERT
6019
6020         * several files: change Assert to BOOST_ASSERT
6021
6022 2003-09-09  Angus Leeming  <leeming@lyx.org>
6023
6024         * buffer.[Ch]: Add an Impl class and move Buffer's member
6025         variables into it. As a result move several header files out of
6026         buffer.h.
6027
6028         Add header files to lots of .C files all over the tree as a result.
6029
6030 2003-09-09  Angus Leeming  <leeming@lyx.org>
6031
6032         * buffer.[Ch]: make Buffer's member variables private. Add
6033         accessor functions.
6034
6035         Lots of changes all over the tree as a result.
6036
6037 2003-09-08  Angus Leeming  <leeming@lyx.org>
6038
6039         * graph.C: #include <config.h>.
6040
6041 2003-09-08  Angus Leeming  <leeming@lyx.org>
6042
6043         * BranchList.C:
6044         * BufferView.C:
6045         * BufferView_pimpl.C:
6046         * CutAndPaste.C:
6047         * DepTable.C:
6048         * LaTeX.C:
6049         * LaTeXFeatures.C:
6050         * LyXAction.C:
6051         * MenuBackend.C:
6052         * TextCache.C:
6053         * aspell.C:
6054         * buffer.C:
6055         * bufferlist.C:
6056         * changes.C:
6057         * chset.C:
6058         * converter.C:
6059         * counters.C:
6060         * debug.C:
6061         * graph.C:
6062         * ispell.C:
6063         * lyx_cb.C:
6064         * lyxfind.C:
6065         * lyxfunc.C:
6066         * lyxlex_pimpl.C:
6067         * lyxrc.C:
6068         * lyxrow.C:
6069         * paragraph.C:
6070         * rowpainter.C:
6071         * texrow.C:
6072         * text.C:
6073         * text2.C:
6074         * toc.C: remove redundant using directives.
6075
6076 2003-09-07  Angus Leeming  <leeming@lyx.org>
6077
6078         * LaTeXFeatures.h: remove #include "support/types.h".
6079         * ToolbarBackend.h: remove #include <algorithm>.
6080         * changes.h: remove #include <ctime>.
6081         * debug.h: remove #include <iosfwd>.
6082         * graph.h: remove #include "support/std_string.h".
6083         * lyx_main.h: remove #include <csignal>.
6084         * lyxlex_pimpl.h: remove #include <fstream>.
6085         * sgml.h: remove #include <algorithm>, <utility>.
6086         * toc.h: remove #include "support/std_ostream.h".
6087         Add #include <iosfwd>.
6088
6089 2003-09-07  Angus Leeming  <leeming@lyx.org>
6090
6091         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6092
6093         * converter.h: forward declare LatexRunParams.
6094         * encoding.h: remove #include "lyxrc.h".
6095         * lyxtext.h: remove #include "LColor.h".
6096         * lyxtextclass.h: remove #include "support/types.h".
6097         * trans.h: remove #include "tex-accent.h".
6098         * trans_mgr.h: remove #include "tex-accent.h".
6099         * insets/inset.h: remove #include "support/types.h", <vector>.
6100         * insets/insetcollapsable.h: remove #include "LColor.h".
6101         * insets/insetinclude.h: remove #include "dimension.h".
6102         * insets/insetlatexaccent.h: remove #include "dimension.h".
6103         * insets/insetoptarg.h:: remove #include "insettext.h".
6104         * insets/insettext.h: remove #include "dimension.h",
6105         <boost/shared_ptr.hpp>
6106
6107         * insets/renderers.h: add #include "dimension.h".
6108         * insets/updatableinset.h: add #include "support/types.h".
6109
6110         * many .C files: Associated changes.
6111
6112 2003-09-06  Angus Leeming  <leeming@lyx.org>
6113
6114         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6115         one, inside testInvariant.
6116
6117         * PrinterParams.C: new file.
6118         * PrinterParams.[Ch]: move the function bodies out of line.
6119
6120 2003-09-06  Angus Leeming  <leeming@lyx.org>
6121
6122         * ParagraphParameters.h: forward declare ParameterStruct rather than
6123         including its header file.
6124         (depth): moved out-of-line.
6125
6126 2003-09-06  Angus Leeming  <leeming@lyx.org>
6127
6128         * BufferView_pimpl.h:
6129         * kbmap.h:
6130         * kbsequence.h:
6131         * lyxfunc.h: forward declare LyXKeySym rather than
6132         #include "frontends/LyXKeySym.h".
6133
6134         * BufferView_pimpl.C:
6135         * kbmap.C:
6136         * kbsequence.C:
6137         * lyxfunc.C: associated changes.
6138
6139 2003-09-06  Angus Leeming  <leeming@lyx.org>
6140
6141         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6142         As a result, can remove the #include "insets/inset.h" from BufferView.h
6143
6144 2003-09-06  Angus Leeming  <leeming@lyx.org>
6145
6146         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6147         As a result, can remove the #include "insets/inset.h" from BufferView.h
6148
6149 2003-09-06  Angus Leeming  <leeming@lyx.org>
6150
6151         * buffer_funcs.C:
6152         * buffer.h:
6153         * bufferlist.C:
6154         * BufferView.C:
6155         * bufferview_funcs.C:
6156         * BufferView_pimpl.C:
6157         * CutAndPaste.C:
6158         * lyx_cb.C:
6159         * lyxfunc.C:
6160         * paragraph.h:
6161         * ParagraphParameters.C:
6162         * tabular.C:
6163         * text3.C:
6164         * toc.C:
6165         * undo_funcs.C:
6166         * frontends/controllers/ControlDocument.C:
6167         * insets/insetcaption.C: rearrange the #includes into some sort of
6168         coherent order.
6169
6170         * buffer.h: remove #includes ErrorList.h, undo.h
6171
6172 2003-09-06  Angus Leeming  <leeming@lyx.org>
6173
6174         * support/types.h: add a 'depth_type' typedef, used to store the
6175         nesting depth of a paragraph.
6176
6177         * paragraph.h:
6178         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6179         defining explicitly.
6180
6181         * buffer.h:
6182         * paragraph_funcs.h:
6183         * ParagraphParameters.h:
6184         * sgml.h: use lyx::depth_type rather than Paragraph or
6185         ParameterStruct's depth_type.
6186
6187         * buffer.h
6188         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6189
6190         * BufferView.C:
6191         * BufferView_pimpl.C:
6192         * CutAndPaste.C:
6193         * ParagraphParameters.C:
6194         * buffer_funcs.C:
6195         * bufferlist.C:
6196         * bufferview_funcs.C:
6197         * lyx_cb.C:
6198         * lyxfunc.C:
6199         * tabular.C:
6200         * text3.C:
6201         * toc.C:
6202         * undo_funcs.C:
6203         * frontends/LyXView.C:
6204         * frontends/controllers/ControlDocument.C:
6205         * frontends/controllers/ControlErrorList.C:
6206         * insets/insetbibitem.C:
6207         * insets/insetbranch.C:
6208         * insets/insetcaption.C:
6209         * insets/insetcollapsable.C:
6210         * insets/insetenv.C:
6211         * insets/insetert.C:
6212         * insets/insetfloat.C:
6213         * insets/insetfoot.C:
6214         * insets/insetfootlike.C:
6215         * insets/insetnewline.C:
6216         * insets/insetquotes.C:
6217         * insets/insettabular.C:
6218         * insets/insettext.C:
6219         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6220
6221         * frontends/controllers/ControlChanges.C: #include "changes.h".
6222
6223 2003-09-06  Angus Leeming  <leeming@lyx.org>
6224
6225         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6226         than #including paragraph.h.
6227
6228         * ParagraphList.h:
6229         * RowList.h: deleted. Superfluous.
6230
6231         * CutAndPaste.h:
6232         * iterators.h:
6233         * lyxcursor.h:
6234         * lyxtext.h:
6235         * text_funcs.h:
6236         * undo.h:
6237         * undo_funcs.h:
6238         * insets/inset.h:
6239         * insets/insettext.h: use ParagraphList_fwd.h rather than
6240         ParagraphList.h.
6241
6242         * paragraph.h: don't forward declare ParagraphList.
6243
6244         * buffer.h:
6245         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6246         rather than ParagraphList.h. paragraph.h is still needed for the
6247         Paragraph::depth_type parameters.
6248
6249         * textcursor.h: enable it to compile stand-alone in light of the
6250         above changes.
6251
6252         * bufferview_funcs.C:
6253         * iterators.C:
6254         * lyxfunc.C:
6255         * lyxrow_funcs.C:
6256         * paragraph.C:
6257         * rowpainter.C:
6258         * text.C:
6259         * text2.C:
6260         * text3.C:
6261         * text_funcs.C:
6262         * textcursor.C:
6263         * undo.C:
6264         * frontends/controllers/ControlParagraph.C:
6265         * frontends/controllers/ControlTabular.C:
6266         * insets/insetmarginal.C:
6267         * insets/insetminipage.C:
6268         * insets/insetnote.C:
6269         * insets/insetoptarg.C: add header files needed to compile again.
6270
6271 2003-09-06  Angus Leeming  <leeming@lyx.org>
6272
6273         * RowList_fwd.h: new file, forward-declaring Row rather than
6274         #including lyxrow.h.
6275
6276         * lyxrow_funcs.h:
6277         * lyxtext.h:
6278         * paragraph.h:
6279         * insets/insettext.h: use it instead of RowList.h
6280
6281         * bufferview_funcs.C:
6282         * lyxfunc.C:
6283         * lyxrow_funcs.C:
6284         * paragraph.C:
6285         * rowpainter.C:
6286         * text.C:
6287         * text2.C:
6288         * text3.C: #include "RowList.h".
6289
6290 2003-09-05  Angus Leeming  <leeming@lyx.org>
6291
6292         * factory.C (createInset):
6293         * vspace.C (c-tor): replace sscanf call with an istringstream.
6294         * ispell.C: re-add missing HP/UX headers.
6295         * lyxserver.C: re-add missing  os2 headers.
6296
6297 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6298
6299         * BranchList.C:
6300         * graph.C:
6301         * ispell.C:
6302         * lastfiles.C:
6303         * lyx_cb.C:
6304         * lyxserver.C:
6305         * texrow.C:
6306         * text3.C: re-add missing system headers, needed for 2.95.2.
6307
6308 2003-09-05  Angus Leeming  <leeming@lyx.org>
6309
6310         Changes most place everywhere due to the removal of using directives
6311         from support/std_sstream.h.
6312
6313 2003-09-05  Angus Leeming  <leeming@lyx.org>
6314
6315         Replace LString.h with support/std_string.h,
6316         Lsstream.h with support/std_sstream.h,
6317         support/LIstream.h with support/std_istream.h,
6318         support/LOstream.h with support/std_ostream.h.
6319
6320         Changes resulting throughout the tree.
6321
6322 2003-09-05  Angus Leeming  <leeming@lyx.org>
6323
6324         * sgml.h: ensure that the header file can be compiled stand-alone.
6325         * *.C: strip out redundant #includes. (320 in total.)
6326
6327 2003-09-04  Angus Leeming  <leeming@lyx.org>
6328
6329         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6330         here (from getPackages).
6331
6332         * debug.[Ch]: add a new EXTERNAL tag.
6333
6334 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6335
6336         * text2.C (cursorEnd): simplify
6337         (setCursor): adjust
6338         (getColumnNearX): adjust
6339
6340         * text.C (computeBidiTables): adjust
6341         (fill): adjust
6342
6343         * rowpainter.C (paintChars): adjust
6344         (paintSelection): adjust
6345         (paintChangeBar): adjust
6346         (paintText): adjust
6347
6348         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6349         lastPos instead.
6350         (numberOfSeparators): adjust
6351
6352 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6353
6354         * LyXAction.C:
6355         * box.[Ch]:
6356         * lfuns.h:
6357         * lyxfunc.C:
6358         * text3.C: Restricts the mouse click functionality
6359         of insets like bibtex, include, toc and floatlist to the visible
6360         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6361         up the dialogs. Cursor has to be in front of the inset (i.e.
6362         start of row) for this to function.
6363
6364 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6365
6366         * bufferview_funcs.C (currentState): output row information
6367
6368 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6369
6370         * bufferview_funcs.C (currentState): output paragraph position
6371
6372 2003-09-04  Angus Leeming  <leeming@lyx.org>
6373
6374         * FloatList.h: move out #include "Floating.h".
6375         * LaTeX.h: move out #include "DepTable.h".
6376         * LyXAction.h: move out #include "funcrequest.h".
6377         * buffer.h: move out #include "author.h", "iterators.h".
6378         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6379         * lyx_main.h: move out #include "errorlist.h".
6380         * lyxfunc.h: move out #include "FuncStatus.h".
6381         * lyxtext: move out #include "lyxcursor.h".
6382         * paragraph_pimpl.h: move out #include "counters.h".
6383
6384 2003-09-03  Angus Leeming  <leeming@lyx.org>
6385
6386         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6387         preamble_snippets list, enabling us to add snippets to the preamble
6388         only if the snippet was not there already.
6389
6390 2003-09-04  Angus Leeming  <leeming@lyx.org>
6391
6392         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6393
6394 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6395
6396         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6397         update
6398
6399 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6400
6401         * BranchList.C: point fix, earlier forgotten
6402
6403 2003-09-02  Angus Leeming  <leeming@lyx.org>
6404
6405         * box.C (contains): renamed from 'contained' after a fantastic
6406         amount of hot air.
6407
6408 2003-09-02  John Levon  <levon@movementarian.org>
6409
6410         * BufferView.C:
6411         * lyxcursor.h:
6412         * lyxcursor.C:
6413         * lyxfunc.C:
6414         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6415
6416 2003-09-02  John Levon  <levon@movementarian.org>
6417
6418         * text2.C: simplification of cursorEnd(), including partial
6419         fix for bug 1376
6420
6421 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * buffer.C (readFile): add a space
6424
6425 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6426
6427         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6428
6429 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * buffer.C (readFile): new function, take a filename and a
6432         ParagraphList::iterator
6433         (readFile): adjust
6434         (readFile): adjust, make it private. don't use setStream, make
6435         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6436         always contain the filename.
6437
6438         * BufferView.C (insertLyXFile): simplify and make it work for
6439         gzipped files.
6440
6441 2003-08-30  John Levon  <levon@movementarian.org>
6442
6443         * Makefile.am: fix dist (from Kayvan)
6444
6445 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * most files: change to use const Buffer refs
6448
6449 2003-08-27  André Pönitz  <poenitz@gmx.net>
6450
6451         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6452         on top of ownerPar().
6453
6454 2003-08-27  John Levon  <levon@movementarian.org>
6455
6456         * funcrequest.C: properly initialise POD members
6457
6458 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6459
6460         * lyxtext.h (top_y): move top_y from here
6461         * text.C:
6462         * text2.C:
6463         * text3.C:
6464         * BufferView.[Ch]:
6465         * BufferView_pimpl.[Ch]: to here
6466         * frontends/screen.C:
6467         * insets/insettabular.C:
6468         * insets/insettext.C: adjust
6469         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6470
6471 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6472
6473         * BufferView.[Ch]:
6474         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6475
6476 2003-08-26  André Pönitz  <poenitz@gmx.net>
6477
6478         * paragraph_func.[Ch] (outerPar): new function
6479
6480         * paragraph.C:
6481         * paragraph_funcs.C:
6482         * paragraph_funcs.h:
6483         * paragraph_pimpl.C:
6484         * text2.C: remove Inset::par_owner
6485
6486 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6487
6488         * lyxrow_funcs.C:
6489         * lyxtext.h:
6490         * text.C:
6491         * text2.C: eliminates the needFullRow/display() stuff
6492         altogether, putting the logic in metrics/draw in the insets.
6493
6494 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6495
6496         * text2.C (redoParagraphInternal, redoParagraphs):
6497         * text.C (redoParagraph): add a call to updateRowPositions at the
6498         end of each 'metrics-like' call. Remove all others.
6499         (getRow): remove the 'y-computing' version.
6500         (getRowNearY): do not compute nor return the real y. Solve the
6501         'y < 0' problem and simplify.
6502
6503 2003-08-22  Angus Leeming  <leeming@lyx.org>
6504
6505         * *.[Ch]: clean-up of licence and author blurbs.
6506         Also move config.h out of a few .h files and into a few .C files.
6507
6508 2003-08-22  André Pönitz  <poenitz@gmx.net>
6509
6510         * lyxrow.[Ch]: add x_ and *fill_ members
6511
6512         * lyxtext.h:
6513         * text.C:
6514         * rowpainter.C:
6515         * text2.C: adjust/remove prepareToPrint() calls
6516
6517 2003-08-22  André Pönitz  <poenitz@gmx.net>
6518
6519         * lyxrow.[Ch]: add  end_ member
6520
6521         * lyxrow_funcs.C: use LyXRow::end_
6522
6523         * lyxtext.h (singleWidth): add LyXFont parameter
6524
6525         * rowpainter.C:
6526         * text2.C: adjust LyXText::singleWidth() calls
6527
6528         * text.C (redoParagraph): simplify row breaking logic
6529
6530
6531 2003-08-19  André Pönitz  <poenitz@gmx.net>
6532
6533         * funcrequest.C: initialize button_ member
6534
6535         * text3.C:
6536         * rowpainter.[Ch]: interface consolidation
6537
6538 2003-08-18  André Pönitz  <poenitz@gmx.net>
6539
6540         * BufferView.C:
6541         * BufferView_pimpl.C:
6542         * lyxfind.C:
6543         * paragraph_funcs.C:
6544         * rowpainter.C:
6545         * text3.C: remove LyXScreen::draw() and fitCursor calls
6546
6547         * BranchList.h: remove spurious semicolons
6548
6549         * MenuBackend.C: fix branchlist related crash
6550
6551 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6552
6553         * BranchList.[Ch]:
6554         * InsetList.[Ch]:
6555         * LColor.[Ch]:
6556         * LyXAction.C:
6557         * Makefile.am:
6558         * MenuBackend.[Ch]:
6559         * bufferparams.[Ch]:
6560         * factory.C:
6561         * lfuns.h:
6562         * lyxfunc.C:
6563         * text3.C: implements the 'branch inset'
6564         idea. This allows the output of various versions of a document
6565         from a single source version, selectively outputing or suppressing
6566         output of parts of the text.
6567         This implementation contains a 'branch list editor' in a separate
6568         tab of the document settings dialog. Branches are user definable
6569         and have a "display colour" to distinguish them on-screen.
6570
6571         ColorHandler was somewhat cleaned up.
6572         (1) make possible a dynamically growing LColor list by allowing
6573         the graphic context cache to grow along (vector);
6574         (2) eliminate an IMHO unnecessary step in colour allocation.
6575
6576 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6577
6578         * BufferView_pimpl.C: compile fix
6579
6580 2003-08-15  André Pönitz  <poenitz@gmx.net>
6581
6582         * rowpainter.C: remove extra metrics calls
6583
6584         * lyxtext.h: merge the two constructors into a single one,
6585           pass reference to owner's par list
6586
6587         * BufferView_pimpl.C:
6588         * text.C:
6589         * text2.C: adjust
6590
6591 2003-08-15  André Pönitz  <poenitz@gmx.net>
6592
6593         * lyxrow_funcs.[Ch]:
6594         * lyxtext.h:
6595         * paragraph.h:
6596         * paragraph_funcs.C:
6597         * rowpainter.C:
6598         * text.C:
6599         * text2.C:
6600         * text3.C:
6601         * text_funcs.C: split LyXText::rowlist_ into individual
6602         Paragraph::rows_ chunks
6603
6604         * BufferView.[Ch]:
6605         * BufferView_pimpl.[Ch]:
6606         * lyxfind.C:
6607         * lyxtext.h:
6608         * text3.C: remove toggleSelection()
6609
6610 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6611
6612         * bufferlist.C: beautify two alerts (shorter text of buttons)
6613         * buffer.C: Remove redundant ' ' from message
6614         * tabular.h:
6615         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6616         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6617         rename VALIGN_CENTER to VALIGN_MIDDLE
6618
6619 2003-08-11  André Pönitz  <poenitz@gmx.net>
6620
6621         * lyxtext.h (getPar):
6622         * text.C: new function
6623
6624 2003-08-11  André Pönitz  <poenitz@gmx.net>
6625
6626         * Makefile.am:
6627         * tracer.[Ch]: remove unneeded files
6628
6629         * InsetList.[Ch]: remove resizeInsetsLyXText()
6630
6631         * lyxtext.h:
6632         * text.C:
6633         * text2.C:
6634         * text3.C: merge insertParagraphs() and appendParagraph()
6635         remove breakAgain(), update()
6636
6637         * BufferView_pimpl.[Ch]:
6638         * bufferview_funcs.[Ch]:
6639         * lyxfunc.C:
6640         * paragraph.[Ch]:
6641         * rowpainter.C:
6642         * tabular.C: adjust after text & InsetList changes.
6643
6644 2003-08-08  André Pönitz  <poenitz@gmx.net>
6645
6646         * text.C (insertChar, backspace): replace rowlist fiddling
6647         with rebreak of full par
6648
6649         * lyxtext.h:
6650         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6651         checkParagraph, updateInset): removed
6652
6653 2003-08-07  André Pönitz  <poenitz@gmx.net>
6654
6655         * paragraph.C:
6656         * text3.C: merge some LFUN handlers, remove dead code
6657
6658 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6659
6660         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6661
6662 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6663
6664         * text2.C (DEPM): fix part of bug 1255 and 1256
6665
6666 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6667
6668         * BufferView_pimpl.C (workAreaDispatch): change to use
6669         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6670         that are no mouse related.
6671
6672 2003-08-05  André Pönitz  <poenitz@gmx.net>
6673
6674         * BufferView.[Ch]:
6675         * BufferView_pimpl.[Ch]:
6676         * bufferview_funcs.C:
6677         * text2.C:
6678         * text3.C: rip out "deep update"
6679
6680         * textcursor.[Ch] (last_sel_cursor): remove unused member
6681
6682 2003-08-04  André Pönitz  <poenitz@gmx.net>
6683
6684         * BufferView.[Ch]:
6685         * BufferView_pimpl.[Ch]:
6686         * ParagraphParameters.C:
6687         * bufferview_funcs.C:
6688         * lyx_cb.C:
6689         * lyxfind.C:
6690         * lyxfunc.C:
6691         * text.C:
6692         * text2.C:
6693         * text3.C: replace "complicated" BufferView::update(...) calls with
6694         simpler ones.
6695
6696         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6697
6698 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6699
6700         * Makefile.am (lyx_SOURCES): add paper.h
6701
6702 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * Makefile.am: move things around so that both lyx-qt and
6705         lyx-xforms can be built (according to --with-frontend). Then lyx
6706         is a symbolic link to lyx-[firstfrontend]
6707
6708 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6709
6710         * Always use std::endl with lyxerr
6711
6712 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6713
6714         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6715
6716 2003-08-01  André Pönitz  <poenitz@gmx.net>
6717
6718         * BufferView.[Ch]:
6719         * BufferView_pimpl.[Ch]:
6720         * lyxfunc.C:
6721         * text3.C: merge BufferView::repaint() and BufferView::update()
6722
6723 2003-08-01  José Matos  <jamatos@lyx.org>
6724
6725         * buffer.[Ch]: file_format is no longer a buffer data element.
6726
6727 2003-08-01  André Pönitz  <poenitz@gmx.net>
6728
6729         * BufferView.C:
6730         * lyxtext.h:
6731         * text.C:
6732         * text2.C: make redoParagraph more independent of current cursor
6733
6734         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6735         * text.C:
6736         * text2.C: remove unneeded members
6737
6738 2003-07-30  André Pönitz  <poenitz@gmx.net>
6739
6740         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6741
6742         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6743           create a single function...
6744
6745         * paragraph_funcs.C (moveItem): ... here.
6746
6747         * text.C:
6748           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6749
6750 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6751
6752         * LColor.[Ch]: Add comment and greyedout logical colors.
6753
6754 2003-07-30  André Pönitz  <poenitz@gmx.net>
6755
6756         * tabular.C: don't use Assert too heavily. This crashes where it
6757           shouldn't
6758
6759 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6760
6761         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6762         is disabled (bug 1232)
6763
6764 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6765
6766         * factory.C: limited 'arg' scope
6767
6768 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6769
6770         * factory.C: fixed Note submenu issues
6771
6772 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6773
6774         * factory.C: submenu for Note/Comment/Greyedout
6775
6776 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6777
6778         * lyx_main.C (LyX):
6779         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6780
6781 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6782
6783         * LaTeXFeatures.C:
6784         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6785         greyedout. Patch provided by Jürgen Spitzmüller.
6786
6787 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6788
6789         * kbmap.C (read): fix error message when reading bind files
6790
6791 2003-07-29  Angus Leeming  <leeming@lyx.org>
6792
6793         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6794         certainly does not do what it purports to do. I am doing it, and
6795         us, a favour by killing it.
6796
6797 2003-07-28  José Matos  <jamatos@lyx.org>
6798
6799         * buffer.C (readBody, do_writeFile):
6800         * paragraph.C(readParagraph): \end_document replaces \the_end.
6801
6802 2003-07-29  André Pönitz  <poenitz@gmx.net>
6803
6804         * BufferView.[Ch]:
6805         * BufferView_pimpl.[Ch]:
6806         * lyxfunc.C:
6807         * text2.C:
6808         * text3.C:
6809         * textcursor.[Ch]: remove toggleToggle & Co
6810
6811 2003-07-28  José Matos  <jamatos@fep.up.pt>
6812
6813         * buffer.C (readParagraph):
6814         * params_func (readParToken, readParagraph):
6815         * paragraph.C (write): \layout -> \begin_layout.
6816
6817 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * lyxlex_pimpl.C (setFile): clean up slightly.
6820
6821         * bufferparams.h: add compressed var
6822
6823         * buffer_funcs.C (readFile): adjust for LyXLex change
6824         (newFile): ditto + simplify
6825
6826         * buffer.C (writeFile): handle writing of compressed files
6827
6828         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6829         Check if the file is compressed and set a bufferparm if so.
6830
6831         * Makefile.am (lyx_LDADD): remove explicit -lz
6832
6833 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6834
6835         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6836         makeDocBookFile): put the real LyX version in the first line of
6837         the file
6838
6839         * version.h:
6840         * version.C.in: remove lyx_docversion
6841
6842         * tabular.C (write_attribute): add a template-based version to
6843         write enums properly
6844
6845 2003-07-28  André Pönitz  <poenitz@gmx.net>
6846
6847         * lyxtext.h:
6848         * text.C:
6849         * text2.C:
6850         * text3.C: use doubles again for x-coordinates. They are needed.
6851
6852 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * messages.C (getLocaleDir): use lyx_localedir()
6855
6856         * lyxlex_pimpl.C (setFile): compress stuff
6857
6858         * buffer.C (writeFile): add some compression stuff
6859         (do_writeFile): new func, dont call expliti close... will this
6860         breake anything?
6861
6862         * Makefile.am (lyx_LDADD): add -lz
6863
6864 2003-07-28  José Matos  <jamatos@fep.up.pt>
6865
6866         * buffer.C: increment file format.
6867         * paragraph_funcs (readParagraph, readParToken):
6868         * paragraph.C (readParagraph): add \end_layout.
6869
6870 2003-07-27  Angus Leeming  <leeming@lyx.org>
6871
6872         * Makefile.am: remove special casing for configure-time setting of
6873         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6874
6875         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6876         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6877
6878 2003-07-26  André Pönitz  <poenitz@gmx.net>
6879
6880         * paragraph_func.[Ch]:
6881         * paragraph.C (realizeFont): inline it whereever it is used
6882
6883         * rowpainter.C:
6884         * text.C:
6885         * text2.C:
6886         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6887
6888
6889 2003-07-26  André Pönitz  <poenitz@gmx.net>
6890
6891         *       lyxtext.h:
6892         * text.C:
6893         * text2.C: get rid of LyXText::need_break_row
6894
6895 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * toc.[Ch]: put namespace toc inside namespace lyx
6898
6899         * MenuBackend.C (expandToc2): adjust for lyx::toc
6900         (expandToc): ditto
6901
6902         * lyxfunc.C (dispatch): adjust for lyx::find
6903
6904         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6905         lyx::find instead. Reorganize a bit.
6906         (LyXReplace): rename to replace
6907         (LyXFind): rename to find
6908
6909         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6910         (dispatch): ditto
6911
6912 2003-07-26  André Pönitz  <poenitz@gmx.net>
6913
6914         * text.C (setHeightOfRow): restrict scope of temporary variable
6915
6916         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6917           code (never has been used?)
6918
6919 2003-07-27  Asger Alstrup  <alstrup@local>
6920
6921         * text.C (fill): Optimise algorithm to exploit that we can reuse
6922         the LyXFont for many characters.
6923         (setHeightOfRow): Same thing.
6924         (rowBreakPoint): Same thing.
6925
6926 2003-07-26  Asger Alstrup  <alstrup@local>
6927
6928         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6929
6930         * text.C (singleWidth): Spurious font copying in hot-spot
6931         singleWidth avoided. Reorder tests for arabic for efficiency.
6932
6933         * text.C (fill): handle empty paragraphs better.
6934
6935 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6936
6937         * ispell.C:
6938         * encoding.h: add includes
6939
6940         * lyxrc.C: remove reading of bind files
6941
6942         * lyx_main.C (init): setup bindings and menus only if we have a
6943         gui.
6944
6945         * kbmap.C (read): new method. Do the actual reading of bind
6946         files.
6947
6948         * converter.C (dvipdfm_options):
6949         * bufferparams.C:
6950         * lyxrc.C (read):
6951         (output): adapt PAPER_* enums.
6952
6953         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6954
6955         * bufferparams.h: remove paper-related enums from there
6956
6957         * paper.h: New file. A trivial header file to hold paper-related
6958         enums. It should later expand to contain many paper-related
6959         horrors access.
6960
6961         * lyxrc.C: declare extern displayTranslator
6962
6963 2003-07-27  José Matos  <jamatos@fep.up.pt>
6964
6965         * tabular.[Ch] (linuxdoc): add support for tables and figures
6966         (linuxdoc).
6967
6968 2003-07-27  José Matos  <jamatos@fep.up.pt>
6969
6970         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6971         consistency in both functions.
6972         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6973
6974 2003-07-26  Asger Alstrup  <alstrup@local>
6975
6976         * rowpainter.C (paintRows): Change algorithm to work directly on
6977         the insets rather than asking every character in the document
6978         whether its an inset.
6979
6980 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6981
6982         * buffer.C (openFileWrite): factorize some code
6983
6984 2003-07-26  Angus Leeming  <leeming@lyx.org>
6985
6986         * lyx_cb.C:
6987         * lyx_main.[Ch]: replace occurances of system_tempdir with
6988         os::getTmpDir().
6989
6990 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * rename Inset to InsetOld
6993
6994 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6995
6996         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6997         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6998         which I think is a bit clearer. EDIT is gone, since it was
6999         premature optimisation, and broken for mathed anyway.
7000         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7001         with cursor positioning in insets as well (math insets still do not
7002         work, but that's a different story anyway.) It mysteriously
7003         crashes sometimes with undo in the first paragraph, but I'm fairly
7004         confident that this is a compiler bug.
7005
7006 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * paragraph.C (Paragraph): adjust for new clone return type
7009         (operator==): ditto
7010         (copyIntoMinibuffer): ditto
7011
7012 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7013
7014         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7015         by not having a special case, and always doing a full rebreak of
7016         the document after undo.
7017
7018 2003-07-23  Angus Leeming  <leeming@lyx.org>
7019
7020         * factory.C (createInset): InsetExternal::setParams now takes a
7021         Buffer const * arg.
7022
7023 2003-07-23  Angus Leeming  <leeming@lyx.org>
7024
7025         * factory.C (createInset): changed interface to the external and
7026         graphics mailers' string2params functions.
7027
7028 2003-07-23  Angus Leeming  <leeming@lyx.org>
7029
7030         * factory.C (createInset): pass a
7031         Buffer const * parameter to InsetExternalMailer's string2params.
7032
7033 2003-07-22  John Levon  <levon@movementarian.org>
7034
7035         * Thesaurus.h: include the right aiksaurus header
7036
7037 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7038
7039         * MenuBackend.C (expand): check menu shortcuts unconditionally
7040
7041 2003-07-21  Angus Leeming  <leeming@lyx.org>
7042
7043         * factory.C (createInset): pass a
7044         buffer_path parameter to InsetGraphicsMailer's string2params.
7045
7046 2003-07-21  Angus Leeming  <leeming@lyx.org>
7047
7048         * BufferView_pimpl.C (buffer):
7049         * buffer.C (d-tor):
7050         * lyx_main.C (LyX):
7051         * lyxfunc.C (dispatch):
7052         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7053         rather than the grfx shortcut.
7054
7055 2003-07-21  André Pönitz  <poenitz@gmx.net>
7056
7057         * rowpainter.C: remove unused variables
7058
7059         * tabular_funcs.C:
7060         * tabular_funcs.h: move to tabular.C
7061         * Makefile.am: adjust
7062
7063         * tabular.[Ch]: basic optical cleaning
7064
7065         * author.h: pass references, not values
7066
7067 2003-07-18  André Pönitz  <poenitz@gmx.net>
7068
7069         * lyxtext.h:
7070         * metricsinfo.C:
7071         * metricsinfo.h:
7072         * rowpainter.C:
7073         * text.C:
7074         * text2.C:
7075         * text3.C: two-phase drawing for InsetText and InsetTabular
7076         some float -> int changes.
7077
7078 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7079
7080         * lyx_main.C: fix the fix
7081
7082 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * lyx_main.C: fix a crash in batch mode if no files specified
7085         * converter.C: ws
7086
7087 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7088
7089         * format.[Ch] (papersize): moved to BufferParams
7090         * converter.[Ch] (dvips_options): moved to BufferParams
7091         (dvipdfm_options): moved to anon namespace
7092         * bufferparams.[Ch]: added above functions.
7093
7094 2003-07-17  André Pönitz  <poenitz@gmx.net>
7095
7096         * lyxtext.h:
7097         * rowpainter.C:
7098         * text2.C: don't call inset->update() anymore
7099
7100         * metricsinfo.[Ch]: add convenience constructor
7101
7102 2003-07-16  André Pönitz  <poenitz@gmx.net>
7103
7104         * lyxcursor.[Ch]:
7105         * lyxfunc.[Ch]:
7106         * text.C:
7107         * text2.C: replace the LyXCursor::irow_ member with
7108          on-demand computation of the value
7109
7110 2003-07-16  John Levon  <levon@movementarian.org>
7111
7112         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7113
7114 2003-07-15  André Pönitz  <poenitz@gmx.net>
7115
7116         * text.C:
7117         * text2.C: remove no more needed refresh_row
7118
7119 2003-07-15  André Pönitz  <poenitz@gmx.net>
7120
7121         * lyxtext.h:
7122         * rowpainter.C:
7123         * text2.C:
7124         * text3.C: refresh_status tristate -> need_update bool
7125
7126 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7127
7128         * lyxtext.h (init): remove reinit argument (act as if always true)
7129         * text2.C: adjust to that
7130
7131 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7132
7133         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7134         * text3.C: use it to delete selections in some cases
7135         (bugs 441, 673, 702, 954).
7136
7137 2003-07-14  André Pönitz  <poenitz@gmx.net>
7138
7139         * rowpainter.[Ch]: reduce interface
7140
7141 2003-07-14  André Pönitz  <poenitz@gmx.net>
7142
7143         * BufferView_pimpl.C:
7144         * text2.C: adjust after removing unused BufferView * argument
7145
7146 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7147
7148         * text2.C (init): fix a crash fired on resize
7149
7150 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7151
7152         * buffer.[Ch]: added new closing signal
7153         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7154         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7155         BufferView::Pimpl via the closing the signal
7156
7157 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * buffer.[Ch]: take out all bv-related from buffer
7160         * BufferView.C:
7161         * BufferView_pimpl.[Ch]: connect to new signals
7162         * CutAndPaste.C: removed useless asserts
7163         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7164         * lyxvc.[Ch]:
7165         * vc-backend.[Ch]:
7166         * lyxfunc.C: moved view-related funciontality from vc here
7167         * paragraph.C: removed outdated comments
7168         * text.C: ws
7169
7170 2003-07-10  André Pönitz  <poenitz@gmx.net>
7171
7172         * BufferView_pimpl.C:
7173         * tabular.h:
7174         * tabular_funcs.C:
7175         * text.C:
7176         * text2.C: remove InsetText::InnerCache, clean up consequences
7177
7178 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7179
7180         * ispell.C: fix two typos in error messages
7181
7182 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7183
7184         * Extend Note inset to other forms of annotation like Comment
7185         and Greyedout. Right button click gives dialog.
7186
7187         Files modified or added (+):
7188
7189         * insetnote.[Ch]
7190         * FormNote.[Ch]      +
7191         * ControlNote.[Ch]   +
7192         * form_note.fd       +
7193         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7194         frontends/controllers
7195         * xforms/Dialogs.C
7196         * factory.C
7197
7198 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7199
7200         * aspell.C: add missing namespace lyx::support
7201
7202 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7203
7204         * BufferView.[Ch] (newFile): Add
7205         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7206         * LaTeX.[Ch] (message): added this signal and use it
7207         * buffer.[Ch] (busy, message): added these signals and use them
7208         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7209         * converter.C:
7210         * exporter.C:
7211         * format.C:
7212         * importer.C: use buffer signals instead of direct bv calling
7213         * lyx_cb.[Ch] (ShowMessage): removed
7214         * lyx_main.C:
7215         * lyxfunc.C:
7216         * paragraph_funcs.C:
7217         * text2.C: use buffer signals
7218
7219 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * introduce namespace lyx::graphics
7222
7223 2003-07-02  André Pönitz  <poenitz@gmx.net>
7224
7225         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7226
7227 2003-07-01  André Pönitz  <poenitz@gmx.net>
7228
7229         * text.C:
7230         * text2.C:
7231         * text3.C:
7232         * text_funcs.[Ch]:
7233         * textcursor.h:
7234         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7235           text*.C to text_func.C
7236
7237 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * introduce namespace lyx::support
7240
7241 2003-06-30  André Pönitz  <poenitz@gmx.net>
7242
7243         * Chktex.C:
7244         * funcrequest.C:
7245         * lyxtext.h:
7246         * text.C: re-enable --with-included-string
7247
7248 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * textcursor.C: add <config.h>
7251
7252         * text.C (getWord): remove const from word_location arg
7253
7254         * lyxvc.C (getLogFile): fix const type order
7255
7256         * lyxtext.h: remove const from word_location arg, add arg name
7257
7258         * lyxlayout.h: currect type on labeltype.
7259
7260         * importer.C: correct \file
7261
7262         * converter.C (intToFormat): use std:: on ret val, ws changes
7263
7264         * bufferlist.h: correct \file
7265
7266         * buffer.C (makeLinuxDocFile): fix const type order
7267         (makeDocBookFile): ditto
7268         (fillWithBibKeys): use std:: on stdlib args.
7269
7270         * CutAndPaste.C: fix authors.
7271         (availableSelections): use std:: on return vector
7272
7273 2003-06-27  André Pönitz  <poenitz@gmx.net>
7274
7275         * BufferView_pimpl.C:
7276         * bufferview_funcs.C:
7277         * lyxcursor.C:
7278         * lyxcursor.h:
7279         * lyxfunc.C:
7280         * lyxtext.h:
7281         * rowpainter.C:
7282         * text.C:
7283         * text2.C:
7284         * text3.C: remove LyXCursor::row_ member
7285
7286         * lyxtext.h:
7287         * text.C: rename fullRebreak() to partialRebreak() and implement
7288           a fullRebreak() that really bereks fully
7289
7290         * textcursor.h: new struct for cursor-related data
7291
7292 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7293
7294         * lyx_main.C (LyX): get full path of document loaded on the
7295         command line
7296
7297 2003-06-26  André Pönitz  <poenitz@gmx.net>
7298
7299         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7300           remove unused/broken operator>,<,>=.
7301
7302         *       text.C: remove only use of broken operator<= in an Assert().
7303
7304 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7305
7306         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7307         moved errorlist_.clear to showErrorList
7308
7309 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7310
7311         * converter.C (scanLog, runLaTeX):
7312         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7313         move the bv->showErrorList call to the callers
7314         * lyxfunc.C: i.e. here...
7315         * text2.C: and here
7316         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7317         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7318         namespace, the second to...
7319         * buffer_funcs (BufferFormat, parseErrors): added
7320         * errorlist.C (ErrorList(TeXErrors const &)): removed
7321
7322 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7323
7324         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7325
7326 2003-06-24  "Garst R. Reese" <reese@isn.net>
7327
7328         * debug.C: fix typo
7329
7330 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7331
7332         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7333
7334         * version.C.in: change docversion to 1.4
7335
7336 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7337
7338         * buffer.C: fix a bug just introduced
7339
7340 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7341
7342         * buffer.[Ch]: added the parseError signal and use it, removed
7343         sgmlError
7344         * BufferView.[Ch] (addError): moved to ...
7345         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7346         to the Buffer::parseError signal to catch (guess what) parse errors
7347         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7348
7349 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7352         ability to create a buffer and to return an existing one from
7353         the list. Moved these functions to...
7354         * buffer_funcs.[Ch]: added
7355         * BufferView.[Ch] (loadLyXFile): added
7356         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7357         job removed from bufferlist::loadLyXFile.
7358         * buffer.C (setReadOnly): make it work without view
7359         (i.e added an if (users))
7360
7361 2003-06-19  Angus Leeming  <leeming@lyx.org>
7362
7363         * lfuns.h:
7364         * LyXAction.C (init):
7365         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7366         with LFUN_DIALOG_SHOW <name> <data>.
7367
7368 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7369
7370         * CutAndPaste.C (availableSelections): small compilation fix for
7371         ancient (gcc 2.9x) compilers
7372
7373 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * text3.C (cursorNext): add tmp var
7376
7377         * text2.C (updateCounters): for function calling out of for clause
7378         (replaceSelectionWithString): ditto
7379         (insertStringAsParagraphs): ditto
7380         (getColumnNearX): add tmp var
7381         (setCursorFromCoordinates): add tmp var
7382         (cursorDownParagraph): add tmp var
7383         (deleteEmptyParagraphMechanism): add tmp var
7384
7385         * text.C (insertChar): add tmp var
7386
7387         * rowpainter.C (paintDepthBar): add tmp var
7388
7389         * CutAndPaste.C (availableSelections): potentially check all
7390         paragraphs in a cut to fill the shown strings.
7391
7392 2003-06-18  André Pönitz  <poenitz@gmx.net>
7393
7394         * kbmap.[Ch]: use vector<> instead of list<>
7395
7396 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7397
7398         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7399         pasteSelection with index
7400
7401         * text2.C (pasteSelection): modify, call pasteSelection with index
7402
7403         * paragraph.C (asString): reimplement version with no interval to
7404         call the one with interval.
7405
7406         * lyxtext.h: add index arg to pasteSelection
7407
7408         * MenuBackend.C (MenuItem): handle PasteRecent
7409         (Menu::read::Menutags): add md_pasterecent
7410         (read): handle it
7411         (expandPasteRecent): new function
7412         (expand): use it
7413
7414         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7415
7416         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7417         the limited stack
7418         (availableSelections): new function
7419
7420 2003-06-17  Angus Leeming  <leeming@lyx.org>
7421
7422         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7423
7424 2003-06-17  Angus Leeming  <leeming@lyx.org>
7425
7426         * lfuns.h:
7427         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7428
7429         * lyxfunc.C (dispatch): invoke it.
7430
7431 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7432
7433         * iterators.C (operator++, ParPosition): reintroduce some
7434         const_cast for the benefit of older compilers.
7435
7436 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7437
7438         * text3.C (dispatch): do not modify clipboard when doing
7439         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7440         LFUN_DELETE_SKIP on a selection selection
7441
7442 2003-06-16  André Pönitz  <poenitz@gmx.net>
7443
7444         * BufferView.C:
7445         * buffer.C:
7446         * buffer.h:
7447         * paragraph.C:
7448         * tabular.[Ch]: IU of clone() and getLabelList();
7449
7450 2003-06-13  André Pönitz  <poenitz@gmx.net>
7451
7452         * tabular.h: compactification
7453
7454 2003-06-12  André Pönitz  <poenitz@gmx.net>
7455
7456         * tabular.C:
7457         * tabular.h:
7458         * tabular_funcs.h: some renaming plus whitespace
7459
7460 2003-06-12  André Pönitz  <poenitz@gmx.net>
7461
7462         * BufferView.C:
7463         * BufferView_pimpl.C:
7464         * CutAndPaste.C:
7465         * buffer.C:
7466         * iterators.[Ch]:
7467         * lyxfunc.C:
7468         * text.C:
7469         * toc.C: Return a Paragraph & for ParIterator::operator*()
7470
7471 2003-06-11  John Levon  <levon@movementarian.org>
7472
7473         * lyx_main.C:
7474         * ToolbarBackend.h:
7475         * ToolbarBackend.C: add "Toolbars" section and
7476         put the flags there
7477
7478 2003-06-10  Angus Leeming  <leeming@lyx.org>
7479
7480         * lfuns.h:
7481         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7482
7483         * lyxfunc.C (dispatch): invoke it.
7484
7485 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * main.C: protect <ios> with HAVE_IOS
7488         (main): protect sync_with_stdio with HAVE_IOS
7489
7490 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7491
7492         * text2.C (cutSelection): adjust
7493         (pasteSelection): adjust
7494
7495         * messages.C: handle get of empty string
7496
7497         * main.C (main): use sync_with_stdio(false)
7498
7499         * lyxfunc.C (dispatch): adjust
7500
7501         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7502         (WriteAs): remove unneeded BufferView arg.
7503
7504         * bufferparams.h: use correct types on papersize, papersize2 and
7505         paperpackage.
7506
7507         * bufferparams.C (readToken): adjust for type
7508         (writeLaTeX): add missing cases to switch.
7509
7510         * bufferlist.C (quitWriteBuffer): adjust
7511         (close): adjust
7512
7513         * buffer.C (asciiParagraph): remove some commented code.
7514
7515         * CutAndPaste.C: remove current_view extern variable.
7516         (cutSelection): add BufferParams arg.
7517         (eraseSelection): add BufferParams arg.
7518         (pasteSelection): add Buffer const & arg
7519
7520 2003-06-07  John Levon  <levon@movementarian.org>
7521
7522         * buffer.C:
7523         * paragraph_funcs.C:
7524         * paragraph_pimpl.C:
7525         * text.C:
7526         * text2.C:
7527         * paragraph.h:
7528         * paragraph.C: allow InsetERT to freely space lines,
7529         and some consolidation of code
7530
7531 2003-06-06  José Matos  <jamatos@fep.up.pt>
7532
7533         * buffer.C (makeDocBookFile): fix bug #821
7534
7535 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7536
7537         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7538
7539 2003-06-04  Angus Leeming  <leeming@lyx.org>
7540
7541         * buffer.C: bump format to 224.
7542
7543 2003-06-05  André Pönitz  <poenitz@gmx.net>
7544
7545         * text2.C (redoParagraphs): remove two const_cast<>
7546
7547 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7548
7549         * ParagraphList.h: remove last remnants of NO_STD_LIST
7550
7551 2003-06-03  Angus Leeming  <leeming@lyx.org>
7552
7553         * factory.C (createInset): small change to the way InsetExternal's params
7554         are set.
7555
7556 2003-06-04  André Pönitz  <poenitz@gmx.net>
7557
7558         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7559
7560         * paragraph_pimpl.h:
7561         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7562
7563         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7564
7565         * undo_funcs.C: make some simple cases of undo work again
7566
7567 2003-06-03  John Levon  <levon@movementarian.org>
7568
7569         * ispell.C: HPUX doesn't have sys/select.h
7570         (from Albert Chin)
7571
7572 2003-06-03  John Levon  <levon@movementarian.org>
7573
7574         * CutAndPaste.C: update tabular and include inset
7575         buffer references
7576
7577         * buffer.h:
7578         * paragraph.h:
7579         * paragraph.C: remove owningBuffer(), don't pass Buffer
7580         to clone()
7581
7582         * factory.C: insetGraphicsParams changed
7583
7584 2003-06-02  John Levon  <levon@movementarian.org>
7585
7586         * LyXAction.C:
7587         * factory.C:
7588         * lfuns.h:
7589         * lyxfunc.C:
7590         * text3.C: remove insetparent
7591
7592 2003-06-02  John Levon  <levon@movementarian.org>
7593
7594         * buffer.h:
7595         * buffer.C: fix inset_iterator.end(), move out of line
7596         (bug 1149)
7597
7598 2003-06-01  John Levon  <levon@movementarian.org>
7599
7600         * text3.C: use a proper cut/paste when doing inset
7601         insert (from Jürgen Spitzmüller)
7602
7603 2003-06-01  John Levon  <levon@movementarian.org>
7604
7605         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7606
7607 2003-05-30  André Pönitz  <poenitz@gmx.net>
7608
7609         * rowpainter.C: unify second drawing phase
7610
7611 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * trans_mgr.C: remove one case of current_view
7614
7615         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7616
7617         * paragraph_funcs.h: remove paragraph.h include
7618
7619         * paragraph.h: delete NO_STD_LIST stuff
7620
7621         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7622
7623         * buffer.h: remove paragraph.h include
7624
7625         * ParagraphList.C: delete file
7626
7627         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7628
7629         * toc.C (getTocList): adjust
7630
7631         * paragraph_pimpl.C (validate): adjust
7632
7633         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7634
7635         * paragraph.C (Paragraph): adjust
7636         (getPositionOfInset): use const_iterator, adjust
7637         (bibitem): use const_iterator, adjust
7638         (setInsetOwner): adjust
7639
7640         * iterators.C (operator++): adjust
7641
7642         * InsetList.[Ch]: Replace selfmade iterator with standard
7643         vector::iterator also introduce const_iterator. Remove getPos,
7644         getInset and setInset from InsetTable. Adjust accordingly.
7645
7646         * BufferView.C (lockInset): adjust
7647         (ChangeInsets): adjust
7648
7649         * tabular.[Ch]: delete commented same_id functions
7650
7651 2003-05-28  John Levon  <levon@movementarian.org>
7652
7653         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7654
7655 2003-05-28  André Pönitz  <poenitz@gmx.net>
7656
7657         * metricsinfo.[Ch]: remove 'fullredraw' member
7658
7659 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7660
7661         * lyxtextclass.C (operator): remove caching.
7662
7663 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * text3.C: adjust
7666
7667         * text2.C (cursorBottom): adjust
7668         (setCounter): use ParagraphList::find, adjust
7669
7670         * text.C (workWidth): use ParagraphList::find, adjust
7671
7672         * lyxcursor.C (LyXCursor): adjust
7673
7674         * buffer.C (inset_iterator): adjust
7675
7676         * ParagraphList.h: make iterator(value_type) private, make
7677         ParagraphList a friend of iterator.
7678
7679         * ParagraphList.C (find): new function
7680
7681         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7682
7683 2003-05-27  André Pönitz  <poenitz@gmx.net>
7684
7685         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7686
7687 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7688
7689         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7690
7691 2003-05-26  John Levon  <levon@movementarian.org>
7692
7693         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7694
7695 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * remove same_id from function signatures, adjust.
7698
7699 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7702
7703         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7704
7705         * paragraph.C (Paragraph): get rid of same_ids parameter
7706
7707         * ParagraphList.C (insert): adjust
7708         (push_back): adjust
7709
7710 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7711
7712         * paragraph_funcs.C (breakParagraph): adjust
7713         (breakParagraphConservative): adjust
7714
7715         * buffer.C (readParagraph): adjust
7716
7717         * ParagraphList.C (insert): take a reference instead of a pointer
7718         (insert): adjust
7719
7720         * paragraph.[Ch] (id): new function
7721
7722         * bufferlist.C (newFile): adjust
7723
7724         * ParagraphList.C (ParagraphList): adjust
7725         (assign): adjust
7726         (push_back): take a reference instead of a pointer.
7727
7728         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7729
7730         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7731         instead.
7732
7733         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7734         set else use old code.
7735
7736         * ParagraphList.C: remove all NO_NEXT code and only compile this
7737         code of NO_STD_LIST is set.
7738
7739 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7740
7741         * BufferView_pimpl.C:
7742         * TextCache.C:
7743         * TextCache.h:
7744         * bufferlist.C:
7745         * errorlist.h:
7746         * format.C:
7747         * format.h:
7748         * graph.C:
7749         * lyxfunc.C:
7750         * lyxrc.C:
7751         * graphics/GraphicsConverter.C:
7752         * graphics/PreviewLoader.C: header adjustment
7753
7754 2003-05-23  Angus Leeming  <leeming@lyx.org>
7755
7756         * LaTeXFeatures.[Ch] (useBabel): new method.
7757         * bufferparams.C (writeLaTeX): use it.
7758
7759 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7760
7761         * ParagraphList.h (set): remove unused function.
7762
7763 2003-05-23  André Pönitz  <poenitz@gmx.net>
7764
7765         * BufferView.C:
7766         * BufferView_pimpl.C:
7767         * buffer.C:
7768         * buffer.h:
7769         * lyxfunc.C:
7770         * undo_funcs.C: setUndo reworked
7771
7772         * iterators.[Ch]: add access to topmost ParagraphList
7773
7774         * lyxtext.[Ch] (workWidth): add a const
7775
7776 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7777
7778         * texrow.[Ch] (increasePos): remove function
7779         * exporter.C (export): removed unused var and outdated comment
7780
7781 2003-05-23  Angus Leeming  <leeming@lyx.org>
7782
7783         * latexrunparams.h: rename fragile as moving_arg.
7784         * paragraph.C (simpleTeXOnePar): ditto.
7785         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7786
7787 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7790         (createUndo): ditto
7791         (textUndoOrRedo): comment out a currently unused var.
7792
7793         * paragraph.h (NO_NEXT): enable NO_NEXT
7794
7795         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7796
7797         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7798
7799         * exporter.C (Export): adjust for removeAutoInsets removal.
7800
7801         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7802
7803         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7804
7805         * BufferView.[Ch] (removeAutoInsets): delete function
7806
7807 2003-05-22  Angus Leeming  <leeming@lyx.org>
7808
7809         * latexrunparams.h: add a free_spacing variable.
7810
7811         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7812         to pass moving_arg, as the data is stored in runparams.fragile.
7813
7814         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7815         to Inset::latexOptional or to simpleTeXOnePar.
7816
7817         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7818         free_spacing arg to Inset::latexOptional.
7819
7820         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7821         free_spacing arg.
7822
7823 2003-05-22  Angus Leeming  <leeming@lyx.org>
7824
7825         * latexrunparams.h: add fragile and use_babel variables.
7826
7827         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7828         * buffer.C (makeLaTeXFile): store this returned value in
7829         runparams.use_babel, thus passing it to the inset::latex methods.
7830
7831         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7832         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7833
7834         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7835         longer has a fragile arg, as it is stored in runparams.fragile.
7836
7837         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7838         moving_arg parameter as the data is stored in runparams.fragile.
7839
7840         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7841         a fragile parameter as the data is stored in runparams.fragile.
7842
7843 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7846
7847 2003-05-22  Angus Leeming  <leeming@lyx.org>
7848
7849         * latexrunparams.h: add a 'bool nice' which defaults to false.
7850
7851         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7852         now encapsulated within runparams.
7853
7854         * bufferlist.C (updateIncludedTeXfiles):
7855         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7856
7857 2003-05-22  Angus Leeming  <leeming@lyx.org>
7858
7859         * latexrunparams.h: new file containing struct LatexRunParams.
7860         * Makefile.am: add new file.
7861
7862         * LaTeX.[Ch] (c-tor, run):
7863         * buffer.[Ch] (makeLaTeXFile):
7864         * bufferlist.[Ch] (updateIncludedTeXfiles):
7865         * converter.C (convert, scanLog):
7866         * converter.[Ch] (runLaTeX):
7867         * exporter.C (Export):
7868         * paragraph.[Ch] (simpleTeXOnePar):
7869         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7870         * paragraph_funcs.[Ch] (latexParagraphs):
7871         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7872         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7873         pass around a LatexRunParams parameter.
7874
7875 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7876
7877         * paragraph.[Ch]: remove unused constructor
7878
7879         * ParagraphList.C (erase): new function, taking two iterators
7880
7881 2003-05-22  André Pönitz  <poenitz@gmx.net>
7882
7883         * undo_funcs.C: remove duplicated code
7884
7885         * iterator.[Ch]: operator=
7886
7887 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * tabular.C (SetMultiColumn): ws changes
7890
7891         * rowpainter.C (paintFirst): get rid of a ->previous
7892
7893         * lyx_cb.C (getPossibleLabel): parlist simplification
7894
7895         * BufferView.C (ChangeInsets): simplify slightly.
7896
7897 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7898
7899         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7900         * lfuns.h: new LFUN_SPACE
7901         * lyxfunc.C: protected space has a new lfun
7902         * paragraph_funcs.C: read new space insets
7903         * text3.C:
7904         * factory.C: handle new space insets
7905
7906 2003-05-22  André Pönitz  <poenitz@gmx.net>
7907
7908         * BufferView.C:
7909         * BufferView_pimpl.C:
7910         * buffer.[Ch]:
7911         * lyxfunc.C:
7912         * undo_funcs.C: return a ParIterator from getParFromID.
7913
7914         * iterators.[Ch]: add two const's
7915
7916 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * toc.C (getTocList): adjust
7919
7920         * iterators.[Ch]: rework for parlist
7921
7922         * buffer.C (par_iterator_begin): adjust
7923         (par_iterator_end): adjust
7924
7925         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7926
7927         * BufferView.C (removeAutoInsets): adjust
7928         (ChangeInsets): adjust
7929
7930 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7931
7932         * text.C (top_y): fix bug 1110
7933
7934 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7935
7936         * errorlist.[Ch]: added
7937         * buffer.C:
7938         * BufferView.[Ch]:
7939         * BufferView_pimpl.C:
7940         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7941         instead
7942
7943 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * Makefile.am: ensure that lyx is relinked upon changes to the
7946         various "convenience" libs.
7947
7948 2003-05-20  Angus Leeming  <leeming@lyx.org>
7949
7950         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7951         files are compiled in alphabetical order again.
7952
7953         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7954
7955 2003-05-19  Angus Leeming  <leeming@lyx.org>
7956
7957         * gettext.[Ch]: remove "char const * _(char const *)".
7958
7959 2003-05-19  André Pönitz  <poenitz@gmx.net>
7960
7961         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7962
7963         * Makefile.am:
7964         * BufferView.C:
7965         * DepTable.h:
7966         * LaTeXFeatures.C:
7967         * buffer.C:
7968         * lyxfont.C:
7969         * lyxlex.h:
7970         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7971
7972 2003-05-19  André Pönitz  <poenitz@gmx.net>
7973
7974         * buffer.C:
7975         * lyxlayout.[Ch]:
7976         * lyxtextclass.[Ch]:
7977         * paragraph.C:
7978         * paragraph_funcs.[Ch]:
7979         * text2.C:
7980         * text3.C: more insetenv work
7981
7982 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7983
7984         * ParagraphParameters.C (params2string): small bug fixed
7985
7986 2003-05-16  André Pönitz  <poenitz@gmx.net>
7987
7988         * debug.C:
7989         * bufferview_funcs.C: patch from Kornel Benko to prevent
7990           crash when _(...) is called twice in a statement
7991
7992 2003-05-16  André Pönitz  <poenitz@gmx.net>
7993
7994         * BufferView.C:
7995         * lyxfunc.C:
7996         * text.C:
7997         * text2.C:
7998         * text3.C:
7999         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8000
8001 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8002
8003         * lyx_main.C (init): remove spurious static_cast
8004
8005 2003-05-14  André Pönitz  <poenitz@gmx.net>
8006
8007         * BufferView.C: fix format string
8008
8009 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8010
8011         * BufferView.[Ch] (insertErrors): removed
8012         * BufferView.[Ch] (showErrorList): added
8013         * buffer.C (runChkTeX):
8014         * converter.C (scanLog): call showErrorList instead of inserterrors
8015
8016 2003-05-13  André Pönitz  <poenitz@gmx.net>
8017
8018         * BufferView_pimpl.C:
8019         * buffer.C:
8020         * bufferview_func.C:
8021         * MenuBackend.C:
8022         * lyxfunc.C:
8023         * lyxrc.C:
8024         * tex-accent.C:
8025         * text3.C:
8026         * toc.C:
8027         * tabular_funcs.h: tostr() from its own header
8028
8029         * ParagraphParameters.C:
8030         * ToolbarBackend.C:
8031         * bufferparams.C:
8032         * format.C:
8033         * lyxlex_pimpl.C:
8034         * text3.C: STRCONV()
8035
8036 2003-05-12  André Pönitz  <poenitz@gmx.net>
8037
8038         * BufferView.C:
8039         * BufferView_pimpl.C:
8040         * CutAndPaste.C:
8041         * LaTeX.C:
8042         * LaTeXFeatures.C:
8043         * ParagraphParameters.C:
8044         * buffer.C:
8045         * bufferlist.C:
8046         * bufferparams.C:
8047         * bufferview_funcs.C:
8048         * converter.C:
8049         * counters.C:
8050         * debug.C:
8051         * exporter.C:
8052         * format.C:
8053         * importer.C:
8054         * lyx_cb.C:
8055         * lyx_main.C:
8056         * lyxfont.C:
8057         * lyxfunc.C:
8058         * lyxvc.C:
8059         * paragraph.C:
8060         * paragraph_funcs.C:
8061         * tabular.C:
8062         * tabular_funcs.C:
8063         * text2.C:
8064         * text3.C:  boost::format -> bformat  all over the place
8065
8066
8067 2003-05-09  André Pönitz  <poenitz@gmx.net>
8068
8069         * LColor.[Ch]: Pimpl the #include <map> away
8070
8071 2003-05-09  John Levon  <levon@movementarian.org>
8072
8073         * bufferlist.C: never remove emergency saves
8074
8075 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * Makefile.am: better lib building
8078
8079 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8082         instead.
8083         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8084         (simpleTeXSpecialChars): adjust
8085         (simpleTeXSpecialChars): adjust
8086         * paragraph.C (simpleTeXOnePar): adjust
8087         * buffer.C (makeLaTeXFile): adjust
8088
8089         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8090
8091         * text2.C (changeDepth): parlist cleanup
8092         (getColumnNearX): ditto
8093
8094         * rowpainter.C (getLabelFont): parlist cleanup
8095
8096         * bufferlist.C (newFile): parlist cleanup
8097
8098         * CutAndPaste.C (eraseSelection): parlist cleanup
8099
8100         * BufferView_pimpl.C (trackChanges): parlist cleanup
8101         (dispatch): ditto
8102
8103         * BufferView.C (lockInset): parlist cleanup.
8104         (ChangeInsets): ditto
8105
8106 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * CutAndPaste.h: Update file header.
8109
8110         * CutAndPaste.C: Update file header.
8111         Store the parts cut out of the Document in a limited_stack.
8112         (copySelection): adjust
8113         (pasteSelection): new function, takes the index in the limited stack.
8114         (nrOfParagraphs): adjust
8115         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8116         simplify error inset insertion.
8117         (checkPastePossible): adjust
8118
8119 2003-05-06  John Levon  <levon@movementarian.org>
8120
8121         * text2.C: don't cast wrap inset to float
8122
8123 2003-05-05  André Pönitz  <poenitz@gmx.net>
8124
8125         * iterator.C:
8126         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8127
8128         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8129           few naked Paragraph *.
8130
8131 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8132
8133         * bufferparams.C: Output warning if a document with missing
8134         TeX document class is loaded
8135         * exporter.C: Disable TeX exports if the document class is missing
8136         * lyxtextclass.C:
8137         * lyxtextclass.h:
8138         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8139         isTeXClassAvailable()
8140
8141 2003-05-03  John Levon  <levon@movementarian.org>
8142
8143         * BufferView.h:
8144         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8145         explicit cursor show/hide
8146
8147         * BufferView_pimpl.h:
8148         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8149         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8150
8151         * lyxfunc.C: hide cursor before dispatching.
8152
8153         * lyx_cb.C:
8154         * lyxfind.C:
8155         * text.C:
8156         * text3.C: remove explicit cursor hides
8157
8158 2003-05-02  André Pönitz  <poenitz@gmx.net>
8159
8160         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8161
8162         * undo_funcs.C:
8163         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8164           linked lists
8165
8166         * text2.C: tiny whitespace
8167
8168 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8169
8170         * undo_funcs.C: almost only ws changes.
8171
8172         * ParagraphList.C (splice): just return if pl is empty.
8173
8174 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * ParagraphList.C (splice): new function.
8177
8178         * CutAndPaste.C (pasteSelection): use it
8179
8180 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * CutAndPaste.C (pasteSelection): remove the last next and
8183         previous from this file.
8184
8185 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * CutAndPaste.C (pasteSelection): more clean up, user proper
8188         ParagraphList functions for pasteing.
8189
8190         * ParagraphList.C (insert): new function, three arg insert
8191
8192 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * ParagraphList.C (insert): new function, three arg insert
8195
8196         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8197         not on paragraphs.
8198
8199 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8202
8203 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8206
8207 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8210         (copySelection): clean up a bit.
8211         (pasteSelection): use make_pair
8212
8213         * ParagraphList.C (ParagraphList): implement copy constructor
8214         (operator=): implement, base on copy constructor.
8215         (assign): new func
8216
8217         * paragraph.C (erase): return a bool
8218
8219         * paragraph_pimpl.C (erasePos): remove function, move contents...
8220         (erase): ... here. Return a bool.
8221         (erase): call erase instead of erasePos.
8222
8223 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8224
8225         * ParagraphList.h: define PitPosPair
8226         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8227         ParagraphList, fix a bug on pasting multiple pars
8228         * text2.C: change interface to C&P
8229
8230 2003-04-30  André Pönitz  <poenitz@gmx.net>
8231
8232         * undo_func.C: revert part of yesterday's patch 2
8233
8234 2003-04-30  John Levon  <levon@movementarian.org>
8235
8236         * LColor.C: s/tabular/table/
8237
8238 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * text3.C (dispatch): do not convert iterator -> pointer
8241         * undo_funcs.C (setCursorParUndo): ditto
8242         * text_funcs.C (transposeChars): ditto
8243
8244         * text2.C (setLayout): ws changes only
8245
8246         * text.C (breakParagraph): do not convert iterator -> pointer
8247         (insertChar): ditto
8248         (acceptChange): ditto
8249         (rejectChange): ditto
8250         (changeCase): ditto
8251         (Delete): ditto
8252         (backspace): ditto
8253
8254         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8255         pointer
8256
8257 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8258
8259         * text3.C (gotoInset): YABG (yet another bad getChar)
8260
8261 2003-04-29  André Pönitz  <poenitz@gmx.net>
8262
8263         * paragraph.h: make operator= private unimplemented as long as
8264           it is unusable
8265
8266         * ParagraphList.C: whitespace
8267
8268         * paragraph.[Ch]:
8269         * paragraph_pimpl.[Ch]:
8270         * paragraph_funcs.C:
8271         * CutAndPaste.C:
8272         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8273
8274         * text2.C:
8275           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8276
8277 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8278
8279         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8280         * paragraph.[Ch] (erase):
8281         * paragraph_pimpl.[Ch] (erase): change return type and value
8282         * text2.C (cutSelection): some rework
8283
8284 2003-04-28  John Levon  <levon@movementarian.org>
8285
8286         * bufferlist.C: changes for unsaved changes dialog
8287
8288 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * bufferlist.C (newFile): set language (messages_) for new
8291         documents also.
8292
8293         * buffer.C (readFile): ws changes only.
8294
8295 2003-04-28  André Pönitz  <poenitz@gmx.net>
8296
8297         * undo_funcs.C:
8298         * lyxfunc.C:
8299         * buffer.[Ch]:
8300         * BufferView_pimpl.C:
8301         * BufferView.C: getParFromID related ParagraphList::iterator changes
8302
8303 2003-04-28  André Pönitz  <poenitz@gmx.net>
8304
8305         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8306           Changes
8307
8308 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * messages.C: remove one more localedir class variable.
8311
8312 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * messages.C (getLocaleDir): singleton generation function
8315         (Pimpl): use it.
8316         (Messages): add a default constructor.
8317
8318         * main.C (main): do not setup localedir here, do not call
8319         gettext_init.
8320
8321         * gettext.C (_): use it.
8322         (gettext_init): delete funciton
8323
8324 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * gettext.C (getLyXMessages): new singleton generating function.
8327
8328         * buffer.C (updateDocLang): adjust
8329
8330         * Makefile.am (messages.o): add target
8331         (main.o): remove target
8332
8333 2003-04-27  John Levon  <levon@movementarian.org>
8334
8335         * bufferlist.C:
8336         * lyx_cb.C:
8337         * lyxfunc.C:
8338         * lyxvc.C: specify cancel button in Alert::prompt
8339
8340 2003-04-26  John Levon  <levon@movementarian.org>
8341
8342         * text3.C:
8343         * lyxfunc.C:
8344         * lfuns.h:
8345         * LyXAction.C: add LFUN_INSET_SETTINGS
8346
8347         * lyxfunc.C: don't enable tabular-feature when there's
8348         just any locking inset
8349
8350 2003-04-26  John Levon  <levon@movementarian.org>
8351
8352         * bufferlist.C: re-add Cancel to buffer close question
8353
8354         * lyxfunc.C: fix import UI a bit
8355
8356 2003-04-25  John Levon  <levon@movementarian.org>
8357
8358         * gettext.C: remove the broken asserts for now
8359
8360 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * messages.C: make case where setlocale cannot comply work better.
8363
8364         * buffer.C (updateDocLang): new function
8365         (changeLanguage): use it
8366         (readFile): use it
8367
8368         * text2.C (setCounter): use B_ a bit.
8369
8370         * lyxlayout.C (Read): be sure to trim the label strings.
8371
8372         * messages.C (Messages): fix typo in comment
8373
8374         * buffer.C (readFile): set message_ after file is loaded.
8375         (makeDocBookFile): remove double return
8376         (changeLanguage): reset message_ upon language change.
8377         (B_): new func, use this to get translated buffer strings.
8378
8379         * main.C: add myself and Jean Marc as authors.
8380
8381 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * messages.[hC]: pimplify Messages, and three different pimpls to be
8384         used in different circumstances.
8385
8386         * gettext.[Ch]: change for use with new message code.
8387
8388 2003-04-24 André Pönitz <poenitz@gmx.net>
8389
8390         * factory.C: support for eqref
8391
8392 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * messages.[Ch]: add missing char
8395
8396         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8397
8398         * messages.[Ch]: New files
8399
8400 2003-04-18  John Levon  <levon@movementarian.org>
8401
8402         * BufferView.h:
8403         * BufferView.C:
8404         * BufferView_pimpl.C:
8405         * lfuns.h:
8406         * LyXAction.C:
8407         * lyxtext.h:
8408         * text2.C: remove layout-copy/paste (bug 778)
8409
8410 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8411
8412         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8413
8414 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8415
8416         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8417         if they succeed. Act accordingly.
8418
8419 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * text2.C (setCharFont): adjust
8422         (setCounter): adjust
8423         (insertStringAsLines): adjust
8424
8425         * text.C (leftMargin): adjust
8426         (setHeightOfRow): adjust
8427
8428         * rowpainter.C (paintFirst): adjust
8429         (paintLast): adjust
8430
8431         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8432         (outerHook): ditto
8433         (isFirstInSequence): ditto
8434         (getEndLabel): ditto
8435         (outerFont): adjust
8436
8437         * paragraph.C (getParLanguage): comment out some hard stuff.
8438
8439         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8440         (sgmlError): ditto
8441         (simpleDocBookOnePar): ditto
8442         (makeDocBookFile): use ParagraphList::iterator
8443
8444         * CutAndPaste.C (pasteSelection): adjust
8445
8446 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * text2.C (getFont): adjust
8449         (getLayoutFont): adjust
8450         (getLabelFont): adjust
8451
8452         * paragraph_funcs.C (TeXOnePar): adjust
8453
8454         * buffer.C (simpleLinuxDocOnePar): adjust
8455         (simpleDocBookOnePar): adjust
8456
8457         * CutAndPaste.C (pasteSelection): adjust
8458
8459         * BufferView.C (getEncoding): adjust
8460
8461         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8462
8463 2003-04-16  John Levon  <levon@movementarian.org>
8464
8465         * lyxfind.C: use parlist stuff for search/changes
8466
8467 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8470
8471         * text2.C (deleteEmptyParagraphMechanism): adjust
8472
8473         * text2.[Ch] (ownerParagraph): delete func (both of them
8474
8475 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8478
8479 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8480
8481         * ParagraphList.C: prepare for NO_NEXT
8482
8483 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * text2.C (getFont): adjust
8486         (getLayoutFont): adjust
8487         (getLabelFont): adjust
8488
8489         * paragraph.C (getFont): adjust
8490         (getLabelFont): adjust
8491         (getLayoutFont): adjust
8492
8493         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8494
8495 2003-04-15  John Levon  <levon@movementarian.org>
8496
8497         From Angus Leeming
8498
8499         * lyx_main.C: handle Include in .ui files
8500
8501 2003-04-15  John Levon  <levon@movementarian.org>
8502
8503         * MenuBackend.C: make the doc files length shorter
8504
8505         * ToolbarBackend.h:
8506         * ToolbarBackend.C: handle toolbar placement flags,
8507         Minibuffer
8508
8509 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8512         adjust
8513
8514         * paragraph_funcs.C (TeXOnePar): adjust
8515
8516         * paragraph.C (getLabelFont): add outerfont arg, adjust
8517         (getLayoutFont): ditto
8518         (simpleTeXOnePar): adjust
8519
8520         * paragraph_pimpl.C (realizeFont): delete func
8521
8522 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8523
8524         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8525         row argument, constify cur argument.
8526
8527 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8528
8529         * text2.C (getFont): adjust
8530         (getLayoutFont): adjust
8531         (getLabelFont): adjust
8532
8533         * paragraph_funcs.C (TeXOnePar): adjust
8534         (outerFont): new func...
8535         (realizeFont): ...moved out from here, changed this to facilitate
8536         transition
8537
8538         * paragraph.C (getFont): take outerfont as arg, adjust
8539         (simpleTeXOnePar): add outerfont arg, adjust
8540
8541         * buffer.C (simpleLinuxDocOnePar): adjust
8542         (simpleDocBookOnePar): adjust
8543
8544         * CutAndPaste.C (pasteSelection): adjust
8545
8546         * BufferView.C (getEncoding): adjust
8547
8548 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * text2.C (setCharFont): adjust
8551         (setCounter): adjust
8552
8553         * text.C (leftMargin): adjust
8554         (setHeightOfRow): adjust
8555
8556         * rowpainter.C (paintFirst): adjust
8557         (paintLast): adjust
8558
8559         * paragraph_pimpl.C (realizeFont): adjust
8560
8561         * paragraph.C (isFirstInSequence): move from here...
8562         * paragraph_funcs.C (isFirstInSequence): ...to here
8563
8564         * paragraph.C (outerHook): move from here...
8565         * paragraph_funcs.C (outerHook): ...to here
8566
8567         * paragraph.C (depthHook): move from here...
8568         * paragraph_funcs.C (depthHook): ...to here
8569
8570         * paragraph.C (getEndLabel): move from here...
8571         * paragraph_funcs.C (getEndLabel): ...to here
8572
8573         * text2.C (realizeFont): move from here...
8574         * paragraph_funcs.C (realizeFont): ...to here
8575
8576 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8579
8580 2003-04-14  Angus Leeming  <leeming@lyx.org>
8581
8582         * LColor.[Ch]: scrap LColor mathcursor.
8583
8584 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * lyxlex.[Ch] (text): delete function
8587         * trans.C (Load): adjust
8588         * paragraph_funcs.C (readParToken): adjust
8589
8590 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8591
8592         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8593         vector<char> instead of a char[].
8594
8595         * lyxlex_pimpl.C (getString): adjust
8596         (next): adjust
8597         (lex): use getString
8598         (eatLine): adjust
8599         (nextToken): adjust
8600
8601         * lyxlex.C (text): use pimpl_->getString()
8602         (getBool): ditto
8603         (findToken): ditto
8604
8605 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8606
8607         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8608         (makeFontEntriesLayoutSpecific): temp var for par.size()
8609         (setLayout): temp var for ownerParagraphs().end()
8610         (fullRebreak): temp var for rows().end()
8611         (selectionAsString): temp var for boost::next(startpit), realize
8612         that the while really is a regular for loop.
8613         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8614         setCursor in one place.
8615         (setParagraph): temp vr for ownerParagraphs().end()
8616         (updateCounters): make the while loop a for loop
8617         (cutSelection): temp var for ownerParagraphs().end()
8618         (updateInset): make the do {} while() a regular for loop
8619         (getCursorX): use temp vars
8620         (setCurrentFont): use temp vars
8621         (getColumnNearX): use temp vars
8622
8623 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8624
8625         * text.C (transformChar): use temp var for getChar
8626         (computeBidiTables): use temp var for row->par()
8627         (fill): move temp vars for row->par() and pit->layout() earlier in
8628         the function.
8629         (labelFill): use temp var for row->par()
8630         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8631         asc and desc, realize that pit never changes and that firstpit is
8632         just a duplicate and not needed. Exchange rit->par() with pit in a
8633         lot of places.
8634         (breakAgain): use a temp var for boost::next(rit)
8635         (breakAgainOneRow): ditto
8636         (breakParagraph): use a temp var for rows().begin()
8637         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8638         (cursorRightOneWord): use temp var for cursor.par() and
8639         cursor.pos(), remove usage of tmpcursor.
8640         (cursorLeftOneWord): use temp var for cursor.par() and
8641         cursor.pos() only set cur at end of function.
8642
8643 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * text.C, text2.C: exchange all usage of Paragraph::next with
8646         boost::next(ParagraphList::iterator)
8647
8648         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8649
8650         * text2.C (cursorTop): simplify implementation
8651         (cursorBottom): ditto
8652         (setParagraph): use ParagraphList::iterator
8653         (setCurrentFont): adjust
8654         (getColumnNearX): adjust
8655         (cursorRight): adjust
8656         (cursorLeft): remove usage of Paragraph::previous
8657         (cursorUpParagraph): ditto
8658         (deleteEmptyParagraphMechanism): slight cleanup
8659
8660         * text.C (isBoundary): take a Paragraph const & instead of a
8661         pointer as arg.
8662         (addressBreakPoint): ditto
8663         (leftMargin): remove usage of Paragraph::previous.
8664         (setHeightOfRow): ditto
8665         (cursorLeftOneWord): ditto
8666         (selectNextWordToSpellcheck): ditto
8667         (Delete): ditto
8668         (backspace): ditto
8669         (breakParagraph): remove one usage of Paragraph::next
8670         (redoParagraph): ditto
8671         (acceptChange): ditto
8672         (insertChar): adjust
8673         (rowBreakPoint): adjust
8674
8675         * bufferview_funcs.C (toggleAndShow): adjust
8676
8677 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8680         methods to access it.
8681         * lyxtext.h:
8682         * text.C: Added updateRowPositions to compute all row positions.
8683         Make top_y and getRowNearY() to use the cached y position
8684
8685 2003-04-11  John Levon  <levon@movementarian.org>
8686
8687         * text.C (rowBreakPoint): reintroduce the labelEnd
8688         checks, code copied from the row fill stuff. Deep voodoo.
8689
8690         * text.C (fill): add a comment and debugging for the
8691         next poor soul.
8692
8693 2003-04-11  John Levon  <levon@movementarian.org>
8694
8695         * text.C: make sure fullrow insets get wrapped to the next line,
8696         even when they're in a manual label
8697
8698 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * text2.C (insertParagraph): make it take ParagraphList::iterator
8701         as arg.
8702         (setLayout): make it return ParagraphList::iterator
8703         (redoParagraphs): ditto
8704         (setCounter): ditto
8705         (checkParagraph): ditto
8706
8707         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8708
8709         * text2.C: adjust several funcs.
8710         (realizeFont): take a ParagraphList::iterator as arg.
8711         (getLayoutFont): ditto
8712         (getLabelFont): ditto
8713         (setCharFont): ditto
8714
8715         * text.C: adjust several funcs.
8716
8717 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8718
8719         * text.C (selectNextWordToSpellcheck): don't accidentally
8720         skip insets
8721
8722 2003-04-10  John Levon  <levon@movementarian.org>
8723
8724         * ToolbarBackend.C (getIcon): special handling for
8725         LFUN_MATH_DELIM
8726
8727 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8728
8729         * text2.C (cursorRight): a getChar assert fixed
8730
8731 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8732
8733         * text2.C (getFont): change to take a ParagraphList::iterator
8734         instead of Paragraph*
8735         Adjust several functions.
8736
8737         * text.C (transformChar): change to take a ParagraphList::iterator
8738         instead of Paragraph*
8739         (singleWidth): ditto
8740         Adjust several functions.
8741
8742         * rowpainter.C: adjust several functions
8743         * rowpainter.h:store a ParagraphList::iterator and not a
8744         Paragraph&.
8745
8746
8747 2003-04-09  John Levon  <levon@movementarian.org>
8748
8749         * lyxfunc.C:
8750         * lfuns.h:
8751         * LyXAction.h:
8752         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8753         and the "help" bits as well
8754
8755 2003-04-09  John Levon  <levon@movementarian.org>
8756
8757         * ToolbarBackend.h:
8758         * ToolbarBackend.C: allow multiple toolbars
8759
8760 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * undo_funcs.C (setCursorParUndo): adjust
8763
8764         * text_funcs.C (transposeChars): adjust
8765
8766         * text3.C (gotoNextInset): adjust
8767         (dispatch): adjust
8768
8769         * text2.C (setLayout): adjust
8770         (changeDepth): adjust
8771         (setFont): adjust
8772         (redoParagraphs): adjust
8773         (selectionAsString): adjust
8774         (setParagraph): adjust
8775         (insertInset): adjust
8776         (cutSelection): adjust
8777         (copySelection): adjust
8778         (pasteSelection): adjust
8779         (insertStringAsLines): adjust
8780         (updateInset): adjust
8781         (setCursor): change to take a ParagraphList::iterator parameter
8782         (setCursorIntern): change to take a ParagraphList::iterator parameter
8783         (setCurrentFont): adjust
8784         (cursorLeft): adjust
8785         (cursorRight): adjust
8786         (deleteEmptyParagraphMechanism): adjust
8787
8788         * text.C (breakParagraph): adjust
8789         (insertChar): adjust
8790         (acceptChange): adjust
8791         (rejectChange): adjust
8792         (selectNextWordToSpellcheck): adjust
8793         (changeCase): adjust
8794         (Delete): adjust
8795         (backspace): adjust
8796
8797         * lyxfind.C (SearchForward): adjust
8798         (SearchBackward): adjust
8799         (nextChange): adjust
8800
8801         * lyxcursor.C (par): adjust
8802
8803         * lyxcursor.h: store a ParagraphList::iterator instead of a
8804         Paragraph*
8805
8806         * lyx_cb.C (getPossibleLabel): adjust
8807
8808         * bufferview_funcs.C (toggleAndShow): adjust
8809
8810         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8811         (dispatch): adjust
8812
8813         * BufferView.C (removeAutoInsets): adjust
8814         (lockedInsetStoreUndo): adjust
8815
8816 2003-04-09  John Levon  <levon@movementarian.org>
8817
8818         * ToolbarBackend.C: try icon without argument
8819         if with argument fails
8820
8821 2003-04-08  John Levon  <levon@movementarian.org>
8822
8823         * ToolbarBackend.h:
8824         * ToolbarBackend.C: add getIcon(), handle tooltip,
8825         and change from "Icon" to "Item".
8826
8827 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8828
8829         * BufferView.C (lockInset): another bad getchar crunched
8830
8831 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8832
8833         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8834         again)
8835
8836 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8837
8838         * lyxfind.C (searchForward, searchBackwards): bug 782
8839
8840 2003-04-07  John Levon  <levon@movementarian.org>
8841
8842         * paragraph.C: remove dead comment
8843
8844         * text.C: remove troublesome depth-fiddling code
8845         in leftMargin() and rightMargin() (bug 1017)
8846
8847         * text.C: fix breaking of rows in nested lists
8848         (bug 1004)
8849
8850         * text2.C (updateCounters): fix up depth values
8851         (bug 1013)
8852
8853 2003-04-07  John Levon  <levon@movementarian.org>
8854
8855         * BufferView_pimpl.C: clear message when doc finishes resizing,
8856         and after a mouse event
8857
8858         * lyxfunc.C: clear message after exiting inset
8859
8860 2003-04-07  John Levon  <levon@movementarian.org>
8861
8862         * bufferview_funcs.C: show math status not outside
8863         status in the statusbar
8864
8865 2003-04-07  John Levon  <levon@movementarian.org>
8866
8867         * lyxfunc.C: note status changed after a depth change
8868
8869 2003-04-04  Angus Leeming  <leeming@lyx.org>
8870
8871         * LaTeX.h: move AuxInfo operator==, != out of line.
8872         Remove LaTeX virtual destructor; nothing derives from it.
8873         Move operator()() out of public area and rename it startscript().
8874         Change protected for private.
8875
8876 2003-04-04  Angus Leeming  <leeming@lyx.org>
8877
8878         * lyxfunc.C:
8879         * text2.C: remove unneeded #includes.
8880
8881 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8882
8883         * text2.C (dEPM): fix the heigth of the next row
8884
8885 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8886
8887         * text.C: squashed an invalid getChar requester + some ws changes
8888
8889 2003-04-03  John Levon  <levon@movementarian.org>
8890
8891         * bufferview_funcs.h:
8892         * bufferview_funcs.C:
8893         * lyxfunc.C:
8894         * lyxtext.h:
8895         * text2.C: make getStatus work for the env depth lfuns
8896
8897 2003-04-03  John Levon  <levon@movementarian.org>
8898
8899         * bufferview_funcs.h:
8900         * bufferview_funcs.C:
8901         * lyxfunc.C:
8902         * lyxtext.h:
8903         * text2.C: parlistize decDepth(), by merging it with incDepth()
8904
8905 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8906
8907         * lyxrow.h: store a ParagraphList::iterator instead of a
8908         Paragraph* and adjust other class functions to suit.
8909
8910         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8911         above.
8912
8913 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8914
8915         * text2.C (setCursor): do not anchor to cursor row for the time being
8916
8917 2003-04-02  John Levon  <levon@movementarian.org>
8918
8919         * LyXAction.C:
8920         * lfuns.h:
8921         * lyx_main.C:
8922         * lyxtext.h:
8923         * text.C:
8924         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8925
8926 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * paragraph.h: make ParagraphList and ParagraphList::iterator
8929         friends of Paragraph.
8930
8931         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8932
8933         * ParagraphList.C: Use the private next_ and previous_ from
8934         Paragraph.
8935
8936 2003-04-01  John Levon  <levon@movementarian.org>
8937
8938         * ToolbarBackend.h:
8939         * ToolbarBackend.C:
8940         * Makefile.am: rename, remove defaults gunk
8941
8942         * MenuBackend.h:
8943         * MenuBackend.C: remove defaults gunk
8944
8945         * Languages.h:
8946         * Languages.C: remove defaults gunk
8947
8948         * lyx_main.h:
8949         * lyx_main.C: error out if files couldn't be found.
8950
8951 2003-04-02  John Levon  <levon@movementarian.org>
8952
8953         * text2.C: make incDepth() use parlist
8954
8955 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8956
8957         * undo_funcs.C (firstUndoParagraph): adjust
8958
8959         * text3.C (gotoInset): adjust
8960         (dispatch): adjust, and rewrite loop.
8961
8962         * text2.C (init): adjust, and rewrite loop.
8963         (redoParagraphs): adjust
8964         (updateInset): adjust, and rewrite loop.
8965         (deleteEmptyParagraphMechanism): adjust
8966
8967         * tabular.C (LyXTabular): adjust
8968         (SetMultiColumn): adjust
8969         (TeXRow): adjust
8970
8971         * lyxtext.[Ch] (ownerParagraph): delete function
8972         (ownerParagraphs): new function returns a ParagraphList.
8973
8974         * BufferView.C (removeAutoInsets): adjust
8975         (insertErrors): adjust
8976         (setCursorFromRow): adjust
8977
8978 2003-04-01  Angus Leeming  <leeming@lyx.org>
8979
8980         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8981         in the frontends.
8982
8983 2003-04-02  John Levon  <levon@movementarian.org>
8984
8985         * lyxtext.h:
8986         * text.C:
8987         * Makefile.am:
8988         * text_funcs.h:
8989         * text_funcs.C: make transposeChars a free function
8990
8991         * lyxrow_funcs.C: remove wrong comment
8992
8993 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8994
8995         * lyxtext.h: adjust
8996         * rowpainter.C: adjust
8997         * text.C: adjust
8998         * text2.C: adjust
8999         * text3.C: adjust
9000
9001         * lyxrow_funcs. [Ch]: new files
9002
9003         * lyxrow.[Ch]: remove next and previous pointers
9004         (next,previous): remove accessor functions
9005         (isParEnd): move to lyxrow_funcs
9006         (lastPos): move to lyxrow_funcs
9007         (nextRowIsAllInset): move to lyxrow_funcs
9008         (lastPrintablePos): move to lyxrow_funcs
9009         (numberOfSeparators): move to lyxrow_funcs
9010         (numberOfHfills): move to lyxrow_funcs
9011         (numberOfLabelHfills): move to lyxrow_funcs
9012         (hfillExpansion): move to lyxrow_funcs
9013
9014         * lyxfunc.C: adjust
9015
9016         * bufferview_funcs.C (toggleAndShow): adjust
9017
9018         * RowList.h: Remove class RowList from file leave just a
9019         std::list<Row>.
9020
9021         * RowList.C: delete file
9022
9023         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9024         and lyxrow_funcs.h
9025
9026 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9027
9028         * text3.C (cursorPrevious): adjust
9029         (cursorNext): adjust
9030         (dispatch): adjust
9031
9032         * text2.C (redoHeightOfParagraph): adjust
9033         (redoDrawingOfParagraph): adjust
9034         (setCursor): adjust
9035
9036         * text.C (breakParagraph): adjust
9037         (insertChar): adjust
9038         (backspace): adjust
9039
9040         * rowpainter.C (RowPainter): adjust
9041         (leftMargin): simplify and adjust
9042         (most rowpainter functions): adjust.
9043
9044         * rowpainter.h: store the row as RowList::iterator not as Row*
9045
9046         * lyxcursor.C (row): taka RowList::iterator as arg
9047         (irow): ditto
9048
9049         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9050         of Row*.
9051
9052 2003-04-01  Angus Leeming  <leeming@lyx.org>
9053
9054         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9055         stuff like bool Bool.
9056
9057 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9058
9059         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9060         rewrite a loop
9061
9062 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9063
9064         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9065         RowList::iterator.
9066
9067         * lyxtext.h (rows): drop one version and leve a const variant that
9068         returns a RowList::iterator.
9069
9070 2003-03-31  Angus Leeming  <leeming@lyx.org>
9071
9072         * text.C (fill): ensure that the signature is the same as that in the
9073         header file.
9074
9075 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * text2.C (redoParagraphs): adjust
9078         (updateCounters): adjust
9079         (checkParagraph): adjust
9080         (getColumnNearX): adjust and reformat a bit.
9081
9082         * text.C (top_y): adjust
9083         (workWidth): adjust
9084         (leftMargin): adjust
9085         (prepareToPrint): adjust
9086         (getRow): adjust
9087         (getRowNearY): adjust
9088
9089         * lyxtext.h: make rowlist_ mutable.
9090
9091         * RowList.h: add const_iterator
9092         * RowList.C: adjust for RowList::const_iterator.
9093
9094         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9095         adjust.
9096
9097 2003-03-31  John Levon  <levon@movementarian.org>
9098
9099         * lyxrc.h:
9100         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9101
9102         * lyx_main.C: set default fonts from using lyx_gui funcs
9103
9104         * exporter.C: pdf_mode moved from lyxrc
9105
9106         * lyx_cb.C:
9107         * lyxfunc.C: changes from above
9108
9109 2003-03-31  John Levon  <levon@movementarian.org>
9110
9111         * lyx_main.C: fix to the last fix
9112
9113 2003-03-31  John Levon  <levon@movementarian.org>
9114
9115         * bufferlist.C: "Load original" -> "Load Original"
9116
9117         * converter.C:
9118         * exporter.C:
9119         * importer.C:
9120         * lyx_main.C:
9121         * format.C: more Alert cleanups
9122
9123 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * text2.C (removeParagraph): make it take a RowList::iterator as
9126         arg, adjust.
9127         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9128         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9129
9130         * text.C (anchor_row): make it take a RowList::iterator as arg,
9131         adjust.
9132         (computeBidiTables): make it take a const reference to Row instead
9133         of Row pointer, adjust.
9134         (leftMargin): make it take a RowList::iterator as arg, adjust.
9135         (rowBreakPoint): adjust
9136         (breakAgainOneRow): make it take a RowList::iterator as arg,
9137         adjust.
9138         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9139
9140         * bufferview_funcs.C (toggleAndShow): adjust
9141
9142 2003-03-30  John Levon  <levon@movementarian.org>
9143
9144         * Makefile.am:
9145         * BoostFormat.h:
9146         * boost-inst.C: moved to support
9147
9148         * several files: changes as a result
9149
9150 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9151
9152         * text2.C (LyXText): adjust.
9153         (init): adjust
9154         (removeRow): make it take a RowList::iterator as arg, adjust.
9155         (fullRebreak): adjust
9156         (deleteEmptyParagraphMechanism): adjust
9157         (clearPaint): adjust
9158         (postPaint): adjust
9159
9160         * text.C (top_y): adjust
9161         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9162         (breakAgain): make it take a RowList::iterator as arg, adjust.
9163         (breakParagraph): adjust
9164         (insertChar): adjust
9165         (backspace): adjust
9166
9167         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9168         need_break_row, and refresh_row.
9169
9170         * text3.C (dispatch): adjust
9171
9172         * text2.C (checkParagraph): adjust
9173         (setCursor): adjust
9174         (setCursorFromCoordinates): adjust
9175
9176         * text.C (top_y): adjust
9177         (workWidth): adjust
9178         (getRow): make it return a RowList::iterator, adjust
9179         (getRowNearY): make it return a RowList::iterator, adjust
9180
9181         * text2.C (init): adjust
9182         (insertRow): remove function
9183         (insertParagraph): adjust
9184         (redoParagraphs): adjust
9185         (fullRebreak): adjust
9186         (updateCounters): adjust
9187
9188         * text.C (top_y): rewrite to use RowList iterators.
9189         (top_y): adjust
9190         (setHeightOfRow): rewrite to sue RowList iterators.
9191         (appendParagraph): adjust
9192         (breakAgain): adjust
9193         (breakAgainOneRow): adjust
9194         (breakParagraph): adjust
9195         (getRow): adjust
9196         (getRowNearY): adjust, and remove commented code.
9197
9198         * lyxtext.h (firstRow): delete function
9199         (lastRow): delete function
9200         (rows): new function (const and non-const versions.)
9201         (insertRow): delete function
9202
9203         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9204
9205 2003-03-29  John Levon  <levon@movementarian.org>
9206
9207         * BufferView_pimpl.C: always update scrollbar top
9208         because pasting text when we're anchored could mean we
9209         miss an update altogether
9210
9211 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * text2.C (init): use rowlist_.end() and not 0.
9214         (insertRow): change to take a RowList::iterator as arg, adjust
9215         for this.
9216         (insertParagraph): change to take a RowList::iterator as arg,
9217         adjust for this.
9218         (redoParagraphs): remove some debug msgs.
9219
9220         * text.C (appendParagraph): change to take a RowList::iterator
9221         arg, adjust for this.
9222         (breakAgain): add an assert
9223         (breakAgainOneRow): ditto
9224
9225 2003-03-29  John Levon  <levon@movementarian.org>
9226
9227         * text2.C: do not clear selection after inc/decDepth
9228         (bug 550)
9229
9230 2003-03-29  John Levon  <levon@movementarian.org>
9231
9232         * BufferView.C:
9233         * buffer.C: fix broken strerrors according to Lars
9234
9235 2003-03-29  John Levon  <levon@movementarian.org>
9236
9237         * converters.C: more Alert cleanups
9238
9239 2003-03-29  John Levon  <levon@movementarian.org>
9240
9241         * bufferview_funcs.C: remove pointless Alert
9242
9243         * buffer.C: fix confusing error message when
9244         a template is chmoded 000
9245
9246 2003-03-29  John Levon  <levon@movementarian.org>
9247
9248         * BufferView.C:
9249         * BufferView.h:
9250         * BufferView_pimpl.C: Alert fixes
9251
9252         * Makefile.am:
9253         * tabular.C:
9254         * tabular-old.C: remove unused table compat reading
9255
9256 2003-03-29  John Levon  <levon@movementarian.org>
9257
9258         * BufferView.C:
9259         * buffer.C:
9260         * lyx_cb.h:
9261         * lyx_cb.C: more Alert cleanups
9262
9263         * lyxfunc.C: don't allow chktex if not latex document
9264
9265 2003-03-29  John Levon  <levon@movementarian.org>
9266
9267         * lyx_cb.C:
9268         * BufferView.C:
9269         * buffer.C: warnings pushed down from support/,
9270         kill err_alert
9271
9272 2003-03-29  John Levon  <levon@movementarian.org>
9273
9274         * lyxfunc.C: safety check for C-r (revert)
9275
9276 2003-03-29  John Levon  <levon@movementarian.org>
9277
9278         * bufferlist.h:
9279         * bufferlist.C: several UI fixes using Alert::prompt.
9280         Fix the pointless looping quit code. Fix stupid revert
9281         behaviour (bug 938)
9282
9283         * lyxvc.h:
9284         * lyxvc.C:
9285         * lyx_cb.C: use Alert::prompt
9286
9287         * lyx_main.C: remove a silly question
9288
9289         * lyxfunc.C: remove a couple of silly questions,
9290         use Alert::prompt
9291
9292 2003-03-28  John Levon  <levon@movementarian.org>
9293
9294         * text2.C: fix bug 974 (End on empty par)
9295
9296 2003-03-28  John Levon  <levon@movementarian.org>
9297
9298         * BufferView_pimpl.C:
9299         * LyXAction.C:
9300         * lfuns.h: remove do-nothing math greek lfuns
9301
9302 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9303
9304         * lyxgluelength.h (isValidGlueLength): add default arg on
9305         parameter 2. Remove default arg from friend in class.
9306
9307         * lyxlength.h (isValidLength): add default arg on parameter 2.
9308         Remove default arg from friend in class.
9309
9310         * text2.C (LyXText): adjust, initialize refresh_row.
9311         (init): adjust
9312         (removeRow): adjust
9313         (insertRow): adjust
9314         (insertParagraph): adjst
9315         (redoParagraphs): adjust
9316         (fullRebreak): adjust
9317         (updateCounters): adjust
9318         (deleteEmptyParagraphMechanism): first attempt at fixing a
9319         crashing bug.
9320
9321         * text.C (top_y): adjust
9322         (setHeightOfRow): adjust
9323         (getRow): adjust
9324         (getRowNearY): adjust
9325
9326         * lyxtext.h: include RowList.h
9327         (~LyXText): not needed anymore, deleted.
9328         (firstRow): modify for RowList
9329         (lastRow): new function
9330         Delete firstrow and lastrow class variables, add a Rowlist
9331         rowlist_ class variable.
9332
9333         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9334         paragraph is empty.
9335
9336         * RowList.C (insert): fix case where it == begin().
9337
9338 2003-03-26  Angus Leeming  <leeming@lyx.org>
9339
9340         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9341         the thesaurus dialog.
9342
9343 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9344
9345         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9346
9347         * RowList.[Ch]: new files
9348
9349         * ParagraphList.C (erase): handle the case where it == begin
9350         correctly.
9351
9352 2003-03-25  John Levon  <levon@movementarian.org>
9353
9354         * Makefile.am:
9355         * aspell_local.h:
9356         * aspell.C: add new aspell support
9357
9358         * lyxrc.h:
9359         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9360         have it accessible.
9361
9362 2003-03-25  Angus Leeming  <leeming@lyx.org>
9363
9364         * lfuns.h:
9365         * LyXAction.C (init): new LFUN_INSET_INSERT.
9366
9367         * BufferView_pimpl.C (dispatch): split out part of the
9368         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9369
9370         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9371         LFUN_INSET_APPLY.
9372
9373 2003-03-25  Angus Leeming  <leeming@lyx.org>
9374
9375         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9376
9377 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9378
9379         * text2.C:
9380         * text3.C: remove useless row->height(0)
9381
9382 2003-03-25  John Levon  <levon@movementarian.org>
9383
9384         * lyxtext.h:
9385         * text2.C:
9386         * text3.C: rename the refreshing stuff to better names
9387
9388 2003-03-24  John Levon  <levon@movementarian.org>
9389
9390         * BufferView_pimpl.h:
9391         * BufferView_pimpl.C: update layout choice on a mouse
9392         press/release
9393
9394 2003-03-23  John Levon  <levon@movementarian.org>
9395
9396         * Makefile.am: fix commandtags.h reference
9397
9398 2003-03-22  John Levon  <levon@movementarian.org>
9399
9400         * BufferView_pimpl.C:
9401         * lyxtext.h:
9402         * rowpainter.C:
9403         * rowpainter.h:
9404         * text.C:
9405         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9406
9407 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9408
9409         * lyxtext.h:
9410         * text.C: take the rtl methods out of line
9411
9412 2003-03-21 André Pönitz <poenitz@gmx.net>
9413
9414         * metricsinfo.[Ch]: new files containing structures to be passed around
9415         during the two-phase-drawing...
9416
9417 2003-03-21 André Pönitz <poenitz@gmx.net>
9418
9419         * lyxtextclass.C: read 'environment' tag.
9420
9421 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9422
9423         * text2.C (removeRow): fix bug 964
9424
9425 2003-03-20  John Levon  <levon@movementarian.org>
9426
9427         * rowpainter.C:
9428         * text.C:
9429         * text2.C: paint cleanups. Inset::update() dropped font
9430         parameter
9431
9432 2003-03-19  John Levon  <levon@movementarian.org>
9433
9434         * lyxfunc.C: only fitcursor/markDirty if available()
9435
9436 2003-03-19  John Levon  <levon@movementarian.org>
9437
9438         * commandtags.h: rename to ...
9439
9440         * lfuns.h: ... this, and renumber / cleanup
9441
9442 2003-03-19  John Levon  <levon@movementarian.org>
9443
9444         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9445         fit the cursor after an lfun
9446
9447         * BufferView.h:
9448         * BufferView.C:
9449         * BufferView_pimpl.h:
9450         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9451
9452         * LyXAction.C: layout-character should have ReadOnly
9453
9454         * ParagraphParameters.C:
9455         * buffer.C:
9456         * bufferview_funcs.C:
9457         * lyx_cb.C:
9458         * lyxfind.C:
9459         * lyxtext.h:
9460         * text.C:
9461         * text2.C:
9462         * text3.C:
9463         * undo_funcs.C: changes from above
9464
9465 2003-03-18  John Levon  <levon@movementarian.org>
9466
9467         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9468         remove it from update()
9469
9470         * lyxfunc.C: update layout choice after an lfun
9471
9472         * text3.C: remove extra updateLayoutChoice()s
9473
9474 2003-03-18  John Levon  <levon@movementarian.org>
9475
9476         * text.C: top_y change means full repaint, fix
9477         a drawing bug with cursor movement
9478
9479 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9480
9481         * lyxtext.h:
9482         * text.C:
9483         * text2.C: anchor row on setCursor
9484
9485 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9486
9487         * lyxtext.h: remove almost all mutable keywords
9488         * text.C:
9489         * text2.C:
9490         * text3.C: remove const keywords accordingly
9491
9492 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9493
9494         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9495         anon namespace
9496         (TeXEnvironment): ditto
9497         (TeXOnePar): ditto
9498
9499 2003-03-17  John Levon  <levon@movementarian.org>
9500
9501         * text.C (rowBreakPoint): remove attempt to fix displayed
9502         math insets inside a manual label
9503
9504 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9505
9506         * lyxtext.h: remove BufferView* as first arg from almost all class
9507         functions.
9508         * other files: adjust.
9509
9510 2003-03-17  John Levon  <levon@movementarian.org>
9511
9512         * lyxtext.h:
9513         * undo_funcs.C:
9514         * text2.C: more paint cleanups
9515
9516         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9517
9518         * rowpainter.h:
9519         * rowpainter.C: remove "smart" background painting code
9520
9521 2003-03-16  John Levon  <levon@movementarian.org>
9522
9523         * lyxtext.h:
9524         * text.C:
9525         * text2.C:
9526         * text3.C: add helper functions for setting refresh_row/y
9527
9528 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9529
9530         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9531         newline inset which *can* get inserted in the pass_thru layouts.
9532         This is primarily for literate documents.
9533
9534 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9535
9536         * buffer.C: increment LYX_FORMAT to 223
9537
9538 2003-03-14 André Pönitz <poenitz@gmx.net>
9539
9540         * textclass.h: prepare for environment handling, ws changes
9541         * lyxlayout.C: read latexheader and latexfooter tags
9542
9543 2003-03-14  John Levon  <levon@movementarian.org>
9544
9545         * text2.C: rewrite ::status() a bit
9546
9547 2003-03-13  John Levon  <levon@movementarian.org>
9548
9549         * lyxtext.h: add some docs
9550
9551 2003-03-13  John Levon  <levon@movementarian.org>
9552
9553         * lyxtext.h:
9554         * text.C:
9555         * text2.C:
9556         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9557
9558 2003-03-13  John Levon  <levon@movementarian.org>
9559
9560         * text3.C: fix appendix redrawing
9561
9562 2003-03-13  John Levon  <levon@movementarian.org>
9563
9564         * text.C (setHeightOfRow):
9565         * rowpainter.h:
9566         * rowpainter.C: make appendix mark have the text
9567           "Appendix" so the user knows what it is
9568
9569         * LColor.h:
9570         * LColor.C: s/appendixline/appendix/ from above
9571
9572 2003-03-13  John Levon  <levon@movementarian.org>
9573
9574         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9575
9576         * text.C: fix a getChar(pos) bug properly
9577
9578 2003-03-13  Angus Leeming  <leeming@lyx.org>
9579
9580         * commandtags.h:
9581         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9582         Probably only temporary. Let's see how things pan out.
9583
9584         * BufferView.C (unlockInset):
9585         * BufferView_pimpl.C (fitCursor):
9586         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9587
9588         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9589         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9590
9591         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9592         new functions that convert ParagraphParameters to and from a string.
9593
9594         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9595         BufferView::Pimpl's dispatch.
9596         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9597
9598 2003-03-13 André Pönitz <poenitz@gmx.net>
9599
9600         * lyxfunc.C:
9601         * text3.C:
9602         * factory.C: make it aware of InsetEnv
9603
9604 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9605
9606         * text2.C (setCursor): never ask for one past last
9607         (setCursor): add some debugging messages.
9608
9609         * text.C (singleWidth): never ask for one past last
9610         (singleWidth): ditto
9611         (leftMargin): ditto
9612         (rightMargin): ditto
9613         (rowBreakPoint): ditto
9614         (setHeightOfRow): ditto
9615         (prepareToPrint): ditto
9616
9617         * rowpainter.C (paintBackground): never ask for one past last
9618         (paintText): never ask for one past last
9619
9620         * paragraph_pimpl.C (getChar): make the assert stricter, never
9621         allow the one past last pos to be taken
9622
9623         * paragraph.C (getChar): ws changes only
9624
9625         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9626         (numberOfSeparators): ditto
9627         (numberOfHfills): ditto
9628
9629 2003-03-12  John Levon  <levon@movementarian.org>
9630
9631         * author.h:
9632         * author.C:
9633         * bufferparams.h:
9634         * bufferparams.C:
9635         * paragraph_funcs.C: fix per-buffer authorlists
9636
9637 2003-03-12  John Levon  <levon@movementarian.org>
9638
9639         * text.C: fix newline in right address
9640
9641 2003-03-12  Angus Leeming  <leeming@lyx.org>
9642
9643         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9644         duplicate those in LyXFunc::dispatch.
9645
9646         * commandtags.h:
9647         * LyXAction.C:
9648         * ToolbarDefaults.C:
9649         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9650         Add LFUN_FONTFREE_UPDATE.
9651
9652         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9653         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9654
9655         * bufferview_func.[Ch]: several new functions to facilliate
9656         transfer of data to and from the character dialog.
9657
9658 2003-03-12  John Levon  <levon@movementarian.org>
9659
9660         * buffer.C:
9661         * paragraph.h:
9662         * paragraph.C:
9663         * paragraph_funcs.C:
9664         * paragraph_pimpl.C:
9665         * sgml.C:
9666         * tabular.C:
9667         * text.C:
9668         * text3.C: remove META_NEWLINE in favour of an inset
9669
9670         * rowpainter.h:
9671         * rowpainter.C: remove paintNewline (done by inset)
9672
9673 2003-03-12  John Levon  <levon@movementarian.org>
9674
9675         * paragraph_pimpl.C: complain about bad getChar()s
9676         for a while at least
9677
9678 2003-03-12  John Levon  <levon@movementarian.org>
9679
9680         * buffer.h:
9681         * buffer.C: move paragraph read into a separate function,
9682         a little renaming to reflect that.
9683
9684         * bufferparams.h:
9685         * bufferparams.C: remove the author_ids map, not necessary now
9686
9687         * factory.h:
9688         * factory.C: moved Buffer::readInset to here
9689
9690         * paragraph_funcs.h:
9691         * paragraph_funcs.C: readParagraph free function moved from
9692         buffer.C
9693
9694         * tabular.C: name change
9695
9696 2003-03-12  John Levon  <levon@movementarian.org>
9697
9698         * buffer.C:
9699         * ParagraphParameters.C: move par params input to
9700         a read() method
9701
9702         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9703         behave like a normal read from the stream wrt reading
9704         a line vs. a \\token
9705
9706 2003-03-12  John Levon  <levon@movementarian.org>
9707
9708         * paragraph.C:
9709         * ParagraphParameters.h:
9710         * ParagraphParameters.C: move output code to a
9711         ::write() method
9712
9713 2003-03-12  John Levon  <levon@movementarian.org>
9714
9715         * BufferView.C (insertLyXFile):
9716         * buffer.h:
9717         * buffer.C:
9718         * tabular.C: use a parlist iterator for creating the
9719           document.
9720
9721 2003-03-12  John Levon  <levon@movementarian.org>
9722
9723         * buffer.C: make current_change static local not
9724           static file-scope
9725
9726 2003-03-12  John Levon  <levon@movementarian.org>
9727
9728         * buffer.C: fix insertStringAsLines for change tracking
9729
9730 2003-03-12  John Levon  <levon@movementarian.org>
9731
9732         * BufferView.C:
9733         * tabular.C:
9734         * buffer.h:
9735         * buffer.C:
9736         * bufferparams.h:
9737         * bufferparams.C: move author list into params. Rename some
9738           functions. Move the header reading into a separate token
9739           loop. Move the header token reading into BufferParams.
9740
9741 2003-03-12  John Levon  <levon@movementarian.org>
9742
9743         * changes.C: put debug inside lyxerr.debugging() checks
9744
9745 2003-03-11 André Pönitz <poenitz@gmx.net>
9746
9747         * factory.C: make it aware of InsetHFill
9748
9749 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9750
9751         * buffer.C (latexParagraphs): move function from here...
9752         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9753         args.
9754
9755 2003-03-10  Angus Leeming  <leeming@lyx.org>
9756
9757         * LyXAction.C (init): fix bug in poplating array with multiple entries
9758         with the same LFUN (spotted by JMarc).
9759
9760 2003-03-10  John Levon  <levon@movementarian.org>
9761
9762         * text.C:
9763         * text2.C: move getColumnNearX() near its
9764         only call site
9765
9766 2003-03-10  John Levon  <levon@movementarian.org>
9767
9768         * text.C: fix break before a minipage
9769
9770 2003-03-10  John Levon  <levon@movementarian.org>
9771
9772         * text.C: fix the last commit
9773
9774 2003-03-09  John Levon  <levon@movementarian.org>
9775
9776         * lyxtext.h:
9777         * text.C:
9778         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9779         bug 365 (don't break before insets unless needed). Don't
9780         return a value > last under any circumstances.
9781
9782 2003-03-09  Angus Leeming  <leeming@lyx.org>
9783
9784         * BufferView_pimpl.C (trackChanges, dispatch): call
9785         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9786
9787 2003-03-09  Angus Leeming  <leeming@lyx.org>
9788
9789         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9790         than Dialogs::showAboutlyx().
9791
9792 2003-03-09  Angus Leeming  <leeming@lyx.org>
9793
9794         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9795         than Dialogs::showTabularCreate().
9796
9797 2003-03-09  John Levon  <levon@movementarian.org>
9798
9799         * lyxtext.h:
9800         * text.C:
9801         * text2.C: 3rd arg to nextBreakPoint was always the same.
9802           Use references.
9803
9804 2003-03-08  John Levon  <levon@movementarian.org>
9805
9806         * lyxrow.C:
9807         * paragraph.C:
9808         * paragraph.h:
9809         * rowpainter.C:
9810         * text.C:
9811         * text2.C: Remove the "main" bit from the "main body"
9812           notion.
9813
9814 2003-03-08  John Levon  <levon@movementarian.org>
9815
9816         * text.C (leftMargin): The left margin of an empty
9817         manual label paragraph should not include the label width
9818         string length.
9819
9820         * text.C (prepareToPrint): don't attempt to measure hfills
9821         for empty manual label paragraphs - the answer should be 0
9822
9823 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9824
9825         * CutAndPaste.C: remove commented code and reindent.
9826
9827 2003-03-08  John Levon  <levon@movementarian.org>
9828
9829         * lyxfunc.h:
9830         * lyxfunc.C: move reloadBuffer()
9831
9832         * BufferView.h:
9833         * BufferView.C: to here
9834
9835         * lyxvc.C: add comment
9836
9837         * vc-backend.h:
9838         * vc-backend.C: call bv->reload() to avoid
9839           getStatus() check on MENURELOAD
9840
9841 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9842
9843         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9844         to an old format .dep file.
9845
9846 2003-03-07  Angus Leeming  <leeming@lyx.org>
9847
9848         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9849         when the LFUN_MOUSE_RELEASE should have been handled by
9850         inset->localDispatch.
9851
9852 2003-03-07  Angus Leeming  <leeming@lyx.org>
9853
9854         * BufferView_pimpl.C (dispatch):
9855         * LyXAction.C (init):
9856         * ToolbarDefaults.C (init):
9857         * commandtags.h:
9858         * lyxfunc.C (getStatus):
9859         remove LFUN_INSET_GRAPHICS.
9860
9861         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9862
9863 2003-03-07  Angus Leeming  <leeming@lyx.org>
9864
9865         * commandtags.h:
9866         * LyXAction.C (init):
9867         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9868
9869         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9870
9871         * commandtags.h:
9872         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9873
9874         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9875         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9876
9877 2003-03-07  Angus Leeming  <leeming@lyx.org>
9878
9879         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9880         remove "ert".
9881
9882 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9883
9884         * ParagraphList.C (front): new function
9885         (back): implement
9886
9887 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9888
9889         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9890         and top_row_offset_. removed var first_y.
9891         * text.C (top_y):
9892         * text2.C (LyXText, removeRow):
9893         * text3.C:
9894         * BufferView_pimpl.C:
9895         use these methods instead of using first_y
9896
9897 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9898
9899         * text2.C (pasteSelection): adjust for checkPastePossible
9900
9901         * CutAndPaste.C: remove Paragraph * buf and replace with
9902         ParagraphList paragraphs.
9903         (DeleteBuffer): delete
9904         (cutSelection): change the tc type to textclass_type
9905         (copySelection): change the tc type to textclass_type
9906         (copySelection): adjust for ParagraphList
9907         (pasteSelection): change the tc type to textclass_type
9908         (pasteSelection): adjust for Paragraphlist
9909         (nrOfParagraphs): simplify for ParagraphList
9910         (checkPastePossible): simplify for ParagraphList
9911         (checkPastePossible): remove unused arg
9912
9913         * ParagraphList.C (insert): handle the case where there are no
9914         paragraphs yet.
9915
9916         * CutAndPaste.h: make CutAndPaste a namespace.
9917
9918         * text3.C (dispatch): adjust
9919
9920         * text.C (breakParagraph): add a ParagraphList as arg
9921
9922         * paragraph_funcs.C (breakParagraph): change to take a
9923         BufferParams and a ParagraphList as args.
9924         (breakParagraphConservative): ditto
9925         (mergeParagraph): ditto
9926         (TeXDeeper): add a ParagraphList arg
9927         (TeXEnvironment): ditto
9928         (TeXOnePar): ditto
9929
9930         * buffer.C (readLyXformat2): adjust
9931         (insertStringAsLines): adjust
9932         (latexParagraphs): adjust
9933
9934         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9935         (cutSelection): adjust
9936         (pasteSelection): adjust
9937
9938         * BufferView_pimpl.C (insertInset): adjust
9939
9940 2003-03-05  Angus Leeming  <leeming@lyx.org>
9941
9942         * commandtags.h:
9943         * LyXAction.C (init):
9944         * BufferView_pimpl.C (dispatch):
9945         * lyxfunc.C (getStatus):
9946         remove LFUN_CHILD_INSERT.
9947
9948         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9949
9950 2003-03-05  Angus Leeming  <leeming@lyx.org>
9951
9952         * commandtags.h:
9953         * LyXAction.C (init):
9954         * src/factory.C (createInset):
9955         * lyxfunc.C (getStatus):
9956         * text3.C (dispatch):
9957         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9958
9959         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9960
9961 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9962
9963         * ParagraphList.C (insert): handle insert right before end()
9964         (erase): fix cases where it can be first or last paragraph.
9965
9966 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9967
9968         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9969         Paragraph::next and Paragraph::previous
9970         (TeXOnePar): ditto
9971
9972         * text.C (breakParagraph): adjust
9973
9974         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9975         BufferParams& as arg.
9976         (breakParagraph): use ParagraphList::insert
9977         (breakParagraphConservative): take a Buffer* instead of a
9978         BufferParams& as arg.
9979         (breakParagraphConservative): use ParagraphList::insert.
9980
9981         * buffer.C (insertStringAsLines): un-const it
9982         (insertStringAsLines): adjust
9983
9984         * ParagraphList.C (insert): new function
9985
9986         * CutAndPaste.C (pasteSelection): adjust
9987
9988         * text.C (backspace): adjust
9989
9990         * tabular.C (SetMultiColumn): adjust
9991
9992         * CutAndPaste.C (cutSelection): adjust
9993         (pasteSelection): adjust
9994
9995         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9996         Buffer const * as arg
9997
9998         * ParagraphList.C (erase): new function
9999         * paragraph_funcs.C (mergeParagraph): use it
10000         (mergeParagraph): make it take a Buffer* instead of a
10001         BufferParams* as arg
10002
10003         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10004         as arg
10005         (breakParagraphConservative): ditto
10006
10007         * paragraph.h: remove the breakParagraph friend
10008
10009         * paragraph.C (eraseIntern): new function
10010         (setChange): new function
10011
10012         * paragraph_funcs.C (mergeParagraph): make it take a
10013         ParagraphList::iterator instead of a Paragraph *, adjust
10014         accordingly.
10015
10016         * paragraph.h: move an #endif so that the change tracking stuff
10017         also works in the NO_NEXT case.
10018
10019 2003-03-04  Angus Leeming  <leeming@lyx.org>
10020
10021         * commandtags.h:
10022         * LyXAction.C: new LFUN_INSET_MODIFY.
10023
10024         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10025         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10026
10027 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10028
10029         * several files: ws changes only
10030
10031         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10032         (TeXEnvironment): ditto
10033         (TeXDeeper): ditto
10034
10035         * buffer.C (makeLaTeXFile): adjust
10036         (latexParagraphs): make it take ParagraphList::iterator as args
10037
10038 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10039
10040         * buffer.C (latexParagraphs): adjust
10041
10042         * paragraph.C (TeXOnePar): move function...
10043         (optArgInset): move function...
10044         (TeXEnvironment): move function...
10045         * paragraph_pimpl.C (TeXDeeper): move function...
10046         * paragraph_funcs.C: ...here
10047
10048         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10049
10050 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10051
10052         * buffer.C (readInset): remove compability code for old Figure and
10053         InsetInfo insets
10054
10055 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10056
10057         * buffer.C: ws changes
10058         (readInset):
10059
10060         * BufferView_pimpl.C: ditto
10061         * author.C: ditto
10062         * buffer.h: ditto
10063         * bufferlist.h: ditto
10064         * changes.h: ditto
10065         * lyxfunc.C: ditto
10066
10067 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10068
10069         * converter.[Ch]: split into itself +
10070         * graph.[Ch]
10071         * format.[Ch]
10072         * Makefile.am: += graph.[Ch] + format.[Ch]
10073         * MenuBackend.C
10074         * buffer.C
10075         * exporter.C
10076         * importer.C
10077         * lyx_main.C
10078         * lyxfunc.C
10079         * lyxrc.C: added #include "format.h"
10080
10081 2003-02-27  Angus Leeming  <leeming@lyx.org>
10082
10083         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10084           a label.
10085
10086         * factory.C (createInset): add "label" to the factory.
10087
10088         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10089           string and do no more.
10090
10091 2003-02-27  Angus Leeming  <leeming@lyx.org>
10092
10093         * commandtags.h:
10094         * LyXAction.C (init):
10095         * factory.C (createInset):
10096         * BufferView_pimpl.C (dispatch):
10097           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10098
10099         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10100
10101         * lyxfunc.C (dispatch):
10102         * text3.C (dispatch): pass name to params2string.
10103
10104 2003-02-26  Angus Leeming  <leeming@lyx.org>
10105
10106         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10107           blocks together.
10108           Rearrange the ~includes. Strip out the unnecessary ones.
10109
10110         * factory.C (createInset): reformat.
10111           create new insets for the various LFUN_XYZ_APPLY lfuns.
10112
10113 2003-02-26  John Levon  <levon@movementarian.org>
10114
10115         * lyxrow.h:
10116         * lyxrow.C: add isParStart,isParEnd helpers
10117
10118         * paragraph.h: make isInserted/DeletedText take refs
10119
10120         * paragraph_funcs.h:
10121         * paragraph_funcs.C: remove #if 0'd code
10122
10123         * lyxtext.h:
10124         * text3.C:
10125         * text2.C:
10126         * text.C: use lyxrow helpers above.
10127           Move draw and paint routines to RowPainter.
10128           Make several methods use refs not pointers.
10129           Make backgroundColor() const.
10130           Add markChangeInDraw(), isInInset().
10131           Merge changeRegionCase into changeCase.
10132           Make workWidth() shouldn't-happen code into an Assert.
10133
10134         * rowpainter.h:
10135         * rowpainter.C: new class for painting a row.
10136
10137         * vspace.h:
10138         * vspace.C: make inPixels take a ref
10139
10140 2003-02-26  Angus Leeming  <leeming@lyx.org>
10141
10142         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10143         LFUN_REF_APPLY.
10144
10145 2003-02-25  John Levon  <levon@movementarian.org>
10146
10147         * ispell.C: give the forked command a more accurate name
10148
10149 2003-02-22  John Levon  <levon@movementarian.org>
10150
10151         * toc.h:
10152         * toc.C: make TocItem store an id not a Paragraph *
10153           (bug #913)
10154
10155 2003-02-21  Angus Leeming  <leeming@lyx.org>
10156
10157         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10158           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10159           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10160           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10161           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10162           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10163
10164         * BufferView_pimpl.C (dispatch):
10165         * LyXAction.C (init):
10166         * factory.C (createInset):
10167         * lyxfunc.C (getStatus, dispatch):
10168         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10169
10170 2003-02-21  Angus Leeming  <leeming@lyx.org>
10171
10172         * BufferView_pimpl.C (MenuInsertLyXFile):
10173         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10174         * lyxfunc.C (menuNew, open, doImport):
10175           no longer pass a LyXView & to fileDlg.
10176
10177 2003-02-21  Angus Leeming  <leeming@lyx.org>
10178
10179         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10180         * LyXAction.C: change, BIBKEY to BIBITEM.
10181         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10182         Change InsetBibKey to InsetBibitem.
10183         Change BIBKEY_CODE to BIBITEM_CODE.
10184         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10185         * factory.C: replace insetbib.h with insetbibitem.h.
10186         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10187         * paragraph.C: replace insetbib.h with insetbibitem.h.
10188         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10189         Change bibkey() to bibitem().
10190         * text.C: remove insetbib.h.
10191         * text2.C: replace insetbib.h with insetbibitem.h.
10192         change bibkey() to bibitem().
10193         * text3.C: remove insetbib.h.
10194         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10195
10196 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10197
10198         * lyxrc.C (output): enclose user email in quotes (in case there are
10199         several words)
10200
10201 2003-02-18  John Levon  <levon@movementarian.org>
10202
10203         * buffer.h: add std::
10204
10205 2003-02-17  John Levon  <levon@movementarian.org>
10206
10207         * SpellBase.h:
10208         * ispell.h:
10209         * ispell.C:
10210         * pspell.h:
10211         * pspell.C: reworking. Especially in ispell, a large
10212           number of clean ups and bug fixes.
10213
10214         * lyxfunc.C: fix revert to behave sensibly
10215
10216 2003-02-17 André Pönitz <poenitz@gmx.net>
10217
10218         * LyXAction.C:
10219         * commandtags.h: new LFUN_INSERT_BIBKEY
10220
10221         * layout.h:
10222         * lyxlayout.C:
10223         * buffer.C:
10224         * factory.C:
10225         * text.C:
10226         * text2.C:
10227         * text3.C:
10228         * paragraph.[Ch]:
10229         * paragraph_func.C: remove special bibkey handling
10230
10231 2003-02-17  John Levon  <levon@movementarian.org>
10232
10233         * text.C (Delete): fix case where delete at the end of
10234           the very first paragraph would not merge the pars
10235
10236 2003-02-17  John Levon  <levon@movementarian.org>
10237
10238         * lyxrow.C: fix lastPrintablePos()
10239
10240 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10241
10242         * bufferparams.C (writeLaTeX): add a std:here
10243
10244         * buffer.C: and remove a using directive there
10245
10246 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * buffer.C (makeLaTeXFile): move the code that generates the
10249           preamble...
10250
10251         * bufferparams.C (writeLaTeX): ... in this new method
10252
10253         * LaTeXFeatures.C (getEncodingSet): make const
10254           (getLanguages): make const
10255
10256         * MenuBackend.C (binding): returns the binding associated to this
10257           action
10258           (add): sets the status of each item by calling getStatus. Adds
10259           some intelligence.
10260           (read): add support for OptSubMenu
10261           (expand): remove extra separator at the end of expanded menu
10262
10263 2003-02-15  John Levon  <levon@movementarian.org>
10264
10265         * BufferView.C:
10266         * BufferView_pimpl.C:
10267         * bufferlist.h:
10268         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10269           inset code that had no actual effect. Remove unneeded status
10270           code.
10271
10272 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10273
10274         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10275           in preamble
10276
10277 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10278
10279         * text.C (drawLengthMarker): also draw an arrow marker for
10280           symbolic lengths (medskip...)
10281
10282 2003-02-14  John Levon  <levon@movementarian.org>
10283
10284         * tabular.h:
10285         * tabular.C: better method names
10286
10287 2003-02-14  John Levon  <levon@movementarian.org>
10288
10289         * BufferView_pimpl.C:
10290         * bufferlist.C:
10291         * buffer.C:
10292         * converter.C:
10293         * lyx_cb.C:
10294         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10295           it's a more accurate name. Remove some pointless uses.
10296
10297 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10298
10299         * text2.C (LyXText): change order of initilizers to shut off
10300           warnings
10301
10302 2003-02-14  John Levon  <levon@movementarian.org>
10303
10304         * buffer.C: use ParIterator for getParFromID()
10305
10306         * paragraph.h:
10307         * paragraph.C:
10308         * paragraph_pimpl.h:
10309         * paragraph_pimpl.C: remove unused getParFromID()
10310
10311 2003-02-14  John Levon  <levon@movementarian.org>
10312
10313         * buffer.C: remove some very old #if 0'd parse code
10314
10315 2003-02-13  John Levon  <levon@movementarian.org>
10316
10317         * text.h:
10318         * text.C:
10319         * text2.C: move hfillExpansion(), numberOfSeparators(),
10320           rowLast(), rowLastPrintable(), numberofHfills(),
10321           numberOfLabelHfills() ...
10322
10323         * lyxrow.h:
10324         * lyxrow.C: ... to member functions here.
10325
10326         * paragraph.h:
10327         * paragraph.C:
10328         * lyxtext.h:
10329         * text.C: remove LyXText::beginningOfMainBody(), and call
10330           p->beginningOfMainBody() directly. Move the check for
10331           LABEL_MANUAL into the latter.
10332
10333         * text.h:
10334         * text.C:
10335         * text2.C:
10336         * vspace.C:
10337         * BufferView.h:
10338         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10339
10340         * text.h:
10341         * text.C:
10342         * text2.C:
10343         * text3.C:
10344         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10345           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10346
10347 2003-02-13  John Levon  <levon@movementarian.org>
10348
10349         * CutAndPaste.C: remove debug
10350
10351 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10352
10353         * paragraph.C (asString): remove two unused variables
10354
10355         * lyxtextclass.C (readTitleType):
10356           (Read):
10357           (LyXTextClass): handle new members titletype_ and titlename_
10358
10359         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10360
10361 2003-02-09  John Levon  <levon@movementarian.org>
10362
10363         * buffer.h:
10364         * buffer.C: replace hand-coded list with a map for the dep clean
10365
10366 2003-02-08  John Levon  <levon@movementarian.org>
10367
10368         * LaTeX.C: consolidate code into showRunMessage() helper
10369
10370 2003-02-08  John Levon  <levon@movementarian.org>
10371
10372         * lyxfind.C:
10373         * lyxtext.h:
10374         * text2.C:
10375         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10376           and pass the size in explicitly
10377
10378         * BufferView_pimpl.h:
10379         * BufferView_pimpl.C:
10380         * BufferView.h:
10381         * BufferView.C: add getCurrentChange()
10382
10383         * BufferView_pimpl.h:
10384         * BufferView_pimpl.C: handle change lfuns
10385
10386         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10387           for changes. Mark pasted paragraphs as new.
10388
10389         * support/lyxtime.h:
10390         * support/lyxtime.C:
10391         * DepTable.C: abstract time_t as lyx::time_type
10392
10393         * LColor.h:
10394         * LColor.C: add colours for new text, deleted text, changebars
10395
10396         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10397           package use "usenames" option.
10398
10399         * commandtags.h:
10400         * lyxfunc.C:
10401         * LyXAction.C: add change lfuns
10402
10403         * Makefile.am:
10404         * author.h:
10405         * author.C: author handling
10406
10407         * buffer.h:
10408         * buffer.C: add a per-buffer author list, with first entry as
10409           current author. Handle new .lyx tokens for change tracking. Output
10410           author list to .lyx file. Output dvipost stuff to .tex preamble.
10411           Bump lyx format to 222.
10412
10413         * bufferlist.h:
10414         * bufferlist.C: add setCurrentAuthor() to reset current author details
10415           in all buffers.
10416
10417         * bufferparams.h:
10418         * bufferparams.C: add param for tracking
10419
10420         * bufferview_funcs.C: output change info in minibuffer
10421
10422         * Makefile.am:
10423         * changes.h:
10424         * changes.C: add change-tracking structure
10425
10426         * debug.h:
10427         * debug.C: add CHANGES debug flag
10428
10429         * lyxfind.h:
10430         * lyxfind.C: add code for finding the next change piece
10431
10432         * lyxrc.h:
10433         * lyxrc.C: add user_name and user_email
10434
10435         * lyxrow.h:
10436         * lyxrow.C: add a metric for the top of the text line
10437
10438         * lyxtext.h:
10439         * text.C: implement accept/rejectChange()
10440
10441         * lyxtext.h:
10442         * text.C: paint changebars. Paint new/deleted text in the chosen
10443         colours. Strike through deleted text.
10444
10445         * paragraph.h:
10446         * paragraph.C:
10447         * paragraph_pimpl.h:
10448         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10449           in the current change to the insert functions. Rework erase to
10450           mark text as deleted, adding an eraseIntern() and a range-based
10451           erase(). Implement per-paragraph change lookup and
10452           accept/reject.
10453
10454         * paragraph_funcs.C: Fixup paste for change tracking.
10455
10456         * tabular.C: mark added row/columns as new.
10457
10458         * text.C: fix rowLast() to never return -1. Don't allow
10459           spellchecking of deleted text. Track transpose changes. Don't
10460           allow paragraph break or merge where appropriate.
10461
10462         * text2.C: leave cursor at end of selection after a cut.
10463
10464 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10465
10466         * text.C (getLengthMarkerHeight):
10467         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10468         visible on screen too.
10469
10470 2003-02-07  John Levon  <levon@movementarian.org>
10471
10472         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10473
10474 2003-02-05  Angus Leeming  <leeming@lyx.org>
10475
10476         * lyxserver.C (read_ready): revert my patch of 11 September last year
10477         as it sends PC cpu through the roof. Presumably this means that
10478         the lyxserver will no longer run on an Alpha...
10479
10480 2003-01-30  Angus Leeming  <leeming@lyx.org>
10481
10482         * factory.C (createInset): create an InsetCommandParam of type "index"
10483         and use it to 'do the right thing'.
10484
10485         * text2.C (getStringToIndex): ensure that cursor position is always
10486         reset to the reset_cursor position.
10487
10488 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10489
10490         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10491         disabled.
10492
10493 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10494
10495         * bufferview.C:
10496         * lyxcb.C:
10497         * lyxfunc.C: Output messages with identical spelling, punctuation,
10498         and spaces
10499
10500 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10501
10502         * MenuBackend.C (expandFormats): List only viewable export formats
10503         in "View" menu
10504
10505         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10506         message
10507
10508         * lyxfunc.C (getStatus): Make sure that formats other than
10509         "fax" can also be disabled
10510
10511 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10512
10513         * text3.C (dispatch): put the lfuns that insert insets in 3
10514         groups, and call doInsertInset with appropriate arguments.
10515         (doInsertInset): new function, that creates an inset and inserts
10516         it according to some boolean parameters.
10517
10518 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10519
10520         * buffer.C (readFile): remember to pass on 'par' when calling
10521         readFile recursively.
10522
10523 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10524
10525         * MenuBackend.C (expandFormats): add "..." to import formats.
10526
10527 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10528
10529         * paragraph.C (asString): Remove XForms RTL hacks.
10530
10531 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10532         * buffer.C: fix typo
10533
10534 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10535
10536         * Makefile.am (LIBS): delete var
10537         (lyx_LDADD): add @LIBS@ here instead.
10538
10539 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10540
10541         * Clarify the meaning of "wheel mouse jump"
10542
10543 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10544
10545         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10546         tabular in a float
10547
10548 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10549
10550         * importer.C (Loaders): do not preallocate 3 elements in the
10551         vector, since one ends up with 6 elements otherwise
10552
10553 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10554
10555         * DepTable.C (write): write the file name as last element of the
10556         .dep file (because it may contain spaces)
10557         (read): read info in the right order
10558
10559 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10560
10561         * paragraph_pimpl.C (simpleTeXBlanks):
10562         (simpleTeXSpecialChars):
10563         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10564
10565         * tabular.C (latex): add some missing case statements. Reindent.
10566
10567         * MenuBackend.C (expandToc): remove unused variable.
10568
10569 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10570
10571         * LColor.C:
10572         * LaTeX.C:
10573         * LyXAction.C:
10574         * MenuBackend.C:
10575         * buffer.C:
10576         * exporter.C:
10577         * lyxfunc.C:
10578         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10579         and the like.
10580
10581 2003-01-05  John Levon  <levon@movementarian.org>
10582
10583         * BufferView.h:
10584         * BufferView.C: add getEncoding()
10585
10586         * kbsequence.h:
10587         * kbsequence.C: do not store last keypress
10588
10589         * lyxfunc.h:
10590         * lyxfunc.C: store last keypress here instead. Pass encoding
10591           to getISOEncoded()
10592
10593 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10594
10595         * lyx_main.C (init): remove annoying error message when following
10596         symbolic links (bug #780)
10597
10598 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * text.C (insertChar):
10601         * lyxrc.C (getDescription): remove extra spaces
10602
10603 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * lyxrc.C (getDescription): remove extra spaces
10606
10607 2002-12-20  John Levon  <levon@movementarian.org>
10608
10609         * text3.C: hack fix for page up/down across tall rows
10610
10611 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10614         not been invoked
10615
10616 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10619         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10620         thesaurus is not compiled in
10621
10622 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10623
10624         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10625
10626 2002-12-16  Angus Leeming  <leeming@lyx.org>
10627
10628         * lyxrc.[Ch]:
10629         * lyx_main.C (init): remove override_x_deadkeys stuff.
10630
10631 2002-12-12  John Levon  <levon@movementarian.org>
10632
10633         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10634           insert. Only remove shift modifier under strict
10635           circumstances.
10636
10637 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10638
10639         * MenuBackend.C (expandToc): fix crash.
10640
10641 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10642
10643         * MenuBackend.C (expandToc): gettext on float names.
10644
10645 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10646
10647         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10648         implement bool empty() [bug 490]
10649
10650 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10651
10652         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10653
10654 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10655
10656         * several files: ws changes
10657
10658 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10659
10660         * text2.C (setCounter): clean up a bit, use boost.format.
10661         (updateCounters): initialize par upon declaration.
10662
10663         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10664         if the layout exists. We do not just store the layout any more.
10665         (SwitchLayoutsBetweenClasses): use boost.format
10666
10667 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10668
10669         * converter.C (convert): if from and to files are the same, use a
10670         temporary files as intermediary
10671
10672 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10673
10674         * commandtags.h:
10675         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10676
10677 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10678
10679         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10680
10681 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10682
10683         * tabular.C (asciiPrintCell): use string(size, char) instead of
10684         explicit loop.
10685
10686         * sgml.C (openTag): fix order of arguments to string constructor
10687         (closeTag): ditto
10688
10689         * lyxfunc.C (dispatch): use boost.format
10690
10691         * lots of files: change "c" -> 'c'
10692
10693 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10694
10695         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10696
10697 2002-11-25  Angus Leeming  <leeming@lyx.org>
10698
10699         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10700
10701         * lyx_main.C (init): compile fix.
10702
10703 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10704
10705         * lyx_cb.C (start): boost.formatify
10706         do not include <iostream>
10707
10708         * lengthcommon.C: ws only
10709
10710         * boost-inst.C,BoostFormat.h: add more explict instantations
10711
10712 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10713
10714         * lots of files: handle USE_BOOST_FORMAT
10715
10716 2002-11-21  John Levon  <levon@movementarian.org>
10717
10718         * pspell.C: fix compile
10719
10720 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * lyxfunc.C (dispatch): use boost::format
10723         (open): ditto
10724         (doImport): ditto
10725
10726         * lyxfont.C (stateText): use boost::format
10727
10728         * lyx_main.C (LyX): use boost::format
10729         (init): ditto
10730         (queryUserLyXDir): ditto
10731         (readRcFile): ditto
10732         (parse_dbg): ditto
10733         (typedef boost::function): use the recommened syntax.
10734
10735         * importer.C (Import): use boost::format
10736
10737         * debug.C (showLevel): use boost::format
10738
10739         * converter.C (view): use boost::format
10740         (convert): ditto
10741         (move): ditto
10742         (scanLog): ditto
10743
10744         * bufferview_funcs.C (currentState): use boost::format
10745
10746         * bufferlist.C (emergencyWrite): use boost::format
10747
10748         * buffer.C (readLyXformat2): use boost::format
10749         (parseSingleLyXformat2Token): ditto
10750
10751         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10752
10753         * LaTeX.C (run): use boost::format
10754
10755         * Chktex.C (scanLogFile): use boost::format
10756
10757         * BufferView_pimpl.C (savePosition): use boost::format
10758         (restorePosition): ditto
10759         (MenuInsertLyXFile): ditto
10760
10761         * BoostFormat.h: help file for explicit instation.
10762
10763 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10764
10765         * tabular.C (latex): Support for block alignment in fixed width
10766         columns.
10767
10768 2002-11-17  John Levon  <levon@movementarian.org>
10769
10770         * BufferView_pimpl.C:
10771         * lyx_cb.C:
10772         * lyxfunc.C: split filedialog into open/save
10773
10774 2002-11-08  Juergen Vigna  <jug@sad.it>
10775
10776         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10777         by my last patch (hopefully).
10778
10779 2002-11-08  John Levon  <levon@movementarian.org>
10780
10781         * iterators.h:
10782         * iterators.C:
10783         * buffer.h:
10784         * buffer.C:
10785         * paragraph.h:
10786         * paragraph.C:
10787         * toc.h:
10788         * toc.C: ParConstIterator, and use it (from Lars)
10789
10790 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10791
10792         * lyxtextclass.[Ch]: revise and add doxygen comments
10793
10794 2002-11-07  John Levon  <levon@movementarian.org>
10795
10796         * text.C: fix progress value for spellchecker
10797
10798         * toc.C: fix navigate menu for insetwrap inside minipage
10799
10800         * paragraph_funcs.C: added FIXME for suspect code
10801
10802 2002-11-07  John Levon  <levon@movementarian.org>
10803
10804         * BufferView_pimpl.C: fix redrawing of insets
10805           on buffer switch
10806
10807 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * text2.C (updateCounters): fix bug 668
10810
10811 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10812
10813         * text3.C (dispatch): Do not make the buffer dirty when moving the
10814         cursor.
10815
10816 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10817
10818         * vc-backend.C: STRCONV
10819         (scanMaster): ditto
10820
10821         * text2.C (setCounter): STRCONV
10822
10823         * paragraph.C (asString): STRCONV
10824
10825         * lyxlength.C (asString): STRCONV
10826         (asLatexString): ditto
10827
10828         * lyxgluelength.C (asString): STRCONV
10829         (asLatexString): ditto
10830
10831         * lyxfunc.C (dispatch): STRCONV
10832         (open): ditto
10833
10834         * lyxfont.C (stateText): STRCONV
10835
10836         * importer.C (Import): STRCONV
10837
10838         * counters.C (labelItem): STRCONV
10839         (numberLabel): ditto
10840         (numberLabel): remove unused ostringstream o
10841
10842         * chset.C: STRCONV
10843         (loadFile): ditto
10844
10845         * bufferview_funcs.C (currentState): STRCONV
10846
10847         * buffer.C (readFile): STRCONV
10848         (asciiParagraph): ditto
10849         (makeLaTeXFile): ditto
10850
10851         * Spacing.C (writeEnvirBegin): STRCONV
10852
10853         * LaTeXFeatures.C (getLanguages): STRCONV
10854         (getPackages): ditto
10855         (getMacros): ditto
10856         (getBabelOptions): ditto
10857         (getTClassPreamble): ditto
10858         (getLyXSGMLEntities): ditto
10859         (getIncludedFiles): ditto
10860
10861         * LaTeX.C: STRCONV
10862         (run): ditto
10863         (scanAuxFile): ditto
10864         (deplog): ditto
10865
10866         * LString.h: add the STRCONV macros
10867
10868         * BufferView_pimpl.C (savePosition): STRCONV
10869         (restorePosition): ditto
10870         (MenuInsertLyXFile): ditto
10871
10872         * vc-backend.C (scanMaster): change from submatch[...] to
10873         submatch.str(...)
10874
10875         * funcrequest.C: include config.h
10876
10877         * factory.C: include config.h
10878
10879         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10880
10881         * box.C: include config.h
10882
10883         * LaTeX.C (scanAuxFile): change from submatch[...] to
10884         submatch.str(...)
10885         (deplog): ditto
10886
10887 2002-10-25  Angus Leeming  <leeming@lyx.org>
10888
10889         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10890
10891         * ispell.[Ch] (setError): new method.
10892         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10893         Use setError() insetead of goto END.
10894
10895         * lyx_cb.C (AutoSave): move out child process into new class
10896         AutoSaveBuffer.
10897
10898 2002-10-30  John Levon  <levon@movementarian.org>
10899
10900         * text3.C: make start appendix undoable
10901
10902 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10903
10904         * lyxlength.C (inPixels): Fix returned value.
10905
10906         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10907         environment.
10908
10909 2002-10-24  Angus Leeming  <leeming@lyx.org>
10910
10911         * lyxgluelength.h: no need to forward declare BufferParams
10912         or BufferView, so don't.
10913
10914 2002-10-21  John Levon  <levon@movementarian.org>
10915
10916         * BufferView.C: menuUndo ->undo, redo
10917
10918         * BufferView.h: document, remove dead, make some methods private
10919
10920         * paragraph_funcs.h:
10921         * paragraph_funcs.C:
10922         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10923
10924         * buffer.h:
10925         * buffer.C:
10926         * sgml.h:
10927         * sgml.C: move sgml open/close tag into sgml.C
10928
10929         * bufferview_funcs.h: unused prototype
10930
10931         * lyxfunc.h:
10932         * lyxfunc.C: remove unused
10933
10934         * lyxtext.h:
10935         * text.C: remove unused
10936
10937 2002-10-21  John Levon  <levon@movementarian.org>
10938
10939         * BufferView.h:
10940         * BufferView.C:
10941         * BufferView_pimpl.h:
10942         * BufferView_pimpl.C: fix mouse wheel handling based on
10943           patch from Darren Freeman
10944
10945 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10946
10947         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10948
10949 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10950
10951         * lyxlength.C (inPixels): Fix hanfling of negative length.
10952         Fix LyXLength::MU case.
10953
10954 2002-10-16  John Levon  <levon@movementarian.org>
10955
10956         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10957
10958 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10959
10960         * converter.C (view): add support for $$i (file name) and $$p
10961         (file path) for the viewer command. If $$i is not specified, then
10962         it is appended to the command (for compatibility with old syntax)
10963
10964 2002-10-14  Juergen Vigna  <jug@sad.it>
10965
10966         * undo_funcs.C (textHandleUndo): alter the order in which the
10967         new undopar is added to the LyXText, as we have to set first
10968         the right prev/next and then add it as otherwise the rebuild of
10969         LyXText is not correct. Also reset the cursor to the right paragraph,
10970         with this IMO we could remove the hack in "redoParagraphs()".
10971
10972 2002-10-09  Angus Leeming  <leeming@lyx.org>
10973
10974         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10975         to turn off an optimisation if a new inset is to be inserted.
10976
10977 2002-10-11 André Pönitz <poenitz@gmx.net>
10978
10979         * lyxtext.h: make some functions public to allow access
10980         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10981
10982 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10983
10984         * text3.C (dispatch): when changing layout, avoid an infinite loop
10985         [bug #652]
10986
10987 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10988
10989         * lyxrc.C (read): treat a viewer or converter command of "none" as
10990         if it were empty.
10991
10992         * MenuBackend.C (expandFormats): for an update, also allow the
10993         formats that are not viewable
10994
10995         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10996         script if it is newer than the lyxrc.defaults in user directory
10997
10998 2002-10-07 André Pönitz <poenitz@gmx.net>
10999
11000         * text.C: Vitaly Lipatov's small i18n fix
11001
11002 2002-09-25  Angus Leeming  <leeming@lyx.org>
11003
11004         * ispell.h: doxygen fix.
11005
11006 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * buffer.h (readFile): Add a new argument to the method, to allow
11009         reading of old-format templates.
11010
11011 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11012
11013         * toc.C (getTocList): Get TOC from InsetWrap.
11014
11015 2002-09-16  John Levon  <levon@movementarian.org>
11016
11017         * lyxfunc.C: check tabular for cut/copy too
11018
11019 2002-09-12  John Levon  <levon@movementarian.org>
11020
11021         * LyXAction.C: tidy
11022
11023         * factory.h:
11024         * factory.C: add header
11025
11026         * paragraph_funcs.h:
11027         * paragraph_funcs.C: cleanup
11028
11029 2002-09-11  John Levon  <levon@movementarian.org>
11030
11031         * PrinterParams.h: odd/even default to true
11032
11033 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11034
11035         * PrinterParams.h: update printer parameters for new xforms dialog
11036
11037 2002-09-11  Angus Leeming  <leeming@lyx.org>
11038
11039         * lyxserver.C (read_ready): re-write to make it more transparent
11040         and to make it work in coherent fashion under Tru64 Unix.
11041
11042 2002-09-11  André Pönitz <poenitz@gmx.net>
11043
11044         * commandtags.h:
11045         * LyXAction.C:
11046         * text3.C: implement LFUN_WORDSEL
11047
11048 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11049
11050         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11051         make floatlist_ a boost::shared_ptr<FloatList>
11052
11053         * lyxtextclass.C: include FloatList.h
11054         (LyXTextClass): initialize floatlist_
11055         (TextClassTags): add TC_NOFLOAT
11056         (Read): match "nofloat" to TC_NOFLOAT and use it.
11057         (readFloat): modify call to floatlist_
11058         (floats): ditto
11059         (floats): ditto
11060
11061         * FloatList.[Ch] (FloatList): remove commented out float
11062         initialization.
11063         (erase): new function
11064
11065 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11066
11067         * MenuBackend.C (expandToc): fix crash when there is no document
11068         open
11069
11070 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11071
11072         * many files: Add insetwrap.
11073
11074 2002-09-09  John Levon  <levon@movementarian.org>
11075
11076         * text2.C: remove confusing and awkward depth wraparound
11077
11078 2002-09-09  John Levon  <levon@movementarian.org>
11079
11080         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11081
11082         * buffer.h:
11083         * buffer.C: remove getIncludeonlyList()
11084
11085         * paragraph.C:
11086         * lyxfunc.C: remove headers
11087
11088 2002-09-09  Juergen Vigna  <jug@sad.it>
11089
11090         * text.C (getColumnNearX): fix form Michael this is most
11091         probably a cut&paste bug.
11092
11093 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11094
11095         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11096
11097         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11098         references, ws changes.
11099
11100         * text2.C (init): update counters after init
11101         (insertParagraph): no need to set counter on idividual paragraphs.
11102         (setCounter): access the counters object in the textclass object
11103         on in the buffer object.
11104         (updateCounters): ditto
11105
11106         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11107         shared_ptr<Counters> to avoid loading counters.h in all
11108         compilation units.
11109         (LyXTextClass): initialize ctrs_
11110         (TextClassTags): add TC_COUNTER, and ...
11111         (Read): use it here.
11112         (CounterTags): new tags
11113         (readCounter): new function
11114         (counters): new funtion
11115         (defaultLayoutName): return a const reference
11116
11117         * counters.C (Counters): remove contructor
11118         (newCounter): remove a couple of unneeded statements.
11119         (newCounter): simplify a bit.
11120         (numberLabel): some small formatting changes.
11121
11122         * buffer.[Ch]: remove all traces of counters, move the Counters
11123         object to the LyXTextClass.
11124
11125 2002-09-06  Alain Castera  <castera@in2p3.fr>
11126
11127         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11128         package to set the horizontal alignment on fixed width columns.
11129
11130         * lyx_sty.C:
11131         * lyx_sty.h: added tabularnewline macro def.
11132
11133         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11134
11135 2002-09-06  John Levon  <levon@movementarian.org>
11136
11137         * LyXAction.C: tooltips for sub/superscript
11138
11139         * MenuBackend.C: a bit more verbose
11140
11141         * lyxfunc.C: tiny clean
11142
11143         * undo_funcs.C: document undo_frozen
11144
11145 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11146
11147         * counters.C (Counters): add missing algorithm counter.
11148
11149         * text2.C (setCounter): lookup the counter with layouts latexname
11150         instead of by section number.
11151         (setCounter): use a hackish way to lookup the correct enum
11152         counter.
11153         a float name->type change
11154         reset enum couners with counter name directly instead of depth value.
11155
11156         * counters.C (Counters): remove the push_backs, change to use the
11157         float type not the float name.
11158         (labelItem): remove unused string, float name->type change
11159
11160         * counters.h: don't include vector, loose the enums and sects vectors
11161
11162 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11163
11164         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11165         (Read): add float->TC_FLOAT to textclassTags
11166         (Read): and handle it in the switch
11167         (readFloat): new function
11168
11169         * FloatList.C (FloatList): comment out the hardcoded float
11170         definitions.
11171
11172         * lyxlayout.h: ws change.
11173
11174 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11177
11178 2002-09-03  Angus Leeming  <leeming@lyx.org>
11179
11180         * BufferView_pimpl.h: qualified name is not allowed in member
11181         declaration: WorkArea & Pimpl::workarea() const;
11182
11183         * factory.C: added using std::endl directive.
11184
11185         * text3.C: added using std::find and std::vector directives.
11186
11187 2002-08-29  André Pönitz <poenitz@gmx.net>
11188
11189         * lyxtext.h:
11190         * text2.C: remove unused member number_of_rows
11191
11192         * Makefile.am:
11193         * BufferView2.C: remove file, move contents to...
11194         * BufferView.C: ... here
11195
11196         * BufferView_pimpl.C:
11197         * factory.C: move more inset creation to factory
11198
11199         * vspace.C: avoid direct usage of LyXText, ws changes
11200
11201         * BufferView.[Ch]:
11202                 don't provide direct access to WorkArea, use two simple
11203                 acessors haveSelction() and workHeight() instead
11204
11205
11206 2002-08-29  John Levon  <levon@movementarian.org>
11207
11208         * BufferView_pimpl.C (dispatch): do not continue when
11209           no buffer
11210
11211 2002-08-28  André Pönitz <poenitz@gmx.net>
11212
11213         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11214
11215         * BufferView.h:
11216         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11217
11218 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11219
11220         * buffer.C: increment LYX_FORMAT to 221
11221
11222         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11223         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11224
11225         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11226
11227         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11228
11229 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11230
11231         * factory.C (createInset): use LyXTextClass::floats
11232
11233         * MenuBackend.C (expandFloatListInsert):
11234         (expandFloatInsert):
11235         (expandToc):
11236
11237         * text2.C (setCounter):
11238
11239         * LaTeXFeatures.C (useFloat):
11240         (getFloatDefinitions):
11241
11242         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11243
11244         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11245         floatlist_, with accessor floats().
11246
11247         * FloatList.h: remove global FloatList
11248
11249 2002-08-26  André Pönitz <poenitz@gmx.net>
11250
11251         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11252
11253         * BufferView.h:
11254         * BufferView2.C:
11255         * BufferView_pimpl.C:
11256         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11257
11258 2002-08-25  John Levon  <levon@movementarian.org>
11259
11260         * LyXAction.C: fix margin note description
11261
11262 2002-08-24  John Levon  <levon@movementarian.org>
11263
11264         * buffer.C:
11265         * bufferlist.C:
11266         * bufferview_funcs.C:
11267         * lyxfont.C:
11268         * undo_funcs.C: cleanups
11269
11270         * lyxfunc.C: disable CUT/COPY when no selection
11271
11272 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11273
11274         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11275         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11276
11277         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11278         Add backward compatibility to "mono", "gray" and "no".
11279
11280 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11281
11282         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11283         (and file_format >= 200).
11284
11285 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11288
11289 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11292
11293 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11294
11295         * BufferView_pimpl.C:
11296         * LyXAction.C:
11297         * buffer.C:
11298         * commandtags.h:
11299         * lyxfunc.C:
11300         * paragraph.[Ch]:
11301         * text2.C:
11302         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11303         inset and code to make it  work with the paragraph code. The inset
11304         can be anywhere in the paragraph, but will only do the expected
11305         thing in LaTeX if the layout file contains the parameter line
11306                         OptionalArgs    1
11307         (or more generally, a nonzero value) for that layout.
11308
11309 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11310
11311         * paragraph.h: remove the declaration of undefined counters class
11312         function.
11313
11314 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11315
11316         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11317         Dr. Richard Hawkins.
11318
11319 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * paragraph_funcs.h: remove some unneeded includes
11322
11323         * text.C (backspace): pasteParagraph now in global scipe
11324
11325         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11326         (pasteSelection): ditto
11327
11328         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11329         * paragraph_funcs.C (pasteParagraph): ... here
11330
11331 2002-08-20  André Pönitz <poenitz@gmx.net>
11332
11333         * commandtags.h: new LFUNs for swapping/copying table row/colums
11334
11335         * LyXAction.C:
11336         * lyxfunc.C: support for new lfuns
11337
11338 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11339
11340         * tabular.C:
11341         * buffer.[Ch]: remove NO_COMPABILITY stuff
11342
11343 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11344
11345         * boost.C (throw_exception): new file, with helper function for
11346         boost compiled without exceptions.
11347
11348         * paragraph.h:
11349         * lyxlength.C:
11350         * buffer.C:
11351         * ParameterStruct.h:
11352         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11353
11354         * bufferlist.C (emergencyWriteAll): use boost bind
11355
11356         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11357
11358         * text.C: include paragraph_funcs.h
11359         (breakParagraph): breakParagraph is now in global scope
11360
11361         * paragraph_funcs.[Ch]: new files
11362
11363         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11364         global scope
11365
11366         * buffer.C: include paragraph_funcs.h
11367         (insertStringAsLines): breakParagraph is now in global scope
11368
11369         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11370         paragraph_funcs.C
11371
11372         * CutAndPaste.C: include paragraph_funcs.h
11373         (cutSelection): breakParagraphConservative is now in global scope
11374         (pasteSelection): ditto
11375
11376         * buffer.h: declare oprator== and operator!= for
11377         Buffer::inset_iterator
11378
11379         * bufferlist.C (emergencyWrite): don't use fmt(...)
11380
11381         * text3.C: add using std::endl
11382
11383         * BufferView.C (moveCursorUpdate): remove default arg
11384
11385 2002-08-20  André Pönitz <poenitz@gmx.net>
11386
11387         * buffer.[Ch]: move inline functions to .C
11388
11389         * BufferView2.C:
11390         * BufferView_pimpl.C:
11391         * text.C:
11392         * buffer.[Ch]: use improved inset_iterator
11393
11394         * buffer.C:
11395         * paragraph.[Ch]: write one paragraph at a time
11396
11397 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11400         style if style is not specified.
11401
11402 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * text2.C (setCounter): when searching for right label for a
11405         caption, make sure to recurse to parent insets (so that a caption
11406         in a minipage in a figure float works) (bug #568)
11407
11408 2002-08-20  André Pönitz <poenitz@gmx.net>
11409
11410         * text3.C: new file for LyXText::dispatch() and helpers
11411
11412         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11413
11414         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11415
11416 2002-08-19  André Pönitz <poenitz@gmx.net>
11417
11418         * lyxtext.h:
11419         * text.C: new LyXText::dispatch()
11420
11421         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11422
11423 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11424
11425         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11426
11427         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11428         Hebrew text.
11429
11430 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11431
11432         * Makefile.am: use $(variables) instead of @substitutions@
11433
11434 2002-08-15  André Pönitz <poenitz@gmx.net>
11435
11436         * lyxfunc.C:
11437         * BufferView_pimpl.C: streamlining mathed <-> outer world
11438         interaction
11439
11440         * commandtags.h:
11441         * LyXAction.C: remove unused LFUN_MATH
11442
11443 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11444
11445         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11446
11447 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11448
11449         * paragraph.C (Paragraph): reformat a bit
11450         (cutIntoMinibuffer): use builtin InsetList function instad of
11451         doing it manually.
11452         (getInset): ditto
11453
11454         * buffer.C: include boost/bind.hpp, add using std::for_each
11455         (writeFileAscii): use ParagraphList iterators
11456         (validate): use for_each for validate traversal of paragraphs
11457         (getBibkeyList): use ParagraphList iterators
11458         (resizeInsets): use for_each to resizeInsetsLyXText for all
11459         paragraphs.
11460         (getParFromID): use ParagraphList iterators
11461
11462         * BufferView2.C (lockInset): use paragraph list and iterators
11463
11464 2002-08-14  John Levon  <levon@movementarian.org>
11465
11466         * lyxserver.C: remove spurious xforms include
11467
11468 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11469
11470         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11471
11472 2002-08-13  André Pönitz <poenitz@gmx.net>
11473
11474         * LyXAction.[Ch]:
11475         * lyxfunc.C: further cleaning
11476
11477 2002-08-13  André Pönitz <poenitz@gmx.net>
11478
11479         * funcrequest.h: new constructor
11480
11481         * funcrequest.C: move stuff here from .h
11482
11483         * Makefile.am:
11484         * BufferView_pimpl.C:
11485         * LyXAction.C:
11486         * toc.C:
11487         * lyxfunc.C: subsequent changes
11488
11489         * lyxfunc.h: new view() member function
11490
11491         * lyxfunc.C: subsequent changes
11492
11493 2002-08-13  Angus Leeming  <leeming@lyx.org>
11494
11495         * BufferView2.C:
11496         * BufferView_pimpl.C:
11497         * buffer.C:
11498         * converter.C:
11499         * importer.C:
11500         * lyxfunc.C:
11501         * lyxvc.C:
11502         * toc.C:
11503         * vc-backend.C:
11504         changes due to the changed LyXView interface that now returns references
11505         to member variables not pointers.
11506
11507 2002-08-13  Angus Leeming  <leeming@lyx.org>
11508
11509         * WordLangTuple (word, lang_code): return references to strings,
11510         not strings.
11511
11512         * BufferView.h:
11513         * SpellBase.h:
11514         * lyxtext.h: forward-declare WordLangTuple.
11515
11516         * BufferView2.C:
11517         * ispell.C:
11518         * pspell.C:
11519         * text.C: #include "WordLangTuple.h".
11520
11521         * lyxtext.h:
11522         * text.C: (selectNextWordToSpellcheck): constify return type.
11523
11524 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11525
11526         * buffer.C:
11527         * buffer.h:
11528         * lyxtext.h:
11529         * paragraph.C:
11530         * paragraph_pimpl.h:
11531         * text.C:
11532         * text2.C:
11533         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11534         suggested by Angus.
11535         Made updateCounter always count from start of buffer, and removed
11536         second argument (par).
11537         Reverted floats number display to '#'. Perhaps I'll try again when the
11538         code base is sanitized a bit.
11539
11540 2002-08-12  Angus Leeming  <leeming@lyx.org>
11541
11542         * buffer.[Ch] (getLabelList): constify.
11543
11544 2002-08-07  André Pönitz <poenitz@gmx.net>
11545
11546         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11547
11548         * funcrequest.h: extension to keep mouse (x,y) position
11549
11550 2002-08-12  Juergen Vigna  <jug@sad.it>
11551
11552         * BufferView2.C (insertErrors): forbid undo when inserting error
11553         insets.
11554
11555         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11556
11557 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11558
11559         * ParagraphList.[Ch]: new files
11560
11561         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11562
11563         * BufferView2.C (lockInset): ParagraphList changes
11564         * toc.C: ditto
11565         * text2.C: ditto
11566         * bufferlist.C: ditto
11567         * buffer.h: ditto
11568         * buffer.C: ditto
11569
11570 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11571
11572         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11573         unused class variable counter_,
11574
11575         * paragraph.[Ch] (getFirstCounter): delete unused function
11576
11577         * counters.C: include LAssert.h
11578         (reset): add a new function with no arg, change other version to
11579         not have def. arg and to not allow empty arg.
11580
11581         * text2.C (setCounter): remove empty arg from call to Counters::reset
11582
11583 2002-08-11  John Levon  <levon@movementarian.org>
11584
11585         * Makefile.am: add WordLangTuple.h
11586
11587 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11588
11589         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11590         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11591
11592         * insets/insettext.C: InsetList changes
11593
11594         * graphics/GraphicsSupport.C (operator()): InsetList changes
11595
11596         * toc.C (getTocList): InsetList changes
11597
11598         * paragraph_pimpl.[Ch]: InsetList changes
11599
11600         * paragraph.[Ch]: InsetList changes
11601
11602         * buffer.C (inset_iterator): InsetList changes
11603         (setParagraph): ditto
11604         * buffer.h (inset_iterator): ditto
11605         * iterators.C (operator++): ditto
11606         * iterators.h: ditto
11607
11608         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11609
11610         * InsetList.[Ch]: new files, most InsetList handling moved out of
11611         paragraph.C.
11612
11613         * BufferView2.C (removeAutoInsets): InsetList changes
11614         (lockInset): ditto
11615         (ChangeInsets): ditto
11616
11617 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11618
11619         * paragraph_pimpl.h (empty): new function
11620
11621         * paragraph.[Ch] (empty): new function
11622
11623         * other files: use the new Paragraph::empty function
11624
11625 2002-08-09  John Levon  <levon@movementarian.org>
11626
11627         * lyxtext.h: remove unused refresh_height
11628
11629 2002-08-09  John Levon  <levon@movementarian.org>
11630
11631         * Makefile.am:
11632         * sgml.h:
11633         * sgml.C:
11634         * buffer.C:
11635         * paragraph.h:
11636         * paragraph.C: move sgml char escaping out of paragraph
11637
11638         * paragraph.h:
11639         * paragraph.C: remove id setter
11640
11641         * buffer.C:
11642         * paragraph.C:
11643         * paragraph_pimpl.C: remove dead tex_code_break_column
11644
11645         * bufferview_funcs.C: small cleanup
11646
11647         * lyxfunc.C: remove dead proto
11648
11649         * lyxtext.h: make some stuff private. Remove some dead stuff.
11650
11651         * lyxgluelength.C: make as[LyX]String() readable
11652
11653 2002-08-08  John Levon  <levon@movementarian.org>
11654
11655         * LyXAction.h:
11656         * LyXAction.C:
11657         * MenuBackend.C:
11658         * ToolbarDefaults.C:
11659         * lyxfunc.C:
11660         * lyxrc.C:
11661         * toc.C: lyxaction cleanup
11662
11663 2002-08-08  John Levon  <levon@movementarian.org>
11664
11665         * BufferView2.C: small cleanup
11666
11667         * lyxfind.h:
11668         * lyxfind.C: move unnecessary header into the .C
11669
11670 2002-08-08  John Levon  <levon@movementarian.org>
11671
11672         * funcrequest.h: just tedious nonsense
11673
11674         * lyx_main.h:
11675         * lyx_main.C: cleanups
11676
11677         * buffer.C:
11678         * vspace.C: remove dead header lyx_main.h
11679
11680 2002-08-07  Angus Leeming  <leeming@lyx.org>
11681
11682         * Paragraph.[Ch]:
11683         * paragraph_pimpl.h:
11684         Forward declare class Counters in paragraph.h by moving the ctrs member
11685         variable into Paragraph::Pimpl.
11686         (counters): new method, returning a reference to pimpl_->ctrs.
11687
11688         * text2.C: ensuing changes.
11689
11690 2002-08-07  John Levon  <levon@movementarian.org>
11691
11692         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11693
11694         * BufferView_pimpl.C: announce X selection on double/triple
11695           click
11696
11697         * lyx_main.C: use correct bool in batch dispatch
11698
11699         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11700
11701 2002-08-07  André Pönitz <poenitz@gmx.net>
11702
11703         * funcrequest.h: new class to wrap a kb_action and its argument
11704
11705         * BufferView.[Ch]:
11706         * BufferView_pimpl[Ch]:
11707         * LaTeX.C:
11708         * LyXAction.[Ch]:
11709         * lyxfunc.[Ch]:
11710         * lyxrc.C: subsequent changes
11711
11712
11713 2002-08-07  John Levon  <levon@movementarian.org>
11714
11715         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11716           document options change.
11717
11718 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11719
11720         * counters.[Ch]
11721         * text2.C
11722         * paragraph.[Ch]
11723         * makefile.am: move counters functionality over from
11724         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11725
11726 2002-08-06  John Levon  <levon@movementarian.org>
11727
11728         * WordLangTuple.h: new file for word + language code tuple
11729
11730         * SpellBase.h:
11731         * pspell.h:
11732         * pspell.C:
11733         * ispell.h:
11734         * ispell.C:
11735         * lyxtext.h:
11736         * text.C:
11737         * text2.C:
11738         * BufferView.h:
11739         * BufferView2.C: use WordLangTuple
11740
11741         * layout.h:
11742         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11743
11744 2002-08-06  John Levon  <levon@movementarian.org>
11745
11746         * lyx_main.C: fix cmdline batch handling
11747
11748 2002-08-06  André Pönitz <poenitz@gmx.net>
11749
11750         * lyxrc.C: set default for show_banner to true
11751
11752 2002-08-06  John Levon  <levon@movementarian.org>
11753
11754         * pspell.C: fix a crash, and allow new aspell to work
11755
11756 2002-08-06  John Levon  <levon@movementarian.org>
11757
11758         * lyxfunc.C:
11759         * kbmap.C: small cleanup
11760
11761         * vspace.h:
11762         * vspace.C: add const
11763
11764 2002-08-05  John Levon  <levon@movementarian.org>
11765
11766         * LyXAction.C: back to tabular-insert
11767
11768 2002-08-04  John Levon  <levon@movementarian.org>
11769
11770         * BufferView.h:
11771         * BufferView.C: cosmetic change
11772
11773         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11774
11775         * bufferlist.C:
11776         * buffer.h:
11777         * buffer.C:
11778         * lyxcb.h:
11779         * lyxcb.C:
11780         * lyxserver.C:
11781         * lyxvc.C:
11782         * vc-backend.C:
11783         * BufferView2.C: purge all "Lyx" not "LyX" strings
11784
11785         * lyxcursor.h:
11786         * lyxcursor.C: attempt to add some documentation
11787
11788         * lyxfunc.C:
11789         * commandtags.h:
11790         * LyXAction.C:
11791         * ToolbarDefaults.C:
11792         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11793           merge with LFUN_TABULAR_INSERT
11794
11795         * Makefile.am:
11796         * SpellBase.h:
11797         * ispell.h:
11798         * ispell.C:
11799         * pspell.h:
11800         * pspell.C: split up i/pspell implementations into separate
11801           files, many cleanups
11802
11803         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11804
11805         * text2.C: some cleanup
11806
11807         * lyxfunc.C: don't check for isp_command == "none" any more, it
11808           didn't make any sense
11809
11810 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11811
11812         * counters.[Ch]
11813         * text2.C
11814         * paragraph.[Ch]
11815         * makefile.am: move counters functionality over
11816         from text2.C/paragraph.[Ch] to counters.[Ch], and
11817         make proper C++.
11818 2002-08-02  John Levon  <levon@movementarian.org>
11819
11820         * buffer.C: s/lyxconvert/lyx2lyx/
11821
11822 2002-08-02  Angus Leeming  <leeming@lyx.org>
11823
11824         * lyxlex.C: revert John's change as it breaks reading of the user
11825         preamble.
11826
11827 2002-08-02  Angus Leeming  <leeming@lyx.org>
11828
11829         * importer.C (Import):
11830         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11831         changes due to LyXView::view() now returning a boost::shared_ptr.
11832
11833 2002-08-02  John Levon  <levon@movementarian.org>
11834
11835         * lyxlex.C: small cleanup
11836
11837 2002-08-02  John Levon  <levon@movementarian.org>
11838
11839         * text2.C (status): small cleanup, no logic change
11840
11841 2002-08-01  John Levon  <levon@movementarian.org>
11842
11843         * buffer.h:
11844         * buffer.C (writeFile): don't output alerts, caller
11845           handles this
11846
11847         * bufferlist.C:
11848         * lyx_cb.C: from above
11849
11850         * lyxfunc.C: allow to open non-existent files
11851
11852 2002-07-31  John Levon  <levon@movementarian.org>
11853
11854         * lyxserver.C: don't let incidental errors get
11855           in the way (errno)
11856
11857 2002-07-30  John Levon  <levon@movementarian.org>
11858
11859         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11860
11861 2002-07-30  John Levon  <levon@movementarian.org>
11862
11863         * lyxserver.h:
11864         * lyxserver.C: remove I/O callback too
11865
11866 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11867
11868         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11869         log.
11870
11871 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11872
11873         * many files: strip,frontStrip -> trim,ltrim,rtrim
11874
11875 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11876
11877         * PrinterParams.h: remove extern containsOnly, and include
11878         support/lstrings.h instead.
11879
11880         * LaTeX.C (scanAuxFile): modify because of strip changes
11881         (deplog): ditto
11882         * buffer.C (makeLaTeXFile): ditto
11883         * bufferparams.C (writeFile): ditt
11884         * lyxfont.C (stateText): ditto
11885         * lyxserver.C (read_ready): ditto
11886         * vc-backend.C (scanMaster): ditto
11887
11888         * BufferView_pimpl.h: ws changes
11889
11890         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11891
11892 2002-07-26  André Pönitz <poenitz@gmx.net>
11893
11894         * kb_sequence.C: remove unnedred usings
11895
11896 2002-07-26  Juergen Vigna  <jug@sad.it>
11897
11898         * lyxfind.C (LyXReplace): we have to check better if the returned
11899         text is not of theLockingInset()->getLockingInset().
11900
11901 2002-07-25  Juergen Vigna  <jug@sad.it>
11902
11903         * lyxfind.C (LyXReplace): don't replace if we don't get the
11904         right LyXText.
11905
11906         * undo_funcs.C (createUndo): remove debugging code.
11907
11908 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11909
11910         * buffer.C (parseSingleLyXformat2Token): Use default placement
11911         when reading old floats.
11912
11913         * FloatList.C (FloatList): Change the default placement of figure
11914         and tables to "tbp".
11915
11916 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * MenuBackend.C: using std::max
11919
11920 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * MenuBackend.C (expandToc):
11923         (expandToc2): code moved from xforms menu frontend. It is now
11924         generic and TOCs are transparent to menu frontends.
11925
11926 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * toc.C (getTocList): protect against buf=0
11929
11930         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11931         Menu as first parameter. Now, this calls itself recursively to
11932         expand a whole tree (this will be useful for TOC handling)
11933         (expandFloatInsert): remove 'wide' version of floats
11934
11935         * MenuBackend.h (submenuname): returns the name of the submenu.
11936         (submenu): returns the submenu itself, provided it has been
11937         created by MenuBackend::expand
11938
11939 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11942         insets which have noFontChange == true. (bug #172)
11943
11944 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * BufferView_pimpl.C: add connection objects and use them...
11947         (Pimpl): here.
11948
11949 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11950
11951         * MenuBackend.C (expandLastfiles):
11952         (expandDocuments):
11953         (expandFormats):
11954         (expandFloatListInsert):
11955         (expandFloatInsert):
11956         (expand): split expand in parts
11957
11958 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * lyx_gui.C: use lyx_gui::exit()
11961
11962 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * LyXAction.C: show the failing pseudo action
11965
11966 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11967
11968         * buffer.C (readFile): Run the lyxconvert script in order to read
11969         old files.
11970
11971 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * LyXAction.C:
11974         * commandtags.h:
11975         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11976
11977 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * LyXAction.C:
11980         * commandtags.h:
11981         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11982
11983 2002-07-22  Herbert Voss  <voss@lyx.org>
11984
11985         * lengthcommon.C:
11986         * lyxlength.[Ch]: add support for the vertical lengths
11987
11988 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * toc.[Ch]: std:: fixes
11991
11992 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * lyxrc.C: do not include lyx_main.h
11995
11996         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11997         for layouts
11998
11999         * lyxrc.C:
12000         * encoding.C:
12001         * bufferlist.C:
12002         * BufferView2.C: include "lyxlex.h"
12003
12004         * tabular.h:
12005         * bufferparams.h: do not #include "lyxlex.h"
12006
12007         * lyxtextclasslist.C (Add): remove method
12008         (classlist): renamed to classlist_
12009
12010         * paragraph_pimpl.C:
12011         * paragraph.C:
12012         * text2.C:
12013         * CutAndPaste.C:
12014         * bufferview_funcs.C:
12015         * bufferlist.C:
12016         * text.C:
12017         * LaTeXFeatures.C:
12018         * buffer.C:
12019         * toc.C (getTocList): use BufferParams::getLyXTextClass
12020
12021         * toc.C (getTocList): use InsetFloat::addToToc
12022
12023         * toc.[Ch]: new files, containing helper functions to handle table
12024         of contents
12025
12026         * lyxfunc.C (dispatch): no need to remove spaces around command
12027         given as a string
12028         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12029         first command of the sequence; it is not very clever, but I do not
12030         have a better idea, actually
12031
12032         * LyXAction.C (LookupFunc): make sure to remove space at the
12033         beginning and end of the command
12034
12035 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * MenuBackend.C (getMenubar): new method: return the menubar of
12038         this menu set
12039         (read): treat differently reading of menu and menubar (in
12040         particular, the menubar has no name now)
12041         (Menu::menubar): remove
12042
12043         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12044         saving is finished
12045
12046 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12047
12048         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12049         a bibitem inset in a RTL paragraph.
12050
12051 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * paragraph_pimpl.C: constify
12054
12055         * BufferView_pimpl.C:
12056         * LaTeX.C:
12057         * lyxfunc.C: fix dispatch in a nicer way
12058
12059 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12060
12061         * lyxfunc.C (dispatch):
12062         * BufferView_pimpl.C:
12063         * BufferView_pimpl.h:
12064         * BufferView.C:
12065         * BufferView.h: rename Dispatch() to dispatch()
12066
12067         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12068
12069         * lyxlayout.C (Read): honor DependsOn tag
12070
12071         * lyxlayout.[Ch] (depends_on): new method
12072
12073         * version.C.in: update lyx_docversion
12074
12075         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12076
12077         * paragraph.C (validate): remove from here...
12078         * paragraph_pimpl.C (validate): ... and move here
12079         (isTextAt): make it const
12080
12081         * buffer.C (getLists): ws cleanup
12082
12083 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12084
12085         * language.C (read): Use iso8859-1 encoding in latex_lang
12086         (this prevents LyX from crashing when using iso10646-1 encoding).
12087
12088 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12089
12090         * text2.C (toggleInset): if cursor is inside an inset, close the
12091         inset and leave cursor _after_ it
12092
12093 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * lyxfunc.C: move minibuffer completion handling out of here
12096
12097 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * BufferView_pimpl.C:
12100         * LaTeX.C: fix dispatch calls
12101
12102 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12103
12104         * text.C (drawChars): Fix Arabic text rendering.
12105
12106 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * LyXAction.C:
12109         * commandtags.h:
12110         * lyxfunc.C: remove message-push/pop
12111
12112         * lyxserver.C:
12113         * lyxfunc.h:
12114         * lyxfunc.C: rationalise some code by removing verboseDispatch
12115           in favour of a bool argument to dispatch()
12116
12117 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12118
12119         * lyx_main.C (init): make sure to read symlinks as absolute paths
12120
12121 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * lyxfunc.h:
12124         * lyxfunc.C: no need for commandshortcut to be a member
12125
12126 2002-07-15  André Pönitz <poenitz@gmx.net>
12127
12128         * converter.C: add support for $$s (scripts from lib/scripts dir)
12129         * lyx_main.C: white space
12130
12131 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * bufferlist.C:
12134         * lyxrc.h:
12135         * lyxrc.C: remove second exit confirmation
12136
12137 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * BufferView.h:
12140         * BufferView.C:
12141         * BufferView2.C:
12142         * BufferView_pimpl.h:
12143         * BufferView_pimpl.C:
12144         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12145
12146 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12147
12148         * MenuBackend.C (expand): add numeric shortcuts to document menu
12149
12150         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12151
12152 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * lyxfont.C (setLyXFamily):
12155         (setLyXSeries):
12156         (setLyXShape):
12157         (setLyXSize):
12158         (setLyXMisc):
12159         (lyxRead):
12160         * debug.C (value):
12161         * buffer.C (asciiParagraph): use ascii_lowercase
12162
12163 2002-07-15  Mike Fabian  <mfabian@suse.de>
12164
12165         * lyxlex_pimpl.C (search_kw):
12166         * lyxlex.C (getLongString):
12167         * converter.h (operator<):
12168         * converter.C (operator<):
12169         * buffer.C (parseSingleLyXformat2Token):
12170         (asciiParagraph):
12171         * ToolbarDefaults.C (read):
12172         * MenuBackend.C (checkShortcuts):
12173         (read):
12174         * LColor.C (getFromGUIName):
12175         (getFromLyXName): use the compare_ascii_no_case instead of
12176         compare_no_case, because in turkish, 'i' is not the lowercase
12177         version of 'I', and thus turkish locale breaks parsing of tags.
12178
12179 2002-07-16  Angus Leeming  <leeming@lyx.org>
12180
12181         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12182         now takes a Buffer const & argument.
12183
12184 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * BufferView.C (resize): check there's a buffer to resize
12187
12188 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * lyxfunc.C: remove dead code
12191
12192         * lyxserver.h:
12193         * lyxserver.C: use lyx_guii::set_read_callback
12194
12195 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12196
12197         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12198         an inset in a RTL paragraph.
12199
12200 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * lyxfunc.C: repaint after a font size update
12203
12204 2002-07-15  André Pönitz <poenitz@gmx.net>
12205
12206         * lyxlength.C: inBP should be able to return negative values
12207
12208 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * lyxfunc.C: use lyx_gui::update_fonts()
12211
12212 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * lyxfunc.C: use lyx_gui::update_color()
12215
12216 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * bufferlist.C:
12219         * lyxfunc.h:
12220         * lyxfunc.C:
12221         * lyxrc.h:
12222         * lyxrc.C: remove file->new asks for name option, and let
12223           buffer-new take an argument
12224
12225 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12226
12227         * BufferView_pimpl.C: remove unneeded extra repaint()
12228
12229 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * LyXAction.C: allow command-sequence with NoBuffer
12232
12233         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12234
12235 2002-07-10  Angus Leeming  <leeming@lyx.org>
12236
12237         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12238
12239 2002-07-09  Angus Leeming  <leeming@lyx.org>
12240
12241         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12242
12243 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lengthcommon.h: whitespace
12246
12247         * lyxfunc.C: update scrollbar after goto paragraph
12248
12249         * lyxtext.h: factor out page break drawing, and fix it so
12250           page break/added space paints as selected nicely
12251
12252 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * BufferView_pimpl.C: add FIXMEs, clean up a little
12255
12256 2002-07-09  André Pönitz <poenitz@gmx.net>
12257
12258         * lyxfont.[Ch]: support for wasy symbols
12259
12260 2002-07-08  André Pönitz <poenitz@gmx.net>
12261
12262         * BufferView_pimpl.C: apply John's patch for #93.
12263
12264 2002-07-05  Angus Leeming  <leeming@lyx.org>
12265
12266         * BufferView_pimpl.C (buffer): generate previews if desired.
12267
12268         * LColor.h: add "preview" to the color enum.
12269
12270         * LColor.C (LColor): add a corresponding entry to the items array.
12271
12272         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12273         with this buffer.
12274
12275 2002-07-05  Angus Leeming  <leeming@lyx.org>
12276
12277         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12278         The body of the code is now in the method that is passed an ostream &
12279         rather than a file name.
12280         Pass an additional only_preamble parameter, useful for the forthcoming
12281         preview stuff.
12282
12283 2002-07-03  André Pönitz <poenitz@gmx.net>
12284
12285         * lyxfunc.C: simplify getStatus() a bit for math stuff
12286
12287 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12290
12291 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12292
12293         * text.C (changeRegionCase): do not change case of all the
12294         document when region ends at paragraph end (bug #461)
12295
12296 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * paragraph.C (startTeXParParams):
12299         (endTeXParParams): add \protect when necessary
12300
12301 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * BufferView_pimpl.C (workAreaExpose): remove warning
12304
12305 2002-06-27  Angus Leeming  <leeming@lyx.org>
12306
12307         * Makefile.am: add lyxlayout_ptr_fwd.h.
12308
12309 2002-06-26  André Pönitz <poenitz@gmx.net>
12310
12311         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12312
12313 2002-06-25  Angus Leeming  <leeming@lyx.org>
12314
12315         * lyxfunc.C (dispatch): Comment out the call to
12316         grfx::GCache::changeDisplay. The method no longer exists now that the
12317         pixmap generation part of the graphics loader has been moved into
12318         InsetGraphics.
12319
12320 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * text2.C: layout as layout
12323
12324         * text.C: layout as layout
12325
12326         * tabular.C (OldFormatRead): layout as layout
12327
12328         * paragraph_pimpl.C (TeXDeeper): layout as layout
12329         (realizeFont): layout as layout
12330
12331         * paragraph.C (writeFile): layout as layout
12332         (validate): layout as layout
12333         (getFont): layout as layout
12334         (getLabelFont): layout as layout
12335         (getLayoutFont): layout as layout
12336         (breakParagraph): layout as layout
12337         (stripLeadingSpaces): layout as layout
12338         (getEndLabel): layout as layout
12339         (getMaxDepthAfter): layout as layout
12340         (applyLayout): layout as layout
12341         (TeXOnePar): layout as layout
12342         (simpleTeXOnePar): layout as layout
12343         (TeXEnvironment): layout as layout
12344         (layout): layout as layout
12345         (layout): layout as layout
12346
12347         * lyxtextclass.C (compare_name): new functor to work with
12348         shared_ptr, layout as layout
12349         (Read): layout as layout
12350         (hasLayout): layout as layout
12351         (operator): layout as layout
12352         (delete_layout): layout as layout
12353         (defaultLayout): layout as layout
12354
12355         * lyxlayout_ptr_fwd.h: new file
12356
12357         * lyxlayout.C (Read): layout as layout
12358
12359         * lyx_cb.C (MenuInsertLabel): layout as layout
12360
12361         * bufferlist.C (newFile): layout as layout
12362
12363         * buffer.C (readLyXformat2): layout as layout
12364         (parseSingleLyXformat2Token): layout as layout
12365         (insertStringAsLines): layout as layout
12366         (asciiParagraph): layout as layout
12367         (latexParagraphs): layout as layout
12368         (makeLinuxDocFile): layout as layout
12369         (simpleLinuxDocOnePar): layout as layout
12370         (makeDocBookFile): layout as layout
12371         (simpleDocBookOnePar): layout as layout
12372         (getLists): layout as layout
12373
12374         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12375
12376         * CutAndPaste.C (cutSelection): layout as layout
12377         (pasteSelection): layout as layout
12378         (SwitchLayoutsBetweenClasses): layout as layout
12379
12380         * BufferView_pimpl.C (Dispatch): layout as layout
12381         (smartQuote): layout as layout
12382
12383         * BufferView2.C (unlockInset): layout as layout
12384
12385 2002-06-24  André Pönitz <poenitz@gmx.net>
12386
12387         * lyxfunc.C: fix #487
12388
12389 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * lyxrc.h:
12392         * lyxrc.C:
12393         * lyxfunc.C: remove display_shortcuts, show_banner
12394
12395 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * Buffer_pimpl.C: oops, update on resize
12398
12399 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * buffer.C:
12402         * converter.C:
12403         * exporter.C:
12404         * lyxfunc.C:
12405         * BufferView.h:
12406         * BufferView.C: use repaint()
12407
12408         * BufferView_pimpl.h:
12409         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12410           as it's a clearer description. Remove superfluous
12411           redraws.
12412
12413 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * text.C: fix bug 488. Not ideal, but getting
12416           getWord() to work properly for the insets that
12417           matter is more difficult ...
12418
12419 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * BufferView_pimpl.C:
12422         * LyXAction.C:
12423         * commandtags.h:
12424         * lyxfunc.C: remove the six million index lyxfuncs to just
12425           one, and DTRT (bug 458)
12426
12427 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * BufferView.h:
12430         * BufferView.C:
12431         * BufferView_pimpl.h:
12432         * BufferView_pimpl.C: clean up resize() stuff,
12433           and unnecessary updateScreen()s
12434
12435 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * BufferView.h:
12438         * BufferView.C:
12439         * BufferView_pimpl.h:
12440         * BufferView_pimpl.C:
12441         * lyxfind.h:
12442         * lyxfind.C:
12443         * minibuffer.C: remove focus management of workarea,
12444           not needed. Use screen's greyOut()
12445
12446 2002-06-17  Herbert Voss  <voss@lyx.org>
12447
12448         * converter.C: (convert) do not post a message, when converting
12449         fails, let the calling function decide what to do in this case
12450
12451 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * lyxfunc.C: tidy up a little
12454
12455 2002-06-16    <alstrup@diku.dk>
12456
12457         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12458         Got rid of FORMS_H_LOCATION include. Now we are
12459         GUII.
12460
12461 2002-06-15  LyX Development team  <lyx@rilke>
12462
12463         * buffer.[Ch] (sgmlOpenTag):
12464         (sgmlCloseTag): Added support for avoiding pernicious mixed
12465         content. Return number of lines written.
12466
12467         (makeLinuxDocFile):
12468         (makeDocBookFile): Fixed calls to sgml*Tag.
12469         Simple white space clean.
12470
12471         (simpleDocBookOnePar): Simple white space clean.
12472
12473         * tabular.[Ch] (docBook): Renamed to docbook and got another
12474         argument to related with the pernicious mixed content.
12475
12476         (docbookRow): Fixed calls for docbook inset method.
12477
12478 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12479
12480         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12481         so it's X11 independent.
12482
12483         * kb*.[Ch]: ditto.
12484
12485         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12486
12487 2002-06-15  Lyx Development team  <lyx@electronia>
12488
12489         * intl.h: Renamed getTrans to getTransManager.
12490
12491 2002-06-14  Angus Leeming  <leeming@lyx.org>
12492
12493         * Makefile.am: nuke forgotten stl_string_fwd.h.
12494
12495 2002-06-12  Angus Leeming  <leeming@lyx.org>
12496
12497         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12498
12499 2002-06-13  Angus Leeming  <leeming@lyx.org>
12500
12501         * LaTeX.C:
12502         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12503
12504 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12505
12506         * kbmap.C (getiso): add support for cyrillic and greek
12507
12508 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * BufferView.h:
12511         * BufferView.C:
12512         * BufferView_pimpl.h:
12513         * BufferView_pimpl.C: move bogus scrolling logic
12514           to xforms
12515
12516 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * lyxfunc.C:
12519         * BufferView_pimpl.C: view->resize() change
12520
12521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * BufferView_pimpl.C: topCursorVisible
12524           prototype change
12525
12526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * Makefile.am:
12529         * lyx_gui.h:
12530         * lyx_gui.C: move to frontends/
12531
12532         * main.C:
12533         * lyx_main.h:
12534         * lyx_main.C: changes from above
12535
12536 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * intl.C:
12539         * intl.h:
12540         * kbmap.C:
12541         * kbsequence.C:
12542         * lyx_cb.C:
12543         * lyx_main.C: minor tidy
12544
12545 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * BufferView_pimpl.h:
12548         * BufferView_pimpl.C:
12549         * BufferView.h:
12550         * BufferView.C: make painter() const,
12551           remove dead code
12552
12553         * BufferView2.C: use screen() accessor
12554
12555         * lyx_main.h:
12556         * lyx_main.C: some minor cleanup
12557
12558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView_pimpl.h:
12561         * BufferView_pimpl.C: remove enter/leaveView,
12562           use workHeight()
12563
12564 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * BufferView.h:
12567         * BufferView.C:
12568         * BufferView2.C:
12569         * BufferView_pimpl.h:
12570         * BufferView_pimpl.C: only construct screen once,
12571           rename
12572
12573         * lyxrc.C: remove pointless comment
12574
12575 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * BufferView.h:
12578         * BufferView.C: remove active() and belowMouse()
12579
12580         * BufferView_pimpl.h:
12581         * BufferView_pimpl.C: use workarea() not workarea_,
12582           and make it use a scoped_ptr instead
12583
12584 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * lyx_gui.C: add debug message on BadWindow
12587
12588 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * sp_spell.C: fdopen is not part of the C++ standard.
12591
12592         * paragraph.C (InsetIterator): use >= instead of ==
12593
12594 2002-06-07  Angus Leeming  <leeming@lyx.org>
12595
12596         Fixes needed to compile with Compaq cxx 6.5.
12597         * BufferView_pimpl.C:
12598         * DepTable.C:
12599         * buffer.C:
12600         * converter.C:
12601         * encoding.C:
12602         * lyx_gui.C:
12603         * lyx_main.C:
12604         * lyxtextclasslist.C:
12605         * minibuffer.C:
12606         * sp_spell.C:
12607         * tabular_funcs.C:
12608         * vc-backend.C:
12609         all c-library variables have been moved into namespace std. Wrap
12610         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12611
12612         * lyxlength.C:
12613         * tabular-old.C:
12614         * tabular.C:
12615         Add a using std::abs declaration.
12616
12617         * kbmap.h (modifier_pair):
12618         * paragraph.h (InsetTable, InsetList):
12619         * lyxfont.h (FontBits):
12620         type definition made public.
12621
12622         * bufferlist.C (emergencyWriteAll): the compiler complains that
12623         there is more than one possible lyx::class_fun template to choose from.
12624         I re-named the void specialisation as lyx::void_class_fun.
12625
12626         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12627
12628         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12629         the compiler is is unable to find tostr in write_attribute.
12630
12631 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * buffer.C (sgmlError): hide #warning
12634
12635 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * xtl/*: get rid of xtl, which is not in use anyway
12638
12639         * LyXAction.C (init):
12640         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12641         were unimplemented xtl experimentation
12642
12643 2002-06-04  André Pönitz <poenitz@gmx.net>
12644
12645         * lyxfunc.C: disable array operation on simple formulae
12646
12647 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * converter.C: constify a bit
12650
12651 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * lyx_gui.C: check xforms version correctly
12654
12655 2002-04-30  Herbert Voss  <voss@lyx.org>
12656
12657         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12658         "keep" option
12659
12660 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12663           attempt to register it with a VCS)
12664
12665 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12666
12667         * lyx_main.C (init): honor variables LYX_DIR_13x and
12668         LYX_USERDIR_13x
12669
12670 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12671
12672         * buffer.h:
12673         * buffer.C:
12674         * lyx_main.C: fix a crash on bad command line,
12675           and give a useful exit status on error
12676
12677         * lyxfunc.C (doImport): allow -i lyx to work
12678
12679 2002-03-30  André Pönitz <poenitz@gmx.net>
12680
12681         * lyxfunc.C: mathed font changes
12682
12683 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * LaTeX.C:
12686         * importer.h:
12687         * importer.C:
12688         * lyx_sty.h:
12689         * lyx_sty.C:
12690         * lyxlex.C:
12691         * lyxrow.h:
12692         * lyxtext.h:
12693         * paragraph.h:
12694         * paragraph.C:
12695         * texrow.h:
12696         * texrow.C:
12697         * text.C:
12698         * trans_mgr.h: srcdocs, and some minor cleanups
12699
12700 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12701
12702         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12703         call getFont all the time)
12704
12705 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * switch from SigC signals to boost::signals
12708
12709 2002-05-29  André Pönitz <poenitz@gmx.net>
12710
12711         * paragraph_pimpl.C (getChar): don't call size() too often...
12712
12713 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12714
12715         * paragraph_pimpl.C (insertChar): do not try to update tables when
12716         appending (pos == size())
12717
12718         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12719         in order to reduce drastically the number of comparisons needed to
12720         parse a large document
12721
12722 2002-05-29  André Pönitz <poenitz@gmx.net>
12723
12724         * text.C:
12725         * text2.C:
12726         * lyxtextclass.C:
12727         * sp_pspell.h:
12728         * textclasslist.[Ch]:
12729         * sp_ispell.h: whitespace change
12730
12731 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12734         lyxaction directly now.
12735
12736 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * trans.C:
12739         * lyxfont.C:
12740         * lyxvc.C: remove unused headers
12741
12742 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * Makefile.am:
12745         * buffer.h:
12746         * undostack.h:
12747         * undostack.C:
12748         * undo_funcs.h:
12749         * undo_funcs.C: some cleanups. Use shared_ptr
12750           and a template for the undo stacks.
12751
12752 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * BufferView_pimpl.h:
12755         * BufferView_pimpl.C:
12756         * kbmap.h:
12757         * kbmap.C:
12758         * kbsequence.h:
12759         * kbsequence.C:
12760         * lyxfunc.h:
12761         * lyxfunc.C:
12762         * text2.C: use key_state/mouse_state
12763
12764 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12767         and LSubstring
12768
12769         * chset.C: change include order
12770         (loadFile): use boost regex and get rid of LRegex and LSubstring
12771
12772         * Makefile.am (BOOST_LIBS): new variable
12773         (lyx_LDADD): use it
12774
12775         * LaTeX.C: change include order.
12776         (scanAuxFile): use boost regex and get rid of LRegex and
12777         LSubstring
12778         (deplog): ditto
12779
12780 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * ColorHandler.h:
12783         * ColorHandler.C:
12784         * FontInfo.h:
12785         * FontInfo.C: moved to frontends/xforms/
12786
12787         * FontLoader.h:
12788         * FontLoader.C: moved into frontends for GUIIzation
12789
12790         * Makefile.am:
12791         * lyx_gui.C:
12792         * lyxfont.C:
12793         * lyxfunc.C: changes from above
12794
12795 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * LColor.C: remove spurious X include
12798
12799         * BufferView_pimpl.C:
12800         * Makefile.am:
12801         * font.h:
12802         * font.C:
12803         * text.C:
12804         * text2.C: move font metrics to frontends/
12805
12806 2002-05-24  Juergen Vigna  <jug@sad.it>
12807
12808         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12809         setting the undo_cursor.
12810
12811         * ParagraphParameters.h: include local includes first.
12812
12813 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * BufferView_pimpl.C:
12816         * BufferView_pimpl.h:
12817         * Makefile.am:
12818         * WorkArea.h:
12819         * WorkArea.C:
12820         * screen.C: move WorkArea into frontends/
12821
12822         * lyxscreen.h:
12823         * screen.C:
12824         * text.C:
12825         * BufferView.C:
12826         * BufferView2.C: move LyXScreen into frontends/
12827
12828         * lyxlookup.h:
12829         * lyxlookup.C:
12830         * lyx_gui.C: move lyxlookup into frontends/xforms/
12831
12832 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * BufferView2.C:
12835         * BufferView_pimpl.C:
12836         * FontLoader.C:
12837         * LyXView.h:
12838         * LyXView.C:
12839         * Makefile.am:
12840         * WorkArea.C:
12841         * XFormsView.h:
12842         * XFormsView.C:
12843         * buffer.C:
12844         * bufferlist.C:
12845         * bufferview_funcs.C:
12846         * converter.C:
12847         * importer.C:
12848         * lyx_cb.C:
12849         * lyx_gui.C:
12850         * lyx_main.C:
12851         * lyx_find.C:
12852         * lyxfunc.C:
12853         * lyxvc.C:
12854         * minibuffer.C:
12855         * text.C:
12856         * text2.C:
12857         * trans.C:
12858         * vc-backend.C: move LyX/XFormsView into frontends/
12859
12860 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12861
12862         * Makefile.am:
12863         * PainterBase.C:
12864         * PainterBase.h:
12865         * Painter.C:
12866         * Painter.h:
12867         * WorkArea.C:
12868         * WorkArea.h:
12869         * screen.C:
12870         * tabular.C:
12871         * text.C:
12872         * text2.C: move Painter to frontends/
12873
12874 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * buffer.C: comment out some some code that depend upon lyx_format
12877         < 220
12878
12879         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12880         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12881
12882         * buffer.h (NO_COMPABILITY): turn off compability
12883
12884         * ColorHandler.C: include scoped_array.hpp
12885
12886         * font.C: Use more specific smart_ptr header.
12887         * Painter.C: ditto
12888         * gettext.C: ditto
12889         * ShareContainer.h: ditto
12890         * lyx_main.h: ditto
12891         * kbmap.h: ditto
12892         * FontInfo.h: ditto
12893         * BufferView_pimpl.h: ditto
12894         * ColorHandler.h: ditto
12895
12896         * kbmap.C (defkey): change call to shared_ptr::reset
12897
12898 2002-05-21  Juergen Vigna  <jug@sad.it>
12899
12900         * buffer.C (insertErtContents): fix to insert ert asis if it is
12901         non empty. Skip it completely if it contains only whitespaces.
12902
12903 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * BufferView_pimpl.C:
12906         * BufferView2.C: clear selection on paste (bug 393)
12907
12908 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * DepTable.C: include ctime
12911
12912 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12915
12916 2002-05-14  Juergen Vigna  <jug@sad.it>
12917
12918         * text.C (breakParagraph): fixed function to honor the keepempty
12919         layout in the right maner and also to permit the right breaking
12920         algorithm on empty or non empyt keepempty paragraphs.
12921
12922         * paragraph.C (breakParagraph): we have to check also if the par
12923         is really empty (!size()) for isempty otherwise we do the wrong
12924         paragraph break.
12925
12926 2002-05-10  Juergen Vigna  <jug@sad.it>
12927
12928         * buffer.[Ch] : The following are only changes to the ert
12929         compatibility read reading old LaTeX layout and font stuff and
12930         convert it to ERTInsets.
12931
12932         * buffer.h: added isErtInset().
12933
12934         * buffer.C (struct ErtComp): add a fromlayout bool to check
12935         if we're inside a LaTeX layout.
12936         (isErtInset): new helper function.
12937         (insertErtContents): look for other ert insets before this one
12938         and insert the contents there, so that we don't have subsequent
12939         ERT insets with nothing between them. This way we create only one
12940         inset with multiple paragraphs. Also check if we don't insert only
12941         spaces ' ' as they are ignored anyway afterwards in the .tex file
12942         so if we have only spaces we will ignore this latex part in the
12943         new file.
12944         (parseSingleLyXformat2Token \\layout): better compatibility when
12945         reading layout-latex stuff.
12946         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12947         language tag.
12948         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12949         stuff after reading the inset only get the information back from
12950         the stack.
12951
12952 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12953
12954         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12955
12956         * LaTeXFeatures.C (getBabelOptions): New method.
12957
12958 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * BufferView_pimpl.C (Dispatch): work around missing argument for
12961         'layout'
12962
12963 2002-05-08  Juergen Vigna  <jug@sad.it>
12964
12965         * text.C (leftMargin): handle paragraph leftindent.
12966
12967         * paragraph.C (writeFile): write the new \\leftindent tag.
12968         (validate): handle leftindent code.
12969         (TeXEnvironment): handle paragraphleftindent code again.
12970
12971         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12972
12973         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12974         for paragrap_extra indent code and new token \\leftindent.
12975         (latexParagraphs): handle the leftindent as environment.
12976
12977         * ParameterStruct.h: added leftindent support.
12978
12979         * ParagraphParameters.C (leftIndent): added support functions for
12980         the paragraph left indent.
12981
12982         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12983         more appropriate.
12984
12985 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12988         inside insetERT.
12989
12990         * text.C (computeBidiTables): No bidi in insetERT.
12991
12992         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12993         in RTL documents.
12994
12995 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * version.C.in: pre 5
12998
12999 2002-05-02  José Matos  <jamatos@fep.up.pt>
13000         * buffer.C (makeDocBookFile): white space changes, add newline to
13001         command styles.
13002         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13003
13004         * tabular.C (docBook): fix typo.
13005
13006 2002-05-03  Juergen Vigna  <jug@sad.it>
13007
13008         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13009         change in LyXText as we can not be sure it was not freed.
13010         (drawOneRow): remove unused code.
13011
13012         * text.C (drawInset): redo the calculation of the need_break_row as
13013         it could have a row which was already freed.
13014         (draw): look at the return value of drawInset and return false if
13015         it also returned false.
13016         (paintRowText): look at the return value of draw and return false if
13017         it also returned false.
13018
13019         * lyxtext.h: added bool return type to drawInset() and draw() so that
13020         if we have a change in the row so that the rowbreak has to be redone
13021         we abort drawing as it will be called again.
13022
13023 2002-05-02  Juergen Vigna  <jug@sad.it>
13024
13025         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13026         a change in the maintext also if we're inside an inset.
13027         (Dispatch): set the cursor again after a break line and after the
13028         screen has been updated as it could be we're in a different row.
13029
13030         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13031         to set the cursor behind the pargraph with > size().
13032         (setCursor): check also for the same paragraph when checking where
13033         to put the cursor if we have a NFR inset.
13034
13035         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13036         parts of layout read further up as it still was in the wrong
13037         position.
13038
13039 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * screen.C (drawFromTo): change sine fullRebreak always return
13042         true.
13043
13044         * buffer.C (parseSingleLyXformat2Token): reindent some
13045
13046         * BufferView_pimpl.C (update): change since fullRebreak always
13047         return true.
13048         (Dispatch): git rid of the last hardcoded "Standard"s.
13049
13050 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13051
13052         * text2.[Ch] (fullRebreak): make it return void now that we always
13053         returned true.
13054
13055 2002-04-30  Juergen Vigna  <jug@sad.it>
13056
13057         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13058         ert compatibility check for "latex" layout.
13059
13060 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13061
13062         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13063         minipages: use col% instead of p%, and also use the current font.
13064         (makeLaTeXFile): Fix use babel condition.
13065         (parseSingleLyXformat2Token): Correct font when reading old floats.
13066
13067 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13068
13069         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13070         inserting list of floats.
13071
13072 2002-04-25  Herbert Voss  <voss@lyx.org>
13073
13074         * MenuBackend.C (expand): don't add the graphics extensions to the
13075         export menu
13076
13077 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13080         non-existing layout, do not complain if it was the default layout
13081         of the original class (bug #342)
13082
13083 2002-04-24  Juergen Vigna  <jug@sad.it>
13084
13085         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13086         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13087
13088 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13089
13090         * buffer.C (getBibkeyList): If using \bibliography, return the
13091         option field with the reference itself. Enables us to provide natbib
13092         support when using \bibliography.
13093
13094 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13095
13096         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13097
13098         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13099         natbib is provided by the LaTeX class.
13100
13101 2002-04-23  Juergen Vigna  <jug@sad.it>
13102
13103         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13104         Wakeup functions.
13105
13106         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13107
13108 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13109
13110         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13111
13112         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13113         ensuremath around textordmasculine, textordfeminine and
13114         textdegree.
13115
13116 2002-04-19  Juergen Vigna  <jug@sad.it>
13117
13118         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13119         reinitializing the buffer otherwise row-dimensions may be wrong.
13120         (update): reset also the selection cursors if they do exits otherwise
13121         their x/y positions may be wrong.
13122
13123         * text2.C (cursorDown): don't enter the inset if we came from a row
13124         above and are one row over the inset.
13125
13126         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13127         really leaving an inset.
13128
13129 2002-04-18  Juergen Vigna  <jug@sad.it>
13130
13131         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13132         of the selected paragraph does not have the selected layout also if
13133         the last one had!
13134
13135         * text2.C (setLayout): fixed bug which did not change last selected
13136         paragraph.
13137
13138         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13139         changed the read and substituted \\end_float with \\end_inset!
13140
13141         * BufferView_pimpl.C (cursorPrevious):
13142         (cursorNext): fixed to make it work with rows heigher than the work
13143         area without moving the cursor only the draw of the row.
13144         (workAreaMotionNotify): fix jumping over high rows.
13145
13146 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13149         Ressler.
13150
13151 2002-04-16  Juergen Vigna  <jug@sad.it>
13152
13153         * text2.C (setCursor): set also the irow().
13154         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13155         (cursorUp):
13156         (cursorDown): support for locking an inset if the x_fix value goes
13157         inside it. That way I can transverse insets too with cursor up/down.
13158
13159         * lyxrow.h: added irow helper function same as other (i) functions.
13160
13161         * BufferView_pimpl.C (cursorPrevious):
13162         (cursorNext): fixed for insets!
13163
13164 2002-04-15  Juergen Vigna  <jug@sad.it>
13165
13166         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13167         position otherwise it is wrong in some cases.
13168
13169         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13170         inside the inset before the call.
13171
13172 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13173
13174         * buffer.[Ch] (getBibkeyList): make it const.
13175
13176 2002-04-12  Juergen Vigna  <jug@sad.it>
13177
13178         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13179
13180         * text2.C (getCursorX): new helper function
13181         (setCursor): compute also ix_
13182         (setCursorFromCoordinates): set also ix.
13183
13184         * lyxcursor.h: added ix_ and helper functions.
13185
13186         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13187
13188         * buffer.C (insertStringAsLines): dont break paragraph if the this
13189         paragraph is inside an inset which does not permit it!
13190
13191         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13192         also with no chars on this paragraph.
13193         (paintRowText): only paint stuff if it's inside the workarea!
13194
13195         * paragraph.C (breakParagraph): honor keepempty flag and break the
13196         paragraph always below not above.
13197
13198         * BufferView2.C (unlockInset): update the paragraph layout on inset
13199         unlock as we changed paragraph in such a case.
13200
13201         * lyxfind.C (LyXFind): clear the former selection if not found!
13202
13203         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13204         again called in insertChar().
13205
13206         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13207         an inset which uses the whole row!
13208         (rightMargin): ditto.
13209         (insertChar): force a rebreak if we inserted an inset!
13210
13211 2002-03-28  Herbert Voss  <voss@lyx.org>
13212
13213         * lyxlength.[Ch]: add inBP() to get the right PS-point
13214         units (BigPoint). With inPixels we have rounding errors
13215
13216 2002-04-11  Juergen Vigna  <jug@sad.it>
13217
13218         * text2.C (setCursorFromCoordinates): set iy to the right value.
13219         (setCursor): add check if row->previous exists!
13220
13221         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13222         an old float_type as this was the case in the old code!
13223
13224         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13225
13226         * BufferView2.C (showLockedInsetCursor): use iy
13227         (fitLockedInsetCursor): ditto
13228
13229         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13230         locked insets as there we have the right value now.
13231
13232         * lyxcursor.C: added iy_ variable and iy functions to set to the
13233         baseline of cursor-y of the locked inset.
13234
13235         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13236         (setCursor): fixed for insets which need a full row.
13237
13238         * text.C (rowLastPrintable): don't ignore the last space when before
13239         an inset which needs a full row.
13240         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13241         as last character of a row when before a inset which needs a full row.
13242
13243 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * version.C.in: update date
13246
13247         * text2.C (fullRebreak): try to always return true and see what
13248         happens...
13249
13250 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13251
13252         * MenuBackend.C (expand): use Floating::listName
13253
13254         * FloatList.C (FloatList): add listName argument to the built-in
13255         floats
13256
13257         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13258         text associated with the float.
13259
13260 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13261
13262         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13263
13264 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * ShareContainer.h: add a couple of missing typenames.
13267
13268 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * lyxrc.C (getDescription): use _() correctly rather than N_().
13271
13272 2002-03-28  Herbert Voss  <voss@lyx.org>
13273
13274         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13275         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13276
13277 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13278
13279         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13280         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13281
13282 2002-03-29  Juergen Vigna  <jug@sad.it>
13283
13284         * lyxfunc.C (dispatch): add a missing fitCursor call.
13285
13286         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13287         it was scrolled by a cursor move, so return the bool status.
13288
13289         * BufferView.C (fitCursor): return the bool flag also to the outside
13290         world as this is needed.
13291
13292         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13293
13294         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13295         call the edit() as it is not needed (and wrong) IMO.
13296         (workAreaButtonPress): set the screen_first variable before evt.
13297         unlock the inset as this may change screen_first and then we have
13298         a wrong y position for the click!
13299
13300 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * MenuBackend.C (expand): another translation that I missed
13303
13304 2002-03-28  Juergen Vigna  <jug@sad.it>
13305
13306         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13307
13308         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13309
13310 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13311
13312         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13313
13314         * MenuBackend.C (expand): fix export/view/update when there is no
13315         document open.
13316
13317 2002-03-27  Herbert Voss  <voss@lyx.org>
13318
13319         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13320         and text%
13321
13322 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * bufferview_funcs.C (currentState): only show paragraph number
13325         for is DEVEL_VERSION is set.
13326
13327         * lyxfunc.C (dispatch): put warning in INFO channel
13328
13329         * MenuBackend.C (expand): translate the name of floats
13330
13331         * FloatList.C (FloatList): mark the float names for translation
13332
13333         * converter.C (convert): use LibScriptSearch
13334
13335 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13336
13337         * MenuBackend.C (defaults): fix default menu (we might as well get
13338         rid of it...)
13339
13340 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13343         directory.
13344
13345 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13346
13347         * lyxvc.C: reorder includes.
13348
13349 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13352           properly
13353
13354 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * CutAndPaste.C: change layouts earlier on paste
13357           to avoid crashing when calling getFont()
13358
13359 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13360
13361         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13362         irritating #error.
13363
13364 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13365
13366         * WorkArea.C: remove 'Pending' debug message.
13367
13368         * most files: ws cleanup
13369
13370         * buffer.[Ch]: ws changes
13371
13372         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13373
13374 2002-03-21  Juergen Vigna  <jug@sad.it>
13375
13376         * tabular.C (SetMultiColumn): collapse also the contents of the
13377         cells and set the last border right. Added a Buffer const * param.
13378
13379 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13382         linking or not.
13383
13384 2002-03-19  Juergen Vigna  <jug@sad.it>
13385
13386         * text2.C (clearSelection): reset also xsel_cache.
13387
13388         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13389         where it needs to be called (John tells us to do so too :)
13390         (selectionLost): reset sel_cache.
13391
13392         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13393
13394 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13395
13396         * text2.C (setCursorIntern): put debuging code in INSETS channel
13397
13398 2002-03-19  André Pönitz <poenitz@gmx.net>
13399
13400         * lyxfunc.C: tiny whitespace change
13401
13402 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13403
13404         * ToolbarDefaults.C (init):
13405         * LyXAction.C (init):
13406         * commandtags.h:
13407         * BufferView_pimpl.C (Dispatch):
13408         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13409
13410 2002-03-19  Allan Rae  <rae@lyx.org>
13411
13412         * exporter.C (Export): removeAutoInsets before doing anything else.
13413         While I've just introduced a dependency on BufferView this really is
13414         the best place to clean the buffer otherwise you need to cleanup in
13415         a dozen places before calling export or cleanup in a dozen functions
13416         that export calls.
13417
13418         * converter.C (runLaTeX):
13419         (scanLog): Better handling of removeAutoInsets and screen updates.
13420
13421         * lyxfunc.C (dispatch): small whitespace changes
13422
13423 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * WorkArea.C (C_WorkAreaEvent): return a value.
13426         (event_cb): return 1 if we handled the event, 0 otherwise.
13427
13428         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13429
13430 2002-03-18  Juergen Vigna  <jug@sad.it>
13431
13432         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13433         (GetAdditionalWidth): ditto.
13434         (RightLine): ditto.
13435         (LeftLine): ditto.
13436
13437         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13438         inset if we're there actually (probably not used right now but this
13439         is the direction to go for unifying code).
13440         (paste): disable code to clear the selection.
13441
13442         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13443         inside an InsetText and move the check further up as it is in the
13444         wrong place.
13445
13446         * text2.C (pasteSelection): set a selection over the pasted text.
13447
13448 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13449
13450         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13451         and libgraphics to build on Cygwin.
13452
13453 2002-03-15  Juergen Vigna  <jug@sad.it>
13454
13455         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13456         inserting an Inset into the paragraph. I know this is not the best
13457         fix but we already use current_view in CutAndPaste so we will remove
13458         all of it's using at the same time.
13459
13460         * buffer.C (sgmlError): deactivated function till it is rewritten in
13461         the right mode, now it can create problems.
13462
13463         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13464         before accessing it.
13465
13466 2002-03-14  Juergen Vigna  <jug@sad.it>
13467
13468         * undo_funcs.C (textHandleUndo): do the right thing when updating
13469         the inset after the undo/redo.
13470
13471         * text2.C (setCursor): just some testcode for #44 not ready yet.
13472
13473         * undo_funcs.C (textHandleUndo): set the next() and previous()
13474         pointers of the paragraph to 0 before deleting otherwise we have
13475         problems with the Paragraph::[destructor].
13476
13477         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13478         on a paragraph insertion.
13479
13480 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * buffer.C (asciiParagraph): use += operator for char append to
13483         string.
13484
13485         * paragraph.C (getFontSettings): compare >= not just >
13486         (highestFontInRange): ditto
13487         (setFont): ditto
13488
13489 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * paragraph.C: change several algorithm to be more appripriate for
13492         the problem domain. This is lookip in FontList and in the InsetList.
13493
13494 2002-03-13  André Pönitz <poenitz@gmx.net>
13495
13496         * commandtags.h:
13497         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13498
13499 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13500
13501         * commandtags.h:
13502         * LyXAction.C:
13503         * lyxfunc.C:
13504         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13505
13506 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * Painter.C (display): anon helper function, adjust code for this
13509         change.
13510         (pixmap): remove function.
13511
13512         * Painter.h: remove private display variable.
13513
13514         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13515
13516 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13517
13518         * WorkArea.[Ch]: remove figinset_canvas cruft.
13519
13520 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * lyxtextclass.C (operator): add one item cache optimization.
13523
13524         * bufferlist.h: doxy changes
13525
13526         * bufferlist.C: ws changes
13527
13528         * DepTable.[Ch] (ext_exist): place const in the right spot.
13529
13530         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13531         call resizeInsets.
13532         (workAreaExpose): call resizeInsets when the with BufferView changes.
13533         (Dispatch): adjust for protectedBlank removal
13534         (specialChar): call updateInset if the insert went ok.
13535
13536         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13537         specialChar instead.
13538
13539         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13540
13541         * BufferView.h: doxy change
13542
13543         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13544
13545         * lyxtextclass.C (operator[]): remove non-const version
13546         (defaultLayout): remove non-const version
13547
13548 2002-03-12  Juergen Vigna  <jug@sad.it>
13549
13550         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13551         did resize the LyXText too.
13552
13553         * buffer.C (readLyXformat2): set layout information on newly allocated
13554         paragraphs.
13555
13556         * tabular.C (OldFormatRead): set layout information on the paragraph.
13557
13558 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13559
13560         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13561
13562 2002-03-11  Juergen Vigna  <jug@sad.it>
13563
13564         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13565         plainly wrong.
13566         (resizeCurrentBuffer): force also the insets to resize themselfes.
13567         (moveCursorUpdate): fixed up for InsetText.
13568
13569 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * commandtags.h:
13572         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13573         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13574         value of Dialogs::tooltipsEnabled().
13575         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13576
13577 2002-03-08  Juergen Vigna  <jug@sad.it>
13578
13579         * BufferView_pimpl.C (updateInset): update inset inside inset also
13580         if it isn't inside theLockingInset().
13581
13582 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * buffer.C (asciiParagraph): redo some of the word and line length
13585         handling.
13586         (getLists): look for Caption instead of caption.
13587
13588 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13589
13590         * buffer.C (Buffer): initialize niceFile to true
13591         (makeLaTeXFile):
13592         (makeLinuxDocFile):
13593         (makeDocBookFile): make sure niceFile is true on exit
13594
13595 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13596
13597         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13598
13599 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * LyXSendto.C: remove.
13602         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13603         * lyx_gui.C: remove now-redundant comment.
13604         * ColorHandler.h: remove forward declaration of class WorkArea.
13605         * lyxfunc.C: remove #include "WorkArea.h".
13606
13607 2002-03-07  Juergen Vigna  <jug@sad.it>
13608
13609         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13610         got moved away with the DEPM and also set the inset_owner always
13611         right which before could have been omitted.
13612
13613 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13616         wanted layout is not found.
13617
13618 2002-03-07  Juergen Vigna  <jug@sad.it>
13619
13620         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13621
13622 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * paragraph.C (breakParagraph): use default layout not layout of
13625         prev paragraph.
13626         (Paragraph): clear ParagraphParameters.
13627
13628 2002-03-06  Juergen Vigna  <jug@sad.it>
13629
13630         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13631         otherwise it would not be a valid lenght. Fixed a special case in
13632         the minipage compatibility read where we end the document with a
13633         minipage.
13634
13635         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13636         was set as it could be 0 for InsetTexts first entry.
13637
13638 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13639
13640         * paragraph.C (writeFile): if layout is empty write out
13641         defaultLayoutName().
13642
13643         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13644         file without named layout we set layout to defaultLayoutName().
13645
13646 2002-03-06  Juergen Vigna  <jug@sad.it>
13647
13648         * CutAndPaste.C (copySelection): set layout for new paragraph.
13649
13650         * text.C (prepareToPrint): leave ERT inset left aligned
13651         (leftMargin): don't indent paragraphs inside ERT insets
13652
13653 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * paragraph.C (breakParagraph): dont call clear do the work manually
13656
13657         * paragraph.[Ch] (clear): remove function
13658
13659 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13660
13661         * paragraph.C (Paragraph): dont call clear, the work has already
13662         been done.
13663
13664         * lyxtextclass.C (operator): assert if n is empty
13665
13666         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13667         work manually instead.
13668
13669 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * BufferView_pimpl.C: protect selectionLost against text == 0
13672
13673 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * text.C (breakParagraph): fix a setting layout to '0' problem.
13676
13677 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13678
13679         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13680         final location of file, for the included files, and graphics.
13681
13682 2002-03-05  Juergen Vigna  <jug@sad.it>
13683
13684         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13685
13686 2002-03-04  Juergen Vigna  <jug@sad.it>
13687
13688         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13689
13690         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13691         last column of multicolumn cells.
13692         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13693
13694 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13695
13696         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13697         file if it doesn't go to a temporary file.
13698
13699         * buffer.C (sgmlOpenTag):
13700         (sgmlCloseTag):  remove extra newline insertion.
13701
13702 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * text.C (getRowNearY): comment out debug msg
13705
13706 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * text2.C: first -> first_y
13709
13710         * text.C (getRowNearY): add some attemts at a possible
13711         optimization, not working.
13712
13713         * tabular.[Ch]: add BufferParams to several function so that newly
13714         created paragraph can be initialized to he default layotu for the
13715         buffers textclass.
13716
13717         * tabular-old.C (ReadOld): add buf->params to call of Init
13718
13719         * screen.C: rename text->first to text->first_y
13720
13721         * paragraph.C (breakParagraph): always set layout in the broken
13722         paragraph
13723
13724         * lyxtextclass.C (Read): remove lowercase
13725         (hasLayout): ditto
13726         (operator): ditto
13727         (delete_layout): ditto
13728
13729         * lyxtext.h: rename first -> first_y
13730
13731         * lyxlayout.C (Read): remove lowercase
13732         (name): ditto
13733         (setName): ditto
13734         (obsoleted_by): ditto
13735
13736         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13737
13738         * buffer.C (insertErtContents): add params are to InsetERT
13739         (parseSingleLyXformat2Token): add code to check if a paragraphs
13740         layout really exist.
13741         (parseSingleLyXformat2Token): add params to several inset
13742         constructors
13743         (asciiParagraph): remove lowercase, do the layout comparisons with
13744         no_case
13745
13746         * BufferView_pimpl.C (cursorNext): first -> first_y
13747         (resizeCurrentBuffer): first -> first_y
13748         (updateScrollbar): first -> first_y
13749         (scrollCB): first -> first_y
13750         (workAreaMotionNotify): first -> first_y
13751         (workAreaButtonPress): first -> first_y
13752         (checkInsetHit): first -> first_y
13753         (cursorPrevious): first -> first_y
13754         (cursorNext): first -> first_y
13755         (Dispatch): add buffer_->params to severl inset contructors
13756
13757 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * lyxlayout.C (Read): remove some debug info that I forgot.
13760
13761         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13762         clean up the code slightly.
13763         (makeLinuxDocFile): ditto
13764         (makeDocBookFile): ditto
13765
13766         * text2.C: layout as string
13767
13768         * text.C: layout as string
13769
13770         * paragraph_pimpl.C: layout as string
13771
13772         * paragraph.[Ch]: layout as string
13773
13774         * lyxtextclasslist.[Ch]: layout as string
13775
13776         * lyxtextclass.[Ch]: layout as string
13777
13778         * lyxtext.h: layout as string
13779
13780         * lyxlayout.[Ch]: layout as string
13781
13782         * lyx_cb.C: layout as string
13783
13784         * bufferview_funcs.C: layout as string
13785
13786         * bufferparams.C: layout as string
13787
13788         * buffer.C: layout as string
13789
13790         * LyXView.[Ch]: layout as string
13791
13792         * LaTeXFeatures.[Ch]: layout as string
13793
13794         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13795
13796         * BufferView_pimpl.C: change current_layout to string, remove
13797         lyx::layout_type.
13798         (Dispatch):
13799         (smartQuote):
13800         (insertInset):
13801         (workAreaButtonRelease): layout as string
13802
13803         * BufferView2.C (unlockInset): adjust
13804
13805         * vspace.C (asLatexCommand): use an explict temp variable.
13806
13807 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13808
13809         * Makefile.am: use FRONTEND_*
13810
13811 2002-03-01  Juergen Vigna  <jug@sad.it>
13812
13813         * tabular.C (SetWidthOfMulticolCell): changed to something better
13814         I hope but still work in progress.
13815         (recalculateMulticolumnsOfColumn): renamed function from
13816         recalculateMulticolCells as it is more appropriate now.
13817         (SetWidthOfCell): calculate multicols better.
13818
13819 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13820
13821         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13822
13823         * lyxfunc.C (processKeySym): print sequence also if it is
13824         `deleted' (complete)
13825
13826         * kbsequence.C (print): print sequence even if it is deleted
13827         (complete would be a better word, actually).
13828
13829         * lyxfunc.C (dispatch): print complete options after a prefix key
13830
13831         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13832
13833 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13834
13835         * text2.C (setCharFont): eliminate setCharFont code duplication.
13836
13837 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13838
13839         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13840         LFUN_TABULAR_FEATURE (bug #177)
13841
13842 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * Makefile.am: remove figure.h
13845
13846 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * Bufferview_pimpl.C:
13849         * CutAndPasteC:
13850         * LaTeX.C:
13851         * LyXSendto.C:
13852         * buffer.C:
13853         * bufferlist.C:
13854         * converter.C:
13855         * language.C:
13856         * lyxfunc.C:
13857         * lyxvc.C:
13858         * paragraph.C:
13859         * text.C:
13860         * text2.C: remove #include "lyx_gui_misc.h".
13861
13862         * LaTeX.C: added #include <cstdio>
13863
13864 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13865
13866         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13867         that the paragraph following this one can have.
13868
13869         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13870
13871         * vspace.C (asLatexCommand): fix bogus gcc warning
13872
13873         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13874
13875 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13876
13877         * text2.C (setLayout): get rid of redundant code
13878
13879 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13880
13881         * text2.C (incDepth): make sure depth cannot be increased beyond
13882         reasonable values.
13883
13884 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13885
13886         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13887         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13888
13889         * PainterBase.h (image):
13890         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13891         a LyXImage const *.
13892
13893 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13894
13895         * BufferView.C:
13896         * BufferView.h:
13897         * BufferView_pimpl.C:
13898         * BufferView_pimpl.h:
13899         * LaTeXFeatures.C:
13900         * LyXAction.C:
13901         * LyXView.C:
13902         * Makefile.am:
13903         * UpdateList.h:
13904         * UpdateList.C:
13905         * buffer.C:
13906         * figure.h:
13907         * figureForm.C:
13908         * figureForm.h:
13909         * figure_form.C:
13910         * figure_form.h:
13911         * lyx_cb.C:
13912         * lyx_gui.C:
13913         * lyx_gui_misc.C:
13914         * lyxfunc.C:
13915         * sp_base.h:
13916         * sp_ispell.h:
13917         * sp_pspell.h:
13918         * sp_spell.C: remove fig inset, and the crap house of
13919           cards that follows it
13920
13921 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * Makefile.am:
13924         * lyxserver.C:
13925         * os2_defines.h:
13926         * os2_errortable.h:
13927         * nt_defines.h: move .h into support/
13928
13929         * vms_defines.h: remove
13930
13931         * WorkArea.C: add space in debug output
13932
13933         * text2.C:
13934         * paragraph.C:
13935         * buffer.C: add WITH_WARNINGS
13936
13937         * vc-backend.h:
13938         * vc-backend.C:
13939         * bufferlist.C: s/retrive/retrieve/, add docs
13940
13941         * vspace.h:
13942         * vspace.C:
13943         * kbmap.h:
13944         * lyxlength.h:
13945         * lyxgluelength.h:
13946         * length_common.h:
13947         * chset.h:
13948         * chset.C: add docs
13949
13950         * lyxgui.C: add ID to X error handler
13951
13952         * lyxtestclass.c: fix typo
13953
13954 2002-02-26  Juergen Vigna  <jug@sad.it>
13955
13956         * tabular_funcs.C (write_attribute): changed so that some default
13957         attributes are not written at all.
13958         (getTokenValue): set default values before trying to read the
13959         value so we have the return value always set as default if we don't
13960         find the token we search for.
13961
13962         * tabular.C (Write): write bools as bools not as strings!
13963
13964 2002-02-22  Juergen Vigna  <jug@sad.it>
13965
13966         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13967         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13968
13969         * text.C (leftMargin): don't add an indent for paragraphs inside
13970         tabular cells (fix #208).
13971
13972 2002-02-21  José Matos  <jamatos@fep.up.pt>
13973
13974         * tabular.C (docBook): fixed support for long tables.
13975
13976 2002-02-20  Juergen Vigna  <jug@sad.it>
13977
13978         * text2.C (getFont): get the drawing font of the Inset if this
13979         paragraph is inside an inset (only important for InsetERT for now).
13980
13981         * buffer.C (insertErtContents): use new lanugage params in ERT
13982         constructor.
13983
13984         * CutAndPaste.C: commenting out seemingly uneeded code.
13985
13986 2002-02-19  Allan Rae  <rae@lyx.org>
13987
13988         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13989         Iterators might be simple to use but they also get invalidated.
13990         (removeAutoInsets): renamed saved cursor tracking variables and added
13991         some comments to clarify what everything does.
13992
13993 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13994
13995         * Chktex.C:
13996         * LaTeX.C:
13997         * LyXSendto.C:
13998         * converter.C:
13999         * lyx_cb.C:
14000         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14001         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14002
14003         * lyxfunc.C:
14004         * vc-backend.h: remove #include "support/syscall.h"
14005
14006         * LaTeX.C:
14007         * LyXSendto.C:
14008         * converter.C: rearrange #includes in Lars' approved fashion.
14009
14010         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14011         forward declare class Timeout in the header file.
14012
14013         * XFormsView.C: changes due to the above.
14014
14015         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14016         similar to LyXView.
14017
14018         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14019         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14020
14021 2002-02-18  José Matos  <jamatos@fep.up.pt>
14022
14023         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14024         insets contents.
14025
14026 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14027
14028         * a lot of small ws changes
14029         * add a lot of using std::XXX
14030         * use std construcs some places where approp.
14031         * use some exisint stuff from lyxfunctional where approp.
14032         * Make file changes to use partial linking (lets test this now...)
14033
14034 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14035
14036         * Chktex.C:
14037         * buffer.C:
14038         remove #include "support/syscontr.h" as it's redundant. Always has been.
14039
14040         * Chktex.C:
14041         * LaTeX.C:
14042         * LyXSendto.C:
14043         * converter.C:
14044         * lyx_cb.C:
14045         * vc-backend.C:
14046         change Systemcalls::System to Systemcalls::Wait and
14047         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14048         No change of functionality, just reflects the stripped down Systemcalls
14049         class.
14050
14051 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14052
14053         * debug.[Ch]: add a GRAPHICS type to the enum.
14054
14055 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14056
14057         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14058
14059         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14060         there is an inset.
14061
14062 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14063
14064         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14065         match the changes below.
14066
14067         * text2.C (toggleInset): if there is not editable inset at cursor
14068         position, try to see if cursor is _inside_ a collapsable inset
14069         and close it.
14070
14071 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14074         document menu has a nice checkbox
14075
14076 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14077
14078         * lyxlength.C (asLatexString): change PW to output as percent of
14079         \textwidth.
14080
14081         * lengthcommon.C: change '%' to 't%'
14082
14083         * lyxfunc.C (dispatch): a few comments from Martin
14084
14085 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14086
14087         * WorkArea.h:
14088         * WorkArea.C:
14089         * BufferView_pimpl.h:
14090         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14091           the X selection.
14092
14093 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14094
14095         * vspace.C (inPixels): fix compiler warning
14096
14097 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14098
14099         * lyxfunc.C (getStatus): fix status message for disabled commands.
14100
14101 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14102
14103         * BufferView_pimpl.C: fix crash on close buffer
14104         during selection (#227)
14105
14106 2002-01-27  Herbert Voss  <voss@lyx.org>
14107
14108         * buffer.C: link old Figure to new graphic inset
14109
14110 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14111
14112         * FontLoader.C (getFontinfo): Change the latex font names in order
14113         to match the names of type1inst.
14114
14115 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14118
14119         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14120         (extchanged): ditto
14121         (ext_exist): ditto
14122         (remove_files_with_extension): ditto
14123         (remove_file): ditto
14124         (write): ditto
14125
14126         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14127         document is smaller than the work area height. Do not initialize
14128         static variables to 0.
14129
14130 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14131
14132         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14133
14134         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14135         LFUN_LAYOUT_PARAGRAPHS.
14136
14137         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14138         tabular. It is possible to provide a possible cell, which will
14139         typically be the actcell from the corresponding insettabular
14140
14141         * lyxfunc.C (getStatus): small cleanup; disable
14142         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14143         true
14144
14145 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14146
14147         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14148
14149         * paragraph.C (startTeXParParams):
14150         (endTeXParParams): new methods. The LaTeX code to
14151         start/end paragraph formatting
14152         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14153         empty (fixes bug #200)
14154
14155         * vspace.C (inPixels): adapt to the change below
14156         (inPixels): [later] more cleanups (remove unused variables)
14157
14158         * lyxlength.C (inPixels): change to use a width and a height as
14159         parameter.
14160
14161 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14162
14163         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14164         Replaced with \paperwidth
14165
14166         * DepTable.C (insert): add std:: qualifier
14167
14168 2002-01-18  Allan Rae  <rae@lyx.org>
14169
14170         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14171         updated also?
14172
14173         * text.C (drawInset): Turned out I didn't know enough about how
14174         rebreaking worked.  This fixes most of the redraw problems.  I see
14175         an occasional cursor trail when a line is broken now and the cursor
14176         placement can seem out by a few pixels also after a rebreak.
14177
14178 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14179
14180         * buffer.C (parseSingleLyXformat2Token): update because minipage
14181         width is now a LyXLength
14182
14183         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14184
14185         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14186         math insets
14187
14188 2002-01-17  Juergen Vigna  <jug@sad.it>
14189
14190         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14191
14192         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14193         is set correctly and the inset is updated correctly.
14194
14195 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14196
14197         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14198         the beginning of the loop.
14199
14200 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * lyxrc.C: improve help for use_scalable_fonts
14203
14204 2002-01-17  Allan Rae  <rae@lyx.org>
14205
14206         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14207
14208 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14209
14210         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14211         make sure to set their inset_owner to the right value (bug #171)
14212
14213 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14214
14215         * DepTable.h
14216         * DepTable.C: Implement mtime checking to reduce time spent doing
14217         CRCs.
14218
14219 2002-01-16  Juergen Vigna  <jug@sad.it>
14220
14221         * tabular.C (GetAdditionalHeight): one of error fixed.
14222
14223         * lyxrc.C (output): small fix in writing use_pspell.
14224
14225 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         * sp_base.h: #include LString.h
14228
14229 2002-01-16  Allan Rae  <rae@lyx.org>
14230
14231         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14232         Can someone check this please?
14233
14234         * text.C (drawInset): It was possible that p.row would be removed by
14235         breakAgainOneRow upsetting a few other settings.  There may be another
14236         small tweak possible by setting need_break_row = 0 when p.row has been
14237         removed but I don't know enough about the logic here.
14238
14239 2002-01-15  Allan Rae  <rae@lyx.org>
14240
14241         * text.C (insertChar): removed conditional truism.
14242
14243         * BufferView2.C (removeAutoInsets): More tweaks.
14244         cur_par_prev could be a stray pointer.  Check for trailing empty line
14245         in case last line was cur_par and only had an error inset on it.
14246
14247 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14248
14249         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14250         absolute
14251
14252         * vc-backend.C (most methods):
14253         * exporter.C (Export):
14254         * converter.C (convert):
14255         (runLaTeX):
14256         * LyXSendto.C (SendtoApplyCB):
14257         * lyxfunc.C (dispatch):
14258         (menuNew):
14259         (open):
14260         (doImport):
14261         * lyx_cb.C (AutoSave):
14262         (InsertAsciiFile):
14263         * BufferView_pimpl.C (MenuInsertLyXFile):
14264         * buffer.C (runChktex): use Buffer::filePath().
14265
14266         * buffer.h: rename filename to filename_; rename filepath to
14267         filepath_ and make it private
14268         (filePath): new method
14269
14270         * buffer.C (writeFile): use fileName()
14271         (getLatexName):
14272
14273         * lyx_main.C (init): fix starting  of LyX when the binary is a
14274         link from so,ewhere else.
14275
14276         * minibuffer.C: include <cctype> for isprint
14277
14278 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14279
14280         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14281         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14282         name clash with InsetCollapsable's width function.
14283
14284 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * lastfiles.C: include <iterator>
14287
14288 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14289
14290         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14291         std::count.
14292
14293         * buffer.C (makeLaTeXFile): ditto.
14294         Also make loop operation more transparent.
14295
14296 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * ToolbarDefaults.C: remove trailing comma closing namespace.
14299
14300         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14301
14302         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14303         as in WorkArea.
14304
14305         * trans.C (Load): comment out unused variable, allowed.
14306
14307 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14308
14309         * minibuffer.[Ch] (append_char): new method to recieve input from the
14310         drop-down completion browser. If a key was pressed, then recieve this
14311         char and append it to the existing string.
14312         (peek_event): modify the positioning data passed to the completion
14313         browser so that it can be placed above the minibuffer rather than below.
14314 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * LyXAction.C (init): alloe error-next for readonly documents.
14317
14318         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14319         count.
14320
14321 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14322
14323         * bufferlist.C (readFile): create the buffer _after_ checking that
14324         the file exists.
14325
14326         * lyxfunc.C (verboseDispatch): fix handling of arguments
14327
14328         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14329
14330         * lyxrc.C: use string::erase() instead of initializing to "".
14331
14332
14333 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14334
14335         * BufferView_pimpl.h:
14336         * BufferView_pimpl.C:
14337         * WorkArea.h:
14338         * WorkArea.C:
14339         * text2.C: tell X when we have made a selection for copying
14340
14341 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14342
14343         * BufferView_pimpl.C (MenuInsertLyXFile):
14344         * lyxfunc.C (menuNew):
14345         (open):
14346         (doImport): add shortcuts to directory buttons
14347
14348         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14349         open a float)
14350
14351         * lyxfunc.C (setStatusMessage):
14352         (getStatusMessage): new methods
14353         (getStatus):use setStatusMessage instead of setErrorMessage
14354         (dispatch): when function is disabled, set error message here
14355         [instead of in getStatus previously]
14356
14357         * BufferView_pimpl.C (workAreaButtonRelease): update
14358         toolbar/menubar here too.
14359
14360 2002-01-13  Allan Rae  <rae@lyx.org>
14361
14362         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14363         Now seems indestructible.  Remaining task is to audit all other
14364         code affected by deleteEmptyParagraphMechanism.  One small quirk
14365         left is that an empty document with an error in the preamble can
14366         be made to report an error but no error box appears.  I don't know
14367         where it goes.
14368         (removeAutoInsets): Improved comments.
14369
14370 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * Thesaurus.h:
14373         * Thesaurus.C: update for Aiksaurus 0.14
14374
14375 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14376
14377         * text2.C (firstParagraph): removed member function, all uses
14378         replaces with ownerParagraph
14379         (redoParagraphs): here
14380         (updateInset): here
14381         (toggleAppendix): here
14382         * BufferView2.C (insertErrors): here
14383         (setCursorFromRow): here
14384
14385 2002-01-13  Allan Rae  <rae@lyx.org>
14386
14387         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14388         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14389         There is still a way to segfault this although you may have to do this
14390         multiple times: Have an InsetERT with an unknown command in it.
14391         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14392         <down-arrow>, <Enter> again, View->DVI, BANG!
14393
14394         * text2.C (setCursor):
14395         (deleteEmptyParagraphMechanism):
14396         * lyxtext.h (setCursor):
14397         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14398         Making use of the return value may help fix other bugs.
14399
14400 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14401
14402         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14403
14404         * LyXView.C (updateMenubar): call MenuBar::update here
14405         (updateToolbar): but not here
14406         (showState): do not update toolbar/menubar
14407
14408         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14409         should need to care about that.
14410
14411         * lyxfunc.C (verboseDispatch): simplify a bit
14412         (getStatus): have a version which takes a pseudoaction, and
14413         another which requires a (kb_action,string).
14414
14415         * LyXAction.C (retrieveActionArg): make it work also when action
14416         is not a pseudo-action.
14417         (getActionName): simplify a bit
14418         (helpText):
14419
14420 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14421
14422         * lyxfunc.C (verboseDispatch): new families of methods with
14423         several ways to specify a command and a bool to indicate whether
14424         the command name and shortcut should be displayed in minibuffer
14425         (eventually, we could extend that to a finer bitmask like
14426         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14427         (dispatch): the pristine dispatch command which just, well,
14428         dispatchs! Note it still sets its result to minibuffer; I'm not
14429         sure we want that.
14430
14431         * lyxfunc.h: remove setHintMessage
14432
14433         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14434
14435 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14436
14437         * BufferView_pimpl.C (specialChar): delete new inset if we have
14438         not been able to insert it.
14439
14440         * kbmap.C: revert to using int instead of kb_action, since all we
14441         are dealing with is pseudo-actions.
14442
14443         * LyXAction.C (searchActionArg): change to return int instead of
14444         kb_action, since the result is a pseudoaction.
14445
14446 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14447
14448         * buffer.C (insertErtContents): Fix (partially) the font bug.
14449
14450 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14451
14452         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14453         as the other one is broken on my machine!
14454
14455 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14456
14457         * commandtags.h:
14458         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14459
14460 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14463         reflect their actual use. Provide compatibility code for older lyxrc
14464         files.
14465
14466         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14467         FL_NORMAL_STYLE.
14468         change names of popup font variables in line with the changes to lyxrc.C
14469
14470 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14471
14472         * buffer.C (asciiParagraph): avoid outputing a word twice after
14473         an inset.
14474
14475         * lyxrc.C (getDescription): document that document_path and
14476         template_path can be empty.
14477
14478 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14479
14480         * LaTeXFeatures.C (getMacros):
14481         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14482
14483         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14484
14485         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14486         getPackages.
14487         (getPackages): rename feature "floats" to "float". Use an array to
14488         iterate over 'simple' features (i.e. just a \usepackage). Add
14489         handling of "amsmath" (renamed from "amsstyle").
14490
14491 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14492
14493         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14494         features list.
14495
14496 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14497
14498         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14499         FuncStaus::FuncStatus & FuncStaus::some_method().
14500
14501 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14502
14503         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14504         of the func_satus stuff. Edited and massaged in various ways by
14505         JMarc.
14506
14507         * lyxfunc.C (getStatus): use FuncStatus
14508
14509 2002-01-08  Juergen Vigna  <jug@sad.it>
14510
14511         * text.C (nextBreakPoint): use function Inset::isChar().
14512
14513         * paragraph.C (TeXOnePar): use function
14514         Inset::forceDefaultParagraphs.
14515
14516         * buffer.C (latexParagraphs): use function
14517         Inset::forceDefaultParagraphs.
14518
14519 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14520
14521         * lyx_gui.C (init): set the style of the menu popups to
14522         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14523
14524 2002-01-07  Juergen Vigna  <jug@sad.it>
14525
14526         * text.C (setHeightOfRow): small fix
14527         (prepareToPrint): don't look at alignment if we don't have the place
14528         for doing it.
14529
14530 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * box.C: New file. Move the Box methods and functions out of box.h,
14533         following Lars' suggestion.
14534
14535 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14536
14537         * box.h: #include "support/LOstream.h", needed for inlined function.
14538
14539         * lyxtextclass.C:
14540         * lyxtextclasslist.C: added some using std declarations.
14541
14542 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * box.h: make signed dimensions to allow insets wider than
14545           the screen (bug #162)
14546
14547         * BufferView_pimpl.C: add some insetHit debug
14548
14549 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * vc-backend.C: add FIXME
14552
14553 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14554
14555         * lyxfunc.C (getStatus): enable code for showing math font status
14556         in toolbar/menu.
14557
14558 2002-01-07  Juergen Vigna  <jug@sad.it>
14559
14560         * text.C (nextBreakPoint): removed debug output not needed anymore.
14561
14562 2002-01-06  Juergen Vigna  <jug@sad.it>
14563
14564         * text.C (nextBreakPoint): fixed up this function we had this bug
14565         since ever but now hopefully we break row better.
14566         (insertChar): we have to check if an inset is the next char as it
14567         could now happen that a large inset is causing a break.
14568
14569 2002-01-05  Juergen Vigna  <jug@sad.it>
14570
14571         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14572         if it doesn't like to be drawed.
14573
14574 2002-01-04  Juergen Vigna  <jug@sad.it>
14575
14576         * BufferView2.C (lockInset): forgot to set a cursor.
14577
14578         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14579
14580 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14581
14582         * FormMathsPanel.C:
14583         * FormMathsPanel.h
14584         * MathsSymbols.C:
14585         * form_maths_panel.C:
14586         * form_maths_panel.h:
14587         * form_maths_panel.fd: implemented sub- and super- buttons in math
14588         panel.
14589
14590         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14591         (or ^ space) to be used as in TeX (req'd by Andr�.
14592
14593         * lyxfunc.C: Allow ^ and _ again to be used both as
14594         super/subscript (mathed) and as themselves (in text).
14595
14596 2002-01-03  Allan Rae  <rae@lyx.org>
14597
14598         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14599         "LyX" or the filename of the current buffer if it has one.  This is a
14600         modified form of John Levon's patch.
14601
14602         * XFormsView.C (setWindowTitle): also set icon title.
14603
14604         * LyXView.h (setWindowTitle): signature changed.
14605         * XFormsView.h (setWindowTitle): ditto.
14606
14607 2002-01-02  Juergen Vigna  <jug@sad.it>
14608
14609         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14610
14611 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14612
14613         * screen.C (topCursorVisible): introduce a temp var for
14614         text->cursor.row(), handle the case where this row is null. (kindo
14615         hachish)
14616
14617         * text2.C (setCursor): add a couple of asserts.
14618
14619         * paragraph.h (inset_iterator): add -> operator
14620
14621         * paragraph.[Ch] (autoDeleteInsets): remove member function
14622
14623         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14624         cursor pos correctly and handle inset deletion by itself.
14625         (insertErrors): move iterator declaration out of for expression
14626
14627         * lyxtextclass.C: add <algorithm>
14628
14629         * Makefile.am: added the new files to sources, removed layout.C
14630
14631         * layout.C: removed file
14632
14633         * layout.h: remove LYX_DUMMY_LAYOUT
14634
14635         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14636         layout.
14637
14638         * lyxlayout.[Ch]:
14639         * lyxtextclass.[Ch]:
14640         * lyxtextclasslist.[Ch]: new files
14641
14642         * include order changes to a lot of files, also changes because of
14643         the six new files.
14644
14645 2001-12-27  Juergen Vigna  <jug@sad.it>
14646
14647         * buffer.C (asciiParagraph): more fixes.
14648
14649         * tabular.C (ascii): make ascii export support export of only the
14650         data separated by a column-delimiter.
14651         (ascii): better support for ascii export.
14652
14653         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14654
14655 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14656
14657         * tabular_funcs.C: use a "using std::getline" instead of the
14658         previous fix from Angus (necessary for cxx + lyxstring)
14659
14660 2001-12-24  Juergen Vigna  <jug@sad.it>
14661
14662         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14663
14664         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14665         problems. First check a minipage also if we have some ert-contents
14666         (not only on par->size(), second set the right depth of the paragraph
14667         on the relink to the root-paragraph-list!
14668
14669         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14670         which then did not anymore update the main paragraphs on undo/redo!
14671
14672 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14673
14674         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14675         code. Support all font-changing funcs (even those which are not in
14676         menu currently). Support for reporting font settings in
14677         mathed (disabled until Andre provides a function on mathed's side).
14678
14679         * func_status.h (toggle): small helper function to set toggle
14680         state on a flag.
14681
14682 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14683
14684         * tabular_funcs.C: getline -> std::getline
14685
14686 2001-12-21  Juergen Vigna  <jug@sad.it>
14687
14688         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14689         accessed and could be 0 (I couldn't generate this but it seems
14690         Michael could!).
14691
14692 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14693
14694         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14695         * tabular_funcs.h: here and include iosfwd
14696
14697 2001-12-20  Juergen Vigna  <jug@sad.it>
14698
14699         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14700         inside inset but undo_par was.
14701
14702 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14703
14704         * Thesaurus.C: always include <config.h> in sources.
14705
14706         * Painter.h:
14707         * lyxlookup.h:
14708         * box.h: do not include <config.h> in header files
14709
14710         * text.C (paintLastRow): remove unused variable
14711
14712         * text.C (transformChar):
14713         (insertChar):
14714         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14715
14716         * Painter.C (text):
14717         * font.C (width): rewrite to use uppercase() instead of
14718         islower/toupper.
14719
14720         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14721
14722 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * lyxfind.C: clean up of find failure position change
14725
14726 2001-12-20  Juergen Vigna  <jug@sad.it>
14727
14728         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14729
14730         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14731         (TeXRow): added to LaTeX a single tabular row.
14732         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14733         (Latex): simplified and finally good LT-h/f support.
14734         (various_functions): just small adaptions for LT-h/f support.
14735
14736         * tabular_funcs.[hC]: added and moved here all not classfunctions
14737         of LyXTabular.
14738
14739 2001-12-19  Juergen Vigna  <jug@sad.it>
14740
14741         * tabular.[Ch]: better support for longtabular options (not finished
14742         yet!)
14743
14744 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14745
14746         * text.C (paintLastRow): use the label font instead of the font of
14747         the last character to compute the size of *_BOX. This makes more
14748         sense and avoids a crash with empty paragraphs.
14749         Use Painter::rectangle to draw EMPTY_BOX.
14750
14751 2001-12-19  Juergen Vigna  <jug@sad.it>
14752
14753         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14754         the paragraphs if the replaced paragraph is not the first one!
14755         Tried to delete not used paragraphs but does not work yet so for
14756         now it's inside #ifdef's and by default off!
14757
14758 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14759
14760         * MenuBackend.C: include "lyx_main.h" instead of declaring
14761         lastfiles (actually was declared as LastFiles* instead of a
14762         scoped_ptr).
14763
14764 2001-12-17  Juergen Vigna  <jug@sad.it>
14765
14766         * tabular.C (AppendColumn): applied John's fix
14767
14768 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * BufferView.h:
14771         * BufferView.C:
14772         * BufferView_pimpl.h:
14773         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14774
14775         * Makefile.am:
14776         * box.h: new start of class for above
14777
14778         * lyxfunc.C: ignore space-only minibuffer dispatches.
14779           Show the command name when it doesn't exist
14780
14781         * minibuffer.C: don't add empty lines to the history
14782
14783         * minibuffer.C: add a space on dropdown completion
14784
14785 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14786
14787         * text.C: fix line above/below drawing in insets
14788
14789 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * lyxlength.C (LyXLength): Initialize private variables.
14792
14793 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14794
14795         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14796         when inserting error insets.
14797
14798 2001-12-13  Juergen Vigna  <jug@sad.it>
14799
14800         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14801         actually sometimes the before-paragraph.
14802         (setUndo): don't clear the redostack if we're not actually undoing!
14803
14804 2001-12-06  Juergen Vigna  <jug@sad.it>
14805
14806         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14807         and fixed redoing of main paragraph, so we can use it now ;)
14808
14809         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14810
14811 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14812
14813         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14814         Juergen's request
14815
14816 2001-12-13  André Pönitz <poenitz@gmx.net>
14817
14818         * undostack.[Ch]:
14819         * undo_func.C: minor cleanup
14820
14821 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14822
14823         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14824         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14825         font in urw-fonts package which is marked as -urw-fontspecific and
14826         does not work (incidentally, changing the encoding in the
14827         fonts.dir of this package to -adobe-fontspecific fixes the
14828         problem).
14829
14830         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14831         is a crash when undoing first paragraph (Juergen, please take a
14832         look). THis does not mean the undo fix is wrong, just that it
14833         uncovers problems.
14834
14835         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14836         the (Paragraph*) version when needed instead of duplicating the
14837         code.
14838
14839         * text.C (workWidth): use Inset::parOwner to find out where the
14840         inset has been inserted. This is a huge performance gain for large
14841         documents with lots of insets. If Inset::parOwner is not set, fall
14842         back on the brute force method
14843
14844         * paragraph_pimpl.C (insertInset):
14845         * paragraph.C (Paragraph):
14846         (cutIntoMinibuffer): set parOwner of insets when
14847         inserting/removing them
14848
14849         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14850
14851 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14852
14853         * commandtags.h:
14854         * LyXAction.C:
14855         * lyx_main.C:
14856         * lyxfunc.C:
14857         * mathed/formulabase.C:
14858         * mathed/math_cursor.[Ch]:
14859         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14860
14861
14862 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * lyxlength.[Ch] (operator!=): new function
14865
14866 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14867
14868         * text.C (workWidth): use Inset::parOwner to find out where the
14869         inset has been inserted. This is a huge performance gain for large
14870         documents with lots of insets. If Inset::parOwner is not set, fall
14871         back on the brute force method
14872
14873         * paragraph_pimpl.C (insertInset):
14874         * paragraph.C (Paragraph):
14875         (cutIntoMinibuffer): set parOwner of insets when
14876         inserting/removing them
14877
14878         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14879
14880 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14881
14882         * tabular-old.C (getTokenValue):
14883         * tabular.C (getTokenValue):
14884         (write_attribute): new versions for LyXLength
14885         (everywhere): adjust the use of widths
14886
14887         * tabular.h: change the type of widths from string to LyXLength
14888
14889 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14890
14891         * paragraph.C: fixed missing line number count when exporting
14892         Environments to LaTeX file
14893
14894         * buffer.C: added informational message for checking line numbers.
14895
14896 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14897
14898         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14899         paragraph, do the 'double space' part, but not the 'empty
14900         paragraph' one.
14901
14902         * text.C (workWidth): small optimization
14903         (getLengthMarkerHeight): use minimal size for negative lengths.
14904
14905 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14906
14907         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14908
14909         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14910
14911 2001-12-11  André Pönitz <poenitz@gmx.net>
14912
14913         * FontLoader.C:
14914         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14915
14916 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14917
14918         * text2.C: keep selection on a setFont()
14919
14920 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * lyx_cb.C: another bv->text misuse, from insert label
14923
14924 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * kbsequence.h:
14927         * kbsequence.C: re-instate nmodifier mask
14928
14929 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * lyx_main.h: make lyxGUI private.
14932
14933 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * lyxfind.C: place the cursor correctly on failed search
14936
14937 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14938
14939         * text.C (getLengthMarkerHeight): for small heights, the arrows
14940         are not always on top/bottom of the text
14941         (drawLengthMarker): smaller arrows; take the left margin in
14942         account; draw also vfills.
14943         (paintFirstRow):
14944         (paintLastRow): remove special code for vfill and standard spaces,
14945         since everything is handled in drawLengthMarker now.
14946
14947 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14948
14949         * buffer.C (insertErtContents): try to handle font and language
14950         interaction a bit better.g
14951
14952         * ColorHandler.C (updateColor): change the hash to cover the whole
14953         LColor enum, ws cleanup
14954         (getGCLinepars): ditto
14955         (getGCLinepars): only lookup in the linecache once.
14956
14957 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14958
14959         * iterators.C (operator++): Make the iterator more robust
14960
14961         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14962         (John's patch)
14963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14964
14965 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * lyxtext.h:
14968         * text.C: better added space drawing
14969
14970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * LyXView.C:
14973         * BufferView2.C: fix layout combo update on inset unlock
14974
14975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * Makefile.am: don't compile unused files
14978
14979 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * lyxfunc.C:
14982         * commandtags.h:
14983         * LyXAction.C: remove old LFUN_LAYOUTNO
14984
14985 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14986
14987         * paragraph_pimpl.h:
14988         * paragraph_pimpl.C: isTextAt() doesn't need font param
14989
14990 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * lyxlex.h:
14993         * lyxlex.C: little cleanup
14994
14995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * BufferView_pimpl.C: fix insertAscii for insets
14998
14999 2001-12-05  Juergen Vigna  <jug@sad.it>
15000
15001         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15002         set the right font on the "multi" paragraph paste!
15003
15004 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15005
15006         * trans_decl.h:
15007         * trans_mgr.[Ch]:
15008         * trans.[Ch]:
15009         * lyxgluelength.C:
15010         * lyxlength.C: remove out-commented code.
15011
15012         * BufferView_pimpl:
15013         * CutAndPaste.C:
15014         * DepTable.C:
15015         * buffer.C:
15016         * chset.C:
15017         * lastfiles.C:
15018         * lyxlex.C:
15019         * lyxlex_pimpl.C:
15020         * lyxserver.C:
15021         * screen.C:
15022         * tabular-old.C:
15023         * tabular.C:
15024         * text.C:
15025         * trans_mgr.C:
15026         * vc-backend.C: change "while(" to "while ("
15027
15028         * lyxlength.[Ch]: add zero function to check if length is zero or
15029         not
15030         * lyxgluelength.C: use it
15031
15032 2001-12-05  Allan Rae  <rae@lyx.org>
15033
15034         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15035         Works for 2.95.3, from what I understand of Garst's reports this should
15036         work for other g++ versions.  We're screwed if the abs(int) definition
15037         changed between bugfix releases of gcc.
15038
15039 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15040
15041         * text.C: fix chapter label offset !
15042
15043 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15044
15045         * lyxtext.h:
15046         * text.C: fix hfill at end of line, clean up
15047
15048 2001-12-04  Juergen Vigna  <jug@sad.it>
15049
15050         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15051         that we force an update of the inset and it's owners if neccessary.
15052
15053 2001-12-03  Juergen Vigna  <jug@sad.it>
15054
15055         * text.C (rowLast): simplified code
15056
15057 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * lyxfunc.C: fix show options on timeout
15060
15061 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15062
15063         * screen.C (topCursorVisible): scroll half a page when the cursor
15064         reached top of bottom of screen
15065
15066 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * minibuffer.C: deactivate on loss of focus
15069
15070 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15071
15072         * vspace.[Ch] (operator!=): add operator.
15073
15074 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * BufferView_pimpl.C: refuse to open an inset when
15077         there's a selection.
15078
15079 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * BufferView_pimpl.C: allow to click on RHS of full row insets
15082
15083 2001-11-30  Juergen Vigna  <jug@sad.it>
15084
15085         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15086         insets for undo reasons.
15087
15088 2001-11-28  André Pönitz <poenitz@gmx.net>
15089
15090         * vspace.[Ch]: cosmetical changes
15091
15092 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * LyXAction.h:
15095         * LyXAction.C:
15096         * lyxfunc.h:
15097         * lyxfunc.C:
15098         * kbmap.h:
15099         * kbmap.C:
15100         * lyxrc.C:
15101         * kbsequence.h:
15102         * kbsequence.C: part re-write of old kb code
15103
15104         * Painter.C:
15105         * WorkArea.C: remove Lgb_bug_find_hack
15106
15107 2001-11-30  José Matos <jamatos@fep.up.pt>
15108
15109         * buffer.C (makeDocBookFile): add a comment to point a hack.
15110         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15111         Fixed a double write of labels.
15112
15113 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15114
15115         * LaTeX.C:
15116         * LaTeX.h Fixed bug in LaTeX class where it would not
15117         re-run latex if no depfiles were changed, but the .dvi was removed.
15118
15119 2001-11-28  André Pönitz <poenitz@gmx.net>
15120
15121         * all the files from the change on 2001/11/26:
15122         use lyx::layout_type instead of LyXTextClass::size_type
15123         use lyx::textclass_type instead of LyXTextClassList::size_type
15124
15125 2001-11-29  Juergen Vigna  <jug@sad.it>
15126
15127         * text.C: added support for paragraph::isFreeSpacing()
15128
15129         * buffer.C: same as above
15130
15131         * paragraph.h: inserted isFreeSpacing() function to enable
15132         FreeSpacing inside InsetERT.
15133
15134         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15135         of the paragraph's in the cut/copy buffer to 0!
15136
15137         * text2.C (removeRow): remove the assert as it can!
15138
15139         * lyxtext.h: added helper function firstRow returning firstrow and
15140         made firstrow private again.
15141
15142         * BufferView2.C (lockInset): don't relock if we're already locked!
15143
15144         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15145         the only paragraph.
15146         (removeRow): added Assert::(firstrow)
15147
15148         * debug.C: forgot to add INSETTEXT here.
15149
15150 2001-11-28  Juergen Vigna  <jug@sad.it>
15151
15152         * sp_spell.C (initialize): changed error text to more general
15153         spellchecker command use (not only ispell!)
15154
15155         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15156
15157         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15158
15159 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15160
15161         * vspace.C: initialise lyxgluelength on failure
15162
15163 2001-11-28  Allan Rae  <rae@lyx.org>
15164
15165         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15166         declaration & definition that looks like a function declaration.
15167
15168 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * BufferView2.C (copy):
15171         (copyEnvironment): do not clear the selection when doing a copy.
15172
15173         * text.C (paintFirstRow): compilation fix
15174
15175 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15176
15177         * tabular.C (Latex): correct line count when writing latex.
15178
15179 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * paragraph_pimpl.h:
15182         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15183           bug a bit
15184
15185 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15186
15187         * text.C:
15188         * LColor.h:
15189         * LColor.C: change vfillline->added_space
15190
15191         * text.C: add markers and text for added space
15192
15193         * vspace.C: fix comment
15194
15195 2001-11-28  André Pönitz <poenitz@gmx.net>
15196
15197         * paragraph.C: whitespace changes
15198         * all the other files from the change on 2001/11/26:
15199         change *::pos_type into lyx::pos_type
15200
15201 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15202
15203         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15204         language of the document when inserting error insets.
15205
15206 2001-11-26  André Pönitz <poenitz@gmx.net>
15207
15208         * BufferView_pimpl.[Ch]:
15209         *       CutAndPaste.C:
15210         * buffer.[Ch]:
15211         * lyxcursor.[Ch]:
15212         * lyxfind.C:
15213         * lyxfunc.C:
15214         * lyxrow.[Ch]:
15215         * paragraph.[Ch]:
15216         * paragraph_pimpl.[Ch]:
15217         * sp_spell.C:
15218         * text.C:
15219         * text2.C: reduce header dependencies, introduce type for positions
15220
15221 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * <various>: change to use Alert.h
15224
15225 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15226
15227         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15228         when encountering an unknown token.
15229         (readLyXformat2): Show an error message if there were unknown tokens.
15230
15231 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * BufferView2.C:
15234         * BufferView_pimpl.C:
15235         * buffer.C:
15236         * paragraph.h:
15237         * text.C:
15238         * text2.C: use par->isInset()
15239
15240 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15241
15242         * paragraph_pimpl.h:
15243         * paragraph_pimpl.C: cleanup
15244
15245 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * text2.C (removeRow):
15248         * text.C (setHeightOfRow): remove useless (and costly) call to
15249         getRow.
15250
15251 2001-11-20  Allan Rae  <rae@lyx.org>
15252
15253         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15254         Now need Inset*::checkInsertChar() to return true for appropriate
15255         cases so that the characters in the minibuffer will actually be
15256         inserted.
15257
15258 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * text.C: change the order of the includes.
15261         (workWidth): initialize it at once.
15262         (workWidth): make maxw unsigned
15263         (setHeightOfRow): remove unused variable (inset)
15264         (selectSelectedWord): remove unused variable (inset)
15265         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15266
15267 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15270         server is not running.
15271         (openConnection):
15272         (closeConnection): add debug info when server is disabled.
15273
15274         * ColorHandler.C (getGCForeground): send debug message to GUI
15275         channel.
15276
15277         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15278
15279         * kbmap.C (bind): modify because return conventions of
15280         kb_sequence::parse have changed.
15281
15282         * kbsequence.C (parse): only ignore spaces and not any stupid
15283         control character. This avoids tests like s[i] <= ' ', which are
15284         guaranteed to fail with 8bit characters and signed chars.
15285         Change return code to string::npos when there have been no error
15286         (0 was a bad idea when error is at first character)
15287
15288 2001-11-14  José Matos  <jamatos@fep.up.pt>
15289
15290         * buffer.h:
15291         * buffer.C (simpleDocBookOnePar): removed unused argument.
15292
15293 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15296         insets which are part of a word. Paragraph::isLetter takes care of
15297         that now. Use Paragraph::isInset to identify insets.
15298         (selectSelectedWord): do not test for hyphenation break.
15299
15300         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15301         that protected spaces are considered as spaces.
15302
15303         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15304         Inset::isLetter.
15305
15306 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15307
15308         * lyxserver.h:
15309         * lyxserver.C: fix it. and small cleanup.
15310
15311 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15312
15313         * BufferView_pimpl.C: use inline helpers
15314
15315         * LaTeXFeatures.h:
15316         * LaTeXFeatures.C: fix typos
15317
15318         * Spacing.h:
15319         * Spacing.C: move spacing_string into class
15320
15321         * ToolbarDefaults.C: move stuff into namespace anon
15322
15323         * layout.h: update enum
15324
15325         * lyxfunc.C: use better debug
15326
15327         * minibuffer.h: fix typo
15328
15329         * debug.h:
15330         * debug.C:
15331         * WorkArea.C: add and use Debug::WORKAREA
15332
15333         * lyxtext.h:
15334         * text.C:
15335         * text2.C: code re-organisation, inline helpers
15336
15337 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15338
15339         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15340         std::vector.empty().
15341
15342 2001-11-09  Allan Rae  <rae@lyx.org>
15343
15344         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15345         '\n's after tables.  Tabular and ERT inset work now makes this no
15346         longer necessary.
15347
15348 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15349
15350         * minibuffer.h:
15351         * minibuffer.C: fix crash, improve drop-down completion
15352
15353 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15354
15355         * lyxserver.h:
15356         * lyxserver.C: invalidate fd's when doing endPipe()
15357
15358 2001-11-08  José Matos  <jamatos@fep.up.pt>
15359
15360         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15361         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15362
15363         * paragraph.h:
15364         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15365
15366 2001-11-07  José Matos  <jamatos@fep.up.pt>
15367
15368         * buffer.h:
15369         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15370         const qualifier.
15371
15372         * buffer.C (sgmlOpenTag):
15373         * buffer.C (sgmlCloseTag): removed debug info.
15374
15375         * buffer.h (sgmlOpenTag):
15376         * buffer.h (sgmlCloseTag): made public.
15377
15378 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15379
15380         * buffer.C (saveParamsAsDefaults):
15381         * lyx_cb.C (MenuLayoutSave): remove
15382
15383         * LyXAction.C (init):
15384         * commandtags.h:
15385         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15386
15387 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * buffer.C (setPaperStuff): removed from here...
15390
15391         * bufferparams.C (setPaperStuff): ... and moved there.
15392
15393 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * minibuffer.h:
15396         * minibuffer.C:
15397         * XFormsView.C: add support for drop-down completion
15398
15399 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15400
15401         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15402         commands.
15403
15404 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15407         disabled.
15408
15409 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15410
15411         * lyx_main.C: change ref to known bugs
15412
15413 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15414
15415         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15416         to work around older babel problems.
15417
15418 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15419
15420         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15421
15422 2001-10-24  Juergen Vigna  <jug@sad.it>
15423
15424         * tabular-old.C (ReadOld): below variable changes reflected.
15425
15426         * tabular.[Ch]: added ltType struct for longtable header/footer
15427         defines and changed all instances where they are used. Added
15428         future support for double top/bottom rows.
15429
15430 2001-10-24  José Matos  <jamatos@fep.up.pt>
15431
15432         * buffer.h (docbookHandleCaption):
15433         * buffer.C (docbookHandleCaption): removed unused function.
15434         (makeDocBookFile): moved docbook supported version to v4.1.
15435
15436 2001-10-24  José Matos  <jamatos@fep.up.pt>
15437
15438         * tabular.h:
15439         * tabular.C (docbookRow): new function to export docbook code of a row.
15440         (DocBook): now honors the longtable flags.
15441
15442 2001-10-23  José Matos  <jamatos@fep.up.pt>
15443
15444         * LaTeXFeatures.h:
15445         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15446         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15447
15448         * buffer.C (makeLinuxDocFile):
15449         (makeDocBookFile): reworked the preamble, more clean, and with
15450         support for lyx defined entities. Changed the document declaration
15451         to be more XML friendly.
15452
15453         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15454         if we need to output XML that should be done with a filter.
15455
15456 2001-10-22  Juergen Vigna  <jug@sad.it>
15457
15458         * sp_pspell.h (class PSpell): add alive function needed in the
15459         controller to see if the spellchecker could be started.
15460
15461 2001-10-22  Juergen Vigna  <jug@sad.it>
15462
15463         * buffer.C (insertStringAsLines): modify the font for inserting
15464         chars in certain conditions by calling checkInsertChar(font).
15465
15466 2001-10-19  Juergen Vigna  <jug@sad.it>
15467
15468         * text.C (workWidth): use getRow instead of wrong algorithm.
15469         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15470
15471 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15472
15473         * lyxserver.h:
15474         * lyxserver.C:
15475         * lyx_main.h:
15476         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15477
15478 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * text.C (workWidth): do not search for the exact row when
15481         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15482         optimization for big documents.
15483
15484 2001-10-18  Juergen Vigna  <jug@sad.it>
15485
15486         * text.C (workWidth): new function with added Inset * parameter.
15487
15488 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15491
15492         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15493         change return type of getColumnNearX.
15494
15495
15496         * text.C (changeRegionCase): use uppercase/lowercase instead of
15497         toupper/tolower.
15498         (leftMargin):
15499         (rightMargin): simplify code by factoring out the uses of
15500         textclasslist.
15501         (labelFill):
15502         (numberOfHfills):
15503         (setHeightOfRow):
15504         (appendParagraph): use Paragraph::size_type
15505
15506 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15507
15508         * vspace.C (asLatexString): add a missing break
15509
15510 2001-10-15  Herbert Voss  <voss@perce.de>
15511
15512         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15513
15514 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15517         is not available.
15518
15519 2001-10-10  André Pönitz <poenitz@gmx.net>
15520
15521         * lyxfunc.C: removed greek_kb_flag.
15522
15523 2001-10-10  Herbert Voss  <voss@perce.de>
15524
15525         * lyx_main.C: delete global string help_lyxdir.
15526
15527 2001-10-09  Herbert Voss  <voss@perce.de>
15528
15529         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15530
15531         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15532
15533         * lyx_main.C: added global string help_lyxdir.
15534
15535         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15536
15537 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15538
15539         * lyxrc.C (set_font_norm_type): support iso8859-4
15540
15541 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15542
15543         * LaTeX.C (deplog): add another regex for MikTeX
15544
15545 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15546
15547         * lyxrc.C (set_font_norm_type): support iso8859-3
15548
15549 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15552
15553         * LaTeXFeatures.C: remove special case of french and index
15554
15555         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15556         before \begin{document}). This solves several incompatibilities.
15557
15558 2001-10-03  Garst Reese  <reese@isn.net>
15559
15560         * lyx_cb.C: change CheckTex error msg.
15561
15562 2001-10-03  José Matos  <jamatos@fep.up.pt>
15563
15564         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15565
15566 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15567
15568         * .cvsignore: update
15569
15570         * lyx_main.C (commandLineVersionInfo): use new style version info.
15571
15572         * buffer.C (writeFile):
15573         (makeLaTeXFile):
15574         (makeLinuxDocFile):
15575         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15576
15577         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15578
15579         * version.h: update to use stuff in version.C
15580
15581         * version.C.in: new file. Contains version information determined
15582         at compile time. This is a merging of version.h and
15583         version_info.h.in.
15584
15585 2001-10-03  Juergen Vigna  <jug@sad.it>
15586
15587         * BufferView_pimpl.C (update): don't change "dirty" status in
15588         updateInset call.
15589
15590 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15591
15592         * WorkArea.C (c-tor): re-position version string slightly.
15593
15594 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15595
15596         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15597         revert to previous code.
15598
15599         WorkArea.[Ch]: (show, destroySplash): methods removed.
15600
15601         WorkArea.C: rework code so that it's an amalgam of the codes before and
15602         after the splash screen was moved to WorkArea.
15603
15604 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15605
15606         * lyxrc.C (read):
15607         * vspace.C (inPixels):
15608         (lyx_advance):
15609         * kbmap.C (bind):
15610         * buffer.C (insertStringAsLines):
15611         (asciiParagraph): fix types to be large enough
15612
15613         * lyxlex_pimpl.h: change member status from short to int
15614
15615         * layout.h: fix type of endlabeltype
15616
15617         * kbmap.C (bind):
15618         * kbsequence.C (parse): change return type to string::size_type
15619
15620         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15621         variable
15622
15623         * Bullet.C (bulletSize):
15624         (bulletEntry): do not use short ints as parameters
15625
15626         * BufferView2.C (insertLyXFile): change a char to an int.
15627
15628         * WorkArea.C (WorkArea): remove unneeded floats in computation
15629
15630 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15633
15634         * paragraph.C (asString): Do not ignore newline/hfill chars when
15635         copying to the clipboard.
15636
15637 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15638
15639         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15640         after a multi-line inset.
15641
15642 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15643
15644         * paragraph.C (validate): Set NeedLyXFootnoteCode
15645
15646 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15647
15648         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15649         and decrease-error to decrease.
15650
15651 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15654         it more readable (should be equivalent)
15655
15656 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15657
15658         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15659
15660 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15663         of a cursor (row, etc.) after a character has been deleted
15664         (deleteEmptyParagraphMechanism): call the method above on _all_
15665         cursors held by the LyXText when a double space has been
15666         detected/deleted.
15667
15668 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15669
15670         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15671         pixmap.
15672         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15673
15674         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15675         background. Use greyOut() and the new show() methods to toggle between
15676         the foreground and background. Add code to remove the splash after
15677         its initial showing.
15678
15679         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15680         (create_forms): no longer call Dialogs::showSplash.
15681
15682 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15683
15684         * .cvsignore: add version_info.h
15685
15686 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * version_info.h.in: new file
15689
15690         * Makefile.am: add version_info.h.in
15691
15692         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15693         version_info.h instead of VERSION_INFO
15694
15695 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15696
15697         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15698         The ERT inset now returns string().
15699
15700 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * lyxtext.h, text.C (selectNextWord): renamed as
15703         selectNextWordToSpellcheck.
15704
15705         * text.C (selectNextWordToSpellcheck): Modified to not select
15706         words inside an ERT inset.
15707
15708 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * lyx_cb.C (MenuLayoutSave): change a bit the question
15711
15712         * sp_base.h: include <sys/types.h>
15713
15714 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15715
15716         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15717
15718 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15719
15720         * several files: fix typos in user-visible strings
15721
15722 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * text2.C (pasteSelection): do not set the selection, since it
15725         will be cleared later. Actually, the intent was to fix the way the
15726         selection was set, but I figured rmoving the code was just as good.
15727
15728 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15729
15730         * FontLoader.C (available): Check if font is available without
15731         loading the font.
15732
15733 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15734
15735         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15736
15737 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15738
15739         * lyxrc.[Ch]: added display_graphics variable and associated code.
15740
15741 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * bufferparams.C (hasClassDefaults): new method. Returns true if
15744         the buffer parameters correspond to known class defaults
15745
15746 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15747
15748         * XFormsView.C (show): set minimum size to the main window.
15749
15750 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15751
15752         * text2.C (copySelection):
15753         (cutSelection):
15754         * lyxfind.C (LyXReplace):
15755         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15756         LyXText::selectionAsString.
15757
15758         * paragraph.C (asString): add "label" argument to the second form
15759
15760         * text2.C (selectionAsString): add "label" argument and pass it to
15761         Paragraph::asString.
15762
15763 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15764
15765         * lyx_main.C (commandLineHelp): remove version information
15766
15767 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15768
15769         * lyx_main.C: add -version commandline option
15770
15771 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15772
15773         * paragraph.h: make the optional constructor arg required instead.
15774         some modifications to other files because of this.
15775
15776         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15777
15778         * lyxserver.C (C_LyXComm_callback): make it static
15779
15780         * lyx_main.C (error_handler): make it static
15781
15782         * lyx_gui.C (LyX_XErrHandler): make it static
15783
15784         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15785
15786         * WorkArea.C: make the extern "C" methods static.
15787
15788         * Makefile.am (lyx_LDADD): simplify
15789
15790 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15793         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15794
15795         * LyXAction.C (init):
15796         * lyxfunc.C (dispatch): associated code removal.
15797
15798 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15799
15800         * lyxfont.h (isSymbolFont): shut off warning
15801
15802         * text.C (setHeightOfRow):
15803         (getVisibleRow): fix crash with empty paragraphs which have a
15804         bottom line
15805
15806 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15807
15808         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15809         code.
15810
15811 2001-09-04  José Matos  <jamatos@fep.up.pt>
15812         * buffer.C
15813         * buffer.h
15814         * tabular.C (docbook): rename docBook method to docbook.
15815
15816 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15817
15818         * Makefile.am: add dependencies to main.o.
15819
15820 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15821
15822         * FontLoader.C (available): Return false if !lyxrc.use_gui
15823
15824 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15825
15826         * FontInfo.C (query):
15827         * converter.C (view):
15828         * importer.C (Import):
15829         * exporter.C (Export): Can not -> cannot.
15830
15831 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15832
15833         * BufferView_pimpl.C: allow to create index inset even if
15834           string is empty
15835
15836 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15837
15838         * buffer.C (getLists): replace boost::tie code with an explicit pair
15839         as boost::tie can break some compilers.
15840
15841         * iterators.h: Added a std:: declaration to the return type of
15842         ParIterator::size.
15843
15844 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15845
15846         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15847           case.
15848
15849 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15850
15851         * iterators.[Ch]: New files. Provide paragraph iterators.
15852
15853         * buffer.C (changeLanguage): Use paragraph iterators.
15854         (isMultiLingual): ditto
15855
15856         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15857
15858 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15859
15860         * FontLoader.C: Support for cmr font.
15861
15862 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15863
15864         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15865         (available): New method.
15866
15867         * FontInfo.C (getFontname): Use scalable fonts even when
15868         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15869         found.
15870
15871 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15872
15873         * converter.C (Formats::view): reverted! Incorrect fix.
15874
15875 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15876
15877         * converter.C (Formats::view): only output the -paper option
15878         if the dvi viewer is xdvi, thereby fixing bug #233429.
15879
15880 2001-08-23  Herbert Voss  <voss@perce>
15881
15882         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15883
15884 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15885
15886         * Spacing.h (Spacing): Set space to Default on in the default
15887         constructor.
15888
15889 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15890
15891         * vc-backend.h (RCS::versionString): add RCS to version
15892         (CVS::versionString): add CVS to version
15893
15894         * vc-backend.C (scanMaster): do not add CVS to version.
15895         (scanMaster): do not add RCS to version
15896
15897         * lyxvc.C (versionString): new method
15898
15899         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15900
15901 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15902
15903         * Spacing.C (set): initialize fval
15904
15905 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15906
15907         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15908         " or \.
15909
15910 2001-08-16  Juergen Vigna  <jug@sad.it>
15911
15912         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15913
15914 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15915
15916         * BufferView_pimpl.C:
15917         * figureForm.C:
15918         * lyxtext.h:
15919         * text2.C: setParagraph takes linespacing now
15920
15921 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15922
15923         * LyxAction.C: add internal LFUN_CITATION_INSERT
15924
15925         * LyXView.C: actually apply fix
15926
15927         * bufferlist.C: fix open non-existent file
15928
15929         * lyxfind.C: fix indentation
15930
15931         * lyxfunc.C: remove unneeded assert, fix typo
15932
15933 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15934
15935         * MenuBackend.C: use "Floatname List"
15936
15937 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15938
15939         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15940         when converting LaTeX layout to insetERT.
15941         Generate a non-collapsed float when reading old float
15942
15943 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15944
15945         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15946         ERT insets.
15947
15948 2001-08-13  Juergen Vigna  <jug@sad.it>
15949
15950         * text.C (fill): return 0 instead of 20 as this seems to be the more
15951         correct value.
15952
15953 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15954
15955         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15956         lyxrc.font_norm.
15957
15958 2001-08-13  Juergen Vigna  <jug@sad.it>
15959
15960         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15961         casesensitive off.
15962         (SearchBackward): comment out the unlocking of the inset_owner this
15963         should not be needed!
15964
15965 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15966
15967         * Many files: Remove inherit_language, and add latex_language
15968
15969         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15970         collapsible insets.
15971
15972 2001-08-10  Juergen Vigna  <jug@sad.it>
15973
15974         * text.C (prepareToPrint): fixed hfill-width in draw!
15975
15976         * BufferView2.C (selectLastWord): save the selection cursor as this
15977         now is cleared in the function LyXText::clearSelection!
15978
15979 2001-08-08  Juergen Vigna  <jug@sad.it>
15980
15981         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15982         BACKSPACE type functions.
15983
15984         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15985         is only cutted from the document but not put in the cut-buffer, where
15986         still the old stuff should be.
15987
15988         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15989
15990         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15991
15992         * tabular.C (SetWidthOfCell): fixed special case where the width
15993         was not updated!
15994         (LeftLine): handle '|' in align_special.
15995         (RightLine): ditto
15996         (LeftAlreadyDrawed): ditto
15997         (SetWidthOfCell): ditto
15998
15999 2001-08-07  Juergen Vigna  <jug@sad.it>
16000
16001         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16002
16003 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16006         * lyxlex.[hC]: ditto
16007
16008 2001-08-06  Juergen Vigna  <jug@sad.it>
16009
16010         * text.C (getVisibleRow): fix up row clearing a bit.
16011
16012 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16013
16014         * minibuffer.C: make sure the X server sees the changes in the input.
16015
16016 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16017
16018         * paragraph.C (getFont): split into...
16019         (getLabelFont): this
16020         (getLayoutFont): and this
16021         * paragraph_pimpl.C (realizeFont): calling this
16022
16023         * text2.C (getFont): split into...
16024         (getLayoutFont): this
16025         (getLabelFont): and this
16026         (realizeFont): all three calling this
16027
16028         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16029         files where used.
16030
16031 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16032
16033         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16034
16035 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16036
16037         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16038         layouts from the Quote inset insertion.
16039
16040 2001-08-03  Juergen Vigna  <jug@sad.it>
16041
16042         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16043
16044         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16045         only if status not is already CHANGED_IN_DRAW (second level).
16046
16047         * text.C (draw): don't set the need_break_row when inside an
16048         InsetText LyXText.
16049
16050 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16051
16052         * buffer.C (parseSingleLyXformat2Token): handle more latex
16053         conversion cases.
16054
16055         * bufferview_funcs.[hC]: change function names to
16056         begin with small char, adjust other files.
16057
16058 2001-08-02  André Pönitz <poenitz@gmx.net>
16059
16060         * lyxfunc.C:
16061         BufferView_pimpl.C: remove broken special code for math-greek
16062
16063 2001-08-02  Juergen Vigna  <jug@sad.it>
16064
16065         * BufferView_pimpl.C (update): redone this function so that we
16066         update the text again if there was a CHANGE_IN_DRAW.
16067
16068         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16069         (drawFromTo): added a new internal bool which is used by draw() and
16070         redraw() function.
16071         (general): some cursor drawing problems fixed.
16072
16073 2001-08-01  Juergen Vigna  <jug@sad.it>
16074
16075         * lyxfind.C (LyXFind): fixed
16076         (SearchForward): ditto
16077         (SearchBackward): ditto
16078
16079         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16080         spurius drawing of the cursor in the main area.
16081
16082         * text2.C (status): small fix which could lead to a segfault!
16083         (clearSelection): remove unneeded BufferView param.
16084
16085 2001-08-01  André Pönitz <poenitz@gmx.net>
16086
16087         * lyxfunc.C: small change due to changed mathed interface
16088
16089 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16090
16091         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16092
16093 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16094
16095         * lyxfunc.c: fail gracefully if file doesn't exist
16096
16097         * LyXSendto.C:
16098         * buffer.C:
16099         * lyxfunc.C:
16100         * BufferView_pimpl.C: IsDirWriteable() proto changed
16101
16102         * LyXView.C: fix updateWindowTitle() to store the last title
16103
16104 2001-07-31  Juergen Vigna  <jug@sad.it>
16105
16106         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16107         the font (wrong since using of Paragraph::highestFontInRange).
16108
16109         * paragraph.C (highestFontInRange): added a default_size parameter.
16110
16111         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16112         (setHeightOfRow): reformat
16113
16114 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16115
16116         * converter.[hC] + affected files: move to (inital-char)lowercase
16117         function names.
16118
16119         * ParagraphParameters.C (ParagraphParameters): remove commented code
16120
16121         * PainterBase.[Ch]: remove commented code
16122
16123         * LaTeXFeatures.h: add "bool floats" for float.sty
16124
16125         * LaTeXFeatures.C (LaTeXFeatures): init floats
16126         (require): handle float
16127         (getPackages): do it with floats
16128
16129 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16130
16131         * BufferView_pimpl.C (Dispatch): improve handling of
16132         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16133
16134         * commandtags.h: #include lyxfont.h here temporarily to avoid
16135         keybinding bug.
16136
16137         * bufferlist.h: include LString.h here.
16138
16139 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * text2.C (getStringToIndex): new method.
16142
16143 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16144
16145         * *: Reduced header file dependencies all over.
16146
16147 2001-07-30  Baruch Even  <baruch@lyx.org>
16148
16149         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16150
16151 2001-07-29  Baruch Even  <baruch@lyx.org>
16152
16153         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16154
16155 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16156
16157         * ParameterStruct.h (endif): add a default constructor to make
16158         sure that all variables is initialized.
16159
16160         * ParagraphParameters.C (ParagraphParameters): adjust
16161
16162 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16163
16164         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16165         index; also, check that there is something to index, and that it
16166         does not span over several paragraphs.
16167         (doubleClick): use WHOLE_WORD_STRICT for double click.
16168
16169         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16170
16171         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16172         scheme.
16173
16174 2001-07-26  Baruch Even  <baruch@lyx.org>
16175
16176         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16177         an InsetFig figure, backwards compatible reading of old figure code.
16178
16179 2001-07-27  Juergen Vigna  <jug@sad.it>
16180
16181         * text2.C: font.realize function adaption.
16182
16183         * text.C (draw): add a warnings lyxerr text if needed.
16184
16185         * layout.C: font.realize function adaption.
16186
16187         * language.C: add inherit_language and implement it's handlings
16188
16189         * bufferview_funcs.C (StyleReset): remove language parameter from
16190         font creation (should be language_inherit now).
16191
16192         * bufferparams.C (writeFile): handle ignore_language.
16193
16194         * paragraph.C (getFontSettings): the language has to be resolved
16195         otherwise we have problems in LyXFont!
16196
16197         * lyxfont.C (lyxWriteChanges): added document_language parameter
16198         (update): removed unneeded language parameter
16199
16200         * paragraph.C (validate): fixed wrong output of color-package when
16201         using interface colors for certain fonts in certain environments,
16202         which should not seen as that on the final output.
16203
16204 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16205
16206         * BufferView_pimpl.C:
16207         * Thesaurus.h:
16208         * Thesaurus.C:
16209         * Makefile.am:
16210         * commandtags.h:
16211         * LyXAction.C: add thesaurus support
16212
16213         * lyxfind.h:
16214         * lyxfind.C: add "once" parameter, for thesaurus, to not
16215           move to the next match
16216
16217 2001-07-26  Juergen Vigna  <jug@sad.it>
16218
16219         * lyxfont.C (realize): honor ignore_language too!
16220         (resolved): ditto.
16221
16222         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16223
16224         * text.C (draw): one place more for ignore_language to not draw
16225         itself!
16226
16227 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16228
16229         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16230
16231 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16232
16233         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16234         the minipage conversion problem.
16235
16236 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16239         insert an inset.
16240
16241 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16242
16243         * BufferView.h: don't forward declare WorkArea
16244
16245         * BufferView.C: don't include WorkArea.h
16246
16247 2001-07-25  André Pönitz <poenitz@gmx.net>
16248
16249         * commandtags.h:
16250         * LyXAction.C:
16251         * lyxfunc.C:  new LFUN 'math-space'
16252
16253         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16254
16255 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16256
16257         * text2.C (toggleInset): call open/close
16258
16259 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16260
16261         * lyxfunc.C (dispatch): add debug for the disabled case
16262
16263         * font.C (buttonText): make similar to rectText
16264
16265         * buffer.C (readInset): comment out parsing of insetlist and
16266         insttheorem
16267
16268         * PainterBase.C (rectText): small correction
16269
16270         * BufferView_pimpl.C: comment out insettheorem and insetlist
16271         * LyXAction.C: ditto
16272         * commandtags.h: ditto
16273
16274 2001-07-24  Juergen Vigna  <jug@sad.it>
16275
16276         * text.C (draw): honor the ignore_language.
16277
16278         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16279
16280 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16283         char inset.
16284
16285 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16286
16287         * lyxtext.h: remove unused (and unimplemented) methods
16288
16289 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16290
16291         * text.C (getVisibleRow): honor background color
16292
16293         * PainterBase.h:
16294         * Painter.h: remove default color argument for fillRectangle
16295
16296         * text.C (backgroundColor): new method
16297
16298 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16299
16300         * text.C (getVisibleRow): adjust
16301
16302         * font.[Ch] (rectText): new method, metrics
16303         (buttonText): new method, metrics
16304
16305         * PainterBase.[hC]: make rectText and buttonText always draw and take
16306         fewer paramteres.
16307
16308 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16309
16310         * ToolbarDefaults.C (read):
16311         * MenuBackend.C (read): allow escaping in all strings
16312
16313         * BufferView_pimpl.C (insertAndEditInset): new method.
16314         (Dispatch): use insertAndEditInset whenever appropriate.
16315
16316         * BufferView_pimpl.C (insertNote): removed
16317
16318         * BufferView_pimpl.C (smartQuote): new method, moved from
16319         BufferView; if an insetquote cannot be inserted, insert a '"'
16320         character instead.
16321
16322         * BufferView2.C: remove insertCorrectQuote();
16323
16324         * lyxfunc.C (getStatus): Add support for all remaingin
16325         inset-insert lfuns.
16326
16327         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16328
16329         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16330         command (necessary to pass " as parameter of self-insert.
16331
16332         * text.C (selectWordWhenUnderCursor):
16333         (selectWord): add word_location parameter
16334         (selectWordWhenUnderCursor): same + remove special code for word
16335         boundary.
16336         (selectNextWord): use kind() to guess type of insetspecialchar,
16337         not latex().
16338
16339         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16340         (insertErtContents): create ert insets as collapsed.
16341         (readInset): better compatibility code for Info inset.
16342
16343 2001-07-20  Juergen Vigna  <jug@sad.it>
16344
16345         * lyxfunc.C (dispatch): use always LyXFind now!
16346
16347         * text2.C (init): add a reinit flag so that the LyXText can be
16348         reinited instead of deleted and reallocated (used in InsetText).
16349
16350         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16351
16352         * text.C: ditto
16353
16354         * text2.C: ditto
16355
16356 2001-07-18  Juergen Vigna  <jug@sad.it>
16357
16358         * text.C (selectNextWord): handle insets inside inset by calling
16359         always the bv->text functions so that we can go up the_locking_inset!
16360
16361         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16362         in strange locations when inside an inset!
16363
16364         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16365         handling to include insets.
16366
16367         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16368
16369 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16370
16371         * LyXAction.C (init):
16372         * commandtags.h:
16373         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16374         LIGATURE_BREAK, since the name is so stupid.
16375
16376 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16377
16378         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16379         InsetInfos.
16380
16381         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16382
16383         * sp_form.[Ch]: remove.
16384
16385         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16386
16387         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16388         InsetInfo.
16389
16390         * src/buffer.C (readInset): ditto.
16391
16392 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16393
16394         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16395         menuSeparator(), endOfSentenceDot(), ldots() and
16396         hyphenationPoint(), which are therefore removed.
16397         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16398
16399         * LyXAction.C (init):
16400         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16401
16402         * paragraph.C (getWord): removed.
16403
16404         * BufferView_pimpl.C (Dispatch): use last word or selection for
16405         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16406
16407         * lyx_main.C (queryUserLyXDir): do not ask before creating
16408         user_dir, except if it has been named explicitely.
16409
16410 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16411
16412         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16413         a document of zero size.
16414
16415 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16416
16417         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16418         approriately in the c-tor and in require().
16419         (getPackages): output the appropriate LaTeX for natbib support.
16420
16421         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16422         variables "use_natbib" and "use_numerical_citations" when reading the
16423         LyX file.
16424         (readInset): read the various natbib cite commands.
16425         (validate): white-space change.
16426
16427         * bufferparams.[Ch]: new variables "bool use_natbib" and
16428         "bool use_numerical_citations".
16429         (writeFile): output them in the LyX file.
16430
16431 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16432
16433         * lyxfunc.C (getStatus): add support for all the inset insertion
16434         commands.
16435
16436         * text2.C (insertInset):
16437         * paragraph.C (insetAllowed):
16438         * BufferView_pimpl.C (insertInset): update to take in account the
16439         renaming of insertInsetAllowed
16440
16441         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16442
16443         * text2.C (getInset): new method. returns inset at cursor position.
16444
16445         * BufferView_pimpl.C (Dispatch): changes because of this.
16446
16447         * LyXAction.C (init): rename open-stuff to inset-toggle.
16448
16449         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16450
16451         * text2.C (toggleInset): renamed from openStuff; use
16452         Inset::open().
16453
16454 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16455
16456         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16457
16458         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16459
16460 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16461
16462         * buffer.C (readLyXformat2): Add filename to the error dialog
16463
16464 2001-07-18  Juergen Vigna  <jug@sad.it>
16465
16466         * tabular.C (GetCellNumber): put an assert here instead of the check!
16467
16468 2001-07-17  Juergen Vigna  <jug@sad.it>
16469
16470         * BufferView_pimpl.C (toggleSelection): adapted too.
16471
16472         * text.C (selectNextWord): adapted for use with insets.
16473         (selectSelectedWord): ditto
16474
16475 2001-07-17  Juergen Vigna  <jug@sad.it>
16476
16477         * sp_spell.C (PSpell): fix initialitation order.
16478
16479 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16480
16481         * paragraph.C: spacing
16482
16483 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16484
16485         * sp_spell.C: repair language selection for pspell
16486
16487 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16488
16489         * lyxfunc.h: change more methods to begin with lower char.
16490
16491 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16492
16493         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16494         for unknown layouts.
16495
16496 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16497
16498         * buffer.C (readLyXformat2): Generate an error dialog if there are
16499         unknown layouts.
16500
16501 2001-07-16  Juergen Vigna  <jug@sad.it>
16502
16503         * sp_spell.C: always compile ISpell part.
16504
16505         * lyxrc.C: added use_pspell entry and it's handling.
16506
16507 2001-07-13  Juergen Vigna  <jug@sad.it>
16508
16509         * sp_spell.C: removed double includes.
16510
16511 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16512
16513         Consistent use of Lsstream.h:
16514         * Lsstream.h: added using std::stringstream for consistencies sake.
16515
16516         * buffer.C: removed using std::stringstream
16517
16518         * lyxfont.C (stateText):
16519         * paragraph.C (asString):
16520         * text.C (selectNextWord, selectSelectedWord):
16521         * text2.C (setCounter):
16522         * vspace.C (asString, asLatexString):
16523         std::ostringstream -> ostringstream.
16524
16525 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16526
16527         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16528         * commandtags.h: add LFUN_HELP_ABOUTLYX
16529         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16530
16531 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16532
16533         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16534         cursorToggle()
16535         * lyx_gui_misc.C: remove spellchecker
16536         * lyxfunc.C: showSpellchecker
16537         * sp_base.h: added
16538         * sp_ispell.h: added
16539         * sp_pspell.h: added
16540         * sp_spell.C: added
16541         * sp_form.[Ch]: removed
16542         * spellchecker.[Ch]: removed
16543
16544 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16545
16546         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16547         is set.
16548         (simpleTeXSpecialChars): Simply print the input character without
16549         any special translation if pass_thru is set.
16550
16551         * layout.h: Added bool pass_thru to layout class for being able to
16552         implement pass through of a paragraph for Literate Programming.
16553
16554         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16555         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16556         * layout.C (Read): add "passthru" to list of layout tags and add
16557         code to set the pass_thru boolean when it is read.
16558
16559 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * trans_decl.h: remove allowed from KmodInfo
16562
16563         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16564         remove allowed code
16565         (Load): adjust
16566
16567         * paragraph_pimpl.C (erase): use boost::prior
16568
16569         * Painter.C (text): use data() instead of c_str() when length is
16570         also provided.
16571         * WorkArea.C (putClipboard): ditto
16572         * font.h (width): ditto
16573
16574         * BufferView2.C: use it-> instead of (*it). for iterators
16575         * texrow.C: ditto
16576         * paragraph_pimpl.C: ditto
16577         * paragraph.C: ditto
16578         * minibuffer.C: ditto
16579         * language.C: ditto
16580         * kbmap.C: ditto
16581         * encoding.C: ditto
16582         * counters.C: ditto
16583         * converter.C: ditto
16584         * chset.C: ditto
16585         * Variables.C: ditto
16586         * TextCache.C: ditto
16587         * MenuBackend.C: ditto
16588         * LyXAction.C: ditto
16589         * LColor.C: ditto
16590         * FloatList.C: ditto
16591         * DepTable.C: ditto
16592         * ColorHandler.C (LyXColorHandler): ditto
16593
16594 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16595
16596         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16597
16598         * text2.C (openStuff): reintroduce this method (which had been
16599         nuked in NEW_INSETS frenzy).
16600
16601         * lyxfunc.C (Dispatch): when an action has not been handled, use
16602         its name in the error message, not its number.
16603
16604         * paragraph.C (inInset): change method name to begin with lowercase.
16605
16606         * undo_funcs.C:
16607         * text2.C: updates because of this.
16608
16609 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * ToolbarDefaults.C (add): add spaces in error message
16612
16613 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16616         (readLyXformat2): rename return_par to first_par, use lyxlex's
16617         pushToken and remove the manual push handling.
16618         (parseSingleLyXformat2Token): add another ert comp. variable:
16619         in_tabular, rename return_par to first_par. handle newlines better
16620
16621 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16622
16623         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16624
16625 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16626
16627         * text2.C (getParFromID): removed
16628
16629         * buffer.C (getParFromID): new method moved form lyxtext.
16630         * BufferView2.C (insertErrors): adjust
16631         (setCursorFromRow): adjust
16632         * BufferView_pimpl.C (restorePosition): adjust
16633         * lyxfunc.C (Dispatch): adjust
16634         * undo_funcs.C (textUndo): adjust
16635         (textRedo): adjust
16636         (textHandleUndo): adjust
16637         (textHandleUndo): adjust
16638
16639 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * buffer.C: up' the LYX_FORMAT
16642
16643         * lyxfont.h: turn NO_LATEX on as default
16644
16645         * buffer.C (insertErtContents): new methods of tex style compability.
16646         (parseSingleLyXformat2Token): use it several places.
16647         * tabular.C (OldFormatRead): and here
16648
16649 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16650
16651         * text2.C: remove some commented code.
16652         reindent file.
16653
16654         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16655         * trans.C: changes because of the above.
16656
16657 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16658
16659         * text2.C (setCounter): Fix counters bug with bibliography layout.
16660
16661 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16662
16663         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16664         own member functions
16665         (simpleTeXSpecialChars): ditto
16666
16667 2001-07-06  Juergen Vigna  <jug@sad.it>
16668
16669         * a lot of files: changed the access to LyXText::status and the
16670         call of undo-functions.
16671
16672         * undo.[Ch]: added a inset_id to the undo informations.
16673
16674         * undo_funcs.[Ch]: added and moved here all undo functions.
16675
16676         * lyxtext.h: give the status enum a weight, made status_ a private
16677         variable and made accessor functions for it, removed the whole bunch
16678         of undo-functions as they are now in their own file, make some
16679         functions publically available. Added function ownerParagraph with
16680         int parameter.
16681
16682         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16683         made InInset() a const function, added getParFromID() function.
16684
16685         * buffer.[Ch]: added const version for inset_iterator functions,
16686         added getInsetFromID() function.
16687
16688         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16689         changed undo functions for new version.
16690
16691 2001-07-05  Juergen Vigna  <jug@sad.it>
16692
16693         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16694         unknow mechanism does not call the proper constructor but only this
16695         one also if I request the other!?
16696
16697 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16700
16701         * text2.C (LyXText): use initialization lists.
16702
16703         * lyxtext.h (Selection): initialize set_ and mark_
16704         (init): remove method
16705
16706 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16707
16708         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16709
16710 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * screen.[Ch]: change method names to begin with lowercase
16713
16714         * BufferView_pimpl.C (updateScrollbar): simplify further and
16715         hopefully make it a bit faster.
16716
16717 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16718
16719         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16720         calling directly xforms functions.
16721
16722         * Painter.C (Painter):
16723         * lyx_cb.C (MenuWrite):
16724         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16725         fl_display.
16726
16727         * lyx_gui.C: remove bogus guiruntime extern declaration.
16728
16729 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16730
16731         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16732         in NEW_INSETS
16733         (redoDrawingOfParagraph): ditto
16734         (redoParagraphs): ditto
16735         (cutSelection): don't create a object for CutAndPaste use the
16736         static method directly
16737         (pasteSelection): ditto
16738
16739         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16740         LyXview (+ rename)
16741
16742 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * modifications to some other files because of this.
16745
16746         * Makefile.am (lyx_SOURCES): add XFormsView
16747
16748         * XFormsView.[Ch]: new files
16749
16750         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16751         the main window. Move the gui dependent stuff to XFormsView
16752
16753 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16754
16755         * tabular.C (GetCellInset): update cur_cell also in the row/col
16756         version of this function.
16757
16758         * lyxfunc.C: no need to include figure_form.h here.
16759
16760         * FontLoader.h:
16761         * lyxfunc.h:
16762         * lyxscreen.h:
16763         * text2.C:
16764         * lyxvc.C: no need to include forms.h here.
16765
16766 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16769
16770         * lyxfunc.C (Dispatch):
16771         * Spacing.C (set):
16772         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16773         constructor argument.
16774
16775 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16776
16777         * paragraph.C (Paragraph): dont't clear, and just set layout.
16778         (makeSameLayout): use params's copy contructor.
16779
16780         * ParagraphParameters.[Ch] (makeSame): delete method
16781
16782 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16783
16784         * Variables.[Ch]: fix indentation, rename set to isSet
16785
16786 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16787
16788         * lyxfunc.C (Dispatch): fix typo
16789
16790 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16793         upper_bound.
16794
16795         * bufferlist.C: include assert.h for emergencyWrite().
16796
16797 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16798
16799         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16800           give up at last (bug #425202) !
16801
16802 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16803
16804         * lyx_gui_misc.C:
16805         * sp_form.h:
16806         * sp_form.C:
16807         * spellchecker.h:
16808         * spellchecker.C: strip spellchecker options and bring up
16809           preferences tab instead
16810
16811 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16812
16813         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16814         the istringstream constructor
16815
16816 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16817
16818         * paragraph.C (getLayout): fix return value
16819
16820         * paragraph.h: do not declare getLayout as inline.
16821
16822         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16823
16824 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16825
16826         * lyxcursor.h (operator<): new func
16827         (operator>): new func
16828         (operator>=): new func
16829         (operator<=): new func
16830
16831         * text.C (changeCase): use selection.start and selection.end
16832         (changeRegionCase): require from to be <= to. Require par to be a
16833         valid paragraph.
16834
16835         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16836
16837 2001-06-27  Juergen Vigna  <jug@sad.it>
16838
16839         * text.C (cursorLeftOneWord): changed to return the cursor and added
16840         overlay with BufferView * parameter which calls this one.
16841         (getWord): added
16842         (selectWord): use new getWord function.
16843         (changeCase): renamed from changeWordCase as and extended to work
16844         also on selections.
16845
16846         * lyxtext.h: added enum word_location
16847
16848         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16849         changeCase as this operates now also on selections.
16850
16851 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16852
16853         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16854
16855         * many files: send debug output to Debug::INFO instead of
16856         Debug::ANY.
16857
16858         * converter.C (View):
16859         (Convert):
16860         (Move): send debug output to Debug::FILES instead of console.
16861
16862 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16863
16864         * lyxfunc.C (getStatus): use func_status
16865
16866         * func_status.h: new header, describing the results of
16867         LyXFunc::getStatus;
16868
16869         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16870         LFUN_MATH_HALIGN.
16871
16872 2001-06-25  The LyX Project  <jug@sad.it>
16873
16874         * buffer.C (sgmlOpenTag):
16875         (sgmlCloseTag):
16876         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16877
16878 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16879
16880         * text2.C: remove some dead code
16881
16882         * tabular.C (GetCellInset): store the last cell checked (gotten)
16883
16884         * tabular.h: add the helper for the speedup
16885
16886         * lyxtext.h: remove some dead code
16887
16888 2001-06-26  The LyX Project  <Asger>
16889
16890         * paragraph.C: Change export to LaTeX of alignment to
16891         \begin{center} and family for better roundtrip work with reLyX.
16892
16893         * Tune the math drawing a bit.
16894
16895 2001-06-25  The LyX Project  <Asger>
16896
16897         * LColor.C (LColor): New color for math background. New color
16898         for buttons.
16899
16900 2001-06-25  The LyX Project  <jug@sad.it>
16901
16902         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16903
16904         * lyxfunc.C (Open):
16905         * bufferlist.C (newFile): do not restrict to files ending with
16906         .lyx
16907
16908         * BufferView_pimpl.C (MenuInsertLyXFile):
16909
16910 2001-06-24  The LyX Project  <jug@sad.it>
16911
16912         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16913         of compare_no_case
16914
16915 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16916
16917         * lyxtext.h: rename most methods to begin with a small char.
16918         Lots of changes because of this.
16919
16920         * paragraph.C (Paragraph): do not call fitToSize
16921         (erase): call Pimpl::erase
16922         (insertChar): call Pimpl::insertChar
16923         (insertInset): call Pipl::insertInset
16924         (breakParagraph): do not call fitToSize
16925         (breakParagraphConservative): do not call fitToSize
16926         (fitToSize): remove method
16927
16928         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16929
16930 2001-06-24  The LyX Project  <Asger>
16931
16932         * Fix Qt compilation^2
16933
16934 2001-06-24  The LyX Project  <jug@sad.it>
16935
16936         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16937         depthHook(getDepth()-1).
16938
16939         * paragraph.h:
16940         * ParagraphParameters.h:
16941         * ParameterStruct.h: change type of depth to unsigned int ==
16942         depth_type. Many adaptations to other files before of that.
16943
16944 2001-06-24  The LyX Project  <Asger>
16945
16946         * Fix Qt compilation.
16947
16948 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16949
16950         * paragraph.h: renamed several methods to begin with small letter.
16951         several changes to many parts of the code because of this.
16952
16953 2001-06-23  The LyX Project  <jug@sad.it>
16954
16955         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16956         rewritten to discard all double spaces when KeepEmpty is off
16957         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16958         to only handle newlines but not fiddle with spaces and friends.
16959
16960         * lyxfunc.C (MenuNew): when doing 'new from template', use
16961         template_path as default directory
16962
16963 2001-06-23  The LyX Project  <Asger>
16964
16965         * Clean-up of header file includes all over
16966         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16967
16968 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16969
16970         * paragraph.h: renamed from lyxparagraph.h
16971
16972 2001-06-23  Asger  <lyx@violet.home.sad.it>
16973
16974         * Buffer.h: Removed Buffer::resize
16975         * BufferList.h: Removed BufferList::resize
16976         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16977         the document lazily when we change the width, or the font settings.
16978
16979 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16980
16981         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16982
16983 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16984
16985         * buffer.h: remove out of date comment
16986
16987 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16988
16989         * lyxscreen.h:
16990         * screen.C: fix "theoretical" GC leak
16991
16992 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16993
16994         * LaTeX.C (scanAuxFile):
16995         (deplog): remove trailing \r when reading stream (useful under
16996         win32)
16997
16998 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16999
17000         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17001         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17002         and BufferView::theLockingInset(Inset*), so should use them and not
17003         access bv_->text->the_locking_inset directly.
17004
17005         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17006
17007 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17008
17009         * Makefile.am:
17010         * tex-defs.h: remove old unused file
17011
17012 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17013
17014         * BufferView_pimpl.C: fix typo, remove minibuffer message
17015           when buffer has loaded
17016
17017 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17018
17019         * lyxfunc.C (Dispatch): use stringstream
17020         (MenuNew): use stringstream
17021         (Open): use stringstream
17022
17023         * importer.C (Import): use stringstream
17024
17025         * bufferview_funcs.C (CurrentState): use stringstream
17026
17027         * LaTeX.C (run): use stringstream
17028
17029         * BufferView_pimpl.C (savePosition): use stringstream
17030         (restorePosition): use stringstream
17031         (MenuInsertLyXFile): use stringstream
17032
17033 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17034
17035         * BufferView.C:
17036         * Bullet.C:
17037         * ColorHandler.C:
17038         * FontInfo.C:
17039         * FontLoader.C:
17040         * LColor.C:
17041         * LaTeXFeatures.C:
17042         * Painter.C:
17043         * gettext.C:
17044         * lyx_gui_misc.C:
17045         * lyxserver.C:
17046         * vspace.C: removed // -*- C++ -*- as first line.
17047
17048         * lyxfind.h:
17049         * version.h: added // -*- C++ -*- as first line.
17050
17051 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17052
17053         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17054
17055         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17056         of string
17057
17058 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17059
17060         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17061         of floats.
17062
17063 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17064
17065         * gettext.C: include LString.h even when --disable-nls is on.
17066
17067 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17068
17069         * converter.h (Get): changed argument type from int to
17070         FormatList::size_type to avoid unnecessary conversion.
17071
17072         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17073         before using it.
17074
17075 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17076
17077         * gettext.h: include LString.h even when --disable-nls is on.
17078
17079 2001-06-07  Juergen Vigna  <jug@sad.it>
17080
17081         * text.C (BreakAgain): subst spaces with tabs.
17082
17083         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17084         (resizeInsetsLyXText): set force on resizeLyXText.
17085
17086 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17087
17088         * gettext.h (gettext_init):
17089         (locale_init): use a real definition instead of a macro
17090
17091 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17092
17093         * Bufferview_pimpl.C:
17094         * LColor.h:
17095         * LColor.C: further lcolor tidies
17096
17097 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17098
17099         * BufferView_pimpl.C (updateScrollbar): simplify.
17100
17101         * BufferView2.C: don't include insets/insetinfo.h, change
17102         prototype for insertInset and call the Pimpl version. let
17103         updateInset call Pimpl version.
17104
17105         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17106         gotoInset to BufferView::Pimpl
17107
17108 2001-06-01  Juergen Vigna  <jug@sad.it>
17109
17110         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17111         inside a LockingInset (is the update needed at all?).
17112
17113 2001-05-31  Juergen Vigna  <jug@sad.it>
17114
17115         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17116         here not the old one otherwise how should we compare it afterwards
17117         if it's the same!
17118
17119 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17120
17121         * lyxfont.C:
17122         * tabular.C:
17123         * tabular-old.C:
17124         * FontInfo.C: bring C functions into global namespace when
17125         necessary
17126
17127 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17128
17129         * LString.h: make sure config.h has been loaded before LString.h.
17130
17131         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17132         (one for each char read by EatLine!).
17133
17134         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17135         variables.
17136
17137 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17138
17139         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17140         to the same as the par we break from
17141
17142 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17143
17144         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17145
17146         * MenuBackend.C (expand): also create menu entries for wide
17147         versions of the floats.
17148
17149         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17150
17151         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17152
17153         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17154         frontends/Makefile.am
17155
17156         * text2.C: adjust
17157         * text.C: adjust
17158
17159
17160         * tabular.C (getTokenValue): add std::
17161
17162         * tabular-old.C (getTokenValue): add std::
17163         (getTokenValue): ditto
17164         (getTokenValue): ditto
17165
17166         * screen.C (ToggleSelection): adjust
17167
17168         * lyxtext.h: put selection cursors inside a Selection struct.
17169
17170         * lyxfunc.C (moveCursorUpdate): adjust
17171
17172         * lyxfont.C (latexWriteStartChanges): add std::
17173
17174         * lyxfind.C: adjust
17175
17176         * font.h: delete with(char const *, LyXFont const &)
17177
17178         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17179
17180         * FontInfo.C (getFontname): add std::
17181
17182         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17183         (workAreaButtonPress): adjust
17184         (tripleClick): adjust
17185         (update): adjust
17186         (moveCursorUpdate): adjust
17187         (Dispatch): adjust
17188
17189         * BufferView2.C (gotoInset): adjust
17190
17191 2001-05-30  Juergen Vigna  <jug@sad.it>
17192
17193         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17194         to check pspell I add this as default as I now have new pspell
17195         libraries and they seem to use this.
17196
17197 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17198
17199         * text2.C (CutSelection): make the cursor valid before the call to
17200         ClearSelection.
17201
17202 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17203
17204         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17205         relied on 0 terminated strings and other horrors. Bug found due to
17206         the new assert in lyxstring!
17207
17208         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17209         KP_ keys.
17210
17211 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17212
17213         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17214         to latinkeys.bind.
17215
17216         * lyxfunc.C (processKeySym): change method of getting to the
17217         self-insert char.
17218
17219         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17220         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17221         * BufferView_pimpl.[Ch]: here as private methods.
17222
17223 2001-05-28  Juergen Vigna  <jug@sad.it>
17224
17225         * text.C (SetHeightOfRow): added the update() call again as it is
17226         needed to initialize inset dimensions!
17227
17228 2001-05-16  Juergen Vigna  <jug@sad.it>
17229
17230         * text2.C (SetCharFont): Add new function with BufferView * and
17231         bool toggleall parameters for setting insets internal fonts.
17232         (SetFont): Freeze the undo as we may change fonts in Insets and
17233         all this change should be inside only one Undo!
17234
17235         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17236         setting font's in insets as for them we have the SetFont function!
17237
17238 2001-05-15  Juergen Vigna  <jug@sad.it>
17239
17240         * text2.C (ClearSelection): to be sure we REALLY don't have any
17241         selection anymore!
17242
17243         * tabular.C (TeXCellPreamble): fixed the left border problem for
17244         multicolumn cells.
17245
17246 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17247
17248         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17249         dependancy file
17250
17251 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17252
17253         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17254         LFUN_BREAKPARAGRAPH.
17255
17256         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17257         help test to "internal only", similar for LFUN_INSERT_URL
17258
17259         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17260         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17261         auto_region_delete and deadkeys.
17262
17263 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17264
17265         * LColor.h:
17266         * LColor.C: remove some dead entries, tidy a little
17267
17268 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17269
17270         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17271         commented code.
17272         (Dispatch): implement LFUN_ESCAPE
17273
17274         * commandtags.h: add LFUN_ESCAPE
17275
17276         * LyXAction.C (init): add entry for LFUN_ESCAPE
17277
17278         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17279         Remove commented code.
17280         (insertNote): moved here
17281         (open_new_inset): moved here
17282
17283         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17284         BufferView_pimpl
17285
17286 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * kbmap.C (findbinding): clean it up and make it work correctly.
17289
17290         * lyx_main.C (init): do not pass argc and argv as parameters
17291
17292 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17293
17294         * buffer.C: fix path for OS/2 & Win32
17295
17296         * lyx_gui.C:
17297         * lyx_main:
17298         * lyx_main.C: Added os:: class.
17299
17300         * os2_defines.h: update
17301
17302 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17303
17304         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17305         better by trying again with reduced state.
17306
17307 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17308
17309         * lyxrc.C (read): print error about invalid key sequence only when
17310         debugging (because not all latinX keysyms are known to some X
17311         servers)
17312
17313         * kbsequence.C (getiso): add a few std:: qualifiers
17314         (getiso): comment out extra return statement.
17315
17316 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17317
17318         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17319         handling.
17320         (Dispatch): enhance the accent inset a bit. (not perfect)
17321
17322 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17323
17324         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17325
17326 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17327
17328         * bufferlist.C (emergencyWrite): fix assert() call
17329
17330 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17331
17332         * text.C (InsertChar): Added trivial patch to only send the "you
17333         can not do multiple spaces this way" message once during a
17334         session.
17335
17336 2001-05-08  Baruch Even  <baruch@lyx.org>
17337
17338         * Makefile.am: Changed order of libraries to get LyX to link properly
17339         with the gnome frontend.
17340
17341 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17342
17343         * LaTeXFeatures.h: add a std:: qualifier
17344
17345 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17346
17347         * paragraph.C (String): use stringstream
17348
17349 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17350
17351         * paragraph.C (writeFile): remove footflag arg
17352
17353         * buffer.C (makeLaTeXFile): use stringstream
17354         (latexParagraphs): remove footnot gurba
17355
17356         * LaTeXFeatures.C (getPackages): use stringstream
17357         (getMacros): likewise
17358         (getTClassPreamble): likewise
17359         (getFloatDefinitions): new method
17360
17361         * paragraph.C (writeFile): reindent
17362         (Erase): reindent
17363
17364         * WorkArea.h: revert the xpos + etc changes.
17365
17366         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17367
17368         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17369
17370         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17371         (pasteSelection): likewise
17372         * text2.C (CreateUndo): likewise
17373
17374 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17375
17376         * minibuffer.C (peek_event): temporarily reduce the functionality
17377         of the minibuffer (to allow args on lfuns)
17378
17379         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17380         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17381
17382         * buffer.C (readInset): add compability reading of old float
17383         lists, add reading of new style float list.
17384         (readInset): avoid reevaluation of inscmd.getCmdName()
17385         (getLists): reindent
17386
17387         * MenuBackend.C (MenuItem): implement parsing of
17388         md_floatlistinsert and md_floatinsert.
17389         (expand::LastFiles): move initalizaton of iterators out of loop,
17390         avoid reevaluation.
17391         (expand::Documents): introduce typdedef vector<string> Strings,
17392         and use it.
17393         (expand::ExportFormats): introduce typedef vector<Format const *>
17394         Formats, and use it.
17395         (expand): implement FloatListInsert and FloatInsert.
17396
17397         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17398         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17399         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17400
17401         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17402         handling.
17403         (Dispatch::LFUN_FLOAT_LIST): implement
17404
17405 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17406
17407         * LaTeX.C (run): Fix problem with --export code.
17408
17409 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17410
17411         * BufferView.[Ch] (workarea): removed.
17412         (getClipboard) new method; wrapper for workarea()->getClipboard()
17413
17414         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17415         bug.
17416
17417         * WorkArea.h (width, height, xpos, ypos): These methods all
17418         returned the dimensions of the work_area sub-area of WorkArea,
17419         resulting in a position error if the WorkArea were resized. Now
17420         return the dimensions of the entire WorkArea.
17421
17422         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17423
17424 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17425
17426         * LaTeX.C (deplog): correct the syntax of regex reg1
17427
17428 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17429
17430         * undo.C: remove !NEW_INSETS cruft
17431
17432 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17433
17434         * text2.C: remove !NEW_INSETS cruft
17435
17436         * text.C: remove !NEW_INSETS cruft
17437
17438         * tabular.C: remove !NEW_INSETS cruft
17439
17440         * spellchecker.C: remove !NEW_INSETS cruft
17441
17442         * lyxtext.h: remove !NEW_INSETS cruft
17443
17444         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17445
17446         * lyxfunc.C: remove !NEW_INSETS cruft
17447
17448         * lyxfind.C: remove !NEW_INSETS cruft
17449
17450         * lyx_cb.C: remove !NEW_INSETS cruft
17451
17452         * figureForm.C: remove  !NEW_INSETS cruft
17453
17454         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17455
17456         * buffer.[Ch]: remove !NEW_INSETS cruft
17457
17458         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17459
17460         * CutAndPaste.C: remove !NEW_INSETS cruft
17461
17462         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17463
17464         * BufferView2.C: remove !NEW_INSETS cruft
17465
17466         * BufferView.h: remove !NEW_INSETS cruft
17467
17468 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17469
17470         * Lsstream.h: include LString.h before the sstream headers to
17471         fix problem with gcc 2.95.3 and lyxstring
17472
17473 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17474
17475         * lyx_main.C: add using directives when needed for C functions
17476         declared in std:: namespace.
17477
17478 2001-04-27  Juergen Vigna  <jug@sad.it>
17479
17480         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17481         (SetHeightOfRow): comment out the update call should not be needed!
17482
17483 2001-04-13  Juergen Vigna  <jug@sad.it>
17484
17485         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17486         (LyXTabular): tried to minimize operator= operations (and realized
17487         hopfully Lars wish).
17488
17489 2001-04-27  Juergen Vigna  <jug@sad.it>
17490
17491         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17492
17493 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17494
17495         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17496
17497         * buffer.C (readInset): hack to make listof algorithm work
17498
17499         * BufferView_pimpl.C: hack to make listof algorithm work
17500
17501 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17502
17503         * LyXAction.C: removed all !NEW_INSETS cruft
17504         (init): moved lfun_item in method
17505
17506         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17507
17508 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17509
17510         * BufferView2.C (theLockingInset): white space.
17511
17512 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17513
17514         * minibuffer.C: include <iostream>
17515
17516         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17517
17518         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17519
17520         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17521
17522         * text.[Ch] (TransposeChars): new method
17523
17524 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17525
17526         * call message directly through LyXView instead of through LyXFunc
17527         * BufferView2.C: adjust
17528         * BufferView_pimpl.C: adjust
17529         * FontLoader.C: adjust
17530         * buffer.C: adjust
17531         * bufferview_funcs.C: adjust
17532         * converter.C: adjust
17533         * figureForm.C: adjust
17534         * importer.C: adjust
17535         * lyx_cb.C: adjust
17536         * lyx_gui_misc.C: adjust
17537         * lyxfunc.C: adjust
17538         * lyxvc.C: adjust
17539         * text2.C: adjust
17540         + more files in subdirs
17541
17542         * lyxparagraph.h (size): move up int file
17543         (GetLayout): ditto
17544
17545         * adjust all uses of Assert to lyx::Assert.
17546
17547         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17548         lyxfunctional in namespace lyx
17549         * layout.C (hasLayout): ditto
17550         (GetLayout): ditto
17551         (GetLayout): ditto
17552         (delete_layout): ditto
17553         (NumberOfClass): ditto
17554         * converter.C (GetFormat): ditto
17555         (GetNumber): ditto
17556         (Add): ditto
17557         (Delete): ditto
17558         (SetViewer): ditto
17559         * bufferlist.C (getFileNames): ditto
17560         (emergencyWriteAll): ditto
17561         (exists): ditto
17562         (getBuffer): ditto
17563         * MenuBackend.C (hasSubmenu): ditto
17564         (hasMenu): ditto
17565         (getMenu): ditto
17566         * BufferView_pimpl.C (getInsetByCode): ditto
17567
17568 2001-04-18  Juergen Vigna  <jug@sad.it>
17569
17570         * vspace.C (asLatexString): fixed the 100% problem.
17571
17572 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17573
17574         * lyxfunc.C (Dispatch):
17575         * minibuffer.C:
17576         * minibuffer.h: add a few std:: qualifiers
17577
17578 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17579
17580         * minibuffer.[Ch]: reimplement so that commands is initiated and
17581         run from lyxfunc, simplified som handling, and made the completion
17582         and history code for complete. wip.
17583
17584         * lyxfunc.C (processKeySym): call message
17585         (miniDispatch): new temporary method
17586         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17587         (LFUN_MESSAGE): implement
17588         (LFUN_MESSAGE_PUSH): implement
17589         (LFUN_MESSAGE_POP): implement
17590         (initMiniBuffer): the initial/defualt minibuffer message.
17591
17592         * lyxfont.[Ch]: inline some more getters
17593
17594         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17595
17596         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17597
17598         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17599         (AutoSave): use LFUN_MESSAGE
17600         (Reconfigure): ditto
17601
17602         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17603
17604         * figureForm.C: use LFUN_MESSAGE
17605
17606         * converter.C (runLaTeX): use LFUN_MESSAGE
17607
17608         * bufferview_funcs.C: use LFUN_MESSAGE
17609         (Melt): ditto
17610         (changeDepth): ditto
17611
17612         * bufferparams.h: use boost::
17613
17614         * bufferlist.h: inherit privately from noncopyable
17615
17616         * bufferlist.C (loadLyXFile): remove some commented code.
17617
17618         * buffer.C (runChktex): use LFUN_MESSAGE
17619
17620         * ShareContainer.h: inherit privately from noncopyable
17621
17622         * ParagraphParameters.[hC] (depth): inline it.
17623
17624         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17625         methods.
17626         (message): new method
17627         (messagePush): ditto
17628         (messagePop): ditto
17629         (show): init minibuffer
17630         (showState): direct call
17631
17632         * LaTeX.[Ch]: inherit privately from noncopyable
17633         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17634         instead of WriteStatus.
17635
17636         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17637
17638         * BufferView_pimpl.C (buffer): don't init minibuffer
17639         (workAreaButtonPress): use LFUN_MESSAGE
17640         (workAreaButtonRelease): ditto
17641         (savePosition): ditto
17642         (restorePosition): ditto
17643         (MenuInsertLyXFile): ditto
17644         (workAreaExpose): don't init minibuffer
17645         (update): remove commented code, simplify
17646
17647         * BufferView2.C (openStuff): use LFUN_MESSAGE
17648         (toggleFloat): ditto
17649         (menuUndo): ditto
17650         (menuRedo): ditto
17651         (copyEnvironment): ditto
17652         (pasteEnvironment): ditto
17653         (copy): ditto
17654         (cut): ditto
17655         (paste): ditto
17656         (gotoInset): ditto
17657         (updateInset): remove some commented code
17658
17659         * lastfiles.h: inherit privately from noncopyable
17660         * layout.h: ditto
17661         * lyx_gui.h: ditto
17662         * lyx_main.h: ditto
17663         * lyxlex.h: ditto
17664         * lyxlex_pimpl.h: ditto
17665
17666         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17667         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17668         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17669
17670         * LyXAction.h: inherit privately from noncopyable, add methods
17671         func_begin, func_end, returning iterators to the func map.
17672
17673         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17674         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17675         (func_begin): new method
17676         (func_end): new method
17677
17678         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17679         and not)
17680         (copySelection): ditto
17681         (pasteSelection): ditto
17682
17683         * BufferView.C: whitespace change
17684         * BufferView.h: inherit privately from noncopyable
17685
17686 2001-04-16  Allan Rae  <rae@lyx.org>
17687
17688         * tabular-old.C (l_getline):
17689         * spellchecker.C (sc_check_word):
17690         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17691         an unrecognised preprocessor directive.  So ensure they're wrapped.
17692
17693 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17694
17695         * src/exporter.C (Export): Give an error message when path to file
17696         contains spaces.
17697
17698 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17699
17700         * LaTeX.C (deplog): Always check that foundfile exists.
17701
17702 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17703
17704         * lyx_main.h:
17705         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17706
17707 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17708
17709         * tabular.[Ch] (getLabelList): implement new method
17710
17711         * minibuffer.h: comment ouf setTiimer
17712
17713         * minibuffer.C (ExecutingCB): constify res
17714         (peek_event): constify s
17715         (Set): constify ntext
17716         (Init): constify nicename
17717
17718         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17719
17720         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17721         (savePosition): use two params to Minibuffer::Set
17722         (restorePosition): ditto
17723
17724 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17725
17726         * lyx_main.C: include language.h
17727
17728         * Makefile.am (lyx_main.o): add language.h
17729
17730 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17731
17732         * exporter.C:
17733         * paragraph.C:
17734         * screen.C:
17735         * tabular.C:
17736         * CutAndPaste.C: include gettext.h
17737
17738         * lyxfont.h: remove old hack with ON and OFF.
17739
17740         * lyxparagraph.h:
17741         * lyxfont.h: do not include language.h...
17742
17743         * BufferView2.C:
17744         * LaTeXFeatures.C:
17745         * Painter.C:
17746         * bufferview_funcs.C:
17747         * font.C:
17748         * lyxfont.C:
17749         * text.C:
17750         * text2.C:
17751         * trans_mgr.C:
17752         * paragraph.C: ... but do it here instead
17753
17754 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17755
17756         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17757
17758         * tabular.C: small reformat
17759
17760         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17761         NEW_INSETS version
17762         (GetChar): ditto
17763         (BreakParagraph): ditto
17764         (SetOnlyLayout): ditto
17765         (SetLayout): ditto
17766
17767         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17768         with one arg less.
17769
17770         * lastfiles.C: removed most using decl, add std:: where needed
17771
17772         * buffer.C: ws changes
17773
17774         * MenuBackend.C (class compare_format): put into anon namespace
17775         (expand): constify label, names, action, action2
17776         (expand):
17777
17778         * text.C (SingleWidth): constify font
17779         (IsBoundary): constify rtl2
17780         (GetVisibleRow): constify ww
17781
17782         * LaTeX.C (deplog): constify logfile
17783
17784         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17785         start_x, end_x
17786         (workAreaExpose): constify widthChange, heightChange
17787
17788         * lyxrow.C (par): moved
17789         (height): moved
17790         (next): moved
17791         * lyxrow.h: as inlines here
17792
17793         * lyxfont.h (shape): moved from lyxfont.C
17794         (emph): moved from lyxfont.C
17795
17796         * lyxfont.C (LyXFont): use initialization list for all
17797         constructors
17798         (shape): move to lyxfont.h as inline
17799         (emph): move to lyxfont.h as inline
17800
17801
17802 2001-04-04  Juergen Vigna  <jug@sad.it>
17803
17804         * vspace.C: had to include stdio.h for use of sscanf
17805
17806 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17807
17808         * BufferView.h:
17809         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17810         independent of xforms.
17811
17812 2001-04-02  Juergen Vigna  <jug@sad.it>
17813
17814         * spellchecker.C: fixed namespace placing!
17815
17816 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17817
17818         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17819         the LyXParagraph * is 0.
17820
17821 2001-03-29  Juergen Vigna  <jug@sad.it>
17822
17823         * vspace.C: added support for %, c%, p%, l%.
17824         (stringFromUnit): added helper function.
17825         (asLatexString): changed to give right results for the %-values.
17826
17827         * buffer.C: convert the widthp in a width%.
17828
17829 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17830
17831         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17832         figureForm.[Ch].
17833
17834         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17835         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17836
17837         * lyx_cb.[Ch]: see above.
17838
17839         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17840         form1.[Ch].
17841
17842         * form1.[Ch]:
17843         * lyx.[Ch]: replaced by figure_form.[Ch].
17844
17845         * lyx_gui.C:
17846         * lyx_gui_misc.C:
17847         * lyxfunc.C: changed headers associated with above changes.
17848
17849 2001-03-27  Juergen Vigna  <jug@sad.it>
17850
17851         * BufferView_pimpl.C: set the temporary cursor right!
17852
17853 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17854
17855         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17856
17857 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17858
17859         * LString.h: removed "using std::getline"!
17860
17861         * BufferView_pimpl.C (Dispatch): changes due to changes in
17862         InsetInclude::Params.
17863
17864         * buffer.C (tag_name): removed redundant break statements as they were
17865         producing lots of warnings with my compiler.
17866
17867 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17868
17869         * LString.h: add "using std::getline" when using the real <string>.
17870
17871 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17872
17873         * buffer.C: removed bitset usage.
17874         PAR_TAG moved to an anonymous name space.
17875         (tag_name): new funtion, also in the anonymous namespace.
17876         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17877         (makeDocBookFile): clean code. Completed transition from string arrays
17878         to string vectors.
17879         (SimpleDocBookOnePar): code clean.
17880
17881 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17882
17883         * tabular.C: add some comments.
17884
17885 2001-03-22  Juergen Vigna  <jug@sad.it>
17886
17887         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17888         compatibility read a bit and fixed bug with minipage in different
17889         depth.
17890
17891 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17892
17893         * buffer.C (pop_tag): removed.
17894         (push_tag): removed.
17895         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17896         array replaced with vector. Added support for CDATA sections.
17897         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17898         at any nest level.
17899         (makeDocBookFile): XML conformant declaration of CDATA section,
17900         fixed bug related to <emphasis> in the first paragraph char.
17901         (sgmlOpenTag): exclude empty tags.
17902         (sgmlCloseTag): ditto.
17903
17904         * buffer.h (pop_tag): removed.
17905         (push_tag): removed.
17906
17907 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17908
17909         * language.h (Languages): added size_type and size().
17910
17911 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17912
17913         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17914         response on compability reading of minipages. One probliem is that
17915         the old usage of minipages was flertydig
17916
17917         * several files here and in subdirs: don't use static at file
17918         scope use anon namespaces instead.
17919
17920 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17921
17922         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17923         LaTeX output. This is necessary for Literate document
17924         processing.
17925
17926 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17927
17928         * buffer.C: insert hfill when needed.
17929
17930         * tabular.C (l_getline): use string::erase, small whitespace change.
17931
17932         * BufferView_pimpl.C: try the anon namespace.
17933         * WorkArea.C: ditto
17934
17935 2001-03-16  Juergen Vigna  <jug@sad.it>
17936
17937         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17938         otherwise it won't open options-dialogs.
17939
17940         * buffer.C: honor pextraWidth(p) on converting minipages.
17941
17942         * tabular.C (l_getline): changed the functions to strip trailing \r.
17943
17944 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17945
17946         * BufferView_pimpl.C:
17947         * minibuffer..C: added "using SigC::slot" declaration.
17948
17949 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17950
17951         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17952
17953         * text2.C: ditto
17954
17955         * text.C: ditto
17956
17957         * paragraph.C: ditto
17958
17959         * lyxtext.h: NO_PEXTRA
17960
17961         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17962
17963         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17964         * ParameterStruct.h: ditto
17965         * ParagraphParameters.h: ditto
17966         * lyxparagraph.h: ditto
17967
17968 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17969
17970         * buffer.C: add compability for minipage alignment.
17971         (latexParagraphs): remove unwanted pextra check.
17972
17973         * several files: remove CXX_WORKING_NAMESPACES
17974
17975         * buffer.C (pop_tag): tie is in namespace boost
17976
17977         * BufferView.h: noncopyable is in namespace boost
17978         * lyxlex.h: ditto
17979         * lyx_main.h: ditto
17980         * lyx_gui.h: ditto
17981         * layout.h: ditto
17982         * lastfiles.h: ditto
17983         * bufferlist.h: ditto
17984         * ShareContainer.h: ditto
17985         * LyXView.h: ditto
17986         * LyXAction.h: ditto
17987         * LaTeX.h: ditto
17988
17989 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17990
17991         * Merging changes from BRANCH_MVC back into HEAD.
17992
17993         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17994
17995 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17996
17997         * BufferView_pimpl.C: change from intl.C
17998
17999         * combox.h:
18000         * combox.C:
18001         * Makefile.am: move combox.*
18002
18003         * form1.h:
18004         * form1.C:
18005         * lyx_gui.C:
18006         * intl.h:
18007         * intl.C: remove dialog (covered by prefs)
18008
18009 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18010
18011         * lyxfunc.C (Dispatch): removed redundant break statement.
18012
18013 2001-03-14  Juergen Vigna  <jug@sad.it>
18014
18015         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18016
18017 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18018
18019         * buffer.C: add hack to fix compability reading of minipages.
18020
18021 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18022
18023         * buffer.C (getLists): Cleanup.
18024
18025 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18026
18027         * lyxfont.C (update): don't honor toggleall on font size.
18028
18029 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18030
18031         * bmtable.c:
18032         * bmtable.h:
18033         * Makefile.am: moved to frontends/xforms/
18034
18035         * lyx_gui_misc.C:
18036         * lyxfunc.C:
18037         * BufferView_pimpl.C: changes for moved mathpanel
18038
18039 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18040
18041         * gettext.h: fix gettext_init() in --disable-nls
18042
18043 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18044
18045         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18046
18047 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18048
18049         * lyx.C:
18050         * lyx.h: strip external form
18051
18052 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18053
18054         * BufferView_pimpl.C: add comment, destroySplash()
18055
18056 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18057
18058         * BufferView_pimpl.C:
18059         * LyXAction.C:
18060         * buffer.C:
18061         * commandtags.h:
18062         * lyxfunc.C: use re-worked insetinclude
18063
18064 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18065
18066         * buffer.C: add using std::stringstream.
18067
18068         * lyx_cb.C: readd using std::ios.
18069
18070         * buffer.C: add using std::map.
18071
18072         * BufferView_pimpl.C: add using std::vector.
18073
18074         * ShareContainer.h: add std:: to swap.
18075
18076         * buffer.h: add some typedefs
18077         * buffer.C (getLists): use them
18078         (getLists): renamed from getTocList.
18079         add a counter for the different float types and use it in the
18080         generated string.
18081         (getLists): use the same counter for the NEW_INSETS and the "non"
18082         NEW_INSETS
18083
18084         * lyx_cb.h: remove unused items, includes, using etc.
18085
18086         * ShareContainer.h: remove some commented code, add more comments
18087         and "documentation".
18088
18089 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18090
18091         * buffer.C (getTocList): make the list also when NEW_INSETS is
18092         defined.
18093
18094         * buffer.h: remove TocType
18095
18096         * buffer.C (getTocList): change to return a map<string,
18097         vector<TocItem> >, implement for dynamic number of list.
18098
18099         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18100         * text2.C (PasteSelection): adjust
18101         * CutAndPaste.C (pasteSelection): adjust
18102
18103         * FloatList.C (FloatList): update from the new_insets branch.
18104         * Floating.[Ch]: ditto
18105         * LaTeXFeatures.C: ditto
18106         * buffer.C: ditto
18107         * lyxlex_pimpl.C: ditto
18108
18109         * paragraph.C (Last): remove when NEW_INSETS is defined.
18110
18111         * other file: changes because of the above.
18112
18113 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18114
18115         * lyxparagraph.h: rename next to next_, previous to previous_,
18116         make them private for NEW_INSETS. Rename Next() to next(),
18117         Previous() to previous().
18118
18119         * other files: changes because of the above.
18120
18121 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18122
18123         * BufferView.h:
18124         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18125         problem.
18126
18127 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18128
18129         * main.C (main): pass lyx_localedir to gettext_init().
18130
18131         * gettext.h: remove locale_init and gettext_init macros
18132
18133         * gettext.C (locale_init): new function
18134         (gettext_init): new function
18135
18136         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18137         setlocale().
18138
18139 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18140
18141         * Moved credits to frontends:
18142         * credits.[Ch]: removed
18143         * credits_form.[Ch]: removed
18144         * lyx_gui_misc.C: remove credits stuff
18145         * Makefile.am:
18146
18147 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18148
18149         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18150
18151         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18152         unneeded destructor.
18153
18154         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18155         a standalone pointer again.
18156
18157         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18158
18159 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18160
18161         * Makefile.am:
18162         * filedlg.h:
18163         * filedlg.C:
18164         * LyXAction.C:
18165         * ToolbarDefaults.C:
18166         * bufferlist.C:
18167         * commandtags.h:
18168         * form1.C:
18169         * form1.h:
18170         * lyx_cb.C:
18171         * lyx_cb.h:
18172         * lyxfunc.h:
18173         * lyxfunc.C:
18174         * BufferView_pimpl.C: use new file dialog in GUII
18175
18176         * lyx_cb.h:
18177         * lyx_cb.C: remove LayoutsCB to Toolbar
18178
18179 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18180
18181         * ShareContainer.h (get): add std:: qualifier
18182
18183 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18184
18185         * ShareContainer.h: define a proper ShareContainer::value_type
18186         type (and use typename to please compaq cxx)
18187
18188 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18189
18190         * lyxparagraph.h: move serveral local vars to
18191         ParameterStruct/ParagraphParameters., use ShareContainer in
18192         FontTable., make vars in FontTable private and add getter and
18193         setter.
18194
18195         * paragraph.C: changes because of the above.
18196
18197         * lyxfont.h: remove copy constructor and copy assignment. (the
18198         default ones is ok), move number inside FontBits. move inlines to
18199         lyxfont.C
18200
18201         * lyxfont.C: add number to initializaton of statics, move several
18202         inlines here. constify several local vars. some whitespace
18203         cleanup. Dont hide outerscope variables.
18204
18205         * Spacing.h: add two new constructors to match the set methods.
18206
18207         * ShareContainer.h: new file, will perhaps be moved to support
18208
18209         * ParameterStruct.h: new file
18210
18211         * ParagraphParameters.h: new file
18212
18213         * ParagraphParameters.C: new file
18214
18215         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18216         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18217
18218         * BufferView_pimpl.C: ParagraphParameter changes.
18219         * buffer.C: Likewise.
18220         * bufferview_funcs.C: Likewise.
18221         * text.C: Likewise.
18222         * text2.C: Likewise.
18223
18224 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18225
18226         * lyxfind.C (LyXReplace): do not redefine default argument in
18227         implementation.
18228         (IsStringInText): ditto
18229         (SearchForward): ditto
18230         (SearchBackward): ditto
18231
18232 2001-03-06  Juergen Vigna  <jug@sad.it>
18233
18234         * lyxfind.C (IsStringInText): put parentes around expressions.
18235
18236 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18237
18238         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18239
18240 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18241
18242         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18243
18244         * stl_string_fwd.h: add comment
18245
18246         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18247
18248         * tabular.h:
18249         * tabular.C: remove unused DocBook methods
18250
18251         * intl.C:
18252         * language.C:
18253         * paragraph.C:
18254         * buffer.C:
18255         killed DO_USE_DEFAULT_LANGUAGE
18256
18257 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18258
18259         * lyx_gui.C: do not include language.h.
18260
18261         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18262         arguments in function implementation.
18263
18264 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18265
18266         * BufferView_pimpl.C: add <ctime>
18267
18268 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18269
18270         * BufferView_pimpl.C: add using std::find_if
18271
18272 2001-02-27  José Matos  <jamatos@fep.up.pt>
18273
18274         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18275         by OnlyPath.
18276
18277 2001-02-11  José Matos  <jamatos@fep.up.pt>
18278
18279         * buffer.C (makeDocBookFile): command styles now have a parameter as
18280         "title" by default.
18281
18282 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18283
18284         * layout_forms.[Ch]: removed
18285         * lyx_cb.[Ch]: out character
18286         * lyx_gui.C: out character
18287         * lyx_gui_misc.C: out character
18288         * bufferview_funcs.C: : out character,
18289         added toggleall as parameter in ToggleAndShow
18290
18291 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18292
18293         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18294
18295         * text2.C (SetCurrentFont): Disable number property at boundary.
18296
18297 2001-02-26  Juergen Vigna  <jug@sad.it>
18298
18299         * lyxfunc.C (getStatus): added a string argument override function so
18300         that this is correctly called from LyXFunc::Dispatch if it contains a
18301         do_not_use_argument which is used!
18302         (Dispatch): added check for "custom" export and call appropriate func.
18303
18304 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18305
18306         * lyxrc.C: Add language_command_local, language_use_babel and
18307         language_global_options.
18308
18309         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18310
18311         * buffer.C (makeLaTeXFile): Use language_use_babel and
18312         language_global_options.
18313
18314 2001-02-23  Juergen Vigna  <jug@sad.it>
18315
18316         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18317         which works with LyXText and putted it inside BufferView. Here now we
18318         only call for that part the BufferView::Dispatch() function.
18319
18320         * BufferView.C (Dispatch): added.
18321
18322         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18323         functions which needs to use a LyXText over from LyXFunc.
18324         (MenuInsertLyXFile): added
18325         (getInsetByCode): added
18326         (moveCursorUpdate): added
18327         (static TEXT): added
18328
18329 2001-02-22  Juergen Vigna  <jug@sad.it>
18330
18331         * BufferView_pimpl.C (update): call a status update to see if LyXText
18332         needs it.
18333
18334 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18335
18336         * vc-backend.C (revert): implement for CVS
18337         (getLog): implement for CVS
18338
18339 2001-02-20  Juergen Vigna  <jug@sad.it>
18340
18341         * text2.C (ClearSelection): added BufferView param for inset_owner call
18342
18343         * lyxfunc.C (TEXT): added this function and use it instead of
18344         directly owner->view()-text of getLyXText().
18345
18346 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18347
18348         * src/layout_forms.C: out preamble
18349         * src/layout_forms.h: out preamble
18350         * src/lyx_cb.C: out preamble
18351         * src/lyx_cb.h: out preamble
18352         * src/lyx_gui.C: out preamble
18353         * src/lyx_gui_misc.C: out preamble
18354         * src/lyxfunc.C: connect with guii preamble
18355
18356 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18357
18358         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18359
18360 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18361
18362         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18363         whether to run bibtex.
18364
18365 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18366
18367         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18368
18369 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18370
18371         * Makefile.am (lyx_SOURCES): removed bibforms.h
18372
18373         * vspace.h: doxygen
18374
18375         * text.C (GetVisibleRow): make several local vars const
18376
18377         * tabular.C: small cleanup.
18378
18379         * lyxserver.C (callback): use compare instead of strncmp
18380
18381         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18382         inlines to after class or to paragraph.C
18383
18384         * lyxfont.h: remove friend operator!=
18385
18386         * converter.h: move friend bool operator< to non friend and after
18387         class def.
18388
18389         * combox.h: small cleanup
18390
18391         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18392         to inlines after class def.
18393
18394         * buffer.C (pop_tag): use string operations instead of strcmp
18395
18396         * bmtable.c: doxygen, small cleanup
18397
18398         * LaTeX.h: remove friend operator==
18399
18400 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18401
18402         * screen.C:
18403         * lyxrc.[Ch]:
18404         * lyxfunc.C:
18405         * lyxfont.[Ch]:
18406         * lyx_cb.C:
18407         * intl.[Ch]:
18408         * commandtags.h:
18409         * buffer.C:
18410         * WorkArea.[Ch]:
18411         * LyXAction.C:
18412         * BufferView_pimpl.C:
18413         * BufferView.[Ch]: remove cruft
18414
18415 2001-02-14  Juergen Vigna  <jug@sad.it>
18416
18417         * lyxfunc.C: removed #if 0 unused code
18418
18419         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18420
18421         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18422
18423         * text2.C (SetSelection): added a BufferView * parameter
18424
18425 2001-02-13  Juergen Vigna  <jug@sad.it>
18426
18427         * lyxfunc.C (Dispatch): fixed protected blank problem.
18428         * BufferView2.C (protectedBlank): added LyxText * parameter.
18429
18430         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18431         (AppendColumn): same as above for column_info.
18432
18433         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18434         (moveCursorUpdate): use a LyXText param for support of InsetText.
18435
18436         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18437         (tripleClick): ditto
18438
18439         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18440
18441         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18442
18443         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18444
18445         * text2.C (SetSelection): set correct update status if inset_owner
18446         (ToggleFree): ditto
18447
18448 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18449
18450         * tabular.C: remove some commented code.
18451
18452 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18453
18454         * BufferView_pimpl.C: call hideSplash()
18455
18456         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18457
18458         * include_form.h:
18459         * bibforms.h: remove
18460
18461         * lyxfunc.C:
18462         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18463           add LFUN_CHILD_CREATE
18464
18465         * counters.h: fix tiny typo
18466
18467         * lyx_cb.C:
18468         * lyx.h:
18469         * lyx_gui.C:
18470         * lyx.C: move splash to frontends/xforms/
18471
18472         * lyx_gui_misc.C: move Include and Bibform to frontends
18473
18474         * lyxvc.h: clarify comment
18475
18476         * vspace.C: tiny housekeeping
18477
18478 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * text.C (PrepareToPrint): RTL Fix.
18481
18482         * paragraph.C (GetUChar): New method.
18483         (String):  Use GetUChar.
18484
18485         * buffer.C (asciiParagraph): Use GetUChar.
18486
18487 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18488
18489         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18490
18491 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18492
18493         * buffer.h:
18494         * buffer.C: rename to getLogName(), handle
18495           build log / latex log nicely
18496
18497 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18498
18499         * MenuBackend.C:
18500         * MenuBackend.h: remove support for reference menuitem type.
18501
18502 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18503
18504         * BufferView_pimpl.C: housekeeping
18505         * BufferView_pimpl.h:
18506         * LyXView.h:
18507         * Makefile.am:
18508         * Timeout.C:
18509         * Timeout.h:
18510         * minibuffer.h: move Timeout GUI-I
18511
18512 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18513
18514         * lyxrc.C (read): Update converters data-structures.
18515
18516 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18517
18518         * LaTeX.h (operator!=): add operator != for Aux_Info
18519
18520 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18521
18522         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18523
18524         * LaTeXLog.C: deleted, useful code moved to Buffer
18525
18526         * buffer.h:
18527         * buffer.C: new function getLatexLogName()
18528
18529         * lyx_gui_misc.C:
18530         * lyx_gui.C:
18531         * lyxvc.C:
18532         * lyxvc.h:
18533         * lyxfunc.C: use frontends for LaTeX and VC logs
18534
18535 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18536
18537         * LaTeX.h: yet another std:: that Allan forgot.
18538
18539         * Variables.C (set): renamed from isset(), because this clashes
18540         with some HP-UX macros (grr).
18541
18542 2001-02-06  Allan Rae  <rae@lyx.org>
18543
18544         * LaTeX.h: Another bug fix.  Missing std:: this time.
18545
18546 2001-02-04  Allan Rae  <rae@lyx.org>
18547
18548         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18549         floats problem. I've left it commented out because it's not quite
18550         correct.  It should also test that the current object is a table or
18551         figure inset.  But I haven't gotten around to figuring out how to do
18552         that.  I *think* it'll be something like: "table" == inset.type()
18553
18554         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18555         bool.
18556
18557 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18558
18559         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18560         all the citation/databases/styles in the auxilary file.
18561         (run): Rerun latex if there was a babel language error.
18562
18563 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18564
18565         * text.C (Backspace): Preserve the font when changing newline char
18566         with a space.
18567         (BreakParagraph): If the cursor is before a space, delete the space.
18568
18569         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18570
18571 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18572
18573         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18574         new argument (code).
18575         (ChangeCitationsIfUnique): New method.
18576
18577         * paragraph.C (GetPositionOfInset): Handle bibkey.
18578
18579 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18580
18581         * BufferView_pimpl.h: change type of Position::par_pos to
18582         LyXParagraph::size_type.
18583
18584 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18585
18586         * BufferView_pimpl.C (savePosition, restorePosition): Write
18587         messages to minibuffer.
18588
18589 2001-01-28  José Matos  <jamatos@fep.up.pt>
18590
18591         * buffer.C (makeDocBookFile): adds support for document language.
18592         A silly restriction on the name of LatexCommand types where removed.
18593         Added support for CDATA sections, allows to chars unescaped, used
18594         among others in code, to avoid escape < and >.
18595
18596 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18597
18598         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18599         saved positions instrad of a stack. Furthermore, a position is
18600         stored using paragraph id/paragraph position.
18601
18602         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18603         Remove LFUN_REF_BACK.
18604
18605 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18606
18607         * converter.C (dvipdfm_options): New method.
18608
18609 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18610
18611         * vspace.C (isValidLength): Fix for empty input string.
18612
18613 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18614
18615         * LyXAction.C (init): change description of LFUN_FIGURE to
18616         "Insert Graphics"
18617
18618 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18619
18620         * LaTeX.C: add using directive
18621
18622 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18623
18624         * MenuBackend.C (expand): Fix the sorting of the formats.
18625
18626 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18627
18628         * lyx_main.C: tiny error message fix
18629
18630 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18631
18632         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18633         calling fl_initialize(). This fixes the problem with ',' as
18634         decimal separator in text files.
18635
18636 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18637
18638         * trans.C (process): Fix the keymap bug.
18639
18640 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18641
18642         * LaTeX.C (scanAuxFiles): New method. Provides support for
18643         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18644         (scanLogFile) Scan for "run BibTeX" messages.
18645
18646         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18647         OT1 font encoding. Also, load the aecompl package if the ae
18648         package is loaded.
18649
18650         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18651
18652 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18653
18654         * texrow.C (increasePos): turn two error messages into debug
18655         messages.
18656
18657 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18658
18659         * LaTeX.C (scanAux): Handle the \@input macro.
18660         (runBibTeX): Use scanAux().
18661
18662         * language.C (latex_options_): New field.
18663
18664         * LaTeXFeatures.C (getMacros): Add language macros.
18665
18666         * buffer.C (makeLaTeXFile): Small fix.
18667
18668 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18669
18670         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18671
18672         * text2.C: add a using directive.
18673
18674 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18675
18676         * BufferView2.C:
18677         * lyx_gui_misc.h:
18678         * lyxfr1.C:
18679         * lyxfunc.C: kill LyXBell.
18680
18681 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18682
18683         * text.C (IsBoundary): Remove the error message
18684
18685         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18686
18687         * lyxrc.C (setDefaults): Correct initialization value for
18688         font_norm_type.
18689
18690 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18691
18692         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18693         gotoError().
18694
18695         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18696         and GotoNextNote().
18697
18698         * src/LyXAction.C: Added reference-next.
18699
18700         * text.C (InsertChar): Use contains instead of strchr.
18701
18702         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18703
18704 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18705
18706         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18707         alignment commands (when needed).
18708
18709         * text.C (InsertChar): Add ':' to number separator chars.