]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Add GTK bibitem dialog
[lyx.git] / src / ChangeLog
1 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * converter.C (convert): handle unknown formats
4
5 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * cursor.C (goUpDown): comment out some debug messages.
8
9         * counters.C (newCounter): make error messages more explicit
10         (these appear with some textclasses like beamer)
11
12 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * kbmap.C (defkey): 
15         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
16         have origin set to KEYBOARD. (bug 2221)
17
18 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
19
20         * rowpainter.C (isCursorOnRow): do not exclude endpos().
21
22 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * cursor.C (macroModeClose): returns true if an inset actually got
25         inserted; revert faulty fix to bug 2034.
26
27 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * tabular.C (getLabelList): remove (not used anymore).
30
31 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
32
33         * outputparams.[Ch]: add new flag inComment
34
35 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * text2.C (deleteEmptyParagraphMechanism): since we delete a
38         paragraph, recordUndo should span two paragraphs (bug 2155).
39
40 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * rowpainter.C (paintPar): always repaint the row with the
43         cursor in it
44
45 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
46
47         * MenuBackend.h: 
48         * bufferlist.h: 
49         * lyxtext.h: 
50         * paragraph.h:
51         * vspace.h: fix syntax error
52
53 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * text3.C (dispatch): Force refresh if typing into inset changes its
56                               metrics
57
58 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * RowList_fwd.h:
61         * paragraph.C:
62         * paragraph.h:
63         * rowpainter.C: Speed up rendering by only re-painting rows that
64         have changed. When selection or whole-screen update active, all rows
65         are repainted, as are all rows within insets.
66
67 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * version.C.in: Use PACKAGE_VERSION instead of VERSION
70
71 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
72
73         * tabular.C (toggleFixedWidth): Use default layout of text class
74         instead of hardcoded "Standard"
75
76 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * lyxfunc.C (dispatch): do not call getStatus again to determine
79         whether a lfun is disabled (bug 2172).
80
81 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * cursor.C (macroModeClose): set the cursor inside the new math
84         atom if relevant (think \frac{}{}) (bug 2034)
85
86 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * lyxtext.h:
89         * text.C:
90         * text3.C (Delete, backspace): force update when merging paragraphs
91
92 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * BufferView.C (mouseSetCursor): clear the selection properly (bug
95         2163). 
96
97 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
98
99         * text.C (redoParagraph): honor inset->noFontChange()
100         * rowpainter.C (paintInset): ditto
101
102 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
103
104         * lyx_main.C (priv_exec): don't initialize Math on startup 
105         (initMath() has been moved to math_hullinset).
106
107 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
110         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
111         * paper.h: dispose dead PAPER_PACKAGES enum.
112
113 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
116         without X support.
117
118 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
119
120         * exporter.C (Export): Don't try to copy a file if it does not exist
121         (bug 1888)
122
123 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * text2.C (makeFontEntriesLayoutSpecific): remove.
126         (setLayout): adapt.
127
128         * text.C (insertChar): remove bogus caching of fonts (did not do
129         anything). 
130
131         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
132         ALL_SANE). (bug 2146)
133
134 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * rowpainter.C (paintFirst): fix centering of
137         LABEL_CENTERED_TOP_ENVIRONMENT. 
138
139 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * BufferView.C (mouseSetCursor): new method. Calls
142         deleteEmptyParagraphMechanism if necessary.
143
144         * lyxtext.h: make deleteEmptyParagraphMechanism public.
145
146         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
147         BufferView::mouseSetCursor (bug 2109).
148         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
149
150 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
151
152         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
153         do not remove it (this inset behaves differently from the others).
154
155 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         Fix bug 2096.
158         
159         * BufferView_pimpl.C (getStatus): it is only possible to insert a
160         file in a text inset.
161
162         * buffer.C (readDocument): remove pit argument and code releated
163         to it; set the inset owner correctly (unrelated, but useful).
164         (readFile): get rid of pit argument.
165
166         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
167         textclass instead of a selection index.
168         (pasteParagraphList): new function.
169         (pasteSelection): make it a wrapper around pasteParagraphList.
170
171         * BufferView_pimpl.C (MenuInsertLyXFile): use
172         cap::pasteParagraphList to insert a file.
173
174 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
175
176         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
177
178 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
179
180         * exporter.C: fix typo in text message
181
182 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
183
184         * text2.C (setLayout): move recUndo call to other setLayout method
185         * tabular.C (toggleFixedWidth): new, handle cell width changes
186         * tabular.C (setColumnPWidth): move some code from insettabular.C here
187         and use toggleFixedWidth
188         * tabular.C (setMColumnPWidth): ditto
189
190 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
191
192         * paragraph.C (asString): use new inset->textString method (fix
193         bug 2089) 
194
195 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * CutAndPaste.C (numberOfSelections): new helper function.
198
199         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
200
201         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
202         LyXFunc::getStatus; implement LFUN_PASTE.
203
204 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * dociterator.[Ch]: new member realInset() that returns the cell
207         for tabulars and the inset for the rest (bug 1952).
208         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
209         (bug 1952).
210
211 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
214
215 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
216
217         * lyxfunc.C:
218         * paragraph.C:
219         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
220         argument.
221
222 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
223
224         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
225         line after typing ctrl-enter
226
227 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
228
229         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
230         math insets do not return a proper editable() state yet (bug 2124).
231
232 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
233
234         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
235         docs containing very large paragraphs.
236
237 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * cursor.C (selectionBegin, selectionEnd):
240         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
241         cursor at different depths.
242
243 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
244
245         * bufferview_funcs.C (coordOffset): do not call cursorPos
246         for collapsed collapsables (fix bug 2094).
247
248 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * paragraph.C (fontSpan): make sure that the FontSpan does not
251         span across beginOfBody (bug 1947).
252
253 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
256
257 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
258
259         * messages.C: fix crash and localization on MinGW/Windows platform
260
261 2005-11-02  Angus Leeming  <leeming@lyx.org>
262
263         * Bidi.C:
264         * lyxtextclass.C: trivial fixes to some MSVS warnings.
265
266 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * text3.C (getStatus): re-enable disabled code. (bug 2081)
269
270         * BranchList.h (empty): constify.
271
272 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * text3.C (getStatus): 
275         * MenuBackend.C (expandBranches): take the branch list from the
276         master document (bug 2092).
277         
278         * MenuBackend.C (expandBranches): 
279         * bufferparams.C (writeFile): use BranchList type.
280
281 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * text3.C (dispatch, getStatus): 
284         * LyXAction.C (init): 
285         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
286
287 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
290
291 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * text.C (insertChar): do not reset boundary (bug 2061)
294
295 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * dociterator.C (updateInsets): new method. Updates the inset_
298         cache of all the slices of the iterator.
299
300         * text2.C (deleteEmptyParagraphMechanism): compare also containing
301         insets when comparing pit/pos; pass the right cursor to
302         recordUndo; when a paragraph has been deleted, compare `old.top()' to
303         the right cursor slice of `cur'; use updateInsets on cur to make
304         sure that the inset caches are correct; general cleanup.
305
306 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
309         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
310         containg inset. If this does not work, the same command will be
311         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
312
313         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
314         a dispatch.
315
316 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * lyxtextclass.C (Read): convert layout file if the format is wrong
319         * lyxtextclass.C (layout2layout): new, needed for the above
320
321 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * messages.C: do not forget to include <cerrno>.
324
325 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
326
327         * dociterator.h (StableDocIterator): add access to pos().
328         * undo.C (samePar): new method to check if two
329         iterators are in the same paragraph
330         * undo.C (recordUndo): check for samePar instead of cell identity
331         (which includes pos() and is too strict) (fixes bug 2097)
332
333 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * text.C (setCursorFromCoordinates): return a bool telling whether
336         dEPM triggered.
337
338         * text3.C (cursorPrevious): update if needed after
339         setCursorFromCoordinates (when dEPM triggered).
340
341         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
342         (otherwise the anchor may be completely wrong and make dEPM assert).
343
344 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
345
346         * buffer.C: version upgrade to 245.
347         * bufferparams.C: remove \quotes_times (bug 2090).
348         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
349         quotation marks as default.
350
351 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
352
353         * CutAndPaste.C (nrOfParagraphs): remove (unused)
354         * CutAndPaste.C (cutSelection): Remove debug message
355         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
356         undo information and only copy if this is a real cut
357         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
358         call
359         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
360         (bug 2059)
361         * CutAndPaste.C (eraseSelection): prevent cursor corruption
362         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
363         superflous cur.selection() setting
364         * CutAndPaste.[Ch] (grabSelection): take a const cursor
365         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
366
367 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
368
369         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
370         change anything.
371
372 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
373
374         * BufferView_pimpl.C: comment layout change
375
376 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
377
378         * LyXAction.C:
379         * lfuns.h:
380         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
381         by bibliography managers (bug 2071).
382
383 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
384
385         * BufferView_pimpl.C (update): choose arguments to update call so
386         that single-par update works most times
387         * text3.C (dispatch): carefully tune updating separately for
388         whole-screen and current-paragraph
389         * rowpainter.C (paintText): 1) replace painting by caching for
390         the two extra paragraphs, because we can;
391         2) suppress greying out of areas below/above drawn area in case of
392         single-par refresh
393         * lyxfunc.C (dispatch): remove superfluous update
394         * LyXAction.[Ch]: introduce SingleParUpdate
395
396 2005-10-05  Angus Leeming  <leeming@lyx.org>
397
398         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
399         always initialised before use.
400
401         * text.C (setHeightOfRow): squash warning about comparison
402         of signed and unsigned types.
403
404 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
405
406         * text.C (cursorX): two fixes involving RtL text drawing
407
408 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
411         items, not only large ones (part of bug 2057)
412
413 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
416         argument, use "newcommand".
417
418 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
419
420         * cursor.C (setSelection): do not open collapsable insets;
421         the insets do by themselves now (autoopen).
422
423 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
424
425         * buffer.C: format is up to 244.
426
427 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
428
429         * text.C (redoParagraph): fix calcultation of inset width wrt 
430         leftMargin (bug 1957).
431
432         * text3.C (dispatch): leave inset to the right when hitting ESC 
433         (bug 2034).
434
435 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * text2.C: 
438         * text.C: 
439         * factory.C:
440         * messages.C: include <boost/current_function.hpp> 
441
442 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
445         when command is internal. (bug 1941)
446
447 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * text2.C (cursorRight): do not honor boundary when at the end of
450         a paragraph. (bug 2010 again)
451
452 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
455
456 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * rowpainter.C (paintText): fix RtL space width display bug (2029)
459
460 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * text2.C (setCursor): remove the unused 'boundary' parameter for
463         the CursorSlice version; adapt the LCursor version.
464
465         * lyxrc.C (write): 
466         * paragraph_pimpl.C (markErased): 
467         * cursor.C (bruteFind2, bruteFond3): fix warnings.
468
469 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
472         as is already done for "chapter".
473
474 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
477         textclass; do not record undo if nothing is changed.
478
479 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
482
483 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
484
485         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
486
487 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
490         combox, it is necessary to search for the topmost paragraph in the
491         cursor stack (bug 1926)
492
493 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
496         end of paragraph. (bug 2010)
497
498 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
499
500         * text.C (leftMargin): check for inInset == 0
501
502 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
503
504         * text.C (leftMargin): test for insetbase's new neverIndent()
505         bool instead of listing each and every inset that does not
506         wish par indendation.
507
508 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * buffer_funcs.C (setCounter): put the code to compute enum label
511         here (where it belongs).
512
513         * counters.C (enumLabel): move code to buffer_funcs.C.
514
515 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
516
517         * outputparams.[Ch]: store local_font instead of local_language
518         * paragraph.C (simpleTeXOnePar): adapt to the change above
519
520 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * buffer_funcs.C:
523         * counters.[Ch]: clean up special code for Hebrew.
524
525 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
528         than 2.
529
530 2005-09-08  Angus Leeming  <leeming@lyx.org>
531
532         * ispell.C:
533         * lyxrc.C: correct grammar describing invocation of the
534         spellchecker.
535
536 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * text.C (read): remove unused variable.
539         (readParToken): remove static Change variable (never good in
540         recursive settings...); add it as a parameter instead.
541
542         * paragraph_pimpl.C (acceptChange): make debug info conditional.
543
544         * metricsinfo.C (PainterInfo): add new member erased_.
545
546         * rowpainter.C (RowPainter): add erased_ member, initialized from
547         PainterInfo. 
548         (paintInset): pass erased_ to Inset::draw.
549
550         * lyxfunc.C (lookupChange): new function. Tells whether change 
551         tracking is disabled at a given postion.
552         (getStatus): disable some actions when in deleted text with change
553         tracking. 
554
555 2005-08-03  John Levon  <levon@movementarian.org>
556         
557         * tabular.C (appendColumn, setMultiColumn): adapt to change to
558         InsetText::clear().
559
560         * paragraph_pimpl.C (markErased): add bool argument and handle it.
561         Also make sure to mark insets recursively.
562         (rejectChange, erase): be recursive
563
564         * paragraph.C (markErased): add bool argument.
565 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxfind.C (findNextChange): tiny cleanup.
568
569         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
570         change tracking with the cursor in an inset; make sure the first
571         change is not skipped.
572
573 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
574
575         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
576         tabularStackDirty to work around bug 1919 (tabular needs
577         to know whether its own cell paste buffer or the one of 
578         texted is newer.
579         * CutAndPaste.C: mark tabular_stack_ clean after copy.
580
581 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
582
583         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
584
585 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
586
587         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
588         use old deleteion algorithm when changetracking is on.
589
590 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
591
592         * messages.C (get): add debug output.
593
594 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
595
596         * text.C (cursorX): fix bug 1965: cursor movement at
597         line end broken in RtL.
598         (drawSelection): fix bug 1970: drawing of single-line 
599         selection broken for RtL.
600
601 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         bug 465.
604
605         * dociterator.h (clear, push_back, pop_back): change from
606         protected to public.
607
608         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
609         and changed to just return the value of the item depth; take a
610         ParIterator as argument; take the itemdepth at outer nesting level
611         in account if necessary; cleanup and comment the code.
612         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
613         and changed to just return true if reset is needed; take a
614         ParIterator as argument; cleanup and comment the code.
615         (setCounter): adapt to above changes.
616
617 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * text3.C (dispatch): make debug message optional
620
621 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
622
623         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
624         inset. (bug 1963)
625
626 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
629
630 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
631
632         * text.C (insertChar):
633         * text2.C (deleteEmptyParagraphMechanism): take care whether 
634         a blank has been deleted (in change tracking mode) (bug 1254).
635
636 2005-07-20  John Levon  <levon@movementarian.org>
637
638         * text2.C (insertStringAsLines): remove old dubious code,
639         fixing bug 1939.
640
641 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * MenuBackend.C (expandToc): use Floating::listName() as title of
644         the floats submenus.
645
646 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
647
648         * toc.[Ch]: Do not use translatable strings (bug 1870).
649
650 2005-07-20  John Levon  <levon@movementarian.org>
651
652         * tabular.C: fix 1748 - setting multicolumn adds
653           left line to the first cell
654
655 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
656
657         bug 1920
658         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
659         pars in one go.
660
661 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
662
663         * messages.C: supress some lyxerr messages
664
665 2005-07-18  Juergen Vigna  <jug@lyx.org>
666
667         * text.C (drawSelection): honor boundary when asking for cursorX.
668
669 2005-07-17  José Matos  <jamatos@fc.up.pt>
670
671         * tabular.C (recalculateMulticolumns): fix handling of one column
672         tables.
673
674 2005-07-17  Juergen Vigna  <jug@lyx.org>
675
676         * text.C (Delete, backspace): fixed so that paragraph with the
677         same layout can be merged by Delete/Backspace.
678
679 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
680
681         * text.C (readParToken): fix spelling.
682
683 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
684
685         * text2.C: fix counter update for DEPM problem reported by
686         Georg Baum
687
688 2005-07-17  Juergen Vigna  <jug@lyx.org>
689
690         * BufferView_pimpl.C (setBuffer): save/restore the
691         cursor/selection when switching buffers
692
693         * buffer.h: 
694         * buffer.C (saveCursor): add saveDocumentIterators to save the
695         cursor when switching buffer.
696
697 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
698
699         * debug.C: fix typo
700         * buffer.C: clarify message
701         
702 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
703
704         * dociterator.C (DocIterator): fix initialization order
705
706 2005-07-17  Juergen Vigna  <jug@lyx.org>
707
708         * text2.C (cursorHome): 
709         * text.C (drawSelection, cursorX): 
710         * dociterator.C (textRow): add boundary to getRow() call
711
712         * paragraph.C (getRow): implementation of below
713
714         * paragraph.h: add parameter boundary for getRow() function
715
716 2005-07-17  José Matos  <jamatos@fc.up.pt>
717
718         * buffer.C:
719         * bufferparams.[Ch]:
720         * tex-strings.[Ch]: new file format, remove support for a4.sty,
721         a4wide.sty and a4widemargins.
722
723 2005-07-17  Juergen Vigna  <jug@lyx.org>
724
725         * text2.C (cursorLeft): fix one of error
726
727 2005-07-17  Juergen Vigna  <jug@lyx.org>
728
729         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
730                    cursorEnd):
731         more fixes for boundary handling
732
733         * text3.C (dispatch): don't reset cursor if boundary has changed
734         on cursor movement.
735
736 2005-07-16  Juergen Vigna  <jug@lyx.org>
737
738         * text2.C (getColumnNearX): hopefully got it right now,
739         check if we are on column 0 for special case.
740
741 2005-07-16  Juergen Vigna  <jug@lyx.org>
742
743         * text2.C (getColumnNearX): handle special case Newline Inset
744
745         * text.C (singleWidth): Just remove bogus check
746
747 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
748
749         * funcrequest.C (split): avoid reading uninitialized char c
750
751 2005-07-16  José Matos  <jamatos@fc.up.pt>
752
753         * buffer.C:
754         * converter.C:
755         * lyxrc.C:
756         * paper.h:
757         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
758         single papersize variable.
759
760 2005-07-16  Juergen Vigna  <jug@lyx.org>
761
762         * text3.C (dispatch): honor boundary when checking if a cursor
763         movement has been done
764
765         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
766         (setCursor, setCursorIntern): fix cursor movement with boundary
767
768 2005-07-16  Juergen Vigna  <jug@lyx.org>
769
770         * text.C (currentState): output the actual Boundary
771
772 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * factory.C (createInset): fix bad logic for tabular creation
775
776 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
777
778         * lyx_main.C (init): change some reLyX reference to tex2lyx
779
780 2005-07-16  Juergen Vigna  <jug@lyx.org>
781
782         * dociterator.C (DocIterator): initialize boundary
783
784 2005-07-16  Juergen Vigna  <jug@lyx.org>
785
786         * text2.C (getColumnNearX): Consider rows without trailing blank.  
787
788 2005-07-16  André Pönitz  <poenitz@gmx.net>
789
790         * lyxfont.h: Change order of declarations to give the compiler
791         a better chance to inline things
792
793         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
794         questions on unsaved docs for better scritability
795
796 2005-07-16  André Pönitz  <poenitz@gmx.net>
797
798         * paragraph.h (getChar): remove asserts as the same kind of security
799         can be achieved by using a suitable standard library implementation
800         and the function was in the critical path (25.9% in profiler)
801
802 2005-07-16  Juergen Vigna  <jug@lyx.org>
803
804         * cursor.C (bruteFind2):
805         * bufferview_funcs.C (coordOffset): 
806         * text.C (cursorX,cursorY): Handle cursor position after last char
807         in row before a inset which uses a whole row.
808
809 2005-07-15  José Matos <jamatos@lyx.org>
810
811         * output_plaintext.[Ch] (writeFileAscii): control reference title
812         printing.
813         (asciiParagraph): noparbreak was already deal and was incorrectly
814         used.
815
816 2005-07-15  Juergen Vigna <jug@lyx.org>
817
818         * lyxfunc.C (dispatch): save and restore the cursor after a
819         textclass switch.
820
821 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
822
823         * text.C (backspace): bug 806 for empty keepempty paragraphs we
824         change the layout to default before letting DEPM do its thing.
825
826         * paragraph_funcs.C (breakParagraph): dont reset the layout on
827         keepEmpty paragraphs
828
829         * text.C (setCursorFromCoordinates): add a debug statement
830
831         * text2.C (getColumnNearX): bug 1825 make sure that we don't
832         return a pos that is not on the row
833
834         * output_latex.C (TeXDeeper): get rid of potential dereferencing
835         of past the end iterator
836
837 2005-07-14  André Pönitz  <poenitz@gmx.net>
838
839         * undo.C (recordUndoFullBuffer): implement undo for
840         textclass switches
841
842 2005-07-14  André Pönitz  <poenitz@gmx.net>
843
844         * cursor.C (setSelection): open insets when selection is set there
845         to avoid crashs with cold coord cache
846
847 2005-07-14  André Pönitz  <poenitz@gmx.net>
848
849         * trans_mgr.C (insert): move cursor to the right after inserting
850         a char.
851
852 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
853
854         * BufferView_pimpl.C (update): dampen some of the debug blabbering
855         * factory.C (readInset): ditto
856         * text.C, text2.C: ditto
857
858 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * buffer.C: format incremented to 242. There is no file format per
861         se, but the "frenchb" language has been removed from lib/language
862         and has to be translated to "french" by lyx2lyx.
863
864 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
865
866         * cursor_slice.h, dociterator.h: add some documentation
867         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
868
869 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
870
871         * text.C (leftMargin): do not add identation to display() style
872         insets, because they are always centered (bug 1293).
873
874 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
875
876         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
877         formatted_time methods in support/lyxtime.
878
879 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
880
881         * toc.[Ch]: new method getGuiName, which is used by the frontends 
882         to set the toc combo (fixes bug 1870). Make TOC string translatable.
883
884 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
885
886         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
887         StableDocIterator const &)
888         * undo.C (recordUndo): use the above instead of cell.size() comparison
889         (fixes bug 1808; instructed by Andr�.
890
891 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
892
893         * cursor_slice.h: 
894         * dociterator.h: Fix the assert when copying rows/cols in math
895
896 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
897
898         * BufferView_pimpl.C:
899         * LyXAction.C:
900         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
901
902         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
903         (findInset): new functions, refactored from goto Inset that return 
904         the position of a certain inset without setting the buffer's cursor
905         (by Jean-Marc); 
906         (gotoInset): rewrite to call findInset and then set the cursor
907         (by Jean-Marc).
908
909 2005-06-16  Angus Leeming  <leeming@lyx.org>
910
911         * lyxrc.C (output, read): wrap all input and output of paths with
912         calls to os::internal_path and os::external_path, respectively.
913         (output): wrap bind_file inside quotes.
914
915         * format.C (view): enable the viewer to use the '$$s' placeholder.
916
917 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
918
919         * LColor.[Ch] (getFromLaTeXName): new
920
921 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
922
923         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
924
925 2005-06-14  Angus Leeming  <leeming@lyx.org>
926
927         * lyx_main.C (init): ensure that the LyX binary dir is the first
928         element in the PATH on non-POSIX builds.
929
930 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
931
932         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
933
934 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * rowpainter.C (paintInset, paintHebrewComposeChar)
937         (paintArabicComposeChar, paintChars): add a LyXFont argument.
938         (paintChars): use getFontSpan to reduce calls to getFont to a
939         minimum; use Paragraph::lookupChange instead of isXXXText.
940         (paintForeignMark): rename LyXFont argument.
941         (paintFromPos): pass a LyXFont object to the various paintXXX
942         methods.
943
944         * FontIterator.C (FontIterator, operator++): use
945         Paragraph::getFontSpan
946
947         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
948         version that returns the font span as a pair.
949
950 2005-06-09  Angus Leeming  <leeming@lyx.org>
951
952         * converter.C (convert): Don't forget "outfile = real_outfile" as
953         the final step in a conversion where the input and output file names
954         are the same. Otherwise, future conversion steps won't work...
955
956 2005-06-09  Angus Leeming  <leeming@lyx.org>
957
958         * lyxsocket.C: remove stub code as it isn't needed by
959         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
960
961 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
962
963         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
964         effectively disabled -x
965
966 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
967
968         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
969         when it actually makes sense.
970
971 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * BufferView_pimpl.C: revert to showCursor in connection with
974         Lars's front-end stack
975
976 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
977
978         * text.C (redoParagraph): move cursor right after a bibitem
979         has been inserted.
980
981         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
982
983 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * buffer_funcs.C (bufferErrors): fix computation of the end of an
986         error range.
987
988 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * BufferView.[Ch] (update):
991         * BufferView_pimpl.[Ch] (update, metrics):
992         * dimension.h (operator==):
993         * lyxfunc.C (dispatch):
994         * metricsinfo.h (ViewMetricsInfo):
995         * rowpainter.C (paintText):
996         * lyxtext.h:
997         * text.C (redoParagraph):
998         * text3.C (dispatch): Make LyX only repaint current paragraph in
999         case of character insert --> speedup. Also fix cursor draw
1000         artifacts
1001
1002 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1005         avoid a crash (bug 1891)
1006
1007 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1008
1009         Fix bug 1892:
1010
1011         * text2.C (getStringToIndex): constify cur argument.
1012
1013         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1014         argument has been given
1015         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1016         try to invoke LFUN_INSET_APPLY).
1017
1018         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1019         if no inset was created by doInsertInset
1020         (doInsertInset): return true if an inset has been inserted.
1021
1022 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * vspace.C (asGUIName): new method. A version of the space
1025         suitable for showing on screen.
1026
1027 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1028
1029         * MenuBackend.C:
1030         * lyxrc.C: rename "ASCII" to "Plain Text"
1031
1032 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1035         translate the labelstring.
1036         (setCounter): translate labelstring as needed.
1037
1038         * output_docbook.C (makeCommand): fix expandLabel invokation
1039
1040 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1041
1042         * BufferView.C: fix dialog title
1043
1044 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1045
1046         * lyx_main.C (priv_exec): fix logic error with help from Angus
1047         * lyx_main.C (parse_execute): set is_gui = false and remove now
1048         obsolete comment about a segfault
1049
1050 2005-05-18  Angus Leeming  <leeming@lyx.org>
1051
1052         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1053
1054 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1055
1056         * tabular.[hC]: added setCellInset to fix tabular paste.
1057
1058 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1059
1060         * buffer.C (save): check if destination is writable before trying
1061         to copy a file
1062
1063 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1064
1065         * BufferView_pimpl.C (update): fix processEvents -caused update
1066         recursion bug
1067
1068 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * buffer_funcs.C (setCounter): fix test for numbering of
1071         environments.
1072
1073         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1074         depth correctly; use optional argument when it exists
1075
1076         * lyxtextclass.C: remove unused MaxCounterTags enum
1077         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1078         (max_toclevel, min_toclevel): new methods.
1079
1080         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1081         the smallest depth in toc.
1082
1083         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1084         layouts that should not appear in a table of contents.
1085
1086 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1087
1088         * cursor.h (undispatched, noUpdate): add comments from Andr�
1089 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1090
1091         * lfuns.h:
1092         * LyXAction.C:
1093         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1094
1095 2005-05-07  André Pönitz  <poenitz@gmx.net>
1096
1097         * cursor.[Ch] (leaveInset): new function
1098
1099 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1100
1101         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1102
1103 2005-05-04  Angus Leeming  <leeming@lyx.org>
1104
1105         * lyxfunc.C (getStatus): disable the spell checker dialog if
1106         none of USE_[AIP]SPELL are defined.
1107
1108 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * tabular.C (setWidthOfCell): remove obsolete comment
1111
1112 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1113
1114         * paragraph.C (bibitem):
1115         * buffer_funcs.C (setCounter):
1116         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1117
1118 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1119
1120         * text3.C (getStatus): immediately return after setOnOff
1121
1122         * rowpainter.C: fix drawing of appendix start
1123
1124 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1125
1126         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1127         SwitchBetweenClasses and remove the unused return value.
1128         Handle character styles, too
1129
1130 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * factory.C (createInset): handle undefined character styles
1133
1134 2005-05-02  Angus Leeming  <leeming@lyx.org>
1135
1136         * buffer.C: protect the #include of utime.h with a preprocessor
1137         guard.
1138
1139 2005-05-02  Angus Leeming  <leeming@lyx.org>
1140
1141         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1142         function so that auto-saving works, albeit in a blocking manner.
1143
1144         * Makefile.am: make compilation of the client sub directory, of
1145         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1146         on conditionals set at configure time.
1147
1148         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1149         it can be compiled in its own right but has no-op functionality.
1150
1151         * aspell.C, pspell.C: remove preprocessor guards. The files should
1152         be compiled only if the necessary functionality exists.
1153
1154         * lyxserver.C, lyxsocket.C: disable on Windows.
1155
1156 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1157
1158         * text.C (leftMargin): Fix the parindent use bug (1764)
1159         by dirty trick
1160
1161 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1162
1163         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1164         argument.
1165
1166 2005-04-25  Angus Leeming  <leeming@lyx.org>
1167
1168         * Bidi.[Ch]:
1169         * coordcache.[Ch]:
1170         * ispell.C:
1171         * lyxserver.C:
1172         * mover.C:
1173         * pch.h:
1174         include <config.h> in .C files, not .h ones.
1175         add licence blurb.
1176         protect headers inside preprocessor guards.
1177
1178 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1179
1180         * FuncStatus.h (StatusCodes): document
1181
1182 2005-04-21  André Pönitz  <poenitz@gmx.net>
1183
1184         * FuncStatus.h (enabled, onoff): document
1185
1186 2005-04-19  Angus Leeming  <leeming@lyx.org>
1187
1188         * BufferView_pimpl.C (cursorToggle): no longer test whether
1189         any child processes have been reaped before calling
1190         handleCompletedProcesses().
1191
1192 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * text3.C (dispatch): fix, finally fix, the language problem in
1195         new lyxtexts, without disabling on-the-fly font changes (Helge's
1196         bug report)
1197
1198 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * text3.C (dispatch): set cursor on double/triple click events
1201         (bug 1811)
1202
1203 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1204
1205         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1206         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1207
1208         * rowpainter.C (paintFirst): simplify the code a little bit. In
1209         particular, remove the test for secnumdepth.
1210         * text.C (setHeightOfRow): only allocate space for chapter number
1211         when updateCounters provided an actual label, instead of looking
1212         at secnumdepth directly.
1213
1214         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1215
1216         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1217         paragraphs when secnumdepth is large enough or, for environments,
1218         when they are not the first in a sequence.
1219
1220 2005-04-17  Angus Leeming  <leeming@lyx.org>
1221
1222         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1223         containing space and '~' characters with a call to latex_path().
1224
1225 2005-04-17  Angus Leeming  <leeming@lyx.org>
1226
1227         * converter.C (convert): protect all args of convertDefault.sh
1228         script with quotes.
1229
1230 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * text3.C (dispatch): change the layout to "Caption" after inserting
1233         a float.
1234
1235 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1236
1237         * text3.C (dispatch): fix language problem in newly created
1238         textinsets (and main text) in non-english docs
1239
1240 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1241
1242         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1243         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1244         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1245
1246 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1247
1248         * lyxtext.h:
1249         * text.C (metrics):
1250         * text2.C (getFont):
1251         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1252         fonts fix
1253
1254 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1255
1256         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1257         output of \item arguments without trailing text.
1258
1259 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * FontIterator.C (operator*): avoid a copy of the font.
1262
1263 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1264
1265         * rowpainter.C (getFont): fix language bug from previous fix
1266
1267 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1268
1269         * rowpainter.C (RowPainter, getFont): fix font inside inset
1270         (bugs 1766, 1809)
1271
1272 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1275         preventing inserted font, deco, delim insets jumping to start of
1276         surrounding inset.
1277
1278 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * lyxfunc.C (dispatch): translate message before sending it to the
1281         minibuffer.
1282
1283 2005-03-29  Angus Leeming  <leeming@lyx.org>
1284
1285         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1286         to LyX on the command line.
1287
1288 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1289
1290         * vc-backend.C: use QuoteName to protect file names wherever
1291         necessary.
1292
1293 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1294
1295         * buffer.[Ch]:
1296         * BranchList.h: fix bugs 1844,1845: document settings don't
1297         stick
1298
1299 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * lyxrc.C (setDefaults, read, output, getDescription): add support
1302         for tex_allows_spaces.
1303
1304         * exporter.C (Export): allows files in directory containing spaces
1305         if tex_allows_spaces is true.
1306
1307         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1308         output it in double quotes.
1309
1310 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1311
1312         * rowpainter.C: use default text height for drawing change tracker
1313         strikeout lines.
1314
1315 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1316
1317         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1318
1319 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1322         directory is missing.
1323
1324 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * text2.C: fixed the fix, extended to other case.
1327
1328 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1329
1330         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1331
1332 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1333
1334         * text2.C (cursorUp): get rid of a crash
1335         * text.C (x2pos): add an assert
1336
1337 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1338
1339         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1340
1341         * text3.C:
1342         * lyxfunc.C:
1343         * dociterator.C: include <boost/current_function.hpp>, which is
1344         needed when assertions are disabled.
1345
1346 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1347
1348         * text2.C: fix for stuck cursor when traversing two
1349         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1350
1351 2005-02-25  Andreas Vox  <avox@arcor.de>
1352
1353         * output_docbook.C (makeParagraph): suppress trailing newline
1354         after a run of paragraphs
1355
1356 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1357
1358         * paragraph.C: fix for confused change tracker when pasting
1359         text that begins with a lineseparator. [bug 1827]
1360         (setChange(0, Change::INSERTED);)
1361
1362         * paragraph_funcs.C: fix for lost changes on triple-paste
1363         in change tracking mode [bug 1827] (par.setChange()).
1364
1365 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * text2.C (updateCounters, setCounter, expandLabel): move to
1368         buffer_funcs.
1369
1370         * buffer_funcs.C (updateCounters): turn into a free standing
1371         function and add a buffer parameter. Remove dead code for tracking
1372         labelstring change.
1373         (setCounter): change into a free-standing function which gets a
1374         dociterator as argument. Use this iterator to fix captions in a
1375         simple way. When no float is found above the caption, use the
1376         labelstring of the caption layout as default.
1377
1378         * text.C (breakParagraph, backspace):
1379         * text2.C (init, setLayout, changeDepth):
1380         * text3.C (dispatch):
1381         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1382         updateCounters.
1383
1384         * dociterator.C (forwardPar): make it much faster by calling
1385         forwardPos() only when really necessary.
1386
1387         * output_docbook.C (makeCommand): adapt to expandLabel move.
1388
1389         * cursor.C: remove unused variable
1390
1391 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1392
1393         * paragraph_funcs.C: fix crash when pasting insets in change
1394         tracking mode [bug 1277] (honour change type in moveItem).
1395
1396 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1397
1398         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1399
1400 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1401
1402         * BufferView.C (setCursor): change to use a DocIterator.
1403         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1404         (putSelectionAt): adapt to BufferView::setCursor change.
1405
1406         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1407         moved here from LyXText and rewritten to use proper cursor
1408         methods. Fixes bug 1787, 616 and 835.
1409
1410         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1411         when inside an inset (part of bug 781).
1412         (dispatch): adapt to change of BufferView::setCursor.
1413         (getStatus, dispatch): handle LFUN_GOTOERROR,
1414         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1415
1416         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1417         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1418         * text3.C (gotoNextInset, gotoInset): removed.
1419
1420 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1423
1424 2005-02-15  Angus Leeming  <leeming@lyx.org>
1425
1426         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1427         can be used meaningfully in a comparison.
1428
1429 2005-02-13  André Pönitz  <poenitz@gmx.net>
1430
1431         * bufferview_funcs.C (coordOffset): improve cursor drawing
1432
1433 2005-02-13  André Pönitz  <poenitz@gmx.net>
1434
1435         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1436         * Cursor.C (dispatch): use fixIfBroken
1437         * lyxfunc.C (getStatus): use fixIfBroken
1438
1439 2005-02-15  Angus Leeming  <leeming@lyx.org>
1440
1441         * lyx_main.C (error_handler):
1442         * lyxfunc.C:
1443         * lyxrc.C (setDefaults):
1444         s/GetEnv/getEnv/.
1445         #include "environment.h".
1446
1447         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1448
1449 2005-02-15  Angus Leeming  <leeming@lyx.org>
1450
1451         * lyxserver.C (startPipe): squash MSVC warning "local variable
1452         'fd' used without having been initialized".
1453
1454 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1455
1456         * BufferView_pimpl.C: revert accidental commit.
1457
1458 2005-02-14  André Pönitz  <poenitz@gmx.net>
1459
1460         * dociterator.[Ch]: new member forwardPosNoDescent(),
1461         which doesn't enter nested insets.
1462         * text2.C (setFont): use forwardPosNoDescent() instead
1463         of ForwardPos() (fixes crash on font change).
1464
1465 2005-02-13  Angus Leeming  <leeming@lyx.org>
1466
1467         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1468         only if lyxrc.path_prefix is not empty.
1469
1470 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1471
1472         * bufferparams.C (readGraphicsDriver): prevent crash
1473
1474 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1475
1476         * text2.C (setCounter): check for inInset() == 0
1477
1478 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1481         but use update() to get correct screen display; use convert
1482         instead of istringstream.
1483         (getStatus): handle LFUN_GOTO_PARAGRAPH
1484
1485         * lyxfunc.C (dispatch, getStatus): do not handle
1486         LFUN_GOTO_PARAGRAPH here.
1487
1488 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * text3.C (dispatch): size() -> depth()
1491
1492         * text2.C: remove some debug output
1493
1494         * paragraph.C: ws changes only
1495
1496         * lyxfunc.C (getStatus): size() -> depth()
1497
1498         * dociterator.h (clear, push_back, pop_back, internalData,
1499         operator[], resize, empty): new functions
1500         Make StableDocIterator and operator== be friends. Don't inherit
1501         from std::vector use a privat class variable slices_ instead.
1502         Modify to fit.
1503
1504         * dociterator.C: update because of not inheriting from std::vector
1505         anymore. Call explictly to slices_ instead. Use depth() instead of
1506         size() and top() instead of back()
1507
1508         * cursor.C: chagne size() -> depth and back() -> top(). Also
1509         remove some direct operator[](i) calls in favour of foo[i]
1510         (getFont): remove some dead code
1511
1512         * bufferview_funcs.C (coordOffset): size() -> depth()
1513
1514         * buffer.C: ws changes only
1515
1516         * CutAndPaste.C (eraseSelection): back() -> top()
1517
1518         * BufferView_pimpl.C (selectionRequested): back() -> top()
1519
1520         * BufferView.C (setCursor): size() -> depth()
1521
1522 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1523
1524         * text3.C (cursorPrevious): return true if depm changed something
1525         (cursorNext): ditto
1526         (dispatch): rename sl to oldTopSlice, remove moving use the new
1527         NoUpdate func attrib instead. Make sure that needsUpdate is set
1528         for function that have NoUpdate, but where depm might have changed
1529         the buffer anyway.
1530
1531         * text2.C (cursorLeft): make us return true if depm changed
1532         something
1533         (cursorRight): ditto
1534         (cursorUpParagraph): ditto
1535         (curosrDownParagraph): ditto
1536         (cursorUp, cursorDown): ditto, make sure to read comments in code
1537         (deleteEmptyParagraphMechanism): remove an assert, also return
1538         true if just a single char was deleted.
1539
1540         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1541         cursor that we modify, to avoid modifying an active cursor before
1542         we call setCursor. This allows depm to run. Also return true if
1543         depm deleted something.
1544
1545         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1546         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1547         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1548         something was changed in the buffer because of them (ie. depm run)
1549
1550         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1551         debug messages. Make update by default be false. Make sure that
1552         the result of update is retained throught several calls down to
1553         dispatch.
1554
1555         * LyXAction.h: add a new func_attrib: NoUpdate
1556
1557         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1558         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1559         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1560         and LFUN_WORDLEFT
1561         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1562
1563 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1564
1565         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1566         bv_->owner(), bv_->buffer() by direct references to the private
1567         members.
1568         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1569         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1570         (fitCursor): center() is in BufferView::Pimpl.
1571         (getStatus, trackChanges, dispatch): no need for a temporary buf
1572         variable
1573         (fitCursor, workAreaDispatch): use workarea().workheight()
1574
1575 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1576
1577         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1578
1579 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1580
1581         * buffer.C: format up to 241.
1582         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1583         break if pasting into ERT
1584         * lyxfunc.C (getStatus): suppress mathpanel and
1585         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1586
1587 2005-02-01  Angus Leeming  <leeming@lyx.org>
1588
1589         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1590
1591 2005-02-01  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1594         calling fs::is_directory().
1595
1596 2005-01-31  Angus Leeming  <leeming@lyx.org>
1597
1598         * lyx_main.C (priv_exec): specify explicitly the relative location
1599         of the top level build directory when run in-place.
1600
1601 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1604         LyXText containing the cursor, not the top-level one.
1605
1606         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1607         true.
1608         (insertStringAsLines): rename par to pit; use temporary variable
1609         par to hold a Paragraph; do not store par.layout() in a variable,
1610         since the pointer may die when breaking paragraphs; pass pars to
1611         breakParagraph() instead of Buffer::paragraphs().
1612
1613 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1614
1615         * lyxlex_pimpl.h: #include <fstream>.
1616
1617         * BufferView.[Ch] (getLyXText): add a const version.
1618
1619         * BufferView_pimpl.C: add debug aids.
1620
1621         * RowList_fwd.h:
1622         * buffer.h:
1623         * lyxrow.h:
1624         * paragraph_funcs.h: add commentary explaining what the class does.
1625
1626
1627         * coordcache.[Ch]: add lots of commentary.
1628         (startUpdating, doneUpdating): debug aids.
1629         (arrays, insets, parPos, getParPos): accessors to private data.
1630
1631         * cursor_slice.[Ch] (text): add a const version.
1632         * dociterator.[Ch] (text, innerText): add const versions.
1633
1634         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1635         bool.
1636
1637         * paragraph.C (getRow, pos2ros): add asserts.
1638
1639         * paragraph.h: add commentary. Lots of.
1640
1641         * paragraph.[Ch] (metrucs, draw): removed.
1642
1643         * cursor.C:
1644         * rowpainter.[Ch]: const-correct changes.
1645
1646         * text.C: various obvious clean-ups. Removal of ancient cruft.
1647         Bug fixes, even.
1648
1649 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1650
1651         * vc-backend.C (find_file): rewrite to use boost.filesystem
1652         (scanMaster): ditto
1653
1654         * main.C (main): set default name check for boost.filesystem to
1655         no check
1656
1657         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1658         (open): ditto
1659         (doImport): ditto
1660         (actOnUpdatedPrefs): ditto
1661
1662         * lyx_main.C (init): rewrite to use boost.filesystem
1663         (queryUserLyXDir): ditto
1664
1665         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1666         (getContentsOfAsciiFile): ditto
1667
1668         * lastfiles.C (readFile): rewrite to use boost.filesystem
1669
1670         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1671
1672         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1673         (loadLyXFile): ditto
1674
1675         * buffer.C (Buffer): adjust for destroydir
1676         (getLogName): rewrite to use boost.filesystem
1677         (setFileName): ditto
1678         (save): use fs::copy_file (from fs_extras)
1679
1680         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1681
1682         * LaTeX.C (run): rewrite to use boost.filesystem
1683         (scanAuxFiles): ditto
1684         (handleFoundFile): ditto
1685
1686 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1687
1688         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1689
1690         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1691
1692 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1693
1694         * lyxlayout.[Ch]: change some vars from float to double
1695
1696         * buffer.C (readFile): make a local var const
1697
1698         * Several files: use convert<> instead of atoi,strToXXX and friends
1699
1700 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1701
1702         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1703         holds the contents of packages.lst. New functions getAvailable
1704         and isAvailable to parse and check that list, resp.
1705
1706         * LyXAction.C:
1707         * lfuns.h:
1708         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1709
1710         * bufferparams.[Ch]: new param output_changes.
1711
1712         * Buffer.C: increase file format to 240.
1713         Use output_changes and isVailable.
1714
1715         * changes.[Ch]:
1716         * paragraph.C:
1717         * paragraph_pimpl.C: Use output_changes and isVailable.
1718
1719 2005-01-23  Angus Leeming  <leeming@lyx.org>
1720
1721         * output_latex.C: #include "insetbibitem.h", rather than
1722         forward declare function bibitemWidest.
1723
1724 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1725
1726         * lyx_main.C (init): make it compile on the Mac.
1727
1728 2005-01-20  Angus Leeming  <leeming@lyx.org>
1729
1730         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1731         (setLyXMisc): (char string literal) != (char string literal) is
1732         performing a comparison on the addresses. Convert one operand
1733         explicitly to string to guarantee expected behaviour.
1734         From MSVC warning.
1735
1736 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1737
1738         * buffer.C:
1739         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1740
1741         * output_plaintext.C: remove unneeded #include gzstream.h.
1742
1743 2005-01-20  Angus Leeming  <leeming@lyx.org>
1744
1745         * SpellBase.h: rename some of the elements of the Result enum.
1746
1747         * aspell_local.h:
1748         * ispell.h:
1749         * pspell.h:
1750         * aspell.C (check):
1751         * ispell.C (check):
1752         * pspell.C (check): ditto
1753
1754 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1755
1756         * buffer.C: add #include <fstream>.
1757
1758         * lyx_main.C (init): Compile fix.
1759
1760         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1761
1762 2005-01-20  Angus Leeming  <leeming@lyx.org>
1763
1764         * mover.h: change commentary to reflect the changed meaning of
1765         the $$s placeholder.
1766
1767 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1768
1769         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1770
1771         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1772
1773 2005-01-20  Angus Leeming  <leeming@lyx.org>
1774
1775         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1776         printing diagnostic data by not dereferecing an iterator past the
1777         end.
1778
1779 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1780
1781         * buffer.C (readHeader): use "&&" rather than "and".
1782
1783         * lyxserver.h (inPipeName, outPipeName): make these const.
1784
1785 2005-01-19  Angus Leeming  <leeming@lyx.org>
1786
1787         * lyx_main.C (error_handler, init): protect SIGHUP with
1788         #ifdef SIGHUP guards.
1789
1790 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1793
1794 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1795
1796         * text.C (setHeightOfRow): add a margin at the top and bottom of
1797         the document (bug 1761)
1798
1799 2005-01-17  Angus Leeming  <leeming@lyx.org>
1800
1801         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1802         with "python ". Workaround for a brain-dead Windows.
1803
1804 2005-01-16  Angus Leeming  <leeming@lyx.org>
1805
1806         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1807         for MacOSX and Windows to use prependEnvPath.
1808         Strip out the hard-coded block to add elements to the PATH for
1809         MacOSX and replace it with a call to prependEnvPath using the
1810         contents of LyXRC::path_prefix.
1811         (queryUserLyXDir): strip out the code to run reconfigure, instead
1812         returning a boolean indicating the necessity to do so.
1813         (reconfigureUserLyXDir): contains the code to reconfigure the
1814         user support directory. Is now called after the various LyXRC data
1815         files have been read.
1816
1817         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1818
1819 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1820
1821         * converter.[Ch] (convert): take a new parameter try_default. Use
1822         a default converter (imagemagick) if try_default is true.
1823
1824 2005-01-13  Angus Leeming  <leeming@lyx.org>
1825
1826         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1827         os::cygwin_path_fix.
1828         (write): output LyXRC::cygwin_path_fix as necessary.
1829
1830 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1831
1832         * lyxrc.h:
1833         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1834
1835 2005-01-12  Angus Leeming  <leeming@lyx.org>
1836
1837         * lyx_main.C (init): set the PATH variable to include the
1838         directory containing the LyX binary when running on Mac or Windows.
1839
1840 2005-01-12  Angus Leeming  <leeming@lyx.org>
1841
1842         * lyx_main.C (init): remove cruft that purports to set the locale
1843         dir. It doesn't and is not needed anyway.
1844
1845 2005-01-10  Angus Leeming  <leeming@lyx.org>
1846
1847         * Makefile.am: remove the lyx_main.C special casing.
1848
1849         * BufferView_pimpl.C:
1850         * bufferlist.C:
1851         * exporter.C:
1852         * lyx_cb.C:
1853         * lyx_main.C:
1854         * lyxfunc.C:
1855         * messages.C: use support/package.h to provide the paths to the
1856         various directories used by LyX.
1857
1858 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1859
1860         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1861         layout if pasting into an empty paragraph)
1862
1863 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1864
1865         * tex-accent.C: add <string>
1866
1867 2005-01-06  José Matos  <jamatos@lyx.org>
1868
1869         * ParagraphParameters.C (write): put every parameter in its own line.
1870         * paragraph.C (write): reduce number of consecutive empty lines exported.
1871         * buffer.C (LYX_FORMAT): increase file format to 239.
1872
1873 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * everywhere: change support/tostr.h -> support/convert.h
1876
1877         * tabular.C: make all write_attributes templates, tostr -> convert
1878
1879         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1880         (emptyTag): and -> &&, and fix type for ret from getChar
1881         (getFirstWord): fix type for ret from getChar
1882         (onlyText): and -> &&
1883         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1884         getChar
1885
1886         * toc.C (goTo, action):
1887         * text3.C (dispatch):
1888         * text.C (currentState):
1889         * tex-accent.C (DoAccent):
1890         * sgml.C:
1891         * lyxrc.C:
1892         * lyxfunc.C (menuNew):
1893         * lyxfinc.C (replace):
1894         * counters.C (laberItem):
1895         * bufferview_funcs.C (font2string):
1896         * bufferparams.C (writeFile):
1897         * buffer.C (readFile):
1898         * Spacing.C (set):
1899         * MenuBackend.C: tostr -> convert
1900
1901         * LaTeX.C (runMessage): fix format
1902         (scanAuxFiles): tostr -> convert
1903
1904         * BufferView_pimpl.C (savePosition): fix format
1905         (restorePosition): ditto
1906         (dispatch): ditto
1907
1908 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1909
1910         * Spacing.[Ch]: New method getValueAsString().
1911
1912         * Spacing.[Ch]:
1913         * bufferparams.C:
1914         * ParagraphParameters.C:
1915         * lyxlayout.C:
1916         * text.C:
1917         * text3.C: store/read spacing value as string.
1918
1919         * rowpainter.C: change float value (spacing_val) to double.
1920
1921         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1922         broken custom document spacing).
1923
1924 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1925
1926         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1927         namespace, also more use of temp references and const
1928
1929         * cursor.[Ch] (getStatus): move to lyxfunc.C
1930
1931         * bufferparams.C: reformat slightly
1932
1933         * bufferview_funcs.C (font2string): constify arg
1934
1935         * changes.C:
1936         * converter.C:
1937         * counters.C:
1938         * bufferlist.C:
1939         * buffer_funcs.C: (many funcs): constify arg on function
1940         definitions, also make more local vars const, also add ASSERTS on
1941         pointer args.
1942
1943         * buffer.C (LYX_FORMAT): put const in correct place
1944         (many funcs): constify arg on function definitions, also make
1945         more local vars const
1946
1947         * aspell_local.h: remove "struct" from typdef setup
1948
1949         * aspell.C (check): make word_ok const
1950         (nextMiss): simplify slightly
1951         (error): ditto
1952
1953 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1954
1955         * lyxrc.[Ch]: store all float values as strings.
1956         use int (not float) for lyxrc.dpi.
1957
1958 2005-01-04  Angus Leeming  <leeming@lyx.org>
1959
1960         * lyx_cb.C (Reconfigure):
1961         * lyx_main.C (queryUserLyXDir):
1962         to run the <system_lyxdir>/configure correctly on Windows, prefix
1963         the path to the script with "sh " when generating the string that
1964         is passed to system().
1965
1966 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1967
1968         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1969
1970 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * lyxlength.C (asLatexString): get rid of setprecision
1973
1974 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * text2.C (setLayout): remove unused variable endpit.
1977         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1978
1979         * paragraph.C (onlyText): remove unused variable style.
1980
1981         * cursor.C (bruteFind): remove unused variables beg and end.
1982
1983         * Makefile.am (dist_noinset_DATA): not needed anymore
1984
1985         * cheaders/*: remove.
1986
1987 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1988
1989         * text3.C: fix LFUN_MATH_MODE.
1990
1991 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1992
1993         * buffer_funcs.C (countWords): new function. Counts words between
1994         two iterators.
1995
1996         * BufferView_pimpl.C (getStatus, dispatch): handle
1997         LFUN_WORDS_COUNT.
1998
1999         * LyXAction.C (init):
2000         * lfuns.h: add LFUN_WORDS_COUNT.
2001
2002 2004-12-19  Angus Leeming  <leeming@lyx.org>
2003
2004         * buffer.C (save): s/slashify_path/internal_path/.
2005
2006 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2007
2008         * lyxfind.C (findChange): do not search for end of pars, because
2009         the change tracker cannot handle this (fixes bug 1719).
2010
2011 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * paragraph.[Ch] (autoBreakRows): remove
2014
2015         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2016
2017         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2018         avoid using the paragraph one
2019
2020         * text2.C (LyXText, insertStringAsLines): adjust
2021
2022 2004-12-16  Angus Leeming  <leeming@lyx.org>
2023
2024         * bufferlist.C:
2025         * lyx_main.C:
2026         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2027
2028 2004-12-14  Angus Leeming  <leeming@lyx.org>
2029
2030         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2031
2032         * bufferlist.C (emergencyWrite):
2033         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2034         GetEnvPath("HOME").
2035
2036 2004-12-14  Angus Leeming  <leeming@lyx.org>
2037
2038         * main.C: (main): no longer pass pointers to os::init.
2039
2040 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2041
2042         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2043         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2044
2045 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2046
2047         * lyxfunc.C:
2048         * text3.C: remove selection_possible global flag
2049
2050 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * text2.C (getSelectionSpan): remove
2053         (changeDepth, changeDepthAllowed): adjust
2054
2055 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2056
2057         * Makefile.am (BOOST_LIBS): use boost variables
2058
2059 2004-12-03  José Matos  <jamatos@lyx.org>
2060
2061         * buffer.C: format up to 238.
2062
2063 2004-12-03  José Matos  <jamatos@lyx.org>
2064
2065         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2066
2067 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * cursor.C (goUpDown): remove call to idxUpDown2
2070
2071 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2072
2073         * tabular.[Ch]: use size_t-like types for cell, row and column
2074         indices
2075
2076 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2077
2078         * lyxfunc.C (getStatus): do not lose previous information when
2079         calling BufferView::getStatus; do not set a default "Command
2080         disabled" message at the beginning, but just before returning.
2081
2082 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2083
2084         * cursor.h (getStatus): add better comment from src/cursor.C
2085
2086 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * text3.C (getStatus): return false when the lfun is not handled
2089
2090 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * broken_headers.h: remove
2093
2094         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2095
2096 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2099         offset_ref accessors
2100
2101         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2102         top_y_, merge fitcursor with update
2103         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2104         coord scheme
2105         (metrics): introduce
2106         (workAreaDispatch): adapt to new coord scheme
2107         (redoCurrentBuffer): remove
2108
2109         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2110
2111         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2112         CurStatus enum.
2113
2114         * coordcache.[Ch]: add paragraph cache and helpers
2115
2116         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2117         adjust everywhere
2118
2119         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2120         (targetX, setTargetX): introduce
2121
2122         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2123         baseline -> ascent, as the rest of lyx
2124
2125         * lyxtext.h: remove redoParagraphs, updateParPositions,
2126         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2127         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2128         have ascent/descent (ascent is ascent of first par)
2129
2130         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2131         step of BufferView
2132
2133         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2134
2135         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2136
2137         * pariterator.C: fix infinite loop introduced in par->pit renaming
2138
2139         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2140         in insets and LyXText, draw two off-screen paragraphs using
2141         NullPainter, and adapt to new coord scheme
2142
2143         * text.C:
2144         * text2.C:
2145         * text3.C: adapt lfun handlers to the new coord scheme, which
2146         means: there's only guaranteed coord information for onscreen pars
2147         plus one above and one below. This implies that one can do search
2148         from y coordinates in the range [-1,workHeight]
2149
2150 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * rename a lot of InsetOld to InsetBase
2153
2154 2004-11-25  Angus Leeming  <leeming@lyx.org>
2155
2156         * BufferView_pimpl.C:
2157         * lyx_cb.C:
2158         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2159
2160 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2161
2162         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2163         call BufferView::getStatus if LCursor::getStatus did nothing
2164         (setStatusMessage, getStatusMessage): removed.
2165
2166         * FuncStatus.C (message): new methods. Used to provide an error
2167         message indicating why a command is disabled.
2168         (clear, |=, FuncStatus): update for message.
2169
2170 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2171
2172         * lyxfunc.C (dispatch): always call sendDispatchMessage
2173
2174 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2175
2176         * BufferView.C:
2177         * BufferView_pimpl.C:
2178         * CutAndPaste.C:
2179         * FontIterator.C:
2180         * buffer.C:
2181         * cursor.C:
2182         * cursor_slice.[Ch]:
2183         * dociterator.[Ch]:
2184         * lyxfind.C:
2185         * paragraph_funcs.C:
2186         * pariterator.C:
2187         * rowpainter.C:
2188         * text.C:
2189         * text2.C:
2190         * text3.C:
2191         * undo.C: par->pit renaming
2192
2193 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2194
2195         * tabular.C (cellstruct): use initialization, store a shared_ptr
2196         to insettext instead of the insettext directly, adjust to fit.
2197         (operator=):  new function
2198         (swap): new function
2199         (rowstruct): use initialization
2200         (columnstruct): use initialization
2201         (ltType): use initialization
2202
2203
2204         * lyxlength.h (swap): new function
2205
2206         * LColor.[Ch] (operator=): use the common semantics
2207
2208 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2209
2210         * lyxfind.C (findNextChange): update the bufferview after setting
2211         the selection.
2212
2213 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2214
2215         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2216         number of InsetOptArgs has already been inserted.
2217
2218         * output_latex.C (latexOptArgInsets): new method. This outputs all
2219         the optarg insets, up to the limit defined in the layout file.
2220         (optArgInset): removed
2221         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2222
2223 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * paragraph.C (isLetter): remove special spellchecker-related
2226         code; return true also for digits
2227         (isWord, isKomma): remove
2228
2229         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2230         * lyxfind.C (MatchString()): use isLetter instead of isWord
2231
2232 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * pariterator.h (operatir=): comment out un-implemented member
2235         function.
2236
2237         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2238         static cast.
2239
2240 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * lyxfont.h: include LColor.h to satisfy concept checks.
2243
2244 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * pariterator.h: add typdefs for value_type, difference_type,
2247         pointer and reference to satisfy concept checks. Also add default
2248         constructor for same reason.
2249
2250         * pariterator.C (operator++): add post-increment operator to
2251         satisfy concept checks.
2252
2253         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2254         checks.
2255
2256         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2257
2258         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2259         checks. Also rename base_type to BaseType to follow naming
2260         standard better.
2261
2262         * FloatList.h: include Floating.h to satisfy concept checks.
2263
2264 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * lyxfunc.C (getStatus): when the origin of the request is menu or
2267         toolbar, and the LyXView does not have focus, do as if there was
2268         no buffer (bug 1720)
2269
2270         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2271         FuncRequest to individual entries of LFUN_SEQUENCE
2272
2273 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * output_latex.C (TeXOnePar): override runparams.moving_arg
2276         according to the needprotect value of the current paragraph (bug
2277         1739)
2278
2279         * paragraph.C (simpleTeXOnePar): no need to override
2280         runparams.moving_args here
2281
2282 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2283
2284         * vspace.C: fix off-by-one-error, related to fix #1682
2285
2286 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2287
2288         * lengthcommon.C: a more general fix for bug 1682
2289
2290 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2291
2292         * text.C (backspace): fix crash
2293
2294 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2295
2296         * format.[Ch] (getFormatFromFile): new method
2297         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2298
2299 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2300
2301         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2302
2303 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2304
2305         * lyxfunc.C (dispatch): remove the verbose argument
2306         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2307         instead
2308
2309         * kbmap.C (defkey): set the origin of func to KEYBOARD
2310
2311         * MenuBackend.C (MenuItem):
2312         * ToolbarBackend.C (add): set the origin of func to UI
2313
2314         * funcrequest.[Ch]: add origin member, which indicates which part
2315         of LyX requests an action
2316
2317 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2318
2319         * converter.C (move): don't lie in the error message
2320         * converter.h (isReachable, move): document
2321
2322 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2323
2324         * buffer.C: remove unused using lyx::support::atoi
2325         * paragraph_funcs.C: ditto
2326
2327 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * bufferlist.C (exists): use bind and equal_to instead of
2330         compare_memfun
2331         (getBuffer): ditto
2332         * lyxtextclasslist.C (NumberOfClass): ditto
2333
2334         * cursor.C (insert): use for_each instead of explicit for loop
2335
2336         * bufferlist.C (getFileNames): use std::transform and
2337         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2338
2339         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2340         for loop
2341
2342         * buffer.C (changeLanguage): use for_each instead of explicit for
2343         loop
2344         (hasParWithID): implement using getParFromID
2345
2346         * LaTeXFeatures.C: ws change only
2347
2348         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2349         to cleanup a bit.
2350
2351         * BufferView_pimpl.C (trackChanges): use for_each instead of
2352         expilicit for loop
2353
2354 2004-11-04  André Pönitz  <poenitz@gmx.net>
2355
2356         * undo.h:
2357         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2358
2359         * dociterator.C (asDocIterator): use hard assert again.
2360
2361 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2362
2363         * lyxlength.C (asLatexString): rewrite so that it does not use
2364         snprintf anymore
2365
2366 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2367
2368         * text3.C (specialChar, dispatch): make sure cursor moves to the
2369         right after inserting an inset
2370
2371 2004-11-02  José Matos  <jamatos@lyx.org>
2372
2373         * output_docbook.C (docbook):
2374         * paragraph.C (getID):
2375         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2376         garantee that the output is always legal.
2377
2378         * tabular.C (docbook):
2379         * outputprams.[Ch]: remove mixed contents.
2380
2381 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2382
2383         * text2.C (setCounter): prevent endless loop
2384
2385 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2386
2387         * exporter.C (copyFile): use the mover instead of support::copy()
2388         * exporter.C (Export): pass format and latex name to copyFile()
2389         * exporter.h (addExternalFile): document
2390         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2391
2392 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2393
2394         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2395
2396 2004-10-30  José Matos  <jamatos@lyx.org>
2397
2398         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2399         text and no inset or font change. This allows to use CDATA
2400         sections just for the whole paragraph.
2401
2402 2004-10-30  José Matos  <jamatos@lyx.org>
2403
2404         * paragraph.C (getFirstWord): remove unused variable.
2405
2406 2004-10-30  José Matos  <jamatos@lyx.org>
2407
2408         * paragraph.C (getFirstWord): the content should always be escaped
2409         there.
2410         (simpleDocBookOnePar):
2411         * output_docbook.C (makeEnvironment): replace reference to CDATA
2412         to style pass_thru.
2413
2414 2004-10-30  José Matos  <jamatos@lyx.org>
2415
2416         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2417
2418 2004-10-30  José Matos  <jamatos@lyx.org>
2419
2420         * output_docbook.C (makeParagraphs):
2421         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2422         standard paragraph has only a given type of content drop the wrapper.
2423
2424 2004-10-29  José Matos  <jamatos@lyx.org>
2425
2426         * output_docbook.C (makeEnvironment):
2427         * sgml.C (openTag):
2428         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2429
2430 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2431
2432         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2433         (cleanID): sanitize any id.
2434
2435 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2436
2437         * buffer.C, lyxlex_pimpl.C:
2438         * lyxlex_pimpl.C (setFile):
2439         s/getExtFromContents/getFormatFromContents/
2440
2441 2004-10-28  José Matos  <jamatos@lyx.org>
2442
2443         * output_docbook.C (makeEnvironment): move id to broadest possible
2444         scope.
2445
2446         * sgml.C (openTag): apply substitution of <> for all attributes.
2447
2448 2004-10-28  José Matos  <jamatos@lyx.org>
2449
2450         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2451         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2452         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2453
2454         * sgml.[Ch]: new version for open and closeTag for paragraph and
2455         for strings. Now they handle the ids of paragraphs.
2456
2457 2004-10-26  Angus Leeming  <leeming@lyx.org>
2458
2459         * Makefile.am: add mover.[Ch].
2460
2461         * converter.C (convert, move): use the new Movers to move external
2462         files to the temp directory.
2463
2464         * lyx_main.C (init): ensure that the global system_movers data
2465         is initialised.
2466
2467         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2468         preferences file.
2469
2470         * mover.[Ch]: new files, defining a Mover as a utility to move an
2471         external file between directories and, if necessary, manipulate this
2472         file using a helper script.
2473
2474 2004-10-25  José Matos  <jamatos@lyx.org>
2475
2476         * output_docbook.C (makeCommand): merge two if's that tested the
2477         same condition.
2478
2479 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * sgml.C (escapeString): fix warning in a better way
2482
2483 2004-10-25  José Matos  <jamatos@lyx.org>
2484
2485         * sgml.C (escapeString): import the require boosts header file for
2486         tie, and avoid a signed unsigned comparison.
2487
2488 2004-10-25  José Matos  <jamatos@lyx.org>
2489
2490         * sgml.h: add #include <string>
2491
2492 2004-10-25  José Matos  <jamatos@lyx.org>
2493
2494         * sgml.[Ch] (escapeString): new function to escape all the string.
2495
2496 2004-10-24  José Matos  <jamatos@lyx.org>
2497
2498         * paragraph.[Ch] (getFirstWord): new function to get the first
2499         word. Useful for description.
2500         (simpleDocBookOnePar): remove depth argument, add another that
2501         says where to start the paragraph.
2502
2503         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2504         use the new functions to fix cleanly the support for descriptions.
2505
2506 2004-10-24  José Matos  <jamatos@lyx.org>
2507
2508         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2509         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2510         * output_linuxdoc.C (linuxdocParagraphs):
2511         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2512         add buffer as argument.
2513
2514 2004-10-24  José Matos  <jamatos@lyx.org>
2515
2516         * output_docbook.C (makeEnvironment, searchEnvironment): place
2517         CDATA inside paragraphs and fix scope for listitems.
2518
2519 2004-10-24  José Matos  <jamatos@lyx.org>
2520
2521         * output_docbook.C: remove using statement for stack.
2522
2523 2004-10-23  José Matos  <jamatos@lyx.org>
2524
2525         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2526         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2527         docbook. The new scheme is recursive and makes use of iterators, the
2528         same as latex export works.
2529         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2530         directly with the paragraph contents. This code was moved up to
2531         output_docbook.C (docbookParagraphs).
2532         * sgml.C (openTag, closeTag): removed unneeded newlines.
2533         (closeEnvTags) removed.
2534
2535 2004-10-23  André Pönitz  <poenitz@gmx.net>
2536
2537         * undo.C (textUndoOrRedo):
2538         * dociterator.C (asDocIterator): work around crash
2539
2540         * cursor.C (getStatus): replace ASSERT by more verbose error message
2541           and manual correction of the problem. Should increase stability
2542           while providing more sensible information.
2543
2544 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2545
2546         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2547
2548         * bufferlist.C (previous, next): new methods
2549
2550         * lfuns.h:
2551         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2552
2553 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2554
2555         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2556         entities to preamble.
2557
2558 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2559
2560         * messages.C (Pimpl): strip off translation context information
2561
2562 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2563
2564         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2565         the cursor is correct (bug 1694)
2566
2567 2004-10-13  José Matos  <jamatos@lyx.org>
2568
2569         * output_docbook.C (docbookParagraphs): fix closing tags in the
2570         end of the document.
2571
2572 2004-10-09  José Matos  <jamatos@lyx.org>
2573
2574         * buffer.C: format up to 237.
2575         * bufferparams.C (write): use tostr to convert booleans to strings.
2576
2577 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2578
2579         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2580
2581 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2582
2583         * LaTeX.C: implement use of babel language in xindy.
2584
2585 2004-10-05  José Matos  <jamatos@lyx.org>
2586
2587         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2588         Add new translators to help reading and writing the lyx file.
2589
2590 2004-10-05  José Matos  <jamatos@lyx.org>
2591
2592         * ParagraphParameters.C (read):
2593         * text.C (readParToken): replace nexToken by more appropriate lex
2594         methods.
2595
2596 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2597
2598         * LaTeX.C (runMakeIndex):
2599         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2600         (usually 'makeindex') configurable.
2601
2602         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2603         with a variable rather than with a number.
2604
2605 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2606
2607         * output_latex.C (TeXOnePar): make sure font setting is the first
2608         thing that gets output (and the last at the end). Should fix bug
2609         1404.
2610
2611 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2612
2613         * pch.h: use proper signal include
2614
2615         * LaTeX.h: Use preferred calling of Boost.Signal
2616         * buffer.h: ditto
2617
2618 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2619
2620         * pch.h: dont include <boost/function/function0.hpp>
2621
2622         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2623
2624         * paragraph_pimpl.h: remove usage of ShareContainer
2625
2626         * paragraph_pimpl.C: remove initialization of ShareContainer.
2627
2628 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2629
2630         Fix bug #1666
2631
2632         * BufferView.C (putSelectionAt): change the semantics when
2633         backwards == true: now, this just swaps cursor and anchor wrt the
2634         forward case
2635
2636         * BufferView.h (putSelectionAt): add some documentation
2637
2638         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2639         make sure backwardChar is done at least once (to avoid getting
2640         stuck)
2641         (findNextChange): use putSelectionAt in the forward direction
2642         (operator()): use Paragraph::isWord
2643
2644 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * Spacing.C (set): c_str fix
2647
2648 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2649
2650         * lyx_cb.C (Reconfigure): quote the name of configure script in
2651         case it contains spaces
2652
2653 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * client: new dir
2656
2657         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2658         (BOOST_LIBS): use top_buildir when looking for the file
2659
2660 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * pch.h: do not use include boost/format.hpp, multiple symbols
2663                 will result (gcc bug)
2664
2665
2666 2004-08-23  José Matos  <jamatos@lyx.org>
2667
2668         * bufferparams.C (readToken): fix reading of the author field.
2669
2670 2004-08-20  José Matos  <jamatos@lyx.org>
2671
2672         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2673
2674 2004-08-20  José Matos  <jamatos@lyx.org>
2675
2676         * lyxlex.[Ch] (findToken): remove function.
2677
2678         * ParagraphParameters.C (findToken):
2679         * bufferparams.C (findToken): replace call for previous function
2680         with local copy. This local function has one more argument, the
2681         read string argument.
2682
2683 2004-08-16  José Matos  <jamatos@lyx.org>
2684
2685         * ParagraphParameters.C (write):
2686         * Spacing.C (writeFile):
2687         * bufferparams.C (writeLaTeX):
2688         * lyx_cb.C (Reconfigure):
2689         * paragraph.C (write):
2690         * tabular.C (write): remove unnecessary space at end of line.
2691
2692
2693 2004-08-16  José Matos  <jamatos@lyx.org>
2694
2695         * text.C (readParagraph): remove debug message.
2696
2697 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2698
2699         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2700         crash
2701
2702         * output_plaintext.C (asciiParagraph): set depth correctly
2703
2704         * outputparams.h: add member depth
2705
2706         * paragraph_funcs.C (ownerPar): remove.
2707
2708         * text2.C (setCounter): remove first_pit; comment out some
2709         non-working code that uses ownerPar
2710
2711         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2712         uses ownerPar
2713
2714 2004-08-16  José Matos  <jamatos@lyx.org>
2715
2716         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2717         For the same level of importance use the same chanel to report problems.
2718         (read): add code to deal with \begin_body and \end_body.
2719
2720
2721 2004-08-15  José Matos  <jamatos@lyx.org>
2722
2723         * lyxlex.C (getString): fix comment, buffer::readBody is now
2724         buffer:readDocument.
2725
2726         * tex-strings.C (string_papersize): Default -> default,
2727         Custom -> custom, for consistency with other options.
2728
2729 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * pch.h: new file
2732
2733         * Makefile.am: support pch
2734
2735 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2736
2737         * text.C (readParToken): remove the static LyXFont variable and
2738         pass it as a parameter instead. This fixes a nasty bug where an
2739         inset will be inserted with a bad font in some situations
2740         (readParagraph): adapt
2741
2742         * text2.C (setCounter): reduce number of calls to pars_[pit]
2743
2744         * text.C (singleWidth): add an assert, fix a test
2745
2746         * rowpainter.C (paintText): reduce number of calls to singleWidth
2747
2748         * paragraph.C (isHfill):
2749         (isNewline): ws only
2750
2751 2004-08-14  André Pönitz  <poenitz@gmx.net>
2752
2753         * text.C:
2754         * text2.C:
2755         * rowpainter.C:
2756         * lyxtext.h (several functions): use a Paragraph & argument
2757         instead of par_type
2758
2759 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2762
2763         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2764
2765         * text.C (singleWidth): remove useless test
2766
2767 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * tabular.h: remove bogus comments
2770
2771         * tabular.C (getDescentOfRow):
2772         (isPartOfMultiColumn): add assertions
2773
2774         * lyxlength.C (inPixels): remove #warning
2775
2776 2004-08-14  André Pönitz  <poenitz@gmx.net>
2777
2778         * paragraph.h: inline getChar()
2779
2780         * BufferView.h: remove unused declarations
2781
2782 2004-08-14  José Matos  <jamatos@lyx.org>
2783
2784         * Buffer.[Ch] (readDocument): new name for old readBody.
2785         * Buffer.C: new file format, new keywords: \begin_document,
2786         \begin_header, \begin_body, \end_body.
2787
2788         * bufferparams.C (readToken): replace all calls to lex.nextToken
2789         by lex.next(). Do the same to eatLine except where really needed.
2790
2791         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2792         line when writing to the lyx file.
2793
2794         * output_plaintext.C (asciiParagraph): fix Bibliography style
2795         handling.
2796
2797         * text.C (read): fix end of file handling.
2798
2799 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2800
2801         * MenuBackend.C (Menu::operator[]): new method to access
2802         individual menu items
2803         (Menu::hasFunc): new method. search for an item that corresponds
2804         to a given func
2805         (MenuBackend::specialMenu): new method
2806         (MenuBackend::expand): if a special menu has been set, skip
2807         entries whose func() appears in this menu
2808
2809 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2810
2811         * text3.C: use Debug::DEBUG a bit more
2812
2813         * text.C (leftMargin): try to simplify a tiny bit change var x to
2814         l_margin. Dont output the wide margins always.
2815         (rightMargin): no margin in inner texts
2816
2817         * rowpainter.h (nestMargin): new func
2818         (changebarMargin): new func
2819         (rightMargin): new func
2820
2821         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2822         now functions.
2823         (paintLast): ditto
2824
2825         * factory.C (createInset): modify setDrawFrame
2826
2827         * cursor.C: use Debug::DEBUG a bit more
2828
2829 2004-08-14  André Pönitz  <poenitz@gmx.net>
2830
2831         * coordcache.[Ch]:
2832         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2833         cache for all insets in (at least partially) visible (top-level)
2834         paragraphs.
2835
2836         * BufferView_pimpl.C: reset external coord cache before every update.
2837         This means the coord cache only contains valid entries.
2838
2839 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2840
2841         bug 1096
2842         * BufferView_pimpl.C (getInsetByCode): move function out of class
2843         and change in to a template in anon namespace. Also fix to do what
2844         suits us better.
2845
2846 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2847
2848         bug 1305
2849         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2850         of char
2851         (breakParagraph): rename par to par_offset and use a local
2852         reference. Add code to keep the language over a rebreak.
2853         (breakParagraphConservative): rename par to par_offset, use a
2854         local reference
2855         (mergeParagraph): ditto
2856         (outerHook): ditto
2857         (isFirstInSequence): ditto
2858         (outerFont): rename pit to par_offset
2859
2860         * paragraph.C: ws change
2861         * paragraph.h: ditto
2862         * text3.C: ditto
2863         * text.C: ditto
2864
2865 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2868         treatment for ']'
2869
2870         * paragraph.C (simpleTeXOnePar): when we have a \item with
2871         optional argument, enclose the argument with curly brackets (in
2872         case it contains a closing square bracket)
2873
2874         * text2.C (editXY):
2875         * text2.C (editXY):
2876         * text3.C (checkInsetHit): constify
2877
2878 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2879
2880         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2881         documents (bug 1629)
2882
2883 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2884
2885         Fix toggling of collapsable insets with the mouse (bug 1558)
2886
2887         * lyxfunc.C (dispatch): adapt to LCursor changes
2888
2889         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2890         make sure that dispatch is not invoked twice
2891
2892         * cursor.C (needsUpdate): new method
2893         (dispatch): return void
2894         (result): new method, to access the DispatchResult of the cursor.
2895
2896 2004-08-13  José Matos  <jamatos@lyx.org>
2897
2898         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2899
2900 2004-08-13  André Pönitz  <poenitz@gmx.net>
2901
2902         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2903
2904         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2905           multiple cells
2906
2907 2004-08-12  André Pönitz  <poenitz@gmx.net>
2908
2909         * text3.C: take out the 'cursor right' form insertInset and only
2910         do it in those places when it is really needed. Fixes crash on
2911         C-m...
2912
2913 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914
2915         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2916
2917         * BufferView_pimpl.C (setBuffer): initialize the current font of
2918         the underlying LyXText
2919
2920 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2921
2922         * kbsequence.C (print): use UI native formatting for menu
2923         shortcuts
2924
2925         * text.C (insertChar): call Paragraph::insertChar with a font
2926         argument (cosmetic)
2927
2928         * paragraph.C (insertInset, insertChar): the version that takes a
2929         LyXFont argument is now a wrapper around the other one (the
2930         opposite used to be true).
2931
2932         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2933         argument. Font setting is done in Paragraph now.
2934
2935 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2936
2937         * outputparams.h: add new members intitle and lang.
2938
2939         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2940         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2941
2942 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * text3.C (dispatch): remove special handling of button 4 and 5,
2945         it is now taken care of in the frontend code.
2946
2947 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2948
2949         * Spacing.h: add <string> (STLPort compile fix)
2950
2951 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2952
2953         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2954
2955 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2958         to bool.
2959
2960         * converter.C (showMessage): inherit from unary_function, make
2961         operator() const.
2962
2963         * buffer.C (writeFile): initialize retval
2964
2965         * InsetList.h: rename private variable list to list_
2966         * InsetList.[Ch]: adjust accordingly.
2967
2968 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2969
2970         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2971         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2972         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2973         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2974         * ParagraphParameters.C, LaTeXFeatures.C: replace
2975         "support/std_sstream.h" with <sstream>
2976
2977 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2980         * lyxsocket.C (LyXServerSocket): ditto
2981         (serverCallback): ditto
2982
2983 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2984
2985         * LaTeXFeatures.C: check release date when loading jurabib.
2986
2987 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * lyxserver.C (startPipe): call register_socket_callback
2990         (endPipe): call unregister_socket_callback
2991
2992 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2995         (LyXServerSocket): register the callback
2996         (LyXServerSocket): unregister the callback
2997         (fd): delete function
2998         (serverCallback): improve error checking and setup the callbacks.
2999         (dataCallback): change arg to fd.
3000         (writeln): new func (copied fro the client socket) used for server
3001         write to client.
3002         (LyXDataSocket): simplify
3003         (~LyXDataSocket): close ann unregiser callback
3004         (server): delete function
3005         (fd): delete function
3006         (readln): small changes, improve some std::string usage
3007         (writeln): constify a bit
3008
3009 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3010
3011         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3012         Qt frontend
3013
3014 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3015
3016         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3017         after it has been populated
3018
3019 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * text2.C (insertInset): move cursor when inserting inset.
3022
3023 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3024
3025         * kbmap.C (findbindings): a couple of new methods. returns a
3026         container of kb_sequence objects. The real work is done by the
3027         private recursive version
3028         (printbindings): uses findbindings to print out a bracketed list
3029         of bindings (renamed from findbinding).
3030
3031         * MenuBackend.C (binding): use kb_keymap::findbindings
3032
3033         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3034
3035 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3036
3037         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3038
3039 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3040
3041         * paragraph.C (isWord): return true on insets that report
3042         isLetter().
3043
3044         * text.C (getWord): use Paragraph::isWord to decide what is in a
3045         word and what is not; fix bug 1609.
3046
3047 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3048
3049         * tex-strings.C: add "none" to string_paperpackages[], fixes
3050         off-by-one-error in the paperpackage selection.
3051
3052         * lyxlex.[Ch]:
3053         * tex-strings.[Ch]: char const * string[n]
3054         -> char const * const string[]
3055
3056 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3057
3058         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3059         command, return early.
3060
3061 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * debug.h: add DEBUG to enum and fix size of ANY.
3064
3065         * debug.C: add support for Debug::DEBUG
3066         (showTags): cast errorTags.level to unsigned int
3067
3068         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3069         (redoCurrentBuffer): ditto
3070         (updateScrollbar): ditto
3071         * cursor.C (dispatch): ditto
3072         * text2.C (setLayout): ditto
3073         (setFont): ditto
3074         (updateCounters): ditto
3075         (editXY): ditto
3076         (deleteEmptyParagraphMechanism): ditto
3077
3078 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3081         annotations to cleanup the Makefile slightly.
3082
3083 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3084
3085         * lyxrc.C: do not set user_email to a default value but use empty
3086         instead. The entry used to be translated, which does not work
3087         since at the point where lyxrc is constructed there is no
3088         translation service available
3089
3090         * messages.C (getLocaleDir): remove and use directly
3091         lyx_localedir() instead
3092
3093 2004-06-02  Angus Leeming  <leeming@lyx.org>
3094
3095         Fix crash caused by dereferencing null pointer 'exportdata' in
3096         OutputParams by creating a new ExportData variable on the heap,
3097         storing it in a boost::shared_ptr.
3098         The crash was triggered when generating an Instant Preview
3099         of an external inset.
3100
3101         * Makefile.am: add outputparams.C
3102
3103         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3104         (c-tor): allocate memory to it.
3105
3106         * exporter.C (c-tor): associated changes.
3107
3108 2004-06-01  Angus Leeming  <leeming@lyx.org>
3109
3110         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3111         contains data before calling isInset(0). (Bug 1513.)
3112
3113 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3114
3115         * exporter.C (checkOverwrite): new method
3116         * exporter.C (copyFile): new method
3117         * exporter.C (Export): copy referenced files to the document dir
3118         * exporter.[Ch]: new class ExportedFile
3119         * exporter.[Ch]: new class ExportData. Contains currently the
3120         names of referenced external files
3121         * outputparams.h: add exportdata member.
3122
3123 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3126         version.C-tmp
3127
3128 2004-05-19  Angus Leeming  <leeming@lyx.org>
3129
3130         * LaTeXFeatures.C:
3131         * ToolbarBackend.C:
3132         * bufferparams.C:
3133         * lyxfunc.C: small changes due to the introduction of namespace
3134         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3135
3136 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3137
3138         * text3.C (dispatch): supress update when only moving the cursor
3139         * cursor.C (selHandle): remove commented code
3140
3141 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3142
3143         * paragraph.C (startTeXParParams): correct column count
3144         * CutAndPaste.C (pasteSelection): remove const_cast
3145         * output_docbook.C (docbookParagraphs): remove const_cast
3146         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3147         const_cast and return ParagraphList::const_iterator
3148         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3149         * output_plaintext.C (writeFileAscii): remove const_cast
3150         * paragraph.[Ch] (simpleTeXOnePar): make const
3151         * paragraph_funcs.C (outerPar): use const iterators
3152         * paragraph_pimpl.C (validate): use const iterators
3153         * text.C (setHeightOfRow): use const iterators
3154
3155 2004-05-17  Angus Leeming  <leeming@lyx.org>
3156
3157         * lfuns.h:
3158         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3159
3160         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3161         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3162         if the citation engine has changed.
3163
3164 2004-05-14  José Matos  <jamatos@lyx.org>
3165
3166         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3167         if the textclass does not provide it. Have it different for sgml and
3168         xml.
3169         support the language of document.
3170         * output_docbook.C (docbookParagraphs):
3171         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3172         first anchor as the id of the paragraph, remove special case code.
3173         * sgml.C (escapeChar): escape only < & >.
3174
3175 2004-05-14  Angus Leeming  <leeming@lyx.org>
3176
3177         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3178         dependencies on src/frontends/controllers/biblio.h. Define a
3179         CiteEngine_enum wrapper class to enable the enum to be forward
3180         declared.
3181
3182 2004-05-12  Angus Leeming  <leeming@lyx.org>
3183
3184         * buffer.C: up LYX_FORMAT to 234.
3185         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3186         use_numerical_citations with a single biblio::CiteEngine cite_engine
3187         variable.
3188         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3189
3190 2004-05-13  José Matos  <jamatos@lyx.org>
3191
3192         * converter.h:
3193         * converter.C (Converter, readFlags): add xml member.
3194         * outputparams.h: add XML flavor.
3195         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3196
3197 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3198
3199         * lyxfunc.C (dispatch):
3200         (getStatus): fix handling of LFUN_SEQUENCE
3201
3202 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3203
3204         * debug.C (showLevel): do not forget the end-of-line marker
3205
3206 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * kbmap.C (read): do not stop parsing a bind file when an error
3209         occurs (bug 1575)
3210
3211 2004-04-29  Angus Leeming  <leeming@lyx.org>
3212
3213         * cursor.C:
3214         * factory.C:
3215         * pariterator.C:
3216         * text2.C: wrap a bunch of #warning statements
3217         inside #ifdef WITH_WARNINGS blocks.
3218
3219 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3220
3221         * buffer.C: increment format to 233.
3222
3223 2004-04-28  Angus Leeming  <leeming@lyx.org>
3224
3225         * BufferView_pimpl.C:
3226         * lyxfunc.C:
3227         * text3.C:
3228         s/updateToolbar()/updateToolbars()/
3229         s/Toolbar.h/Toolbars.h/
3230
3231 2004-04-28  Angus Leeming  <leeming@lyx.org>
3232
3233         * BufferView.[Ch] (c-tor):
3234         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3235         No longer passes these data to the WorkArea generator.
3236
3237 2004-04-28  Angus Leeming  <leeming@lyx.org>
3238
3239         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3240
3241 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3242
3243         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3244
3245 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3246
3247         * output_latex.C (TeXEnvironment): make sure that there is a line
3248         break before \end{foo} for the last paragraph of a document
3249         (TeXOnePar): if the paragraph is at the end of the document (or
3250         inset) and the language has to be reset, then make sure that the
3251         line break is _before_ the language command, not after (fixes bug
3252         1225); also make sure that the language reset command is the first
3253         thing after the paragraph (to ensure proper nesting of
3254         environments and thus fix bug 1404)
3255
3256 2004-04-21  John Levon  <levon@movementarian.org>
3257
3258         * ToolbarBackend.h:
3259         * ToolbarBackend.C: make "name" be a programmatic name
3260         and a gui_name field.
3261
3262         * lyxfunc.C: display the minibuffer on M-x
3263
3264 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3265
3266         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3267         (bug 1526)
3268
3269 2004-04-19  Angus Leeming  <leeming@lyx.org>
3270
3271         * BufferView_pimpl.C (setBuffer): changed preview interface.
3272
3273         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3274         possible values.
3275
3276 2004-04-19  John Levon  <levon@movementarian.org>
3277
3278         * BufferView_pimpl.C:
3279         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3280
3281 2004-04-05  Angus Leeming  <leeming@lyx.org>
3282
3283         * text.C (redoParagraphs): add call to updateCounters(), thereby
3284         fixing the missing "Figure #:" label from the caption of a
3285         figure float.
3286
3287 2004-04-13  Angus Leeming  <leeming@lyx.org>
3288
3289         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3290         cursor is clicked out of an inset.
3291
3292 2004-04-13  Angus Leeming  <leeming@lyx.org>
3293
3294         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3295         than an InsetOld one.
3296
3297 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3298
3299         * format.[Ch]: add editor to Format
3300         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3301         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3302
3303 2004-04-08  André Pönitz  <poenitz@gmx.net>
3304
3305         * metricsinfo.h: remove PainterInfo::width member
3306
3307 2004-04-08  Angus Leeming  <leeming@lyx.org>
3308
3309         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3310         "\providecommand" rather than "\newcommand", thereby preventing
3311         clashes with packages that define "\boldsymbol" themselves.
3312         Eg, beamer.
3313
3314 2004-04-08  Angus Leeming  <leeming@lyx.org>
3315
3316         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3317         thereby squashing an unnecessary warning.
3318
3319 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3320
3321         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3322         setBuffer()
3323
3324 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * BufferView.C (setCursor): call redoParagraph (some insets could
3327         have been opened)
3328         (putSelectionAt): remove the 'double update' trick
3329
3330         * BufferView_pimpl.C (fitCursor): call refreshPar
3331         (workAreaDispatch): remove an uneeded update call
3332         (dispatch): remove some manual update calls
3333
3334         * cursor.[Ch]: remove cached_y_, updatePos
3335         (selHandle): set noUpdate when appropriate
3336
3337         * lyxfunc.C (dispatch): track if we need an update
3338
3339         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3340
3341         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3342         (paintSelection): cheap optimization, do not call cursorX when not
3343         needed
3344         (paintPars): change signature
3345         (refreshPar): add
3346         (paintText): adjust
3347         (paintTextInset): adjust
3348
3349         * text.C: adjust
3350
3351 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3352
3353         * lengthcommon.C: compilation fix: remove explicit array size from
3354         unit_name[] and friends
3355
3356 2004-04-05  Angus Leeming  <leeming@lyx.org>
3357
3358         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3359
3360         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3361         present only for the preferences dialog.
3362         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3363
3364 2004-04-05  Angus Leeming  <leeming@lyx.org>
3365
3366         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3367         to enable the frontends to export changes to lyxrc correctly.
3368
3369         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3370
3371 2004-04-07  André Pönitz  <poenitz@gmx.net>
3372
3373         * cursor.[Ch] (selClear, adjust): remove math
3374
3375         * cursor_slice.C: more agressive assert
3376
3377         * lyxfunc.C:
3378         * BufferView_pimpl.C: rework mouse event dispatch
3379
3380         * dociterator.C:
3381         * paragraph.C:
3382         * text2.C:
3383         * text3.C: adjust
3384
3385 2004-04-05  André Pönitz  <poenitz@gmx.net>
3386
3387         * cursor.[Ch] (valign, halign...): remove unneeded functions
3388
3389 2004-04-05  Angus Leeming  <leeming@lyx.org>
3390
3391         * lyxlength.[Ch] (unit_name et al.): const-correct.
3392
3393 2004-04-05  Angus Leeming  <leeming@lyx.org>
3394
3395         * BufferView_pimpl.C:
3396         * buffer.C:
3397         * counters.C:
3398         * cursor.C:
3399         * lyxfunc.C
3400         * paragraph.C:
3401         * pariterator.C:
3402         * text.C:
3403         * text2.C:
3404         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3405
3406 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3407
3408         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3409
3410 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3411
3412         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3413         * BufferView_pimpl.[Ch] (getStatus)
3414         * BufferView.[Ch] (getStatus): add
3415         * lyxfunc.C (getStatus): move lfuns handled in
3416         BufferView::dispatch to te function above
3417         * Cursor.C (setSelection): set selection() = true
3418
3419 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3420
3421         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3422
3423 2004-03-31  Angus Leeming  <leeming@lyx.org>
3424
3425         * lyxfunc.C (dispatch): Fall through to the generic
3426         Dialogs::show("preamble").
3427
3428 2004-03-31  Angus Leeming  <leeming@lyx.org>
3429
3430         * lyxfunc.C (dispatch): Fall through to the generic
3431         Dialogs::show("spellchecker").
3432
3433 2004-03-31  Angus Leeming  <leeming@lyx.org>
3434
3435         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3436         preferences dialog.
3437
3438 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3439
3440         * BufferView.C
3441         * cursor.[Ch]
3442         * dociterator.[Ch]:
3443         * insetiterator.[Ch]:
3444         * lyxfind.C:
3445         * lyxfunc.C:
3446         * pariterator.[Ch]:
3447         * text2.C:
3448         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3449
3450 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3451
3452         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3453         insets where we are putting the cursor.
3454
3455 2004-03-31  Angus Leeming  <leeming@lyx.org>
3456
3457         * lfuns.h:
3458         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3459
3460         * lyxrc.[Ch] (read, write): overloaded member functions taking
3461         a std::[io]stream arguments.
3462
3463         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3464
3465 2004-03-31  Angus Leeming  <leeming@lyx.org>
3466
3467         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3468         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3469
3470         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3471         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3472
3473 2004-03-31  Angus Leeming  <leeming@lyx.org>
3474
3475         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3476         the LFUN_ALL_INSETS_TOGGLE code.
3477
3478 2004-03-30  Angus Leeming  <leeming@lyx.org>
3479
3480         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3481         has died. Fall through to the generic Dialogs::show("document").
3482
3483 2004-03-30  Angus Leeming  <leeming@lyx.org>
3484
3485         * lfuns.h:
3486         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3487         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3488
3489         * lyxfunc.C (getStatus, dispatch): define the actions for these
3490         lfuns. Little more than a cut and pste job from ControlDocument.C
3491
3492         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3493
3494 2004-03-30  Angus Leeming  <leeming@lyx.org>
3495
3496         * lfuns.h:
3497         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3498         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3499
3500         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3501         open/closed state of ollapsable insets. Usage:
3502
3503         all-inset-toggle <state> <name>, where
3504         <state> == "open" || "closed" || "toggle" and
3505         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3506
3507         * lyxtext.h, text2.C (toggleInset): removed.
3508
3509         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3510         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3511         now passes LFUN_INSET_TOGGLE to the found inset.
3512
3513         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3514         is now invoked as "all-insets-toggle toggle branch".
3515
3516 2004-03-30  Angus Leeming  <leeming@lyx.org>
3517
3518         * dociterator.C:
3519         * insetiterator.C:
3520         * pariterator.[Ch]: added/corrected header blurb.
3521
3522 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3523
3524         * dociterator.[Ch]: add an inset_ member
3525         (backwardPos): implemented
3526         (backwardPos, forwardPos): use inset_ when the stack is empty.
3527         (doc_iterator_begin, doc_iterator_end): implemented
3528         * pariterator.[Ch]: adjust, add begin, end
3529         * insetiterator.[Ch]: adjust, add begin, end
3530         * cursor.C:
3531         * document.C:
3532         * BufferView.C:
3533         * BufferView_pimpl.C:
3534         * CutAndPaste.C: adjust
3535
3536 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3537
3538         * buffer.C: increment file format to 232.
3539         * LaTeXFeatures.C: add bibtopic package.
3540         * bufferparams.[Ch]: param \use_bibtopic.
3541
3542         * lyxrc.[Ch]: add lyxrc bibtex_command
3543         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3544
3545         * buffer.C: increment file format to 231.
3546
3547 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3548
3549         * dociterator.C: implement forwardPar
3550         * iterators.[Ch]: remove, replaced by
3551         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3552         * BufferView.C:
3553         * BufferView_pimpl.C:
3554         * CutAndPaste.C:
3555         * buffer.C:
3556         * bufferview_funcs.C:
3557         * cursor.C:
3558         * lyxfind.C
3559         * lyxfunc.C
3560         * paragraph_funcs.C
3561         * toc.C:
3562         * Makefile.am: adjust
3563
3564 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3565
3566         * CutAndPaste.C (pasteSelection): fix 2 crashes
3567         (eraseSelection): fix a crash
3568         * paragraph_funcs.C: remove a warning
3569
3570 2004-03-28  Angus Leeming  <leeming@lyx.org>
3571
3572         * lfuns.h:
3573         * LyXAction.C (init): new LFUN_PRINT.
3574
3575         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3576
3577 2004-03-27  Angus Leeming  <leeming@lyx.org>
3578
3579         * lfuns.h:
3580         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3581
3582         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3583
3584 2004-03-27  Angus Leeming  <leeming@lyx.org>
3585
3586         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3587         insetlist always contains non-null pointers to insets.
3588
3589 2004-03-26  Angus Leeming  <leeming@lyx.org>
3590
3591         * src/BufferView_pimpl.C:
3592         * src/CutAndPaste.C:
3593         * src/buffer.C:
3594         * src/iterators.C:
3595         * src/output_plaintext.C:
3596         * src/outputparams.h:
3597         * src/paragraph_funcs.C:
3598         * src/rowpainter.C:
3599         * src/text.C:
3600         * src/text2.C:
3601         * src/frontends/controllers/ControlErrorList.C:
3602         * src/frontends/gtk/FileDialogPrivate.C:
3603         * src/frontends/gtk/GPainter.C:
3604         * src/frontends/gtk/GToolbar.C:
3605         * src/frontends/qt2/QRef.C:
3606         * src/mathed/math_scriptinset.C: squash compiler warnings.
3607
3608 2004-03-26  Angus Leeming  <leeming@lyx.org>
3609
3610         * ispell.C (LaunchIspell::start):
3611         * lyx_cb.C (AutoSaveBuffer::start):
3612         invoke run(DontWait) rather than runNonBlocking().
3613
3614 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3615
3616         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3617
3618 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3619
3620         * kbsequence.C (print): adjust
3621
3622         * kbmap.C (printKeySym): rename and change signature
3623         (printKey): use LyXKeySym::print()
3624
3625 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3626
3627         * undo.C: add using std::advance to compile for stlport
3628
3629 2004-03-24  Angus Leeming  <leeming@lyx.org>
3630
3631         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3632         it leads to a crash when no buffer is present.
3633
3634 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3635             Martin Vermeer  <martin.vermeer@hut.fi>
3636
3637         * lyxfunc.C (dispatch):
3638         * bufferparams.C (readToken): use the new LColor::setColor
3639
3640         * LColor.[Ch] (setColor): new version that takes two strings as
3641         argument and creates a new color entry if necessary
3642
3643 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3644
3645         * buffer.C (makeLaTeXFile): if the main latex file that is
3646         processed is usually a subdocument of some master, then pretend
3647         for a while that it is actually the master
3648
3649 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3650
3651         * buffer.C (getLabelList):
3652         (getBibkeyList): use getMasterBuffer()
3653         (getMasterBuffer): new method. Returns the main document in the
3654         case where one is using included documents.
3655
3656 2004-03-25  André Pönitz  <poenitz@gmx.net>
3657
3658         * Makefile.am:
3659         * iterators.[Ch]:
3660         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3661
3662         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3663
3664         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3665         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3666
3667         * ParameterStruct.h: merge with ParagraphParameters
3668
3669         * lyxtext.h: remove LyXText::parOffset() and getPar()
3670
3671         * text3.C: Remove all 'manual' update calls. We do now one per user
3672         interaction which is completely sufficient.
3673
3674         * Bidi.C:
3675         * BufferView.[Ch]:
3676         * BufferView_pimpl.C:
3677         * FontIterator.[Ch]:
3678         * MenuBackend.C:
3679         * ParagraphParameters.[Ch]:
3680         * buffer.C:
3681         * buffer.h:
3682         * bufferlist.C:
3683         * cursor.[Ch]:
3684         * cursor_slice.[Ch]:
3685         * dociterator.[Ch]:
3686         * errorlist.[Ch]:
3687         * factory.C:
3688         * lfuns.h:
3689         * lyxfind.C:
3690         * lyxfunc.C:
3691         * output_docbook.[Ch]:
3692         * output_latex.[Ch]:
3693         * output_linuxdoc.[Ch]:
3694         * output_plaintext.[Ch]:
3695         * paragraph.[Ch]:
3696         * paragraph_funcs.[Ch]:
3697         * paragraph_pimpl.[Ch]:
3698         * rowpainter.C:
3699         * tabular.[Ch]:
3700         * text.C:
3701         * text2.C:
3702         * toc.C:
3703         * undo.[Ch]: adjust
3704
3705         * frontends/controllers/ControlDocument.C:
3706         * frontends/controllers/ControlErrorList.C:
3707         * frontends/controllers/ControlSpellchecker.C:
3708         * insets/inset.C:
3709         * insets/inset.h:
3710         * insets/insetbase.h:
3711         * insets/insetbibitem.C:
3712         * insets/insetbox.C:
3713         * insets/insetbranch.C:
3714         * insets/insetcaption.C:
3715         * insets/insetcharstyle.C:
3716         * insets/insetcharstyle.h:
3717         * insets/insetcollapsable.C:
3718         * insets/insetcollapsable.h:
3719         * insets/insetert.C:
3720         * insets/insetfloat.C:
3721         * insets/insetfoot.C:
3722         * insets/insetmarginal.C:
3723         * insets/insetnote.C:
3724         * insets/insetoptarg.C:
3725         * insets/insettabular.C:
3726         * insets/insettext.C:
3727         * insets/insettext.h:
3728         * insets/insetwrap.C:
3729         * mathed/math_mboxinset.C:
3730         * mathed/math_nestinset.C:
3731         * mathed/math_scriptinset.C:
3732         * mathed/math_scriptinset.h:
3733         * support/types.h:
3734
3735 2004-03-24  Angus Leeming  <leeming@lyx.org>
3736
3737         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3738         deal with any child processes that have finished but are waiting to
3739         communicate this fact to the rest of LyX.
3740
3741 2004-03-24  Angus Leeming  <leeming@lyx.org>
3742
3743         64-bit compile fixes.
3744
3745         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3746         (c-tor): pass lyx::pos_types rather than ints.
3747
3748         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3749         lyx::pos_type.
3750
3751         * text.C (Delete): compile fix.
3752         (getPar): ensure that function declaration is the same as that in
3753         the header file.
3754
3755 2004-03-23  Angus Leeming  <leeming@lyx.org>
3756
3757         * ispell.C (LaunchIspell):
3758         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3759         a boost::shred_ptr rather than a std::auto_ptr.
3760
3761 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3762
3763         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3764         handle LFUN_FILE_INSERT_*
3765
3766         * lyxrc.C (setDefaults, getDescription, output, read):
3767         * lyxrc.h: remove ps_command
3768
3769 2004-03-22  Angus Leeming  <leeming@lyx.org>
3770
3771         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3772         Ensure that error_handler is processed once only and that all data
3773         is saved before attempting to output any warning messages.
3774
3775         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3776
3777 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3778
3779         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3780
3781 2004-03-19  André Pönitz  <poenitz@gmx.net>
3782
3783         * cursor.[Ch] (reset): take main text inset as argument
3784
3785         * BufferView: adjust
3786         * BufferView_pimpl.C: adjust
3787
3788         * paragraph.[Ch]: fix completely broken operator=()
3789
3790 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3791
3792         * LColor.C (getFromLyXName): make sure that the color name is used
3793         as lowercase.
3794
3795 2004-03-17  Angus Leeming  <leeming@lyx.org>
3796
3797         * lfuns.h:
3798         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3799
3800         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3801         dialog and to kill a forked process.
3802
3803 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3804
3805         * text2.C (setCursorFromCoordinates): fix font problem
3806
3807 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3808
3809         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3810         bogus "rebuild cursor" code
3811
3812 2004-03-11  André Pönitz  <poenitz@gmx.net>
3813
3814         * buffer.[Ch]: use InsetText instead of LyXText as container for
3815         the main lyx text.
3816
3817         * dociterator.[Ch]: drop the BufferView * member which is not needed
3818         anymore after the change to buffer.C
3819
3820         * paragraph_funcs.C:
3821         * text.C:
3822         * text2.C:
3823         * BufferView.[Ch]:
3824         * BufferView_pimpl.[Ch]:
3825         * cursor.[Ch]:
3826         * cursor_slice.[Ch]: adjust
3827
3828         * text3.C: fix bug in mathDispatch
3829
3830 2004-03-08  André Pönitz  <poenitz@gmx.net>
3831
3832         * undo.[Ch]: use 'StableDocumentIterator' as base for
3833         the Undo struct.
3834
3835 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3836
3837         * LaTeXFeatures.C:
3838         * bufferparams.[Ch]: add jurabib support and param.
3839
3840         * LaTeX.C: add FIXME/comment.
3841
3842 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3843
3844         * buffer.C: increment file format to 230.
3845
3846 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3847
3848         * cursor.C (dispatch): avoid infinite loops
3849
3850 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3851
3852         * rowpainter.C (paintSelection): fix x coordinates
3853
3854 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3855
3856         * text.C (rowBreakPoint): fix breaking before displayed insets
3857
3858 2004-03-01  André Pönitz  <poenitz@gmx.net>
3859
3860         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3861
3862         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3863
3864         * Makefile.am:
3865         * BufferView.C:
3866         * BufferView_pimpl.C:
3867         * buffer.C:
3868         * lyxfind.C:
3869         * lyxfunc.C:
3870         * text.C:
3871         * text2.C:
3872         * text3.C: adjust
3873
3874 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3875
3876         * lyxtext.h:
3877         * text.C:
3878         * text2.C:
3879         * rowpainter.C:
3880         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3881         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3882
3883 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * Bidi.[Ch] (computeTables): const correctness
3886         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3887         fill_hfill, fill_label_hfill and x from Row
3888         * lyxtext.h: prepareToPrint returns a RowMetrics
3889         * rowPainter.C: adjust
3890         * text.C (prepareToPrint): use width, not textWidth. adjust
3891         (redoParagraphInternal, cursorX): adjust
3892         * text2.C (getColumnNearX): adjust
3893         (init): put a default value to the top LyXText::width
3894
3895 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3898
3899 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3900
3901         * lyxtext.h: add FontIterator class
3902
3903         * text.C (FontIterator, operator*, operator->, operator++): add
3904         (rowBreakPoint, setRowWidth): adjust (fixing a
3905         rebreaking bug)
3906
3907 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3908
3909         * BufferView_pimpl.C (workAreaDispatch): allow also
3910         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3911
3912 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * text.C (rowBreakPoint): fix a bug showing with very large insets
3915
3916 2004-02-25  André Pönitz  <poenitz@gmx.net>
3917
3918         * text3.C:
3919         * cursor.[Ch]: move some mathed specific code to mathed
3920
3921 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3922
3923         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3924         use_tempdir in preferences
3925         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3926         tempfile creation
3927         * lyx_main.C: ensure that tempdir is valid
3928         * lyxlex.h: correct typo
3929         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3930         * paragraph.[Ch] (isMultiLingual): make const
3931         * cursor.[Ch] (openable): make const
3932
3933 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3934
3935         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3936
3937 2004-02-20  André Pönitz  <poenitz@gmx.net>
3938
3939         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3940
3941         * cursor.[Ch]: prepare for localized getStatus()
3942
3943         * lyxtext.h:
3944         * tabular.C:
3945         * text.C:
3946         * text2.C:
3947         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3948
3949 2004-02-20  André Pönitz  <poenitz@gmx.net>
3950
3951         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3952
3953 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3954
3955         * text2.C (setCursorFromCoordinates): switch to absolute coords
3956         (cursorUp): adjust
3957         (cursorDown): adjust
3958         * text3.C (dispatch): adjust
3959
3960 2004-02-16  André Pönitz  <poenitz@gmx.net>
3961
3962         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3963           insets/ChangeLog)
3964
3965         * cursor_slice.[Ch]: remove unneeded acessor function
3966
3967         * lyxtext.h: rename rtl() to isRTL()
3968
3969         * rowpainter.C:
3970         * tabular.C:
3971         * text.C:
3972         * text2.C:
3973         * text3.C: adjust
3974
3975 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * rowpainter.C (paintSelection): coord fix
3978
3979 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3980
3981         * Spacing.C: compile fix
3982
3983 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * cursor.C (dispatch): restore current_ before returning
3986
3987 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * text2.C (cursorUp, cursorDown): fix coords
3990         (moveUp): fix crash
3991
3992 2004-02-12  André Pönitz  <poenitz@gmx.net>
3993
3994         * lyxtext.h:
3995         * text.C:
3996         * text2.C:
3997         * text3.C: add LCursor & parameter to most cursor movement functions
3998           remove usage of LyXText::cursorRow() and cursorPar()
3999
4000         * cursor.[Ch]: add textRow() needed members
4001
4002         * BufferView.C:
4003         * BufferView_pimpl.C:
4004         * paragraph.[Ch]:
4005         * BufferView.C:
4006         * BufferView_pimpl.C: adjust
4007
4008 2004-02-11  André Pönitz  <poenitz@gmx.net>
4009
4010         * lyxfunc.C:
4011         * BufferView.[Ch]:
4012         * BufferView_pimpl.C: shift undo/redo handling
4013
4014         * cursor.[Ch]: fix mathed crash
4015
4016         * lyxfind.C:
4017         * lyxtext.h: move selectionAsText to LCursor
4018
4019         * output_latex.C:
4020         * paragraph.C:
4021         * text.C:
4022         * text2.C:
4023         * text3.C: adjust
4024
4025         * rowpainter.C: fix excessive drawing
4026
4027 2004-02-06  André Pönitz  <poenitz@gmx.net>
4028
4029         * BufferView.[Ch]:
4030         * BufferView_pimpl.[Ch]:
4031         * text3.C: move some text specific LFUN handling
4032
4033 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * text3.C (checkInsetHit): adjust coords
4036         * text2.C (getColumnNearX): adjust coords
4037         (edit): adjust coords
4038         * text.C (getRowNearY): add two asserts
4039
4040 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4041
4042         * converter.C:
4043         * format.C: add using std::distance to compile on gcc 2.95/stlport
4044
4045 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4046
4047         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4048
4049 2004-02-04  André Pönitz  <poenitz@gmx.net>
4050
4051         * BufferView.[Ch] (insertInset):
4052         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4053
4054         * text2.C:
4055         * text3.C: adjust
4056
4057 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4058
4059         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4060         on the default clause of the switch
4061         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4062         wasn't catched by LCursor::dispatch
4063
4064 2004-02-03  André Pönitz  <poenitz@gmx.net>
4065
4066         * BufferView.C:
4067         * cursor.[Ch]: some additional asserts
4068
4069         * undo.[Ch]: remove LyXText dependency in interface
4070
4071         * lyxfunc.C: adjust
4072
4073         * lyxtext.h (firstPar, lastPar): remove dead functions
4074
4075         * text.C:
4076         * text2.C:
4077         * text3.C:
4078         * paragraph.[Ch]: adjust
4079
4080 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4081
4082         * lyxfind.C (find): fix argument order in call to ::find
4083
4084 2004-02-02  André Pönitz  <poenitz@gmx.net>
4085
4086         * cursor.[Ch]: remove direct access to anchor
4087
4088         * text.C: remove findText() hack
4089
4090 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4091
4092         * iterators.[Ch] (lockPath): remove in favour of...
4093         * BufferView.[Ch] (setCursor): this addition
4094         * BufferView.C (putSelectionAt): adjust
4095         * undo.C (performUndoOrRedo): adjust
4096         * lyxfunc.C (dispatch): adjust
4097
4098 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * iterators.C (lockPath): add a missing slice
4101         * undo.C (performUndoOrRedo): remove redundant positioning code
4102
4103 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * vc-backend.C (scanMaster): ";" -> ';'
4106
4107 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4110         std::binary_function
4111
4112         * lyxtextclass.C (compare_name): rename to...
4113         (LayoutNamesEqual): ...this
4114
4115         * lyxlex_pimpl.C (compare_tags): inherit from
4116         std::binary_function, put back into anon namespace
4117
4118         * lyxfind.C (MatchString): inherig from std::binary_function
4119         (findChange): use empty() istead of !size()
4120
4121         * format.C (FormatNamesEqual): new functor
4122         (getFormat): use it
4123         (getNumber): use it
4124         (add): use it
4125         (erase): use it
4126         (setViewer): use it
4127
4128         * converter.C (compare_Converter): rename to...
4129         (ConverterEqual): ...this, and fixup a bit.
4130         (getConverter): use it, and make function const
4131         (getNumber): use it, and make function const
4132         (add): use it
4133         (erase): use it:
4134
4135         * bufferlist.C: add using boost::bind
4136
4137         * MenuBackend.C (MenuNamesEqual): new functor
4138         (hasMenu): use it, and make function const
4139         (hasSubmenu): use nested bind to get rid of compare_memfun.
4140
4141 2004-01-30  André Pönitz  <poenitz@gmx.net>
4142
4143         * BufferView_pimpl.C:
4144         * cursor.C:
4145         * cursor.h:
4146         * cursor_slice.[Ch]:
4147         * lyxfunc.C:
4148         * lyxtext.h:
4149         * paragraph_funcs.C:
4150         * paragraph_funcs.h:
4151         * rowpainter.C:
4152         * text.C:
4153         * text2.C:
4154         * text3.C: move some of the edit(x,y) handling to the insets
4155         some coordinate changes.
4156
4157 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * text.C: add using statements for std::advance and std::distance
4160
4161         * paragraph.C: add using statement for std::distance
4162
4163         * lyxfind.C: add using statement for std::advance
4164
4165         * cursor.C (region): remove std:: from swap
4166         (openable): use nucleus in stead of operator->
4167
4168         * BufferView.C: add using statements for std::distance and std::swap
4169
4170 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * iterators.C: Remove the pimple, move the needed structures to
4173         the header file. Create accessor for the positions stack.
4174         (asPosIterator): remove function
4175
4176         * PosIterator.C (PosIterator): move constructors to top of file
4177         (PosIterator): reimplement the constructor taking a ParIterator in
4178         terms of setFrom.
4179         (setFrom): new function
4180         (operator!=): inline it
4181
4182 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * lyxfind.C (replaceAll): use std::advance
4185
4186         * iterators.h: inherit from std::iterator.
4187
4188         * PosIterator.C (advance, distance): remove
4189         * PosIterator.h: interit from std::iterator.
4190
4191 2004-01-26  André Pönitz  <poenitz@gmx.net>
4192
4193         * BufferView.[Ch]:
4194         * BufferView_pimpl.[Ch]:
4195         * InsetList.[Ch]:
4196         * PosIterator.[Ch]:
4197         * buffer.h:
4198         * bufferview_funcs.C:
4199         * cursor.[Ch]:
4200         * cursor_slice.h:
4201         * factory.[Ch]:
4202         * iterators.[Ch]:
4203         * lyxfind.C:
4204         * lyxfunc.C:
4205         * lyxtext.h:
4206         * output_docbook.C:
4207         * output_latex.C:
4208         * output_linuxdoc.C:
4209         * output_plaintext.C:
4210         * paragraph.[Ch]:
4211         * paragraph_funcs.[Ch]:
4212         * paragraph_pimpl.[Ch]:
4213         * rowpainter.C:
4214         * tabular.C:
4215         * tabular.h:
4216         * text.C:
4217         * text2.C:
4218         * text3.C: more IU:  dumps most of the rest of the mathcursor
4219     implementation into cursor.[Ch]; "globalize" a bit of it.
4220
4221 2004-01-25  Angus Leeming  <leeming@lyx.org>
4222
4223         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4224
4225 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4226
4227         * LaTeXFeatures.h: add nice_ and nice() const
4228         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4229
4230 2004-01-20  André Pönitz  <poenitz@gmx.net>
4231
4232         * BufferView.[Ch]:
4233         * BufferView_pimpl.C:
4234         * PosIterator.C:
4235         * bufferview_funcs.C:
4236         * cursor.[Ch]:
4237         * cursor_slice.[Ch]:
4238         * factory.C:
4239         * iterators.C:
4240         * lyx_cb.C:
4241         * lyxfind.C:
4242         * lyxfunc.C:
4243         * lyxtext.h:
4244         * rowpainter.C:
4245         * text.C:
4246         * text2.C:
4247         * text3.C:
4248         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4249           LCursor and mathcursor parts to LCursor and InsetBase.
4250
4251 2004-01-15  André Pönitz  <poenitz@gmx.net>
4252
4253         * cursor_slice.[Ch]: add a few covienience functions
4254
4255         * funcrequest.[Ch]: remove BufferView * member
4256
4257         * BufferView_pimpl.C:
4258         * cursor.C:
4259         * factory.[Ch]:
4260         * lyxfind.[Ch]:
4261         * lyxfunc.C:
4262         * lyxtext.h:
4263         * text3.C:
4264         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4265
4266 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4267
4268         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4269         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4270
4271 2004-01-13  André Pönitz  <poenitz@gmx.net>
4272
4273         * textcursor.[Ch]:
4274         * lyxtext.h: hide cursor and selection anchor behind accessor function
4275
4276         * BufferView.C:
4277         * BufferView_pimpl.[Ch]:
4278         * PosIterator.C:
4279         * bufferview_funcs.C:
4280         * cursor.h:
4281         * lyxfind.C:
4282         * lyxfunc.C:
4283         * text.C:
4284         * text2.C:
4285         * text3.C:
4286         * undo.C: adjust
4287
4288         * cursor.h:
4289         * cursor_slice.[Ch]: some integer type changes for inset unification
4290
4291         * lyxcursor.[hC]: remove, it's CursorSlice now.
4292
4293         * Makefile.am:
4294         * BufferView_pimpl.[Ch]:
4295         * bufferview_funcs.C:
4296         * cursor_slice.C:
4297         * lyxtext.h:
4298         * text.C:
4299         * text2.C:
4300         * text3.C:
4301         * textcursor.[Ch]: adjust
4302
4303 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4304
4305         * text2.C (undoSpan): add and use
4306         * text.C (breakParagraph): use undoSpan (fix bug 578)
4307         * lyxtext.h: adjust
4308
4309 2004-01-08  Angus Leeming  <leeming@lyx.org>
4310
4311         * BufferView_pimpl.C (MenuInsertLyXFile):
4312         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4313         * lyxfunc.C (menuNew, open, doImport):
4314         FileFilterList change to the FileDialog open and save functions.
4315
4316 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * ShareContainer.h: make isEqual and isUnique adaptable
4319
4320         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4321
4322 2004-01-07  Angus Leeming  <leeming@lyx.org>
4323
4324         * LyXAction.C:
4325         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4326
4327         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4328
4329         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4330         functions replacing find, replace and replaceAll.
4331
4332         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4333         LFUN_WORDFIND(FORWARD|BACKWARD).
4334
4335 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4336
4337         * text.C (breakParagraph): remove an outdated #warning
4338
4339 2004-01-07  André Pönitz  <poenitz@gmx.net>
4340
4341         * lyxfind.C: somewhat clearer logic
4342
4343         * text.C: prevent crash in cursorX on unitialized row cache
4344
4345 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4346
4347         * lyxcursor.[Ch] (operator>): add
4348         * textcursor.C (selStart, selEnd): use std::min and std::max
4349
4350 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * Chktex.C: include boost/format.hpp
4353
4354 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * InsetList.C: replace functor MathcIt with adaptable functor
4357         InsetTablePosLess
4358         (insetIterator): modify accordingly
4359
4360         * BranchList.h: move the BranchNamesEqual functor here from...
4361         * BranchList.C: ... to here
4362
4363         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4364         SameName and match.
4365         (add): replace a finding loop with std::find_if.
4366
4367 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4368
4369         * output_docbook.C: moving LatexParam functionality into
4370         .layout files
4371
4372 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4373
4374         * buffer.C: increment format to 229.
4375
4376 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4377
4378         * LaTeXFeatures.C:
4379         * lyx_sty.[Ch]: remove minipageindent_def
4380
4381         * LyXAction.C:
4382         * factory.C:
4383         * lfuns.h:
4384         * lyxfunc.C:
4385         * text3.C: remove LFUN_INSET_MINIPAGE
4386
4387 2003-12-28  Angus Leeming  <leeming@lyx.org>
4388
4389         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4390
4391 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4392
4393         * text2.C (setParagraph): fix off-by-one crash
4394
4395 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4396
4397         * output_docbook.C: header stuff for AGU
4398
4399 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4400
4401         * text2.C (redoCursor): remove
4402         * text.C:
4403         * text3.C:
4404         * BufferView_pimpl.C: remove calls to redoCursor and
4405         setCursor(cursor.par(), cursor.pos()) all around
4406
4407 2003-12-15  Angus Leeming  <leeming@lyx.org>
4408
4409         * buffer.C: up the format to 228.
4410
4411 2003-12-15  André Pönitz  <poenitz@gmx.net>
4412
4413         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4414         slices
4415
4416         * Makefile.am:
4417
4418         * BufferView_pimpl.C:
4419         * cursor.[Ch]:
4420         * lyxcursor.[Ch]:
4421         * rowpainter.[Ch]:
4422         * lyxtext.h:
4423         * text.C:
4424         * text2.C:
4425         * text3.C: adjust
4426
4427 2003-12-15  Angus Leeming  <leeming@lyx.org>
4428
4429         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4430         than getFromGUIName to manipulate the color.
4431
4432 2003-12-14  Angus Leeming  <leeming@lyx.org>
4433
4434         * BranchList.[Ch]: minimize the API.
4435         (Branch::getBranch, getColor): now return a 'const &'.
4436         (Branch::setSelected) now returns a bool set to true if the
4437         selection status changes.
4438         (BranchList::clear, size, getColor, setColor, setSelected,
4439         allBranches, allSelected, separator): removed.
4440         (BranchList::find): new functions, returning the Branch with
4441         the given name.
4442         (BranchList::add, remove): return a bool indicating that
4443         the operation was successful.
4444
4445         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4446         new InsetBranch::isBranchSlected member function.
4447
4448         * LColor.[Ch]: mimimize the API.
4449         (fill): renamed as addColor and made private.
4450         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4451         versions of these functions taking a string arg have been removed.
4452
4453         * bufferparams.C (readToken):
4454         * lyxfunc.C (dispatch):
4455         * lyxrc.C (read): changes due to the altered BranchList and
4456         LColor APIs.
4457
4458         * factory.C (createInset, readInset): changes due to altered
4459         InsetBranch c-tor.
4460
4461 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4462
4463         * factory.C:
4464         * lyxfunc.C: remove insetminipage. "minipage-insert"
4465         now produces a frameless minipage box inset.
4466
4467 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4468
4469         * textcursor.[Ch] (selStart,selEnd): add new methods
4470         remove selection::start, end, use LyXCursor::operator<
4471         * lyxcursor.[Ch] (operator<): add
4472         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4473         * BufferView.[Ch] (unsetXSel): add
4474         * text2.C (clearSelection): use unsetXSel,adjust
4475         * text.C: adjust
4476         * text3.C: adjust
4477         * rowpainter.C: adjust
4478         * bufferview_funcs.C (put_selection_at): adjust
4479
4480 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4481
4482         * BufferView_pimpl.C: small coord. correction
4483
4484 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4485
4486         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4487         dragging over the splash screen.
4488
4489 2003-12-11  Angus Leeming  <leeming@lyx.org>
4490
4491         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4492         as it is now handled in LyXText::dispatch.
4493
4494         * text3.C (doInsertInset): remove a level of nesting.
4495
4496 2003-12-11  Angus Leeming  <leeming@lyx.org>
4497
4498         * factory.C (createInset): changes due to the changed interface to
4499         InsetCommandMailer::string2params.
4500
4501 2003-12-10  Angus Leeming  <leeming@lyx.org>
4502
4503         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4504         'dialog-show-new-inset <inset name>'
4505
4506 2003-12-10  Angus Leeming  <leeming@lyx.org>
4507
4508         * buffer.C: up the format to 227.
4509
4510         * factory.C: the box inset is now identified simply by 'Box'.
4511
4512 2003-12-10  Angus Leeming  <leeming@lyx.org>
4513
4514         * buffer.C: up the format to 226.
4515
4516         * factory.C: the note inset is now identified simply by 'Note'.
4517
4518 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4519
4520         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4521         when a pit is enough. Standarize a couple of loops.
4522
4523 2003-12-05  Angus Leeming  <leeming@lyx.org>
4524
4525         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4526         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4527         data to the re-worked "log" dialog.
4528
4529 2003-12-03  André Pönitz  <poenitz@gmx.net>
4530
4531         * PosIterator.C:
4532         * iterators.C:
4533         * lyxtext.h:
4534         * output_latex.C:
4535         * paragraph_funcs.C:
4536         * text.C:
4537         * text2.C: use Inset::getText instead of Inset::getParagraph
4538
4539 2003-12-03  André Pönitz  <poenitz@gmx.net>
4540
4541         * buffer.[Ch]:
4542         * lyxtext.h:
4543         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4544         InsetText::read() as LyXText::read()
4545
4546 2003-12-02  Angus Leeming  <leeming@lyx.org>
4547
4548         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4549         type. Add a comment in the implementation that the function uses
4550         the stream's bad() function rather than fail() as the std::streams
4551         would do.
4552
4553 2003-12-02  André Pönitz  <poenitz@gmx.net>
4554
4555         * lyxlex.[Ch]: make interface more similar to std::stream
4556
4557         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4558
4559 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4560
4561         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4562
4563 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4564
4565         * vspace.[Ch]: remove VSpace::NONE
4566
4567 2003-12-01  André Pönitz  <poenitz@gmx.net>
4568
4569         * buffer.[Ch]:
4570         * lyxtext.h: move ParagraphList member to LyXText
4571         rename LyXText::ownerParagraphs to LyXText::paragraph
4572
4573         * CutAndPaste.C:
4574         * bufferview_funcs.C:
4575         * iterators.[Ch]:
4576         * lyx_cb.C:
4577         * paragraph.C:
4578         * rowpainter.C:
4579         * tabular.C:
4580         * text.C:
4581         * text2.C:
4582         * text3.C: adjust
4583
4584         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4585
4586         * undo.C: fix cursor positioning
4587
4588 2003-12-01  John Levon  <levon@movementarian.org>
4589
4590         * BufferView_pimpl.C: fix a crash on exit with
4591         a buffer open
4592
4593 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4594
4595         * BranchList.C: fix setSelected() method.
4596
4597 2003-11-28  André Pönitz  <poenitz@gmx.net>
4598
4599         * ParagraphParameters.[Ch]:
4600         * ParameterStruct.h: remove space above/below from Paragraph to
4601          InsetVSpace
4602
4603         * BufferView_pimpl.C:
4604         * factory.C:
4605         * lyxfunc.C:
4606         * lyxtext.h:
4607         * output_latex.C:
4608         * paragraph.C:
4609         * paragraph_funcs.C:
4610         * rowpainter.[Ch]:
4611         * text.C:
4612         * text2.C:
4613         * text3.C: adjust
4614
4615 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * factory.C: Syntax change for CharStyles
4618
4619 2003-11-28  André Pönitz  <poenitz@gmx.net>
4620
4621         * BufferView.[Ch]:
4622         * BufferView.[Ch]:
4623         * buffer.[Ch]:
4624         * buffer.[Ch]: move LyXText member
4625
4626 2003-11-28  André Pönitz  <poenitz@gmx.net>
4627
4628         * BufferView.[Ch]: make LyXText * text a private member
4629
4630         * BufferView_pimpl.C:
4631         * cursor.C:
4632         * iterators.C:
4633         * lyx_cb.C:
4634         * lyxfind.C:
4635         * lyxtext.h:
4636         * rowpainter.[Ch]:
4637         * text.C:
4638         * text2.C:
4639         * undo.C: adjust
4640
4641         * output_plaintext.C: cleanup
4642
4643 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4644
4645         * buffer.C:
4646         * lyxtextclass.[Ch]: parametrize SGML document header
4647
4648 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * converter.[Ch]:
4651         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4652         getFlavor().
4653
4654 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4655
4656         * text2.C (setFont): rework using PosIterator (no more recursive)
4657         (setCharFont): no more needed
4658         (setLayout): no more selection cursors fiddling (done by redoCursor)
4659         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4660         destroy remaining ones)
4661
4662 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4663
4664         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4665         * lyxtext.h: ditto
4666         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4667         selection cursors
4668         * lyxfunc.C: adjust
4669         * text3.C: adjust + re-allow multi par depth changes
4670         * textcursor.C: simplify a bit
4671
4672 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4673
4674         * src/buffer.C:
4675         * src/lyxlayout.C:
4676         * src/lyxlayout.h:
4677         * src/lyxtext.h:
4678         * src/output_docbook.C:
4679         * src/output_latex.C:
4680         * src/paragraph.C:
4681         * src/paragraph.h:
4682         * src/sgml.C:
4683         * src/sgml.h:
4684         * src/text2.C: Introducing a number of tags parametrizing various
4685         XML formats that we may want to support
4686
4687 2003-11-25  André Pönitz  <poenitz@gmx.net>
4688
4689         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4690
4691         * lyxtext.h (leftMargin/rightMargin): simplify interface
4692
4693         * rowpainter.C:
4694         * text.C:
4695         * text2.C:
4696         * text3.C: adjust
4697
4698 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4699
4700         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4701         master file to any child files. Fixes bug 546.
4702
4703 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4704
4705         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4706
4707 2003-11-24  André Pönitz  <poenitz@gmx.net>
4708
4709         * rowpainter.C: simplification
4710
4711         * text2.C (updateCounters): remove call to redoParagraph on
4712         changed labels as this is far too expensive.
4713
4714 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4715
4716         * converter.C (convert): fix a crash: this function gets
4717         called with buffer == 0 from importer code.
4718
4719 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * text3.C (cursorPrevious): make sure that we do not compare
4722         iterators form different containers.
4723         (cursorNext): ditto
4724
4725         * rowpainter.C (paintSelection): make sure that we do not compare
4726         iterators from different containers.
4727
4728         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4729         iterators from different ParagraphList containers.
4730         [NEXT] ditto
4731
4732         * text2.C (LyXText): change order of initialization slightly
4733         (operator=): new function. copy all variables except cache_par_
4734         (moveUp): make sure that we do not compare iterators from
4735         different ParagraphList constainers.
4736         (moveDown): ditto
4737
4738         * text.C (firstPar): new function
4739         (lastPar): new function
4740         (endPar): new function
4741
4742         * lyxtext.h: move things around and group public functions, public
4743         variables, private functions, private variables
4744
4745 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4746
4747         * factory.C: change call to InsetERT constructor to avoid
4748         additional invocation of method status
4749         * text2.C (toggleInset): remove redundant update() call
4750         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4751         instead of a Bufferview pointer
4752
4753 2003-11-21  André Pönitz  <poenitz@gmx.net>
4754
4755         * rowpainter.C: simplification
4756
4757 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4758
4759         * text3.C (dispatch): make possible to extend a word/row selection
4760         with the mouse
4761
4762 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4763
4764         * lyxtext.h: x0_,y0_ -> xo_,yo_
4765         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4766         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4767         * rowpainter.C (paintRows): paint full paragraphs
4768
4769 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4770
4771         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4772         screen coordinates)
4773
4774 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4775
4776         * lyxtext.h: add x0_, y0_
4777         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4778         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4779
4780 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4781
4782         * text2.C (setCursorIntern): move the x_target update here *
4783         * text3.C: change some bv() to true/false in calls to
4784         cursorUp/Down/Right/Left
4785         * cursor.C: use helper function.
4786
4787 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4788
4789         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4790         * paragraph_funcs.[Ch]: correct comment
4791         * rowpainter.C: do not paint selections away from bv->cursor()
4792         Fix a long standing selection painting bug.
4793         * text3.C: generalize mouse-selection code to LyXTexts other that
4794         top one
4795         * textcursor.C: do not use y coords if we can use par offsets
4796
4797 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4798
4799         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4800         cursor position after e.g. inset insert)
4801
4802 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4803
4804         * lyxfind.C (replace): adjust to locking removal + some
4805         code simplification
4806
4807 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4808
4809         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4810         of the path
4811
4812 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4813
4814         * lyxlayout.[Ch]:
4815         * output_docbook.C: XML sanitation: new layout
4816         parameters InnerTag and CommandDepth
4817
4818 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4819
4820         * BufferView_pimpl.C:
4821         * factory.C:
4822         * text3.C: Fix the insertion and modification of button-style
4823         insets
4824
4825 2003-11-13  André Pönitz  <poenitz@gmx.net>
4826
4827         * InsetList.[Ch]: remove deleteLyXText
4828
4829         * paragraph.[Ch]: cache beginOfBody position
4830
4831         * Bidi.C:
4832         * text.C:
4833         * text2.C:
4834         * text3.C: remove superfluous update() calls
4835
4836         * vspace.C: cleanup
4837
4838 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4839
4840         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4841         * BufferView.C (fitLockedInsetCursor): remove
4842         * cursor.[Ch] (getDim): add
4843         * text.C (getRowNearY): add faster version
4844         * text3.C: remove some update calls
4845
4846 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4847
4848         * LaTeXFeatures.C:
4849         * LyXAction.C:
4850         * MenuBackend.C:
4851         * MenuBackend.h:
4852         * dispatchresult.h:
4853         * factory.C:
4854         * lfuns.h:
4855         * lyxfunc.C:
4856         * lyxtextclass.C:
4857         * lyxtextclass.h:
4858         * text3.C: The Character Style /XML short element patch.
4859
4860 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4861
4862         * text3.C:
4863         * factory.C: Small step to solving 'unable to insert some insets'
4864         problem
4865
4866 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4867
4868         * cursor.[Ch] (updatePos): new function for updating the y
4869         position of the tip inset
4870         * bufferview_funcs.C (put_selection_at):
4871         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4872
4873 2003-11-11  André Pönitz  <poenitz@gmx.net>
4874
4875         * text.C: remove big comment on invalid Paragraph pointers as it is
4876         not valid anymore
4877
4878 2003-11-11  André Pönitz  <poenitz@gmx.net>
4879
4880         * text_funcs.[Ch]: merge with ...
4881
4882         * text.C: ... this
4883
4884         * lyxtext.h:
4885         * text2.C:
4886         * text3.C: adjust
4887
4888         * Makefile.am: remove text_funcs.[Ch]
4889
4890 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4891
4892         * cursor.C (getPos): return absolute cached y coord
4893
4894         * BufferView_pimpl.C (fitCursor): new simplistic code
4895         (workAreaDispatch): add a fitCursor call
4896
4897 2003-11-10  André Pönitz  <poenitz@gmx.net>
4898
4899         * BufferView.[Ch]:
4900         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4901
4902 2003-11-10  André Pönitz  <poenitz@gmx.net>
4903
4904         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4905         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4906         indicate that the cursor needs to leave an inset
4907
4908         * lyxtext.h: remove inset locking
4909
4910         * cursor.[Ch]: re-implement functionality provided by inset locking
4911
4912         * BufferView.[Ch]:
4913         * BufferView_pimpl.[Ch]:
4914         * LyXAction.C:
4915         * bufferview_funcs.[Ch]:
4916         * factory.C:
4917         * funcrequest.[Ch]:
4918         * iterators.C:
4919         * lyx_cb.C:
4920         * lyxfind.C:
4921         * lyxfunc.C:
4922         * text.C:
4923         * text2.C:
4924         * text3.C:
4925         * undo.C: adjust
4926
4927 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * PosIterator.[Ch]: replace the stack with a vector, add inset
4930         accesor
4931         * iterators.[C]: adjust
4932
4933 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4934
4935         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4936         replaced
4937         * paragraph_funcs.C (readParToken): put the correct id in the
4938         error item, not the id of the top paragraph
4939
4940 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4943         * bufferview_funcs.C (put_selection_at): use the above
4944
4945 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4948
4949 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4950
4951         * output_linuxdoc.h:
4952         * output_plaintext.h:
4953         * output.h:
4954         * output_docbook.h: add #include statements
4955
4956 2003-11-05  José Matos  <jamatos@lyx.org>
4957
4958         * output_docbook.[Ch]:
4959         * output_latex.[Ch]:
4960         * output_linuxdoc.[Ch]:
4961         * output_plaintext.[Ch]: New files for output formats.
4962         * output.[Ch]: New file for helper functions.
4963
4964         * buffer.[Ch]:
4965         * paragraph_funcs.[Ch]: output functions moved to new files.
4966
4967         * outputparams.h: rename of latexrunparams.h
4968
4969         * LaTeX.[Ch]:
4970         * buffer.[Ch]:
4971         * bufferlist.[Ch]:
4972         * converter.[Ch]:
4973         * exporter.C:
4974         * paragraph.[Ch]:
4975         * paragraph_funcs.[Ch]:
4976         * paragraph_pimpl.[Ch]:
4977         * tabular.[Ch]: rename ascii to plaintext
4978         and LatexRunParams to OutputParams.
4979
4980 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * iterators.[Ch] (text): require bv argument
4983         * undo.C (recordUndo):
4984         * lyxfunc.C (dispatch):
4985         * bufferview_funcs.C (put_selection_at): adjust
4986
4987 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4988
4989         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4990
4991 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4992
4993         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4994         nestings
4995
4996 2003-11-04  André Pönitz  <poenitz@gmx.net>
4997
4998         * cursor.[Ch]: restructure
4999
5000         * BufferView.[Ch]:
5001         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5002
5003         * iterators.[Ch] (asCursor): remove
5004
5005         * lfuns.h: remove LFUN_INSET_EDIT
5006
5007         * lyxfunc.C:
5008         * tabular.C:
5009         * text.C:
5010         * text2.C:
5011         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5012
5013 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * lyxfind.[Ch]: complete overhaul
5016         * BufferView_pimpl.C:
5017         * lyxfunc.C: adjust
5018         * paragraph.[Ch] (insert): add
5019
5020 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * BufferView.[Ch]:
5023         * lyxtext.h:
5024         * text.C: remove dead spellcheck code
5025
5026 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027
5028         * dispatchresult.h: add a val setter
5029
5030         * cursor.C (dispatch): use a tempvar for data_[i]
5031
5032 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * PosIterator.[Ch]: compile fix
5035
5036 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * text.C (cursorPar): deactivate the cursor cache
5039
5040 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5041
5042         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5043
5044 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * text3.C (dispatch): adjust for new DisptchResult semantics.
5047
5048         * lyxfunc.C (dispatch): handle update when return from
5049         Cursor::dispatch, adjust for new DispatchResult semantics.
5050
5051         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5052         DispatchResult(true) mean to not update. Add class functions for
5053         setting dispatched and update, as well as reading.
5054
5055         * cursor.C (dispatch): don't handle update here
5056
5057 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5060         * trans_mgr.C: adjust
5061
5062         * paragraph_funcs.C (readParToken): exception safety
5063
5064         * lyxvc.h: store the vcs pointer in a scoped_ptr
5065         * lyxvc.C: adjust
5066
5067         * lyxsocket.C (serverCallback): exception safety
5068
5069         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5070
5071         * ispell.C (clone): make it return a auto_ptr
5072
5073         * factory.C (createInset): exception safety
5074         (readInset): exception safety
5075
5076         * bufferlist.C (newBuffer): exception safety
5077
5078         * Thesaurus.C (Thesaurus): use initialization for aik_
5079
5080         * MenuBackend.C (expandToc): exception safety.
5081
5082 2003-11-03  André Pönitz  <poenitz@gmx.net>
5083
5084         * buffer.C:
5085         * buffer.h:
5086         * bufferview_funcs.C: remove getInsetFromId()
5087
5088         * lyxcursor.[Ch]:
5089         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5090
5091         * lyxfunc.C:
5092         * text2.C:
5093         * text3.C: adjust
5094
5095 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * PosIterator.C (distance, advance): new
5098         * bufferview_funcs.[Ch] (put_selection_at): new
5099         * iterators.[Ch] (lockPath): new
5100
5101 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * iterators.[Ch] (asPosIterator): added
5104         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5105         * PosIterator.[Ch]: added
5106
5107 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * text3.C:
5110         * lyxfunc.C:
5111         * cursor.C (dispatch):
5112         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5113
5114         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5115         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5116         contructor, add a class function dispatched. Remove operator>=
5117
5118 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * debug.C: only use the default constructor for debugstream
5121         (lyxerr) here.
5122
5123         * main.C (main): include debug.h and setup the lyxerr streambuf
5124         here.
5125
5126 2003-10-31  José Matos  <jamatos@lyx.org>
5127
5128         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5129
5130         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5131         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5132         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5133         * paragraph_pimpl.C (simpleTeXSpecialC):
5134         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5135         add LatexRunParams argument.
5136
5137         * exporter.C (Export): change call accordingly.
5138
5139         * latexrunparams.h: add new member to take care of the other backends.
5140 2003-10-30  José Matos  <jamatos@lyx.org>
5141
5142         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5143         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5144         factorise code for paragraph output.
5145         * buffer.[Ch]:
5146         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5147         move functions.
5148
5149 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * text3.C (dispatch):
5152         * lyxfunc.C (dispatch):
5153         * cursor.C (dispatch):
5154         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5155
5156         * dispatchresult.h: make the dispatch_result_t ctor explicit
5157
5158 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5159
5160         * sgml.[Ch]:
5161         * buffer.C: small refactoring of docbook stuff
5162
5163 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5166         meaning.
5167
5168 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5171         operator dispatch_result_t, and operators for == != and >=
5172
5173         * cursor.C (dispatch): adjust for operator dispatch_result_t
5174         removal. comment out call to update
5175
5176         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5177
5178 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * text3.C:
5181         * text2.C:
5182         * text.C:
5183         * lyxtext.h:
5184         * lyxfunc.C:
5185         * cursor.C:
5186         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5187         (dispatch):
5188
5189         * dispatchresult.h: new file, DispatchResult broken out of
5190         insets/insetbase.h
5191
5192         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5193
5194 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5195
5196         * text.C (rowBreakPoint): put a hack inside #if 0
5197
5198 2003-10-28  André Pönitz  <poenitz@gmx.net>
5199
5200         * lyxtext.h:
5201         * metricsinfo.C:
5202         * paragraph_funcs.C:
5203         * rowpainter.C:
5204         * text.C:
5205         * text2.C: general cleanup (lots of small stuff)
5206
5207 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * text2.C (cursorEnd): simple fix to the "end key goes to one
5210         before the end on last row" bug
5211
5212 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * text.C (backspace): fix the "zombie characters"
5215
5216 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5217
5218         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5219
5220 2003-10-27  André Pönitz  <poenitz@gmx.net>
5221
5222         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5223
5224         * factory.C: handle new InsetPagebreak, InsetLine
5225
5226         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5227         and move handling into new InsetPagebreak, InsetLine
5228
5229         * BufferView_pimpl.C:
5230         * LyXAction.C:
5231         * ParagraphParameters.C:
5232         * ParameterStruct.h:
5233         * lyxfunc.C:
5234         * lyxtext.h:
5235         * paragraph.C:
5236         * paragraph.h:
5237         * paragraph_funcs.C:
5238         * paragraph_pimpl.C:
5239         * rowpainter.C:
5240         * text.C:
5241         * text2.C:
5242         * text3.C: adjust
5243
5244 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5245
5246         * text.C:
5247         * lyxrow_funcs.[Ch]:
5248         * Bidi.C:
5249         * paragraph.C:
5250         * lyxtext.h:
5251         * rowpainter.C:
5252         * text2.C:
5253         * text3.C: remove lastPos uses in favour of Row::endpos
5254
5255 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * undo.C (performUndoOrRedo): fix two crashes by setting a
5258         cursor by hand and reordering some calls. Use bv->lockInset instead
5259         of inset->edit because the latter loses cursor information
5260
5261 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5262
5263         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5264         by Martin
5265         (rowBreakPoint): fix width. change point to point + 1.
5266         Add a missing check.
5267
5268 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5269
5270         * MenuBackend.C:
5271         * lyxfunc.C: fix (at least partly) the problems
5272         with the Nav menu and headers inside branch insets
5273         reported by Kayvan
5274
5275 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * paragraph.C (getChar): add strong asserts
5278
5279         * lyxrow_funcs.C (lastPos): remove hideous hack
5280
5281         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5282         (fill): adjust to that (avoid an infinite loop)
5283
5284 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5287
5288 2003-10-23  André Pönitz  <poenitz@gmx.net>
5289
5290         * RowList_fwd.h: change list<> to vector<> to gain speed
5291         after suggestion from Alfredo
5292
5293 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * lyxtext.h: move the bidi stuff from here...
5296         * text.C: and here
5297         * text2.C: and here
5298         * Bidi.[Ch]: ... to here
5299
5300 2003-10-23  André Pönitz  <poenitz@gmx.net>
5301
5302         * lyxtext.h:
5303         * text.C (isLastRow, isFirstRow): new functions
5304
5305         * paragraph.h: new width cache member
5306
5307         * rowpainter.C: replace RowList::iterator with Row & where possible
5308
5309         * lyxfunc.C: replace several view()->text with a single call
5310
5311         * toc.C: fix 'unused' warning
5312
5313 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5316         when woring with stream::pos_type
5317         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5318
5319 2003-10-22  André Pönitz  <poenitz@gmx.net>
5320
5321         * lyxtext.h:
5322         * text.C: use Row & instead of RowList::iterator
5323
5324         * lyxrow.h: rename end() to endpos()
5325
5326         * rowpainter.C:
5327         * text.C:
5328         * text2.C: adjust
5329
5330 2003-10-22  Angus Leeming  <leeming@lyx.org>
5331
5332         * buffer.[Ch] (fully_loaded): new member function, returning true
5333         only when the file has been loaded fully.
5334         Used to prevent the premature generation of previews and by the
5335         citation inset to prevent computation of the natbib-style label.
5336
5337         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5338         templates are all set up.
5339
5340         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5341
5342 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5343
5344         * text.C: fixed an "oops" in the "is a bit silly"
5345         bug fix
5346
5347 2003-10-21  André Pönitz  <poenitz@gmx.net>
5348
5349         * FuncStatus.[Ch]: small stuff, whitespace
5350
5351         * lyxfont.[Ch]: operator<<() for debug reasons
5352
5353         * lyxfunc.C:
5354         * lyxrow_funcs.C:
5355         * lyxtext.h: whitespace, spelling
5356
5357         * paragraph.C: naming of variables
5358
5359         * text.C:
5360         * text2.C: small stuff
5361
5362
5363 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5364
5365         * text.C: (1) finish off the inset display() work;
5366         (2) fix the "is a bit silly" bug (accessing char
5367         past end of par).
5368
5369 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5370
5371         * text.C: re-introduce display() for insets, fixing the
5372         various bugs (stretch of line above, math inset
5373         positioning, ...)
5374
5375 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5376
5377         * text.C (rightMargin): remove spurious semicolon
5378
5379         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5380         1415)
5381
5382 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5383
5384         * text3.C: fix one crash due to wrong cursor def
5385
5386 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * vc-backend.C (scanMaster): make the regex static
5389
5390         * LaTeX.C (scanAuxFile): make the regexs static
5391
5392         * text3.C (doInsertInset, dispatch, dispatch):
5393         * text2.C (cursorUp, cursorDown):
5394         * text.C (selectNextWordToSpellcheck):
5395         * BufferView_pimpl.C (dispatch):
5396         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5397
5398 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5399
5400         * lyxsocket.C: include <cerrno>
5401
5402 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * lyxfunc.C (dispatch): remove textcache stuff
5405
5406         * bufferlist.C (release): remove textcache stuff
5407         (closeAll): ditto
5408
5409         * TextCache.C: delete file
5410         * TextCache.h: delete file
5411
5412         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5413
5414         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5415         delete of the bv_->text.
5416         (resizeCurrentBuffer): remove texcache stuff
5417         (workAreaResize): ditto
5418
5419 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5422         action.
5423
5424 2003-10-16  André Pönitz  <poenitz@gmx.net>
5425
5426         * lyxrow.[Ch]:
5427         * paragraph.h:
5428         * rowpainter.C:
5429         * text.C:
5430         * text2.C:
5431         * text3.C: speed up by storing y positions per paragraph plus per-row
5432         offset instead of having a 'full' y position in the row.
5433
5434 2003-10-15  André Pönitz  <poenitz@gmx.net>
5435
5436         * iterators.[Ch]:
5437         * iterators.[Ch]:
5438         * undo.[Ch]: make undo aware of inner insets
5439
5440 2003-10-14  Angus Leeming  <leeming@lyx.org>
5441
5442         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5443         static member functions LyX::ref() and LyX::cref.
5444         (lastfiles): new accessor functions for the new lastfiles_ member var.
5445         (addLyXView, views_): add a new LyXView to the list of views_.
5446         (updateInset): loop over all LyXViews to call their own updateInset
5447         member function, returning a pointer to the Buffer owning the inset.
5448
5449         * BufferView_pimpl.C (loadLyXFile):
5450         * MenuBackend.C (expandLastfiles):
5451         * bufferlist.C (MenuWrite, QuitLyX):
5452         lastfiles is no longer a global variable.
5453         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5454
5455         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5456         static function. Access through LyX::cref().emergencyCleanup().
5457
5458 2003-10-14  André Pönitz  <poenitz@gmx.net>
5459
5460         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5461
5462         * undo.[Ch]: restoring part of 'undo in insets'
5463
5464         * Makefile.am:
5465         * undo_funcs.[Ch]: merge with undo.[Ch]
5466
5467         * tabular.C: small cleansing stuff
5468
5469 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5470
5471         * paragraph_funcs.C (readParToken): report unknown insets as error
5472         boxes. Use the outer paragraph as location (also for unknown
5473         tokens).
5474
5475         * factory.C (readInset): do not abort on reading an unknown inset.
5476         Eat it and return 0.
5477
5478 2003-10-13  Angus Leeming  <leeming@lyx.org>
5479
5480         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5481
5482         * lyxrc.C: displayTranslator is now a function,
5483         declared in GraphicsTypes.h.
5484
5485 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5486
5487         * format.C: new placeholder $$a to pass the socket address.
5488
5489         * bufferlist.[Ch]: new function getBufferFromTmp.
5490
5491         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5492           files in the temporary dir.
5493
5494 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5495
5496         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5497
5498         * Makefile.am: add lyxsocket.[Ch].
5499
5500         * lyx_main.C (error_handler): handle SIGPIPE.
5501
5502 2003-10-13  André Pönitz  <poenitz@gmx.net>
5503
5504         * BufferView_pimpl.C:
5505         * lyxtext.h:
5506         * text.C:
5507         * text2.C:
5508         * text3.C:
5509         * undo_funcs.[Ch]: use paroffset_type instead of
5510           ParagraphList::iterators to prevent multiple conversion
5511           (and get a more robust interface)
5512
5513 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5516         * lyxtext.h: ditto
5517         * text3.C (dispatch): ditto
5518
5519 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5522         move the onlyfile, use onlyfile instead of foundfile in a couple
5523         of places.
5524
5525         * DepTable.C (update): flush the error stream a bit more
5526
5527 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * lyxserver.C (callback): adjust
5530
5531         * lyxfunc.C (getStatus): add a missing brace in commented code
5532         (ensureBufferClean): reindent
5533         (dispatch): delete version taking a string
5534
5535 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * LaTeX.C (deplog): move found file handlig from here...
5538         (handleFoundFile): .. to new function here.
5539         (deplog): make sure to discover several files mentioned on the
5540         same log line.
5541
5542 2003-10-10  André Pönitz  <poenitz@gmx.net>
5543
5544         * lyxfunc.C:
5545         * lyxtext.h:
5546         * tabular.C:
5547         * text.C:
5548         * text2.C:
5549         * text3.C: fix some of the tabular crashes
5550
5551 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5552
5553         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5554
5555         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5556
5557 2003-10-09  André Pönitz  <poenitz@gmx.net>
5558
5559         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5560
5561         * BufferView.C:
5562         * BufferView_pimpl.C:
5563         * bufferview_funcs.C:
5564         * lyx_cb.C:
5565         * lyxcursor.C:
5566         * lyxfind.C:
5567         * lyxfunc.C:
5568         * lyxtext.h:
5569         * text.C:
5570         * text2.C:
5571         * text3.C:
5572         * text_funcs.[Ch]:
5573         * textcursor.[Ch]:
5574         * undo_funcs.C: adjust
5575
5576 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * text2.C (incrementItemDepth): new function, use a backtracking
5579         algorithm to discover the correct item depth.
5580         (resetEnumCounterIfNeeded): new function, use a backtracking
5581         algorithm to discover if counter reset is needed.
5582         (setCounter): use them. Simplify a bit. Add different labels for
5583         different item depths for itemize.
5584
5585         * paragraph.C (Paragraph): remove initialization of enumdepth
5586         (operator=): ditto
5587
5588         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5589         enumerate and itemize. Change the type of itemdepth to signed char.
5590
5591 2003-10-08  André Pönitz  <poenitz@gmx.net>
5592
5593         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5594           thing assignable.
5595         * text.C:
5596         * text2.C: adjust
5597
5598         * tabular.[Ch]: fix crash after 'row-insert'
5599
5600 2003-10-08  Angus Leeming  <leeming@lyx.org>
5601
5602         Fix doxygen warnings.
5603
5604         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5605         Remove CutAndPaste:: prefix from header file declaration.
5606
5607         * LColor.h (fill): remove LColor:: prefix from declaration.
5608
5609         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5610         use lyx::depth_type rather than Paragraph::depth_type so that
5611         header file and .C file match.
5612
5613         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5614
5615         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5616         * aspell.C: \file aspell_local.C -> \file aspell.C
5617         * gettext.C: \file gettext.C -> \file src/gettext.C
5618         * gettext.h: \file gettext.h -> \file src/gettext.h
5619         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5620         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5621         * text.C: \file text.C -> \file src/text.C
5622
5623         * toc.C: move comment so that doxygen is not confused.
5624
5625 2003-10-07  Angus Leeming  <leeming@lyx.org>
5626
5627         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5628
5629 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5630
5631         * aspell.C:
5632         * aspell_local.h: add forgotten std::string's.
5633
5634 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5635
5636         * LaTeXFeatures.C:
5637         * LyXAction.C:
5638         * factory.C:
5639         * lfuns.h:
5640         * lyxfunc.C:
5641         * text3.C: The Box patch. Fancybox support, minipage, parbox
5642
5643 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5644
5645         * CutAndPaste.h:
5646         * DepTable.h:
5647         * FloatList.h:
5648         * LaTeXFeatures.h:
5649         * ParagraphParameters.h:
5650         * TextCache.h:
5651         * Thesaurus.h:
5652         * bufferlist.h:
5653         * exporter.h:
5654         * importer.h:
5655         * lastfiles.h:
5656         * lyxfind.h:
5657         * lyxfont.h:
5658         * lyxlex.h:
5659         * lyxtextclasslist.h:
5660         * messages.h:
5661         * paragraph.h:
5662         * paragraph_pimpl.C:
5663         * textcursor.h: add <string> and other small fixes to make Lars'
5664         std::string patch compile with STLport.
5665
5666 2003-10-06  Angus Leeming  <leeming@lyx.org>
5667
5668         * LColor.h: Add missing #include <string>.
5669
5670 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * All most all file in all subdirs: Make <string> be the prefered
5673         way of getting to std::string, add using declarations.
5674
5675 2003-10-06  André Pönitz  <poenitz@gmx.net>
5676
5677         * metricsinfo.C: initialize LyXFont before changing attribute.
5678         (fixes the 'math in \emph is upright' bug)
5679
5680 2003-10-06  André Pönitz  <poenitz@gmx.net>
5681
5682         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5683
5684 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5685
5686         * graph.C:
5687         * paragraph_pimpl.C: Small fixes to build using STLport
5688
5689 2003-10-02  André Pönitz  <poenitz@gmx.net>
5690
5691         * lyxfunc.C:
5692         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5693
5694 2003-10-01  André Pönitz  <poenitz@gmx.net>
5695
5696         * factory.C: assert early
5697
5698 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5699
5700         * lyx_main.C: remove the global debug object
5701
5702         * debug.h: adjust for new debugstream
5703
5704         * debug.C: adjust for new debugstream and keep the global debug
5705         object here.
5706
5707 2003-09-22  Angus Leeming  <leeming@lyx.org>
5708
5709         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5710         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5711         an incomplete class LyXFont.
5712
5713 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5714
5715         * factory.C: bug fix in branches
5716
5717 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * lyxfunc.C (processKeySym): adjust
5720         (dispatch): adjust
5721         (dispatch): change arg name from ev to func, adjust
5722         (sendDispatchMessage): ditto
5723
5724         * lyx_main.C (defaultKeyBindings): adjust keybindings
5725         (deadKeyBindings): ditto
5726
5727         * kbsequence.C (addkey): return a FuncRequest
5728
5729         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5730
5731         * kbmap.C (bind): take a FuncRequest as arg, adjust
5732         (read): adjust
5733         (lookup): adjust
5734         (defkey): change to take a FuncRequest as arg, adjust
5735         (findbinding): take a FuncRequest as arg, adjust.
5736
5737         * funcrequest.h (operator=): added
5738
5739         * funcrequest.C (FuncRequest): default kb_action changed from
5740         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5741
5742         * buffer.C (dispatch): simplify
5743         (dispatch): adjust to take a FuncRequest as arg, adjust
5744
5745         * boost.C (assertion_failed): change assertion message slightly
5746
5747         * ToolbarBackend.C (read): simplify
5748
5749         * MenuBackend.C (binding): adjust call to findbinding, add a
5750         message if no binding is found.
5751         (read): simplify
5752         (expandToc): correct by adding a empty FuncRequest
5753
5754         * LyXAction.C: include <boost/assert.hpp>
5755         (isPseudoAction): delete function
5756         (LookupFunc): change name to...
5757         (lookupFunc): this. change return type to FuncRequest.
5758         (getActionName): take kb_action as arg, simplify
5759         (funcHasFlag): add an assert, simplify.
5760
5761 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * toc.C (action): return a FuncRequest, simplify
5764
5765         * lyxfunc.C (processKeySym): adjust
5766         (getStatus): delete version that takes an int.
5767         (getStatus): adjust
5768         (dispatch): delete version that takes action as int
5769         (dispatch): adjust
5770         (sendDispatchMessage): simplify and adjust
5771
5772         * funcrequest.C (getArg): take unsigned int as arg
5773
5774         * ToolbarBackend.C (read): adjust
5775         (add): delete version that takes func as a string.
5776         (getIton): take a FuncRequest as arg
5777
5778         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5779         action.
5780
5781         * MenuBackend.C (MenuItem): add a new construct that only takes a
5782         Kind, simplify the constructor use for submenus.
5783         (add): adjust
5784         (expandLastfiles): adjust
5785         (expandDocuments): adjust
5786         (expandFormats): adjust
5787         (expandFloatListInsert): adjust
5788         (expandFloatInsert): adjust
5789         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5790
5791         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5792         Remove class variables lyx_pseudo_map and lyx_arg_map
5793
5794         * LyXAction.C (searchActionArg): delete function
5795         (getPseudoAction): delete function
5796         (retrieveActionArg): delete function
5797         (LookupFunc): make it return kb_action, simplify.
5798         (getActionName): simplify
5799
5800         * factory.C (createInset): fix new bug
5801
5802 2003-09-19  Angus Leeming  <leeming@lyx.org>
5803
5804         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5805         masterFilename_ parameter in the include inset.
5806
5807         * factory.C (createInset): changes due to the changes to InsetInclude.
5808
5809 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5810
5811         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5812
5813 2003-09-18  Angus Leeming  <leeming@lyx.org>
5814
5815         * buffer.C:
5816         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5817         Inset::fillWithBibKeys.
5818         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5819
5820 2003-09-18  Angus Leeming  <leeming@lyx.org>
5821
5822         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5823         variables.
5824         (ctor): pass and store a 'Buffer const &'
5825         (buffer): new member function.
5826
5827         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5828         '*this' to the LaTeXFeatures ctor.
5829
5830 2003-09-18  Angus Leeming  <leeming@lyx.org>
5831
5832         * LColor.h:
5833         * lyxfont.C:
5834         * lyxfont.h:
5835         * lyxtext.h:
5836         * text.C: rename EnumLColor as LColor_color.
5837
5838 2003-09-18  Angus Leeming  <leeming@lyx.org>
5839
5840         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5841         remove #include "insets/insetbase.h" from cursor.h.
5842
5843 2003-09-18  Angus Leeming  <leeming@lyx.org>
5844
5845         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5846         InsetOld_code to remove #include "inset.h".
5847
5848         * iterators.C: add #include "insets/inset.h"
5849
5850 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5851
5852         * BufferView.C: remove more locking stuff that apparently doesn't
5853         do anything sensible.
5854
5855 2003-09-16  André Pönitz  <poenitz@gmx.net>
5856
5857         * paragraph.[Ch]:
5858         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5859           performance boost.
5860
5861 2003-09-16  Angus Leeming  <leeming@lyx.org>
5862
5863         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5864
5865         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5866         arg/return type.
5867
5868         * paragraph.h: remove #include "lyxfont.h". Forward declare
5869         LyXFont_size.
5870
5871 2003-09-16  Angus Leeming  <leeming@lyx.org>
5872
5873         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5874         of support/textutils.h.
5875         (isWord): move the contents of support/textutils.h's IsWordChar here.
5876
5877         * buffer.C:
5878         * lyxfind.C:
5879         * rowpainter.C:
5880         * text.C:
5881         * text2.C: add #include "paragraph.h".
5882
5883         * rowpainter.C:
5884         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5885
5886 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * main.C:
5889         * lyx_main.C:
5890         * lyx_cb.C:
5891         * buffer.C:
5892         * LaTeX.C: use namespace alias for lyx::support::os
5893
5894 2003-09-16  Angus Leeming  <leeming@lyx.org>
5895
5896         * bufferparams.C:
5897         * bufferview_funcs.C:
5898         * factory.C:
5899         * lyxfunc.C:
5900         * paragraph_pimpl.C:
5901         * rowpainter.C:
5902         * text.C: add #include "LColor.h".
5903
5904 2003-09-16  Angus Leeming  <leeming@lyx.org>
5905
5906         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5907         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5908         return LyXFont &.
5909         Store the FontBits::color variable as an int rather than as an
5910         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5911         file.
5912
5913         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5914         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5915         string calls together.
5916
5917         * lyxrc.C: add #include "LColor.h".
5918
5919 2003-09-15  Angus Leeming  <leeming@lyx.org>
5920
5921         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5922         a cow_ptr.
5923
5924 2003-09-15  Angus Leeming  <leeming@lyx.org>
5925
5926         * LColor.h: add an EnumLColor wrapper for LColor::color.
5927
5928         * lyxfont.[Ch] (color, setColor, realColor):
5929         * lyxtext.h, text.C (backgroundColor):
5930         pass EnumLColor args to/from the functions, rather than LColor::color
5931         ones.
5932
5933         * lyxfont.h:
5934         * lyxtext.h: forward declare EnumLColor.
5935
5936         * lyx_main.C: add #include "LColor.h".
5937
5938 2003-09-15  Angus Leeming  <leeming@lyx.org>
5939
5940         * .cvsignore: add lyx-gtk.
5941
5942 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * Chktex.C
5945         * LaTeX.C
5946         * LaTeXFeatures.C
5947         * ParagraphParameters.C
5948         * Spacing.C
5949         * buffer.C
5950         * bufferparams.C
5951         * bufferview_funcs.C
5952         * chset.C
5953         * counters.C
5954         * funcrequest.C
5955         * lyxfont.C
5956         * lyxgluelength.C
5957         * lyxlength.C
5958         * paragraph.C
5959         * paragraph_funcs.C
5960         * text3.C
5961         * vc-backend.C: remove usage of STRCONV
5962
5963 2003-09-15  Angus Leeming  <leeming@lyx.org>
5964
5965         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5966         explicitly define the color passed to the painter.
5967
5968 2003-09-15  Angus Leeming  <leeming@lyx.org>
5969
5970         * bufferparams.C (BufferParams): reorder member initializers to avoid
5971         compiler warning.
5972
5973 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5974
5975         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5976         * text.C (updateRowPositions): remove an unusual nop
5977
5978 2003-09-12  André Pönitz  <poenitz@gmx.net>
5979
5980         * BufferView_pimpl.C:
5981         * Bullet.C:
5982         * layout.h:
5983         * lyxfunc.C:
5984         * lyxlayout.[Ch]:
5985         * lyxtextclass.C:
5986         * rowpainter.C:
5987         * text.C:
5988         * text2.C:
5989         * Counters.[Ch]: finish the 'automatic counters' job
5990
5991 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5992
5993         * aspell.C: include <boost/assert.cpp> (compile fix)
5994
5995 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5996
5997         * boost.C (assertion_failed): use lyx::support::abort instead of
5998         assert.
5999
6000 2003-09-10  Angus Leeming  <leeming@lyx.org>
6001
6002         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6003         with their _fwd progeny.
6004
6005 2003-09-09  Angus Leeming  <leeming@lyx.org>
6006
6007         134 files throughtout the source tree: replace 'using namespace abc;'
6008         directives with the appropriate 'using abc::xyz;' declarations.
6009
6010 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6011
6012         * boost.C (emergencyCleanup): moved here from LAssert.c
6013         (assertion_failed): new function, called by BOOST_ASSERT
6014
6015         * several files: change Assert to BOOST_ASSERT
6016
6017 2003-09-09  Angus Leeming  <leeming@lyx.org>
6018
6019         * buffer.[Ch]: Add an Impl class and move Buffer's member
6020         variables into it. As a result move several header files out of
6021         buffer.h.
6022
6023         Add header files to lots of .C files all over the tree as a result.
6024
6025 2003-09-09  Angus Leeming  <leeming@lyx.org>
6026
6027         * buffer.[Ch]: make Buffer's member variables private. Add
6028         accessor functions.
6029
6030         Lots of changes all over the tree as a result.
6031
6032 2003-09-08  Angus Leeming  <leeming@lyx.org>
6033
6034         * graph.C: #include <config.h>.
6035
6036 2003-09-08  Angus Leeming  <leeming@lyx.org>
6037
6038         * BranchList.C:
6039         * BufferView.C:
6040         * BufferView_pimpl.C:
6041         * CutAndPaste.C:
6042         * DepTable.C:
6043         * LaTeX.C:
6044         * LaTeXFeatures.C:
6045         * LyXAction.C:
6046         * MenuBackend.C:
6047         * TextCache.C:
6048         * aspell.C:
6049         * buffer.C:
6050         * bufferlist.C:
6051         * changes.C:
6052         * chset.C:
6053         * converter.C:
6054         * counters.C:
6055         * debug.C:
6056         * graph.C:
6057         * ispell.C:
6058         * lyx_cb.C:
6059         * lyxfind.C:
6060         * lyxfunc.C:
6061         * lyxlex_pimpl.C:
6062         * lyxrc.C:
6063         * lyxrow.C:
6064         * paragraph.C:
6065         * rowpainter.C:
6066         * texrow.C:
6067         * text.C:
6068         * text2.C:
6069         * toc.C: remove redundant using directives.
6070
6071 2003-09-07  Angus Leeming  <leeming@lyx.org>
6072
6073         * LaTeXFeatures.h: remove #include "support/types.h".
6074         * ToolbarBackend.h: remove #include <algorithm>.
6075         * changes.h: remove #include <ctime>.
6076         * debug.h: remove #include <iosfwd>.
6077         * graph.h: remove #include "support/std_string.h".
6078         * lyx_main.h: remove #include <csignal>.
6079         * lyxlex_pimpl.h: remove #include <fstream>.
6080         * sgml.h: remove #include <algorithm>, <utility>.
6081         * toc.h: remove #include "support/std_ostream.h".
6082         Add #include <iosfwd>.
6083
6084 2003-09-07  Angus Leeming  <leeming@lyx.org>
6085
6086         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6087
6088         * converter.h: forward declare LatexRunParams.
6089         * encoding.h: remove #include "lyxrc.h".
6090         * lyxtext.h: remove #include "LColor.h".
6091         * lyxtextclass.h: remove #include "support/types.h".
6092         * trans.h: remove #include "tex-accent.h".
6093         * trans_mgr.h: remove #include "tex-accent.h".
6094         * insets/inset.h: remove #include "support/types.h", <vector>.
6095         * insets/insetcollapsable.h: remove #include "LColor.h".
6096         * insets/insetinclude.h: remove #include "dimension.h".
6097         * insets/insetlatexaccent.h: remove #include "dimension.h".
6098         * insets/insetoptarg.h:: remove #include "insettext.h".
6099         * insets/insettext.h: remove #include "dimension.h",
6100         <boost/shared_ptr.hpp>
6101
6102         * insets/renderers.h: add #include "dimension.h".
6103         * insets/updatableinset.h: add #include "support/types.h".
6104
6105         * many .C files: Associated changes.
6106
6107 2003-09-06  Angus Leeming  <leeming@lyx.org>
6108
6109         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6110         one, inside testInvariant.
6111
6112         * PrinterParams.C: new file.
6113         * PrinterParams.[Ch]: move the function bodies out of line.
6114
6115 2003-09-06  Angus Leeming  <leeming@lyx.org>
6116
6117         * ParagraphParameters.h: forward declare ParameterStruct rather than
6118         including its header file.
6119         (depth): moved out-of-line.
6120
6121 2003-09-06  Angus Leeming  <leeming@lyx.org>
6122
6123         * BufferView_pimpl.h:
6124         * kbmap.h:
6125         * kbsequence.h:
6126         * lyxfunc.h: forward declare LyXKeySym rather than
6127         #include "frontends/LyXKeySym.h".
6128
6129         * BufferView_pimpl.C:
6130         * kbmap.C:
6131         * kbsequence.C:
6132         * lyxfunc.C: associated changes.
6133
6134 2003-09-06  Angus Leeming  <leeming@lyx.org>
6135
6136         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6137         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
6147         * buffer.h:
6148         * bufferlist.C:
6149         * BufferView.C:
6150         * bufferview_funcs.C:
6151         * BufferView_pimpl.C:
6152         * CutAndPaste.C:
6153         * lyx_cb.C:
6154         * lyxfunc.C:
6155         * paragraph.h:
6156         * ParagraphParameters.C:
6157         * tabular.C:
6158         * text3.C:
6159         * toc.C:
6160         * undo_funcs.C:
6161         * frontends/controllers/ControlDocument.C:
6162         * insets/insetcaption.C: rearrange the #includes into some sort of
6163         coherent order.
6164
6165         * buffer.h: remove #includes ErrorList.h, undo.h
6166
6167 2003-09-06  Angus Leeming  <leeming@lyx.org>
6168
6169         * support/types.h: add a 'depth_type' typedef, used to store the
6170         nesting depth of a paragraph.
6171
6172         * paragraph.h:
6173         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6174         defining explicitly.
6175
6176         * buffer.h:
6177         * paragraph_funcs.h:
6178         * ParagraphParameters.h:
6179         * sgml.h: use lyx::depth_type rather than Paragraph or
6180         ParameterStruct's depth_type.
6181
6182         * buffer.h
6183         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6184
6185         * BufferView.C:
6186         * BufferView_pimpl.C:
6187         * CutAndPaste.C:
6188         * ParagraphParameters.C:
6189         * buffer_funcs.C:
6190         * bufferlist.C:
6191         * bufferview_funcs.C:
6192         * lyx_cb.C:
6193         * lyxfunc.C:
6194         * tabular.C:
6195         * text3.C:
6196         * toc.C:
6197         * undo_funcs.C:
6198         * frontends/LyXView.C:
6199         * frontends/controllers/ControlDocument.C:
6200         * frontends/controllers/ControlErrorList.C:
6201         * insets/insetbibitem.C:
6202         * insets/insetbranch.C:
6203         * insets/insetcaption.C:
6204         * insets/insetcollapsable.C:
6205         * insets/insetenv.C:
6206         * insets/insetert.C:
6207         * insets/insetfloat.C:
6208         * insets/insetfoot.C:
6209         * insets/insetfootlike.C:
6210         * insets/insetnewline.C:
6211         * insets/insetquotes.C:
6212         * insets/insettabular.C:
6213         * insets/insettext.C:
6214         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6215
6216         * frontends/controllers/ControlChanges.C: #include "changes.h".
6217
6218 2003-09-06  Angus Leeming  <leeming@lyx.org>
6219
6220         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6221         than #including paragraph.h.
6222
6223         * ParagraphList.h:
6224         * RowList.h: deleted. Superfluous.
6225
6226         * CutAndPaste.h:
6227         * iterators.h:
6228         * lyxcursor.h:
6229         * lyxtext.h:
6230         * text_funcs.h:
6231         * undo.h:
6232         * undo_funcs.h:
6233         * insets/inset.h:
6234         * insets/insettext.h: use ParagraphList_fwd.h rather than
6235         ParagraphList.h.
6236
6237         * paragraph.h: don't forward declare ParagraphList.
6238
6239         * buffer.h:
6240         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6241         rather than ParagraphList.h. paragraph.h is still needed for the
6242         Paragraph::depth_type parameters.
6243
6244         * textcursor.h: enable it to compile stand-alone in light of the
6245         above changes.
6246
6247         * bufferview_funcs.C:
6248         * iterators.C:
6249         * lyxfunc.C:
6250         * lyxrow_funcs.C:
6251         * paragraph.C:
6252         * rowpainter.C:
6253         * text.C:
6254         * text2.C:
6255         * text3.C:
6256         * text_funcs.C:
6257         * textcursor.C:
6258         * undo.C:
6259         * frontends/controllers/ControlParagraph.C:
6260         * frontends/controllers/ControlTabular.C:
6261         * insets/insetmarginal.C:
6262         * insets/insetminipage.C:
6263         * insets/insetnote.C:
6264         * insets/insetoptarg.C: add header files needed to compile again.
6265
6266 2003-09-06  Angus Leeming  <leeming@lyx.org>
6267
6268         * RowList_fwd.h: new file, forward-declaring Row rather than
6269         #including lyxrow.h.
6270
6271         * lyxrow_funcs.h:
6272         * lyxtext.h:
6273         * paragraph.h:
6274         * insets/insettext.h: use it instead of RowList.h
6275
6276         * bufferview_funcs.C:
6277         * lyxfunc.C:
6278         * lyxrow_funcs.C:
6279         * paragraph.C:
6280         * rowpainter.C:
6281         * text.C:
6282         * text2.C:
6283         * text3.C: #include "RowList.h".
6284
6285 2003-09-05  Angus Leeming  <leeming@lyx.org>
6286
6287         * factory.C (createInset):
6288         * vspace.C (c-tor): replace sscanf call with an istringstream.
6289         * ispell.C: re-add missing HP/UX headers.
6290         * lyxserver.C: re-add missing  os2 headers.
6291
6292 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6293
6294         * BranchList.C:
6295         * graph.C:
6296         * ispell.C:
6297         * lastfiles.C:
6298         * lyx_cb.C:
6299         * lyxserver.C:
6300         * texrow.C:
6301         * text3.C: re-add missing system headers, needed for 2.95.2.
6302
6303 2003-09-05  Angus Leeming  <leeming@lyx.org>
6304
6305         Changes most place everywhere due to the removal of using directives
6306         from support/std_sstream.h.
6307
6308 2003-09-05  Angus Leeming  <leeming@lyx.org>
6309
6310         Replace LString.h with support/std_string.h,
6311         Lsstream.h with support/std_sstream.h,
6312         support/LIstream.h with support/std_istream.h,
6313         support/LOstream.h with support/std_ostream.h.
6314
6315         Changes resulting throughout the tree.
6316
6317 2003-09-05  Angus Leeming  <leeming@lyx.org>
6318
6319         * sgml.h: ensure that the header file can be compiled stand-alone.
6320         * *.C: strip out redundant #includes. (320 in total.)
6321
6322 2003-09-04  Angus Leeming  <leeming@lyx.org>
6323
6324         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6325         here (from getPackages).
6326
6327         * debug.[Ch]: add a new EXTERNAL tag.
6328
6329 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6330
6331         * text2.C (cursorEnd): simplify
6332         (setCursor): adjust
6333         (getColumnNearX): adjust
6334
6335         * text.C (computeBidiTables): adjust
6336         (fill): adjust
6337
6338         * rowpainter.C (paintChars): adjust
6339         (paintSelection): adjust
6340         (paintChangeBar): adjust
6341         (paintText): adjust
6342
6343         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6344         lastPos instead.
6345         (numberOfSeparators): adjust
6346
6347 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6348
6349         * LyXAction.C:
6350         * box.[Ch]:
6351         * lfuns.h:
6352         * lyxfunc.C:
6353         * text3.C: Restricts the mouse click functionality
6354         of insets like bibtex, include, toc and floatlist to the visible
6355         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6356         up the dialogs. Cursor has to be in front of the inset (i.e.
6357         start of row) for this to function.
6358
6359 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6360
6361         * bufferview_funcs.C (currentState): output row information
6362
6363 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6364
6365         * bufferview_funcs.C (currentState): output paragraph position
6366
6367 2003-09-04  Angus Leeming  <leeming@lyx.org>
6368
6369         * FloatList.h: move out #include "Floating.h".
6370         * LaTeX.h: move out #include "DepTable.h".
6371         * LyXAction.h: move out #include "funcrequest.h".
6372         * buffer.h: move out #include "author.h", "iterators.h".
6373         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6374         * lyx_main.h: move out #include "errorlist.h".
6375         * lyxfunc.h: move out #include "FuncStatus.h".
6376         * lyxtext: move out #include "lyxcursor.h".
6377         * paragraph_pimpl.h: move out #include "counters.h".
6378
6379 2003-09-03  Angus Leeming  <leeming@lyx.org>
6380
6381         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6382         preamble_snippets list, enabling us to add snippets to the preamble
6383         only if the snippet was not there already.
6384
6385 2003-09-04  Angus Leeming  <leeming@lyx.org>
6386
6387         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6388
6389 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6392         update
6393
6394 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6395
6396         * BranchList.C: point fix, earlier forgotten
6397
6398 2003-09-02  Angus Leeming  <leeming@lyx.org>
6399
6400         * box.C (contains): renamed from 'contained' after a fantastic
6401         amount of hot air.
6402
6403 2003-09-02  John Levon  <levon@movementarian.org>
6404
6405         * BufferView.C:
6406         * lyxcursor.h:
6407         * lyxcursor.C:
6408         * lyxfunc.C:
6409         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6410
6411 2003-09-02  John Levon  <levon@movementarian.org>
6412
6413         * text2.C: simplification of cursorEnd(), including partial
6414         fix for bug 1376
6415
6416 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * buffer.C (readFile): add a space
6419
6420 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6423
6424 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * buffer.C (readFile): new function, take a filename and a
6427         ParagraphList::iterator
6428         (readFile): adjust
6429         (readFile): adjust, make it private. don't use setStream, make
6430         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6431         always contain the filename.
6432
6433         * BufferView.C (insertLyXFile): simplify and make it work for
6434         gzipped files.
6435
6436 2003-08-30  John Levon  <levon@movementarian.org>
6437
6438         * Makefile.am: fix dist (from Kayvan)
6439
6440 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * most files: change to use const Buffer refs
6443
6444 2003-08-27  André Pönitz  <poenitz@gmx.net>
6445
6446         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6447         on top of ownerPar().
6448
6449 2003-08-27  John Levon  <levon@movementarian.org>
6450
6451         * funcrequest.C: properly initialise POD members
6452
6453 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6454
6455         * lyxtext.h (top_y): move top_y from here
6456         * text.C:
6457         * text2.C:
6458         * text3.C:
6459         * BufferView.[Ch]:
6460         * BufferView_pimpl.[Ch]: to here
6461         * frontends/screen.C:
6462         * insets/insettabular.C:
6463         * insets/insettext.C: adjust
6464         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6465
6466 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6467
6468         * BufferView.[Ch]:
6469         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6470
6471 2003-08-26  André Pönitz  <poenitz@gmx.net>
6472
6473         * paragraph_func.[Ch] (outerPar): new function
6474
6475         * paragraph.C:
6476         * paragraph_funcs.C:
6477         * paragraph_funcs.h:
6478         * paragraph_pimpl.C:
6479         * text2.C: remove Inset::par_owner
6480
6481 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6482
6483         * lyxrow_funcs.C:
6484         * lyxtext.h:
6485         * text.C:
6486         * text2.C: eliminates the needFullRow/display() stuff
6487         altogether, putting the logic in metrics/draw in the insets.
6488
6489 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * text2.C (redoParagraphInternal, redoParagraphs):
6492         * text.C (redoParagraph): add a call to updateRowPositions at the
6493         end of each 'metrics-like' call. Remove all others.
6494         (getRow): remove the 'y-computing' version.
6495         (getRowNearY): do not compute nor return the real y. Solve the
6496         'y < 0' problem and simplify.
6497
6498 2003-08-22  Angus Leeming  <leeming@lyx.org>
6499
6500         * *.[Ch]: clean-up of licence and author blurbs.
6501         Also move config.h out of a few .h files and into a few .C files.
6502
6503 2003-08-22  André Pönitz  <poenitz@gmx.net>
6504
6505         * lyxrow.[Ch]: add x_ and *fill_ members
6506
6507         * lyxtext.h:
6508         * text.C:
6509         * rowpainter.C:
6510         * text2.C: adjust/remove prepareToPrint() calls
6511
6512 2003-08-22  André Pönitz  <poenitz@gmx.net>
6513
6514         * lyxrow.[Ch]: add  end_ member
6515
6516         * lyxrow_funcs.C: use LyXRow::end_
6517
6518         * lyxtext.h (singleWidth): add LyXFont parameter
6519
6520         * rowpainter.C:
6521         * text2.C: adjust LyXText::singleWidth() calls
6522
6523         * text.C (redoParagraph): simplify row breaking logic
6524
6525
6526 2003-08-19  André Pönitz  <poenitz@gmx.net>
6527
6528         * funcrequest.C: initialize button_ member
6529
6530         * text3.C:
6531         * rowpainter.[Ch]: interface consolidation
6532
6533 2003-08-18  André Pönitz  <poenitz@gmx.net>
6534
6535         * BufferView.C:
6536         * BufferView_pimpl.C:
6537         * lyxfind.C:
6538         * paragraph_funcs.C:
6539         * rowpainter.C:
6540         * text3.C: remove LyXScreen::draw() and fitCursor calls
6541
6542         * BranchList.h: remove spurious semicolons
6543
6544         * MenuBackend.C: fix branchlist related crash
6545
6546 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6547
6548         * BranchList.[Ch]:
6549         * InsetList.[Ch]:
6550         * LColor.[Ch]:
6551         * LyXAction.C:
6552         * Makefile.am:
6553         * MenuBackend.[Ch]:
6554         * bufferparams.[Ch]:
6555         * factory.C:
6556         * lfuns.h:
6557         * lyxfunc.C:
6558         * text3.C: implements the 'branch inset'
6559         idea. This allows the output of various versions of a document
6560         from a single source version, selectively outputing or suppressing
6561         output of parts of the text.
6562         This implementation contains a 'branch list editor' in a separate
6563         tab of the document settings dialog. Branches are user definable
6564         and have a "display colour" to distinguish them on-screen.
6565
6566         ColorHandler was somewhat cleaned up.
6567         (1) make possible a dynamically growing LColor list by allowing
6568         the graphic context cache to grow along (vector);
6569         (2) eliminate an IMHO unnecessary step in colour allocation.
6570
6571 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6572
6573         * BufferView_pimpl.C: compile fix
6574
6575 2003-08-15  André Pönitz  <poenitz@gmx.net>
6576
6577         * rowpainter.C: remove extra metrics calls
6578
6579         * lyxtext.h: merge the two constructors into a single one,
6580           pass reference to owner's par list
6581
6582         * BufferView_pimpl.C:
6583         * text.C:
6584         * text2.C: adjust
6585
6586 2003-08-15  André Pönitz  <poenitz@gmx.net>
6587
6588         * lyxrow_funcs.[Ch]:
6589         * lyxtext.h:
6590         * paragraph.h:
6591         * paragraph_funcs.C:
6592         * rowpainter.C:
6593         * text.C:
6594         * text2.C:
6595         * text3.C:
6596         * text_funcs.C: split LyXText::rowlist_ into individual
6597         Paragraph::rows_ chunks
6598
6599         * BufferView.[Ch]:
6600         * BufferView_pimpl.[Ch]:
6601         * lyxfind.C:
6602         * lyxtext.h:
6603         * text3.C: remove toggleSelection()
6604
6605 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6606
6607         * bufferlist.C: beautify two alerts (shorter text of buttons)
6608         * buffer.C: Remove redundant ' ' from message
6609         * tabular.h:
6610         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6611         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6612         rename VALIGN_CENTER to VALIGN_MIDDLE
6613
6614 2003-08-11  André Pönitz  <poenitz@gmx.net>
6615
6616         * lyxtext.h (getPar):
6617         * text.C: new function
6618
6619 2003-08-11  André Pönitz  <poenitz@gmx.net>
6620
6621         * Makefile.am:
6622         * tracer.[Ch]: remove unneeded files
6623
6624         * InsetList.[Ch]: remove resizeInsetsLyXText()
6625
6626         * lyxtext.h:
6627         * text.C:
6628         * text2.C:
6629         * text3.C: merge insertParagraphs() and appendParagraph()
6630         remove breakAgain(), update()
6631
6632         * BufferView_pimpl.[Ch]:
6633         * bufferview_funcs.[Ch]:
6634         * lyxfunc.C:
6635         * paragraph.[Ch]:
6636         * rowpainter.C:
6637         * tabular.C: adjust after text & InsetList changes.
6638
6639 2003-08-08  André Pönitz  <poenitz@gmx.net>
6640
6641         * text.C (insertChar, backspace): replace rowlist fiddling
6642         with rebreak of full par
6643
6644         * lyxtext.h:
6645         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6646         checkParagraph, updateInset): removed
6647
6648 2003-08-07  André Pönitz  <poenitz@gmx.net>
6649
6650         * paragraph.C:
6651         * text3.C: merge some LFUN handlers, remove dead code
6652
6653 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6654
6655         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6656
6657 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6658
6659         * text2.C (DEPM): fix part of bug 1255 and 1256
6660
6661 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6662
6663         * BufferView_pimpl.C (workAreaDispatch): change to use
6664         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6665         that are no mouse related.
6666
6667 2003-08-05  André Pönitz  <poenitz@gmx.net>
6668
6669         * BufferView.[Ch]:
6670         * BufferView_pimpl.[Ch]:
6671         * bufferview_funcs.C:
6672         * text2.C:
6673         * text3.C: rip out "deep update"
6674
6675         * textcursor.[Ch] (last_sel_cursor): remove unused member
6676
6677 2003-08-04  André Pönitz  <poenitz@gmx.net>
6678
6679         * BufferView.[Ch]:
6680         * BufferView_pimpl.[Ch]:
6681         * ParagraphParameters.C:
6682         * bufferview_funcs.C:
6683         * lyx_cb.C:
6684         * lyxfind.C:
6685         * lyxfunc.C:
6686         * text.C:
6687         * text2.C:
6688         * text3.C: replace "complicated" BufferView::update(...) calls with
6689         simpler ones.
6690
6691         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6692
6693 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6694
6695         * Makefile.am (lyx_SOURCES): add paper.h
6696
6697 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6698
6699         * Makefile.am: move things around so that both lyx-qt and
6700         lyx-xforms can be built (according to --with-frontend). Then lyx
6701         is a symbolic link to lyx-[firstfrontend]
6702
6703 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6704
6705         * Always use std::endl with lyxerr
6706
6707 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6708
6709         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6710
6711 2003-08-01  André Pönitz  <poenitz@gmx.net>
6712
6713         * BufferView.[Ch]:
6714         * BufferView_pimpl.[Ch]:
6715         * lyxfunc.C:
6716         * text3.C: merge BufferView::repaint() and BufferView::update()
6717
6718 2003-08-01  José Matos  <jamatos@lyx.org>
6719
6720         * buffer.[Ch]: file_format is no longer a buffer data element.
6721
6722 2003-08-01  André Pönitz  <poenitz@gmx.net>
6723
6724         * BufferView.C:
6725         * lyxtext.h:
6726         * text.C:
6727         * text2.C: make redoParagraph more independent of current cursor
6728
6729         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6730         * text.C:
6731         * text2.C: remove unneeded members
6732
6733 2003-07-30  André Pönitz  <poenitz@gmx.net>
6734
6735         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6736
6737         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6738           create a single function...
6739
6740         * paragraph_funcs.C (moveItem): ... here.
6741
6742         * text.C:
6743           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6744
6745 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6746
6747         * LColor.[Ch]: Add comment and greyedout logical colors.
6748
6749 2003-07-30  André Pönitz  <poenitz@gmx.net>
6750
6751         * tabular.C: don't use Assert too heavily. This crashes where it
6752           shouldn't
6753
6754 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6755
6756         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6757         is disabled (bug 1232)
6758
6759 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6760
6761         * factory.C: limited 'arg' scope
6762
6763 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6764
6765         * factory.C: fixed Note submenu issues
6766
6767 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6768
6769         * factory.C: submenu for Note/Comment/Greyedout
6770
6771 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6772
6773         * lyx_main.C (LyX):
6774         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6775
6776 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6777
6778         * LaTeXFeatures.C:
6779         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6780         greyedout. Patch provided by Jürgen Spitzmüller.
6781
6782 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6783
6784         * kbmap.C (read): fix error message when reading bind files
6785
6786 2003-07-29  Angus Leeming  <leeming@lyx.org>
6787
6788         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6789         certainly does not do what it purports to do. I am doing it, and
6790         us, a favour by killing it.
6791
6792 2003-07-28  José Matos  <jamatos@lyx.org>
6793
6794         * buffer.C (readBody, do_writeFile):
6795         * paragraph.C(readParagraph): \end_document replaces \the_end.
6796
6797 2003-07-29  André Pönitz  <poenitz@gmx.net>
6798
6799         * BufferView.[Ch]:
6800         * BufferView_pimpl.[Ch]:
6801         * lyxfunc.C:
6802         * text2.C:
6803         * text3.C:
6804         * textcursor.[Ch]: remove toggleToggle & Co
6805
6806 2003-07-28  José Matos  <jamatos@fep.up.pt>
6807
6808         * buffer.C (readParagraph):
6809         * params_func (readParToken, readParagraph):
6810         * paragraph.C (write): \layout -> \begin_layout.
6811
6812 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6813
6814         * lyxlex_pimpl.C (setFile): clean up slightly.
6815
6816         * bufferparams.h: add compressed var
6817
6818         * buffer_funcs.C (readFile): adjust for LyXLex change
6819         (newFile): ditto + simplify
6820
6821         * buffer.C (writeFile): handle writing of compressed files
6822
6823         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6824         Check if the file is compressed and set a bufferparm if so.
6825
6826         * Makefile.am (lyx_LDADD): remove explicit -lz
6827
6828 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6829
6830         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6831         makeDocBookFile): put the real LyX version in the first line of
6832         the file
6833
6834         * version.h:
6835         * version.C.in: remove lyx_docversion
6836
6837         * tabular.C (write_attribute): add a template-based version to
6838         write enums properly
6839
6840 2003-07-28  André Pönitz  <poenitz@gmx.net>
6841
6842         * lyxtext.h:
6843         * text.C:
6844         * text2.C:
6845         * text3.C: use doubles again for x-coordinates. They are needed.
6846
6847 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * messages.C (getLocaleDir): use lyx_localedir()
6850
6851         * lyxlex_pimpl.C (setFile): compress stuff
6852
6853         * buffer.C (writeFile): add some compression stuff
6854         (do_writeFile): new func, dont call expliti close... will this
6855         breake anything?
6856
6857         * Makefile.am (lyx_LDADD): add -lz
6858
6859 2003-07-28  José Matos  <jamatos@fep.up.pt>
6860
6861         * buffer.C: increment file format.
6862         * paragraph_funcs (readParagraph, readParToken):
6863         * paragraph.C (readParagraph): add \end_layout.
6864
6865 2003-07-27  Angus Leeming  <leeming@lyx.org>
6866
6867         * Makefile.am: remove special casing for configure-time setting of
6868         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6869
6870         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6871         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6872
6873 2003-07-26  André Pönitz  <poenitz@gmx.net>
6874
6875         * paragraph_func.[Ch]:
6876         * paragraph.C (realizeFont): inline it whereever it is used
6877
6878         * rowpainter.C:
6879         * text.C:
6880         * text2.C:
6881         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6882
6883
6884 2003-07-26  André Pönitz  <poenitz@gmx.net>
6885
6886         *       lyxtext.h:
6887         * text.C:
6888         * text2.C: get rid of LyXText::need_break_row
6889
6890 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * toc.[Ch]: put namespace toc inside namespace lyx
6893
6894         * MenuBackend.C (expandToc2): adjust for lyx::toc
6895         (expandToc): ditto
6896
6897         * lyxfunc.C (dispatch): adjust for lyx::find
6898
6899         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6900         lyx::find instead. Reorganize a bit.
6901         (LyXReplace): rename to replace
6902         (LyXFind): rename to find
6903
6904         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6905         (dispatch): ditto
6906
6907 2003-07-26  André Pönitz  <poenitz@gmx.net>
6908
6909         * text.C (setHeightOfRow): restrict scope of temporary variable
6910
6911         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6912           code (never has been used?)
6913
6914 2003-07-27  Asger Alstrup  <alstrup@local>
6915
6916         * text.C (fill): Optimise algorithm to exploit that we can reuse
6917         the LyXFont for many characters.
6918         (setHeightOfRow): Same thing.
6919         (rowBreakPoint): Same thing.
6920
6921 2003-07-26  Asger Alstrup  <alstrup@local>
6922
6923         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6924
6925         * text.C (singleWidth): Spurious font copying in hot-spot
6926         singleWidth avoided. Reorder tests for arabic for efficiency.
6927
6928         * text.C (fill): handle empty paragraphs better.
6929
6930 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6931
6932         * ispell.C:
6933         * encoding.h: add includes
6934
6935         * lyxrc.C: remove reading of bind files
6936
6937         * lyx_main.C (init): setup bindings and menus only if we have a
6938         gui.
6939
6940         * kbmap.C (read): new method. Do the actual reading of bind
6941         files.
6942
6943         * converter.C (dvipdfm_options):
6944         * bufferparams.C:
6945         * lyxrc.C (read):
6946         (output): adapt PAPER_* enums.
6947
6948         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6949
6950         * bufferparams.h: remove paper-related enums from there
6951
6952         * paper.h: New file. A trivial header file to hold paper-related
6953         enums. It should later expand to contain many paper-related
6954         horrors access.
6955
6956         * lyxrc.C: declare extern displayTranslator
6957
6958 2003-07-27  José Matos  <jamatos@fep.up.pt>
6959
6960         * tabular.[Ch] (linuxdoc): add support for tables and figures
6961         (linuxdoc).
6962
6963 2003-07-27  José Matos  <jamatos@fep.up.pt>
6964
6965         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6966         consistency in both functions.
6967         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6968
6969 2003-07-26  Asger Alstrup  <alstrup@local>
6970
6971         * rowpainter.C (paintRows): Change algorithm to work directly on
6972         the insets rather than asking every character in the document
6973         whether its an inset.
6974
6975 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6976
6977         * buffer.C (openFileWrite): factorize some code
6978
6979 2003-07-26  Angus Leeming  <leeming@lyx.org>
6980
6981         * lyx_cb.C:
6982         * lyx_main.[Ch]: replace occurances of system_tempdir with
6983         os::getTmpDir().
6984
6985 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * rename Inset to InsetOld
6988
6989 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6990
6991         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6992         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6993         which I think is a bit clearer. EDIT is gone, since it was
6994         premature optimisation, and broken for mathed anyway.
6995         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6996         with cursor positioning in insets as well (math insets still do not
6997         work, but that's a different story anyway.) It mysteriously
6998         crashes sometimes with undo in the first paragraph, but I'm fairly
6999         confident that this is a compiler bug.
7000
7001 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * paragraph.C (Paragraph): adjust for new clone return type
7004         (operator==): ditto
7005         (copyIntoMinibuffer): ditto
7006
7007 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7008
7009         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7010         by not having a special case, and always doing a full rebreak of
7011         the document after undo.
7012
7013 2003-07-23  Angus Leeming  <leeming@lyx.org>
7014
7015         * factory.C (createInset): InsetExternal::setParams now takes a
7016         Buffer const * arg.
7017
7018 2003-07-23  Angus Leeming  <leeming@lyx.org>
7019
7020         * factory.C (createInset): changed interface to the external and
7021         graphics mailers' string2params functions.
7022
7023 2003-07-23  Angus Leeming  <leeming@lyx.org>
7024
7025         * factory.C (createInset): pass a
7026         Buffer const * parameter to InsetExternalMailer's string2params.
7027
7028 2003-07-22  John Levon  <levon@movementarian.org>
7029
7030         * Thesaurus.h: include the right aiksaurus header
7031
7032 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7033
7034         * MenuBackend.C (expand): check menu shortcuts unconditionally
7035
7036 2003-07-21  Angus Leeming  <leeming@lyx.org>
7037
7038         * factory.C (createInset): pass a
7039         buffer_path parameter to InsetGraphicsMailer's string2params.
7040
7041 2003-07-21  Angus Leeming  <leeming@lyx.org>
7042
7043         * BufferView_pimpl.C (buffer):
7044         * buffer.C (d-tor):
7045         * lyx_main.C (LyX):
7046         * lyxfunc.C (dispatch):
7047         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7048         rather than the grfx shortcut.
7049
7050 2003-07-21  André Pönitz  <poenitz@gmx.net>
7051
7052         * rowpainter.C: remove unused variables
7053
7054         * tabular_funcs.C:
7055         * tabular_funcs.h: move to tabular.C
7056         * Makefile.am: adjust
7057
7058         * tabular.[Ch]: basic optical cleaning
7059
7060         * author.h: pass references, not values
7061
7062 2003-07-18  André Pönitz  <poenitz@gmx.net>
7063
7064         * lyxtext.h:
7065         * metricsinfo.C:
7066         * metricsinfo.h:
7067         * rowpainter.C:
7068         * text.C:
7069         * text2.C:
7070         * text3.C: two-phase drawing for InsetText and InsetTabular
7071         some float -> int changes.
7072
7073 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * lyx_main.C: fix the fix
7076
7077 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7078
7079         * lyx_main.C: fix a crash in batch mode if no files specified
7080         * converter.C: ws
7081
7082 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * format.[Ch] (papersize): moved to BufferParams
7085         * converter.[Ch] (dvips_options): moved to BufferParams
7086         (dvipdfm_options): moved to anon namespace
7087         * bufferparams.[Ch]: added above functions.
7088
7089 2003-07-17  André Pönitz  <poenitz@gmx.net>
7090
7091         * lyxtext.h:
7092         * rowpainter.C:
7093         * text2.C: don't call inset->update() anymore
7094
7095         * metricsinfo.[Ch]: add convenience constructor
7096
7097 2003-07-16  André Pönitz  <poenitz@gmx.net>
7098
7099         * lyxcursor.[Ch]:
7100         * lyxfunc.[Ch]:
7101         * text.C:
7102         * text2.C: replace the LyXCursor::irow_ member with
7103          on-demand computation of the value
7104
7105 2003-07-16  John Levon  <levon@movementarian.org>
7106
7107         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7108
7109 2003-07-15  André Pönitz  <poenitz@gmx.net>
7110
7111         * text.C:
7112         * text2.C: remove no more needed refresh_row
7113
7114 2003-07-15  André Pönitz  <poenitz@gmx.net>
7115
7116         * lyxtext.h:
7117         * rowpainter.C:
7118         * text2.C:
7119         * text3.C: refresh_status tristate -> need_update bool
7120
7121 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7122
7123         * lyxtext.h (init): remove reinit argument (act as if always true)
7124         * text2.C: adjust to that
7125
7126 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7127
7128         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7129         * text3.C: use it to delete selections in some cases
7130         (bugs 441, 673, 702, 954).
7131
7132 2003-07-14  André Pönitz  <poenitz@gmx.net>
7133
7134         * rowpainter.[Ch]: reduce interface
7135
7136 2003-07-14  André Pönitz  <poenitz@gmx.net>
7137
7138         * BufferView_pimpl.C:
7139         * text2.C: adjust after removing unused BufferView * argument
7140
7141 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * text2.C (init): fix a crash fired on resize
7144
7145 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7146
7147         * buffer.[Ch]: added new closing signal
7148         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7149         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7150         BufferView::Pimpl via the closing the signal
7151
7152 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7153
7154         * buffer.[Ch]: take out all bv-related from buffer
7155         * BufferView.C:
7156         * BufferView_pimpl.[Ch]: connect to new signals
7157         * CutAndPaste.C: removed useless asserts
7158         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7159         * lyxvc.[Ch]:
7160         * vc-backend.[Ch]:
7161         * lyxfunc.C: moved view-related funciontality from vc here
7162         * paragraph.C: removed outdated comments
7163         * text.C: ws
7164
7165 2003-07-10  André Pönitz  <poenitz@gmx.net>
7166
7167         * BufferView_pimpl.C:
7168         * tabular.h:
7169         * tabular_funcs.C:
7170         * text.C:
7171         * text2.C: remove InsetText::InnerCache, clean up consequences
7172
7173 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7174
7175         * ispell.C: fix two typos in error messages
7176
7177 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7178
7179         * Extend Note inset to other forms of annotation like Comment
7180         and Greyedout. Right button click gives dialog.
7181
7182         Files modified or added (+):
7183
7184         * insetnote.[Ch]
7185         * FormNote.[Ch]      +
7186         * ControlNote.[Ch]   +
7187         * form_note.fd       +
7188         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7189         frontends/controllers
7190         * xforms/Dialogs.C
7191         * factory.C
7192
7193 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7194
7195         * aspell.C: add missing namespace lyx::support
7196
7197 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7198
7199         * BufferView.[Ch] (newFile): Add
7200         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7201         * LaTeX.[Ch] (message): added this signal and use it
7202         * buffer.[Ch] (busy, message): added these signals and use them
7203         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7204         * converter.C:
7205         * exporter.C:
7206         * format.C:
7207         * importer.C: use buffer signals instead of direct bv calling
7208         * lyx_cb.[Ch] (ShowMessage): removed
7209         * lyx_main.C:
7210         * lyxfunc.C:
7211         * paragraph_funcs.C:
7212         * text2.C: use buffer signals
7213
7214 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * introduce namespace lyx::graphics
7217
7218 2003-07-02  André Pönitz  <poenitz@gmx.net>
7219
7220         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7221
7222 2003-07-01  André Pönitz  <poenitz@gmx.net>
7223
7224         * text.C:
7225         * text2.C:
7226         * text3.C:
7227         * text_funcs.[Ch]:
7228         * textcursor.h:
7229         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7230           text*.C to text_func.C
7231
7232 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7233
7234         * introduce namespace lyx::support
7235
7236 2003-06-30  André Pönitz  <poenitz@gmx.net>
7237
7238         * Chktex.C:
7239         * funcrequest.C:
7240         * lyxtext.h:
7241         * text.C: re-enable --with-included-string
7242
7243 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * textcursor.C: add <config.h>
7246
7247         * text.C (getWord): remove const from word_location arg
7248
7249         * lyxvc.C (getLogFile): fix const type order
7250
7251         * lyxtext.h: remove const from word_location arg, add arg name
7252
7253         * lyxlayout.h: currect type on labeltype.
7254
7255         * importer.C: correct \file
7256
7257         * converter.C (intToFormat): use std:: on ret val, ws changes
7258
7259         * bufferlist.h: correct \file
7260
7261         * buffer.C (makeLinuxDocFile): fix const type order
7262         (makeDocBookFile): ditto
7263         (fillWithBibKeys): use std:: on stdlib args.
7264
7265         * CutAndPaste.C: fix authors.
7266         (availableSelections): use std:: on return vector
7267
7268 2003-06-27  André Pönitz  <poenitz@gmx.net>
7269
7270         * BufferView_pimpl.C:
7271         * bufferview_funcs.C:
7272         * lyxcursor.C:
7273         * lyxcursor.h:
7274         * lyxfunc.C:
7275         * lyxtext.h:
7276         * rowpainter.C:
7277         * text.C:
7278         * text2.C:
7279         * text3.C: remove LyXCursor::row_ member
7280
7281         * lyxtext.h:
7282         * text.C: rename fullRebreak() to partialRebreak() and implement
7283           a fullRebreak() that really bereks fully
7284
7285         * textcursor.h: new struct for cursor-related data
7286
7287 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7288
7289         * lyx_main.C (LyX): get full path of document loaded on the
7290         command line
7291
7292 2003-06-26  André Pönitz  <poenitz@gmx.net>
7293
7294         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7295           remove unused/broken operator>,<,>=.
7296
7297         *       text.C: remove only use of broken operator<= in an Assert().
7298
7299 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7300
7301         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7302         moved errorlist_.clear to showErrorList
7303
7304 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7305
7306         * converter.C (scanLog, runLaTeX):
7307         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7308         move the bv->showErrorList call to the callers
7309         * lyxfunc.C: i.e. here...
7310         * text2.C: and here
7311         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7312         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7313         namespace, the second to...
7314         * buffer_funcs (BufferFormat, parseErrors): added
7315         * errorlist.C (ErrorList(TeXErrors const &)): removed
7316
7317 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7318
7319         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7320
7321 2003-06-24  "Garst R. Reese" <reese@isn.net>
7322
7323         * debug.C: fix typo
7324
7325 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7326
7327         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7328
7329         * version.C.in: change docversion to 1.4
7330
7331 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7332
7333         * buffer.C: fix a bug just introduced
7334
7335 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7336
7337         * buffer.[Ch]: added the parseError signal and use it, removed
7338         sgmlError
7339         * BufferView.[Ch] (addError): moved to ...
7340         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7341         to the Buffer::parseError signal to catch (guess what) parse errors
7342         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7343
7344 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7345
7346         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7347         ability to create a buffer and to return an existing one from
7348         the list. Moved these functions to...
7349         * buffer_funcs.[Ch]: added
7350         * BufferView.[Ch] (loadLyXFile): added
7351         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7352         job removed from bufferlist::loadLyXFile.
7353         * buffer.C (setReadOnly): make it work without view
7354         (i.e added an if (users))
7355
7356 2003-06-19  Angus Leeming  <leeming@lyx.org>
7357
7358         * lfuns.h:
7359         * LyXAction.C (init):
7360         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7361         with LFUN_DIALOG_SHOW <name> <data>.
7362
7363 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7364
7365         * CutAndPaste.C (availableSelections): small compilation fix for
7366         ancient (gcc 2.9x) compilers
7367
7368 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * text3.C (cursorNext): add tmp var
7371
7372         * text2.C (updateCounters): for function calling out of for clause
7373         (replaceSelectionWithString): ditto
7374         (insertStringAsParagraphs): ditto
7375         (getColumnNearX): add tmp var
7376         (setCursorFromCoordinates): add tmp var
7377         (cursorDownParagraph): add tmp var
7378         (deleteEmptyParagraphMechanism): add tmp var
7379
7380         * text.C (insertChar): add tmp var
7381
7382         * rowpainter.C (paintDepthBar): add tmp var
7383
7384         * CutAndPaste.C (availableSelections): potentially check all
7385         paragraphs in a cut to fill the shown strings.
7386
7387 2003-06-18  André Pönitz  <poenitz@gmx.net>
7388
7389         * kbmap.[Ch]: use vector<> instead of list<>
7390
7391 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7392
7393         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7394         pasteSelection with index
7395
7396         * text2.C (pasteSelection): modify, call pasteSelection with index
7397
7398         * paragraph.C (asString): reimplement version with no interval to
7399         call the one with interval.
7400
7401         * lyxtext.h: add index arg to pasteSelection
7402
7403         * MenuBackend.C (MenuItem): handle PasteRecent
7404         (Menu::read::Menutags): add md_pasterecent
7405         (read): handle it
7406         (expandPasteRecent): new function
7407         (expand): use it
7408
7409         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7410
7411         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7412         the limited stack
7413         (availableSelections): new function
7414
7415 2003-06-17  Angus Leeming  <leeming@lyx.org>
7416
7417         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7418
7419 2003-06-17  Angus Leeming  <leeming@lyx.org>
7420
7421         * lfuns.h:
7422         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7423
7424         * lyxfunc.C (dispatch): invoke it.
7425
7426 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7427
7428         * iterators.C (operator++, ParPosition): reintroduce some
7429         const_cast for the benefit of older compilers.
7430
7431 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7432
7433         * text3.C (dispatch): do not modify clipboard when doing
7434         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7435         LFUN_DELETE_SKIP on a selection selection
7436
7437 2003-06-16  André Pönitz  <poenitz@gmx.net>
7438
7439         * BufferView.C:
7440         * buffer.C:
7441         * buffer.h:
7442         * paragraph.C:
7443         * tabular.[Ch]: IU of clone() and getLabelList();
7444
7445 2003-06-13  André Pönitz  <poenitz@gmx.net>
7446
7447         * tabular.h: compactification
7448
7449 2003-06-12  André Pönitz  <poenitz@gmx.net>
7450
7451         * tabular.C:
7452         * tabular.h:
7453         * tabular_funcs.h: some renaming plus whitespace
7454
7455 2003-06-12  André Pönitz  <poenitz@gmx.net>
7456
7457         * BufferView.C:
7458         * BufferView_pimpl.C:
7459         * CutAndPaste.C:
7460         * buffer.C:
7461         * iterators.[Ch]:
7462         * lyxfunc.C:
7463         * text.C:
7464         * toc.C: Return a Paragraph & for ParIterator::operator*()
7465
7466 2003-06-11  John Levon  <levon@movementarian.org>
7467
7468         * lyx_main.C:
7469         * ToolbarBackend.h:
7470         * ToolbarBackend.C: add "Toolbars" section and
7471         put the flags there
7472
7473 2003-06-10  Angus Leeming  <leeming@lyx.org>
7474
7475         * lfuns.h:
7476         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7477
7478         * lyxfunc.C (dispatch): invoke it.
7479
7480 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * main.C: protect <ios> with HAVE_IOS
7483         (main): protect sync_with_stdio with HAVE_IOS
7484
7485 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7486
7487         * text2.C (cutSelection): adjust
7488         (pasteSelection): adjust
7489
7490         * messages.C: handle get of empty string
7491
7492         * main.C (main): use sync_with_stdio(false)
7493
7494         * lyxfunc.C (dispatch): adjust
7495
7496         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7497         (WriteAs): remove unneeded BufferView arg.
7498
7499         * bufferparams.h: use correct types on papersize, papersize2 and
7500         paperpackage.
7501
7502         * bufferparams.C (readToken): adjust for type
7503         (writeLaTeX): add missing cases to switch.
7504
7505         * bufferlist.C (quitWriteBuffer): adjust
7506         (close): adjust
7507
7508         * buffer.C (asciiParagraph): remove some commented code.
7509
7510         * CutAndPaste.C: remove current_view extern variable.
7511         (cutSelection): add BufferParams arg.
7512         (eraseSelection): add BufferParams arg.
7513         (pasteSelection): add Buffer const & arg
7514
7515 2003-06-07  John Levon  <levon@movementarian.org>
7516
7517         * buffer.C:
7518         * paragraph_funcs.C:
7519         * paragraph_pimpl.C:
7520         * text.C:
7521         * text2.C:
7522         * paragraph.h:
7523         * paragraph.C: allow InsetERT to freely space lines,
7524         and some consolidation of code
7525
7526 2003-06-06  José Matos  <jamatos@fep.up.pt>
7527
7528         * buffer.C (makeDocBookFile): fix bug #821
7529
7530 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7531
7532         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7533
7534 2003-06-04  Angus Leeming  <leeming@lyx.org>
7535
7536         * buffer.C: bump format to 224.
7537
7538 2003-06-05  André Pönitz  <poenitz@gmx.net>
7539
7540         * text2.C (redoParagraphs): remove two const_cast<>
7541
7542 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7543
7544         * ParagraphList.h: remove last remnants of NO_STD_LIST
7545
7546 2003-06-03  Angus Leeming  <leeming@lyx.org>
7547
7548         * factory.C (createInset): small change to the way InsetExternal's params
7549         are set.
7550
7551 2003-06-04  André Pönitz  <poenitz@gmx.net>
7552
7553         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7554
7555         * paragraph_pimpl.h:
7556         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7557
7558         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7559
7560         * undo_funcs.C: make some simple cases of undo work again
7561
7562 2003-06-03  John Levon  <levon@movementarian.org>
7563
7564         * ispell.C: HPUX doesn't have sys/select.h
7565         (from Albert Chin)
7566
7567 2003-06-03  John Levon  <levon@movementarian.org>
7568
7569         * CutAndPaste.C: update tabular and include inset
7570         buffer references
7571
7572         * buffer.h:
7573         * paragraph.h:
7574         * paragraph.C: remove owningBuffer(), don't pass Buffer
7575         to clone()
7576
7577         * factory.C: insetGraphicsParams changed
7578
7579 2003-06-02  John Levon  <levon@movementarian.org>
7580
7581         * LyXAction.C:
7582         * factory.C:
7583         * lfuns.h:
7584         * lyxfunc.C:
7585         * text3.C: remove insetparent
7586
7587 2003-06-02  John Levon  <levon@movementarian.org>
7588
7589         * buffer.h:
7590         * buffer.C: fix inset_iterator.end(), move out of line
7591         (bug 1149)
7592
7593 2003-06-01  John Levon  <levon@movementarian.org>
7594
7595         * text3.C: use a proper cut/paste when doing inset
7596         insert (from Jürgen Spitzmüller)
7597
7598 2003-06-01  John Levon  <levon@movementarian.org>
7599
7600         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7601
7602 2003-05-30  André Pönitz  <poenitz@gmx.net>
7603
7604         * rowpainter.C: unify second drawing phase
7605
7606 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * trans_mgr.C: remove one case of current_view
7609
7610         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7611
7612         * paragraph_funcs.h: remove paragraph.h include
7613
7614         * paragraph.h: delete NO_STD_LIST stuff
7615
7616         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7617
7618         * buffer.h: remove paragraph.h include
7619
7620         * ParagraphList.C: delete file
7621
7622         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7623
7624         * toc.C (getTocList): adjust
7625
7626         * paragraph_pimpl.C (validate): adjust
7627
7628         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7629
7630         * paragraph.C (Paragraph): adjust
7631         (getPositionOfInset): use const_iterator, adjust
7632         (bibitem): use const_iterator, adjust
7633         (setInsetOwner): adjust
7634
7635         * iterators.C (operator++): adjust
7636
7637         * InsetList.[Ch]: Replace selfmade iterator with standard
7638         vector::iterator also introduce const_iterator. Remove getPos,
7639         getInset and setInset from InsetTable. Adjust accordingly.
7640
7641         * BufferView.C (lockInset): adjust
7642         (ChangeInsets): adjust
7643
7644         * tabular.[Ch]: delete commented same_id functions
7645
7646 2003-05-28  John Levon  <levon@movementarian.org>
7647
7648         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7649
7650 2003-05-28  André Pönitz  <poenitz@gmx.net>
7651
7652         * metricsinfo.[Ch]: remove 'fullredraw' member
7653
7654 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7655
7656         * lyxtextclass.C (operator): remove caching.
7657
7658 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * text3.C: adjust
7661
7662         * text2.C (cursorBottom): adjust
7663         (setCounter): use ParagraphList::find, adjust
7664
7665         * text.C (workWidth): use ParagraphList::find, adjust
7666
7667         * lyxcursor.C (LyXCursor): adjust
7668
7669         * buffer.C (inset_iterator): adjust
7670
7671         * ParagraphList.h: make iterator(value_type) private, make
7672         ParagraphList a friend of iterator.
7673
7674         * ParagraphList.C (find): new function
7675
7676         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7677
7678 2003-05-27  André Pönitz  <poenitz@gmx.net>
7679
7680         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7681
7682 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7683
7684         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7685
7686 2003-05-26  John Levon  <levon@movementarian.org>
7687
7688         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7689
7690 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * remove same_id from function signatures, adjust.
7693
7694 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7697
7698         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7699
7700         * paragraph.C (Paragraph): get rid of same_ids parameter
7701
7702         * ParagraphList.C (insert): adjust
7703         (push_back): adjust
7704
7705 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * paragraph_funcs.C (breakParagraph): adjust
7708         (breakParagraphConservative): adjust
7709
7710         * buffer.C (readParagraph): adjust
7711
7712         * ParagraphList.C (insert): take a reference instead of a pointer
7713         (insert): adjust
7714
7715         * paragraph.[Ch] (id): new function
7716
7717         * bufferlist.C (newFile): adjust
7718
7719         * ParagraphList.C (ParagraphList): adjust
7720         (assign): adjust
7721         (push_back): take a reference instead of a pointer.
7722
7723         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7724
7725         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7726         instead.
7727
7728         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7729         set else use old code.
7730
7731         * ParagraphList.C: remove all NO_NEXT code and only compile this
7732         code of NO_STD_LIST is set.
7733
7734 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7735
7736         * BufferView_pimpl.C:
7737         * TextCache.C:
7738         * TextCache.h:
7739         * bufferlist.C:
7740         * errorlist.h:
7741         * format.C:
7742         * format.h:
7743         * graph.C:
7744         * lyxfunc.C:
7745         * lyxrc.C:
7746         * graphics/GraphicsConverter.C:
7747         * graphics/PreviewLoader.C: header adjustment
7748
7749 2003-05-23  Angus Leeming  <leeming@lyx.org>
7750
7751         * LaTeXFeatures.[Ch] (useBabel): new method.
7752         * bufferparams.C (writeLaTeX): use it.
7753
7754 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7755
7756         * ParagraphList.h (set): remove unused function.
7757
7758 2003-05-23  André Pönitz  <poenitz@gmx.net>
7759
7760         * BufferView.C:
7761         * BufferView_pimpl.C:
7762         * buffer.C:
7763         * buffer.h:
7764         * lyxfunc.C:
7765         * undo_funcs.C: setUndo reworked
7766
7767         * iterators.[Ch]: add access to topmost ParagraphList
7768
7769         * lyxtext.[Ch] (workWidth): add a const
7770
7771 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7772
7773         * texrow.[Ch] (increasePos): remove function
7774         * exporter.C (export): removed unused var and outdated comment
7775
7776 2003-05-23  Angus Leeming  <leeming@lyx.org>
7777
7778         * latexrunparams.h: rename fragile as moving_arg.
7779         * paragraph.C (simpleTeXOnePar): ditto.
7780         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7781
7782 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7785         (createUndo): ditto
7786         (textUndoOrRedo): comment out a currently unused var.
7787
7788         * paragraph.h (NO_NEXT): enable NO_NEXT
7789
7790         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7791
7792         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7793
7794         * exporter.C (Export): adjust for removeAutoInsets removal.
7795
7796         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7797
7798         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7799
7800         * BufferView.[Ch] (removeAutoInsets): delete function
7801
7802 2003-05-22  Angus Leeming  <leeming@lyx.org>
7803
7804         * latexrunparams.h: add a free_spacing variable.
7805
7806         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7807         to pass moving_arg, as the data is stored in runparams.fragile.
7808
7809         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7810         to Inset::latexOptional or to simpleTeXOnePar.
7811
7812         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7813         free_spacing arg to Inset::latexOptional.
7814
7815         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7816         free_spacing arg.
7817
7818 2003-05-22  Angus Leeming  <leeming@lyx.org>
7819
7820         * latexrunparams.h: add fragile and use_babel variables.
7821
7822         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7823         * buffer.C (makeLaTeXFile): store this returned value in
7824         runparams.use_babel, thus passing it to the inset::latex methods.
7825
7826         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7827         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7828
7829         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7830         longer has a fragile arg, as it is stored in runparams.fragile.
7831
7832         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7833         moving_arg parameter as the data is stored in runparams.fragile.
7834
7835         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7836         a fragile parameter as the data is stored in runparams.fragile.
7837
7838 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7841
7842 2003-05-22  Angus Leeming  <leeming@lyx.org>
7843
7844         * latexrunparams.h: add a 'bool nice' which defaults to false.
7845
7846         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7847         now encapsulated within runparams.
7848
7849         * bufferlist.C (updateIncludedTeXfiles):
7850         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7851
7852 2003-05-22  Angus Leeming  <leeming@lyx.org>
7853
7854         * latexrunparams.h: new file containing struct LatexRunParams.
7855         * Makefile.am: add new file.
7856
7857         * LaTeX.[Ch] (c-tor, run):
7858         * buffer.[Ch] (makeLaTeXFile):
7859         * bufferlist.[Ch] (updateIncludedTeXfiles):
7860         * converter.C (convert, scanLog):
7861         * converter.[Ch] (runLaTeX):
7862         * exporter.C (Export):
7863         * paragraph.[Ch] (simpleTeXOnePar):
7864         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7865         * paragraph_funcs.[Ch] (latexParagraphs):
7866         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7867         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7868         pass around a LatexRunParams parameter.
7869
7870 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * paragraph.[Ch]: remove unused constructor
7873
7874         * ParagraphList.C (erase): new function, taking two iterators
7875
7876 2003-05-22  André Pönitz  <poenitz@gmx.net>
7877
7878         * undo_funcs.C: remove duplicated code
7879
7880         * iterator.[Ch]: operator=
7881
7882 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * tabular.C (SetMultiColumn): ws changes
7885
7886         * rowpainter.C (paintFirst): get rid of a ->previous
7887
7888         * lyx_cb.C (getPossibleLabel): parlist simplification
7889
7890         * BufferView.C (ChangeInsets): simplify slightly.
7891
7892 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7893
7894         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7895         * lfuns.h: new LFUN_SPACE
7896         * lyxfunc.C: protected space has a new lfun
7897         * paragraph_funcs.C: read new space insets
7898         * text3.C:
7899         * factory.C: handle new space insets
7900
7901 2003-05-22  André Pönitz  <poenitz@gmx.net>
7902
7903         * BufferView.C:
7904         * BufferView_pimpl.C:
7905         * buffer.[Ch]:
7906         * lyxfunc.C:
7907         * undo_funcs.C: return a ParIterator from getParFromID.
7908
7909         * iterators.[Ch]: add two const's
7910
7911 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * toc.C (getTocList): adjust
7914
7915         * iterators.[Ch]: rework for parlist
7916
7917         * buffer.C (par_iterator_begin): adjust
7918         (par_iterator_end): adjust
7919
7920         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7921
7922         * BufferView.C (removeAutoInsets): adjust
7923         (ChangeInsets): adjust
7924
7925 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7926
7927         * text.C (top_y): fix bug 1110
7928
7929 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * errorlist.[Ch]: added
7932         * buffer.C:
7933         * BufferView.[Ch]:
7934         * BufferView_pimpl.C:
7935         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7936         instead
7937
7938 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * Makefile.am: ensure that lyx is relinked upon changes to the
7941         various "convenience" libs.
7942
7943 2003-05-20  Angus Leeming  <leeming@lyx.org>
7944
7945         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7946         files are compiled in alphabetical order again.
7947
7948         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7949
7950 2003-05-19  Angus Leeming  <leeming@lyx.org>
7951
7952         * gettext.[Ch]: remove "char const * _(char const *)".
7953
7954 2003-05-19  André Pönitz  <poenitz@gmx.net>
7955
7956         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7957
7958         * Makefile.am:
7959         * BufferView.C:
7960         * DepTable.h:
7961         * LaTeXFeatures.C:
7962         * buffer.C:
7963         * lyxfont.C:
7964         * lyxlex.h:
7965         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7966
7967 2003-05-19  André Pönitz  <poenitz@gmx.net>
7968
7969         * buffer.C:
7970         * lyxlayout.[Ch]:
7971         * lyxtextclass.[Ch]:
7972         * paragraph.C:
7973         * paragraph_funcs.[Ch]:
7974         * text2.C:
7975         * text3.C: more insetenv work
7976
7977 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7978
7979         * ParagraphParameters.C (params2string): small bug fixed
7980
7981 2003-05-16  André Pönitz  <poenitz@gmx.net>
7982
7983         * debug.C:
7984         * bufferview_funcs.C: patch from Kornel Benko to prevent
7985           crash when _(...) is called twice in a statement
7986
7987 2003-05-16  André Pönitz  <poenitz@gmx.net>
7988
7989         * BufferView.C:
7990         * lyxfunc.C:
7991         * text.C:
7992         * text2.C:
7993         * text3.C:
7994         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7995
7996 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7997
7998         * lyx_main.C (init): remove spurious static_cast
7999
8000 2003-05-14  André Pönitz  <poenitz@gmx.net>
8001
8002         * BufferView.C: fix format string
8003
8004 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8005
8006         * BufferView.[Ch] (insertErrors): removed
8007         * BufferView.[Ch] (showErrorList): added
8008         * buffer.C (runChkTeX):
8009         * converter.C (scanLog): call showErrorList instead of inserterrors
8010
8011 2003-05-13  André Pönitz  <poenitz@gmx.net>
8012
8013         * BufferView_pimpl.C:
8014         * buffer.C:
8015         * bufferview_func.C:
8016         * MenuBackend.C:
8017         * lyxfunc.C:
8018         * lyxrc.C:
8019         * tex-accent.C:
8020         * text3.C:
8021         * toc.C:
8022         * tabular_funcs.h: tostr() from its own header
8023
8024         * ParagraphParameters.C:
8025         * ToolbarBackend.C:
8026         * bufferparams.C:
8027         * format.C:
8028         * lyxlex_pimpl.C:
8029         * text3.C: STRCONV()
8030
8031 2003-05-12  André Pönitz  <poenitz@gmx.net>
8032
8033         * BufferView.C:
8034         * BufferView_pimpl.C:
8035         * CutAndPaste.C:
8036         * LaTeX.C:
8037         * LaTeXFeatures.C:
8038         * ParagraphParameters.C:
8039         * buffer.C:
8040         * bufferlist.C:
8041         * bufferparams.C:
8042         * bufferview_funcs.C:
8043         * converter.C:
8044         * counters.C:
8045         * debug.C:
8046         * exporter.C:
8047         * format.C:
8048         * importer.C:
8049         * lyx_cb.C:
8050         * lyx_main.C:
8051         * lyxfont.C:
8052         * lyxfunc.C:
8053         * lyxvc.C:
8054         * paragraph.C:
8055         * paragraph_funcs.C:
8056         * tabular.C:
8057         * tabular_funcs.C:
8058         * text2.C:
8059         * text3.C:  boost::format -> bformat  all over the place
8060
8061
8062 2003-05-09  André Pönitz  <poenitz@gmx.net>
8063
8064         * LColor.[Ch]: Pimpl the #include <map> away
8065
8066 2003-05-09  John Levon  <levon@movementarian.org>
8067
8068         * bufferlist.C: never remove emergency saves
8069
8070 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * Makefile.am: better lib building
8073
8074 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8077         instead.
8078         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8079         (simpleTeXSpecialChars): adjust
8080         (simpleTeXSpecialChars): adjust
8081         * paragraph.C (simpleTeXOnePar): adjust
8082         * buffer.C (makeLaTeXFile): adjust
8083
8084         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8085
8086         * text2.C (changeDepth): parlist cleanup
8087         (getColumnNearX): ditto
8088
8089         * rowpainter.C (getLabelFont): parlist cleanup
8090
8091         * bufferlist.C (newFile): parlist cleanup
8092
8093         * CutAndPaste.C (eraseSelection): parlist cleanup
8094
8095         * BufferView_pimpl.C (trackChanges): parlist cleanup
8096         (dispatch): ditto
8097
8098         * BufferView.C (lockInset): parlist cleanup.
8099         (ChangeInsets): ditto
8100
8101 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * CutAndPaste.h: Update file header.
8104
8105         * CutAndPaste.C: Update file header.
8106         Store the parts cut out of the Document in a limited_stack.
8107         (copySelection): adjust
8108         (pasteSelection): new function, takes the index in the limited stack.
8109         (nrOfParagraphs): adjust
8110         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8111         simplify error inset insertion.
8112         (checkPastePossible): adjust
8113
8114 2003-05-06  John Levon  <levon@movementarian.org>
8115
8116         * text2.C: don't cast wrap inset to float
8117
8118 2003-05-05  André Pönitz  <poenitz@gmx.net>
8119
8120         * iterator.C:
8121         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8122
8123         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8124           few naked Paragraph *.
8125
8126 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8127
8128         * bufferparams.C: Output warning if a document with missing
8129         TeX document class is loaded
8130         * exporter.C: Disable TeX exports if the document class is missing
8131         * lyxtextclass.C:
8132         * lyxtextclass.h:
8133         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8134         isTeXClassAvailable()
8135
8136 2003-05-03  John Levon  <levon@movementarian.org>
8137
8138         * BufferView.h:
8139         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8140         explicit cursor show/hide
8141
8142         * BufferView_pimpl.h:
8143         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8144         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8145
8146         * lyxfunc.C: hide cursor before dispatching.
8147
8148         * lyx_cb.C:
8149         * lyxfind.C:
8150         * text.C:
8151         * text3.C: remove explicit cursor hides
8152
8153 2003-05-02  André Pönitz  <poenitz@gmx.net>
8154
8155         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8156
8157         * undo_funcs.C:
8158         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8159           linked lists
8160
8161         * text2.C: tiny whitespace
8162
8163 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * undo_funcs.C: almost only ws changes.
8166
8167         * ParagraphList.C (splice): just return if pl is empty.
8168
8169 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * ParagraphList.C (splice): new function.
8172
8173         * CutAndPaste.C (pasteSelection): use it
8174
8175 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * CutAndPaste.C (pasteSelection): remove the last next and
8178         previous from this file.
8179
8180 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * CutAndPaste.C (pasteSelection): more clean up, user proper
8183         ParagraphList functions for pasteing.
8184
8185         * ParagraphList.C (insert): new function, three arg insert
8186
8187 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * ParagraphList.C (insert): new function, three arg insert
8190
8191         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8192         not on paragraphs.
8193
8194 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8197
8198 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8201
8202 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8205         (copySelection): clean up a bit.
8206         (pasteSelection): use make_pair
8207
8208         * ParagraphList.C (ParagraphList): implement copy constructor
8209         (operator=): implement, base on copy constructor.
8210         (assign): new func
8211
8212         * paragraph.C (erase): return a bool
8213
8214         * paragraph_pimpl.C (erasePos): remove function, move contents...
8215         (erase): ... here. Return a bool.
8216         (erase): call erase instead of erasePos.
8217
8218 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8219
8220         * ParagraphList.h: define PitPosPair
8221         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8222         ParagraphList, fix a bug on pasting multiple pars
8223         * text2.C: change interface to C&P
8224
8225 2003-04-30  André Pönitz  <poenitz@gmx.net>
8226
8227         * undo_func.C: revert part of yesterday's patch 2
8228
8229 2003-04-30  John Levon  <levon@movementarian.org>
8230
8231         * LColor.C: s/tabular/table/
8232
8233 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * text3.C (dispatch): do not convert iterator -> pointer
8236         * undo_funcs.C (setCursorParUndo): ditto
8237         * text_funcs.C (transposeChars): ditto
8238
8239         * text2.C (setLayout): ws changes only
8240
8241         * text.C (breakParagraph): do not convert iterator -> pointer
8242         (insertChar): ditto
8243         (acceptChange): ditto
8244         (rejectChange): ditto
8245         (changeCase): ditto
8246         (Delete): ditto
8247         (backspace): ditto
8248
8249         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8250         pointer
8251
8252 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8253
8254         * text3.C (gotoInset): YABG (yet another bad getChar)
8255
8256 2003-04-29  André Pönitz  <poenitz@gmx.net>
8257
8258         * paragraph.h: make operator= private unimplemented as long as
8259           it is unusable
8260
8261         * ParagraphList.C: whitespace
8262
8263         * paragraph.[Ch]:
8264         * paragraph_pimpl.[Ch]:
8265         * paragraph_funcs.C:
8266         * CutAndPaste.C:
8267         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8268
8269         * text2.C:
8270           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8271
8272 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8273
8274         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8275         * paragraph.[Ch] (erase):
8276         * paragraph_pimpl.[Ch] (erase): change return type and value
8277         * text2.C (cutSelection): some rework
8278
8279 2003-04-28  John Levon  <levon@movementarian.org>
8280
8281         * bufferlist.C: changes for unsaved changes dialog
8282
8283 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * bufferlist.C (newFile): set language (messages_) for new
8286         documents also.
8287
8288         * buffer.C (readFile): ws changes only.
8289
8290 2003-04-28  André Pönitz  <poenitz@gmx.net>
8291
8292         * undo_funcs.C:
8293         * lyxfunc.C:
8294         * buffer.[Ch]:
8295         * BufferView_pimpl.C:
8296         * BufferView.C: getParFromID related ParagraphList::iterator changes
8297
8298 2003-04-28  André Pönitz  <poenitz@gmx.net>
8299
8300         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8301           Changes
8302
8303 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * messages.C: remove one more localedir class variable.
8306
8307 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8308
8309         * messages.C (getLocaleDir): singleton generation function
8310         (Pimpl): use it.
8311         (Messages): add a default constructor.
8312
8313         * main.C (main): do not setup localedir here, do not call
8314         gettext_init.
8315
8316         * gettext.C (_): use it.
8317         (gettext_init): delete funciton
8318
8319 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * gettext.C (getLyXMessages): new singleton generating function.
8322
8323         * buffer.C (updateDocLang): adjust
8324
8325         * Makefile.am (messages.o): add target
8326         (main.o): remove target
8327
8328 2003-04-27  John Levon  <levon@movementarian.org>
8329
8330         * bufferlist.C:
8331         * lyx_cb.C:
8332         * lyxfunc.C:
8333         * lyxvc.C: specify cancel button in Alert::prompt
8334
8335 2003-04-26  John Levon  <levon@movementarian.org>
8336
8337         * text3.C:
8338         * lyxfunc.C:
8339         * lfuns.h:
8340         * LyXAction.C: add LFUN_INSET_SETTINGS
8341
8342         * lyxfunc.C: don't enable tabular-feature when there's
8343         just any locking inset
8344
8345 2003-04-26  John Levon  <levon@movementarian.org>
8346
8347         * bufferlist.C: re-add Cancel to buffer close question
8348
8349         * lyxfunc.C: fix import UI a bit
8350
8351 2003-04-25  John Levon  <levon@movementarian.org>
8352
8353         * gettext.C: remove the broken asserts for now
8354
8355 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * messages.C: make case where setlocale cannot comply work better.
8358
8359         * buffer.C (updateDocLang): new function
8360         (changeLanguage): use it
8361         (readFile): use it
8362
8363         * text2.C (setCounter): use B_ a bit.
8364
8365         * lyxlayout.C (Read): be sure to trim the label strings.
8366
8367         * messages.C (Messages): fix typo in comment
8368
8369         * buffer.C (readFile): set message_ after file is loaded.
8370         (makeDocBookFile): remove double return
8371         (changeLanguage): reset message_ upon language change.
8372         (B_): new func, use this to get translated buffer strings.
8373
8374         * main.C: add myself and Jean Marc as authors.
8375
8376 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * messages.[hC]: pimplify Messages, and three different pimpls to be
8379         used in different circumstances.
8380
8381         * gettext.[Ch]: change for use with new message code.
8382
8383 2003-04-24 André Pönitz <poenitz@gmx.net>
8384
8385         * factory.C: support for eqref
8386
8387 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8388
8389         * messages.[Ch]: add missing char
8390
8391         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8392
8393         * messages.[Ch]: New files
8394
8395 2003-04-18  John Levon  <levon@movementarian.org>
8396
8397         * BufferView.h:
8398         * BufferView.C:
8399         * BufferView_pimpl.C:
8400         * lfuns.h:
8401         * LyXAction.C:
8402         * lyxtext.h:
8403         * text2.C: remove layout-copy/paste (bug 778)
8404
8405 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8406
8407         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8408
8409 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8410
8411         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8412         if they succeed. Act accordingly.
8413
8414 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * text2.C (setCharFont): adjust
8417         (setCounter): adjust
8418         (insertStringAsLines): adjust
8419
8420         * text.C (leftMargin): adjust
8421         (setHeightOfRow): adjust
8422
8423         * rowpainter.C (paintFirst): adjust
8424         (paintLast): adjust
8425
8426         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8427         (outerHook): ditto
8428         (isFirstInSequence): ditto
8429         (getEndLabel): ditto
8430         (outerFont): adjust
8431
8432         * paragraph.C (getParLanguage): comment out some hard stuff.
8433
8434         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8435         (sgmlError): ditto
8436         (simpleDocBookOnePar): ditto
8437         (makeDocBookFile): use ParagraphList::iterator
8438
8439         * CutAndPaste.C (pasteSelection): adjust
8440
8441 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * text2.C (getFont): adjust
8444         (getLayoutFont): adjust
8445         (getLabelFont): adjust
8446
8447         * paragraph_funcs.C (TeXOnePar): adjust
8448
8449         * buffer.C (simpleLinuxDocOnePar): adjust
8450         (simpleDocBookOnePar): adjust
8451
8452         * CutAndPaste.C (pasteSelection): adjust
8453
8454         * BufferView.C (getEncoding): adjust
8455
8456         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8457
8458 2003-04-16  John Levon  <levon@movementarian.org>
8459
8460         * lyxfind.C: use parlist stuff for search/changes
8461
8462 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8463
8464         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8465
8466         * text2.C (deleteEmptyParagraphMechanism): adjust
8467
8468         * text2.[Ch] (ownerParagraph): delete func (both of them
8469
8470 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8473
8474 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8475
8476         * ParagraphList.C: prepare for NO_NEXT
8477
8478 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * text2.C (getFont): adjust
8481         (getLayoutFont): adjust
8482         (getLabelFont): adjust
8483
8484         * paragraph.C (getFont): adjust
8485         (getLabelFont): adjust
8486         (getLayoutFont): adjust
8487
8488         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8489
8490 2003-04-15  John Levon  <levon@movementarian.org>
8491
8492         From Angus Leeming
8493
8494         * lyx_main.C: handle Include in .ui files
8495
8496 2003-04-15  John Levon  <levon@movementarian.org>
8497
8498         * MenuBackend.C: make the doc files length shorter
8499
8500         * ToolbarBackend.h:
8501         * ToolbarBackend.C: handle toolbar placement flags,
8502         Minibuffer
8503
8504 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8507         adjust
8508
8509         * paragraph_funcs.C (TeXOnePar): adjust
8510
8511         * paragraph.C (getLabelFont): add outerfont arg, adjust
8512         (getLayoutFont): ditto
8513         (simpleTeXOnePar): adjust
8514
8515         * paragraph_pimpl.C (realizeFont): delete func
8516
8517 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8518
8519         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8520         row argument, constify cur argument.
8521
8522 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * text2.C (getFont): adjust
8525         (getLayoutFont): adjust
8526         (getLabelFont): adjust
8527
8528         * paragraph_funcs.C (TeXOnePar): adjust
8529         (outerFont): new func...
8530         (realizeFont): ...moved out from here, changed this to facilitate
8531         transition
8532
8533         * paragraph.C (getFont): take outerfont as arg, adjust
8534         (simpleTeXOnePar): add outerfont arg, adjust
8535
8536         * buffer.C (simpleLinuxDocOnePar): adjust
8537         (simpleDocBookOnePar): adjust
8538
8539         * CutAndPaste.C (pasteSelection): adjust
8540
8541         * BufferView.C (getEncoding): adjust
8542
8543 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * text2.C (setCharFont): adjust
8546         (setCounter): adjust
8547
8548         * text.C (leftMargin): adjust
8549         (setHeightOfRow): adjust
8550
8551         * rowpainter.C (paintFirst): adjust
8552         (paintLast): adjust
8553
8554         * paragraph_pimpl.C (realizeFont): adjust
8555
8556         * paragraph.C (isFirstInSequence): move from here...
8557         * paragraph_funcs.C (isFirstInSequence): ...to here
8558
8559         * paragraph.C (outerHook): move from here...
8560         * paragraph_funcs.C (outerHook): ...to here
8561
8562         * paragraph.C (depthHook): move from here...
8563         * paragraph_funcs.C (depthHook): ...to here
8564
8565         * paragraph.C (getEndLabel): move from here...
8566         * paragraph_funcs.C (getEndLabel): ...to here
8567
8568         * text2.C (realizeFont): move from here...
8569         * paragraph_funcs.C (realizeFont): ...to here
8570
8571 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8572
8573         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8574
8575 2003-04-14  Angus Leeming  <leeming@lyx.org>
8576
8577         * LColor.[Ch]: scrap LColor mathcursor.
8578
8579 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * lyxlex.[Ch] (text): delete function
8582         * trans.C (Load): adjust
8583         * paragraph_funcs.C (readParToken): adjust
8584
8585 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8586
8587         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8588         vector<char> instead of a char[].
8589
8590         * lyxlex_pimpl.C (getString): adjust
8591         (next): adjust
8592         (lex): use getString
8593         (eatLine): adjust
8594         (nextToken): adjust
8595
8596         * lyxlex.C (text): use pimpl_->getString()
8597         (getBool): ditto
8598         (findToken): ditto
8599
8600 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8601
8602         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8603         (makeFontEntriesLayoutSpecific): temp var for par.size()
8604         (setLayout): temp var for ownerParagraphs().end()
8605         (fullRebreak): temp var for rows().end()
8606         (selectionAsString): temp var for boost::next(startpit), realize
8607         that the while really is a regular for loop.
8608         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8609         setCursor in one place.
8610         (setParagraph): temp vr for ownerParagraphs().end()
8611         (updateCounters): make the while loop a for loop
8612         (cutSelection): temp var for ownerParagraphs().end()
8613         (updateInset): make the do {} while() a regular for loop
8614         (getCursorX): use temp vars
8615         (setCurrentFont): use temp vars
8616         (getColumnNearX): use temp vars
8617
8618 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text.C (transformChar): use temp var for getChar
8621         (computeBidiTables): use temp var for row->par()
8622         (fill): move temp vars for row->par() and pit->layout() earlier in
8623         the function.
8624         (labelFill): use temp var for row->par()
8625         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8626         asc and desc, realize that pit never changes and that firstpit is
8627         just a duplicate and not needed. Exchange rit->par() with pit in a
8628         lot of places.
8629         (breakAgain): use a temp var for boost::next(rit)
8630         (breakAgainOneRow): ditto
8631         (breakParagraph): use a temp var for rows().begin()
8632         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8633         (cursorRightOneWord): use temp var for cursor.par() and
8634         cursor.pos(), remove usage of tmpcursor.
8635         (cursorLeftOneWord): use temp var for cursor.par() and
8636         cursor.pos() only set cur at end of function.
8637
8638 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * text.C, text2.C: exchange all usage of Paragraph::next with
8641         boost::next(ParagraphList::iterator)
8642
8643         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8644
8645         * text2.C (cursorTop): simplify implementation
8646         (cursorBottom): ditto
8647         (setParagraph): use ParagraphList::iterator
8648         (setCurrentFont): adjust
8649         (getColumnNearX): adjust
8650         (cursorRight): adjust
8651         (cursorLeft): remove usage of Paragraph::previous
8652         (cursorUpParagraph): ditto
8653         (deleteEmptyParagraphMechanism): slight cleanup
8654
8655         * text.C (isBoundary): take a Paragraph const & instead of a
8656         pointer as arg.
8657         (addressBreakPoint): ditto
8658         (leftMargin): remove usage of Paragraph::previous.
8659         (setHeightOfRow): ditto
8660         (cursorLeftOneWord): ditto
8661         (selectNextWordToSpellcheck): ditto
8662         (Delete): ditto
8663         (backspace): ditto
8664         (breakParagraph): remove one usage of Paragraph::next
8665         (redoParagraph): ditto
8666         (acceptChange): ditto
8667         (insertChar): adjust
8668         (rowBreakPoint): adjust
8669
8670         * bufferview_funcs.C (toggleAndShow): adjust
8671
8672 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8673
8674         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8675         methods to access it.
8676         * lyxtext.h:
8677         * text.C: Added updateRowPositions to compute all row positions.
8678         Make top_y and getRowNearY() to use the cached y position
8679
8680 2003-04-11  John Levon  <levon@movementarian.org>
8681
8682         * text.C (rowBreakPoint): reintroduce the labelEnd
8683         checks, code copied from the row fill stuff. Deep voodoo.
8684
8685         * text.C (fill): add a comment and debugging for the
8686         next poor soul.
8687
8688 2003-04-11  John Levon  <levon@movementarian.org>
8689
8690         * text.C: make sure fullrow insets get wrapped to the next line,
8691         even when they're in a manual label
8692
8693 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * text2.C (insertParagraph): make it take ParagraphList::iterator
8696         as arg.
8697         (setLayout): make it return ParagraphList::iterator
8698         (redoParagraphs): ditto
8699         (setCounter): ditto
8700         (checkParagraph): ditto
8701
8702         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8703
8704         * text2.C: adjust several funcs.
8705         (realizeFont): take a ParagraphList::iterator as arg.
8706         (getLayoutFont): ditto
8707         (getLabelFont): ditto
8708         (setCharFont): ditto
8709
8710         * text.C: adjust several funcs.
8711
8712 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8713
8714         * text.C (selectNextWordToSpellcheck): don't accidentally
8715         skip insets
8716
8717 2003-04-10  John Levon  <levon@movementarian.org>
8718
8719         * ToolbarBackend.C (getIcon): special handling for
8720         LFUN_MATH_DELIM
8721
8722 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8723
8724         * text2.C (cursorRight): a getChar assert fixed
8725
8726 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8727
8728         * text2.C (getFont): change to take a ParagraphList::iterator
8729         instead of Paragraph*
8730         Adjust several functions.
8731
8732         * text.C (transformChar): change to take a ParagraphList::iterator
8733         instead of Paragraph*
8734         (singleWidth): ditto
8735         Adjust several functions.
8736
8737         * rowpainter.C: adjust several functions
8738         * rowpainter.h:store a ParagraphList::iterator and not a
8739         Paragraph&.
8740
8741
8742 2003-04-09  John Levon  <levon@movementarian.org>
8743
8744         * lyxfunc.C:
8745         * lfuns.h:
8746         * LyXAction.h:
8747         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8748         and the "help" bits as well
8749
8750 2003-04-09  John Levon  <levon@movementarian.org>
8751
8752         * ToolbarBackend.h:
8753         * ToolbarBackend.C: allow multiple toolbars
8754
8755 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * undo_funcs.C (setCursorParUndo): adjust
8758
8759         * text_funcs.C (transposeChars): adjust
8760
8761         * text3.C (gotoNextInset): adjust
8762         (dispatch): adjust
8763
8764         * text2.C (setLayout): adjust
8765         (changeDepth): adjust
8766         (setFont): adjust
8767         (redoParagraphs): adjust
8768         (selectionAsString): adjust
8769         (setParagraph): adjust
8770         (insertInset): adjust
8771         (cutSelection): adjust
8772         (copySelection): adjust
8773         (pasteSelection): adjust
8774         (insertStringAsLines): adjust
8775         (updateInset): adjust
8776         (setCursor): change to take a ParagraphList::iterator parameter
8777         (setCursorIntern): change to take a ParagraphList::iterator parameter
8778         (setCurrentFont): adjust
8779         (cursorLeft): adjust
8780         (cursorRight): adjust
8781         (deleteEmptyParagraphMechanism): adjust
8782
8783         * text.C (breakParagraph): adjust
8784         (insertChar): adjust
8785         (acceptChange): adjust
8786         (rejectChange): adjust
8787         (selectNextWordToSpellcheck): adjust
8788         (changeCase): adjust
8789         (Delete): adjust
8790         (backspace): adjust
8791
8792         * lyxfind.C (SearchForward): adjust
8793         (SearchBackward): adjust
8794         (nextChange): adjust
8795
8796         * lyxcursor.C (par): adjust
8797
8798         * lyxcursor.h: store a ParagraphList::iterator instead of a
8799         Paragraph*
8800
8801         * lyx_cb.C (getPossibleLabel): adjust
8802
8803         * bufferview_funcs.C (toggleAndShow): adjust
8804
8805         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8806         (dispatch): adjust
8807
8808         * BufferView.C (removeAutoInsets): adjust
8809         (lockedInsetStoreUndo): adjust
8810
8811 2003-04-09  John Levon  <levon@movementarian.org>
8812
8813         * ToolbarBackend.C: try icon without argument
8814         if with argument fails
8815
8816 2003-04-08  John Levon  <levon@movementarian.org>
8817
8818         * ToolbarBackend.h:
8819         * ToolbarBackend.C: add getIcon(), handle tooltip,
8820         and change from "Icon" to "Item".
8821
8822 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8823
8824         * BufferView.C (lockInset): another bad getchar crunched
8825
8826 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8827
8828         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8829         again)
8830
8831 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8832
8833         * lyxfind.C (searchForward, searchBackwards): bug 782
8834
8835 2003-04-07  John Levon  <levon@movementarian.org>
8836
8837         * paragraph.C: remove dead comment
8838
8839         * text.C: remove troublesome depth-fiddling code
8840         in leftMargin() and rightMargin() (bug 1017)
8841
8842         * text.C: fix breaking of rows in nested lists
8843         (bug 1004)
8844
8845         * text2.C (updateCounters): fix up depth values
8846         (bug 1013)
8847
8848 2003-04-07  John Levon  <levon@movementarian.org>
8849
8850         * BufferView_pimpl.C: clear message when doc finishes resizing,
8851         and after a mouse event
8852
8853         * lyxfunc.C: clear message after exiting inset
8854
8855 2003-04-07  John Levon  <levon@movementarian.org>
8856
8857         * bufferview_funcs.C: show math status not outside
8858         status in the statusbar
8859
8860 2003-04-07  John Levon  <levon@movementarian.org>
8861
8862         * lyxfunc.C: note status changed after a depth change
8863
8864 2003-04-04  Angus Leeming  <leeming@lyx.org>
8865
8866         * LaTeX.h: move AuxInfo operator==, != out of line.
8867         Remove LaTeX virtual destructor; nothing derives from it.
8868         Move operator()() out of public area and rename it startscript().
8869         Change protected for private.
8870
8871 2003-04-04  Angus Leeming  <leeming@lyx.org>
8872
8873         * lyxfunc.C:
8874         * text2.C: remove unneeded #includes.
8875
8876 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8877
8878         * text2.C (dEPM): fix the heigth of the next row
8879
8880 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8881
8882         * text.C: squashed an invalid getChar requester + some ws changes
8883
8884 2003-04-03  John Levon  <levon@movementarian.org>
8885
8886         * bufferview_funcs.h:
8887         * bufferview_funcs.C:
8888         * lyxfunc.C:
8889         * lyxtext.h:
8890         * text2.C: make getStatus work for the env depth lfuns
8891
8892 2003-04-03  John Levon  <levon@movementarian.org>
8893
8894         * bufferview_funcs.h:
8895         * bufferview_funcs.C:
8896         * lyxfunc.C:
8897         * lyxtext.h:
8898         * text2.C: parlistize decDepth(), by merging it with incDepth()
8899
8900 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * lyxrow.h: store a ParagraphList::iterator instead of a
8903         Paragraph* and adjust other class functions to suit.
8904
8905         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8906         above.
8907
8908 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8909
8910         * text2.C (setCursor): do not anchor to cursor row for the time being
8911
8912 2003-04-02  John Levon  <levon@movementarian.org>
8913
8914         * LyXAction.C:
8915         * lfuns.h:
8916         * lyx_main.C:
8917         * lyxtext.h:
8918         * text.C:
8919         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8920
8921 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8922
8923         * paragraph.h: make ParagraphList and ParagraphList::iterator
8924         friends of Paragraph.
8925
8926         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8927
8928         * ParagraphList.C: Use the private next_ and previous_ from
8929         Paragraph.
8930
8931 2003-04-01  John Levon  <levon@movementarian.org>
8932
8933         * ToolbarBackend.h:
8934         * ToolbarBackend.C:
8935         * Makefile.am: rename, remove defaults gunk
8936
8937         * MenuBackend.h:
8938         * MenuBackend.C: remove defaults gunk
8939
8940         * Languages.h:
8941         * Languages.C: remove defaults gunk
8942
8943         * lyx_main.h:
8944         * lyx_main.C: error out if files couldn't be found.
8945
8946 2003-04-02  John Levon  <levon@movementarian.org>
8947
8948         * text2.C: make incDepth() use parlist
8949
8950 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8951
8952         * undo_funcs.C (firstUndoParagraph): adjust
8953
8954         * text3.C (gotoInset): adjust
8955         (dispatch): adjust, and rewrite loop.
8956
8957         * text2.C (init): adjust, and rewrite loop.
8958         (redoParagraphs): adjust
8959         (updateInset): adjust, and rewrite loop.
8960         (deleteEmptyParagraphMechanism): adjust
8961
8962         * tabular.C (LyXTabular): adjust
8963         (SetMultiColumn): adjust
8964         (TeXRow): adjust
8965
8966         * lyxtext.[Ch] (ownerParagraph): delete function
8967         (ownerParagraphs): new function returns a ParagraphList.
8968
8969         * BufferView.C (removeAutoInsets): adjust
8970         (insertErrors): adjust
8971         (setCursorFromRow): adjust
8972
8973 2003-04-01  Angus Leeming  <leeming@lyx.org>
8974
8975         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8976         in the frontends.
8977
8978 2003-04-02  John Levon  <levon@movementarian.org>
8979
8980         * lyxtext.h:
8981         * text.C:
8982         * Makefile.am:
8983         * text_funcs.h:
8984         * text_funcs.C: make transposeChars a free function
8985
8986         * lyxrow_funcs.C: remove wrong comment
8987
8988 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * lyxtext.h: adjust
8991         * rowpainter.C: adjust
8992         * text.C: adjust
8993         * text2.C: adjust
8994         * text3.C: adjust
8995
8996         * lyxrow_funcs. [Ch]: new files
8997
8998         * lyxrow.[Ch]: remove next and previous pointers
8999         (next,previous): remove accessor functions
9000         (isParEnd): move to lyxrow_funcs
9001         (lastPos): move to lyxrow_funcs
9002         (nextRowIsAllInset): move to lyxrow_funcs
9003         (lastPrintablePos): move to lyxrow_funcs
9004         (numberOfSeparators): move to lyxrow_funcs
9005         (numberOfHfills): move to lyxrow_funcs
9006         (numberOfLabelHfills): move to lyxrow_funcs
9007         (hfillExpansion): move to lyxrow_funcs
9008
9009         * lyxfunc.C: adjust
9010
9011         * bufferview_funcs.C (toggleAndShow): adjust
9012
9013         * RowList.h: Remove class RowList from file leave just a
9014         std::list<Row>.
9015
9016         * RowList.C: delete file
9017
9018         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9019         and lyxrow_funcs.h
9020
9021 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9022
9023         * text3.C (cursorPrevious): adjust
9024         (cursorNext): adjust
9025         (dispatch): adjust
9026
9027         * text2.C (redoHeightOfParagraph): adjust
9028         (redoDrawingOfParagraph): adjust
9029         (setCursor): adjust
9030
9031         * text.C (breakParagraph): adjust
9032         (insertChar): adjust
9033         (backspace): adjust
9034
9035         * rowpainter.C (RowPainter): adjust
9036         (leftMargin): simplify and adjust
9037         (most rowpainter functions): adjust.
9038
9039         * rowpainter.h: store the row as RowList::iterator not as Row*
9040
9041         * lyxcursor.C (row): taka RowList::iterator as arg
9042         (irow): ditto
9043
9044         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9045         of Row*.
9046
9047 2003-04-01  Angus Leeming  <leeming@lyx.org>
9048
9049         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9050         stuff like bool Bool.
9051
9052 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9053
9054         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9055         rewrite a loop
9056
9057 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9058
9059         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9060         RowList::iterator.
9061
9062         * lyxtext.h (rows): drop one version and leve a const variant that
9063         returns a RowList::iterator.
9064
9065 2003-03-31  Angus Leeming  <leeming@lyx.org>
9066
9067         * text.C (fill): ensure that the signature is the same as that in the
9068         header file.
9069
9070 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * text2.C (redoParagraphs): adjust
9073         (updateCounters): adjust
9074         (checkParagraph): adjust
9075         (getColumnNearX): adjust and reformat a bit.
9076
9077         * text.C (top_y): adjust
9078         (workWidth): adjust
9079         (leftMargin): adjust
9080         (prepareToPrint): adjust
9081         (getRow): adjust
9082         (getRowNearY): adjust
9083
9084         * lyxtext.h: make rowlist_ mutable.
9085
9086         * RowList.h: add const_iterator
9087         * RowList.C: adjust for RowList::const_iterator.
9088
9089         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9090         adjust.
9091
9092 2003-03-31  John Levon  <levon@movementarian.org>
9093
9094         * lyxrc.h:
9095         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9096
9097         * lyx_main.C: set default fonts from using lyx_gui funcs
9098
9099         * exporter.C: pdf_mode moved from lyxrc
9100
9101         * lyx_cb.C:
9102         * lyxfunc.C: changes from above
9103
9104 2003-03-31  John Levon  <levon@movementarian.org>
9105
9106         * lyx_main.C: fix to the last fix
9107
9108 2003-03-31  John Levon  <levon@movementarian.org>
9109
9110         * bufferlist.C: "Load original" -> "Load Original"
9111
9112         * converter.C:
9113         * exporter.C:
9114         * importer.C:
9115         * lyx_main.C:
9116         * format.C: more Alert cleanups
9117
9118 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * text2.C (removeParagraph): make it take a RowList::iterator as
9121         arg, adjust.
9122         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9123         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9124
9125         * text.C (anchor_row): make it take a RowList::iterator as arg,
9126         adjust.
9127         (computeBidiTables): make it take a const reference to Row instead
9128         of Row pointer, adjust.
9129         (leftMargin): make it take a RowList::iterator as arg, adjust.
9130         (rowBreakPoint): adjust
9131         (breakAgainOneRow): make it take a RowList::iterator as arg,
9132         adjust.
9133         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9134
9135         * bufferview_funcs.C (toggleAndShow): adjust
9136
9137 2003-03-30  John Levon  <levon@movementarian.org>
9138
9139         * Makefile.am:
9140         * BoostFormat.h:
9141         * boost-inst.C: moved to support
9142
9143         * several files: changes as a result
9144
9145 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9146
9147         * text2.C (LyXText): adjust.
9148         (init): adjust
9149         (removeRow): make it take a RowList::iterator as arg, adjust.
9150         (fullRebreak): adjust
9151         (deleteEmptyParagraphMechanism): adjust
9152         (clearPaint): adjust
9153         (postPaint): adjust
9154
9155         * text.C (top_y): adjust
9156         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9157         (breakAgain): make it take a RowList::iterator as arg, adjust.
9158         (breakParagraph): adjust
9159         (insertChar): adjust
9160         (backspace): adjust
9161
9162         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9163         need_break_row, and refresh_row.
9164
9165         * text3.C (dispatch): adjust
9166
9167         * text2.C (checkParagraph): adjust
9168         (setCursor): adjust
9169         (setCursorFromCoordinates): adjust
9170
9171         * text.C (top_y): adjust
9172         (workWidth): adjust
9173         (getRow): make it return a RowList::iterator, adjust
9174         (getRowNearY): make it return a RowList::iterator, adjust
9175
9176         * text2.C (init): adjust
9177         (insertRow): remove function
9178         (insertParagraph): adjust
9179         (redoParagraphs): adjust
9180         (fullRebreak): adjust
9181         (updateCounters): adjust
9182
9183         * text.C (top_y): rewrite to use RowList iterators.
9184         (top_y): adjust
9185         (setHeightOfRow): rewrite to sue RowList iterators.
9186         (appendParagraph): adjust
9187         (breakAgain): adjust
9188         (breakAgainOneRow): adjust
9189         (breakParagraph): adjust
9190         (getRow): adjust
9191         (getRowNearY): adjust, and remove commented code.
9192
9193         * lyxtext.h (firstRow): delete function
9194         (lastRow): delete function
9195         (rows): new function (const and non-const versions.)
9196         (insertRow): delete function
9197
9198         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9199
9200 2003-03-29  John Levon  <levon@movementarian.org>
9201
9202         * BufferView_pimpl.C: always update scrollbar top
9203         because pasting text when we're anchored could mean we
9204         miss an update altogether
9205
9206 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9207
9208         * text2.C (init): use rowlist_.end() and not 0.
9209         (insertRow): change to take a RowList::iterator as arg, adjust
9210         for this.
9211         (insertParagraph): change to take a RowList::iterator as arg,
9212         adjust for this.
9213         (redoParagraphs): remove some debug msgs.
9214
9215         * text.C (appendParagraph): change to take a RowList::iterator
9216         arg, adjust for this.
9217         (breakAgain): add an assert
9218         (breakAgainOneRow): ditto
9219
9220 2003-03-29  John Levon  <levon@movementarian.org>
9221
9222         * text2.C: do not clear selection after inc/decDepth
9223         (bug 550)
9224
9225 2003-03-29  John Levon  <levon@movementarian.org>
9226
9227         * BufferView.C:
9228         * buffer.C: fix broken strerrors according to Lars
9229
9230 2003-03-29  John Levon  <levon@movementarian.org>
9231
9232         * converters.C: more Alert cleanups
9233
9234 2003-03-29  John Levon  <levon@movementarian.org>
9235
9236         * bufferview_funcs.C: remove pointless Alert
9237
9238         * buffer.C: fix confusing error message when
9239         a template is chmoded 000
9240
9241 2003-03-29  John Levon  <levon@movementarian.org>
9242
9243         * BufferView.C:
9244         * BufferView.h:
9245         * BufferView_pimpl.C: Alert fixes
9246
9247         * Makefile.am:
9248         * tabular.C:
9249         * tabular-old.C: remove unused table compat reading
9250
9251 2003-03-29  John Levon  <levon@movementarian.org>
9252
9253         * BufferView.C:
9254         * buffer.C:
9255         * lyx_cb.h:
9256         * lyx_cb.C: more Alert cleanups
9257
9258         * lyxfunc.C: don't allow chktex if not latex document
9259
9260 2003-03-29  John Levon  <levon@movementarian.org>
9261
9262         * lyx_cb.C:
9263         * BufferView.C:
9264         * buffer.C: warnings pushed down from support/,
9265         kill err_alert
9266
9267 2003-03-29  John Levon  <levon@movementarian.org>
9268
9269         * lyxfunc.C: safety check for C-r (revert)
9270
9271 2003-03-29  John Levon  <levon@movementarian.org>
9272
9273         * bufferlist.h:
9274         * bufferlist.C: several UI fixes using Alert::prompt.
9275         Fix the pointless looping quit code. Fix stupid revert
9276         behaviour (bug 938)
9277
9278         * lyxvc.h:
9279         * lyxvc.C:
9280         * lyx_cb.C: use Alert::prompt
9281
9282         * lyx_main.C: remove a silly question
9283
9284         * lyxfunc.C: remove a couple of silly questions,
9285         use Alert::prompt
9286
9287 2003-03-28  John Levon  <levon@movementarian.org>
9288
9289         * text2.C: fix bug 974 (End on empty par)
9290
9291 2003-03-28  John Levon  <levon@movementarian.org>
9292
9293         * BufferView_pimpl.C:
9294         * LyXAction.C:
9295         * lfuns.h: remove do-nothing math greek lfuns
9296
9297 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9298
9299         * lyxgluelength.h (isValidGlueLength): add default arg on
9300         parameter 2. Remove default arg from friend in class.
9301
9302         * lyxlength.h (isValidLength): add default arg on parameter 2.
9303         Remove default arg from friend in class.
9304
9305         * text2.C (LyXText): adjust, initialize refresh_row.
9306         (init): adjust
9307         (removeRow): adjust
9308         (insertRow): adjust
9309         (insertParagraph): adjst
9310         (redoParagraphs): adjust
9311         (fullRebreak): adjust
9312         (updateCounters): adjust
9313         (deleteEmptyParagraphMechanism): first attempt at fixing a
9314         crashing bug.
9315
9316         * text.C (top_y): adjust
9317         (setHeightOfRow): adjust
9318         (getRow): adjust
9319         (getRowNearY): adjust
9320
9321         * lyxtext.h: include RowList.h
9322         (~LyXText): not needed anymore, deleted.
9323         (firstRow): modify for RowList
9324         (lastRow): new function
9325         Delete firstrow and lastrow class variables, add a Rowlist
9326         rowlist_ class variable.
9327
9328         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9329         paragraph is empty.
9330
9331         * RowList.C (insert): fix case where it == begin().
9332
9333 2003-03-26  Angus Leeming  <leeming@lyx.org>
9334
9335         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9336         the thesaurus dialog.
9337
9338 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9339
9340         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9341
9342         * RowList.[Ch]: new files
9343
9344         * ParagraphList.C (erase): handle the case where it == begin
9345         correctly.
9346
9347 2003-03-25  John Levon  <levon@movementarian.org>
9348
9349         * Makefile.am:
9350         * aspell_local.h:
9351         * aspell.C: add new aspell support
9352
9353         * lyxrc.h:
9354         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9355         have it accessible.
9356
9357 2003-03-25  Angus Leeming  <leeming@lyx.org>
9358
9359         * lfuns.h:
9360         * LyXAction.C (init): new LFUN_INSET_INSERT.
9361
9362         * BufferView_pimpl.C (dispatch): split out part of the
9363         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9364
9365         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9366         LFUN_INSET_APPLY.
9367
9368 2003-03-25  Angus Leeming  <leeming@lyx.org>
9369
9370         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9371
9372 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9373
9374         * text2.C:
9375         * text3.C: remove useless row->height(0)
9376
9377 2003-03-25  John Levon  <levon@movementarian.org>
9378
9379         * lyxtext.h:
9380         * text2.C:
9381         * text3.C: rename the refreshing stuff to better names
9382
9383 2003-03-24  John Levon  <levon@movementarian.org>
9384
9385         * BufferView_pimpl.h:
9386         * BufferView_pimpl.C: update layout choice on a mouse
9387         press/release
9388
9389 2003-03-23  John Levon  <levon@movementarian.org>
9390
9391         * Makefile.am: fix commandtags.h reference
9392
9393 2003-03-22  John Levon  <levon@movementarian.org>
9394
9395         * BufferView_pimpl.C:
9396         * lyxtext.h:
9397         * rowpainter.C:
9398         * rowpainter.h:
9399         * text.C:
9400         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9401
9402 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9403
9404         * lyxtext.h:
9405         * text.C: take the rtl methods out of line
9406
9407 2003-03-21 André Pönitz <poenitz@gmx.net>
9408
9409         * metricsinfo.[Ch]: new files containing structures to be passed around
9410         during the two-phase-drawing...
9411
9412 2003-03-21 André Pönitz <poenitz@gmx.net>
9413
9414         * lyxtextclass.C: read 'environment' tag.
9415
9416 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9417
9418         * text2.C (removeRow): fix bug 964
9419
9420 2003-03-20  John Levon  <levon@movementarian.org>
9421
9422         * rowpainter.C:
9423         * text.C:
9424         * text2.C: paint cleanups. Inset::update() dropped font
9425         parameter
9426
9427 2003-03-19  John Levon  <levon@movementarian.org>
9428
9429         * lyxfunc.C: only fitcursor/markDirty if available()
9430
9431 2003-03-19  John Levon  <levon@movementarian.org>
9432
9433         * commandtags.h: rename to ...
9434
9435         * lfuns.h: ... this, and renumber / cleanup
9436
9437 2003-03-19  John Levon  <levon@movementarian.org>
9438
9439         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9440         fit the cursor after an lfun
9441
9442         * BufferView.h:
9443         * BufferView.C:
9444         * BufferView_pimpl.h:
9445         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9446
9447         * LyXAction.C: layout-character should have ReadOnly
9448
9449         * ParagraphParameters.C:
9450         * buffer.C:
9451         * bufferview_funcs.C:
9452         * lyx_cb.C:
9453         * lyxfind.C:
9454         * lyxtext.h:
9455         * text.C:
9456         * text2.C:
9457         * text3.C:
9458         * undo_funcs.C: changes from above
9459
9460 2003-03-18  John Levon  <levon@movementarian.org>
9461
9462         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9463         remove it from update()
9464
9465         * lyxfunc.C: update layout choice after an lfun
9466
9467         * text3.C: remove extra updateLayoutChoice()s
9468
9469 2003-03-18  John Levon  <levon@movementarian.org>
9470
9471         * text.C: top_y change means full repaint, fix
9472         a drawing bug with cursor movement
9473
9474 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9475
9476         * lyxtext.h:
9477         * text.C:
9478         * text2.C: anchor row on setCursor
9479
9480 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9481
9482         * lyxtext.h: remove almost all mutable keywords
9483         * text.C:
9484         * text2.C:
9485         * text3.C: remove const keywords accordingly
9486
9487 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9488
9489         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9490         anon namespace
9491         (TeXEnvironment): ditto
9492         (TeXOnePar): ditto
9493
9494 2003-03-17  John Levon  <levon@movementarian.org>
9495
9496         * text.C (rowBreakPoint): remove attempt to fix displayed
9497         math insets inside a manual label
9498
9499 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9500
9501         * lyxtext.h: remove BufferView* as first arg from almost all class
9502         functions.
9503         * other files: adjust.
9504
9505 2003-03-17  John Levon  <levon@movementarian.org>
9506
9507         * lyxtext.h:
9508         * undo_funcs.C:
9509         * text2.C: more paint cleanups
9510
9511         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9512
9513         * rowpainter.h:
9514         * rowpainter.C: remove "smart" background painting code
9515
9516 2003-03-16  John Levon  <levon@movementarian.org>
9517
9518         * lyxtext.h:
9519         * text.C:
9520         * text2.C:
9521         * text3.C: add helper functions for setting refresh_row/y
9522
9523 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9524
9525         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9526         newline inset which *can* get inserted in the pass_thru layouts.
9527         This is primarily for literate documents.
9528
9529 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9530
9531         * buffer.C: increment LYX_FORMAT to 223
9532
9533 2003-03-14 André Pönitz <poenitz@gmx.net>
9534
9535         * textclass.h: prepare for environment handling, ws changes
9536         * lyxlayout.C: read latexheader and latexfooter tags
9537
9538 2003-03-14  John Levon  <levon@movementarian.org>
9539
9540         * text2.C: rewrite ::status() a bit
9541
9542 2003-03-13  John Levon  <levon@movementarian.org>
9543
9544         * lyxtext.h: add some docs
9545
9546 2003-03-13  John Levon  <levon@movementarian.org>
9547
9548         * lyxtext.h:
9549         * text.C:
9550         * text2.C:
9551         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9552
9553 2003-03-13  John Levon  <levon@movementarian.org>
9554
9555         * text3.C: fix appendix redrawing
9556
9557 2003-03-13  John Levon  <levon@movementarian.org>
9558
9559         * text.C (setHeightOfRow):
9560         * rowpainter.h:
9561         * rowpainter.C: make appendix mark have the text
9562           "Appendix" so the user knows what it is
9563
9564         * LColor.h:
9565         * LColor.C: s/appendixline/appendix/ from above
9566
9567 2003-03-13  John Levon  <levon@movementarian.org>
9568
9569         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9570
9571         * text.C: fix a getChar(pos) bug properly
9572
9573 2003-03-13  Angus Leeming  <leeming@lyx.org>
9574
9575         * commandtags.h:
9576         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9577         Probably only temporary. Let's see how things pan out.
9578
9579         * BufferView.C (unlockInset):
9580         * BufferView_pimpl.C (fitCursor):
9581         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9582
9583         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9584         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9585
9586         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9587         new functions that convert ParagraphParameters to and from a string.
9588
9589         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9590         BufferView::Pimpl's dispatch.
9591         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9592
9593 2003-03-13 André Pönitz <poenitz@gmx.net>
9594
9595         * lyxfunc.C:
9596         * text3.C:
9597         * factory.C: make it aware of InsetEnv
9598
9599 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9600
9601         * text2.C (setCursor): never ask for one past last
9602         (setCursor): add some debugging messages.
9603
9604         * text.C (singleWidth): never ask for one past last
9605         (singleWidth): ditto
9606         (leftMargin): ditto
9607         (rightMargin): ditto
9608         (rowBreakPoint): ditto
9609         (setHeightOfRow): ditto
9610         (prepareToPrint): ditto
9611
9612         * rowpainter.C (paintBackground): never ask for one past last
9613         (paintText): never ask for one past last
9614
9615         * paragraph_pimpl.C (getChar): make the assert stricter, never
9616         allow the one past last pos to be taken
9617
9618         * paragraph.C (getChar): ws changes only
9619
9620         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9621         (numberOfSeparators): ditto
9622         (numberOfHfills): ditto
9623
9624 2003-03-12  John Levon  <levon@movementarian.org>
9625
9626         * author.h:
9627         * author.C:
9628         * bufferparams.h:
9629         * bufferparams.C:
9630         * paragraph_funcs.C: fix per-buffer authorlists
9631
9632 2003-03-12  John Levon  <levon@movementarian.org>
9633
9634         * text.C: fix newline in right address
9635
9636 2003-03-12  Angus Leeming  <leeming@lyx.org>
9637
9638         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9639         duplicate those in LyXFunc::dispatch.
9640
9641         * commandtags.h:
9642         * LyXAction.C:
9643         * ToolbarDefaults.C:
9644         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9645         Add LFUN_FONTFREE_UPDATE.
9646
9647         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9648         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9649
9650         * bufferview_func.[Ch]: several new functions to facilliate
9651         transfer of data to and from the character dialog.
9652
9653 2003-03-12  John Levon  <levon@movementarian.org>
9654
9655         * buffer.C:
9656         * paragraph.h:
9657         * paragraph.C:
9658         * paragraph_funcs.C:
9659         * paragraph_pimpl.C:
9660         * sgml.C:
9661         * tabular.C:
9662         * text.C:
9663         * text3.C: remove META_NEWLINE in favour of an inset
9664
9665         * rowpainter.h:
9666         * rowpainter.C: remove paintNewline (done by inset)
9667
9668 2003-03-12  John Levon  <levon@movementarian.org>
9669
9670         * paragraph_pimpl.C: complain about bad getChar()s
9671         for a while at least
9672
9673 2003-03-12  John Levon  <levon@movementarian.org>
9674
9675         * buffer.h:
9676         * buffer.C: move paragraph read into a separate function,
9677         a little renaming to reflect that.
9678
9679         * bufferparams.h:
9680         * bufferparams.C: remove the author_ids map, not necessary now
9681
9682         * factory.h:
9683         * factory.C: moved Buffer::readInset to here
9684
9685         * paragraph_funcs.h:
9686         * paragraph_funcs.C: readParagraph free function moved from
9687         buffer.C
9688
9689         * tabular.C: name change
9690
9691 2003-03-12  John Levon  <levon@movementarian.org>
9692
9693         * buffer.C:
9694         * ParagraphParameters.C: move par params input to
9695         a read() method
9696
9697         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9698         behave like a normal read from the stream wrt reading
9699         a line vs. a \\token
9700
9701 2003-03-12  John Levon  <levon@movementarian.org>
9702
9703         * paragraph.C:
9704         * ParagraphParameters.h:
9705         * ParagraphParameters.C: move output code to a
9706         ::write() method
9707
9708 2003-03-12  John Levon  <levon@movementarian.org>
9709
9710         * BufferView.C (insertLyXFile):
9711         * buffer.h:
9712         * buffer.C:
9713         * tabular.C: use a parlist iterator for creating the
9714           document.
9715
9716 2003-03-12  John Levon  <levon@movementarian.org>
9717
9718         * buffer.C: make current_change static local not
9719           static file-scope
9720
9721 2003-03-12  John Levon  <levon@movementarian.org>
9722
9723         * buffer.C: fix insertStringAsLines for change tracking
9724
9725 2003-03-12  John Levon  <levon@movementarian.org>
9726
9727         * BufferView.C:
9728         * tabular.C:
9729         * buffer.h:
9730         * buffer.C:
9731         * bufferparams.h:
9732         * bufferparams.C: move author list into params. Rename some
9733           functions. Move the header reading into a separate token
9734           loop. Move the header token reading into BufferParams.
9735
9736 2003-03-12  John Levon  <levon@movementarian.org>
9737
9738         * changes.C: put debug inside lyxerr.debugging() checks
9739
9740 2003-03-11 André Pönitz <poenitz@gmx.net>
9741
9742         * factory.C: make it aware of InsetHFill
9743
9744 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * buffer.C (latexParagraphs): move function from here...
9747         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9748         args.
9749
9750 2003-03-10  Angus Leeming  <leeming@lyx.org>
9751
9752         * LyXAction.C (init): fix bug in poplating array with multiple entries
9753         with the same LFUN (spotted by JMarc).
9754
9755 2003-03-10  John Levon  <levon@movementarian.org>
9756
9757         * text.C:
9758         * text2.C: move getColumnNearX() near its
9759         only call site
9760
9761 2003-03-10  John Levon  <levon@movementarian.org>
9762
9763         * text.C: fix break before a minipage
9764
9765 2003-03-10  John Levon  <levon@movementarian.org>
9766
9767         * text.C: fix the last commit
9768
9769 2003-03-09  John Levon  <levon@movementarian.org>
9770
9771         * lyxtext.h:
9772         * text.C:
9773         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9774         bug 365 (don't break before insets unless needed). Don't
9775         return a value > last under any circumstances.
9776
9777 2003-03-09  Angus Leeming  <leeming@lyx.org>
9778
9779         * BufferView_pimpl.C (trackChanges, dispatch): call
9780         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9781
9782 2003-03-09  Angus Leeming  <leeming@lyx.org>
9783
9784         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9785         than Dialogs::showAboutlyx().
9786
9787 2003-03-09  Angus Leeming  <leeming@lyx.org>
9788
9789         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9790         than Dialogs::showTabularCreate().
9791
9792 2003-03-09  John Levon  <levon@movementarian.org>
9793
9794         * lyxtext.h:
9795         * text.C:
9796         * text2.C: 3rd arg to nextBreakPoint was always the same.
9797           Use references.
9798
9799 2003-03-08  John Levon  <levon@movementarian.org>
9800
9801         * lyxrow.C:
9802         * paragraph.C:
9803         * paragraph.h:
9804         * rowpainter.C:
9805         * text.C:
9806         * text2.C: Remove the "main" bit from the "main body"
9807           notion.
9808
9809 2003-03-08  John Levon  <levon@movementarian.org>
9810
9811         * text.C (leftMargin): The left margin of an empty
9812         manual label paragraph should not include the label width
9813         string length.
9814
9815         * text.C (prepareToPrint): don't attempt to measure hfills
9816         for empty manual label paragraphs - the answer should be 0
9817
9818 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9819
9820         * CutAndPaste.C: remove commented code and reindent.
9821
9822 2003-03-08  John Levon  <levon@movementarian.org>
9823
9824         * lyxfunc.h:
9825         * lyxfunc.C: move reloadBuffer()
9826
9827         * BufferView.h:
9828         * BufferView.C: to here
9829
9830         * lyxvc.C: add comment
9831
9832         * vc-backend.h:
9833         * vc-backend.C: call bv->reload() to avoid
9834           getStatus() check on MENURELOAD
9835
9836 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9837
9838         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9839         to an old format .dep file.
9840
9841 2003-03-07  Angus Leeming  <leeming@lyx.org>
9842
9843         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9844         when the LFUN_MOUSE_RELEASE should have been handled by
9845         inset->localDispatch.
9846
9847 2003-03-07  Angus Leeming  <leeming@lyx.org>
9848
9849         * BufferView_pimpl.C (dispatch):
9850         * LyXAction.C (init):
9851         * ToolbarDefaults.C (init):
9852         * commandtags.h:
9853         * lyxfunc.C (getStatus):
9854         remove LFUN_INSET_GRAPHICS.
9855
9856         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9857
9858 2003-03-07  Angus Leeming  <leeming@lyx.org>
9859
9860         * commandtags.h:
9861         * LyXAction.C (init):
9862         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9863
9864         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9865
9866         * commandtags.h:
9867         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9868
9869         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9870         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9871
9872 2003-03-07  Angus Leeming  <leeming@lyx.org>
9873
9874         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9875         remove "ert".
9876
9877 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9878
9879         * ParagraphList.C (front): new function
9880         (back): implement
9881
9882 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9883
9884         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9885         and top_row_offset_. removed var first_y.
9886         * text.C (top_y):
9887         * text2.C (LyXText, removeRow):
9888         * text3.C:
9889         * BufferView_pimpl.C:
9890         use these methods instead of using first_y
9891
9892 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9893
9894         * text2.C (pasteSelection): adjust for checkPastePossible
9895
9896         * CutAndPaste.C: remove Paragraph * buf and replace with
9897         ParagraphList paragraphs.
9898         (DeleteBuffer): delete
9899         (cutSelection): change the tc type to textclass_type
9900         (copySelection): change the tc type to textclass_type
9901         (copySelection): adjust for ParagraphList
9902         (pasteSelection): change the tc type to textclass_type
9903         (pasteSelection): adjust for Paragraphlist
9904         (nrOfParagraphs): simplify for ParagraphList
9905         (checkPastePossible): simplify for ParagraphList
9906         (checkPastePossible): remove unused arg
9907
9908         * ParagraphList.C (insert): handle the case where there are no
9909         paragraphs yet.
9910
9911         * CutAndPaste.h: make CutAndPaste a namespace.
9912
9913         * text3.C (dispatch): adjust
9914
9915         * text.C (breakParagraph): add a ParagraphList as arg
9916
9917         * paragraph_funcs.C (breakParagraph): change to take a
9918         BufferParams and a ParagraphList as args.
9919         (breakParagraphConservative): ditto
9920         (mergeParagraph): ditto
9921         (TeXDeeper): add a ParagraphList arg
9922         (TeXEnvironment): ditto
9923         (TeXOnePar): ditto
9924
9925         * buffer.C (readLyXformat2): adjust
9926         (insertStringAsLines): adjust
9927         (latexParagraphs): adjust
9928
9929         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9930         (cutSelection): adjust
9931         (pasteSelection): adjust
9932
9933         * BufferView_pimpl.C (insertInset): adjust
9934
9935 2003-03-05  Angus Leeming  <leeming@lyx.org>
9936
9937         * commandtags.h:
9938         * LyXAction.C (init):
9939         * BufferView_pimpl.C (dispatch):
9940         * lyxfunc.C (getStatus):
9941         remove LFUN_CHILD_INSERT.
9942
9943         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9944
9945 2003-03-05  Angus Leeming  <leeming@lyx.org>
9946
9947         * commandtags.h:
9948         * LyXAction.C (init):
9949         * src/factory.C (createInset):
9950         * lyxfunc.C (getStatus):
9951         * text3.C (dispatch):
9952         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9953
9954         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9955
9956 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9957
9958         * ParagraphList.C (insert): handle insert right before end()
9959         (erase): fix cases where it can be first or last paragraph.
9960
9961 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9962
9963         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9964         Paragraph::next and Paragraph::previous
9965         (TeXOnePar): ditto
9966
9967         * text.C (breakParagraph): adjust
9968
9969         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9970         BufferParams& as arg.
9971         (breakParagraph): use ParagraphList::insert
9972         (breakParagraphConservative): take a Buffer* instead of a
9973         BufferParams& as arg.
9974         (breakParagraphConservative): use ParagraphList::insert.
9975
9976         * buffer.C (insertStringAsLines): un-const it
9977         (insertStringAsLines): adjust
9978
9979         * ParagraphList.C (insert): new function
9980
9981         * CutAndPaste.C (pasteSelection): adjust
9982
9983         * text.C (backspace): adjust
9984
9985         * tabular.C (SetMultiColumn): adjust
9986
9987         * CutAndPaste.C (cutSelection): adjust
9988         (pasteSelection): adjust
9989
9990         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9991         Buffer const * as arg
9992
9993         * ParagraphList.C (erase): new function
9994         * paragraph_funcs.C (mergeParagraph): use it
9995         (mergeParagraph): make it take a Buffer* instead of a
9996         BufferParams* as arg
9997
9998         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9999         as arg
10000         (breakParagraphConservative): ditto
10001
10002         * paragraph.h: remove the breakParagraph friend
10003
10004         * paragraph.C (eraseIntern): new function
10005         (setChange): new function
10006
10007         * paragraph_funcs.C (mergeParagraph): make it take a
10008         ParagraphList::iterator instead of a Paragraph *, adjust
10009         accordingly.
10010
10011         * paragraph.h: move an #endif so that the change tracking stuff
10012         also works in the NO_NEXT case.
10013
10014 2003-03-04  Angus Leeming  <leeming@lyx.org>
10015
10016         * commandtags.h:
10017         * LyXAction.C: new LFUN_INSET_MODIFY.
10018
10019         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10020         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10021
10022 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10023
10024         * several files: ws changes only
10025
10026         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10027         (TeXEnvironment): ditto
10028         (TeXDeeper): ditto
10029
10030         * buffer.C (makeLaTeXFile): adjust
10031         (latexParagraphs): make it take ParagraphList::iterator as args
10032
10033 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10034
10035         * buffer.C (latexParagraphs): adjust
10036
10037         * paragraph.C (TeXOnePar): move function...
10038         (optArgInset): move function...
10039         (TeXEnvironment): move function...
10040         * paragraph_pimpl.C (TeXDeeper): move function...
10041         * paragraph_funcs.C: ...here
10042
10043         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10044
10045 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10046
10047         * buffer.C (readInset): remove compability code for old Figure and
10048         InsetInfo insets
10049
10050 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10051
10052         * buffer.C: ws changes
10053         (readInset):
10054
10055         * BufferView_pimpl.C: ditto
10056         * author.C: ditto
10057         * buffer.h: ditto
10058         * bufferlist.h: ditto
10059         * changes.h: ditto
10060         * lyxfunc.C: ditto
10061
10062 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10063
10064         * converter.[Ch]: split into itself +
10065         * graph.[Ch]
10066         * format.[Ch]
10067         * Makefile.am: += graph.[Ch] + format.[Ch]
10068         * MenuBackend.C
10069         * buffer.C
10070         * exporter.C
10071         * importer.C
10072         * lyx_main.C
10073         * lyxfunc.C
10074         * lyxrc.C: added #include "format.h"
10075
10076 2003-02-27  Angus Leeming  <leeming@lyx.org>
10077
10078         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10079           a label.
10080
10081         * factory.C (createInset): add "label" to the factory.
10082
10083         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10084           string and do no more.
10085
10086 2003-02-27  Angus Leeming  <leeming@lyx.org>
10087
10088         * commandtags.h:
10089         * LyXAction.C (init):
10090         * factory.C (createInset):
10091         * BufferView_pimpl.C (dispatch):
10092           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10093
10094         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10095
10096         * lyxfunc.C (dispatch):
10097         * text3.C (dispatch): pass name to params2string.
10098
10099 2003-02-26  Angus Leeming  <leeming@lyx.org>
10100
10101         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10102           blocks together.
10103           Rearrange the ~includes. Strip out the unnecessary ones.
10104
10105         * factory.C (createInset): reformat.
10106           create new insets for the various LFUN_XYZ_APPLY lfuns.
10107
10108 2003-02-26  John Levon  <levon@movementarian.org>
10109
10110         * lyxrow.h:
10111         * lyxrow.C: add isParStart,isParEnd helpers
10112
10113         * paragraph.h: make isInserted/DeletedText take refs
10114
10115         * paragraph_funcs.h:
10116         * paragraph_funcs.C: remove #if 0'd code
10117
10118         * lyxtext.h:
10119         * text3.C:
10120         * text2.C:
10121         * text.C: use lyxrow helpers above.
10122           Move draw and paint routines to RowPainter.
10123           Make several methods use refs not pointers.
10124           Make backgroundColor() const.
10125           Add markChangeInDraw(), isInInset().
10126           Merge changeRegionCase into changeCase.
10127           Make workWidth() shouldn't-happen code into an Assert.
10128
10129         * rowpainter.h:
10130         * rowpainter.C: new class for painting a row.
10131
10132         * vspace.h:
10133         * vspace.C: make inPixels take a ref
10134
10135 2003-02-26  Angus Leeming  <leeming@lyx.org>
10136
10137         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10138         LFUN_REF_APPLY.
10139
10140 2003-02-25  John Levon  <levon@movementarian.org>
10141
10142         * ispell.C: give the forked command a more accurate name
10143
10144 2003-02-22  John Levon  <levon@movementarian.org>
10145
10146         * toc.h:
10147         * toc.C: make TocItem store an id not a Paragraph *
10148           (bug #913)
10149
10150 2003-02-21  Angus Leeming  <leeming@lyx.org>
10151
10152         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10153           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10154           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10155           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10156           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10157           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10158
10159         * BufferView_pimpl.C (dispatch):
10160         * LyXAction.C (init):
10161         * factory.C (createInset):
10162         * lyxfunc.C (getStatus, dispatch):
10163         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10164
10165 2003-02-21  Angus Leeming  <leeming@lyx.org>
10166
10167         * BufferView_pimpl.C (MenuInsertLyXFile):
10168         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10169         * lyxfunc.C (menuNew, open, doImport):
10170           no longer pass a LyXView & to fileDlg.
10171
10172 2003-02-21  Angus Leeming  <leeming@lyx.org>
10173
10174         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10175         * LyXAction.C: change, BIBKEY to BIBITEM.
10176         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10177         Change InsetBibKey to InsetBibitem.
10178         Change BIBKEY_CODE to BIBITEM_CODE.
10179         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10180         * factory.C: replace insetbib.h with insetbibitem.h.
10181         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10182         * paragraph.C: replace insetbib.h with insetbibitem.h.
10183         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10184         Change bibkey() to bibitem().
10185         * text.C: remove insetbib.h.
10186         * text2.C: replace insetbib.h with insetbibitem.h.
10187         change bibkey() to bibitem().
10188         * text3.C: remove insetbib.h.
10189         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10190
10191 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * lyxrc.C (output): enclose user email in quotes (in case there are
10194         several words)
10195
10196 2003-02-18  John Levon  <levon@movementarian.org>
10197
10198         * buffer.h: add std::
10199
10200 2003-02-17  John Levon  <levon@movementarian.org>
10201
10202         * SpellBase.h:
10203         * ispell.h:
10204         * ispell.C:
10205         * pspell.h:
10206         * pspell.C: reworking. Especially in ispell, a large
10207           number of clean ups and bug fixes.
10208
10209         * lyxfunc.C: fix revert to behave sensibly
10210
10211 2003-02-17 André Pönitz <poenitz@gmx.net>
10212
10213         * LyXAction.C:
10214         * commandtags.h: new LFUN_INSERT_BIBKEY
10215
10216         * layout.h:
10217         * lyxlayout.C:
10218         * buffer.C:
10219         * factory.C:
10220         * text.C:
10221         * text2.C:
10222         * text3.C:
10223         * paragraph.[Ch]:
10224         * paragraph_func.C: remove special bibkey handling
10225
10226 2003-02-17  John Levon  <levon@movementarian.org>
10227
10228         * text.C (Delete): fix case where delete at the end of
10229           the very first paragraph would not merge the pars
10230
10231 2003-02-17  John Levon  <levon@movementarian.org>
10232
10233         * lyxrow.C: fix lastPrintablePos()
10234
10235 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * bufferparams.C (writeLaTeX): add a std:here
10238
10239         * buffer.C: and remove a using directive there
10240
10241 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10242
10243         * buffer.C (makeLaTeXFile): move the code that generates the
10244           preamble...
10245
10246         * bufferparams.C (writeLaTeX): ... in this new method
10247
10248         * LaTeXFeatures.C (getEncodingSet): make const
10249           (getLanguages): make const
10250
10251         * MenuBackend.C (binding): returns the binding associated to this
10252           action
10253           (add): sets the status of each item by calling getStatus. Adds
10254           some intelligence.
10255           (read): add support for OptSubMenu
10256           (expand): remove extra separator at the end of expanded menu
10257
10258 2003-02-15  John Levon  <levon@movementarian.org>
10259
10260         * BufferView.C:
10261         * BufferView_pimpl.C:
10262         * bufferlist.h:
10263         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10264           inset code that had no actual effect. Remove unneeded status
10265           code.
10266
10267 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10270           in preamble
10271
10272 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10273
10274         * text.C (drawLengthMarker): also draw an arrow marker for
10275           symbolic lengths (medskip...)
10276
10277 2003-02-14  John Levon  <levon@movementarian.org>
10278
10279         * tabular.h:
10280         * tabular.C: better method names
10281
10282 2003-02-14  John Levon  <levon@movementarian.org>
10283
10284         * BufferView_pimpl.C:
10285         * bufferlist.C:
10286         * buffer.C:
10287         * converter.C:
10288         * lyx_cb.C:
10289         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10290           it's a more accurate name. Remove some pointless uses.
10291
10292 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * text2.C (LyXText): change order of initilizers to shut off
10295           warnings
10296
10297 2003-02-14  John Levon  <levon@movementarian.org>
10298
10299         * buffer.C: use ParIterator for getParFromID()
10300
10301         * paragraph.h:
10302         * paragraph.C:
10303         * paragraph_pimpl.h:
10304         * paragraph_pimpl.C: remove unused getParFromID()
10305
10306 2003-02-14  John Levon  <levon@movementarian.org>
10307
10308         * buffer.C: remove some very old #if 0'd parse code
10309
10310 2003-02-13  John Levon  <levon@movementarian.org>
10311
10312         * text.h:
10313         * text.C:
10314         * text2.C: move hfillExpansion(), numberOfSeparators(),
10315           rowLast(), rowLastPrintable(), numberofHfills(),
10316           numberOfLabelHfills() ...
10317
10318         * lyxrow.h:
10319         * lyxrow.C: ... to member functions here.
10320
10321         * paragraph.h:
10322         * paragraph.C:
10323         * lyxtext.h:
10324         * text.C: remove LyXText::beginningOfMainBody(), and call
10325           p->beginningOfMainBody() directly. Move the check for
10326           LABEL_MANUAL into the latter.
10327
10328         * text.h:
10329         * text.C:
10330         * text2.C:
10331         * vspace.C:
10332         * BufferView.h:
10333         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10334
10335         * text.h:
10336         * text.C:
10337         * text2.C:
10338         * text3.C:
10339         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10340           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10341
10342 2003-02-13  John Levon  <levon@movementarian.org>
10343
10344         * CutAndPaste.C: remove debug
10345
10346 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * paragraph.C (asString): remove two unused variables
10349
10350         * lyxtextclass.C (readTitleType):
10351           (Read):
10352           (LyXTextClass): handle new members titletype_ and titlename_
10353
10354         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10355
10356 2003-02-09  John Levon  <levon@movementarian.org>
10357
10358         * buffer.h:
10359         * buffer.C: replace hand-coded list with a map for the dep clean
10360
10361 2003-02-08  John Levon  <levon@movementarian.org>
10362
10363         * LaTeX.C: consolidate code into showRunMessage() helper
10364
10365 2003-02-08  John Levon  <levon@movementarian.org>
10366
10367         * lyxfind.C:
10368         * lyxtext.h:
10369         * text2.C:
10370         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10371           and pass the size in explicitly
10372
10373         * BufferView_pimpl.h:
10374         * BufferView_pimpl.C:
10375         * BufferView.h:
10376         * BufferView.C: add getCurrentChange()
10377
10378         * BufferView_pimpl.h:
10379         * BufferView_pimpl.C: handle change lfuns
10380
10381         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10382           for changes. Mark pasted paragraphs as new.
10383
10384         * support/lyxtime.h:
10385         * support/lyxtime.C:
10386         * DepTable.C: abstract time_t as lyx::time_type
10387
10388         * LColor.h:
10389         * LColor.C: add colours for new text, deleted text, changebars
10390
10391         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10392           package use "usenames" option.
10393
10394         * commandtags.h:
10395         * lyxfunc.C:
10396         * LyXAction.C: add change lfuns
10397
10398         * Makefile.am:
10399         * author.h:
10400         * author.C: author handling
10401
10402         * buffer.h:
10403         * buffer.C: add a per-buffer author list, with first entry as
10404           current author. Handle new .lyx tokens for change tracking. Output
10405           author list to .lyx file. Output dvipost stuff to .tex preamble.
10406           Bump lyx format to 222.
10407
10408         * bufferlist.h:
10409         * bufferlist.C: add setCurrentAuthor() to reset current author details
10410           in all buffers.
10411
10412         * bufferparams.h:
10413         * bufferparams.C: add param for tracking
10414
10415         * bufferview_funcs.C: output change info in minibuffer
10416
10417         * Makefile.am:
10418         * changes.h:
10419         * changes.C: add change-tracking structure
10420
10421         * debug.h:
10422         * debug.C: add CHANGES debug flag
10423
10424         * lyxfind.h:
10425         * lyxfind.C: add code for finding the next change piece
10426
10427         * lyxrc.h:
10428         * lyxrc.C: add user_name and user_email
10429
10430         * lyxrow.h:
10431         * lyxrow.C: add a metric for the top of the text line
10432
10433         * lyxtext.h:
10434         * text.C: implement accept/rejectChange()
10435
10436         * lyxtext.h:
10437         * text.C: paint changebars. Paint new/deleted text in the chosen
10438         colours. Strike through deleted text.
10439
10440         * paragraph.h:
10441         * paragraph.C:
10442         * paragraph_pimpl.h:
10443         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10444           in the current change to the insert functions. Rework erase to
10445           mark text as deleted, adding an eraseIntern() and a range-based
10446           erase(). Implement per-paragraph change lookup and
10447           accept/reject.
10448
10449         * paragraph_funcs.C: Fixup paste for change tracking.
10450
10451         * tabular.C: mark added row/columns as new.
10452
10453         * text.C: fix rowLast() to never return -1. Don't allow
10454           spellchecking of deleted text. Track transpose changes. Don't
10455           allow paragraph break or merge where appropriate.
10456
10457         * text2.C: leave cursor at end of selection after a cut.
10458
10459 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10460
10461         * text.C (getLengthMarkerHeight):
10462         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10463         visible on screen too.
10464
10465 2003-02-07  John Levon  <levon@movementarian.org>
10466
10467         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10468
10469 2003-02-05  Angus Leeming  <leeming@lyx.org>
10470
10471         * lyxserver.C (read_ready): revert my patch of 11 September last year
10472         as it sends PC cpu through the roof. Presumably this means that
10473         the lyxserver will no longer run on an Alpha...
10474
10475 2003-01-30  Angus Leeming  <leeming@lyx.org>
10476
10477         * factory.C (createInset): create an InsetCommandParam of type "index"
10478         and use it to 'do the right thing'.
10479
10480         * text2.C (getStringToIndex): ensure that cursor position is always
10481         reset to the reset_cursor position.
10482
10483 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10484
10485         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10486         disabled.
10487
10488 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10489
10490         * bufferview.C:
10491         * lyxcb.C:
10492         * lyxfunc.C: Output messages with identical spelling, punctuation,
10493         and spaces
10494
10495 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10496
10497         * MenuBackend.C (expandFormats): List only viewable export formats
10498         in "View" menu
10499
10500         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10501         message
10502
10503         * lyxfunc.C (getStatus): Make sure that formats other than
10504         "fax" can also be disabled
10505
10506 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10507
10508         * text3.C (dispatch): put the lfuns that insert insets in 3
10509         groups, and call doInsertInset with appropriate arguments.
10510         (doInsertInset): new function, that creates an inset and inserts
10511         it according to some boolean parameters.
10512
10513 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10514
10515         * buffer.C (readFile): remember to pass on 'par' when calling
10516         readFile recursively.
10517
10518 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10519
10520         * MenuBackend.C (expandFormats): add "..." to import formats.
10521
10522 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10523
10524         * paragraph.C (asString): Remove XForms RTL hacks.
10525
10526 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10527         * buffer.C: fix typo
10528
10529 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10530
10531         * Makefile.am (LIBS): delete var
10532         (lyx_LDADD): add @LIBS@ here instead.
10533
10534 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10535
10536         * Clarify the meaning of "wheel mouse jump"
10537
10538 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10539
10540         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10541         tabular in a float
10542
10543 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10544
10545         * importer.C (Loaders): do not preallocate 3 elements in the
10546         vector, since one ends up with 6 elements otherwise
10547
10548 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10549
10550         * DepTable.C (write): write the file name as last element of the
10551         .dep file (because it may contain spaces)
10552         (read): read info in the right order
10553
10554 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10555
10556         * paragraph_pimpl.C (simpleTeXBlanks):
10557         (simpleTeXSpecialChars):
10558         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10559
10560         * tabular.C (latex): add some missing case statements. Reindent.
10561
10562         * MenuBackend.C (expandToc): remove unused variable.
10563
10564 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10565
10566         * LColor.C:
10567         * LaTeX.C:
10568         * LyXAction.C:
10569         * MenuBackend.C:
10570         * buffer.C:
10571         * exporter.C:
10572         * lyxfunc.C:
10573         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10574         and the like.
10575
10576 2003-01-05  John Levon  <levon@movementarian.org>
10577
10578         * BufferView.h:
10579         * BufferView.C: add getEncoding()
10580
10581         * kbsequence.h:
10582         * kbsequence.C: do not store last keypress
10583
10584         * lyxfunc.h:
10585         * lyxfunc.C: store last keypress here instead. Pass encoding
10586           to getISOEncoded()
10587
10588 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * lyx_main.C (init): remove annoying error message when following
10591         symbolic links (bug #780)
10592
10593 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10594
10595         * text.C (insertChar):
10596         * lyxrc.C (getDescription): remove extra spaces
10597
10598 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * lyxrc.C (getDescription): remove extra spaces
10601
10602 2002-12-20  John Levon  <levon@movementarian.org>
10603
10604         * text3.C: hack fix for page up/down across tall rows
10605
10606 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10607
10608         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10609         not been invoked
10610
10611 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10614         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10615         thesaurus is not compiled in
10616
10617 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10618
10619         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10620
10621 2002-12-16  Angus Leeming  <leeming@lyx.org>
10622
10623         * lyxrc.[Ch]:
10624         * lyx_main.C (init): remove override_x_deadkeys stuff.
10625
10626 2002-12-12  John Levon  <levon@movementarian.org>
10627
10628         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10629           insert. Only remove shift modifier under strict
10630           circumstances.
10631
10632 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10633
10634         * MenuBackend.C (expandToc): fix crash.
10635
10636 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10637
10638         * MenuBackend.C (expandToc): gettext on float names.
10639
10640 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10641
10642         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10643         implement bool empty() [bug 490]
10644
10645 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10646
10647         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10648
10649 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10650
10651         * several files: ws changes
10652
10653 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10654
10655         * text2.C (setCounter): clean up a bit, use boost.format.
10656         (updateCounters): initialize par upon declaration.
10657
10658         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10659         if the layout exists. We do not just store the layout any more.
10660         (SwitchLayoutsBetweenClasses): use boost.format
10661
10662 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * converter.C (convert): if from and to files are the same, use a
10665         temporary files as intermediary
10666
10667 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10668
10669         * commandtags.h:
10670         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10671
10672 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10673
10674         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10675
10676 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10677
10678         * tabular.C (asciiPrintCell): use string(size, char) instead of
10679         explicit loop.
10680
10681         * sgml.C (openTag): fix order of arguments to string constructor
10682         (closeTag): ditto
10683
10684         * lyxfunc.C (dispatch): use boost.format
10685
10686         * lots of files: change "c" -> 'c'
10687
10688 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10691
10692 2002-11-25  Angus Leeming  <leeming@lyx.org>
10693
10694         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10695
10696         * lyx_main.C (init): compile fix.
10697
10698 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10699
10700         * lyx_cb.C (start): boost.formatify
10701         do not include <iostream>
10702
10703         * lengthcommon.C: ws only
10704
10705         * boost-inst.C,BoostFormat.h: add more explict instantations
10706
10707 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10708
10709         * lots of files: handle USE_BOOST_FORMAT
10710
10711 2002-11-21  John Levon  <levon@movementarian.org>
10712
10713         * pspell.C: fix compile
10714
10715 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * lyxfunc.C (dispatch): use boost::format
10718         (open): ditto
10719         (doImport): ditto
10720
10721         * lyxfont.C (stateText): use boost::format
10722
10723         * lyx_main.C (LyX): use boost::format
10724         (init): ditto
10725         (queryUserLyXDir): ditto
10726         (readRcFile): ditto
10727         (parse_dbg): ditto
10728         (typedef boost::function): use the recommened syntax.
10729
10730         * importer.C (Import): use boost::format
10731
10732         * debug.C (showLevel): use boost::format
10733
10734         * converter.C (view): use boost::format
10735         (convert): ditto
10736         (move): ditto
10737         (scanLog): ditto
10738
10739         * bufferview_funcs.C (currentState): use boost::format
10740
10741         * bufferlist.C (emergencyWrite): use boost::format
10742
10743         * buffer.C (readLyXformat2): use boost::format
10744         (parseSingleLyXformat2Token): ditto
10745
10746         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10747
10748         * LaTeX.C (run): use boost::format
10749
10750         * Chktex.C (scanLogFile): use boost::format
10751
10752         * BufferView_pimpl.C (savePosition): use boost::format
10753         (restorePosition): ditto
10754         (MenuInsertLyXFile): ditto
10755
10756         * BoostFormat.h: help file for explicit instation.
10757
10758 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10759
10760         * tabular.C (latex): Support for block alignment in fixed width
10761         columns.
10762
10763 2002-11-17  John Levon  <levon@movementarian.org>
10764
10765         * BufferView_pimpl.C:
10766         * lyx_cb.C:
10767         * lyxfunc.C: split filedialog into open/save
10768
10769 2002-11-08  Juergen Vigna  <jug@sad.it>
10770
10771         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10772         by my last patch (hopefully).
10773
10774 2002-11-08  John Levon  <levon@movementarian.org>
10775
10776         * iterators.h:
10777         * iterators.C:
10778         * buffer.h:
10779         * buffer.C:
10780         * paragraph.h:
10781         * paragraph.C:
10782         * toc.h:
10783         * toc.C: ParConstIterator, and use it (from Lars)
10784
10785 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10786
10787         * lyxtextclass.[Ch]: revise and add doxygen comments
10788
10789 2002-11-07  John Levon  <levon@movementarian.org>
10790
10791         * text.C: fix progress value for spellchecker
10792
10793         * toc.C: fix navigate menu for insetwrap inside minipage
10794
10795         * paragraph_funcs.C: added FIXME for suspect code
10796
10797 2002-11-07  John Levon  <levon@movementarian.org>
10798
10799         * BufferView_pimpl.C: fix redrawing of insets
10800           on buffer switch
10801
10802 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * text2.C (updateCounters): fix bug 668
10805
10806 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10807
10808         * text3.C (dispatch): Do not make the buffer dirty when moving the
10809         cursor.
10810
10811 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10812
10813         * vc-backend.C: STRCONV
10814         (scanMaster): ditto
10815
10816         * text2.C (setCounter): STRCONV
10817
10818         * paragraph.C (asString): STRCONV
10819
10820         * lyxlength.C (asString): STRCONV
10821         (asLatexString): ditto
10822
10823         * lyxgluelength.C (asString): STRCONV
10824         (asLatexString): ditto
10825
10826         * lyxfunc.C (dispatch): STRCONV
10827         (open): ditto
10828
10829         * lyxfont.C (stateText): STRCONV
10830
10831         * importer.C (Import): STRCONV
10832
10833         * counters.C (labelItem): STRCONV
10834         (numberLabel): ditto
10835         (numberLabel): remove unused ostringstream o
10836
10837         * chset.C: STRCONV
10838         (loadFile): ditto
10839
10840         * bufferview_funcs.C (currentState): STRCONV
10841
10842         * buffer.C (readFile): STRCONV
10843         (asciiParagraph): ditto
10844         (makeLaTeXFile): ditto
10845
10846         * Spacing.C (writeEnvirBegin): STRCONV
10847
10848         * LaTeXFeatures.C (getLanguages): STRCONV
10849         (getPackages): ditto
10850         (getMacros): ditto
10851         (getBabelOptions): ditto
10852         (getTClassPreamble): ditto
10853         (getLyXSGMLEntities): ditto
10854         (getIncludedFiles): ditto
10855
10856         * LaTeX.C: STRCONV
10857         (run): ditto
10858         (scanAuxFile): ditto
10859         (deplog): ditto
10860
10861         * LString.h: add the STRCONV macros
10862
10863         * BufferView_pimpl.C (savePosition): STRCONV
10864         (restorePosition): ditto
10865         (MenuInsertLyXFile): ditto
10866
10867         * vc-backend.C (scanMaster): change from submatch[...] to
10868         submatch.str(...)
10869
10870         * funcrequest.C: include config.h
10871
10872         * factory.C: include config.h
10873
10874         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10875
10876         * box.C: include config.h
10877
10878         * LaTeX.C (scanAuxFile): change from submatch[...] to
10879         submatch.str(...)
10880         (deplog): ditto
10881
10882 2002-10-25  Angus Leeming  <leeming@lyx.org>
10883
10884         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10885
10886         * ispell.[Ch] (setError): new method.
10887         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10888         Use setError() insetead of goto END.
10889
10890         * lyx_cb.C (AutoSave): move out child process into new class
10891         AutoSaveBuffer.
10892
10893 2002-10-30  John Levon  <levon@movementarian.org>
10894
10895         * text3.C: make start appendix undoable
10896
10897 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10898
10899         * lyxlength.C (inPixels): Fix returned value.
10900
10901         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10902         environment.
10903
10904 2002-10-24  Angus Leeming  <leeming@lyx.org>
10905
10906         * lyxgluelength.h: no need to forward declare BufferParams
10907         or BufferView, so don't.
10908
10909 2002-10-21  John Levon  <levon@movementarian.org>
10910
10911         * BufferView.C: menuUndo ->undo, redo
10912
10913         * BufferView.h: document, remove dead, make some methods private
10914
10915         * paragraph_funcs.h:
10916         * paragraph_funcs.C:
10917         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10918
10919         * buffer.h:
10920         * buffer.C:
10921         * sgml.h:
10922         * sgml.C: move sgml open/close tag into sgml.C
10923
10924         * bufferview_funcs.h: unused prototype
10925
10926         * lyxfunc.h:
10927         * lyxfunc.C: remove unused
10928
10929         * lyxtext.h:
10930         * text.C: remove unused
10931
10932 2002-10-21  John Levon  <levon@movementarian.org>
10933
10934         * BufferView.h:
10935         * BufferView.C:
10936         * BufferView_pimpl.h:
10937         * BufferView_pimpl.C: fix mouse wheel handling based on
10938           patch from Darren Freeman
10939
10940 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10941
10942         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10943
10944 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10945
10946         * lyxlength.C (inPixels): Fix hanfling of negative length.
10947         Fix LyXLength::MU case.
10948
10949 2002-10-16  John Levon  <levon@movementarian.org>
10950
10951         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10952
10953 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10954
10955         * converter.C (view): add support for $$i (file name) and $$p
10956         (file path) for the viewer command. If $$i is not specified, then
10957         it is appended to the command (for compatibility with old syntax)
10958
10959 2002-10-14  Juergen Vigna  <jug@sad.it>
10960
10961         * undo_funcs.C (textHandleUndo): alter the order in which the
10962         new undopar is added to the LyXText, as we have to set first
10963         the right prev/next and then add it as otherwise the rebuild of
10964         LyXText is not correct. Also reset the cursor to the right paragraph,
10965         with this IMO we could remove the hack in "redoParagraphs()".
10966
10967 2002-10-09  Angus Leeming  <leeming@lyx.org>
10968
10969         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10970         to turn off an optimisation if a new inset is to be inserted.
10971
10972 2002-10-11 André Pönitz <poenitz@gmx.net>
10973
10974         * lyxtext.h: make some functions public to allow access
10975         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10976
10977 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10978
10979         * text3.C (dispatch): when changing layout, avoid an infinite loop
10980         [bug #652]
10981
10982 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10983
10984         * lyxrc.C (read): treat a viewer or converter command of "none" as
10985         if it were empty.
10986
10987         * MenuBackend.C (expandFormats): for an update, also allow the
10988         formats that are not viewable
10989
10990         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10991         script if it is newer than the lyxrc.defaults in user directory
10992
10993 2002-10-07 André Pönitz <poenitz@gmx.net>
10994
10995         * text.C: Vitaly Lipatov's small i18n fix
10996
10997 2002-09-25  Angus Leeming  <leeming@lyx.org>
10998
10999         * ispell.h: doxygen fix.
11000
11001 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11002
11003         * buffer.h (readFile): Add a new argument to the method, to allow
11004         reading of old-format templates.
11005
11006 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * toc.C (getTocList): Get TOC from InsetWrap.
11009
11010 2002-09-16  John Levon  <levon@movementarian.org>
11011
11012         * lyxfunc.C: check tabular for cut/copy too
11013
11014 2002-09-12  John Levon  <levon@movementarian.org>
11015
11016         * LyXAction.C: tidy
11017
11018         * factory.h:
11019         * factory.C: add header
11020
11021         * paragraph_funcs.h:
11022         * paragraph_funcs.C: cleanup
11023
11024 2002-09-11  John Levon  <levon@movementarian.org>
11025
11026         * PrinterParams.h: odd/even default to true
11027
11028 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11029
11030         * PrinterParams.h: update printer parameters for new xforms dialog
11031
11032 2002-09-11  Angus Leeming  <leeming@lyx.org>
11033
11034         * lyxserver.C (read_ready): re-write to make it more transparent
11035         and to make it work in coherent fashion under Tru64 Unix.
11036
11037 2002-09-11  André Pönitz <poenitz@gmx.net>
11038
11039         * commandtags.h:
11040         * LyXAction.C:
11041         * text3.C: implement LFUN_WORDSEL
11042
11043 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11044
11045         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11046         make floatlist_ a boost::shared_ptr<FloatList>
11047
11048         * lyxtextclass.C: include FloatList.h
11049         (LyXTextClass): initialize floatlist_
11050         (TextClassTags): add TC_NOFLOAT
11051         (Read): match "nofloat" to TC_NOFLOAT and use it.
11052         (readFloat): modify call to floatlist_
11053         (floats): ditto
11054         (floats): ditto
11055
11056         * FloatList.[Ch] (FloatList): remove commented out float
11057         initialization.
11058         (erase): new function
11059
11060 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11061
11062         * MenuBackend.C (expandToc): fix crash when there is no document
11063         open
11064
11065 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11066
11067         * many files: Add insetwrap.
11068
11069 2002-09-09  John Levon  <levon@movementarian.org>
11070
11071         * text2.C: remove confusing and awkward depth wraparound
11072
11073 2002-09-09  John Levon  <levon@movementarian.org>
11074
11075         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11076
11077         * buffer.h:
11078         * buffer.C: remove getIncludeonlyList()
11079
11080         * paragraph.C:
11081         * lyxfunc.C: remove headers
11082
11083 2002-09-09  Juergen Vigna  <jug@sad.it>
11084
11085         * text.C (getColumnNearX): fix form Michael this is most
11086         probably a cut&paste bug.
11087
11088 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11089
11090         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11091
11092         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11093         references, ws changes.
11094
11095         * text2.C (init): update counters after init
11096         (insertParagraph): no need to set counter on idividual paragraphs.
11097         (setCounter): access the counters object in the textclass object
11098         on in the buffer object.
11099         (updateCounters): ditto
11100
11101         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11102         shared_ptr<Counters> to avoid loading counters.h in all
11103         compilation units.
11104         (LyXTextClass): initialize ctrs_
11105         (TextClassTags): add TC_COUNTER, and ...
11106         (Read): use it here.
11107         (CounterTags): new tags
11108         (readCounter): new function
11109         (counters): new funtion
11110         (defaultLayoutName): return a const reference
11111
11112         * counters.C (Counters): remove contructor
11113         (newCounter): remove a couple of unneeded statements.
11114         (newCounter): simplify a bit.
11115         (numberLabel): some small formatting changes.
11116
11117         * buffer.[Ch]: remove all traces of counters, move the Counters
11118         object to the LyXTextClass.
11119
11120 2002-09-06  Alain Castera  <castera@in2p3.fr>
11121
11122         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11123         package to set the horizontal alignment on fixed width columns.
11124
11125         * lyx_sty.C:
11126         * lyx_sty.h: added tabularnewline macro def.
11127
11128         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11129
11130 2002-09-06  John Levon  <levon@movementarian.org>
11131
11132         * LyXAction.C: tooltips for sub/superscript
11133
11134         * MenuBackend.C: a bit more verbose
11135
11136         * lyxfunc.C: tiny clean
11137
11138         * undo_funcs.C: document undo_frozen
11139
11140 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11141
11142         * counters.C (Counters): add missing algorithm counter.
11143
11144         * text2.C (setCounter): lookup the counter with layouts latexname
11145         instead of by section number.
11146         (setCounter): use a hackish way to lookup the correct enum
11147         counter.
11148         a float name->type change
11149         reset enum couners with counter name directly instead of depth value.
11150
11151         * counters.C (Counters): remove the push_backs, change to use the
11152         float type not the float name.
11153         (labelItem): remove unused string, float name->type change
11154
11155         * counters.h: don't include vector, loose the enums and sects vectors
11156
11157 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11158
11159         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11160         (Read): add float->TC_FLOAT to textclassTags
11161         (Read): and handle it in the switch
11162         (readFloat): new function
11163
11164         * FloatList.C (FloatList): comment out the hardcoded float
11165         definitions.
11166
11167         * lyxlayout.h: ws change.
11168
11169 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11170
11171         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11172
11173 2002-09-03  Angus Leeming  <leeming@lyx.org>
11174
11175         * BufferView_pimpl.h: qualified name is not allowed in member
11176         declaration: WorkArea & Pimpl::workarea() const;
11177
11178         * factory.C: added using std::endl directive.
11179
11180         * text3.C: added using std::find and std::vector directives.
11181
11182 2002-08-29  André Pönitz <poenitz@gmx.net>
11183
11184         * lyxtext.h:
11185         * text2.C: remove unused member number_of_rows
11186
11187         * Makefile.am:
11188         * BufferView2.C: remove file, move contents to...
11189         * BufferView.C: ... here
11190
11191         * BufferView_pimpl.C:
11192         * factory.C: move more inset creation to factory
11193
11194         * vspace.C: avoid direct usage of LyXText, ws changes
11195
11196         * BufferView.[Ch]:
11197                 don't provide direct access to WorkArea, use two simple
11198                 acessors haveSelction() and workHeight() instead
11199
11200
11201 2002-08-29  John Levon  <levon@movementarian.org>
11202
11203         * BufferView_pimpl.C (dispatch): do not continue when
11204           no buffer
11205
11206 2002-08-28  André Pönitz <poenitz@gmx.net>
11207
11208         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11209
11210         * BufferView.h:
11211         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11212
11213 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11214
11215         * buffer.C: increment LYX_FORMAT to 221
11216
11217         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11218         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11219
11220         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11221
11222         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11223
11224 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * factory.C (createInset): use LyXTextClass::floats
11227
11228         * MenuBackend.C (expandFloatListInsert):
11229         (expandFloatInsert):
11230         (expandToc):
11231
11232         * text2.C (setCounter):
11233
11234         * LaTeXFeatures.C (useFloat):
11235         (getFloatDefinitions):
11236
11237         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11238
11239         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11240         floatlist_, with accessor floats().
11241
11242         * FloatList.h: remove global FloatList
11243
11244 2002-08-26  André Pönitz <poenitz@gmx.net>
11245
11246         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11247
11248         * BufferView.h:
11249         * BufferView2.C:
11250         * BufferView_pimpl.C:
11251         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11252
11253 2002-08-25  John Levon  <levon@movementarian.org>
11254
11255         * LyXAction.C: fix margin note description
11256
11257 2002-08-24  John Levon  <levon@movementarian.org>
11258
11259         * buffer.C:
11260         * bufferlist.C:
11261         * bufferview_funcs.C:
11262         * lyxfont.C:
11263         * undo_funcs.C: cleanups
11264
11265         * lyxfunc.C: disable CUT/COPY when no selection
11266
11267 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11268
11269         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11270         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11271
11272         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11273         Add backward compatibility to "mono", "gray" and "no".
11274
11275 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11278         (and file_format >= 200).
11279
11280 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11283
11284 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11287
11288 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11289
11290         * BufferView_pimpl.C:
11291         * LyXAction.C:
11292         * buffer.C:
11293         * commandtags.h:
11294         * lyxfunc.C:
11295         * paragraph.[Ch]:
11296         * text2.C:
11297         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11298         inset and code to make it  work with the paragraph code. The inset
11299         can be anywhere in the paragraph, but will only do the expected
11300         thing in LaTeX if the layout file contains the parameter line
11301                         OptionalArgs    1
11302         (or more generally, a nonzero value) for that layout.
11303
11304 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11305
11306         * paragraph.h: remove the declaration of undefined counters class
11307         function.
11308
11309 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11310
11311         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11312         Dr. Richard Hawkins.
11313
11314 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11315
11316         * paragraph_funcs.h: remove some unneeded includes
11317
11318         * text.C (backspace): pasteParagraph now in global scipe
11319
11320         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11321         (pasteSelection): ditto
11322
11323         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11324         * paragraph_funcs.C (pasteParagraph): ... here
11325
11326 2002-08-20  André Pönitz <poenitz@gmx.net>
11327
11328         * commandtags.h: new LFUNs for swapping/copying table row/colums
11329
11330         * LyXAction.C:
11331         * lyxfunc.C: support for new lfuns
11332
11333 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11334
11335         * tabular.C:
11336         * buffer.[Ch]: remove NO_COMPABILITY stuff
11337
11338 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11339
11340         * boost.C (throw_exception): new file, with helper function for
11341         boost compiled without exceptions.
11342
11343         * paragraph.h:
11344         * lyxlength.C:
11345         * buffer.C:
11346         * ParameterStruct.h:
11347         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11348
11349         * bufferlist.C (emergencyWriteAll): use boost bind
11350
11351         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11352
11353         * text.C: include paragraph_funcs.h
11354         (breakParagraph): breakParagraph is now in global scope
11355
11356         * paragraph_funcs.[Ch]: new files
11357
11358         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11359         global scope
11360
11361         * buffer.C: include paragraph_funcs.h
11362         (insertStringAsLines): breakParagraph is now in global scope
11363
11364         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11365         paragraph_funcs.C
11366
11367         * CutAndPaste.C: include paragraph_funcs.h
11368         (cutSelection): breakParagraphConservative is now in global scope
11369         (pasteSelection): ditto
11370
11371         * buffer.h: declare oprator== and operator!= for
11372         Buffer::inset_iterator
11373
11374         * bufferlist.C (emergencyWrite): don't use fmt(...)
11375
11376         * text3.C: add using std::endl
11377
11378         * BufferView.C (moveCursorUpdate): remove default arg
11379
11380 2002-08-20  André Pönitz <poenitz@gmx.net>
11381
11382         * buffer.[Ch]: move inline functions to .C
11383
11384         * BufferView2.C:
11385         * BufferView_pimpl.C:
11386         * text.C:
11387         * buffer.[Ch]: use improved inset_iterator
11388
11389         * buffer.C:
11390         * paragraph.[Ch]: write one paragraph at a time
11391
11392 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11393
11394         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11395         style if style is not specified.
11396
11397 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * text2.C (setCounter): when searching for right label for a
11400         caption, make sure to recurse to parent insets (so that a caption
11401         in a minipage in a figure float works) (bug #568)
11402
11403 2002-08-20  André Pönitz <poenitz@gmx.net>
11404
11405         * text3.C: new file for LyXText::dispatch() and helpers
11406
11407         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11408
11409         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11410
11411 2002-08-19  André Pönitz <poenitz@gmx.net>
11412
11413         * lyxtext.h:
11414         * text.C: new LyXText::dispatch()
11415
11416         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11417
11418 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11419
11420         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11421
11422         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11423         Hebrew text.
11424
11425 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11426
11427         * Makefile.am: use $(variables) instead of @substitutions@
11428
11429 2002-08-15  André Pönitz <poenitz@gmx.net>
11430
11431         * lyxfunc.C:
11432         * BufferView_pimpl.C: streamlining mathed <-> outer world
11433         interaction
11434
11435         * commandtags.h:
11436         * LyXAction.C: remove unused LFUN_MATH
11437
11438 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11439
11440         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11441
11442 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11443
11444         * paragraph.C (Paragraph): reformat a bit
11445         (cutIntoMinibuffer): use builtin InsetList function instad of
11446         doing it manually.
11447         (getInset): ditto
11448
11449         * buffer.C: include boost/bind.hpp, add using std::for_each
11450         (writeFileAscii): use ParagraphList iterators
11451         (validate): use for_each for validate traversal of paragraphs
11452         (getBibkeyList): use ParagraphList iterators
11453         (resizeInsets): use for_each to resizeInsetsLyXText for all
11454         paragraphs.
11455         (getParFromID): use ParagraphList iterators
11456
11457         * BufferView2.C (lockInset): use paragraph list and iterators
11458
11459 2002-08-14  John Levon  <levon@movementarian.org>
11460
11461         * lyxserver.C: remove spurious xforms include
11462
11463 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11464
11465         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11466
11467 2002-08-13  André Pönitz <poenitz@gmx.net>
11468
11469         * LyXAction.[Ch]:
11470         * lyxfunc.C: further cleaning
11471
11472 2002-08-13  André Pönitz <poenitz@gmx.net>
11473
11474         * funcrequest.h: new constructor
11475
11476         * funcrequest.C: move stuff here from .h
11477
11478         * Makefile.am:
11479         * BufferView_pimpl.C:
11480         * LyXAction.C:
11481         * toc.C:
11482         * lyxfunc.C: subsequent changes
11483
11484         * lyxfunc.h: new view() member function
11485
11486         * lyxfunc.C: subsequent changes
11487
11488 2002-08-13  Angus Leeming  <leeming@lyx.org>
11489
11490         * BufferView2.C:
11491         * BufferView_pimpl.C:
11492         * buffer.C:
11493         * converter.C:
11494         * importer.C:
11495         * lyxfunc.C:
11496         * lyxvc.C:
11497         * toc.C:
11498         * vc-backend.C:
11499         changes due to the changed LyXView interface that now returns references
11500         to member variables not pointers.
11501
11502 2002-08-13  Angus Leeming  <leeming@lyx.org>
11503
11504         * WordLangTuple (word, lang_code): return references to strings,
11505         not strings.
11506
11507         * BufferView.h:
11508         * SpellBase.h:
11509         * lyxtext.h: forward-declare WordLangTuple.
11510
11511         * BufferView2.C:
11512         * ispell.C:
11513         * pspell.C:
11514         * text.C: #include "WordLangTuple.h".
11515
11516         * lyxtext.h:
11517         * text.C: (selectNextWordToSpellcheck): constify return type.
11518
11519 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11520
11521         * buffer.C:
11522         * buffer.h:
11523         * lyxtext.h:
11524         * paragraph.C:
11525         * paragraph_pimpl.h:
11526         * text.C:
11527         * text2.C:
11528         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11529         suggested by Angus.
11530         Made updateCounter always count from start of buffer, and removed
11531         second argument (par).
11532         Reverted floats number display to '#'. Perhaps I'll try again when the
11533         code base is sanitized a bit.
11534
11535 2002-08-12  Angus Leeming  <leeming@lyx.org>
11536
11537         * buffer.[Ch] (getLabelList): constify.
11538
11539 2002-08-07  André Pönitz <poenitz@gmx.net>
11540
11541         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11542
11543         * funcrequest.h: extension to keep mouse (x,y) position
11544
11545 2002-08-12  Juergen Vigna  <jug@sad.it>
11546
11547         * BufferView2.C (insertErrors): forbid undo when inserting error
11548         insets.
11549
11550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11551
11552 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11553
11554         * ParagraphList.[Ch]: new files
11555
11556         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11557
11558         * BufferView2.C (lockInset): ParagraphList changes
11559         * toc.C: ditto
11560         * text2.C: ditto
11561         * bufferlist.C: ditto
11562         * buffer.h: ditto
11563         * buffer.C: ditto
11564
11565 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11566
11567         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11568         unused class variable counter_,
11569
11570         * paragraph.[Ch] (getFirstCounter): delete unused function
11571
11572         * counters.C: include LAssert.h
11573         (reset): add a new function with no arg, change other version to
11574         not have def. arg and to not allow empty arg.
11575
11576         * text2.C (setCounter): remove empty arg from call to Counters::reset
11577
11578 2002-08-11  John Levon  <levon@movementarian.org>
11579
11580         * Makefile.am: add WordLangTuple.h
11581
11582 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11583
11584         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11585         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11586
11587         * insets/insettext.C: InsetList changes
11588
11589         * graphics/GraphicsSupport.C (operator()): InsetList changes
11590
11591         * toc.C (getTocList): InsetList changes
11592
11593         * paragraph_pimpl.[Ch]: InsetList changes
11594
11595         * paragraph.[Ch]: InsetList changes
11596
11597         * buffer.C (inset_iterator): InsetList changes
11598         (setParagraph): ditto
11599         * buffer.h (inset_iterator): ditto
11600         * iterators.C (operator++): ditto
11601         * iterators.h: ditto
11602
11603         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11604
11605         * InsetList.[Ch]: new files, most InsetList handling moved out of
11606         paragraph.C.
11607
11608         * BufferView2.C (removeAutoInsets): InsetList changes
11609         (lockInset): ditto
11610         (ChangeInsets): ditto
11611
11612 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11613
11614         * paragraph_pimpl.h (empty): new function
11615
11616         * paragraph.[Ch] (empty): new function
11617
11618         * other files: use the new Paragraph::empty function
11619
11620 2002-08-09  John Levon  <levon@movementarian.org>
11621
11622         * lyxtext.h: remove unused refresh_height
11623
11624 2002-08-09  John Levon  <levon@movementarian.org>
11625
11626         * Makefile.am:
11627         * sgml.h:
11628         * sgml.C:
11629         * buffer.C:
11630         * paragraph.h:
11631         * paragraph.C: move sgml char escaping out of paragraph
11632
11633         * paragraph.h:
11634         * paragraph.C: remove id setter
11635
11636         * buffer.C:
11637         * paragraph.C:
11638         * paragraph_pimpl.C: remove dead tex_code_break_column
11639
11640         * bufferview_funcs.C: small cleanup
11641
11642         * lyxfunc.C: remove dead proto
11643
11644         * lyxtext.h: make some stuff private. Remove some dead stuff.
11645
11646         * lyxgluelength.C: make as[LyX]String() readable
11647
11648 2002-08-08  John Levon  <levon@movementarian.org>
11649
11650         * LyXAction.h:
11651         * LyXAction.C:
11652         * MenuBackend.C:
11653         * ToolbarDefaults.C:
11654         * lyxfunc.C:
11655         * lyxrc.C:
11656         * toc.C: lyxaction cleanup
11657
11658 2002-08-08  John Levon  <levon@movementarian.org>
11659
11660         * BufferView2.C: small cleanup
11661
11662         * lyxfind.h:
11663         * lyxfind.C: move unnecessary header into the .C
11664
11665 2002-08-08  John Levon  <levon@movementarian.org>
11666
11667         * funcrequest.h: just tedious nonsense
11668
11669         * lyx_main.h:
11670         * lyx_main.C: cleanups
11671
11672         * buffer.C:
11673         * vspace.C: remove dead header lyx_main.h
11674
11675 2002-08-07  Angus Leeming  <leeming@lyx.org>
11676
11677         * Paragraph.[Ch]:
11678         * paragraph_pimpl.h:
11679         Forward declare class Counters in paragraph.h by moving the ctrs member
11680         variable into Paragraph::Pimpl.
11681         (counters): new method, returning a reference to pimpl_->ctrs.
11682
11683         * text2.C: ensuing changes.
11684
11685 2002-08-07  John Levon  <levon@movementarian.org>
11686
11687         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11688
11689         * BufferView_pimpl.C: announce X selection on double/triple
11690           click
11691
11692         * lyx_main.C: use correct bool in batch dispatch
11693
11694         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11695
11696 2002-08-07  André Pönitz <poenitz@gmx.net>
11697
11698         * funcrequest.h: new class to wrap a kb_action and its argument
11699
11700         * BufferView.[Ch]:
11701         * BufferView_pimpl[Ch]:
11702         * LaTeX.C:
11703         * LyXAction.[Ch]:
11704         * lyxfunc.[Ch]:
11705         * lyxrc.C: subsequent changes
11706
11707
11708 2002-08-07  John Levon  <levon@movementarian.org>
11709
11710         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11711           document options change.
11712
11713 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11714
11715         * counters.[Ch]
11716         * text2.C
11717         * paragraph.[Ch]
11718         * makefile.am: move counters functionality over from
11719         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11720
11721 2002-08-06  John Levon  <levon@movementarian.org>
11722
11723         * WordLangTuple.h: new file for word + language code tuple
11724
11725         * SpellBase.h:
11726         * pspell.h:
11727         * pspell.C:
11728         * ispell.h:
11729         * ispell.C:
11730         * lyxtext.h:
11731         * text.C:
11732         * text2.C:
11733         * BufferView.h:
11734         * BufferView2.C: use WordLangTuple
11735
11736         * layout.h:
11737         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11738
11739 2002-08-06  John Levon  <levon@movementarian.org>
11740
11741         * lyx_main.C: fix cmdline batch handling
11742
11743 2002-08-06  André Pönitz <poenitz@gmx.net>
11744
11745         * lyxrc.C: set default for show_banner to true
11746
11747 2002-08-06  John Levon  <levon@movementarian.org>
11748
11749         * pspell.C: fix a crash, and allow new aspell to work
11750
11751 2002-08-06  John Levon  <levon@movementarian.org>
11752
11753         * lyxfunc.C:
11754         * kbmap.C: small cleanup
11755
11756         * vspace.h:
11757         * vspace.C: add const
11758
11759 2002-08-05  John Levon  <levon@movementarian.org>
11760
11761         * LyXAction.C: back to tabular-insert
11762
11763 2002-08-04  John Levon  <levon@movementarian.org>
11764
11765         * BufferView.h:
11766         * BufferView.C: cosmetic change
11767
11768         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11769
11770         * bufferlist.C:
11771         * buffer.h:
11772         * buffer.C:
11773         * lyxcb.h:
11774         * lyxcb.C:
11775         * lyxserver.C:
11776         * lyxvc.C:
11777         * vc-backend.C:
11778         * BufferView2.C: purge all "Lyx" not "LyX" strings
11779
11780         * lyxcursor.h:
11781         * lyxcursor.C: attempt to add some documentation
11782
11783         * lyxfunc.C:
11784         * commandtags.h:
11785         * LyXAction.C:
11786         * ToolbarDefaults.C:
11787         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11788           merge with LFUN_TABULAR_INSERT
11789
11790         * Makefile.am:
11791         * SpellBase.h:
11792         * ispell.h:
11793         * ispell.C:
11794         * pspell.h:
11795         * pspell.C: split up i/pspell implementations into separate
11796           files, many cleanups
11797
11798         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11799
11800         * text2.C: some cleanup
11801
11802         * lyxfunc.C: don't check for isp_command == "none" any more, it
11803           didn't make any sense
11804
11805 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11806
11807         * counters.[Ch]
11808         * text2.C
11809         * paragraph.[Ch]
11810         * makefile.am: move counters functionality over
11811         from text2.C/paragraph.[Ch] to counters.[Ch], and
11812         make proper C++.
11813 2002-08-02  John Levon  <levon@movementarian.org>
11814
11815         * buffer.C: s/lyxconvert/lyx2lyx/
11816
11817 2002-08-02  Angus Leeming  <leeming@lyx.org>
11818
11819         * lyxlex.C: revert John's change as it breaks reading of the user
11820         preamble.
11821
11822 2002-08-02  Angus Leeming  <leeming@lyx.org>
11823
11824         * importer.C (Import):
11825         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11826         changes due to LyXView::view() now returning a boost::shared_ptr.
11827
11828 2002-08-02  John Levon  <levon@movementarian.org>
11829
11830         * lyxlex.C: small cleanup
11831
11832 2002-08-02  John Levon  <levon@movementarian.org>
11833
11834         * text2.C (status): small cleanup, no logic change
11835
11836 2002-08-01  John Levon  <levon@movementarian.org>
11837
11838         * buffer.h:
11839         * buffer.C (writeFile): don't output alerts, caller
11840           handles this
11841
11842         * bufferlist.C:
11843         * lyx_cb.C: from above
11844
11845         * lyxfunc.C: allow to open non-existent files
11846
11847 2002-07-31  John Levon  <levon@movementarian.org>
11848
11849         * lyxserver.C: don't let incidental errors get
11850           in the way (errno)
11851
11852 2002-07-30  John Levon  <levon@movementarian.org>
11853
11854         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11855
11856 2002-07-30  John Levon  <levon@movementarian.org>
11857
11858         * lyxserver.h:
11859         * lyxserver.C: remove I/O callback too
11860
11861 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11862
11863         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11864         log.
11865
11866 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11867
11868         * many files: strip,frontStrip -> trim,ltrim,rtrim
11869
11870 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11871
11872         * PrinterParams.h: remove extern containsOnly, and include
11873         support/lstrings.h instead.
11874
11875         * LaTeX.C (scanAuxFile): modify because of strip changes
11876         (deplog): ditto
11877         * buffer.C (makeLaTeXFile): ditto
11878         * bufferparams.C (writeFile): ditt
11879         * lyxfont.C (stateText): ditto
11880         * lyxserver.C (read_ready): ditto
11881         * vc-backend.C (scanMaster): ditto
11882
11883         * BufferView_pimpl.h: ws changes
11884
11885         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11886
11887 2002-07-26  André Pönitz <poenitz@gmx.net>
11888
11889         * kb_sequence.C: remove unnedred usings
11890
11891 2002-07-26  Juergen Vigna  <jug@sad.it>
11892
11893         * lyxfind.C (LyXReplace): we have to check better if the returned
11894         text is not of theLockingInset()->getLockingInset().
11895
11896 2002-07-25  Juergen Vigna  <jug@sad.it>
11897
11898         * lyxfind.C (LyXReplace): don't replace if we don't get the
11899         right LyXText.
11900
11901         * undo_funcs.C (createUndo): remove debugging code.
11902
11903 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11904
11905         * buffer.C (parseSingleLyXformat2Token): Use default placement
11906         when reading old floats.
11907
11908         * FloatList.C (FloatList): Change the default placement of figure
11909         and tables to "tbp".
11910
11911 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * MenuBackend.C: using std::max
11914
11915 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * MenuBackend.C (expandToc):
11918         (expandToc2): code moved from xforms menu frontend. It is now
11919         generic and TOCs are transparent to menu frontends.
11920
11921 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * toc.C (getTocList): protect against buf=0
11924
11925         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11926         Menu as first parameter. Now, this calls itself recursively to
11927         expand a whole tree (this will be useful for TOC handling)
11928         (expandFloatInsert): remove 'wide' version of floats
11929
11930         * MenuBackend.h (submenuname): returns the name of the submenu.
11931         (submenu): returns the submenu itself, provided it has been
11932         created by MenuBackend::expand
11933
11934 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11937         insets which have noFontChange == true. (bug #172)
11938
11939 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * BufferView_pimpl.C: add connection objects and use them...
11942         (Pimpl): here.
11943
11944 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * MenuBackend.C (expandLastfiles):
11947         (expandDocuments):
11948         (expandFormats):
11949         (expandFloatListInsert):
11950         (expandFloatInsert):
11951         (expand): split expand in parts
11952
11953 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * lyx_gui.C: use lyx_gui::exit()
11956
11957 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * LyXAction.C: show the failing pseudo action
11960
11961 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11962
11963         * buffer.C (readFile): Run the lyxconvert script in order to read
11964         old files.
11965
11966 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * LyXAction.C:
11969         * commandtags.h:
11970         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11971
11972 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * LyXAction.C:
11975         * commandtags.h:
11976         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11977
11978 2002-07-22  Herbert Voss  <voss@lyx.org>
11979
11980         * lengthcommon.C:
11981         * lyxlength.[Ch]: add support for the vertical lengths
11982
11983 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * toc.[Ch]: std:: fixes
11986
11987 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * lyxrc.C: do not include lyx_main.h
11990
11991         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11992         for layouts
11993
11994         * lyxrc.C:
11995         * encoding.C:
11996         * bufferlist.C:
11997         * BufferView2.C: include "lyxlex.h"
11998
11999         * tabular.h:
12000         * bufferparams.h: do not #include "lyxlex.h"
12001
12002         * lyxtextclasslist.C (Add): remove method
12003         (classlist): renamed to classlist_
12004
12005         * paragraph_pimpl.C:
12006         * paragraph.C:
12007         * text2.C:
12008         * CutAndPaste.C:
12009         * bufferview_funcs.C:
12010         * bufferlist.C:
12011         * text.C:
12012         * LaTeXFeatures.C:
12013         * buffer.C:
12014         * toc.C (getTocList): use BufferParams::getLyXTextClass
12015
12016         * toc.C (getTocList): use InsetFloat::addToToc
12017
12018         * toc.[Ch]: new files, containing helper functions to handle table
12019         of contents
12020
12021         * lyxfunc.C (dispatch): no need to remove spaces around command
12022         given as a string
12023         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12024         first command of the sequence; it is not very clever, but I do not
12025         have a better idea, actually
12026
12027         * LyXAction.C (LookupFunc): make sure to remove space at the
12028         beginning and end of the command
12029
12030 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * MenuBackend.C (getMenubar): new method: return the menubar of
12033         this menu set
12034         (read): treat differently reading of menu and menubar (in
12035         particular, the menubar has no name now)
12036         (Menu::menubar): remove
12037
12038         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12039         saving is finished
12040
12041 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12042
12043         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12044         a bibitem inset in a RTL paragraph.
12045
12046 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * paragraph_pimpl.C: constify
12049
12050         * BufferView_pimpl.C:
12051         * LaTeX.C:
12052         * lyxfunc.C: fix dispatch in a nicer way
12053
12054 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12055
12056         * lyxfunc.C (dispatch):
12057         * BufferView_pimpl.C:
12058         * BufferView_pimpl.h:
12059         * BufferView.C:
12060         * BufferView.h: rename Dispatch() to dispatch()
12061
12062         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12063
12064         * lyxlayout.C (Read): honor DependsOn tag
12065
12066         * lyxlayout.[Ch] (depends_on): new method
12067
12068         * version.C.in: update lyx_docversion
12069
12070         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12071
12072         * paragraph.C (validate): remove from here...
12073         * paragraph_pimpl.C (validate): ... and move here
12074         (isTextAt): make it const
12075
12076         * buffer.C (getLists): ws cleanup
12077
12078 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12079
12080         * language.C (read): Use iso8859-1 encoding in latex_lang
12081         (this prevents LyX from crashing when using iso10646-1 encoding).
12082
12083 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12084
12085         * text2.C (toggleInset): if cursor is inside an inset, close the
12086         inset and leave cursor _after_ it
12087
12088 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * lyxfunc.C: move minibuffer completion handling out of here
12091
12092 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * BufferView_pimpl.C:
12095         * LaTeX.C: fix dispatch calls
12096
12097 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12098
12099         * text.C (drawChars): Fix Arabic text rendering.
12100
12101 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * LyXAction.C:
12104         * commandtags.h:
12105         * lyxfunc.C: remove message-push/pop
12106
12107         * lyxserver.C:
12108         * lyxfunc.h:
12109         * lyxfunc.C: rationalise some code by removing verboseDispatch
12110           in favour of a bool argument to dispatch()
12111
12112 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * lyx_main.C (init): make sure to read symlinks as absolute paths
12115
12116 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * lyxfunc.h:
12119         * lyxfunc.C: no need for commandshortcut to be a member
12120
12121 2002-07-15  André Pönitz <poenitz@gmx.net>
12122
12123         * converter.C: add support for $$s (scripts from lib/scripts dir)
12124         * lyx_main.C: white space
12125
12126 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * bufferlist.C:
12129         * lyxrc.h:
12130         * lyxrc.C: remove second exit confirmation
12131
12132 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView.h:
12135         * BufferView.C:
12136         * BufferView2.C:
12137         * BufferView_pimpl.h:
12138         * BufferView_pimpl.C:
12139         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12140
12141 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * MenuBackend.C (expand): add numeric shortcuts to document menu
12144
12145         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12146
12147 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * lyxfont.C (setLyXFamily):
12150         (setLyXSeries):
12151         (setLyXShape):
12152         (setLyXSize):
12153         (setLyXMisc):
12154         (lyxRead):
12155         * debug.C (value):
12156         * buffer.C (asciiParagraph): use ascii_lowercase
12157
12158 2002-07-15  Mike Fabian  <mfabian@suse.de>
12159
12160         * lyxlex_pimpl.C (search_kw):
12161         * lyxlex.C (getLongString):
12162         * converter.h (operator<):
12163         * converter.C (operator<):
12164         * buffer.C (parseSingleLyXformat2Token):
12165         (asciiParagraph):
12166         * ToolbarDefaults.C (read):
12167         * MenuBackend.C (checkShortcuts):
12168         (read):
12169         * LColor.C (getFromGUIName):
12170         (getFromLyXName): use the compare_ascii_no_case instead of
12171         compare_no_case, because in turkish, 'i' is not the lowercase
12172         version of 'I', and thus turkish locale breaks parsing of tags.
12173
12174 2002-07-16  Angus Leeming  <leeming@lyx.org>
12175
12176         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12177         now takes a Buffer const & argument.
12178
12179 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * BufferView.C (resize): check there's a buffer to resize
12182
12183 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * lyxfunc.C: remove dead code
12186
12187         * lyxserver.h:
12188         * lyxserver.C: use lyx_guii::set_read_callback
12189
12190 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12191
12192         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12193         an inset in a RTL paragraph.
12194
12195 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12196
12197         * lyxfunc.C: repaint after a font size update
12198
12199 2002-07-15  André Pönitz <poenitz@gmx.net>
12200
12201         * lyxlength.C: inBP should be able to return negative values
12202
12203 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * lyxfunc.C: use lyx_gui::update_fonts()
12206
12207 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * lyxfunc.C: use lyx_gui::update_color()
12210
12211 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * bufferlist.C:
12214         * lyxfunc.h:
12215         * lyxfunc.C:
12216         * lyxrc.h:
12217         * lyxrc.C: remove file->new asks for name option, and let
12218           buffer-new take an argument
12219
12220 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView_pimpl.C: remove unneeded extra repaint()
12223
12224 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * LyXAction.C: allow command-sequence with NoBuffer
12227
12228         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12229
12230 2002-07-10  Angus Leeming  <leeming@lyx.org>
12231
12232         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12233
12234 2002-07-09  Angus Leeming  <leeming@lyx.org>
12235
12236         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12237
12238 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * lengthcommon.h: whitespace
12241
12242         * lyxfunc.C: update scrollbar after goto paragraph
12243
12244         * lyxtext.h: factor out page break drawing, and fix it so
12245           page break/added space paints as selected nicely
12246
12247 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * BufferView_pimpl.C: add FIXMEs, clean up a little
12250
12251 2002-07-09  André Pönitz <poenitz@gmx.net>
12252
12253         * lyxfont.[Ch]: support for wasy symbols
12254
12255 2002-07-08  André Pönitz <poenitz@gmx.net>
12256
12257         * BufferView_pimpl.C: apply John's patch for #93.
12258
12259 2002-07-05  Angus Leeming  <leeming@lyx.org>
12260
12261         * BufferView_pimpl.C (buffer): generate previews if desired.
12262
12263         * LColor.h: add "preview" to the color enum.
12264
12265         * LColor.C (LColor): add a corresponding entry to the items array.
12266
12267         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12268         with this buffer.
12269
12270 2002-07-05  Angus Leeming  <leeming@lyx.org>
12271
12272         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12273         The body of the code is now in the method that is passed an ostream &
12274         rather than a file name.
12275         Pass an additional only_preamble parameter, useful for the forthcoming
12276         preview stuff.
12277
12278 2002-07-03  André Pönitz <poenitz@gmx.net>
12279
12280         * lyxfunc.C: simplify getStatus() a bit for math stuff
12281
12282 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12285
12286 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12287
12288         * text.C (changeRegionCase): do not change case of all the
12289         document when region ends at paragraph end (bug #461)
12290
12291 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12292
12293         * paragraph.C (startTeXParParams):
12294         (endTeXParParams): add \protect when necessary
12295
12296 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * BufferView_pimpl.C (workAreaExpose): remove warning
12299
12300 2002-06-27  Angus Leeming  <leeming@lyx.org>
12301
12302         * Makefile.am: add lyxlayout_ptr_fwd.h.
12303
12304 2002-06-26  André Pönitz <poenitz@gmx.net>
12305
12306         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12307
12308 2002-06-25  Angus Leeming  <leeming@lyx.org>
12309
12310         * lyxfunc.C (dispatch): Comment out the call to
12311         grfx::GCache::changeDisplay. The method no longer exists now that the
12312         pixmap generation part of the graphics loader has been moved into
12313         InsetGraphics.
12314
12315 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * text2.C: layout as layout
12318
12319         * text.C: layout as layout
12320
12321         * tabular.C (OldFormatRead): layout as layout
12322
12323         * paragraph_pimpl.C (TeXDeeper): layout as layout
12324         (realizeFont): layout as layout
12325
12326         * paragraph.C (writeFile): layout as layout
12327         (validate): layout as layout
12328         (getFont): layout as layout
12329         (getLabelFont): layout as layout
12330         (getLayoutFont): layout as layout
12331         (breakParagraph): layout as layout
12332         (stripLeadingSpaces): layout as layout
12333         (getEndLabel): layout as layout
12334         (getMaxDepthAfter): layout as layout
12335         (applyLayout): layout as layout
12336         (TeXOnePar): layout as layout
12337         (simpleTeXOnePar): layout as layout
12338         (TeXEnvironment): layout as layout
12339         (layout): layout as layout
12340         (layout): layout as layout
12341
12342         * lyxtextclass.C (compare_name): new functor to work with
12343         shared_ptr, layout as layout
12344         (Read): layout as layout
12345         (hasLayout): layout as layout
12346         (operator): layout as layout
12347         (delete_layout): layout as layout
12348         (defaultLayout): layout as layout
12349
12350         * lyxlayout_ptr_fwd.h: new file
12351
12352         * lyxlayout.C (Read): layout as layout
12353
12354         * lyx_cb.C (MenuInsertLabel): layout as layout
12355
12356         * bufferlist.C (newFile): layout as layout
12357
12358         * buffer.C (readLyXformat2): layout as layout
12359         (parseSingleLyXformat2Token): layout as layout
12360         (insertStringAsLines): layout as layout
12361         (asciiParagraph): layout as layout
12362         (latexParagraphs): layout as layout
12363         (makeLinuxDocFile): layout as layout
12364         (simpleLinuxDocOnePar): layout as layout
12365         (makeDocBookFile): layout as layout
12366         (simpleDocBookOnePar): layout as layout
12367         (getLists): layout as layout
12368
12369         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12370
12371         * CutAndPaste.C (cutSelection): layout as layout
12372         (pasteSelection): layout as layout
12373         (SwitchLayoutsBetweenClasses): layout as layout
12374
12375         * BufferView_pimpl.C (Dispatch): layout as layout
12376         (smartQuote): layout as layout
12377
12378         * BufferView2.C (unlockInset): layout as layout
12379
12380 2002-06-24  André Pönitz <poenitz@gmx.net>
12381
12382         * lyxfunc.C: fix #487
12383
12384 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * lyxrc.h:
12387         * lyxrc.C:
12388         * lyxfunc.C: remove display_shortcuts, show_banner
12389
12390 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * Buffer_pimpl.C: oops, update on resize
12393
12394 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * buffer.C:
12397         * converter.C:
12398         * exporter.C:
12399         * lyxfunc.C:
12400         * BufferView.h:
12401         * BufferView.C: use repaint()
12402
12403         * BufferView_pimpl.h:
12404         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12405           as it's a clearer description. Remove superfluous
12406           redraws.
12407
12408 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * text.C: fix bug 488. Not ideal, but getting
12411           getWord() to work properly for the insets that
12412           matter is more difficult ...
12413
12414 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12415
12416         * BufferView_pimpl.C:
12417         * LyXAction.C:
12418         * commandtags.h:
12419         * lyxfunc.C: remove the six million index lyxfuncs to just
12420           one, and DTRT (bug 458)
12421
12422 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * BufferView.h:
12425         * BufferView.C:
12426         * BufferView_pimpl.h:
12427         * BufferView_pimpl.C: clean up resize() stuff,
12428           and unnecessary updateScreen()s
12429
12430 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * BufferView.h:
12433         * BufferView.C:
12434         * BufferView_pimpl.h:
12435         * BufferView_pimpl.C:
12436         * lyxfind.h:
12437         * lyxfind.C:
12438         * minibuffer.C: remove focus management of workarea,
12439           not needed. Use screen's greyOut()
12440
12441 2002-06-17  Herbert Voss  <voss@lyx.org>
12442
12443         * converter.C: (convert) do not post a message, when converting
12444         fails, let the calling function decide what to do in this case
12445
12446 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * lyxfunc.C: tidy up a little
12449
12450 2002-06-16    <alstrup@diku.dk>
12451
12452         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12453         Got rid of FORMS_H_LOCATION include. Now we are
12454         GUII.
12455
12456 2002-06-15  LyX Development team  <lyx@rilke>
12457
12458         * buffer.[Ch] (sgmlOpenTag):
12459         (sgmlCloseTag): Added support for avoiding pernicious mixed
12460         content. Return number of lines written.
12461
12462         (makeLinuxDocFile):
12463         (makeDocBookFile): Fixed calls to sgml*Tag.
12464         Simple white space clean.
12465
12466         (simpleDocBookOnePar): Simple white space clean.
12467
12468         * tabular.[Ch] (docBook): Renamed to docbook and got another
12469         argument to related with the pernicious mixed content.
12470
12471         (docbookRow): Fixed calls for docbook inset method.
12472
12473 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12474
12475         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12476         so it's X11 independent.
12477
12478         * kb*.[Ch]: ditto.
12479
12480         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12481
12482 2002-06-15  Lyx Development team  <lyx@electronia>
12483
12484         * intl.h: Renamed getTrans to getTransManager.
12485
12486 2002-06-14  Angus Leeming  <leeming@lyx.org>
12487
12488         * Makefile.am: nuke forgotten stl_string_fwd.h.
12489
12490 2002-06-12  Angus Leeming  <leeming@lyx.org>
12491
12492         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12493
12494 2002-06-13  Angus Leeming  <leeming@lyx.org>
12495
12496         * LaTeX.C:
12497         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12498
12499 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12500
12501         * kbmap.C (getiso): add support for cyrillic and greek
12502
12503 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * BufferView.h:
12506         * BufferView.C:
12507         * BufferView_pimpl.h:
12508         * BufferView_pimpl.C: move bogus scrolling logic
12509           to xforms
12510
12511 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * lyxfunc.C:
12514         * BufferView_pimpl.C: view->resize() change
12515
12516 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * BufferView_pimpl.C: topCursorVisible
12519           prototype change
12520
12521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * Makefile.am:
12524         * lyx_gui.h:
12525         * lyx_gui.C: move to frontends/
12526
12527         * main.C:
12528         * lyx_main.h:
12529         * lyx_main.C: changes from above
12530
12531 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * intl.C:
12534         * intl.h:
12535         * kbmap.C:
12536         * kbsequence.C:
12537         * lyx_cb.C:
12538         * lyx_main.C: minor tidy
12539
12540 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * BufferView_pimpl.h:
12543         * BufferView_pimpl.C:
12544         * BufferView.h:
12545         * BufferView.C: make painter() const,
12546           remove dead code
12547
12548         * BufferView2.C: use screen() accessor
12549
12550         * lyx_main.h:
12551         * lyx_main.C: some minor cleanup
12552
12553 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * BufferView_pimpl.h:
12556         * BufferView_pimpl.C: remove enter/leaveView,
12557           use workHeight()
12558
12559 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * BufferView.h:
12562         * BufferView.C:
12563         * BufferView2.C:
12564         * BufferView_pimpl.h:
12565         * BufferView_pimpl.C: only construct screen once,
12566           rename
12567
12568         * lyxrc.C: remove pointless comment
12569
12570 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView.h:
12573         * BufferView.C: remove active() and belowMouse()
12574
12575         * BufferView_pimpl.h:
12576         * BufferView_pimpl.C: use workarea() not workarea_,
12577           and make it use a scoped_ptr instead
12578
12579 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * lyx_gui.C: add debug message on BadWindow
12582
12583 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * sp_spell.C: fdopen is not part of the C++ standard.
12586
12587         * paragraph.C (InsetIterator): use >= instead of ==
12588
12589 2002-06-07  Angus Leeming  <leeming@lyx.org>
12590
12591         Fixes needed to compile with Compaq cxx 6.5.
12592         * BufferView_pimpl.C:
12593         * DepTable.C:
12594         * buffer.C:
12595         * converter.C:
12596         * encoding.C:
12597         * lyx_gui.C:
12598         * lyx_main.C:
12599         * lyxtextclasslist.C:
12600         * minibuffer.C:
12601         * sp_spell.C:
12602         * tabular_funcs.C:
12603         * vc-backend.C:
12604         all c-library variables have been moved into namespace std. Wrap
12605         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12606
12607         * lyxlength.C:
12608         * tabular-old.C:
12609         * tabular.C:
12610         Add a using std::abs declaration.
12611
12612         * kbmap.h (modifier_pair):
12613         * paragraph.h (InsetTable, InsetList):
12614         * lyxfont.h (FontBits):
12615         type definition made public.
12616
12617         * bufferlist.C (emergencyWriteAll): the compiler complains that
12618         there is more than one possible lyx::class_fun template to choose from.
12619         I re-named the void specialisation as lyx::void_class_fun.
12620
12621         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12622
12623         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12624         the compiler is is unable to find tostr in write_attribute.
12625
12626 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12627
12628         * buffer.C (sgmlError): hide #warning
12629
12630 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * xtl/*: get rid of xtl, which is not in use anyway
12633
12634         * LyXAction.C (init):
12635         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12636         were unimplemented xtl experimentation
12637
12638 2002-06-04  André Pönitz <poenitz@gmx.net>
12639
12640         * lyxfunc.C: disable array operation on simple formulae
12641
12642 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * converter.C: constify a bit
12645
12646 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * lyx_gui.C: check xforms version correctly
12649
12650 2002-04-30  Herbert Voss  <voss@lyx.org>
12651
12652         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12653         "keep" option
12654
12655 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12658           attempt to register it with a VCS)
12659
12660 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * lyx_main.C (init): honor variables LYX_DIR_13x and
12663         LYX_USERDIR_13x
12664
12665 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * buffer.h:
12668         * buffer.C:
12669         * lyx_main.C: fix a crash on bad command line,
12670           and give a useful exit status on error
12671
12672         * lyxfunc.C (doImport): allow -i lyx to work
12673
12674 2002-03-30  André Pönitz <poenitz@gmx.net>
12675
12676         * lyxfunc.C: mathed font changes
12677
12678 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * LaTeX.C:
12681         * importer.h:
12682         * importer.C:
12683         * lyx_sty.h:
12684         * lyx_sty.C:
12685         * lyxlex.C:
12686         * lyxrow.h:
12687         * lyxtext.h:
12688         * paragraph.h:
12689         * paragraph.C:
12690         * texrow.h:
12691         * texrow.C:
12692         * text.C:
12693         * trans_mgr.h: srcdocs, and some minor cleanups
12694
12695 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12696
12697         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12698         call getFont all the time)
12699
12700 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12701
12702         * switch from SigC signals to boost::signals
12703
12704 2002-05-29  André Pönitz <poenitz@gmx.net>
12705
12706         * paragraph_pimpl.C (getChar): don't call size() too often...
12707
12708 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12709
12710         * paragraph_pimpl.C (insertChar): do not try to update tables when
12711         appending (pos == size())
12712
12713         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12714         in order to reduce drastically the number of comparisons needed to
12715         parse a large document
12716
12717 2002-05-29  André Pönitz <poenitz@gmx.net>
12718
12719         * text.C:
12720         * text2.C:
12721         * lyxtextclass.C:
12722         * sp_pspell.h:
12723         * textclasslist.[Ch]:
12724         * sp_ispell.h: whitespace change
12725
12726 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12729         lyxaction directly now.
12730
12731 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * trans.C:
12734         * lyxfont.C:
12735         * lyxvc.C: remove unused headers
12736
12737 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12738
12739         * Makefile.am:
12740         * buffer.h:
12741         * undostack.h:
12742         * undostack.C:
12743         * undo_funcs.h:
12744         * undo_funcs.C: some cleanups. Use shared_ptr
12745           and a template for the undo stacks.
12746
12747 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * BufferView_pimpl.h:
12750         * BufferView_pimpl.C:
12751         * kbmap.h:
12752         * kbmap.C:
12753         * kbsequence.h:
12754         * kbsequence.C:
12755         * lyxfunc.h:
12756         * lyxfunc.C:
12757         * text2.C: use key_state/mouse_state
12758
12759 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12762         and LSubstring
12763
12764         * chset.C: change include order
12765         (loadFile): use boost regex and get rid of LRegex and LSubstring
12766
12767         * Makefile.am (BOOST_LIBS): new variable
12768         (lyx_LDADD): use it
12769
12770         * LaTeX.C: change include order.
12771         (scanAuxFile): use boost regex and get rid of LRegex and
12772         LSubstring
12773         (deplog): ditto
12774
12775 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * ColorHandler.h:
12778         * ColorHandler.C:
12779         * FontInfo.h:
12780         * FontInfo.C: moved to frontends/xforms/
12781
12782         * FontLoader.h:
12783         * FontLoader.C: moved into frontends for GUIIzation
12784
12785         * Makefile.am:
12786         * lyx_gui.C:
12787         * lyxfont.C:
12788         * lyxfunc.C: changes from above
12789
12790 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * LColor.C: remove spurious X include
12793
12794         * BufferView_pimpl.C:
12795         * Makefile.am:
12796         * font.h:
12797         * font.C:
12798         * text.C:
12799         * text2.C: move font metrics to frontends/
12800
12801 2002-05-24  Juergen Vigna  <jug@sad.it>
12802
12803         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12804         setting the undo_cursor.
12805
12806         * ParagraphParameters.h: include local includes first.
12807
12808 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * BufferView_pimpl.C:
12811         * BufferView_pimpl.h:
12812         * Makefile.am:
12813         * WorkArea.h:
12814         * WorkArea.C:
12815         * screen.C: move WorkArea into frontends/
12816
12817         * lyxscreen.h:
12818         * screen.C:
12819         * text.C:
12820         * BufferView.C:
12821         * BufferView2.C: move LyXScreen into frontends/
12822
12823         * lyxlookup.h:
12824         * lyxlookup.C:
12825         * lyx_gui.C: move lyxlookup into frontends/xforms/
12826
12827 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * BufferView2.C:
12830         * BufferView_pimpl.C:
12831         * FontLoader.C:
12832         * LyXView.h:
12833         * LyXView.C:
12834         * Makefile.am:
12835         * WorkArea.C:
12836         * XFormsView.h:
12837         * XFormsView.C:
12838         * buffer.C:
12839         * bufferlist.C:
12840         * bufferview_funcs.C:
12841         * converter.C:
12842         * importer.C:
12843         * lyx_cb.C:
12844         * lyx_gui.C:
12845         * lyx_main.C:
12846         * lyx_find.C:
12847         * lyxfunc.C:
12848         * lyxvc.C:
12849         * minibuffer.C:
12850         * text.C:
12851         * text2.C:
12852         * trans.C:
12853         * vc-backend.C: move LyX/XFormsView into frontends/
12854
12855 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12856
12857         * Makefile.am:
12858         * PainterBase.C:
12859         * PainterBase.h:
12860         * Painter.C:
12861         * Painter.h:
12862         * WorkArea.C:
12863         * WorkArea.h:
12864         * screen.C:
12865         * tabular.C:
12866         * text.C:
12867         * text2.C: move Painter to frontends/
12868
12869 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * buffer.C: comment out some some code that depend upon lyx_format
12872         < 220
12873
12874         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12875         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12876
12877         * buffer.h (NO_COMPABILITY): turn off compability
12878
12879         * ColorHandler.C: include scoped_array.hpp
12880
12881         * font.C: Use more specific smart_ptr header.
12882         * Painter.C: ditto
12883         * gettext.C: ditto
12884         * ShareContainer.h: ditto
12885         * lyx_main.h: ditto
12886         * kbmap.h: ditto
12887         * FontInfo.h: ditto
12888         * BufferView_pimpl.h: ditto
12889         * ColorHandler.h: ditto
12890
12891         * kbmap.C (defkey): change call to shared_ptr::reset
12892
12893 2002-05-21  Juergen Vigna  <jug@sad.it>
12894
12895         * buffer.C (insertErtContents): fix to insert ert asis if it is
12896         non empty. Skip it completely if it contains only whitespaces.
12897
12898 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * BufferView_pimpl.C:
12901         * BufferView2.C: clear selection on paste (bug 393)
12902
12903 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * DepTable.C: include ctime
12906
12907 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12908
12909         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12910
12911 2002-05-14  Juergen Vigna  <jug@sad.it>
12912
12913         * text.C (breakParagraph): fixed function to honor the keepempty
12914         layout in the right maner and also to permit the right breaking
12915         algorithm on empty or non empyt keepempty paragraphs.
12916
12917         * paragraph.C (breakParagraph): we have to check also if the par
12918         is really empty (!size()) for isempty otherwise we do the wrong
12919         paragraph break.
12920
12921 2002-05-10  Juergen Vigna  <jug@sad.it>
12922
12923         * buffer.[Ch] : The following are only changes to the ert
12924         compatibility read reading old LaTeX layout and font stuff and
12925         convert it to ERTInsets.
12926
12927         * buffer.h: added isErtInset().
12928
12929         * buffer.C (struct ErtComp): add a fromlayout bool to check
12930         if we're inside a LaTeX layout.
12931         (isErtInset): new helper function.
12932         (insertErtContents): look for other ert insets before this one
12933         and insert the contents there, so that we don't have subsequent
12934         ERT insets with nothing between them. This way we create only one
12935         inset with multiple paragraphs. Also check if we don't insert only
12936         spaces ' ' as they are ignored anyway afterwards in the .tex file
12937         so if we have only spaces we will ignore this latex part in the
12938         new file.
12939         (parseSingleLyXformat2Token \\layout): better compatibility when
12940         reading layout-latex stuff.
12941         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12942         language tag.
12943         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12944         stuff after reading the inset only get the information back from
12945         the stack.
12946
12947 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12950
12951         * LaTeXFeatures.C (getBabelOptions): New method.
12952
12953 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * BufferView_pimpl.C (Dispatch): work around missing argument for
12956         'layout'
12957
12958 2002-05-08  Juergen Vigna  <jug@sad.it>
12959
12960         * text.C (leftMargin): handle paragraph leftindent.
12961
12962         * paragraph.C (writeFile): write the new \\leftindent tag.
12963         (validate): handle leftindent code.
12964         (TeXEnvironment): handle paragraphleftindent code again.
12965
12966         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12967
12968         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12969         for paragrap_extra indent code and new token \\leftindent.
12970         (latexParagraphs): handle the leftindent as environment.
12971
12972         * ParameterStruct.h: added leftindent support.
12973
12974         * ParagraphParameters.C (leftIndent): added support functions for
12975         the paragraph left indent.
12976
12977         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12978         more appropriate.
12979
12980 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12983         inside insetERT.
12984
12985         * text.C (computeBidiTables): No bidi in insetERT.
12986
12987         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12988         in RTL documents.
12989
12990 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * version.C.in: pre 5
12993
12994 2002-05-02  José Matos  <jamatos@fep.up.pt>
12995         * buffer.C (makeDocBookFile): white space changes, add newline to
12996         command styles.
12997         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12998
12999         * tabular.C (docBook): fix typo.
13000
13001 2002-05-03  Juergen Vigna  <jug@sad.it>
13002
13003         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13004         change in LyXText as we can not be sure it was not freed.
13005         (drawOneRow): remove unused code.
13006
13007         * text.C (drawInset): redo the calculation of the need_break_row as
13008         it could have a row which was already freed.
13009         (draw): look at the return value of drawInset and return false if
13010         it also returned false.
13011         (paintRowText): look at the return value of draw and return false if
13012         it also returned false.
13013
13014         * lyxtext.h: added bool return type to drawInset() and draw() so that
13015         if we have a change in the row so that the rowbreak has to be redone
13016         we abort drawing as it will be called again.
13017
13018 2002-05-02  Juergen Vigna  <jug@sad.it>
13019
13020         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13021         a change in the maintext also if we're inside an inset.
13022         (Dispatch): set the cursor again after a break line and after the
13023         screen has been updated as it could be we're in a different row.
13024
13025         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13026         to set the cursor behind the pargraph with > size().
13027         (setCursor): check also for the same paragraph when checking where
13028         to put the cursor if we have a NFR inset.
13029
13030         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13031         parts of layout read further up as it still was in the wrong
13032         position.
13033
13034 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * screen.C (drawFromTo): change sine fullRebreak always return
13037         true.
13038
13039         * buffer.C (parseSingleLyXformat2Token): reindent some
13040
13041         * BufferView_pimpl.C (update): change since fullRebreak always
13042         return true.
13043         (Dispatch): git rid of the last hardcoded "Standard"s.
13044
13045 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * text2.[Ch] (fullRebreak): make it return void now that we always
13048         returned true.
13049
13050 2002-04-30  Juergen Vigna  <jug@sad.it>
13051
13052         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13053         ert compatibility check for "latex" layout.
13054
13055 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13056
13057         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13058         minipages: use col% instead of p%, and also use the current font.
13059         (makeLaTeXFile): Fix use babel condition.
13060         (parseSingleLyXformat2Token): Correct font when reading old floats.
13061
13062 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13063
13064         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13065         inserting list of floats.
13066
13067 2002-04-25  Herbert Voss  <voss@lyx.org>
13068
13069         * MenuBackend.C (expand): don't add the graphics extensions to the
13070         export menu
13071
13072 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13073
13074         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13075         non-existing layout, do not complain if it was the default layout
13076         of the original class (bug #342)
13077
13078 2002-04-24  Juergen Vigna  <jug@sad.it>
13079
13080         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13081         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13082
13083 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13084
13085         * buffer.C (getBibkeyList): If using \bibliography, return the
13086         option field with the reference itself. Enables us to provide natbib
13087         support when using \bibliography.
13088
13089 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13090
13091         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13092
13093         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13094         natbib is provided by the LaTeX class.
13095
13096 2002-04-23  Juergen Vigna  <jug@sad.it>
13097
13098         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13099         Wakeup functions.
13100
13101         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13102
13103 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13106
13107         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13108         ensuremath around textordmasculine, textordfeminine and
13109         textdegree.
13110
13111 2002-04-19  Juergen Vigna  <jug@sad.it>
13112
13113         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13114         reinitializing the buffer otherwise row-dimensions may be wrong.
13115         (update): reset also the selection cursors if they do exits otherwise
13116         their x/y positions may be wrong.
13117
13118         * text2.C (cursorDown): don't enter the inset if we came from a row
13119         above and are one row over the inset.
13120
13121         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13122         really leaving an inset.
13123
13124 2002-04-18  Juergen Vigna  <jug@sad.it>
13125
13126         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13127         of the selected paragraph does not have the selected layout also if
13128         the last one had!
13129
13130         * text2.C (setLayout): fixed bug which did not change last selected
13131         paragraph.
13132
13133         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13134         changed the read and substituted \\end_float with \\end_inset!
13135
13136         * BufferView_pimpl.C (cursorPrevious):
13137         (cursorNext): fixed to make it work with rows heigher than the work
13138         area without moving the cursor only the draw of the row.
13139         (workAreaMotionNotify): fix jumping over high rows.
13140
13141 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13144         Ressler.
13145
13146 2002-04-16  Juergen Vigna  <jug@sad.it>
13147
13148         * text2.C (setCursor): set also the irow().
13149         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13150         (cursorUp):
13151         (cursorDown): support for locking an inset if the x_fix value goes
13152         inside it. That way I can transverse insets too with cursor up/down.
13153
13154         * lyxrow.h: added irow helper function same as other (i) functions.
13155
13156         * BufferView_pimpl.C (cursorPrevious):
13157         (cursorNext): fixed for insets!
13158
13159 2002-04-15  Juergen Vigna  <jug@sad.it>
13160
13161         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13162         position otherwise it is wrong in some cases.
13163
13164         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13165         inside the inset before the call.
13166
13167 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * buffer.[Ch] (getBibkeyList): make it const.
13170
13171 2002-04-12  Juergen Vigna  <jug@sad.it>
13172
13173         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13174
13175         * text2.C (getCursorX): new helper function
13176         (setCursor): compute also ix_
13177         (setCursorFromCoordinates): set also ix.
13178
13179         * lyxcursor.h: added ix_ and helper functions.
13180
13181         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13182
13183         * buffer.C (insertStringAsLines): dont break paragraph if the this
13184         paragraph is inside an inset which does not permit it!
13185
13186         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13187         also with no chars on this paragraph.
13188         (paintRowText): only paint stuff if it's inside the workarea!
13189
13190         * paragraph.C (breakParagraph): honor keepempty flag and break the
13191         paragraph always below not above.
13192
13193         * BufferView2.C (unlockInset): update the paragraph layout on inset
13194         unlock as we changed paragraph in such a case.
13195
13196         * lyxfind.C (LyXFind): clear the former selection if not found!
13197
13198         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13199         again called in insertChar().
13200
13201         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13202         an inset which uses the whole row!
13203         (rightMargin): ditto.
13204         (insertChar): force a rebreak if we inserted an inset!
13205
13206 2002-03-28  Herbert Voss  <voss@lyx.org>
13207
13208         * lyxlength.[Ch]: add inBP() to get the right PS-point
13209         units (BigPoint). With inPixels we have rounding errors
13210
13211 2002-04-11  Juergen Vigna  <jug@sad.it>
13212
13213         * text2.C (setCursorFromCoordinates): set iy to the right value.
13214         (setCursor): add check if row->previous exists!
13215
13216         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13217         an old float_type as this was the case in the old code!
13218
13219         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13220
13221         * BufferView2.C (showLockedInsetCursor): use iy
13222         (fitLockedInsetCursor): ditto
13223
13224         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13225         locked insets as there we have the right value now.
13226
13227         * lyxcursor.C: added iy_ variable and iy functions to set to the
13228         baseline of cursor-y of the locked inset.
13229
13230         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13231         (setCursor): fixed for insets which need a full row.
13232
13233         * text.C (rowLastPrintable): don't ignore the last space when before
13234         an inset which needs a full row.
13235         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13236         as last character of a row when before a inset which needs a full row.
13237
13238 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * version.C.in: update date
13241
13242         * text2.C (fullRebreak): try to always return true and see what
13243         happens...
13244
13245 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13246
13247         * MenuBackend.C (expand): use Floating::listName
13248
13249         * FloatList.C (FloatList): add listName argument to the built-in
13250         floats
13251
13252         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13253         text associated with the float.
13254
13255 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13256
13257         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13258
13259 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * ShareContainer.h: add a couple of missing typenames.
13262
13263 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13264
13265         * lyxrc.C (getDescription): use _() correctly rather than N_().
13266
13267 2002-03-28  Herbert Voss  <voss@lyx.org>
13268
13269         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13270         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13271
13272 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13273
13274         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13275         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13276
13277 2002-03-29  Juergen Vigna  <jug@sad.it>
13278
13279         * lyxfunc.C (dispatch): add a missing fitCursor call.
13280
13281         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13282         it was scrolled by a cursor move, so return the bool status.
13283
13284         * BufferView.C (fitCursor): return the bool flag also to the outside
13285         world as this is needed.
13286
13287         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13288
13289         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13290         call the edit() as it is not needed (and wrong) IMO.
13291         (workAreaButtonPress): set the screen_first variable before evt.
13292         unlock the inset as this may change screen_first and then we have
13293         a wrong y position for the click!
13294
13295 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * MenuBackend.C (expand): another translation that I missed
13298
13299 2002-03-28  Juergen Vigna  <jug@sad.it>
13300
13301         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13302
13303         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13304
13305 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13308
13309         * MenuBackend.C (expand): fix export/view/update when there is no
13310         document open.
13311
13312 2002-03-27  Herbert Voss  <voss@lyx.org>
13313
13314         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13315         and text%
13316
13317 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * bufferview_funcs.C (currentState): only show paragraph number
13320         for is DEVEL_VERSION is set.
13321
13322         * lyxfunc.C (dispatch): put warning in INFO channel
13323
13324         * MenuBackend.C (expand): translate the name of floats
13325
13326         * FloatList.C (FloatList): mark the float names for translation
13327
13328         * converter.C (convert): use LibScriptSearch
13329
13330 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13331
13332         * MenuBackend.C (defaults): fix default menu (we might as well get
13333         rid of it...)
13334
13335 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13338         directory.
13339
13340 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * lyxvc.C: reorder includes.
13343
13344 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13347           properly
13348
13349 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * CutAndPaste.C: change layouts earlier on paste
13352           to avoid crashing when calling getFont()
13353
13354 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13357         irritating #error.
13358
13359 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * WorkArea.C: remove 'Pending' debug message.
13362
13363         * most files: ws cleanup
13364
13365         * buffer.[Ch]: ws changes
13366
13367         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13368
13369 2002-03-21  Juergen Vigna  <jug@sad.it>
13370
13371         * tabular.C (SetMultiColumn): collapse also the contents of the
13372         cells and set the last border right. Added a Buffer const * param.
13373
13374 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13377         linking or not.
13378
13379 2002-03-19  Juergen Vigna  <jug@sad.it>
13380
13381         * text2.C (clearSelection): reset also xsel_cache.
13382
13383         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13384         where it needs to be called (John tells us to do so too :)
13385         (selectionLost): reset sel_cache.
13386
13387         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13388
13389 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13390
13391         * text2.C (setCursorIntern): put debuging code in INSETS channel
13392
13393 2002-03-19  André Pönitz <poenitz@gmx.net>
13394
13395         * lyxfunc.C: tiny whitespace change
13396
13397 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * ToolbarDefaults.C (init):
13400         * LyXAction.C (init):
13401         * commandtags.h:
13402         * BufferView_pimpl.C (Dispatch):
13403         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13404
13405 2002-03-19  Allan Rae  <rae@lyx.org>
13406
13407         * exporter.C (Export): removeAutoInsets before doing anything else.
13408         While I've just introduced a dependency on BufferView this really is
13409         the best place to clean the buffer otherwise you need to cleanup in
13410         a dozen places before calling export or cleanup in a dozen functions
13411         that export calls.
13412
13413         * converter.C (runLaTeX):
13414         (scanLog): Better handling of removeAutoInsets and screen updates.
13415
13416         * lyxfunc.C (dispatch): small whitespace changes
13417
13418 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * WorkArea.C (C_WorkAreaEvent): return a value.
13421         (event_cb): return 1 if we handled the event, 0 otherwise.
13422
13423         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13424
13425 2002-03-18  Juergen Vigna  <jug@sad.it>
13426
13427         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13428         (GetAdditionalWidth): ditto.
13429         (RightLine): ditto.
13430         (LeftLine): ditto.
13431
13432         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13433         inset if we're there actually (probably not used right now but this
13434         is the direction to go for unifying code).
13435         (paste): disable code to clear the selection.
13436
13437         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13438         inside an InsetText and move the check further up as it is in the
13439         wrong place.
13440
13441         * text2.C (pasteSelection): set a selection over the pasted text.
13442
13443 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13444
13445         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13446         and libgraphics to build on Cygwin.
13447
13448 2002-03-15  Juergen Vigna  <jug@sad.it>
13449
13450         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13451         inserting an Inset into the paragraph. I know this is not the best
13452         fix but we already use current_view in CutAndPaste so we will remove
13453         all of it's using at the same time.
13454
13455         * buffer.C (sgmlError): deactivated function till it is rewritten in
13456         the right mode, now it can create problems.
13457
13458         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13459         before accessing it.
13460
13461 2002-03-14  Juergen Vigna  <jug@sad.it>
13462
13463         * undo_funcs.C (textHandleUndo): do the right thing when updating
13464         the inset after the undo/redo.
13465
13466         * text2.C (setCursor): just some testcode for #44 not ready yet.
13467
13468         * undo_funcs.C (textHandleUndo): set the next() and previous()
13469         pointers of the paragraph to 0 before deleting otherwise we have
13470         problems with the Paragraph::[destructor].
13471
13472         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13473         on a paragraph insertion.
13474
13475 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * buffer.C (asciiParagraph): use += operator for char append to
13478         string.
13479
13480         * paragraph.C (getFontSettings): compare >= not just >
13481         (highestFontInRange): ditto
13482         (setFont): ditto
13483
13484 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * paragraph.C: change several algorithm to be more appripriate for
13487         the problem domain. This is lookip in FontList and in the InsetList.
13488
13489 2002-03-13  André Pönitz <poenitz@gmx.net>
13490
13491         * commandtags.h:
13492         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13493
13494 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13495
13496         * commandtags.h:
13497         * LyXAction.C:
13498         * lyxfunc.C:
13499         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13500
13501 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13502
13503         * Painter.C (display): anon helper function, adjust code for this
13504         change.
13505         (pixmap): remove function.
13506
13507         * Painter.h: remove private display variable.
13508
13509         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13510
13511 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13512
13513         * WorkArea.[Ch]: remove figinset_canvas cruft.
13514
13515 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * lyxtextclass.C (operator): add one item cache optimization.
13518
13519         * bufferlist.h: doxy changes
13520
13521         * bufferlist.C: ws changes
13522
13523         * DepTable.[Ch] (ext_exist): place const in the right spot.
13524
13525         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13526         call resizeInsets.
13527         (workAreaExpose): call resizeInsets when the with BufferView changes.
13528         (Dispatch): adjust for protectedBlank removal
13529         (specialChar): call updateInset if the insert went ok.
13530
13531         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13532         specialChar instead.
13533
13534         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13535
13536         * BufferView.h: doxy change
13537
13538         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13539
13540         * lyxtextclass.C (operator[]): remove non-const version
13541         (defaultLayout): remove non-const version
13542
13543 2002-03-12  Juergen Vigna  <jug@sad.it>
13544
13545         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13546         did resize the LyXText too.
13547
13548         * buffer.C (readLyXformat2): set layout information on newly allocated
13549         paragraphs.
13550
13551         * tabular.C (OldFormatRead): set layout information on the paragraph.
13552
13553 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13554
13555         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13556
13557 2002-03-11  Juergen Vigna  <jug@sad.it>
13558
13559         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13560         plainly wrong.
13561         (resizeCurrentBuffer): force also the insets to resize themselfes.
13562         (moveCursorUpdate): fixed up for InsetText.
13563
13564 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * commandtags.h:
13567         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13568         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13569         value of Dialogs::tooltipsEnabled().
13570         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13571
13572 2002-03-08  Juergen Vigna  <jug@sad.it>
13573
13574         * BufferView_pimpl.C (updateInset): update inset inside inset also
13575         if it isn't inside theLockingInset().
13576
13577 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * buffer.C (asciiParagraph): redo some of the word and line length
13580         handling.
13581         (getLists): look for Caption instead of caption.
13582
13583 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13584
13585         * buffer.C (Buffer): initialize niceFile to true
13586         (makeLaTeXFile):
13587         (makeLinuxDocFile):
13588         (makeDocBookFile): make sure niceFile is true on exit
13589
13590 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13591
13592         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13593
13594 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13595
13596         * LyXSendto.C: remove.
13597         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13598         * lyx_gui.C: remove now-redundant comment.
13599         * ColorHandler.h: remove forward declaration of class WorkArea.
13600         * lyxfunc.C: remove #include "WorkArea.h".
13601
13602 2002-03-07  Juergen Vigna  <jug@sad.it>
13603
13604         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13605         got moved away with the DEPM and also set the inset_owner always
13606         right which before could have been omitted.
13607
13608 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13611         wanted layout is not found.
13612
13613 2002-03-07  Juergen Vigna  <jug@sad.it>
13614
13615         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13616
13617 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * paragraph.C (breakParagraph): use default layout not layout of
13620         prev paragraph.
13621         (Paragraph): clear ParagraphParameters.
13622
13623 2002-03-06  Juergen Vigna  <jug@sad.it>
13624
13625         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13626         otherwise it would not be a valid lenght. Fixed a special case in
13627         the minipage compatibility read where we end the document with a
13628         minipage.
13629
13630         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13631         was set as it could be 0 for InsetTexts first entry.
13632
13633 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * paragraph.C (writeFile): if layout is empty write out
13636         defaultLayoutName().
13637
13638         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13639         file without named layout we set layout to defaultLayoutName().
13640
13641 2002-03-06  Juergen Vigna  <jug@sad.it>
13642
13643         * CutAndPaste.C (copySelection): set layout for new paragraph.
13644
13645         * text.C (prepareToPrint): leave ERT inset left aligned
13646         (leftMargin): don't indent paragraphs inside ERT insets
13647
13648 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13649
13650         * paragraph.C (breakParagraph): dont call clear do the work manually
13651
13652         * paragraph.[Ch] (clear): remove function
13653
13654 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * paragraph.C (Paragraph): dont call clear, the work has already
13657         been done.
13658
13659         * lyxtextclass.C (operator): assert if n is empty
13660
13661         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13662         work manually instead.
13663
13664 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * BufferView_pimpl.C: protect selectionLost against text == 0
13667
13668 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13669
13670         * text.C (breakParagraph): fix a setting layout to '0' problem.
13671
13672 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13673
13674         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13675         final location of file, for the included files, and graphics.
13676
13677 2002-03-05  Juergen Vigna  <jug@sad.it>
13678
13679         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13680
13681 2002-03-04  Juergen Vigna  <jug@sad.it>
13682
13683         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13684
13685         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13686         last column of multicolumn cells.
13687         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13688
13689 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13690
13691         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13692         file if it doesn't go to a temporary file.
13693
13694         * buffer.C (sgmlOpenTag):
13695         (sgmlCloseTag):  remove extra newline insertion.
13696
13697 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13698
13699         * text.C (getRowNearY): comment out debug msg
13700
13701 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13702
13703         * text2.C: first -> first_y
13704
13705         * text.C (getRowNearY): add some attemts at a possible
13706         optimization, not working.
13707
13708         * tabular.[Ch]: add BufferParams to several function so that newly
13709         created paragraph can be initialized to he default layotu for the
13710         buffers textclass.
13711
13712         * tabular-old.C (ReadOld): add buf->params to call of Init
13713
13714         * screen.C: rename text->first to text->first_y
13715
13716         * paragraph.C (breakParagraph): always set layout in the broken
13717         paragraph
13718
13719         * lyxtextclass.C (Read): remove lowercase
13720         (hasLayout): ditto
13721         (operator): ditto
13722         (delete_layout): ditto
13723
13724         * lyxtext.h: rename first -> first_y
13725
13726         * lyxlayout.C (Read): remove lowercase
13727         (name): ditto
13728         (setName): ditto
13729         (obsoleted_by): ditto
13730
13731         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13732
13733         * buffer.C (insertErtContents): add params are to InsetERT
13734         (parseSingleLyXformat2Token): add code to check if a paragraphs
13735         layout really exist.
13736         (parseSingleLyXformat2Token): add params to several inset
13737         constructors
13738         (asciiParagraph): remove lowercase, do the layout comparisons with
13739         no_case
13740
13741         * BufferView_pimpl.C (cursorNext): first -> first_y
13742         (resizeCurrentBuffer): first -> first_y
13743         (updateScrollbar): first -> first_y
13744         (scrollCB): first -> first_y
13745         (workAreaMotionNotify): first -> first_y
13746         (workAreaButtonPress): first -> first_y
13747         (checkInsetHit): first -> first_y
13748         (cursorPrevious): first -> first_y
13749         (cursorNext): first -> first_y
13750         (Dispatch): add buffer_->params to severl inset contructors
13751
13752 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * lyxlayout.C (Read): remove some debug info that I forgot.
13755
13756         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13757         clean up the code slightly.
13758         (makeLinuxDocFile): ditto
13759         (makeDocBookFile): ditto
13760
13761         * text2.C: layout as string
13762
13763         * text.C: layout as string
13764
13765         * paragraph_pimpl.C: layout as string
13766
13767         * paragraph.[Ch]: layout as string
13768
13769         * lyxtextclasslist.[Ch]: layout as string
13770
13771         * lyxtextclass.[Ch]: layout as string
13772
13773         * lyxtext.h: layout as string
13774
13775         * lyxlayout.[Ch]: layout as string
13776
13777         * lyx_cb.C: layout as string
13778
13779         * bufferview_funcs.C: layout as string
13780
13781         * bufferparams.C: layout as string
13782
13783         * buffer.C: layout as string
13784
13785         * LyXView.[Ch]: layout as string
13786
13787         * LaTeXFeatures.[Ch]: layout as string
13788
13789         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13790
13791         * BufferView_pimpl.C: change current_layout to string, remove
13792         lyx::layout_type.
13793         (Dispatch):
13794         (smartQuote):
13795         (insertInset):
13796         (workAreaButtonRelease): layout as string
13797
13798         * BufferView2.C (unlockInset): adjust
13799
13800         * vspace.C (asLatexCommand): use an explict temp variable.
13801
13802 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13803
13804         * Makefile.am: use FRONTEND_*
13805
13806 2002-03-01  Juergen Vigna  <jug@sad.it>
13807
13808         * tabular.C (SetWidthOfMulticolCell): changed to something better
13809         I hope but still work in progress.
13810         (recalculateMulticolumnsOfColumn): renamed function from
13811         recalculateMulticolCells as it is more appropriate now.
13812         (SetWidthOfCell): calculate multicols better.
13813
13814 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13815
13816         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13817
13818         * lyxfunc.C (processKeySym): print sequence also if it is
13819         `deleted' (complete)
13820
13821         * kbsequence.C (print): print sequence even if it is deleted
13822         (complete would be a better word, actually).
13823
13824         * lyxfunc.C (dispatch): print complete options after a prefix key
13825
13826         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13827
13828 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13829
13830         * text2.C (setCharFont): eliminate setCharFont code duplication.
13831
13832 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13835         LFUN_TABULAR_FEATURE (bug #177)
13836
13837 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13838
13839         * Makefile.am: remove figure.h
13840
13841 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13842
13843         * Bufferview_pimpl.C:
13844         * CutAndPasteC:
13845         * LaTeX.C:
13846         * LyXSendto.C:
13847         * buffer.C:
13848         * bufferlist.C:
13849         * converter.C:
13850         * language.C:
13851         * lyxfunc.C:
13852         * lyxvc.C:
13853         * paragraph.C:
13854         * text.C:
13855         * text2.C: remove #include "lyx_gui_misc.h".
13856
13857         * LaTeX.C: added #include <cstdio>
13858
13859 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13860
13861         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13862         that the paragraph following this one can have.
13863
13864         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13865
13866         * vspace.C (asLatexCommand): fix bogus gcc warning
13867
13868         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13869
13870 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13871
13872         * text2.C (setLayout): get rid of redundant code
13873
13874 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13875
13876         * text2.C (incDepth): make sure depth cannot be increased beyond
13877         reasonable values.
13878
13879 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13880
13881         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13882         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13883
13884         * PainterBase.h (image):
13885         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13886         a LyXImage const *.
13887
13888 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13889
13890         * BufferView.C:
13891         * BufferView.h:
13892         * BufferView_pimpl.C:
13893         * BufferView_pimpl.h:
13894         * LaTeXFeatures.C:
13895         * LyXAction.C:
13896         * LyXView.C:
13897         * Makefile.am:
13898         * UpdateList.h:
13899         * UpdateList.C:
13900         * buffer.C:
13901         * figure.h:
13902         * figureForm.C:
13903         * figureForm.h:
13904         * figure_form.C:
13905         * figure_form.h:
13906         * lyx_cb.C:
13907         * lyx_gui.C:
13908         * lyx_gui_misc.C:
13909         * lyxfunc.C:
13910         * sp_base.h:
13911         * sp_ispell.h:
13912         * sp_pspell.h:
13913         * sp_spell.C: remove fig inset, and the crap house of
13914           cards that follows it
13915
13916 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * Makefile.am:
13919         * lyxserver.C:
13920         * os2_defines.h:
13921         * os2_errortable.h:
13922         * nt_defines.h: move .h into support/
13923
13924         * vms_defines.h: remove
13925
13926         * WorkArea.C: add space in debug output
13927
13928         * text2.C:
13929         * paragraph.C:
13930         * buffer.C: add WITH_WARNINGS
13931
13932         * vc-backend.h:
13933         * vc-backend.C:
13934         * bufferlist.C: s/retrive/retrieve/, add docs
13935
13936         * vspace.h:
13937         * vspace.C:
13938         * kbmap.h:
13939         * lyxlength.h:
13940         * lyxgluelength.h:
13941         * length_common.h:
13942         * chset.h:
13943         * chset.C: add docs
13944
13945         * lyxgui.C: add ID to X error handler
13946
13947         * lyxtestclass.c: fix typo
13948
13949 2002-02-26  Juergen Vigna  <jug@sad.it>
13950
13951         * tabular_funcs.C (write_attribute): changed so that some default
13952         attributes are not written at all.
13953         (getTokenValue): set default values before trying to read the
13954         value so we have the return value always set as default if we don't
13955         find the token we search for.
13956
13957         * tabular.C (Write): write bools as bools not as strings!
13958
13959 2002-02-22  Juergen Vigna  <jug@sad.it>
13960
13961         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13962         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13963
13964         * text.C (leftMargin): don't add an indent for paragraphs inside
13965         tabular cells (fix #208).
13966
13967 2002-02-21  José Matos  <jamatos@fep.up.pt>
13968
13969         * tabular.C (docBook): fixed support for long tables.
13970
13971 2002-02-20  Juergen Vigna  <jug@sad.it>
13972
13973         * text2.C (getFont): get the drawing font of the Inset if this
13974         paragraph is inside an inset (only important for InsetERT for now).
13975
13976         * buffer.C (insertErtContents): use new lanugage params in ERT
13977         constructor.
13978
13979         * CutAndPaste.C: commenting out seemingly uneeded code.
13980
13981 2002-02-19  Allan Rae  <rae@lyx.org>
13982
13983         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13984         Iterators might be simple to use but they also get invalidated.
13985         (removeAutoInsets): renamed saved cursor tracking variables and added
13986         some comments to clarify what everything does.
13987
13988 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13989
13990         * Chktex.C:
13991         * LaTeX.C:
13992         * LyXSendto.C:
13993         * converter.C:
13994         * lyx_cb.C:
13995         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13996         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13997
13998         * lyxfunc.C:
13999         * vc-backend.h: remove #include "support/syscall.h"
14000
14001         * LaTeX.C:
14002         * LyXSendto.C:
14003         * converter.C: rearrange #includes in Lars' approved fashion.
14004
14005         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14006         forward declare class Timeout in the header file.
14007
14008         * XFormsView.C: changes due to the above.
14009
14010         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14011         similar to LyXView.
14012
14013         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14014         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14015
14016 2002-02-18  José Matos  <jamatos@fep.up.pt>
14017
14018         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14019         insets contents.
14020
14021 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14022
14023         * a lot of small ws changes
14024         * add a lot of using std::XXX
14025         * use std construcs some places where approp.
14026         * use some exisint stuff from lyxfunctional where approp.
14027         * Make file changes to use partial linking (lets test this now...)
14028
14029 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14030
14031         * Chktex.C:
14032         * buffer.C:
14033         remove #include "support/syscontr.h" as it's redundant. Always has been.
14034
14035         * Chktex.C:
14036         * LaTeX.C:
14037         * LyXSendto.C:
14038         * converter.C:
14039         * lyx_cb.C:
14040         * vc-backend.C:
14041         change Systemcalls::System to Systemcalls::Wait and
14042         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14043         No change of functionality, just reflects the stripped down Systemcalls
14044         class.
14045
14046 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * debug.[Ch]: add a GRAPHICS type to the enum.
14049
14050 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14051
14052         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14053
14054         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14055         there is an inset.
14056
14057 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14058
14059         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14060         match the changes below.
14061
14062         * text2.C (toggleInset): if there is not editable inset at cursor
14063         position, try to see if cursor is _inside_ a collapsable inset
14064         and close it.
14065
14066 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14067
14068         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14069         document menu has a nice checkbox
14070
14071 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14072
14073         * lyxlength.C (asLatexString): change PW to output as percent of
14074         \textwidth.
14075
14076         * lengthcommon.C: change '%' to 't%'
14077
14078         * lyxfunc.C (dispatch): a few comments from Martin
14079
14080 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * WorkArea.h:
14083         * WorkArea.C:
14084         * BufferView_pimpl.h:
14085         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14086           the X selection.
14087
14088 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14089
14090         * vspace.C (inPixels): fix compiler warning
14091
14092 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14093
14094         * lyxfunc.C (getStatus): fix status message for disabled commands.
14095
14096 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14097
14098         * BufferView_pimpl.C: fix crash on close buffer
14099         during selection (#227)
14100
14101 2002-01-27  Herbert Voss  <voss@lyx.org>
14102
14103         * buffer.C: link old Figure to new graphic inset
14104
14105 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14106
14107         * FontLoader.C (getFontinfo): Change the latex font names in order
14108         to match the names of type1inst.
14109
14110 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14113
14114         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14115         (extchanged): ditto
14116         (ext_exist): ditto
14117         (remove_files_with_extension): ditto
14118         (remove_file): ditto
14119         (write): ditto
14120
14121         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14122         document is smaller than the work area height. Do not initialize
14123         static variables to 0.
14124
14125 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14126
14127         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14128
14129         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14130         LFUN_LAYOUT_PARAGRAPHS.
14131
14132         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14133         tabular. It is possible to provide a possible cell, which will
14134         typically be the actcell from the corresponding insettabular
14135
14136         * lyxfunc.C (getStatus): small cleanup; disable
14137         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14138         true
14139
14140 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14141
14142         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14143
14144         * paragraph.C (startTeXParParams):
14145         (endTeXParParams): new methods. The LaTeX code to
14146         start/end paragraph formatting
14147         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14148         empty (fixes bug #200)
14149
14150         * vspace.C (inPixels): adapt to the change below
14151         (inPixels): [later] more cleanups (remove unused variables)
14152
14153         * lyxlength.C (inPixels): change to use a width and a height as
14154         parameter.
14155
14156 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14157
14158         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14159         Replaced with \paperwidth
14160
14161         * DepTable.C (insert): add std:: qualifier
14162
14163 2002-01-18  Allan Rae  <rae@lyx.org>
14164
14165         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14166         updated also?
14167
14168         * text.C (drawInset): Turned out I didn't know enough about how
14169         rebreaking worked.  This fixes most of the redraw problems.  I see
14170         an occasional cursor trail when a line is broken now and the cursor
14171         placement can seem out by a few pixels also after a rebreak.
14172
14173 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14174
14175         * buffer.C (parseSingleLyXformat2Token): update because minipage
14176         width is now a LyXLength
14177
14178         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14179
14180         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14181         math insets
14182
14183 2002-01-17  Juergen Vigna  <jug@sad.it>
14184
14185         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14186
14187         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14188         is set correctly and the inset is updated correctly.
14189
14190 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14191
14192         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14193         the beginning of the loop.
14194
14195 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * lyxrc.C: improve help for use_scalable_fonts
14198
14199 2002-01-17  Allan Rae  <rae@lyx.org>
14200
14201         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14202
14203 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14204
14205         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14206         make sure to set their inset_owner to the right value (bug #171)
14207
14208 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14209
14210         * DepTable.h
14211         * DepTable.C: Implement mtime checking to reduce time spent doing
14212         CRCs.
14213
14214 2002-01-16  Juergen Vigna  <jug@sad.it>
14215
14216         * tabular.C (GetAdditionalHeight): one of error fixed.
14217
14218         * lyxrc.C (output): small fix in writing use_pspell.
14219
14220 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14221
14222         * sp_base.h: #include LString.h
14223
14224 2002-01-16  Allan Rae  <rae@lyx.org>
14225
14226         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14227         Can someone check this please?
14228
14229         * text.C (drawInset): It was possible that p.row would be removed by
14230         breakAgainOneRow upsetting a few other settings.  There may be another
14231         small tweak possible by setting need_break_row = 0 when p.row has been
14232         removed but I don't know enough about the logic here.
14233
14234 2002-01-15  Allan Rae  <rae@lyx.org>
14235
14236         * text.C (insertChar): removed conditional truism.
14237
14238         * BufferView2.C (removeAutoInsets): More tweaks.
14239         cur_par_prev could be a stray pointer.  Check for trailing empty line
14240         in case last line was cur_par and only had an error inset on it.
14241
14242 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14243
14244         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14245         absolute
14246
14247         * vc-backend.C (most methods):
14248         * exporter.C (Export):
14249         * converter.C (convert):
14250         (runLaTeX):
14251         * LyXSendto.C (SendtoApplyCB):
14252         * lyxfunc.C (dispatch):
14253         (menuNew):
14254         (open):
14255         (doImport):
14256         * lyx_cb.C (AutoSave):
14257         (InsertAsciiFile):
14258         * BufferView_pimpl.C (MenuInsertLyXFile):
14259         * buffer.C (runChktex): use Buffer::filePath().
14260
14261         * buffer.h: rename filename to filename_; rename filepath to
14262         filepath_ and make it private
14263         (filePath): new method
14264
14265         * buffer.C (writeFile): use fileName()
14266         (getLatexName):
14267
14268         * lyx_main.C (init): fix starting  of LyX when the binary is a
14269         link from so,ewhere else.
14270
14271         * minibuffer.C: include <cctype> for isprint
14272
14273 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14274
14275         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14276         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14277         name clash with InsetCollapsable's width function.
14278
14279 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * lastfiles.C: include <iterator>
14282
14283 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14284
14285         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14286         std::count.
14287
14288         * buffer.C (makeLaTeXFile): ditto.
14289         Also make loop operation more transparent.
14290
14291 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14292
14293         * ToolbarDefaults.C: remove trailing comma closing namespace.
14294
14295         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14296
14297         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14298         as in WorkArea.
14299
14300         * trans.C (Load): comment out unused variable, allowed.
14301
14302 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14303
14304         * minibuffer.[Ch] (append_char): new method to recieve input from the
14305         drop-down completion browser. If a key was pressed, then recieve this
14306         char and append it to the existing string.
14307         (peek_event): modify the positioning data passed to the completion
14308         browser so that it can be placed above the minibuffer rather than below.
14309 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14310
14311         * LyXAction.C (init): alloe error-next for readonly documents.
14312
14313         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14314         count.
14315
14316 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14317
14318         * bufferlist.C (readFile): create the buffer _after_ checking that
14319         the file exists.
14320
14321         * lyxfunc.C (verboseDispatch): fix handling of arguments
14322
14323         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14324
14325         * lyxrc.C: use string::erase() instead of initializing to "".
14326
14327
14328 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14329
14330         * BufferView_pimpl.h:
14331         * BufferView_pimpl.C:
14332         * WorkArea.h:
14333         * WorkArea.C:
14334         * text2.C: tell X when we have made a selection for copying
14335
14336 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14337
14338         * BufferView_pimpl.C (MenuInsertLyXFile):
14339         * lyxfunc.C (menuNew):
14340         (open):
14341         (doImport): add shortcuts to directory buttons
14342
14343         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14344         open a float)
14345
14346         * lyxfunc.C (setStatusMessage):
14347         (getStatusMessage): new methods
14348         (getStatus):use setStatusMessage instead of setErrorMessage
14349         (dispatch): when function is disabled, set error message here
14350         [instead of in getStatus previously]
14351
14352         * BufferView_pimpl.C (workAreaButtonRelease): update
14353         toolbar/menubar here too.
14354
14355 2002-01-13  Allan Rae  <rae@lyx.org>
14356
14357         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14358         Now seems indestructible.  Remaining task is to audit all other
14359         code affected by deleteEmptyParagraphMechanism.  One small quirk
14360         left is that an empty document with an error in the preamble can
14361         be made to report an error but no error box appears.  I don't know
14362         where it goes.
14363         (removeAutoInsets): Improved comments.
14364
14365 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * Thesaurus.h:
14368         * Thesaurus.C: update for Aiksaurus 0.14
14369
14370 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14371
14372         * text2.C (firstParagraph): removed member function, all uses
14373         replaces with ownerParagraph
14374         (redoParagraphs): here
14375         (updateInset): here
14376         (toggleAppendix): here
14377         * BufferView2.C (insertErrors): here
14378         (setCursorFromRow): here
14379
14380 2002-01-13  Allan Rae  <rae@lyx.org>
14381
14382         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14383         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14384         There is still a way to segfault this although you may have to do this
14385         multiple times: Have an InsetERT with an unknown command in it.
14386         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14387         <down-arrow>, <Enter> again, View->DVI, BANG!
14388
14389         * text2.C (setCursor):
14390         (deleteEmptyParagraphMechanism):
14391         * lyxtext.h (setCursor):
14392         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14393         Making use of the return value may help fix other bugs.
14394
14395 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14396
14397         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14398
14399         * LyXView.C (updateMenubar): call MenuBar::update here
14400         (updateToolbar): but not here
14401         (showState): do not update toolbar/menubar
14402
14403         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14404         should need to care about that.
14405
14406         * lyxfunc.C (verboseDispatch): simplify a bit
14407         (getStatus): have a version which takes a pseudoaction, and
14408         another which requires a (kb_action,string).
14409
14410         * LyXAction.C (retrieveActionArg): make it work also when action
14411         is not a pseudo-action.
14412         (getActionName): simplify a bit
14413         (helpText):
14414
14415 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14416
14417         * lyxfunc.C (verboseDispatch): new families of methods with
14418         several ways to specify a command and a bool to indicate whether
14419         the command name and shortcut should be displayed in minibuffer
14420         (eventually, we could extend that to a finer bitmask like
14421         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14422         (dispatch): the pristine dispatch command which just, well,
14423         dispatchs! Note it still sets its result to minibuffer; I'm not
14424         sure we want that.
14425
14426         * lyxfunc.h: remove setHintMessage
14427
14428         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14429
14430 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14431
14432         * BufferView_pimpl.C (specialChar): delete new inset if we have
14433         not been able to insert it.
14434
14435         * kbmap.C: revert to using int instead of kb_action, since all we
14436         are dealing with is pseudo-actions.
14437
14438         * LyXAction.C (searchActionArg): change to return int instead of
14439         kb_action, since the result is a pseudoaction.
14440
14441 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14442
14443         * buffer.C (insertErtContents): Fix (partially) the font bug.
14444
14445 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14446
14447         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14448         as the other one is broken on my machine!
14449
14450 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14451
14452         * commandtags.h:
14453         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14454
14455 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14456
14457         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14458         reflect their actual use. Provide compatibility code for older lyxrc
14459         files.
14460
14461         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14462         FL_NORMAL_STYLE.
14463         change names of popup font variables in line with the changes to lyxrc.C
14464
14465 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14466
14467         * buffer.C (asciiParagraph): avoid outputing a word twice after
14468         an inset.
14469
14470         * lyxrc.C (getDescription): document that document_path and
14471         template_path can be empty.
14472
14473 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14474
14475         * LaTeXFeatures.C (getMacros):
14476         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14477
14478         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14479
14480         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14481         getPackages.
14482         (getPackages): rename feature "floats" to "float". Use an array to
14483         iterate over 'simple' features (i.e. just a \usepackage). Add
14484         handling of "amsmath" (renamed from "amsstyle").
14485
14486 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14487
14488         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14489         features list.
14490
14491 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14494         FuncStaus::FuncStatus & FuncStaus::some_method().
14495
14496 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14497
14498         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14499         of the func_satus stuff. Edited and massaged in various ways by
14500         JMarc.
14501
14502         * lyxfunc.C (getStatus): use FuncStatus
14503
14504 2002-01-08  Juergen Vigna  <jug@sad.it>
14505
14506         * text.C (nextBreakPoint): use function Inset::isChar().
14507
14508         * paragraph.C (TeXOnePar): use function
14509         Inset::forceDefaultParagraphs.
14510
14511         * buffer.C (latexParagraphs): use function
14512         Inset::forceDefaultParagraphs.
14513
14514 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14515
14516         * lyx_gui.C (init): set the style of the menu popups to
14517         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14518
14519 2002-01-07  Juergen Vigna  <jug@sad.it>
14520
14521         * text.C (setHeightOfRow): small fix
14522         (prepareToPrint): don't look at alignment if we don't have the place
14523         for doing it.
14524
14525 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14526
14527         * box.C: New file. Move the Box methods and functions out of box.h,
14528         following Lars' suggestion.
14529
14530 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * box.h: #include "support/LOstream.h", needed for inlined function.
14533
14534         * lyxtextclass.C:
14535         * lyxtextclasslist.C: added some using std declarations.
14536
14537 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * box.h: make signed dimensions to allow insets wider than
14540           the screen (bug #162)
14541
14542         * BufferView_pimpl.C: add some insetHit debug
14543
14544 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14545
14546         * vc-backend.C: add FIXME
14547
14548 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14549
14550         * lyxfunc.C (getStatus): enable code for showing math font status
14551         in toolbar/menu.
14552
14553 2002-01-07  Juergen Vigna  <jug@sad.it>
14554
14555         * text.C (nextBreakPoint): removed debug output not needed anymore.
14556
14557 2002-01-06  Juergen Vigna  <jug@sad.it>
14558
14559         * text.C (nextBreakPoint): fixed up this function we had this bug
14560         since ever but now hopefully we break row better.
14561         (insertChar): we have to check if an inset is the next char as it
14562         could now happen that a large inset is causing a break.
14563
14564 2002-01-05  Juergen Vigna  <jug@sad.it>
14565
14566         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14567         if it doesn't like to be drawed.
14568
14569 2002-01-04  Juergen Vigna  <jug@sad.it>
14570
14571         * BufferView2.C (lockInset): forgot to set a cursor.
14572
14573         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14574
14575 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14576
14577         * FormMathsPanel.C:
14578         * FormMathsPanel.h
14579         * MathsSymbols.C:
14580         * form_maths_panel.C:
14581         * form_maths_panel.h:
14582         * form_maths_panel.fd: implemented sub- and super- buttons in math
14583         panel.
14584
14585         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14586         (or ^ space) to be used as in TeX (req'd by Andr�.
14587
14588         * lyxfunc.C: Allow ^ and _ again to be used both as
14589         super/subscript (mathed) and as themselves (in text).
14590
14591 2002-01-03  Allan Rae  <rae@lyx.org>
14592
14593         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14594         "LyX" or the filename of the current buffer if it has one.  This is a
14595         modified form of John Levon's patch.
14596
14597         * XFormsView.C (setWindowTitle): also set icon title.
14598
14599         * LyXView.h (setWindowTitle): signature changed.
14600         * XFormsView.h (setWindowTitle): ditto.
14601
14602 2002-01-02  Juergen Vigna  <jug@sad.it>
14603
14604         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14605
14606 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * screen.C (topCursorVisible): introduce a temp var for
14609         text->cursor.row(), handle the case where this row is null. (kindo
14610         hachish)
14611
14612         * text2.C (setCursor): add a couple of asserts.
14613
14614         * paragraph.h (inset_iterator): add -> operator
14615
14616         * paragraph.[Ch] (autoDeleteInsets): remove member function
14617
14618         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14619         cursor pos correctly and handle inset deletion by itself.
14620         (insertErrors): move iterator declaration out of for expression
14621
14622         * lyxtextclass.C: add <algorithm>
14623
14624         * Makefile.am: added the new files to sources, removed layout.C
14625
14626         * layout.C: removed file
14627
14628         * layout.h: remove LYX_DUMMY_LAYOUT
14629
14630         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14631         layout.
14632
14633         * lyxlayout.[Ch]:
14634         * lyxtextclass.[Ch]:
14635         * lyxtextclasslist.[Ch]: new files
14636
14637         * include order changes to a lot of files, also changes because of
14638         the six new files.
14639
14640 2001-12-27  Juergen Vigna  <jug@sad.it>
14641
14642         * buffer.C (asciiParagraph): more fixes.
14643
14644         * tabular.C (ascii): make ascii export support export of only the
14645         data separated by a column-delimiter.
14646         (ascii): better support for ascii export.
14647
14648         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14649
14650 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * tabular_funcs.C: use a "using std::getline" instead of the
14653         previous fix from Angus (necessary for cxx + lyxstring)
14654
14655 2001-12-24  Juergen Vigna  <jug@sad.it>
14656
14657         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14658
14659         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14660         problems. First check a minipage also if we have some ert-contents
14661         (not only on par->size(), second set the right depth of the paragraph
14662         on the relink to the root-paragraph-list!
14663
14664         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14665         which then did not anymore update the main paragraphs on undo/redo!
14666
14667 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14668
14669         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14670         code. Support all font-changing funcs (even those which are not in
14671         menu currently). Support for reporting font settings in
14672         mathed (disabled until Andre provides a function on mathed's side).
14673
14674         * func_status.h (toggle): small helper function to set toggle
14675         state on a flag.
14676
14677 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14678
14679         * tabular_funcs.C: getline -> std::getline
14680
14681 2001-12-21  Juergen Vigna  <jug@sad.it>
14682
14683         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14684         accessed and could be 0 (I couldn't generate this but it seems
14685         Michael could!).
14686
14687 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14690         * tabular_funcs.h: here and include iosfwd
14691
14692 2001-12-20  Juergen Vigna  <jug@sad.it>
14693
14694         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14695         inside inset but undo_par was.
14696
14697 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14698
14699         * Thesaurus.C: always include <config.h> in sources.
14700
14701         * Painter.h:
14702         * lyxlookup.h:
14703         * box.h: do not include <config.h> in header files
14704
14705         * text.C (paintLastRow): remove unused variable
14706
14707         * text.C (transformChar):
14708         (insertChar):
14709         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14710
14711         * Painter.C (text):
14712         * font.C (width): rewrite to use uppercase() instead of
14713         islower/toupper.
14714
14715         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14716
14717 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14718
14719         * lyxfind.C: clean up of find failure position change
14720
14721 2001-12-20  Juergen Vigna  <jug@sad.it>
14722
14723         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14724
14725         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14726         (TeXRow): added to LaTeX a single tabular row.
14727         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14728         (Latex): simplified and finally good LT-h/f support.
14729         (various_functions): just small adaptions for LT-h/f support.
14730
14731         * tabular_funcs.[hC]: added and moved here all not classfunctions
14732         of LyXTabular.
14733
14734 2001-12-19  Juergen Vigna  <jug@sad.it>
14735
14736         * tabular.[Ch]: better support for longtabular options (not finished
14737         yet!)
14738
14739 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14740
14741         * text.C (paintLastRow): use the label font instead of the font of
14742         the last character to compute the size of *_BOX. This makes more
14743         sense and avoids a crash with empty paragraphs.
14744         Use Painter::rectangle to draw EMPTY_BOX.
14745
14746 2001-12-19  Juergen Vigna  <jug@sad.it>
14747
14748         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14749         the paragraphs if the replaced paragraph is not the first one!
14750         Tried to delete not used paragraphs but does not work yet so for
14751         now it's inside #ifdef's and by default off!
14752
14753 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14754
14755         * MenuBackend.C: include "lyx_main.h" instead of declaring
14756         lastfiles (actually was declared as LastFiles* instead of a
14757         scoped_ptr).
14758
14759 2001-12-17  Juergen Vigna  <jug@sad.it>
14760
14761         * tabular.C (AppendColumn): applied John's fix
14762
14763 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * BufferView.h:
14766         * BufferView.C:
14767         * BufferView_pimpl.h:
14768         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14769
14770         * Makefile.am:
14771         * box.h: new start of class for above
14772
14773         * lyxfunc.C: ignore space-only minibuffer dispatches.
14774           Show the command name when it doesn't exist
14775
14776         * minibuffer.C: don't add empty lines to the history
14777
14778         * minibuffer.C: add a space on dropdown completion
14779
14780 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * text.C: fix line above/below drawing in insets
14783
14784 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14785
14786         * lyxlength.C (LyXLength): Initialize private variables.
14787
14788 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14791         when inserting error insets.
14792
14793 2001-12-13  Juergen Vigna  <jug@sad.it>
14794
14795         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14796         actually sometimes the before-paragraph.
14797         (setUndo): don't clear the redostack if we're not actually undoing!
14798
14799 2001-12-06  Juergen Vigna  <jug@sad.it>
14800
14801         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14802         and fixed redoing of main paragraph, so we can use it now ;)
14803
14804         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14805
14806 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14807
14808         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14809         Juergen's request
14810
14811 2001-12-13  André Pönitz <poenitz@gmx.net>
14812
14813         * undostack.[Ch]:
14814         * undo_func.C: minor cleanup
14815
14816 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14817
14818         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14819         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14820         font in urw-fonts package which is marked as -urw-fontspecific and
14821         does not work (incidentally, changing the encoding in the
14822         fonts.dir of this package to -adobe-fontspecific fixes the
14823         problem).
14824
14825         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14826         is a crash when undoing first paragraph (Juergen, please take a
14827         look). THis does not mean the undo fix is wrong, just that it
14828         uncovers problems.
14829
14830         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14831         the (Paragraph*) version when needed instead of duplicating the
14832         code.
14833
14834         * text.C (workWidth): use Inset::parOwner to find out where the
14835         inset has been inserted. This is a huge performance gain for large
14836         documents with lots of insets. If Inset::parOwner is not set, fall
14837         back on the brute force method
14838
14839         * paragraph_pimpl.C (insertInset):
14840         * paragraph.C (Paragraph):
14841         (cutIntoMinibuffer): set parOwner of insets when
14842         inserting/removing them
14843
14844         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14845
14846 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14847
14848         * commandtags.h:
14849         * LyXAction.C:
14850         * lyx_main.C:
14851         * lyxfunc.C:
14852         * mathed/formulabase.C:
14853         * mathed/math_cursor.[Ch]:
14854         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14855
14856
14857 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14858
14859         * lyxlength.[Ch] (operator!=): new function
14860
14861 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14862
14863         * text.C (workWidth): use Inset::parOwner to find out where the
14864         inset has been inserted. This is a huge performance gain for large
14865         documents with lots of insets. If Inset::parOwner is not set, fall
14866         back on the brute force method
14867
14868         * paragraph_pimpl.C (insertInset):
14869         * paragraph.C (Paragraph):
14870         (cutIntoMinibuffer): set parOwner of insets when
14871         inserting/removing them
14872
14873         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14874
14875 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14876
14877         * tabular-old.C (getTokenValue):
14878         * tabular.C (getTokenValue):
14879         (write_attribute): new versions for LyXLength
14880         (everywhere): adjust the use of widths
14881
14882         * tabular.h: change the type of widths from string to LyXLength
14883
14884 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14885
14886         * paragraph.C: fixed missing line number count when exporting
14887         Environments to LaTeX file
14888
14889         * buffer.C: added informational message for checking line numbers.
14890
14891 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14892
14893         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14894         paragraph, do the 'double space' part, but not the 'empty
14895         paragraph' one.
14896
14897         * text.C (workWidth): small optimization
14898         (getLengthMarkerHeight): use minimal size for negative lengths.
14899
14900 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14901
14902         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14903
14904         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14905
14906 2001-12-11  André Pönitz <poenitz@gmx.net>
14907
14908         * FontLoader.C:
14909         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14910
14911 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * text2.C: keep selection on a setFont()
14914
14915 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * lyx_cb.C: another bv->text misuse, from insert label
14918
14919 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14920
14921         * kbsequence.h:
14922         * kbsequence.C: re-instate nmodifier mask
14923
14924 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14925
14926         * lyx_main.h: make lyxGUI private.
14927
14928 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * lyxfind.C: place the cursor correctly on failed search
14931
14932 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14933
14934         * text.C (getLengthMarkerHeight): for small heights, the arrows
14935         are not always on top/bottom of the text
14936         (drawLengthMarker): smaller arrows; take the left margin in
14937         account; draw also vfills.
14938         (paintFirstRow):
14939         (paintLastRow): remove special code for vfill and standard spaces,
14940         since everything is handled in drawLengthMarker now.
14941
14942 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * buffer.C (insertErtContents): try to handle font and language
14945         interaction a bit better.g
14946
14947         * ColorHandler.C (updateColor): change the hash to cover the whole
14948         LColor enum, ws cleanup
14949         (getGCLinepars): ditto
14950         (getGCLinepars): only lookup in the linecache once.
14951
14952 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14953
14954         * iterators.C (operator++): Make the iterator more robust
14955
14956         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14957         (John's patch)
14958         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14959
14960 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * lyxtext.h:
14963         * text.C: better added space drawing
14964
14965 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * LyXView.C:
14968         * BufferView2.C: fix layout combo update on inset unlock
14969
14970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * Makefile.am: don't compile unused files
14973
14974 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * lyxfunc.C:
14977         * commandtags.h:
14978         * LyXAction.C: remove old LFUN_LAYOUTNO
14979
14980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * paragraph_pimpl.h:
14983         * paragraph_pimpl.C: isTextAt() doesn't need font param
14984
14985 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14986
14987         * lyxlex.h:
14988         * lyxlex.C: little cleanup
14989
14990 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * BufferView_pimpl.C: fix insertAscii for insets
14993
14994 2001-12-05  Juergen Vigna  <jug@sad.it>
14995
14996         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14997         set the right font on the "multi" paragraph paste!
14998
14999 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * trans_decl.h:
15002         * trans_mgr.[Ch]:
15003         * trans.[Ch]:
15004         * lyxgluelength.C:
15005         * lyxlength.C: remove out-commented code.
15006
15007         * BufferView_pimpl:
15008         * CutAndPaste.C:
15009         * DepTable.C:
15010         * buffer.C:
15011         * chset.C:
15012         * lastfiles.C:
15013         * lyxlex.C:
15014         * lyxlex_pimpl.C:
15015         * lyxserver.C:
15016         * screen.C:
15017         * tabular-old.C:
15018         * tabular.C:
15019         * text.C:
15020         * trans_mgr.C:
15021         * vc-backend.C: change "while(" to "while ("
15022
15023         * lyxlength.[Ch]: add zero function to check if length is zero or
15024         not
15025         * lyxgluelength.C: use it
15026
15027 2001-12-05  Allan Rae  <rae@lyx.org>
15028
15029         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15030         Works for 2.95.3, from what I understand of Garst's reports this should
15031         work for other g++ versions.  We're screwed if the abs(int) definition
15032         changed between bugfix releases of gcc.
15033
15034 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15035
15036         * text.C: fix chapter label offset !
15037
15038 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * lyxtext.h:
15041         * text.C: fix hfill at end of line, clean up
15042
15043 2001-12-04  Juergen Vigna  <jug@sad.it>
15044
15045         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15046         that we force an update of the inset and it's owners if neccessary.
15047
15048 2001-12-03  Juergen Vigna  <jug@sad.it>
15049
15050         * text.C (rowLast): simplified code
15051
15052 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * lyxfunc.C: fix show options on timeout
15055
15056 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * screen.C (topCursorVisible): scroll half a page when the cursor
15059         reached top of bottom of screen
15060
15061 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * minibuffer.C: deactivate on loss of focus
15064
15065 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15066
15067         * vspace.[Ch] (operator!=): add operator.
15068
15069 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * BufferView_pimpl.C: refuse to open an inset when
15072         there's a selection.
15073
15074 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * BufferView_pimpl.C: allow to click on RHS of full row insets
15077
15078 2001-11-30  Juergen Vigna  <jug@sad.it>
15079
15080         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15081         insets for undo reasons.
15082
15083 2001-11-28  André Pönitz <poenitz@gmx.net>
15084
15085         * vspace.[Ch]: cosmetical changes
15086
15087 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * LyXAction.h:
15090         * LyXAction.C:
15091         * lyxfunc.h:
15092         * lyxfunc.C:
15093         * kbmap.h:
15094         * kbmap.C:
15095         * lyxrc.C:
15096         * kbsequence.h:
15097         * kbsequence.C: part re-write of old kb code
15098
15099         * Painter.C:
15100         * WorkArea.C: remove Lgb_bug_find_hack
15101
15102 2001-11-30  José Matos <jamatos@fep.up.pt>
15103
15104         * buffer.C (makeDocBookFile): add a comment to point a hack.
15105         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15106         Fixed a double write of labels.
15107
15108 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15109
15110         * LaTeX.C:
15111         * LaTeX.h Fixed bug in LaTeX class where it would not
15112         re-run latex if no depfiles were changed, but the .dvi was removed.
15113
15114 2001-11-28  André Pönitz <poenitz@gmx.net>
15115
15116         * all the files from the change on 2001/11/26:
15117         use lyx::layout_type instead of LyXTextClass::size_type
15118         use lyx::textclass_type instead of LyXTextClassList::size_type
15119
15120 2001-11-29  Juergen Vigna  <jug@sad.it>
15121
15122         * text.C: added support for paragraph::isFreeSpacing()
15123
15124         * buffer.C: same as above
15125
15126         * paragraph.h: inserted isFreeSpacing() function to enable
15127         FreeSpacing inside InsetERT.
15128
15129         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15130         of the paragraph's in the cut/copy buffer to 0!
15131
15132         * text2.C (removeRow): remove the assert as it can!
15133
15134         * lyxtext.h: added helper function firstRow returning firstrow and
15135         made firstrow private again.
15136
15137         * BufferView2.C (lockInset): don't relock if we're already locked!
15138
15139         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15140         the only paragraph.
15141         (removeRow): added Assert::(firstrow)
15142
15143         * debug.C: forgot to add INSETTEXT here.
15144
15145 2001-11-28  Juergen Vigna  <jug@sad.it>
15146
15147         * sp_spell.C (initialize): changed error text to more general
15148         spellchecker command use (not only ispell!)
15149
15150         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15151
15152         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15153
15154 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * vspace.C: initialise lyxgluelength on failure
15157
15158 2001-11-28  Allan Rae  <rae@lyx.org>
15159
15160         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15161         declaration & definition that looks like a function declaration.
15162
15163 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * BufferView2.C (copy):
15166         (copyEnvironment): do not clear the selection when doing a copy.
15167
15168         * text.C (paintFirstRow): compilation fix
15169
15170 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15171
15172         * tabular.C (Latex): correct line count when writing latex.
15173
15174 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15175
15176         * paragraph_pimpl.h:
15177         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15178           bug a bit
15179
15180 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15181
15182         * text.C:
15183         * LColor.h:
15184         * LColor.C: change vfillline->added_space
15185
15186         * text.C: add markers and text for added space
15187
15188         * vspace.C: fix comment
15189
15190 2001-11-28  André Pönitz <poenitz@gmx.net>
15191
15192         * paragraph.C: whitespace changes
15193         * all the other files from the change on 2001/11/26:
15194         change *::pos_type into lyx::pos_type
15195
15196 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15197
15198         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15199         language of the document when inserting error insets.
15200
15201 2001-11-26  André Pönitz <poenitz@gmx.net>
15202
15203         * BufferView_pimpl.[Ch]:
15204         *       CutAndPaste.C:
15205         * buffer.[Ch]:
15206         * lyxcursor.[Ch]:
15207         * lyxfind.C:
15208         * lyxfunc.C:
15209         * lyxrow.[Ch]:
15210         * paragraph.[Ch]:
15211         * paragraph_pimpl.[Ch]:
15212         * sp_spell.C:
15213         * text.C:
15214         * text2.C: reduce header dependencies, introduce type for positions
15215
15216 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * <various>: change to use Alert.h
15219
15220 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15223         when encountering an unknown token.
15224         (readLyXformat2): Show an error message if there were unknown tokens.
15225
15226 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * BufferView2.C:
15229         * BufferView_pimpl.C:
15230         * buffer.C:
15231         * paragraph.h:
15232         * text.C:
15233         * text2.C: use par->isInset()
15234
15235 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * paragraph_pimpl.h:
15238         * paragraph_pimpl.C: cleanup
15239
15240 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * text2.C (removeRow):
15243         * text.C (setHeightOfRow): remove useless (and costly) call to
15244         getRow.
15245
15246 2001-11-20  Allan Rae  <rae@lyx.org>
15247
15248         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15249         Now need Inset*::checkInsertChar() to return true for appropriate
15250         cases so that the characters in the minibuffer will actually be
15251         inserted.
15252
15253 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * text.C: change the order of the includes.
15256         (workWidth): initialize it at once.
15257         (workWidth): make maxw unsigned
15258         (setHeightOfRow): remove unused variable (inset)
15259         (selectSelectedWord): remove unused variable (inset)
15260         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15261
15262 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15265         server is not running.
15266         (openConnection):
15267         (closeConnection): add debug info when server is disabled.
15268
15269         * ColorHandler.C (getGCForeground): send debug message to GUI
15270         channel.
15271
15272         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15273
15274         * kbmap.C (bind): modify because return conventions of
15275         kb_sequence::parse have changed.
15276
15277         * kbsequence.C (parse): only ignore spaces and not any stupid
15278         control character. This avoids tests like s[i] <= ' ', which are
15279         guaranteed to fail with 8bit characters and signed chars.
15280         Change return code to string::npos when there have been no error
15281         (0 was a bad idea when error is at first character)
15282
15283 2001-11-14  José Matos  <jamatos@fep.up.pt>
15284
15285         * buffer.h:
15286         * buffer.C (simpleDocBookOnePar): removed unused argument.
15287
15288 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15291         insets which are part of a word. Paragraph::isLetter takes care of
15292         that now. Use Paragraph::isInset to identify insets.
15293         (selectSelectedWord): do not test for hyphenation break.
15294
15295         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15296         that protected spaces are considered as spaces.
15297
15298         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15299         Inset::isLetter.
15300
15301 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15302
15303         * lyxserver.h:
15304         * lyxserver.C: fix it. and small cleanup.
15305
15306 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15307
15308         * BufferView_pimpl.C: use inline helpers
15309
15310         * LaTeXFeatures.h:
15311         * LaTeXFeatures.C: fix typos
15312
15313         * Spacing.h:
15314         * Spacing.C: move spacing_string into class
15315
15316         * ToolbarDefaults.C: move stuff into namespace anon
15317
15318         * layout.h: update enum
15319
15320         * lyxfunc.C: use better debug
15321
15322         * minibuffer.h: fix typo
15323
15324         * debug.h:
15325         * debug.C:
15326         * WorkArea.C: add and use Debug::WORKAREA
15327
15328         * lyxtext.h:
15329         * text.C:
15330         * text2.C: code re-organisation, inline helpers
15331
15332 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15333
15334         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15335         std::vector.empty().
15336
15337 2001-11-09  Allan Rae  <rae@lyx.org>
15338
15339         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15340         '\n's after tables.  Tabular and ERT inset work now makes this no
15341         longer necessary.
15342
15343 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15344
15345         * minibuffer.h:
15346         * minibuffer.C: fix crash, improve drop-down completion
15347
15348 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15349
15350         * lyxserver.h:
15351         * lyxserver.C: invalidate fd's when doing endPipe()
15352
15353 2001-11-08  José Matos  <jamatos@fep.up.pt>
15354
15355         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15356         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15357
15358         * paragraph.h:
15359         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15360
15361 2001-11-07  José Matos  <jamatos@fep.up.pt>
15362
15363         * buffer.h:
15364         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15365         const qualifier.
15366
15367         * buffer.C (sgmlOpenTag):
15368         * buffer.C (sgmlCloseTag): removed debug info.
15369
15370         * buffer.h (sgmlOpenTag):
15371         * buffer.h (sgmlCloseTag): made public.
15372
15373 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * buffer.C (saveParamsAsDefaults):
15376         * lyx_cb.C (MenuLayoutSave): remove
15377
15378         * LyXAction.C (init):
15379         * commandtags.h:
15380         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15381
15382 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15383
15384         * buffer.C (setPaperStuff): removed from here...
15385
15386         * bufferparams.C (setPaperStuff): ... and moved there.
15387
15388 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * minibuffer.h:
15391         * minibuffer.C:
15392         * XFormsView.C: add support for drop-down completion
15393
15394 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15395
15396         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15397         commands.
15398
15399 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15402         disabled.
15403
15404 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15405
15406         * lyx_main.C: change ref to known bugs
15407
15408 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15409
15410         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15411         to work around older babel problems.
15412
15413 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15414
15415         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15416
15417 2001-10-24  Juergen Vigna  <jug@sad.it>
15418
15419         * tabular-old.C (ReadOld): below variable changes reflected.
15420
15421         * tabular.[Ch]: added ltType struct for longtable header/footer
15422         defines and changed all instances where they are used. Added
15423         future support for double top/bottom rows.
15424
15425 2001-10-24  José Matos  <jamatos@fep.up.pt>
15426
15427         * buffer.h (docbookHandleCaption):
15428         * buffer.C (docbookHandleCaption): removed unused function.
15429         (makeDocBookFile): moved docbook supported version to v4.1.
15430
15431 2001-10-24  José Matos  <jamatos@fep.up.pt>
15432
15433         * tabular.h:
15434         * tabular.C (docbookRow): new function to export docbook code of a row.
15435         (DocBook): now honors the longtable flags.
15436
15437 2001-10-23  José Matos  <jamatos@fep.up.pt>
15438
15439         * LaTeXFeatures.h:
15440         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15441         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15442
15443         * buffer.C (makeLinuxDocFile):
15444         (makeDocBookFile): reworked the preamble, more clean, and with
15445         support for lyx defined entities. Changed the document declaration
15446         to be more XML friendly.
15447
15448         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15449         if we need to output XML that should be done with a filter.
15450
15451 2001-10-22  Juergen Vigna  <jug@sad.it>
15452
15453         * sp_pspell.h (class PSpell): add alive function needed in the
15454         controller to see if the spellchecker could be started.
15455
15456 2001-10-22  Juergen Vigna  <jug@sad.it>
15457
15458         * buffer.C (insertStringAsLines): modify the font for inserting
15459         chars in certain conditions by calling checkInsertChar(font).
15460
15461 2001-10-19  Juergen Vigna  <jug@sad.it>
15462
15463         * text.C (workWidth): use getRow instead of wrong algorithm.
15464         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15465
15466 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15467
15468         * lyxserver.h:
15469         * lyxserver.C:
15470         * lyx_main.h:
15471         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15472
15473 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15474
15475         * text.C (workWidth): do not search for the exact row when
15476         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15477         optimization for big documents.
15478
15479 2001-10-18  Juergen Vigna  <jug@sad.it>
15480
15481         * text.C (workWidth): new function with added Inset * parameter.
15482
15483 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15484
15485         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15486
15487         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15488         change return type of getColumnNearX.
15489
15490
15491         * text.C (changeRegionCase): use uppercase/lowercase instead of
15492         toupper/tolower.
15493         (leftMargin):
15494         (rightMargin): simplify code by factoring out the uses of
15495         textclasslist.
15496         (labelFill):
15497         (numberOfHfills):
15498         (setHeightOfRow):
15499         (appendParagraph): use Paragraph::size_type
15500
15501 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * vspace.C (asLatexString): add a missing break
15504
15505 2001-10-15  Herbert Voss  <voss@perce.de>
15506
15507         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15508
15509 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15512         is not available.
15513
15514 2001-10-10  André Pönitz <poenitz@gmx.net>
15515
15516         * lyxfunc.C: removed greek_kb_flag.
15517
15518 2001-10-10  Herbert Voss  <voss@perce.de>
15519
15520         * lyx_main.C: delete global string help_lyxdir.
15521
15522 2001-10-09  Herbert Voss  <voss@perce.de>
15523
15524         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15525
15526         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15527
15528         * lyx_main.C: added global string help_lyxdir.
15529
15530         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15531
15532 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15533
15534         * lyxrc.C (set_font_norm_type): support iso8859-4
15535
15536 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15537
15538         * LaTeX.C (deplog): add another regex for MikTeX
15539
15540 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15541
15542         * lyxrc.C (set_font_norm_type): support iso8859-3
15543
15544 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15547
15548         * LaTeXFeatures.C: remove special case of french and index
15549
15550         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15551         before \begin{document}). This solves several incompatibilities.
15552
15553 2001-10-03  Garst Reese  <reese@isn.net>
15554
15555         * lyx_cb.C: change CheckTex error msg.
15556
15557 2001-10-03  José Matos  <jamatos@fep.up.pt>
15558
15559         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15560
15561 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * .cvsignore: update
15564
15565         * lyx_main.C (commandLineVersionInfo): use new style version info.
15566
15567         * buffer.C (writeFile):
15568         (makeLaTeXFile):
15569         (makeLinuxDocFile):
15570         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15571
15572         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15573
15574         * version.h: update to use stuff in version.C
15575
15576         * version.C.in: new file. Contains version information determined
15577         at compile time. This is a merging of version.h and
15578         version_info.h.in.
15579
15580 2001-10-03  Juergen Vigna  <jug@sad.it>
15581
15582         * BufferView_pimpl.C (update): don't change "dirty" status in
15583         updateInset call.
15584
15585 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * WorkArea.C (c-tor): re-position version string slightly.
15588
15589 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15592         revert to previous code.
15593
15594         WorkArea.[Ch]: (show, destroySplash): methods removed.
15595
15596         WorkArea.C: rework code so that it's an amalgam of the codes before and
15597         after the splash screen was moved to WorkArea.
15598
15599 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15600
15601         * lyxrc.C (read):
15602         * vspace.C (inPixels):
15603         (lyx_advance):
15604         * kbmap.C (bind):
15605         * buffer.C (insertStringAsLines):
15606         (asciiParagraph): fix types to be large enough
15607
15608         * lyxlex_pimpl.h: change member status from short to int
15609
15610         * layout.h: fix type of endlabeltype
15611
15612         * kbmap.C (bind):
15613         * kbsequence.C (parse): change return type to string::size_type
15614
15615         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15616         variable
15617
15618         * Bullet.C (bulletSize):
15619         (bulletEntry): do not use short ints as parameters
15620
15621         * BufferView2.C (insertLyXFile): change a char to an int.
15622
15623         * WorkArea.C (WorkArea): remove unneeded floats in computation
15624
15625 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15628
15629         * paragraph.C (asString): Do not ignore newline/hfill chars when
15630         copying to the clipboard.
15631
15632 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15633
15634         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15635         after a multi-line inset.
15636
15637 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15638
15639         * paragraph.C (validate): Set NeedLyXFootnoteCode
15640
15641 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15642
15643         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15644         and decrease-error to decrease.
15645
15646 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15649         it more readable (should be equivalent)
15650
15651 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15652
15653         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15654
15655 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15658         of a cursor (row, etc.) after a character has been deleted
15659         (deleteEmptyParagraphMechanism): call the method above on _all_
15660         cursors held by the LyXText when a double space has been
15661         detected/deleted.
15662
15663 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15666         pixmap.
15667         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15668
15669         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15670         background. Use greyOut() and the new show() methods to toggle between
15671         the foreground and background. Add code to remove the splash after
15672         its initial showing.
15673
15674         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15675         (create_forms): no longer call Dialogs::showSplash.
15676
15677 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * .cvsignore: add version_info.h
15680
15681 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15682
15683         * version_info.h.in: new file
15684
15685         * Makefile.am: add version_info.h.in
15686
15687         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15688         version_info.h instead of VERSION_INFO
15689
15690 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15691
15692         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15693         The ERT inset now returns string().
15694
15695 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15696
15697         * lyxtext.h, text.C (selectNextWord): renamed as
15698         selectNextWordToSpellcheck.
15699
15700         * text.C (selectNextWordToSpellcheck): Modified to not select
15701         words inside an ERT inset.
15702
15703 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15704
15705         * lyx_cb.C (MenuLayoutSave): change a bit the question
15706
15707         * sp_base.h: include <sys/types.h>
15708
15709 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15710
15711         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15712
15713 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15714
15715         * several files: fix typos in user-visible strings
15716
15717 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * text2.C (pasteSelection): do not set the selection, since it
15720         will be cleared later. Actually, the intent was to fix the way the
15721         selection was set, but I figured rmoving the code was just as good.
15722
15723 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15724
15725         * FontLoader.C (available): Check if font is available without
15726         loading the font.
15727
15728 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15729
15730         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15731
15732 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15733
15734         * lyxrc.[Ch]: added display_graphics variable and associated code.
15735
15736 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * bufferparams.C (hasClassDefaults): new method. Returns true if
15739         the buffer parameters correspond to known class defaults
15740
15741 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15742
15743         * XFormsView.C (show): set minimum size to the main window.
15744
15745 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * text2.C (copySelection):
15748         (cutSelection):
15749         * lyxfind.C (LyXReplace):
15750         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15751         LyXText::selectionAsString.
15752
15753         * paragraph.C (asString): add "label" argument to the second form
15754
15755         * text2.C (selectionAsString): add "label" argument and pass it to
15756         Paragraph::asString.
15757
15758 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * lyx_main.C (commandLineHelp): remove version information
15761
15762 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15763
15764         * lyx_main.C: add -version commandline option
15765
15766 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * paragraph.h: make the optional constructor arg required instead.
15769         some modifications to other files because of this.
15770
15771         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15772
15773         * lyxserver.C (C_LyXComm_callback): make it static
15774
15775         * lyx_main.C (error_handler): make it static
15776
15777         * lyx_gui.C (LyX_XErrHandler): make it static
15778
15779         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15780
15781         * WorkArea.C: make the extern "C" methods static.
15782
15783         * Makefile.am (lyx_LDADD): simplify
15784
15785 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15788         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15789
15790         * LyXAction.C (init):
15791         * lyxfunc.C (dispatch): associated code removal.
15792
15793 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15794
15795         * lyxfont.h (isSymbolFont): shut off warning
15796
15797         * text.C (setHeightOfRow):
15798         (getVisibleRow): fix crash with empty paragraphs which have a
15799         bottom line
15800
15801 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15802
15803         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15804         code.
15805
15806 2001-09-04  José Matos  <jamatos@fep.up.pt>
15807         * buffer.C
15808         * buffer.h
15809         * tabular.C (docbook): rename docBook method to docbook.
15810
15811 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15812
15813         * Makefile.am: add dependencies to main.o.
15814
15815 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15816
15817         * FontLoader.C (available): Return false if !lyxrc.use_gui
15818
15819 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15820
15821         * FontInfo.C (query):
15822         * converter.C (view):
15823         * importer.C (Import):
15824         * exporter.C (Export): Can not -> cannot.
15825
15826 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15827
15828         * BufferView_pimpl.C: allow to create index inset even if
15829           string is empty
15830
15831 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15832
15833         * buffer.C (getLists): replace boost::tie code with an explicit pair
15834         as boost::tie can break some compilers.
15835
15836         * iterators.h: Added a std:: declaration to the return type of
15837         ParIterator::size.
15838
15839 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15840
15841         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15842           case.
15843
15844 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15845
15846         * iterators.[Ch]: New files. Provide paragraph iterators.
15847
15848         * buffer.C (changeLanguage): Use paragraph iterators.
15849         (isMultiLingual): ditto
15850
15851         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15852
15853 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15854
15855         * FontLoader.C: Support for cmr font.
15856
15857 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15858
15859         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15860         (available): New method.
15861
15862         * FontInfo.C (getFontname): Use scalable fonts even when
15863         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15864         found.
15865
15866 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15867
15868         * converter.C (Formats::view): reverted! Incorrect fix.
15869
15870 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15871
15872         * converter.C (Formats::view): only output the -paper option
15873         if the dvi viewer is xdvi, thereby fixing bug #233429.
15874
15875 2001-08-23  Herbert Voss  <voss@perce>
15876
15877         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15878
15879 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15880
15881         * Spacing.h (Spacing): Set space to Default on in the default
15882         constructor.
15883
15884 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15885
15886         * vc-backend.h (RCS::versionString): add RCS to version
15887         (CVS::versionString): add CVS to version
15888
15889         * vc-backend.C (scanMaster): do not add CVS to version.
15890         (scanMaster): do not add RCS to version
15891
15892         * lyxvc.C (versionString): new method
15893
15894         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15895
15896 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * Spacing.C (set): initialize fval
15899
15900 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15901
15902         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15903         " or \.
15904
15905 2001-08-16  Juergen Vigna  <jug@sad.it>
15906
15907         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15908
15909 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15910
15911         * BufferView_pimpl.C:
15912         * figureForm.C:
15913         * lyxtext.h:
15914         * text2.C: setParagraph takes linespacing now
15915
15916 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15917
15918         * LyxAction.C: add internal LFUN_CITATION_INSERT
15919
15920         * LyXView.C: actually apply fix
15921
15922         * bufferlist.C: fix open non-existent file
15923
15924         * lyxfind.C: fix indentation
15925
15926         * lyxfunc.C: remove unneeded assert, fix typo
15927
15928 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15929
15930         * MenuBackend.C: use "Floatname List"
15931
15932 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15933
15934         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15935         when converting LaTeX layout to insetERT.
15936         Generate a non-collapsed float when reading old float
15937
15938 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15939
15940         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15941         ERT insets.
15942
15943 2001-08-13  Juergen Vigna  <jug@sad.it>
15944
15945         * text.C (fill): return 0 instead of 20 as this seems to be the more
15946         correct value.
15947
15948 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15951         lyxrc.font_norm.
15952
15953 2001-08-13  Juergen Vigna  <jug@sad.it>
15954
15955         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15956         casesensitive off.
15957         (SearchBackward): comment out the unlocking of the inset_owner this
15958         should not be needed!
15959
15960 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15961
15962         * Many files: Remove inherit_language, and add latex_language
15963
15964         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15965         collapsible insets.
15966
15967 2001-08-10  Juergen Vigna  <jug@sad.it>
15968
15969         * text.C (prepareToPrint): fixed hfill-width in draw!
15970
15971         * BufferView2.C (selectLastWord): save the selection cursor as this
15972         now is cleared in the function LyXText::clearSelection!
15973
15974 2001-08-08  Juergen Vigna  <jug@sad.it>
15975
15976         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15977         BACKSPACE type functions.
15978
15979         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15980         is only cutted from the document but not put in the cut-buffer, where
15981         still the old stuff should be.
15982
15983         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15984
15985         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15986
15987         * tabular.C (SetWidthOfCell): fixed special case where the width
15988         was not updated!
15989         (LeftLine): handle '|' in align_special.
15990         (RightLine): ditto
15991         (LeftAlreadyDrawed): ditto
15992         (SetWidthOfCell): ditto
15993
15994 2001-08-07  Juergen Vigna  <jug@sad.it>
15995
15996         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15997
15998 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16001         * lyxlex.[hC]: ditto
16002
16003 2001-08-06  Juergen Vigna  <jug@sad.it>
16004
16005         * text.C (getVisibleRow): fix up row clearing a bit.
16006
16007 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * minibuffer.C: make sure the X server sees the changes in the input.
16010
16011 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * paragraph.C (getFont): split into...
16014         (getLabelFont): this
16015         (getLayoutFont): and this
16016         * paragraph_pimpl.C (realizeFont): calling this
16017
16018         * text2.C (getFont): split into...
16019         (getLayoutFont): this
16020         (getLabelFont): and this
16021         (realizeFont): all three calling this
16022
16023         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16024         files where used.
16025
16026 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16027
16028         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16029
16030 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16031
16032         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16033         layouts from the Quote inset insertion.
16034
16035 2001-08-03  Juergen Vigna  <jug@sad.it>
16036
16037         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16038
16039         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16040         only if status not is already CHANGED_IN_DRAW (second level).
16041
16042         * text.C (draw): don't set the need_break_row when inside an
16043         InsetText LyXText.
16044
16045 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16046
16047         * buffer.C (parseSingleLyXformat2Token): handle more latex
16048         conversion cases.
16049
16050         * bufferview_funcs.[hC]: change function names to
16051         begin with small char, adjust other files.
16052
16053 2001-08-02  André Pönitz <poenitz@gmx.net>
16054
16055         * lyxfunc.C:
16056         BufferView_pimpl.C: remove broken special code for math-greek
16057
16058 2001-08-02  Juergen Vigna  <jug@sad.it>
16059
16060         * BufferView_pimpl.C (update): redone this function so that we
16061         update the text again if there was a CHANGE_IN_DRAW.
16062
16063         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16064         (drawFromTo): added a new internal bool which is used by draw() and
16065         redraw() function.
16066         (general): some cursor drawing problems fixed.
16067
16068 2001-08-01  Juergen Vigna  <jug@sad.it>
16069
16070         * lyxfind.C (LyXFind): fixed
16071         (SearchForward): ditto
16072         (SearchBackward): ditto
16073
16074         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16075         spurius drawing of the cursor in the main area.
16076
16077         * text2.C (status): small fix which could lead to a segfault!
16078         (clearSelection): remove unneeded BufferView param.
16079
16080 2001-08-01  André Pönitz <poenitz@gmx.net>
16081
16082         * lyxfunc.C: small change due to changed mathed interface
16083
16084 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16085
16086         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16087
16088 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * lyxfunc.c: fail gracefully if file doesn't exist
16091
16092         * LyXSendto.C:
16093         * buffer.C:
16094         * lyxfunc.C:
16095         * BufferView_pimpl.C: IsDirWriteable() proto changed
16096
16097         * LyXView.C: fix updateWindowTitle() to store the last title
16098
16099 2001-07-31  Juergen Vigna  <jug@sad.it>
16100
16101         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16102         the font (wrong since using of Paragraph::highestFontInRange).
16103
16104         * paragraph.C (highestFontInRange): added a default_size parameter.
16105
16106         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16107         (setHeightOfRow): reformat
16108
16109 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * converter.[hC] + affected files: move to (inital-char)lowercase
16112         function names.
16113
16114         * ParagraphParameters.C (ParagraphParameters): remove commented code
16115
16116         * PainterBase.[Ch]: remove commented code
16117
16118         * LaTeXFeatures.h: add "bool floats" for float.sty
16119
16120         * LaTeXFeatures.C (LaTeXFeatures): init floats
16121         (require): handle float
16122         (getPackages): do it with floats
16123
16124 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16125
16126         * BufferView_pimpl.C (Dispatch): improve handling of
16127         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16128
16129         * commandtags.h: #include lyxfont.h here temporarily to avoid
16130         keybinding bug.
16131
16132         * bufferlist.h: include LString.h here.
16133
16134 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * text2.C (getStringToIndex): new method.
16137
16138 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16139
16140         * *: Reduced header file dependencies all over.
16141
16142 2001-07-30  Baruch Even  <baruch@lyx.org>
16143
16144         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16145
16146 2001-07-29  Baruch Even  <baruch@lyx.org>
16147
16148         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16149
16150 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * ParameterStruct.h (endif): add a default constructor to make
16153         sure that all variables is initialized.
16154
16155         * ParagraphParameters.C (ParagraphParameters): adjust
16156
16157 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16158
16159         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16160         index; also, check that there is something to index, and that it
16161         does not span over several paragraphs.
16162         (doubleClick): use WHOLE_WORD_STRICT for double click.
16163
16164         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16165
16166         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16167         scheme.
16168
16169 2001-07-26  Baruch Even  <baruch@lyx.org>
16170
16171         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16172         an InsetFig figure, backwards compatible reading of old figure code.
16173
16174 2001-07-27  Juergen Vigna  <jug@sad.it>
16175
16176         * text2.C: font.realize function adaption.
16177
16178         * text.C (draw): add a warnings lyxerr text if needed.
16179
16180         * layout.C: font.realize function adaption.
16181
16182         * language.C: add inherit_language and implement it's handlings
16183
16184         * bufferview_funcs.C (StyleReset): remove language parameter from
16185         font creation (should be language_inherit now).
16186
16187         * bufferparams.C (writeFile): handle ignore_language.
16188
16189         * paragraph.C (getFontSettings): the language has to be resolved
16190         otherwise we have problems in LyXFont!
16191
16192         * lyxfont.C (lyxWriteChanges): added document_language parameter
16193         (update): removed unneeded language parameter
16194
16195         * paragraph.C (validate): fixed wrong output of color-package when
16196         using interface colors for certain fonts in certain environments,
16197         which should not seen as that on the final output.
16198
16199 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16200
16201         * BufferView_pimpl.C:
16202         * Thesaurus.h:
16203         * Thesaurus.C:
16204         * Makefile.am:
16205         * commandtags.h:
16206         * LyXAction.C: add thesaurus support
16207
16208         * lyxfind.h:
16209         * lyxfind.C: add "once" parameter, for thesaurus, to not
16210           move to the next match
16211
16212 2001-07-26  Juergen Vigna  <jug@sad.it>
16213
16214         * lyxfont.C (realize): honor ignore_language too!
16215         (resolved): ditto.
16216
16217         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16218
16219         * text.C (draw): one place more for ignore_language to not draw
16220         itself!
16221
16222 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16223
16224         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16225
16226 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16229         the minipage conversion problem.
16230
16231 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16232
16233         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16234         insert an inset.
16235
16236 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * BufferView.h: don't forward declare WorkArea
16239
16240         * BufferView.C: don't include WorkArea.h
16241
16242 2001-07-25  André Pönitz <poenitz@gmx.net>
16243
16244         * commandtags.h:
16245         * LyXAction.C:
16246         * lyxfunc.C:  new LFUN 'math-space'
16247
16248         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16249
16250 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16251
16252         * text2.C (toggleInset): call open/close
16253
16254 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * lyxfunc.C (dispatch): add debug for the disabled case
16257
16258         * font.C (buttonText): make similar to rectText
16259
16260         * buffer.C (readInset): comment out parsing of insetlist and
16261         insttheorem
16262
16263         * PainterBase.C (rectText): small correction
16264
16265         * BufferView_pimpl.C: comment out insettheorem and insetlist
16266         * LyXAction.C: ditto
16267         * commandtags.h: ditto
16268
16269 2001-07-24  Juergen Vigna  <jug@sad.it>
16270
16271         * text.C (draw): honor the ignore_language.
16272
16273         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16274
16275 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16276
16277         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16278         char inset.
16279
16280 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16281
16282         * lyxtext.h: remove unused (and unimplemented) methods
16283
16284 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16285
16286         * text.C (getVisibleRow): honor background color
16287
16288         * PainterBase.h:
16289         * Painter.h: remove default color argument for fillRectangle
16290
16291         * text.C (backgroundColor): new method
16292
16293 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * text.C (getVisibleRow): adjust
16296
16297         * font.[Ch] (rectText): new method, metrics
16298         (buttonText): new method, metrics
16299
16300         * PainterBase.[hC]: make rectText and buttonText always draw and take
16301         fewer paramteres.
16302
16303 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16304
16305         * ToolbarDefaults.C (read):
16306         * MenuBackend.C (read): allow escaping in all strings
16307
16308         * BufferView_pimpl.C (insertAndEditInset): new method.
16309         (Dispatch): use insertAndEditInset whenever appropriate.
16310
16311         * BufferView_pimpl.C (insertNote): removed
16312
16313         * BufferView_pimpl.C (smartQuote): new method, moved from
16314         BufferView; if an insetquote cannot be inserted, insert a '"'
16315         character instead.
16316
16317         * BufferView2.C: remove insertCorrectQuote();
16318
16319         * lyxfunc.C (getStatus): Add support for all remaingin
16320         inset-insert lfuns.
16321
16322         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16323
16324         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16325         command (necessary to pass " as parameter of self-insert.
16326
16327         * text.C (selectWordWhenUnderCursor):
16328         (selectWord): add word_location parameter
16329         (selectWordWhenUnderCursor): same + remove special code for word
16330         boundary.
16331         (selectNextWord): use kind() to guess type of insetspecialchar,
16332         not latex().
16333
16334         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16335         (insertErtContents): create ert insets as collapsed.
16336         (readInset): better compatibility code for Info inset.
16337
16338 2001-07-20  Juergen Vigna  <jug@sad.it>
16339
16340         * lyxfunc.C (dispatch): use always LyXFind now!
16341
16342         * text2.C (init): add a reinit flag so that the LyXText can be
16343         reinited instead of deleted and reallocated (used in InsetText).
16344
16345         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16346
16347         * text.C: ditto
16348
16349         * text2.C: ditto
16350
16351 2001-07-18  Juergen Vigna  <jug@sad.it>
16352
16353         * text.C (selectNextWord): handle insets inside inset by calling
16354         always the bv->text functions so that we can go up the_locking_inset!
16355
16356         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16357         in strange locations when inside an inset!
16358
16359         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16360         handling to include insets.
16361
16362         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16363
16364 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16365
16366         * LyXAction.C (init):
16367         * commandtags.h:
16368         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16369         LIGATURE_BREAK, since the name is so stupid.
16370
16371 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16372
16373         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16374         InsetInfos.
16375
16376         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16377
16378         * sp_form.[Ch]: remove.
16379
16380         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16381
16382         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16383         InsetInfo.
16384
16385         * src/buffer.C (readInset): ditto.
16386
16387 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16388
16389         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16390         menuSeparator(), endOfSentenceDot(), ldots() and
16391         hyphenationPoint(), which are therefore removed.
16392         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16393
16394         * LyXAction.C (init):
16395         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16396
16397         * paragraph.C (getWord): removed.
16398
16399         * BufferView_pimpl.C (Dispatch): use last word or selection for
16400         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16401
16402         * lyx_main.C (queryUserLyXDir): do not ask before creating
16403         user_dir, except if it has been named explicitely.
16404
16405 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16406
16407         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16408         a document of zero size.
16409
16410 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16411
16412         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16413         approriately in the c-tor and in require().
16414         (getPackages): output the appropriate LaTeX for natbib support.
16415
16416         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16417         variables "use_natbib" and "use_numerical_citations" when reading the
16418         LyX file.
16419         (readInset): read the various natbib cite commands.
16420         (validate): white-space change.
16421
16422         * bufferparams.[Ch]: new variables "bool use_natbib" and
16423         "bool use_numerical_citations".
16424         (writeFile): output them in the LyX file.
16425
16426 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16427
16428         * lyxfunc.C (getStatus): add support for all the inset insertion
16429         commands.
16430
16431         * text2.C (insertInset):
16432         * paragraph.C (insetAllowed):
16433         * BufferView_pimpl.C (insertInset): update to take in account the
16434         renaming of insertInsetAllowed
16435
16436         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16437
16438         * text2.C (getInset): new method. returns inset at cursor position.
16439
16440         * BufferView_pimpl.C (Dispatch): changes because of this.
16441
16442         * LyXAction.C (init): rename open-stuff to inset-toggle.
16443
16444         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16445
16446         * text2.C (toggleInset): renamed from openStuff; use
16447         Inset::open().
16448
16449 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16450
16451         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16452
16453         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16454
16455 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16456
16457         * buffer.C (readLyXformat2): Add filename to the error dialog
16458
16459 2001-07-18  Juergen Vigna  <jug@sad.it>
16460
16461         * tabular.C (GetCellNumber): put an assert here instead of the check!
16462
16463 2001-07-17  Juergen Vigna  <jug@sad.it>
16464
16465         * BufferView_pimpl.C (toggleSelection): adapted too.
16466
16467         * text.C (selectNextWord): adapted for use with insets.
16468         (selectSelectedWord): ditto
16469
16470 2001-07-17  Juergen Vigna  <jug@sad.it>
16471
16472         * sp_spell.C (PSpell): fix initialitation order.
16473
16474 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16475
16476         * paragraph.C: spacing
16477
16478 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16479
16480         * sp_spell.C: repair language selection for pspell
16481
16482 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16483
16484         * lyxfunc.h: change more methods to begin with lower char.
16485
16486 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16487
16488         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16489         for unknown layouts.
16490
16491 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16492
16493         * buffer.C (readLyXformat2): Generate an error dialog if there are
16494         unknown layouts.
16495
16496 2001-07-16  Juergen Vigna  <jug@sad.it>
16497
16498         * sp_spell.C: always compile ISpell part.
16499
16500         * lyxrc.C: added use_pspell entry and it's handling.
16501
16502 2001-07-13  Juergen Vigna  <jug@sad.it>
16503
16504         * sp_spell.C: removed double includes.
16505
16506 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16507
16508         Consistent use of Lsstream.h:
16509         * Lsstream.h: added using std::stringstream for consistencies sake.
16510
16511         * buffer.C: removed using std::stringstream
16512
16513         * lyxfont.C (stateText):
16514         * paragraph.C (asString):
16515         * text.C (selectNextWord, selectSelectedWord):
16516         * text2.C (setCounter):
16517         * vspace.C (asString, asLatexString):
16518         std::ostringstream -> ostringstream.
16519
16520 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16521
16522         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16523         * commandtags.h: add LFUN_HELP_ABOUTLYX
16524         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16525
16526 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16527
16528         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16529         cursorToggle()
16530         * lyx_gui_misc.C: remove spellchecker
16531         * lyxfunc.C: showSpellchecker
16532         * sp_base.h: added
16533         * sp_ispell.h: added
16534         * sp_pspell.h: added
16535         * sp_spell.C: added
16536         * sp_form.[Ch]: removed
16537         * spellchecker.[Ch]: removed
16538
16539 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16540
16541         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16542         is set.
16543         (simpleTeXSpecialChars): Simply print the input character without
16544         any special translation if pass_thru is set.
16545
16546         * layout.h: Added bool pass_thru to layout class for being able to
16547         implement pass through of a paragraph for Literate Programming.
16548
16549         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16550         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16551         * layout.C (Read): add "passthru" to list of layout tags and add
16552         code to set the pass_thru boolean when it is read.
16553
16554 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16555
16556         * trans_decl.h: remove allowed from KmodInfo
16557
16558         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16559         remove allowed code
16560         (Load): adjust
16561
16562         * paragraph_pimpl.C (erase): use boost::prior
16563
16564         * Painter.C (text): use data() instead of c_str() when length is
16565         also provided.
16566         * WorkArea.C (putClipboard): ditto
16567         * font.h (width): ditto
16568
16569         * BufferView2.C: use it-> instead of (*it). for iterators
16570         * texrow.C: ditto
16571         * paragraph_pimpl.C: ditto
16572         * paragraph.C: ditto
16573         * minibuffer.C: ditto
16574         * language.C: ditto
16575         * kbmap.C: ditto
16576         * encoding.C: ditto
16577         * counters.C: ditto
16578         * converter.C: ditto
16579         * chset.C: ditto
16580         * Variables.C: ditto
16581         * TextCache.C: ditto
16582         * MenuBackend.C: ditto
16583         * LyXAction.C: ditto
16584         * LColor.C: ditto
16585         * FloatList.C: ditto
16586         * DepTable.C: ditto
16587         * ColorHandler.C (LyXColorHandler): ditto
16588
16589 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16590
16591         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16592
16593         * text2.C (openStuff): reintroduce this method (which had been
16594         nuked in NEW_INSETS frenzy).
16595
16596         * lyxfunc.C (Dispatch): when an action has not been handled, use
16597         its name in the error message, not its number.
16598
16599         * paragraph.C (inInset): change method name to begin with lowercase.
16600
16601         * undo_funcs.C:
16602         * text2.C: updates because of this.
16603
16604 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16605
16606         * ToolbarDefaults.C (add): add spaces in error message
16607
16608 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16609
16610         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16611         (readLyXformat2): rename return_par to first_par, use lyxlex's
16612         pushToken and remove the manual push handling.
16613         (parseSingleLyXformat2Token): add another ert comp. variable:
16614         in_tabular, rename return_par to first_par. handle newlines better
16615
16616 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16617
16618         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16619
16620 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16621
16622         * text2.C (getParFromID): removed
16623
16624         * buffer.C (getParFromID): new method moved form lyxtext.
16625         * BufferView2.C (insertErrors): adjust
16626         (setCursorFromRow): adjust
16627         * BufferView_pimpl.C (restorePosition): adjust
16628         * lyxfunc.C (Dispatch): adjust
16629         * undo_funcs.C (textUndo): adjust
16630         (textRedo): adjust
16631         (textHandleUndo): adjust
16632         (textHandleUndo): adjust
16633
16634 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * buffer.C: up' the LYX_FORMAT
16637
16638         * lyxfont.h: turn NO_LATEX on as default
16639
16640         * buffer.C (insertErtContents): new methods of tex style compability.
16641         (parseSingleLyXformat2Token): use it several places.
16642         * tabular.C (OldFormatRead): and here
16643
16644 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * text2.C: remove some commented code.
16647         reindent file.
16648
16649         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16650         * trans.C: changes because of the above.
16651
16652 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16653
16654         * text2.C (setCounter): Fix counters bug with bibliography layout.
16655
16656 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16657
16658         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16659         own member functions
16660         (simpleTeXSpecialChars): ditto
16661
16662 2001-07-06  Juergen Vigna  <jug@sad.it>
16663
16664         * a lot of files: changed the access to LyXText::status and the
16665         call of undo-functions.
16666
16667         * undo.[Ch]: added a inset_id to the undo informations.
16668
16669         * undo_funcs.[Ch]: added and moved here all undo functions.
16670
16671         * lyxtext.h: give the status enum a weight, made status_ a private
16672         variable and made accessor functions for it, removed the whole bunch
16673         of undo-functions as they are now in their own file, make some
16674         functions publically available. Added function ownerParagraph with
16675         int parameter.
16676
16677         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16678         made InInset() a const function, added getParFromID() function.
16679
16680         * buffer.[Ch]: added const version for inset_iterator functions,
16681         added getInsetFromID() function.
16682
16683         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16684         changed undo functions for new version.
16685
16686 2001-07-05  Juergen Vigna  <jug@sad.it>
16687
16688         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16689         unknow mechanism does not call the proper constructor but only this
16690         one also if I request the other!?
16691
16692 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16693
16694         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16695
16696         * text2.C (LyXText): use initialization lists.
16697
16698         * lyxtext.h (Selection): initialize set_ and mark_
16699         (init): remove method
16700
16701 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16702
16703         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16704
16705 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16706
16707         * screen.[Ch]: change method names to begin with lowercase
16708
16709         * BufferView_pimpl.C (updateScrollbar): simplify further and
16710         hopefully make it a bit faster.
16711
16712 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16713
16714         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16715         calling directly xforms functions.
16716
16717         * Painter.C (Painter):
16718         * lyx_cb.C (MenuWrite):
16719         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16720         fl_display.
16721
16722         * lyx_gui.C: remove bogus guiruntime extern declaration.
16723
16724 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16727         in NEW_INSETS
16728         (redoDrawingOfParagraph): ditto
16729         (redoParagraphs): ditto
16730         (cutSelection): don't create a object for CutAndPaste use the
16731         static method directly
16732         (pasteSelection): ditto
16733
16734         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16735         LyXview (+ rename)
16736
16737 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * modifications to some other files because of this.
16740
16741         * Makefile.am (lyx_SOURCES): add XFormsView
16742
16743         * XFormsView.[Ch]: new files
16744
16745         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16746         the main window. Move the gui dependent stuff to XFormsView
16747
16748 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16749
16750         * tabular.C (GetCellInset): update cur_cell also in the row/col
16751         version of this function.
16752
16753         * lyxfunc.C: no need to include figure_form.h here.
16754
16755         * FontLoader.h:
16756         * lyxfunc.h:
16757         * lyxscreen.h:
16758         * text2.C:
16759         * lyxvc.C: no need to include forms.h here.
16760
16761 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16762
16763         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16764
16765         * lyxfunc.C (Dispatch):
16766         * Spacing.C (set):
16767         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16768         constructor argument.
16769
16770 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16771
16772         * paragraph.C (Paragraph): dont't clear, and just set layout.
16773         (makeSameLayout): use params's copy contructor.
16774
16775         * ParagraphParameters.[Ch] (makeSame): delete method
16776
16777 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16778
16779         * Variables.[Ch]: fix indentation, rename set to isSet
16780
16781 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16782
16783         * lyxfunc.C (Dispatch): fix typo
16784
16785 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16786
16787         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16788         upper_bound.
16789
16790         * bufferlist.C: include assert.h for emergencyWrite().
16791
16792 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16793
16794         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16795           give up at last (bug #425202) !
16796
16797 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16798
16799         * lyx_gui_misc.C:
16800         * sp_form.h:
16801         * sp_form.C:
16802         * spellchecker.h:
16803         * spellchecker.C: strip spellchecker options and bring up
16804           preferences tab instead
16805
16806 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16807
16808         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16809         the istringstream constructor
16810
16811 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16812
16813         * paragraph.C (getLayout): fix return value
16814
16815         * paragraph.h: do not declare getLayout as inline.
16816
16817         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16818
16819 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16820
16821         * lyxcursor.h (operator<): new func
16822         (operator>): new func
16823         (operator>=): new func
16824         (operator<=): new func
16825
16826         * text.C (changeCase): use selection.start and selection.end
16827         (changeRegionCase): require from to be <= to. Require par to be a
16828         valid paragraph.
16829
16830         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16831
16832 2001-06-27  Juergen Vigna  <jug@sad.it>
16833
16834         * text.C (cursorLeftOneWord): changed to return the cursor and added
16835         overlay with BufferView * parameter which calls this one.
16836         (getWord): added
16837         (selectWord): use new getWord function.
16838         (changeCase): renamed from changeWordCase as and extended to work
16839         also on selections.
16840
16841         * lyxtext.h: added enum word_location
16842
16843         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16844         changeCase as this operates now also on selections.
16845
16846 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16847
16848         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16849
16850         * many files: send debug output to Debug::INFO instead of
16851         Debug::ANY.
16852
16853         * converter.C (View):
16854         (Convert):
16855         (Move): send debug output to Debug::FILES instead of console.
16856
16857 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16858
16859         * lyxfunc.C (getStatus): use func_status
16860
16861         * func_status.h: new header, describing the results of
16862         LyXFunc::getStatus;
16863
16864         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16865         LFUN_MATH_HALIGN.
16866
16867 2001-06-25  The LyX Project  <jug@sad.it>
16868
16869         * buffer.C (sgmlOpenTag):
16870         (sgmlCloseTag):
16871         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16872
16873 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16874
16875         * text2.C: remove some dead code
16876
16877         * tabular.C (GetCellInset): store the last cell checked (gotten)
16878
16879         * tabular.h: add the helper for the speedup
16880
16881         * lyxtext.h: remove some dead code
16882
16883 2001-06-26  The LyX Project  <Asger>
16884
16885         * paragraph.C: Change export to LaTeX of alignment to
16886         \begin{center} and family for better roundtrip work with reLyX.
16887
16888         * Tune the math drawing a bit.
16889
16890 2001-06-25  The LyX Project  <Asger>
16891
16892         * LColor.C (LColor): New color for math background. New color
16893         for buttons.
16894
16895 2001-06-25  The LyX Project  <jug@sad.it>
16896
16897         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16898
16899         * lyxfunc.C (Open):
16900         * bufferlist.C (newFile): do not restrict to files ending with
16901         .lyx
16902
16903         * BufferView_pimpl.C (MenuInsertLyXFile):
16904
16905 2001-06-24  The LyX Project  <jug@sad.it>
16906
16907         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16908         of compare_no_case
16909
16910 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16911
16912         * lyxtext.h: rename most methods to begin with a small char.
16913         Lots of changes because of this.
16914
16915         * paragraph.C (Paragraph): do not call fitToSize
16916         (erase): call Pimpl::erase
16917         (insertChar): call Pimpl::insertChar
16918         (insertInset): call Pipl::insertInset
16919         (breakParagraph): do not call fitToSize
16920         (breakParagraphConservative): do not call fitToSize
16921         (fitToSize): remove method
16922
16923         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16924
16925 2001-06-24  The LyX Project  <Asger>
16926
16927         * Fix Qt compilation^2
16928
16929 2001-06-24  The LyX Project  <jug@sad.it>
16930
16931         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16932         depthHook(getDepth()-1).
16933
16934         * paragraph.h:
16935         * ParagraphParameters.h:
16936         * ParameterStruct.h: change type of depth to unsigned int ==
16937         depth_type. Many adaptations to other files before of that.
16938
16939 2001-06-24  The LyX Project  <Asger>
16940
16941         * Fix Qt compilation.
16942
16943 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16944
16945         * paragraph.h: renamed several methods to begin with small letter.
16946         several changes to many parts of the code because of this.
16947
16948 2001-06-23  The LyX Project  <jug@sad.it>
16949
16950         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16951         rewritten to discard all double spaces when KeepEmpty is off
16952         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16953         to only handle newlines but not fiddle with spaces and friends.
16954
16955         * lyxfunc.C (MenuNew): when doing 'new from template', use
16956         template_path as default directory
16957
16958 2001-06-23  The LyX Project  <Asger>
16959
16960         * Clean-up of header file includes all over
16961         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16962
16963 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16964
16965         * paragraph.h: renamed from lyxparagraph.h
16966
16967 2001-06-23  Asger  <lyx@violet.home.sad.it>
16968
16969         * Buffer.h: Removed Buffer::resize
16970         * BufferList.h: Removed BufferList::resize
16971         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16972         the document lazily when we change the width, or the font settings.
16973
16974 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16975
16976         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16977
16978 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16979
16980         * buffer.h: remove out of date comment
16981
16982 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16983
16984         * lyxscreen.h:
16985         * screen.C: fix "theoretical" GC leak
16986
16987 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16988
16989         * LaTeX.C (scanAuxFile):
16990         (deplog): remove trailing \r when reading stream (useful under
16991         win32)
16992
16993 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16994
16995         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16996         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16997         and BufferView::theLockingInset(Inset*), so should use them and not
16998         access bv_->text->the_locking_inset directly.
16999
17000         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17001
17002 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17003
17004         * Makefile.am:
17005         * tex-defs.h: remove old unused file
17006
17007 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17008
17009         * BufferView_pimpl.C: fix typo, remove minibuffer message
17010           when buffer has loaded
17011
17012 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17013
17014         * lyxfunc.C (Dispatch): use stringstream
17015         (MenuNew): use stringstream
17016         (Open): use stringstream
17017
17018         * importer.C (Import): use stringstream
17019
17020         * bufferview_funcs.C (CurrentState): use stringstream
17021
17022         * LaTeX.C (run): use stringstream
17023
17024         * BufferView_pimpl.C (savePosition): use stringstream
17025         (restorePosition): use stringstream
17026         (MenuInsertLyXFile): use stringstream
17027
17028 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17029
17030         * BufferView.C:
17031         * Bullet.C:
17032         * ColorHandler.C:
17033         * FontInfo.C:
17034         * FontLoader.C:
17035         * LColor.C:
17036         * LaTeXFeatures.C:
17037         * Painter.C:
17038         * gettext.C:
17039         * lyx_gui_misc.C:
17040         * lyxserver.C:
17041         * vspace.C: removed // -*- C++ -*- as first line.
17042
17043         * lyxfind.h:
17044         * version.h: added // -*- C++ -*- as first line.
17045
17046 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17047
17048         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17049
17050         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17051         of string
17052
17053 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17054
17055         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17056         of floats.
17057
17058 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17059
17060         * gettext.C: include LString.h even when --disable-nls is on.
17061
17062 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17063
17064         * converter.h (Get): changed argument type from int to
17065         FormatList::size_type to avoid unnecessary conversion.
17066
17067         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17068         before using it.
17069
17070 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17071
17072         * gettext.h: include LString.h even when --disable-nls is on.
17073
17074 2001-06-07  Juergen Vigna  <jug@sad.it>
17075
17076         * text.C (BreakAgain): subst spaces with tabs.
17077
17078         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17079         (resizeInsetsLyXText): set force on resizeLyXText.
17080
17081 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17082
17083         * gettext.h (gettext_init):
17084         (locale_init): use a real definition instead of a macro
17085
17086 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17087
17088         * Bufferview_pimpl.C:
17089         * LColor.h:
17090         * LColor.C: further lcolor tidies
17091
17092 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17093
17094         * BufferView_pimpl.C (updateScrollbar): simplify.
17095
17096         * BufferView2.C: don't include insets/insetinfo.h, change
17097         prototype for insertInset and call the Pimpl version. let
17098         updateInset call Pimpl version.
17099
17100         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17101         gotoInset to BufferView::Pimpl
17102
17103 2001-06-01  Juergen Vigna  <jug@sad.it>
17104
17105         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17106         inside a LockingInset (is the update needed at all?).
17107
17108 2001-05-31  Juergen Vigna  <jug@sad.it>
17109
17110         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17111         here not the old one otherwise how should we compare it afterwards
17112         if it's the same!
17113
17114 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17115
17116         * lyxfont.C:
17117         * tabular.C:
17118         * tabular-old.C:
17119         * FontInfo.C: bring C functions into global namespace when
17120         necessary
17121
17122 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17123
17124         * LString.h: make sure config.h has been loaded before LString.h.
17125
17126         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17127         (one for each char read by EatLine!).
17128
17129         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17130         variables.
17131
17132 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17133
17134         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17135         to the same as the par we break from
17136
17137 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17138
17139         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17140
17141         * MenuBackend.C (expand): also create menu entries for wide
17142         versions of the floats.
17143
17144         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17145
17146         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17147
17148         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17149         frontends/Makefile.am
17150
17151         * text2.C: adjust
17152         * text.C: adjust
17153
17154
17155         * tabular.C (getTokenValue): add std::
17156
17157         * tabular-old.C (getTokenValue): add std::
17158         (getTokenValue): ditto
17159         (getTokenValue): ditto
17160
17161         * screen.C (ToggleSelection): adjust
17162
17163         * lyxtext.h: put selection cursors inside a Selection struct.
17164
17165         * lyxfunc.C (moveCursorUpdate): adjust
17166
17167         * lyxfont.C (latexWriteStartChanges): add std::
17168
17169         * lyxfind.C: adjust
17170
17171         * font.h: delete with(char const *, LyXFont const &)
17172
17173         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17174
17175         * FontInfo.C (getFontname): add std::
17176
17177         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17178         (workAreaButtonPress): adjust
17179         (tripleClick): adjust
17180         (update): adjust
17181         (moveCursorUpdate): adjust
17182         (Dispatch): adjust
17183
17184         * BufferView2.C (gotoInset): adjust
17185
17186 2001-05-30  Juergen Vigna  <jug@sad.it>
17187
17188         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17189         to check pspell I add this as default as I now have new pspell
17190         libraries and they seem to use this.
17191
17192 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17193
17194         * text2.C (CutSelection): make the cursor valid before the call to
17195         ClearSelection.
17196
17197 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17198
17199         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17200         relied on 0 terminated strings and other horrors. Bug found due to
17201         the new assert in lyxstring!
17202
17203         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17204         KP_ keys.
17205
17206 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17207
17208         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17209         to latinkeys.bind.
17210
17211         * lyxfunc.C (processKeySym): change method of getting to the
17212         self-insert char.
17213
17214         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17215         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17216         * BufferView_pimpl.[Ch]: here as private methods.
17217
17218 2001-05-28  Juergen Vigna  <jug@sad.it>
17219
17220         * text.C (SetHeightOfRow): added the update() call again as it is
17221         needed to initialize inset dimensions!
17222
17223 2001-05-16  Juergen Vigna  <jug@sad.it>
17224
17225         * text2.C (SetCharFont): Add new function with BufferView * and
17226         bool toggleall parameters for setting insets internal fonts.
17227         (SetFont): Freeze the undo as we may change fonts in Insets and
17228         all this change should be inside only one Undo!
17229
17230         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17231         setting font's in insets as for them we have the SetFont function!
17232
17233 2001-05-15  Juergen Vigna  <jug@sad.it>
17234
17235         * text2.C (ClearSelection): to be sure we REALLY don't have any
17236         selection anymore!
17237
17238         * tabular.C (TeXCellPreamble): fixed the left border problem for
17239         multicolumn cells.
17240
17241 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17242
17243         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17244         dependancy file
17245
17246 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17247
17248         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17249         LFUN_BREAKPARAGRAPH.
17250
17251         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17252         help test to "internal only", similar for LFUN_INSERT_URL
17253
17254         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17255         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17256         auto_region_delete and deadkeys.
17257
17258 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17259
17260         * LColor.h:
17261         * LColor.C: remove some dead entries, tidy a little
17262
17263 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17264
17265         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17266         commented code.
17267         (Dispatch): implement LFUN_ESCAPE
17268
17269         * commandtags.h: add LFUN_ESCAPE
17270
17271         * LyXAction.C (init): add entry for LFUN_ESCAPE
17272
17273         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17274         Remove commented code.
17275         (insertNote): moved here
17276         (open_new_inset): moved here
17277
17278         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17279         BufferView_pimpl
17280
17281 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17282
17283         * kbmap.C (findbinding): clean it up and make it work correctly.
17284
17285         * lyx_main.C (init): do not pass argc and argv as parameters
17286
17287 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17288
17289         * buffer.C: fix path for OS/2 & Win32
17290
17291         * lyx_gui.C:
17292         * lyx_main:
17293         * lyx_main.C: Added os:: class.
17294
17295         * os2_defines.h: update
17296
17297 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17298
17299         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17300         better by trying again with reduced state.
17301
17302 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17303
17304         * lyxrc.C (read): print error about invalid key sequence only when
17305         debugging (because not all latinX keysyms are known to some X
17306         servers)
17307
17308         * kbsequence.C (getiso): add a few std:: qualifiers
17309         (getiso): comment out extra return statement.
17310
17311 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17312
17313         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17314         handling.
17315         (Dispatch): enhance the accent inset a bit. (not perfect)
17316
17317 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17318
17319         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17320
17321 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17322
17323         * bufferlist.C (emergencyWrite): fix assert() call
17324
17325 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17326
17327         * text.C (InsertChar): Added trivial patch to only send the "you
17328         can not do multiple spaces this way" message once during a
17329         session.
17330
17331 2001-05-08  Baruch Even  <baruch@lyx.org>
17332
17333         * Makefile.am: Changed order of libraries to get LyX to link properly
17334         with the gnome frontend.
17335
17336 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17337
17338         * LaTeXFeatures.h: add a std:: qualifier
17339
17340 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17341
17342         * paragraph.C (String): use stringstream
17343
17344 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17345
17346         * paragraph.C (writeFile): remove footflag arg
17347
17348         * buffer.C (makeLaTeXFile): use stringstream
17349         (latexParagraphs): remove footnot gurba
17350
17351         * LaTeXFeatures.C (getPackages): use stringstream
17352         (getMacros): likewise
17353         (getTClassPreamble): likewise
17354         (getFloatDefinitions): new method
17355
17356         * paragraph.C (writeFile): reindent
17357         (Erase): reindent
17358
17359         * WorkArea.h: revert the xpos + etc changes.
17360
17361         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17362
17363         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17364
17365         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17366         (pasteSelection): likewise
17367         * text2.C (CreateUndo): likewise
17368
17369 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17370
17371         * minibuffer.C (peek_event): temporarily reduce the functionality
17372         of the minibuffer (to allow args on lfuns)
17373
17374         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17375         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17376
17377         * buffer.C (readInset): add compability reading of old float
17378         lists, add reading of new style float list.
17379         (readInset): avoid reevaluation of inscmd.getCmdName()
17380         (getLists): reindent
17381
17382         * MenuBackend.C (MenuItem): implement parsing of
17383         md_floatlistinsert and md_floatinsert.
17384         (expand::LastFiles): move initalizaton of iterators out of loop,
17385         avoid reevaluation.
17386         (expand::Documents): introduce typdedef vector<string> Strings,
17387         and use it.
17388         (expand::ExportFormats): introduce typedef vector<Format const *>
17389         Formats, and use it.
17390         (expand): implement FloatListInsert and FloatInsert.
17391
17392         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17393         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17394         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17395
17396         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17397         handling.
17398         (Dispatch::LFUN_FLOAT_LIST): implement
17399
17400 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17401
17402         * LaTeX.C (run): Fix problem with --export code.
17403
17404 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17405
17406         * BufferView.[Ch] (workarea): removed.
17407         (getClipboard) new method; wrapper for workarea()->getClipboard()
17408
17409         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17410         bug.
17411
17412         * WorkArea.h (width, height, xpos, ypos): These methods all
17413         returned the dimensions of the work_area sub-area of WorkArea,
17414         resulting in a position error if the WorkArea were resized. Now
17415         return the dimensions of the entire WorkArea.
17416
17417         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17418
17419 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17420
17421         * LaTeX.C (deplog): correct the syntax of regex reg1
17422
17423 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17424
17425         * undo.C: remove !NEW_INSETS cruft
17426
17427 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17428
17429         * text2.C: remove !NEW_INSETS cruft
17430
17431         * text.C: remove !NEW_INSETS cruft
17432
17433         * tabular.C: remove !NEW_INSETS cruft
17434
17435         * spellchecker.C: remove !NEW_INSETS cruft
17436
17437         * lyxtext.h: remove !NEW_INSETS cruft
17438
17439         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17440
17441         * lyxfunc.C: remove !NEW_INSETS cruft
17442
17443         * lyxfind.C: remove !NEW_INSETS cruft
17444
17445         * lyx_cb.C: remove !NEW_INSETS cruft
17446
17447         * figureForm.C: remove  !NEW_INSETS cruft
17448
17449         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17450
17451         * buffer.[Ch]: remove !NEW_INSETS cruft
17452
17453         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17454
17455         * CutAndPaste.C: remove !NEW_INSETS cruft
17456
17457         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17458
17459         * BufferView2.C: remove !NEW_INSETS cruft
17460
17461         * BufferView.h: remove !NEW_INSETS cruft
17462
17463 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17464
17465         * Lsstream.h: include LString.h before the sstream headers to
17466         fix problem with gcc 2.95.3 and lyxstring
17467
17468 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17469
17470         * lyx_main.C: add using directives when needed for C functions
17471         declared in std:: namespace.
17472
17473 2001-04-27  Juergen Vigna  <jug@sad.it>
17474
17475         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17476         (SetHeightOfRow): comment out the update call should not be needed!
17477
17478 2001-04-13  Juergen Vigna  <jug@sad.it>
17479
17480         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17481         (LyXTabular): tried to minimize operator= operations (and realized
17482         hopfully Lars wish).
17483
17484 2001-04-27  Juergen Vigna  <jug@sad.it>
17485
17486         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17487
17488 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17489
17490         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17491
17492         * buffer.C (readInset): hack to make listof algorithm work
17493
17494         * BufferView_pimpl.C: hack to make listof algorithm work
17495
17496 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17497
17498         * LyXAction.C: removed all !NEW_INSETS cruft
17499         (init): moved lfun_item in method
17500
17501         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17502
17503 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17504
17505         * BufferView2.C (theLockingInset): white space.
17506
17507 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17508
17509         * minibuffer.C: include <iostream>
17510
17511         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17512
17513         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17514
17515         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17516
17517         * text.[Ch] (TransposeChars): new method
17518
17519 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17520
17521         * call message directly through LyXView instead of through LyXFunc
17522         * BufferView2.C: adjust
17523         * BufferView_pimpl.C: adjust
17524         * FontLoader.C: adjust
17525         * buffer.C: adjust
17526         * bufferview_funcs.C: adjust
17527         * converter.C: adjust
17528         * figureForm.C: adjust
17529         * importer.C: adjust
17530         * lyx_cb.C: adjust
17531         * lyx_gui_misc.C: adjust
17532         * lyxfunc.C: adjust
17533         * lyxvc.C: adjust
17534         * text2.C: adjust
17535         + more files in subdirs
17536
17537         * lyxparagraph.h (size): move up int file
17538         (GetLayout): ditto
17539
17540         * adjust all uses of Assert to lyx::Assert.
17541
17542         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17543         lyxfunctional in namespace lyx
17544         * layout.C (hasLayout): ditto
17545         (GetLayout): ditto
17546         (GetLayout): ditto
17547         (delete_layout): ditto
17548         (NumberOfClass): ditto
17549         * converter.C (GetFormat): ditto
17550         (GetNumber): ditto
17551         (Add): ditto
17552         (Delete): ditto
17553         (SetViewer): ditto
17554         * bufferlist.C (getFileNames): ditto
17555         (emergencyWriteAll): ditto
17556         (exists): ditto
17557         (getBuffer): ditto
17558         * MenuBackend.C (hasSubmenu): ditto
17559         (hasMenu): ditto
17560         (getMenu): ditto
17561         * BufferView_pimpl.C (getInsetByCode): ditto
17562
17563 2001-04-18  Juergen Vigna  <jug@sad.it>
17564
17565         * vspace.C (asLatexString): fixed the 100% problem.
17566
17567 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17568
17569         * lyxfunc.C (Dispatch):
17570         * minibuffer.C:
17571         * minibuffer.h: add a few std:: qualifiers
17572
17573 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17574
17575         * minibuffer.[Ch]: reimplement so that commands is initiated and
17576         run from lyxfunc, simplified som handling, and made the completion
17577         and history code for complete. wip.
17578
17579         * lyxfunc.C (processKeySym): call message
17580         (miniDispatch): new temporary method
17581         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17582         (LFUN_MESSAGE): implement
17583         (LFUN_MESSAGE_PUSH): implement
17584         (LFUN_MESSAGE_POP): implement
17585         (initMiniBuffer): the initial/defualt minibuffer message.
17586
17587         * lyxfont.[Ch]: inline some more getters
17588
17589         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17590
17591         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17592
17593         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17594         (AutoSave): use LFUN_MESSAGE
17595         (Reconfigure): ditto
17596
17597         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17598
17599         * figureForm.C: use LFUN_MESSAGE
17600
17601         * converter.C (runLaTeX): use LFUN_MESSAGE
17602
17603         * bufferview_funcs.C: use LFUN_MESSAGE
17604         (Melt): ditto
17605         (changeDepth): ditto
17606
17607         * bufferparams.h: use boost::
17608
17609         * bufferlist.h: inherit privately from noncopyable
17610
17611         * bufferlist.C (loadLyXFile): remove some commented code.
17612
17613         * buffer.C (runChktex): use LFUN_MESSAGE
17614
17615         * ShareContainer.h: inherit privately from noncopyable
17616
17617         * ParagraphParameters.[hC] (depth): inline it.
17618
17619         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17620         methods.
17621         (message): new method
17622         (messagePush): ditto
17623         (messagePop): ditto
17624         (show): init minibuffer
17625         (showState): direct call
17626
17627         * LaTeX.[Ch]: inherit privately from noncopyable
17628         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17629         instead of WriteStatus.
17630
17631         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17632
17633         * BufferView_pimpl.C (buffer): don't init minibuffer
17634         (workAreaButtonPress): use LFUN_MESSAGE
17635         (workAreaButtonRelease): ditto
17636         (savePosition): ditto
17637         (restorePosition): ditto
17638         (MenuInsertLyXFile): ditto
17639         (workAreaExpose): don't init minibuffer
17640         (update): remove commented code, simplify
17641
17642         * BufferView2.C (openStuff): use LFUN_MESSAGE
17643         (toggleFloat): ditto
17644         (menuUndo): ditto
17645         (menuRedo): ditto
17646         (copyEnvironment): ditto
17647         (pasteEnvironment): ditto
17648         (copy): ditto
17649         (cut): ditto
17650         (paste): ditto
17651         (gotoInset): ditto
17652         (updateInset): remove some commented code
17653
17654         * lastfiles.h: inherit privately from noncopyable
17655         * layout.h: ditto
17656         * lyx_gui.h: ditto
17657         * lyx_main.h: ditto
17658         * lyxlex.h: ditto
17659         * lyxlex_pimpl.h: ditto
17660
17661         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17662         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17663         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17664
17665         * LyXAction.h: inherit privately from noncopyable, add methods
17666         func_begin, func_end, returning iterators to the func map.
17667
17668         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17669         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17670         (func_begin): new method
17671         (func_end): new method
17672
17673         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17674         and not)
17675         (copySelection): ditto
17676         (pasteSelection): ditto
17677
17678         * BufferView.C: whitespace change
17679         * BufferView.h: inherit privately from noncopyable
17680
17681 2001-04-16  Allan Rae  <rae@lyx.org>
17682
17683         * tabular-old.C (l_getline):
17684         * spellchecker.C (sc_check_word):
17685         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17686         an unrecognised preprocessor directive.  So ensure they're wrapped.
17687
17688 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17689
17690         * src/exporter.C (Export): Give an error message when path to file
17691         contains spaces.
17692
17693 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17694
17695         * LaTeX.C (deplog): Always check that foundfile exists.
17696
17697 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17698
17699         * lyx_main.h:
17700         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17701
17702 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17703
17704         * tabular.[Ch] (getLabelList): implement new method
17705
17706         * minibuffer.h: comment ouf setTiimer
17707
17708         * minibuffer.C (ExecutingCB): constify res
17709         (peek_event): constify s
17710         (Set): constify ntext
17711         (Init): constify nicename
17712
17713         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17714
17715         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17716         (savePosition): use two params to Minibuffer::Set
17717         (restorePosition): ditto
17718
17719 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17720
17721         * lyx_main.C: include language.h
17722
17723         * Makefile.am (lyx_main.o): add language.h
17724
17725 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17726
17727         * exporter.C:
17728         * paragraph.C:
17729         * screen.C:
17730         * tabular.C:
17731         * CutAndPaste.C: include gettext.h
17732
17733         * lyxfont.h: remove old hack with ON and OFF.
17734
17735         * lyxparagraph.h:
17736         * lyxfont.h: do not include language.h...
17737
17738         * BufferView2.C:
17739         * LaTeXFeatures.C:
17740         * Painter.C:
17741         * bufferview_funcs.C:
17742         * font.C:
17743         * lyxfont.C:
17744         * text.C:
17745         * text2.C:
17746         * trans_mgr.C:
17747         * paragraph.C: ... but do it here instead
17748
17749 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17750
17751         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17752
17753         * tabular.C: small reformat
17754
17755         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17756         NEW_INSETS version
17757         (GetChar): ditto
17758         (BreakParagraph): ditto
17759         (SetOnlyLayout): ditto
17760         (SetLayout): ditto
17761
17762         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17763         with one arg less.
17764
17765         * lastfiles.C: removed most using decl, add std:: where needed
17766
17767         * buffer.C: ws changes
17768
17769         * MenuBackend.C (class compare_format): put into anon namespace
17770         (expand): constify label, names, action, action2
17771         (expand):
17772
17773         * text.C (SingleWidth): constify font
17774         (IsBoundary): constify rtl2
17775         (GetVisibleRow): constify ww
17776
17777         * LaTeX.C (deplog): constify logfile
17778
17779         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17780         start_x, end_x
17781         (workAreaExpose): constify widthChange, heightChange
17782
17783         * lyxrow.C (par): moved
17784         (height): moved
17785         (next): moved
17786         * lyxrow.h: as inlines here
17787
17788         * lyxfont.h (shape): moved from lyxfont.C
17789         (emph): moved from lyxfont.C
17790
17791         * lyxfont.C (LyXFont): use initialization list for all
17792         constructors
17793         (shape): move to lyxfont.h as inline
17794         (emph): move to lyxfont.h as inline
17795
17796
17797 2001-04-04  Juergen Vigna  <jug@sad.it>
17798
17799         * vspace.C: had to include stdio.h for use of sscanf
17800
17801 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17802
17803         * BufferView.h:
17804         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17805         independent of xforms.
17806
17807 2001-04-02  Juergen Vigna  <jug@sad.it>
17808
17809         * spellchecker.C: fixed namespace placing!
17810
17811 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17812
17813         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17814         the LyXParagraph * is 0.
17815
17816 2001-03-29  Juergen Vigna  <jug@sad.it>
17817
17818         * vspace.C: added support for %, c%, p%, l%.
17819         (stringFromUnit): added helper function.
17820         (asLatexString): changed to give right results for the %-values.
17821
17822         * buffer.C: convert the widthp in a width%.
17823
17824 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17825
17826         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17827         figureForm.[Ch].
17828
17829         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17830         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17831
17832         * lyx_cb.[Ch]: see above.
17833
17834         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17835         form1.[Ch].
17836
17837         * form1.[Ch]:
17838         * lyx.[Ch]: replaced by figure_form.[Ch].
17839
17840         * lyx_gui.C:
17841         * lyx_gui_misc.C:
17842         * lyxfunc.C: changed headers associated with above changes.
17843
17844 2001-03-27  Juergen Vigna  <jug@sad.it>
17845
17846         * BufferView_pimpl.C: set the temporary cursor right!
17847
17848 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17849
17850         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17851
17852 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17853
17854         * LString.h: removed "using std::getline"!
17855
17856         * BufferView_pimpl.C (Dispatch): changes due to changes in
17857         InsetInclude::Params.
17858
17859         * buffer.C (tag_name): removed redundant break statements as they were
17860         producing lots of warnings with my compiler.
17861
17862 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17863
17864         * LString.h: add "using std::getline" when using the real <string>.
17865
17866 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17867
17868         * buffer.C: removed bitset usage.
17869         PAR_TAG moved to an anonymous name space.
17870         (tag_name): new funtion, also in the anonymous namespace.
17871         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17872         (makeDocBookFile): clean code. Completed transition from string arrays
17873         to string vectors.
17874         (SimpleDocBookOnePar): code clean.
17875
17876 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17877
17878         * tabular.C: add some comments.
17879
17880 2001-03-22  Juergen Vigna  <jug@sad.it>
17881
17882         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17883         compatibility read a bit and fixed bug with minipage in different
17884         depth.
17885
17886 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17887
17888         * buffer.C (pop_tag): removed.
17889         (push_tag): removed.
17890         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17891         array replaced with vector. Added support for CDATA sections.
17892         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17893         at any nest level.
17894         (makeDocBookFile): XML conformant declaration of CDATA section,
17895         fixed bug related to <emphasis> in the first paragraph char.
17896         (sgmlOpenTag): exclude empty tags.
17897         (sgmlCloseTag): ditto.
17898
17899         * buffer.h (pop_tag): removed.
17900         (push_tag): removed.
17901
17902 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17903
17904         * language.h (Languages): added size_type and size().
17905
17906 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17907
17908         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17909         response on compability reading of minipages. One probliem is that
17910         the old usage of minipages was flertydig
17911
17912         * several files here and in subdirs: don't use static at file
17913         scope use anon namespaces instead.
17914
17915 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17916
17917         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17918         LaTeX output. This is necessary for Literate document
17919         processing.
17920
17921 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17922
17923         * buffer.C: insert hfill when needed.
17924
17925         * tabular.C (l_getline): use string::erase, small whitespace change.
17926
17927         * BufferView_pimpl.C: try the anon namespace.
17928         * WorkArea.C: ditto
17929
17930 2001-03-16  Juergen Vigna  <jug@sad.it>
17931
17932         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17933         otherwise it won't open options-dialogs.
17934
17935         * buffer.C: honor pextraWidth(p) on converting minipages.
17936
17937         * tabular.C (l_getline): changed the functions to strip trailing \r.
17938
17939 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17940
17941         * BufferView_pimpl.C:
17942         * minibuffer..C: added "using SigC::slot" declaration.
17943
17944 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17945
17946         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17947
17948         * text2.C: ditto
17949
17950         * text.C: ditto
17951
17952         * paragraph.C: ditto
17953
17954         * lyxtext.h: NO_PEXTRA
17955
17956         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17957
17958         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17959         * ParameterStruct.h: ditto
17960         * ParagraphParameters.h: ditto
17961         * lyxparagraph.h: ditto
17962
17963 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17964
17965         * buffer.C: add compability for minipage alignment.
17966         (latexParagraphs): remove unwanted pextra check.
17967
17968         * several files: remove CXX_WORKING_NAMESPACES
17969
17970         * buffer.C (pop_tag): tie is in namespace boost
17971
17972         * BufferView.h: noncopyable is in namespace boost
17973         * lyxlex.h: ditto
17974         * lyx_main.h: ditto
17975         * lyx_gui.h: ditto
17976         * layout.h: ditto
17977         * lastfiles.h: ditto
17978         * bufferlist.h: ditto
17979         * ShareContainer.h: ditto
17980         * LyXView.h: ditto
17981         * LyXAction.h: ditto
17982         * LaTeX.h: ditto
17983
17984 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17985
17986         * Merging changes from BRANCH_MVC back into HEAD.
17987
17988         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17989
17990 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17991
17992         * BufferView_pimpl.C: change from intl.C
17993
17994         * combox.h:
17995         * combox.C:
17996         * Makefile.am: move combox.*
17997
17998         * form1.h:
17999         * form1.C:
18000         * lyx_gui.C:
18001         * intl.h:
18002         * intl.C: remove dialog (covered by prefs)
18003
18004 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18005
18006         * lyxfunc.C (Dispatch): removed redundant break statement.
18007
18008 2001-03-14  Juergen Vigna  <jug@sad.it>
18009
18010         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18011
18012 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18013
18014         * buffer.C: add hack to fix compability reading of minipages.
18015
18016 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18017
18018         * buffer.C (getLists): Cleanup.
18019
18020 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18021
18022         * lyxfont.C (update): don't honor toggleall on font size.
18023
18024 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18025
18026         * bmtable.c:
18027         * bmtable.h:
18028         * Makefile.am: moved to frontends/xforms/
18029
18030         * lyx_gui_misc.C:
18031         * lyxfunc.C:
18032         * BufferView_pimpl.C: changes for moved mathpanel
18033
18034 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18035
18036         * gettext.h: fix gettext_init() in --disable-nls
18037
18038 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18039
18040         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18041
18042 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18043
18044         * lyx.C:
18045         * lyx.h: strip external form
18046
18047 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18048
18049         * BufferView_pimpl.C: add comment, destroySplash()
18050
18051 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18052
18053         * BufferView_pimpl.C:
18054         * LyXAction.C:
18055         * buffer.C:
18056         * commandtags.h:
18057         * lyxfunc.C: use re-worked insetinclude
18058
18059 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18060
18061         * buffer.C: add using std::stringstream.
18062
18063         * lyx_cb.C: readd using std::ios.
18064
18065         * buffer.C: add using std::map.
18066
18067         * BufferView_pimpl.C: add using std::vector.
18068
18069         * ShareContainer.h: add std:: to swap.
18070
18071         * buffer.h: add some typedefs
18072         * buffer.C (getLists): use them
18073         (getLists): renamed from getTocList.
18074         add a counter for the different float types and use it in the
18075         generated string.
18076         (getLists): use the same counter for the NEW_INSETS and the "non"
18077         NEW_INSETS
18078
18079         * lyx_cb.h: remove unused items, includes, using etc.
18080
18081         * ShareContainer.h: remove some commented code, add more comments
18082         and "documentation".
18083
18084 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18085
18086         * buffer.C (getTocList): make the list also when NEW_INSETS is
18087         defined.
18088
18089         * buffer.h: remove TocType
18090
18091         * buffer.C (getTocList): change to return a map<string,
18092         vector<TocItem> >, implement for dynamic number of list.
18093
18094         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18095         * text2.C (PasteSelection): adjust
18096         * CutAndPaste.C (pasteSelection): adjust
18097
18098         * FloatList.C (FloatList): update from the new_insets branch.
18099         * Floating.[Ch]: ditto
18100         * LaTeXFeatures.C: ditto
18101         * buffer.C: ditto
18102         * lyxlex_pimpl.C: ditto
18103
18104         * paragraph.C (Last): remove when NEW_INSETS is defined.
18105
18106         * other file: changes because of the above.
18107
18108 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18109
18110         * lyxparagraph.h: rename next to next_, previous to previous_,
18111         make them private for NEW_INSETS. Rename Next() to next(),
18112         Previous() to previous().
18113
18114         * other files: changes because of the above.
18115
18116 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18117
18118         * BufferView.h:
18119         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18120         problem.
18121
18122 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18123
18124         * main.C (main): pass lyx_localedir to gettext_init().
18125
18126         * gettext.h: remove locale_init and gettext_init macros
18127
18128         * gettext.C (locale_init): new function
18129         (gettext_init): new function
18130
18131         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18132         setlocale().
18133
18134 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18135
18136         * Moved credits to frontends:
18137         * credits.[Ch]: removed
18138         * credits_form.[Ch]: removed
18139         * lyx_gui_misc.C: remove credits stuff
18140         * Makefile.am:
18141
18142 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18143
18144         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18145
18146         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18147         unneeded destructor.
18148
18149         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18150         a standalone pointer again.
18151
18152         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18153
18154 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18155
18156         * Makefile.am:
18157         * filedlg.h:
18158         * filedlg.C:
18159         * LyXAction.C:
18160         * ToolbarDefaults.C:
18161         * bufferlist.C:
18162         * commandtags.h:
18163         * form1.C:
18164         * form1.h:
18165         * lyx_cb.C:
18166         * lyx_cb.h:
18167         * lyxfunc.h:
18168         * lyxfunc.C:
18169         * BufferView_pimpl.C: use new file dialog in GUII
18170
18171         * lyx_cb.h:
18172         * lyx_cb.C: remove LayoutsCB to Toolbar
18173
18174 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18175
18176         * ShareContainer.h (get): add std:: qualifier
18177
18178 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18179
18180         * ShareContainer.h: define a proper ShareContainer::value_type
18181         type (and use typename to please compaq cxx)
18182
18183 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18184
18185         * lyxparagraph.h: move serveral local vars to
18186         ParameterStruct/ParagraphParameters., use ShareContainer in
18187         FontTable., make vars in FontTable private and add getter and
18188         setter.
18189
18190         * paragraph.C: changes because of the above.
18191
18192         * lyxfont.h: remove copy constructor and copy assignment. (the
18193         default ones is ok), move number inside FontBits. move inlines to
18194         lyxfont.C
18195
18196         * lyxfont.C: add number to initializaton of statics, move several
18197         inlines here. constify several local vars. some whitespace
18198         cleanup. Dont hide outerscope variables.
18199
18200         * Spacing.h: add two new constructors to match the set methods.
18201
18202         * ShareContainer.h: new file, will perhaps be moved to support
18203
18204         * ParameterStruct.h: new file
18205
18206         * ParagraphParameters.h: new file
18207
18208         * ParagraphParameters.C: new file
18209
18210         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18211         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18212
18213         * BufferView_pimpl.C: ParagraphParameter changes.
18214         * buffer.C: Likewise.
18215         * bufferview_funcs.C: Likewise.
18216         * text.C: Likewise.
18217         * text2.C: Likewise.
18218
18219 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18220
18221         * lyxfind.C (LyXReplace): do not redefine default argument in
18222         implementation.
18223         (IsStringInText): ditto
18224         (SearchForward): ditto
18225         (SearchBackward): ditto
18226
18227 2001-03-06  Juergen Vigna  <jug@sad.it>
18228
18229         * lyxfind.C (IsStringInText): put parentes around expressions.
18230
18231 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18232
18233         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18234
18235 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18236
18237         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18238
18239         * stl_string_fwd.h: add comment
18240
18241         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18242
18243         * tabular.h:
18244         * tabular.C: remove unused DocBook methods
18245
18246         * intl.C:
18247         * language.C:
18248         * paragraph.C:
18249         * buffer.C:
18250         killed DO_USE_DEFAULT_LANGUAGE
18251
18252 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18253
18254         * lyx_gui.C: do not include language.h.
18255
18256         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18257         arguments in function implementation.
18258
18259 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18260
18261         * BufferView_pimpl.C: add <ctime>
18262
18263 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18264
18265         * BufferView_pimpl.C: add using std::find_if
18266
18267 2001-02-27  José Matos  <jamatos@fep.up.pt>
18268
18269         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18270         by OnlyPath.
18271
18272 2001-02-11  José Matos  <jamatos@fep.up.pt>
18273
18274         * buffer.C (makeDocBookFile): command styles now have a parameter as
18275         "title" by default.
18276
18277 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18278
18279         * layout_forms.[Ch]: removed
18280         * lyx_cb.[Ch]: out character
18281         * lyx_gui.C: out character
18282         * lyx_gui_misc.C: out character
18283         * bufferview_funcs.C: : out character,
18284         added toggleall as parameter in ToggleAndShow
18285
18286 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18287
18288         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18289
18290         * text2.C (SetCurrentFont): Disable number property at boundary.
18291
18292 2001-02-26  Juergen Vigna  <jug@sad.it>
18293
18294         * lyxfunc.C (getStatus): added a string argument override function so
18295         that this is correctly called from LyXFunc::Dispatch if it contains a
18296         do_not_use_argument which is used!
18297         (Dispatch): added check for "custom" export and call appropriate func.
18298
18299 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18300
18301         * lyxrc.C: Add language_command_local, language_use_babel and
18302         language_global_options.
18303
18304         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18305
18306         * buffer.C (makeLaTeXFile): Use language_use_babel and
18307         language_global_options.
18308
18309 2001-02-23  Juergen Vigna  <jug@sad.it>
18310
18311         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18312         which works with LyXText and putted it inside BufferView. Here now we
18313         only call for that part the BufferView::Dispatch() function.
18314
18315         * BufferView.C (Dispatch): added.
18316
18317         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18318         functions which needs to use a LyXText over from LyXFunc.
18319         (MenuInsertLyXFile): added
18320         (getInsetByCode): added
18321         (moveCursorUpdate): added
18322         (static TEXT): added
18323
18324 2001-02-22  Juergen Vigna  <jug@sad.it>
18325
18326         * BufferView_pimpl.C (update): call a status update to see if LyXText
18327         needs it.
18328
18329 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18330
18331         * vc-backend.C (revert): implement for CVS
18332         (getLog): implement for CVS
18333
18334 2001-02-20  Juergen Vigna  <jug@sad.it>
18335
18336         * text2.C (ClearSelection): added BufferView param for inset_owner call
18337
18338         * lyxfunc.C (TEXT): added this function and use it instead of
18339         directly owner->view()-text of getLyXText().
18340
18341 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18342
18343         * src/layout_forms.C: out preamble
18344         * src/layout_forms.h: out preamble
18345         * src/lyx_cb.C: out preamble
18346         * src/lyx_cb.h: out preamble
18347         * src/lyx_gui.C: out preamble
18348         * src/lyx_gui_misc.C: out preamble
18349         * src/lyxfunc.C: connect with guii preamble
18350
18351 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18352
18353         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18354
18355 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18356
18357         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18358         whether to run bibtex.
18359
18360 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18361
18362         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18363
18364 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18365
18366         * Makefile.am (lyx_SOURCES): removed bibforms.h
18367
18368         * vspace.h: doxygen
18369
18370         * text.C (GetVisibleRow): make several local vars const
18371
18372         * tabular.C: small cleanup.
18373
18374         * lyxserver.C (callback): use compare instead of strncmp
18375
18376         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18377         inlines to after class or to paragraph.C
18378
18379         * lyxfont.h: remove friend operator!=
18380
18381         * converter.h: move friend bool operator< to non friend and after
18382         class def.
18383
18384         * combox.h: small cleanup
18385
18386         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18387         to inlines after class def.
18388
18389         * buffer.C (pop_tag): use string operations instead of strcmp
18390
18391         * bmtable.c: doxygen, small cleanup
18392
18393         * LaTeX.h: remove friend operator==
18394
18395 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18396
18397         * screen.C:
18398         * lyxrc.[Ch]:
18399         * lyxfunc.C:
18400         * lyxfont.[Ch]:
18401         * lyx_cb.C:
18402         * intl.[Ch]:
18403         * commandtags.h:
18404         * buffer.C:
18405         * WorkArea.[Ch]:
18406         * LyXAction.C:
18407         * BufferView_pimpl.C:
18408         * BufferView.[Ch]: remove cruft
18409
18410 2001-02-14  Juergen Vigna  <jug@sad.it>
18411
18412         * lyxfunc.C: removed #if 0 unused code
18413
18414         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18415
18416         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18417
18418         * text2.C (SetSelection): added a BufferView * parameter
18419
18420 2001-02-13  Juergen Vigna  <jug@sad.it>
18421
18422         * lyxfunc.C (Dispatch): fixed protected blank problem.
18423         * BufferView2.C (protectedBlank): added LyxText * parameter.
18424
18425         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18426         (AppendColumn): same as above for column_info.
18427
18428         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18429         (moveCursorUpdate): use a LyXText param for support of InsetText.
18430
18431         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18432         (tripleClick): ditto
18433
18434         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18435
18436         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18437
18438         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18439
18440         * text2.C (SetSelection): set correct update status if inset_owner
18441         (ToggleFree): ditto
18442
18443 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18444
18445         * tabular.C: remove some commented code.
18446
18447 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18448
18449         * BufferView_pimpl.C: call hideSplash()
18450
18451         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18452
18453         * include_form.h:
18454         * bibforms.h: remove
18455
18456         * lyxfunc.C:
18457         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18458           add LFUN_CHILD_CREATE
18459
18460         * counters.h: fix tiny typo
18461
18462         * lyx_cb.C:
18463         * lyx.h:
18464         * lyx_gui.C:
18465         * lyx.C: move splash to frontends/xforms/
18466
18467         * lyx_gui_misc.C: move Include and Bibform to frontends
18468
18469         * lyxvc.h: clarify comment
18470
18471         * vspace.C: tiny housekeeping
18472
18473 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18474
18475         * text.C (PrepareToPrint): RTL Fix.
18476
18477         * paragraph.C (GetUChar): New method.
18478         (String):  Use GetUChar.
18479
18480         * buffer.C (asciiParagraph): Use GetUChar.
18481
18482 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18483
18484         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18485
18486 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18487
18488         * buffer.h:
18489         * buffer.C: rename to getLogName(), handle
18490           build log / latex log nicely
18491
18492 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18493
18494         * MenuBackend.C:
18495         * MenuBackend.h: remove support for reference menuitem type.
18496
18497 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18498
18499         * BufferView_pimpl.C: housekeeping
18500         * BufferView_pimpl.h:
18501         * LyXView.h:
18502         * Makefile.am:
18503         * Timeout.C:
18504         * Timeout.h:
18505         * minibuffer.h: move Timeout GUI-I
18506
18507 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18508
18509         * lyxrc.C (read): Update converters data-structures.
18510
18511 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18512
18513         * LaTeX.h (operator!=): add operator != for Aux_Info
18514
18515 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18516
18517         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18518
18519         * LaTeXLog.C: deleted, useful code moved to Buffer
18520
18521         * buffer.h:
18522         * buffer.C: new function getLatexLogName()
18523
18524         * lyx_gui_misc.C:
18525         * lyx_gui.C:
18526         * lyxvc.C:
18527         * lyxvc.h:
18528         * lyxfunc.C: use frontends for LaTeX and VC logs
18529
18530 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18531
18532         * LaTeX.h: yet another std:: that Allan forgot.
18533
18534         * Variables.C (set): renamed from isset(), because this clashes
18535         with some HP-UX macros (grr).
18536
18537 2001-02-06  Allan Rae  <rae@lyx.org>
18538
18539         * LaTeX.h: Another bug fix.  Missing std:: this time.
18540
18541 2001-02-04  Allan Rae  <rae@lyx.org>
18542
18543         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18544         floats problem. I've left it commented out because it's not quite
18545         correct.  It should also test that the current object is a table or
18546         figure inset.  But I haven't gotten around to figuring out how to do
18547         that.  I *think* it'll be something like: "table" == inset.type()
18548
18549         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18550         bool.
18551
18552 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18553
18554         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18555         all the citation/databases/styles in the auxilary file.
18556         (run): Rerun latex if there was a babel language error.
18557
18558 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18559
18560         * text.C (Backspace): Preserve the font when changing newline char
18561         with a space.
18562         (BreakParagraph): If the cursor is before a space, delete the space.
18563
18564         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18565
18566 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18567
18568         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18569         new argument (code).
18570         (ChangeCitationsIfUnique): New method.
18571
18572         * paragraph.C (GetPositionOfInset): Handle bibkey.
18573
18574 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18575
18576         * BufferView_pimpl.h: change type of Position::par_pos to
18577         LyXParagraph::size_type.
18578
18579 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18580
18581         * BufferView_pimpl.C (savePosition, restorePosition): Write
18582         messages to minibuffer.
18583
18584 2001-01-28  José Matos  <jamatos@fep.up.pt>
18585
18586         * buffer.C (makeDocBookFile): adds support for document language.
18587         A silly restriction on the name of LatexCommand types where removed.
18588         Added support for CDATA sections, allows to chars unescaped, used
18589         among others in code, to avoid escape < and >.
18590
18591 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18592
18593         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18594         saved positions instrad of a stack. Furthermore, a position is
18595         stored using paragraph id/paragraph position.
18596
18597         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18598         Remove LFUN_REF_BACK.
18599
18600 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18601
18602         * converter.C (dvipdfm_options): New method.
18603
18604 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18605
18606         * vspace.C (isValidLength): Fix for empty input string.
18607
18608 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18609
18610         * LyXAction.C (init): change description of LFUN_FIGURE to
18611         "Insert Graphics"
18612
18613 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18614
18615         * LaTeX.C: add using directive
18616
18617 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18618
18619         * MenuBackend.C (expand): Fix the sorting of the formats.
18620
18621 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18622
18623         * lyx_main.C: tiny error message fix
18624
18625 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18626
18627         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18628         calling fl_initialize(). This fixes the problem with ',' as
18629         decimal separator in text files.
18630
18631 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18632
18633         * trans.C (process): Fix the keymap bug.
18634
18635 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18636
18637         * LaTeX.C (scanAuxFiles): New method. Provides support for
18638         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18639         (scanLogFile) Scan for "run BibTeX" messages.
18640
18641         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18642         OT1 font encoding. Also, load the aecompl package if the ae
18643         package is loaded.
18644
18645         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18646
18647 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18648
18649         * texrow.C (increasePos): turn two error messages into debug
18650         messages.
18651
18652 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18653
18654         * LaTeX.C (scanAux): Handle the \@input macro.
18655         (runBibTeX): Use scanAux().
18656
18657         * language.C (latex_options_): New field.
18658
18659         * LaTeXFeatures.C (getMacros): Add language macros.
18660
18661         * buffer.C (makeLaTeXFile): Small fix.
18662
18663 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18664
18665         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18666
18667         * text2.C: add a using directive.
18668
18669 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18670
18671         * BufferView2.C:
18672         * lyx_gui_misc.h:
18673         * lyxfr1.C:
18674         * lyxfunc.C: kill LyXBell.
18675
18676 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18677
18678         * text.C (IsBoundary): Remove the error message
18679
18680         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18681
18682         * lyxrc.C (setDefaults): Correct initialization value for
18683         font_norm_type.
18684
18685 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18686
18687         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18688         gotoError().
18689
18690         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18691         and GotoNextNote().
18692
18693         * src/LyXAction.C: Added reference-next.
18694
18695         * text.C (InsertChar): Use contains instead of strchr.
18696
18697         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18698
18699 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18700
18701         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18702         alignment commands (when needed).
18703
18704         * text.C (InsertChar): Add ':' to number separator chars.