]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Continue to improve GtkLengthEntry
[lyx.git] / src / ChangeLog
1 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text2.C (setCharFont): take inset's own font settings into account
4         when defining the font to reduce to, fixes 2019
5
6 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * bufferview_funcs.C (coordOffset): remove the check for
9         collapsed collapsables (fix for bug 2094). This is now done
10         on a more general level (cursor.C).
11
12         * dociterator.[Ch] (forwardPos): add an optional argument
13         bool "ignorecollapsed" (default false), which lets forwardPos
14         skip collapsed insets.
15
16         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
17         (fixes bug 2241 and 2094).
18
19 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
20
21         * buffer.C: change tracking (dvipost) doesn't require
22         color.sty anymore.
23
24         * LaTeXFeatures.C (getPackages): no need for the color
25         option "usenames" (bug 2169).
26
27 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
28         * buffer_funcs.C: Trivial fix - added {} around
29         the statements to be affected by a if-test. Now
30         label in a minipage in a float looks ok on screen again.
31
32 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * text2.C: fix bug 2015: on screen fonts in nested environments 
35         can be wrong
36
37 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
38
39         * converter.C (convert): handle unknown formats
40
41 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * cursor.C (goUpDown): comment out some debug messages.
44
45         * counters.C (newCounter): make error messages more explicit
46         (these appear with some textclasses like beamer)
47
48 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * kbmap.C (defkey): 
51         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
52         have origin set to KEYBOARD. (bug 2221)
53
54 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * rowpainter.C (isCursorOnRow): do not exclude endpos().
57
58 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * cursor.C (macroModeClose): returns true if an inset actually got
61         inserted; revert faulty fix to bug 2034.
62
63 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * tabular.C (getLabelList): remove (not used anymore).
66
67 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * outputparams.[Ch]: add new flag inComment
70
71 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * text2.C (deleteEmptyParagraphMechanism): since we delete a
74         paragraph, recordUndo should span two paragraphs (bug 2155).
75
76 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * rowpainter.C (paintPar): always repaint the row with the
79         cursor in it
80
81 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
82
83         * MenuBackend.h: 
84         * bufferlist.h: 
85         * lyxtext.h: 
86         * paragraph.h:
87         * vspace.h: fix syntax error
88
89 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
90
91         * text3.C (dispatch): Force refresh if typing into inset changes its
92                               metrics
93
94 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
95
96         * RowList_fwd.h:
97         * paragraph.C:
98         * paragraph.h:
99         * rowpainter.C: Speed up rendering by only re-painting rows that
100         have changed. When selection or whole-screen update active, all rows
101         are repainted, as are all rows within insets.
102
103 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * version.C.in: Use PACKAGE_VERSION instead of VERSION
106
107 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * tabular.C (toggleFixedWidth): Use default layout of text class
110         instead of hardcoded "Standard"
111
112 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * lyxfunc.C (dispatch): do not call getStatus again to determine
115         whether a lfun is disabled (bug 2172).
116
117 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * cursor.C (macroModeClose): set the cursor inside the new math
120         atom if relevant (think \frac{}{}) (bug 2034)
121
122 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
123
124         * lyxtext.h:
125         * text.C:
126         * text3.C (Delete, backspace): force update when merging paragraphs
127
128 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * BufferView.C (mouseSetCursor): clear the selection properly (bug
131         2163). 
132
133 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * text.C (redoParagraph): honor inset->noFontChange()
136         * rowpainter.C (paintInset): ditto
137
138 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * lyx_main.C (priv_exec): don't initialize Math on startup 
141         (initMath() has been moved to math_hullinset).
142
143 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
146         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
147         * paper.h: dispose dead PAPER_PACKAGES enum.
148
149 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
152         without X support.
153
154 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
155
156         * exporter.C (Export): Don't try to copy a file if it does not exist
157         (bug 1888)
158
159 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * text2.C (makeFontEntriesLayoutSpecific): remove.
162         (setLayout): adapt.
163
164         * text.C (insertChar): remove bogus caching of fonts (did not do
165         anything). 
166
167         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
168         ALL_SANE). (bug 2146)
169
170 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * rowpainter.C (paintFirst): fix centering of
173         LABEL_CENTERED_TOP_ENVIRONMENT. 
174
175 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * BufferView.C (mouseSetCursor): new method. Calls
178         deleteEmptyParagraphMechanism if necessary.
179
180         * lyxtext.h: make deleteEmptyParagraphMechanism public.
181
182         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
183         BufferView::mouseSetCursor (bug 2109).
184         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
185
186 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
187
188         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
189         do not remove it (this inset behaves differently from the others).
190
191 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         Fix bug 2096.
194         
195         * BufferView_pimpl.C (getStatus): it is only possible to insert a
196         file in a text inset.
197
198         * buffer.C (readDocument): remove pit argument and code releated
199         to it; set the inset owner correctly (unrelated, but useful).
200         (readFile): get rid of pit argument.
201
202         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
203         textclass instead of a selection index.
204         (pasteParagraphList): new function.
205         (pasteSelection): make it a wrapper around pasteParagraphList.
206
207         * BufferView_pimpl.C (MenuInsertLyXFile): use
208         cap::pasteParagraphList to insert a file.
209
210 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
213
214 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
215
216         * exporter.C: fix typo in text message
217
218 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
219
220         * text2.C (setLayout): move recUndo call to other setLayout method
221         * tabular.C (toggleFixedWidth): new, handle cell width changes
222         * tabular.C (setColumnPWidth): move some code from insettabular.C here
223         and use toggleFixedWidth
224         * tabular.C (setMColumnPWidth): ditto
225
226 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
227
228         * paragraph.C (asString): use new inset->textString method (fix
229         bug 2089) 
230
231 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * CutAndPaste.C (numberOfSelections): new helper function.
234
235         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
236
237         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
238         LyXFunc::getStatus; implement LFUN_PASTE.
239
240 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * dociterator.[Ch]: new member realInset() that returns the cell
243         for tabulars and the inset for the rest (bug 1952).
244         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
245         (bug 1952).
246
247 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
250
251 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
252
253         * lyxfunc.C:
254         * paragraph.C:
255         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
256         argument.
257
258 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
261         line after typing ctrl-enter
262
263 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
264
265         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
266         math insets do not return a proper editable() state yet (bug 2124).
267
268 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
271         docs containing very large paragraphs.
272
273 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * cursor.C (selectionBegin, selectionEnd):
276         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
277         cursor at different depths.
278
279 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
280
281         * bufferview_funcs.C (coordOffset): do not call cursorPos
282         for collapsed collapsables (fix bug 2094).
283
284 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * paragraph.C (fontSpan): make sure that the FontSpan does not
287         span across beginOfBody (bug 1947).
288
289 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
292
293 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
294
295         * messages.C: fix crash and localization on MinGW/Windows platform
296
297 2005-11-02  Angus Leeming  <leeming@lyx.org>
298
299         * Bidi.C:
300         * lyxtextclass.C: trivial fixes to some MSVS warnings.
301
302 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * text3.C (getStatus): re-enable disabled code. (bug 2081)
305
306         * BranchList.h (empty): constify.
307
308 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * text3.C (getStatus): 
311         * MenuBackend.C (expandBranches): take the branch list from the
312         master document (bug 2092).
313         
314         * MenuBackend.C (expandBranches): 
315         * bufferparams.C (writeFile): use BranchList type.
316
317 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * text3.C (dispatch, getStatus): 
320         * LyXAction.C (init): 
321         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
322
323 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
326
327 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * text.C (insertChar): do not reset boundary (bug 2061)
330
331 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * dociterator.C (updateInsets): new method. Updates the inset_
334         cache of all the slices of the iterator.
335
336         * text2.C (deleteEmptyParagraphMechanism): compare also containing
337         insets when comparing pit/pos; pass the right cursor to
338         recordUndo; when a paragraph has been deleted, compare `old.top()' to
339         the right cursor slice of `cur'; use updateInsets on cur to make
340         sure that the inset caches are correct; general cleanup.
341
342 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
345         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
346         containg inset. If this does not work, the same command will be
347         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
348
349         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
350         a dispatch.
351
352 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * lyxtextclass.C (Read): convert layout file if the format is wrong
355         * lyxtextclass.C (layout2layout): new, needed for the above
356
357 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * messages.C: do not forget to include <cerrno>.
360
361 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
362
363         * dociterator.h (StableDocIterator): add access to pos().
364         * undo.C (samePar): new method to check if two
365         iterators are in the same paragraph
366         * undo.C (recordUndo): check for samePar instead of cell identity
367         (which includes pos() and is too strict) (fixes bug 2097)
368
369 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * text.C (setCursorFromCoordinates): return a bool telling whether
372         dEPM triggered.
373
374         * text3.C (cursorPrevious): update if needed after
375         setCursorFromCoordinates (when dEPM triggered).
376
377         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
378         (otherwise the anchor may be completely wrong and make dEPM assert).
379
380 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
381
382         * buffer.C: version upgrade to 245.
383         * bufferparams.C: remove \quotes_times (bug 2090).
384         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
385         quotation marks as default.
386
387 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
388
389         * CutAndPaste.C (nrOfParagraphs): remove (unused)
390         * CutAndPaste.C (cutSelection): Remove debug message
391         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
392         undo information and only copy if this is a real cut
393         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
394         call
395         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
396         (bug 2059)
397         * CutAndPaste.C (eraseSelection): prevent cursor corruption
398         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
399         superflous cur.selection() setting
400         * CutAndPaste.[Ch] (grabSelection): take a const cursor
401         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
402
403 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
404
405         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
406         change anything.
407
408 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * BufferView_pimpl.C: comment layout change
411
412 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
413
414         * LyXAction.C:
415         * lfuns.h:
416         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
417         by bibliography managers (bug 2071).
418
419 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
420
421         * BufferView_pimpl.C (update): choose arguments to update call so
422         that single-par update works most times
423         * text3.C (dispatch): carefully tune updating separately for
424         whole-screen and current-paragraph
425         * rowpainter.C (paintText): 1) replace painting by caching for
426         the two extra paragraphs, because we can;
427         2) suppress greying out of areas below/above drawn area in case of
428         single-par refresh
429         * lyxfunc.C (dispatch): remove superfluous update
430         * LyXAction.[Ch]: introduce SingleParUpdate
431
432 2005-10-05  Angus Leeming  <leeming@lyx.org>
433
434         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
435         always initialised before use.
436
437         * text.C (setHeightOfRow): squash warning about comparison
438         of signed and unsigned types.
439
440 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
441
442         * text.C (cursorX): two fixes involving RtL text drawing
443
444 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
447         items, not only large ones (part of bug 2057)
448
449 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
450
451         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
452         argument, use "newcommand".
453
454 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
455
456         * cursor.C (setSelection): do not open collapsable insets;
457         the insets do by themselves now (autoopen).
458
459 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
460
461         * buffer.C: format is up to 244.
462
463 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
464
465         * text.C (redoParagraph): fix calcultation of inset width wrt 
466         leftMargin (bug 1957).
467
468         * text3.C (dispatch): leave inset to the right when hitting ESC 
469         (bug 2034).
470
471 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * text2.C: 
474         * text.C: 
475         * factory.C:
476         * messages.C: include <boost/current_function.hpp> 
477
478 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
481         when command is internal. (bug 1941)
482
483 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * text2.C (cursorRight): do not honor boundary when at the end of
486         a paragraph. (bug 2010 again)
487
488 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
491
492 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
493
494         * rowpainter.C (paintText): fix RtL space width display bug (2029)
495
496 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * text2.C (setCursor): remove the unused 'boundary' parameter for
499         the CursorSlice version; adapt the LCursor version.
500
501         * lyxrc.C (write): 
502         * paragraph_pimpl.C (markErased): 
503         * cursor.C (bruteFind2, bruteFond3): fix warnings.
504
505 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
508         as is already done for "chapter".
509
510 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
513         textclass; do not record undo if nothing is changed.
514
515 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
518
519 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
520
521         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
522
523 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
526         combox, it is necessary to search for the topmost paragraph in the
527         cursor stack (bug 1926)
528
529 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
532         end of paragraph. (bug 2010)
533
534 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
535
536         * text.C (leftMargin): check for inInset == 0
537
538 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
539
540         * text.C (leftMargin): test for insetbase's new neverIndent()
541         bool instead of listing each and every inset that does not
542         wish par indendation.
543
544 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * buffer_funcs.C (setCounter): put the code to compute enum label
547         here (where it belongs).
548
549         * counters.C (enumLabel): move code to buffer_funcs.C.
550
551 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * outputparams.[Ch]: store local_font instead of local_language
554         * paragraph.C (simpleTeXOnePar): adapt to the change above
555
556 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
557
558         * buffer_funcs.C:
559         * counters.[Ch]: clean up special code for Hebrew.
560
561 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
564         than 2.
565
566 2005-09-08  Angus Leeming  <leeming@lyx.org>
567
568         * ispell.C:
569         * lyxrc.C: correct grammar describing invocation of the
570         spellchecker.
571
572 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * text.C (read): remove unused variable.
575         (readParToken): remove static Change variable (never good in
576         recursive settings...); add it as a parameter instead.
577
578         * paragraph_pimpl.C (acceptChange): make debug info conditional.
579
580         * metricsinfo.C (PainterInfo): add new member erased_.
581
582         * rowpainter.C (RowPainter): add erased_ member, initialized from
583         PainterInfo. 
584         (paintInset): pass erased_ to Inset::draw.
585
586         * lyxfunc.C (lookupChange): new function. Tells whether change 
587         tracking is disabled at a given postion.
588         (getStatus): disable some actions when in deleted text with change
589         tracking. 
590
591 2005-08-03  John Levon  <levon@movementarian.org>
592         
593         * tabular.C (appendColumn, setMultiColumn): adapt to change to
594         InsetText::clear().
595
596         * paragraph_pimpl.C (markErased): add bool argument and handle it.
597         Also make sure to mark insets recursively.
598         (rejectChange, erase): be recursive
599
600         * paragraph.C (markErased): add bool argument.
601 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * lyxfind.C (findNextChange): tiny cleanup.
604
605         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
606         change tracking with the cursor in an inset; make sure the first
607         change is not skipped.
608
609 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
610
611         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
612         tabularStackDirty to work around bug 1919 (tabular needs
613         to know whether its own cell paste buffer or the one of 
614         texted is newer.
615         * CutAndPaste.C: mark tabular_stack_ clean after copy.
616
617 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
618
619         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
620
621 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
622
623         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
624         use old deleteion algorithm when changetracking is on.
625
626 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
627
628         * messages.C (get): add debug output.
629
630 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
631
632         * text.C (cursorX): fix bug 1965: cursor movement at
633         line end broken in RtL.
634         (drawSelection): fix bug 1970: drawing of single-line 
635         selection broken for RtL.
636
637 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         bug 465.
640
641         * dociterator.h (clear, push_back, pop_back): change from
642         protected to public.
643
644         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
645         and changed to just return the value of the item depth; take a
646         ParIterator as argument; take the itemdepth at outer nesting level
647         in account if necessary; cleanup and comment the code.
648         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
649         and changed to just return true if reset is needed; take a
650         ParIterator as argument; cleanup and comment the code.
651         (setCounter): adapt to above changes.
652
653 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * text3.C (dispatch): make debug message optional
656
657 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
660         inset. (bug 1963)
661
662 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
663
664         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
665
666 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
667
668         * text.C (insertChar):
669         * text2.C (deleteEmptyParagraphMechanism): take care whether 
670         a blank has been deleted (in change tracking mode) (bug 1254).
671
672 2005-07-20  John Levon  <levon@movementarian.org>
673
674         * text2.C (insertStringAsLines): remove old dubious code,
675         fixing bug 1939.
676
677 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * MenuBackend.C (expandToc): use Floating::listName() as title of
680         the floats submenus.
681
682 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
683
684         * toc.[Ch]: Do not use translatable strings (bug 1870).
685
686 2005-07-20  John Levon  <levon@movementarian.org>
687
688         * tabular.C: fix 1748 - setting multicolumn adds
689           left line to the first cell
690
691 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
692
693         bug 1920
694         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
695         pars in one go.
696
697 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
698
699         * messages.C: supress some lyxerr messages
700
701 2005-07-18  Juergen Vigna  <jug@lyx.org>
702
703         * text.C (drawSelection): honor boundary when asking for cursorX.
704
705 2005-07-17  José Matos  <jamatos@fc.up.pt>
706
707         * tabular.C (recalculateMulticolumns): fix handling of one column
708         tables.
709
710 2005-07-17  Juergen Vigna  <jug@lyx.org>
711
712         * text.C (Delete, backspace): fixed so that paragraph with the
713         same layout can be merged by Delete/Backspace.
714
715 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
716
717         * text.C (readParToken): fix spelling.
718
719 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
720
721         * text2.C: fix counter update for DEPM problem reported by
722         Georg Baum
723
724 2005-07-17  Juergen Vigna  <jug@lyx.org>
725
726         * BufferView_pimpl.C (setBuffer): save/restore the
727         cursor/selection when switching buffers
728
729         * buffer.h: 
730         * buffer.C (saveCursor): add saveDocumentIterators to save the
731         cursor when switching buffer.
732
733 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
734
735         * debug.C: fix typo
736         * buffer.C: clarify message
737         
738 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
739
740         * dociterator.C (DocIterator): fix initialization order
741
742 2005-07-17  Juergen Vigna  <jug@lyx.org>
743
744         * text2.C (cursorHome): 
745         * text.C (drawSelection, cursorX): 
746         * dociterator.C (textRow): add boundary to getRow() call
747
748         * paragraph.C (getRow): implementation of below
749
750         * paragraph.h: add parameter boundary for getRow() function
751
752 2005-07-17  José Matos  <jamatos@fc.up.pt>
753
754         * buffer.C:
755         * bufferparams.[Ch]:
756         * tex-strings.[Ch]: new file format, remove support for a4.sty,
757         a4wide.sty and a4widemargins.
758
759 2005-07-17  Juergen Vigna  <jug@lyx.org>
760
761         * text2.C (cursorLeft): fix one of error
762
763 2005-07-17  Juergen Vigna  <jug@lyx.org>
764
765         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
766                    cursorEnd):
767         more fixes for boundary handling
768
769         * text3.C (dispatch): don't reset cursor if boundary has changed
770         on cursor movement.
771
772 2005-07-16  Juergen Vigna  <jug@lyx.org>
773
774         * text2.C (getColumnNearX): hopefully got it right now,
775         check if we are on column 0 for special case.
776
777 2005-07-16  Juergen Vigna  <jug@lyx.org>
778
779         * text2.C (getColumnNearX): handle special case Newline Inset
780
781         * text.C (singleWidth): Just remove bogus check
782
783 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
784
785         * funcrequest.C (split): avoid reading uninitialized char c
786
787 2005-07-16  José Matos  <jamatos@fc.up.pt>
788
789         * buffer.C:
790         * converter.C:
791         * lyxrc.C:
792         * paper.h:
793         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
794         single papersize variable.
795
796 2005-07-16  Juergen Vigna  <jug@lyx.org>
797
798         * text3.C (dispatch): honor boundary when checking if a cursor
799         movement has been done
800
801         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
802         (setCursor, setCursorIntern): fix cursor movement with boundary
803
804 2005-07-16  Juergen Vigna  <jug@lyx.org>
805
806         * text.C (currentState): output the actual Boundary
807
808 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * factory.C (createInset): fix bad logic for tabular creation
811
812 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
813
814         * lyx_main.C (init): change some reLyX reference to tex2lyx
815
816 2005-07-16  Juergen Vigna  <jug@lyx.org>
817
818         * dociterator.C (DocIterator): initialize boundary
819
820 2005-07-16  Juergen Vigna  <jug@lyx.org>
821
822         * text2.C (getColumnNearX): Consider rows without trailing blank.  
823
824 2005-07-16  André Pönitz  <poenitz@gmx.net>
825
826         * lyxfont.h: Change order of declarations to give the compiler
827         a better chance to inline things
828
829         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
830         questions on unsaved docs for better scritability
831
832 2005-07-16  André Pönitz  <poenitz@gmx.net>
833
834         * paragraph.h (getChar): remove asserts as the same kind of security
835         can be achieved by using a suitable standard library implementation
836         and the function was in the critical path (25.9% in profiler)
837
838 2005-07-16  Juergen Vigna  <jug@lyx.org>
839
840         * cursor.C (bruteFind2):
841         * bufferview_funcs.C (coordOffset): 
842         * text.C (cursorX,cursorY): Handle cursor position after last char
843         in row before a inset which uses a whole row.
844
845 2005-07-15  José Matos <jamatos@lyx.org>
846
847         * output_plaintext.[Ch] (writeFileAscii): control reference title
848         printing.
849         (asciiParagraph): noparbreak was already deal and was incorrectly
850         used.
851
852 2005-07-15  Juergen Vigna <jug@lyx.org>
853
854         * lyxfunc.C (dispatch): save and restore the cursor after a
855         textclass switch.
856
857 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
858
859         * text.C (backspace): bug 806 for empty keepempty paragraphs we
860         change the layout to default before letting DEPM do its thing.
861
862         * paragraph_funcs.C (breakParagraph): dont reset the layout on
863         keepEmpty paragraphs
864
865         * text.C (setCursorFromCoordinates): add a debug statement
866
867         * text2.C (getColumnNearX): bug 1825 make sure that we don't
868         return a pos that is not on the row
869
870         * output_latex.C (TeXDeeper): get rid of potential dereferencing
871         of past the end iterator
872
873 2005-07-14  André Pönitz  <poenitz@gmx.net>
874
875         * undo.C (recordUndoFullBuffer): implement undo for
876         textclass switches
877
878 2005-07-14  André Pönitz  <poenitz@gmx.net>
879
880         * cursor.C (setSelection): open insets when selection is set there
881         to avoid crashs with cold coord cache
882
883 2005-07-14  André Pönitz  <poenitz@gmx.net>
884
885         * trans_mgr.C (insert): move cursor to the right after inserting
886         a char.
887
888 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
889
890         * BufferView_pimpl.C (update): dampen some of the debug blabbering
891         * factory.C (readInset): ditto
892         * text.C, text2.C: ditto
893
894 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * buffer.C: format incremented to 242. There is no file format per
897         se, but the "frenchb" language has been removed from lib/language
898         and has to be translated to "french" by lyx2lyx.
899
900 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
901
902         * cursor_slice.h, dociterator.h: add some documentation
903         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
904
905 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
906
907         * text.C (leftMargin): do not add identation to display() style
908         insets, because they are always centered (bug 1293).
909
910 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
911
912         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
913         formatted_time methods in support/lyxtime.
914
915 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
916
917         * toc.[Ch]: new method getGuiName, which is used by the frontends 
918         to set the toc combo (fixes bug 1870). Make TOC string translatable.
919
920 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
921
922         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
923         StableDocIterator const &)
924         * undo.C (recordUndo): use the above instead of cell.size() comparison
925         (fixes bug 1808; instructed by Andr�.
926
927 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
928
929         * cursor_slice.h: 
930         * dociterator.h: Fix the assert when copying rows/cols in math
931
932 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
933
934         * BufferView_pimpl.C:
935         * LyXAction.C:
936         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
937
938         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
939         (findInset): new functions, refactored from goto Inset that return 
940         the position of a certain inset without setting the buffer's cursor
941         (by Jean-Marc); 
942         (gotoInset): rewrite to call findInset and then set the cursor
943         (by Jean-Marc).
944
945 2005-06-16  Angus Leeming  <leeming@lyx.org>
946
947         * lyxrc.C (output, read): wrap all input and output of paths with
948         calls to os::internal_path and os::external_path, respectively.
949         (output): wrap bind_file inside quotes.
950
951         * format.C (view): enable the viewer to use the '$$s' placeholder.
952
953 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
954
955         * LColor.[Ch] (getFromLaTeXName): new
956
957 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
958
959         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
960
961 2005-06-14  Angus Leeming  <leeming@lyx.org>
962
963         * lyx_main.C (init): ensure that the LyX binary dir is the first
964         element in the PATH on non-POSIX builds.
965
966 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
967
968         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
969
970 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * rowpainter.C (paintInset, paintHebrewComposeChar)
973         (paintArabicComposeChar, paintChars): add a LyXFont argument.
974         (paintChars): use getFontSpan to reduce calls to getFont to a
975         minimum; use Paragraph::lookupChange instead of isXXXText.
976         (paintForeignMark): rename LyXFont argument.
977         (paintFromPos): pass a LyXFont object to the various paintXXX
978         methods.
979
980         * FontIterator.C (FontIterator, operator++): use
981         Paragraph::getFontSpan
982
983         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
984         version that returns the font span as a pair.
985
986 2005-06-09  Angus Leeming  <leeming@lyx.org>
987
988         * converter.C (convert): Don't forget "outfile = real_outfile" as
989         the final step in a conversion where the input and output file names
990         are the same. Otherwise, future conversion steps won't work...
991
992 2005-06-09  Angus Leeming  <leeming@lyx.org>
993
994         * lyxsocket.C: remove stub code as it isn't needed by
995         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
996
997 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
998
999         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1000         effectively disabled -x
1001
1002 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1003
1004         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1005         when it actually makes sense.
1006
1007 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * BufferView_pimpl.C: revert to showCursor in connection with
1010         Lars's front-end stack
1011
1012 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1013
1014         * text.C (redoParagraph): move cursor right after a bibitem
1015         has been inserted.
1016
1017         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1018
1019 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1020
1021         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1022         error range.
1023
1024 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * BufferView.[Ch] (update):
1027         * BufferView_pimpl.[Ch] (update, metrics):
1028         * dimension.h (operator==):
1029         * lyxfunc.C (dispatch):
1030         * metricsinfo.h (ViewMetricsInfo):
1031         * rowpainter.C (paintText):
1032         * lyxtext.h:
1033         * text.C (redoParagraph):
1034         * text3.C (dispatch): Make LyX only repaint current paragraph in
1035         case of character insert --> speedup. Also fix cursor draw
1036         artifacts
1037
1038 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1041         avoid a crash (bug 1891)
1042
1043 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1044
1045         Fix bug 1892:
1046
1047         * text2.C (getStringToIndex): constify cur argument.
1048
1049         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1050         argument has been given
1051         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1052         try to invoke LFUN_INSET_APPLY).
1053
1054         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1055         if no inset was created by doInsertInset
1056         (doInsertInset): return true if an inset has been inserted.
1057
1058 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059
1060         * vspace.C (asGUIName): new method. A version of the space
1061         suitable for showing on screen.
1062
1063 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1064
1065         * MenuBackend.C:
1066         * lyxrc.C: rename "ASCII" to "Plain Text"
1067
1068 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1071         translate the labelstring.
1072         (setCounter): translate labelstring as needed.
1073
1074         * output_docbook.C (makeCommand): fix expandLabel invokation
1075
1076 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1077
1078         * BufferView.C: fix dialog title
1079
1080 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1081
1082         * lyx_main.C (priv_exec): fix logic error with help from Angus
1083         * lyx_main.C (parse_execute): set is_gui = false and remove now
1084         obsolete comment about a segfault
1085
1086 2005-05-18  Angus Leeming  <leeming@lyx.org>
1087
1088         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1089
1090 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * tabular.[hC]: added setCellInset to fix tabular paste.
1093
1094 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1095
1096         * buffer.C (save): check if destination is writable before trying
1097         to copy a file
1098
1099 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * BufferView_pimpl.C (update): fix processEvents -caused update
1102         recursion bug
1103
1104 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * buffer_funcs.C (setCounter): fix test for numbering of
1107         environments.
1108
1109         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1110         depth correctly; use optional argument when it exists
1111
1112         * lyxtextclass.C: remove unused MaxCounterTags enum
1113         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1114         (max_toclevel, min_toclevel): new methods.
1115
1116         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1117         the smallest depth in toc.
1118
1119         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1120         layouts that should not appear in a table of contents.
1121
1122 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1123
1124         * cursor.h (undispatched, noUpdate): add comments from Andr�
1125 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1126
1127         * lfuns.h:
1128         * LyXAction.C:
1129         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1130
1131 2005-05-07  André Pönitz  <poenitz@gmx.net>
1132
1133         * cursor.[Ch] (leaveInset): new function
1134
1135 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1136
1137         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1138
1139 2005-05-04  Angus Leeming  <leeming@lyx.org>
1140
1141         * lyxfunc.C (getStatus): disable the spell checker dialog if
1142         none of USE_[AIP]SPELL are defined.
1143
1144 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1145
1146         * tabular.C (setWidthOfCell): remove obsolete comment
1147
1148 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * paragraph.C (bibitem):
1151         * buffer_funcs.C (setCounter):
1152         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1153
1154 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1155
1156         * text3.C (getStatus): immediately return after setOnOff
1157
1158         * rowpainter.C: fix drawing of appendix start
1159
1160 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1161
1162         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1163         SwitchBetweenClasses and remove the unused return value.
1164         Handle character styles, too
1165
1166 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * factory.C (createInset): handle undefined character styles
1169
1170 2005-05-02  Angus Leeming  <leeming@lyx.org>
1171
1172         * buffer.C: protect the #include of utime.h with a preprocessor
1173         guard.
1174
1175 2005-05-02  Angus Leeming  <leeming@lyx.org>
1176
1177         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1178         function so that auto-saving works, albeit in a blocking manner.
1179
1180         * Makefile.am: make compilation of the client sub directory, of
1181         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1182         on conditionals set at configure time.
1183
1184         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1185         it can be compiled in its own right but has no-op functionality.
1186
1187         * aspell.C, pspell.C: remove preprocessor guards. The files should
1188         be compiled only if the necessary functionality exists.
1189
1190         * lyxserver.C, lyxsocket.C: disable on Windows.
1191
1192 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * text.C (leftMargin): Fix the parindent use bug (1764)
1195         by dirty trick
1196
1197 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1198
1199         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1200         argument.
1201
1202 2005-04-25  Angus Leeming  <leeming@lyx.org>
1203
1204         * Bidi.[Ch]:
1205         * coordcache.[Ch]:
1206         * ispell.C:
1207         * lyxserver.C:
1208         * mover.C:
1209         * pch.h:
1210         include <config.h> in .C files, not .h ones.
1211         add licence blurb.
1212         protect headers inside preprocessor guards.
1213
1214 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * FuncStatus.h (StatusCodes): document
1217
1218 2005-04-21  André Pönitz  <poenitz@gmx.net>
1219
1220         * FuncStatus.h (enabled, onoff): document
1221
1222 2005-04-19  Angus Leeming  <leeming@lyx.org>
1223
1224         * BufferView_pimpl.C (cursorToggle): no longer test whether
1225         any child processes have been reaped before calling
1226         handleCompletedProcesses().
1227
1228 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1229
1230         * text3.C (dispatch): fix, finally fix, the language problem in
1231         new lyxtexts, without disabling on-the-fly font changes (Helge's
1232         bug report)
1233
1234 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1235
1236         * text3.C (dispatch): set cursor on double/triple click events
1237         (bug 1811)
1238
1239 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1242         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1243
1244         * rowpainter.C (paintFirst): simplify the code a little bit. In
1245         particular, remove the test for secnumdepth.
1246         * text.C (setHeightOfRow): only allocate space for chapter number
1247         when updateCounters provided an actual label, instead of looking
1248         at secnumdepth directly.
1249
1250         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1251
1252         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1253         paragraphs when secnumdepth is large enough or, for environments,
1254         when they are not the first in a sequence.
1255
1256 2005-04-17  Angus Leeming  <leeming@lyx.org>
1257
1258         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1259         containing space and '~' characters with a call to latex_path().
1260
1261 2005-04-17  Angus Leeming  <leeming@lyx.org>
1262
1263         * converter.C (convert): protect all args of convertDefault.sh
1264         script with quotes.
1265
1266 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * text3.C (dispatch): change the layout to "Caption" after inserting
1269         a float.
1270
1271 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1272
1273         * text3.C (dispatch): fix language problem in newly created
1274         textinsets (and main text) in non-english docs
1275
1276 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1277
1278         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1279         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1280         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1281
1282 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1283
1284         * lyxtext.h:
1285         * text.C (metrics):
1286         * text2.C (getFont):
1287         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1288         fonts fix
1289
1290 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1291
1292         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1293         output of \item arguments without trailing text.
1294
1295 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * FontIterator.C (operator*): avoid a copy of the font.
1298
1299 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1300
1301         * rowpainter.C (getFont): fix language bug from previous fix
1302
1303 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * rowpainter.C (RowPainter, getFont): fix font inside inset
1306         (bugs 1766, 1809)
1307
1308 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1309
1310         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1311         preventing inserted font, deco, delim insets jumping to start of
1312         surrounding inset.
1313
1314 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * lyxfunc.C (dispatch): translate message before sending it to the
1317         minibuffer.
1318
1319 2005-03-29  Angus Leeming  <leeming@lyx.org>
1320
1321         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1322         to LyX on the command line.
1323
1324 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1325
1326         * vc-backend.C: use QuoteName to protect file names wherever
1327         necessary.
1328
1329 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1330
1331         * buffer.[Ch]:
1332         * BranchList.h: fix bugs 1844,1845: document settings don't
1333         stick
1334
1335 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * lyxrc.C (setDefaults, read, output, getDescription): add support
1338         for tex_allows_spaces.
1339
1340         * exporter.C (Export): allows files in directory containing spaces
1341         if tex_allows_spaces is true.
1342
1343         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1344         output it in double quotes.
1345
1346 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1347
1348         * rowpainter.C: use default text height for drawing change tracker
1349         strikeout lines.
1350
1351 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1352
1353         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1354
1355 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1358         directory is missing.
1359
1360 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1361
1362         * text2.C: fixed the fix, extended to other case.
1363
1364 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1367
1368 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * text2.C (cursorUp): get rid of a crash
1371         * text.C (x2pos): add an assert
1372
1373 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1374
1375         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1376
1377         * text3.C:
1378         * lyxfunc.C:
1379         * dociterator.C: include <boost/current_function.hpp>, which is
1380         needed when assertions are disabled.
1381
1382 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1383
1384         * text2.C: fix for stuck cursor when traversing two
1385         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1386
1387 2005-02-25  Andreas Vox  <avox@arcor.de>
1388
1389         * output_docbook.C (makeParagraph): suppress trailing newline
1390         after a run of paragraphs
1391
1392 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1393
1394         * paragraph.C: fix for confused change tracker when pasting
1395         text that begins with a lineseparator. [bug 1827]
1396         (setChange(0, Change::INSERTED);)
1397
1398         * paragraph_funcs.C: fix for lost changes on triple-paste
1399         in change tracking mode [bug 1827] (par.setChange()).
1400
1401 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * text2.C (updateCounters, setCounter, expandLabel): move to
1404         buffer_funcs.
1405
1406         * buffer_funcs.C (updateCounters): turn into a free standing
1407         function and add a buffer parameter. Remove dead code for tracking
1408         labelstring change.
1409         (setCounter): change into a free-standing function which gets a
1410         dociterator as argument. Use this iterator to fix captions in a
1411         simple way. When no float is found above the caption, use the
1412         labelstring of the caption layout as default.
1413
1414         * text.C (breakParagraph, backspace):
1415         * text2.C (init, setLayout, changeDepth):
1416         * text3.C (dispatch):
1417         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1418         updateCounters.
1419
1420         * dociterator.C (forwardPar): make it much faster by calling
1421         forwardPos() only when really necessary.
1422
1423         * output_docbook.C (makeCommand): adapt to expandLabel move.
1424
1425         * cursor.C: remove unused variable
1426
1427 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1428
1429         * paragraph_funcs.C: fix crash when pasting insets in change
1430         tracking mode [bug 1277] (honour change type in moveItem).
1431
1432 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1433
1434         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1435
1436 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * BufferView.C (setCursor): change to use a DocIterator.
1439         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1440         (putSelectionAt): adapt to BufferView::setCursor change.
1441
1442         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1443         moved here from LyXText and rewritten to use proper cursor
1444         methods. Fixes bug 1787, 616 and 835.
1445
1446         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1447         when inside an inset (part of bug 781).
1448         (dispatch): adapt to change of BufferView::setCursor.
1449         (getStatus, dispatch): handle LFUN_GOTOERROR,
1450         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1451
1452         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1453         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1454         * text3.C (gotoNextInset, gotoInset): removed.
1455
1456 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1459
1460 2005-02-15  Angus Leeming  <leeming@lyx.org>
1461
1462         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1463         can be used meaningfully in a comparison.
1464
1465 2005-02-13  André Pönitz  <poenitz@gmx.net>
1466
1467         * bufferview_funcs.C (coordOffset): improve cursor drawing
1468
1469 2005-02-13  André Pönitz  <poenitz@gmx.net>
1470
1471         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1472         * Cursor.C (dispatch): use fixIfBroken
1473         * lyxfunc.C (getStatus): use fixIfBroken
1474
1475 2005-02-15  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyx_main.C (error_handler):
1478         * lyxfunc.C:
1479         * lyxrc.C (setDefaults):
1480         s/GetEnv/getEnv/.
1481         #include "environment.h".
1482
1483         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1484
1485 2005-02-15  Angus Leeming  <leeming@lyx.org>
1486
1487         * lyxserver.C (startPipe): squash MSVC warning "local variable
1488         'fd' used without having been initialized".
1489
1490 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1491
1492         * BufferView_pimpl.C: revert accidental commit.
1493
1494 2005-02-14  André Pönitz  <poenitz@gmx.net>
1495
1496         * dociterator.[Ch]: new member forwardPosNoDescent(),
1497         which doesn't enter nested insets.
1498         * text2.C (setFont): use forwardPosNoDescent() instead
1499         of ForwardPos() (fixes crash on font change).
1500
1501 2005-02-13  Angus Leeming  <leeming@lyx.org>
1502
1503         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1504         only if lyxrc.path_prefix is not empty.
1505
1506 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1507
1508         * bufferparams.C (readGraphicsDriver): prevent crash
1509
1510 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1511
1512         * text2.C (setCounter): check for inInset() == 0
1513
1514 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1515
1516         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1517         but use update() to get correct screen display; use convert
1518         instead of istringstream.
1519         (getStatus): handle LFUN_GOTO_PARAGRAPH
1520
1521         * lyxfunc.C (dispatch, getStatus): do not handle
1522         LFUN_GOTO_PARAGRAPH here.
1523
1524 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1525
1526         * text3.C (dispatch): size() -> depth()
1527
1528         * text2.C: remove some debug output
1529
1530         * paragraph.C: ws changes only
1531
1532         * lyxfunc.C (getStatus): size() -> depth()
1533
1534         * dociterator.h (clear, push_back, pop_back, internalData,
1535         operator[], resize, empty): new functions
1536         Make StableDocIterator and operator== be friends. Don't inherit
1537         from std::vector use a privat class variable slices_ instead.
1538         Modify to fit.
1539
1540         * dociterator.C: update because of not inheriting from std::vector
1541         anymore. Call explictly to slices_ instead. Use depth() instead of
1542         size() and top() instead of back()
1543
1544         * cursor.C: chagne size() -> depth and back() -> top(). Also
1545         remove some direct operator[](i) calls in favour of foo[i]
1546         (getFont): remove some dead code
1547
1548         * bufferview_funcs.C (coordOffset): size() -> depth()
1549
1550         * buffer.C: ws changes only
1551
1552         * CutAndPaste.C (eraseSelection): back() -> top()
1553
1554         * BufferView_pimpl.C (selectionRequested): back() -> top()
1555
1556         * BufferView.C (setCursor): size() -> depth()
1557
1558 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * text3.C (cursorPrevious): return true if depm changed something
1561         (cursorNext): ditto
1562         (dispatch): rename sl to oldTopSlice, remove moving use the new
1563         NoUpdate func attrib instead. Make sure that needsUpdate is set
1564         for function that have NoUpdate, but where depm might have changed
1565         the buffer anyway.
1566
1567         * text2.C (cursorLeft): make us return true if depm changed
1568         something
1569         (cursorRight): ditto
1570         (cursorUpParagraph): ditto
1571         (curosrDownParagraph): ditto
1572         (cursorUp, cursorDown): ditto, make sure to read comments in code
1573         (deleteEmptyParagraphMechanism): remove an assert, also return
1574         true if just a single char was deleted.
1575
1576         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1577         cursor that we modify, to avoid modifying an active cursor before
1578         we call setCursor. This allows depm to run. Also return true if
1579         depm deleted something.
1580
1581         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1582         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1583         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1584         something was changed in the buffer because of them (ie. depm run)
1585
1586         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1587         debug messages. Make update by default be false. Make sure that
1588         the result of update is retained throught several calls down to
1589         dispatch.
1590
1591         * LyXAction.h: add a new func_attrib: NoUpdate
1592
1593         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1594         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1595         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1596         and LFUN_WORDLEFT
1597         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1598
1599 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1602         bv_->owner(), bv_->buffer() by direct references to the private
1603         members.
1604         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1605         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1606         (fitCursor): center() is in BufferView::Pimpl.
1607         (getStatus, trackChanges, dispatch): no need for a temporary buf
1608         variable
1609         (fitCursor, workAreaDispatch): use workarea().workheight()
1610
1611 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1612
1613         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1614
1615 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1616
1617         * buffer.C: format up to 241.
1618         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1619         break if pasting into ERT
1620         * lyxfunc.C (getStatus): suppress mathpanel and
1621         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1622
1623 2005-02-01  Angus Leeming  <leeming@lyx.org>
1624
1625         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1626
1627 2005-02-01  Angus Leeming  <leeming@lyx.org>
1628
1629         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1630         calling fs::is_directory().
1631
1632 2005-01-31  Angus Leeming  <leeming@lyx.org>
1633
1634         * lyx_main.C (priv_exec): specify explicitly the relative location
1635         of the top level build directory when run in-place.
1636
1637 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1638
1639         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1640         LyXText containing the cursor, not the top-level one.
1641
1642         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1643         true.
1644         (insertStringAsLines): rename par to pit; use temporary variable
1645         par to hold a Paragraph; do not store par.layout() in a variable,
1646         since the pointer may die when breaking paragraphs; pass pars to
1647         breakParagraph() instead of Buffer::paragraphs().
1648
1649 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1650
1651         * lyxlex_pimpl.h: #include <fstream>.
1652
1653         * BufferView.[Ch] (getLyXText): add a const version.
1654
1655         * BufferView_pimpl.C: add debug aids.
1656
1657         * RowList_fwd.h:
1658         * buffer.h:
1659         * lyxrow.h:
1660         * paragraph_funcs.h: add commentary explaining what the class does.
1661
1662
1663         * coordcache.[Ch]: add lots of commentary.
1664         (startUpdating, doneUpdating): debug aids.
1665         (arrays, insets, parPos, getParPos): accessors to private data.
1666
1667         * cursor_slice.[Ch] (text): add a const version.
1668         * dociterator.[Ch] (text, innerText): add const versions.
1669
1670         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1671         bool.
1672
1673         * paragraph.C (getRow, pos2ros): add asserts.
1674
1675         * paragraph.h: add commentary. Lots of.
1676
1677         * paragraph.[Ch] (metrucs, draw): removed.
1678
1679         * cursor.C:
1680         * rowpainter.[Ch]: const-correct changes.
1681
1682         * text.C: various obvious clean-ups. Removal of ancient cruft.
1683         Bug fixes, even.
1684
1685 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * vc-backend.C (find_file): rewrite to use boost.filesystem
1688         (scanMaster): ditto
1689
1690         * main.C (main): set default name check for boost.filesystem to
1691         no check
1692
1693         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1694         (open): ditto
1695         (doImport): ditto
1696         (actOnUpdatedPrefs): ditto
1697
1698         * lyx_main.C (init): rewrite to use boost.filesystem
1699         (queryUserLyXDir): ditto
1700
1701         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1702         (getContentsOfAsciiFile): ditto
1703
1704         * lastfiles.C (readFile): rewrite to use boost.filesystem
1705
1706         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1707
1708         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1709         (loadLyXFile): ditto
1710
1711         * buffer.C (Buffer): adjust for destroydir
1712         (getLogName): rewrite to use boost.filesystem
1713         (setFileName): ditto
1714         (save): use fs::copy_file (from fs_extras)
1715
1716         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1717
1718         * LaTeX.C (run): rewrite to use boost.filesystem
1719         (scanAuxFiles): ditto
1720         (handleFoundFile): ditto
1721
1722 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1723
1724         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1725
1726         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1727
1728 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1729
1730         * lyxlayout.[Ch]: change some vars from float to double
1731
1732         * buffer.C (readFile): make a local var const
1733
1734         * Several files: use convert<> instead of atoi,strToXXX and friends
1735
1736 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1737
1738         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1739         holds the contents of packages.lst. New functions getAvailable
1740         and isAvailable to parse and check that list, resp.
1741
1742         * LyXAction.C:
1743         * lfuns.h:
1744         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1745
1746         * bufferparams.[Ch]: new param output_changes.
1747
1748         * Buffer.C: increase file format to 240.
1749         Use output_changes and isVailable.
1750
1751         * changes.[Ch]:
1752         * paragraph.C:
1753         * paragraph_pimpl.C: Use output_changes and isVailable.
1754
1755 2005-01-23  Angus Leeming  <leeming@lyx.org>
1756
1757         * output_latex.C: #include "insetbibitem.h", rather than
1758         forward declare function bibitemWidest.
1759
1760 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1761
1762         * lyx_main.C (init): make it compile on the Mac.
1763
1764 2005-01-20  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1767         (setLyXMisc): (char string literal) != (char string literal) is
1768         performing a comparison on the addresses. Convert one operand
1769         explicitly to string to guarantee expected behaviour.
1770         From MSVC warning.
1771
1772 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1773
1774         * buffer.C:
1775         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1776
1777         * output_plaintext.C: remove unneeded #include gzstream.h.
1778
1779 2005-01-20  Angus Leeming  <leeming@lyx.org>
1780
1781         * SpellBase.h: rename some of the elements of the Result enum.
1782
1783         * aspell_local.h:
1784         * ispell.h:
1785         * pspell.h:
1786         * aspell.C (check):
1787         * ispell.C (check):
1788         * pspell.C (check): ditto
1789
1790 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1791
1792         * buffer.C: add #include <fstream>.
1793
1794         * lyx_main.C (init): Compile fix.
1795
1796         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1797
1798 2005-01-20  Angus Leeming  <leeming@lyx.org>
1799
1800         * mover.h: change commentary to reflect the changed meaning of
1801         the $$s placeholder.
1802
1803 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1806
1807         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1808
1809 2005-01-20  Angus Leeming  <leeming@lyx.org>
1810
1811         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1812         printing diagnostic data by not dereferecing an iterator past the
1813         end.
1814
1815 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1816
1817         * buffer.C (readHeader): use "&&" rather than "and".
1818
1819         * lyxserver.h (inPipeName, outPipeName): make these const.
1820
1821 2005-01-19  Angus Leeming  <leeming@lyx.org>
1822
1823         * lyx_main.C (error_handler, init): protect SIGHUP with
1824         #ifdef SIGHUP guards.
1825
1826 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1829
1830 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * text.C (setHeightOfRow): add a margin at the top and bottom of
1833         the document (bug 1761)
1834
1835 2005-01-17  Angus Leeming  <leeming@lyx.org>
1836
1837         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1838         with "python ". Workaround for a brain-dead Windows.
1839
1840 2005-01-16  Angus Leeming  <leeming@lyx.org>
1841
1842         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1843         for MacOSX and Windows to use prependEnvPath.
1844         Strip out the hard-coded block to add elements to the PATH for
1845         MacOSX and replace it with a call to prependEnvPath using the
1846         contents of LyXRC::path_prefix.
1847         (queryUserLyXDir): strip out the code to run reconfigure, instead
1848         returning a boolean indicating the necessity to do so.
1849         (reconfigureUserLyXDir): contains the code to reconfigure the
1850         user support directory. Is now called after the various LyXRC data
1851         files have been read.
1852
1853         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1854
1855 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1856
1857         * converter.[Ch] (convert): take a new parameter try_default. Use
1858         a default converter (imagemagick) if try_default is true.
1859
1860 2005-01-13  Angus Leeming  <leeming@lyx.org>
1861
1862         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1863         os::cygwin_path_fix.
1864         (write): output LyXRC::cygwin_path_fix as necessary.
1865
1866 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1867
1868         * lyxrc.h:
1869         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1870
1871 2005-01-12  Angus Leeming  <leeming@lyx.org>
1872
1873         * lyx_main.C (init): set the PATH variable to include the
1874         directory containing the LyX binary when running on Mac or Windows.
1875
1876 2005-01-12  Angus Leeming  <leeming@lyx.org>
1877
1878         * lyx_main.C (init): remove cruft that purports to set the locale
1879         dir. It doesn't and is not needed anyway.
1880
1881 2005-01-10  Angus Leeming  <leeming@lyx.org>
1882
1883         * Makefile.am: remove the lyx_main.C special casing.
1884
1885         * BufferView_pimpl.C:
1886         * bufferlist.C:
1887         * exporter.C:
1888         * lyx_cb.C:
1889         * lyx_main.C:
1890         * lyxfunc.C:
1891         * messages.C: use support/package.h to provide the paths to the
1892         various directories used by LyX.
1893
1894 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1895
1896         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1897         layout if pasting into an empty paragraph)
1898
1899 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1900
1901         * tex-accent.C: add <string>
1902
1903 2005-01-06  José Matos  <jamatos@lyx.org>
1904
1905         * ParagraphParameters.C (write): put every parameter in its own line.
1906         * paragraph.C (write): reduce number of consecutive empty lines exported.
1907         * buffer.C (LYX_FORMAT): increase file format to 239.
1908
1909 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1910
1911         * everywhere: change support/tostr.h -> support/convert.h
1912
1913         * tabular.C: make all write_attributes templates, tostr -> convert
1914
1915         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1916         (emptyTag): and -> &&, and fix type for ret from getChar
1917         (getFirstWord): fix type for ret from getChar
1918         (onlyText): and -> &&
1919         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1920         getChar
1921
1922         * toc.C (goTo, action):
1923         * text3.C (dispatch):
1924         * text.C (currentState):
1925         * tex-accent.C (DoAccent):
1926         * sgml.C:
1927         * lyxrc.C:
1928         * lyxfunc.C (menuNew):
1929         * lyxfinc.C (replace):
1930         * counters.C (laberItem):
1931         * bufferview_funcs.C (font2string):
1932         * bufferparams.C (writeFile):
1933         * buffer.C (readFile):
1934         * Spacing.C (set):
1935         * MenuBackend.C: tostr -> convert
1936
1937         * LaTeX.C (runMessage): fix format
1938         (scanAuxFiles): tostr -> convert
1939
1940         * BufferView_pimpl.C (savePosition): fix format
1941         (restorePosition): ditto
1942         (dispatch): ditto
1943
1944 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1945
1946         * Spacing.[Ch]: New method getValueAsString().
1947
1948         * Spacing.[Ch]:
1949         * bufferparams.C:
1950         * ParagraphParameters.C:
1951         * lyxlayout.C:
1952         * text.C:
1953         * text3.C: store/read spacing value as string.
1954
1955         * rowpainter.C: change float value (spacing_val) to double.
1956
1957         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1958         broken custom document spacing).
1959
1960 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1963         namespace, also more use of temp references and const
1964
1965         * cursor.[Ch] (getStatus): move to lyxfunc.C
1966
1967         * bufferparams.C: reformat slightly
1968
1969         * bufferview_funcs.C (font2string): constify arg
1970
1971         * changes.C:
1972         * converter.C:
1973         * counters.C:
1974         * bufferlist.C:
1975         * buffer_funcs.C: (many funcs): constify arg on function
1976         definitions, also make more local vars const, also add ASSERTS on
1977         pointer args.
1978
1979         * buffer.C (LYX_FORMAT): put const in correct place
1980         (many funcs): constify arg on function definitions, also make
1981         more local vars const
1982
1983         * aspell_local.h: remove "struct" from typdef setup
1984
1985         * aspell.C (check): make word_ok const
1986         (nextMiss): simplify slightly
1987         (error): ditto
1988
1989 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1990
1991         * lyxrc.[Ch]: store all float values as strings.
1992         use int (not float) for lyxrc.dpi.
1993
1994 2005-01-04  Angus Leeming  <leeming@lyx.org>
1995
1996         * lyx_cb.C (Reconfigure):
1997         * lyx_main.C (queryUserLyXDir):
1998         to run the <system_lyxdir>/configure correctly on Windows, prefix
1999         the path to the script with "sh " when generating the string that
2000         is passed to system().
2001
2002 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2003
2004         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2005
2006 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * lyxlength.C (asLatexString): get rid of setprecision
2009
2010 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2011
2012         * text2.C (setLayout): remove unused variable endpit.
2013         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2014
2015         * paragraph.C (onlyText): remove unused variable style.
2016
2017         * cursor.C (bruteFind): remove unused variables beg and end.
2018
2019         * Makefile.am (dist_noinset_DATA): not needed anymore
2020
2021         * cheaders/*: remove.
2022
2023 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2024
2025         * text3.C: fix LFUN_MATH_MODE.
2026
2027 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2028
2029         * buffer_funcs.C (countWords): new function. Counts words between
2030         two iterators.
2031
2032         * BufferView_pimpl.C (getStatus, dispatch): handle
2033         LFUN_WORDS_COUNT.
2034
2035         * LyXAction.C (init):
2036         * lfuns.h: add LFUN_WORDS_COUNT.
2037
2038 2004-12-19  Angus Leeming  <leeming@lyx.org>
2039
2040         * buffer.C (save): s/slashify_path/internal_path/.
2041
2042 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * lyxfind.C (findChange): do not search for end of pars, because
2045         the change tracker cannot handle this (fixes bug 1719).
2046
2047 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2048
2049         * paragraph.[Ch] (autoBreakRows): remove
2050
2051         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2052
2053         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2054         avoid using the paragraph one
2055
2056         * text2.C (LyXText, insertStringAsLines): adjust
2057
2058 2004-12-16  Angus Leeming  <leeming@lyx.org>
2059
2060         * bufferlist.C:
2061         * lyx_main.C:
2062         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2063
2064 2004-12-14  Angus Leeming  <leeming@lyx.org>
2065
2066         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2067
2068         * bufferlist.C (emergencyWrite):
2069         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2070         GetEnvPath("HOME").
2071
2072 2004-12-14  Angus Leeming  <leeming@lyx.org>
2073
2074         * main.C: (main): no longer pass pointers to os::init.
2075
2076 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2079         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2080
2081 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * lyxfunc.C:
2084         * text3.C: remove selection_possible global flag
2085
2086 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2087
2088         * text2.C (getSelectionSpan): remove
2089         (changeDepth, changeDepthAllowed): adjust
2090
2091 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2092
2093         * Makefile.am (BOOST_LIBS): use boost variables
2094
2095 2004-12-03  José Matos  <jamatos@lyx.org>
2096
2097         * buffer.C: format up to 238.
2098
2099 2004-12-03  José Matos  <jamatos@lyx.org>
2100
2101         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2102
2103 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * cursor.C (goUpDown): remove call to idxUpDown2
2106
2107 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2108
2109         * tabular.[Ch]: use size_t-like types for cell, row and column
2110         indices
2111
2112 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * lyxfunc.C (getStatus): do not lose previous information when
2115         calling BufferView::getStatus; do not set a default "Command
2116         disabled" message at the beginning, but just before returning.
2117
2118 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2119
2120         * cursor.h (getStatus): add better comment from src/cursor.C
2121
2122 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2123
2124         * text3.C (getStatus): return false when the lfun is not handled
2125
2126 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * broken_headers.h: remove
2129
2130         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2131
2132 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2135         offset_ref accessors
2136
2137         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2138         top_y_, merge fitcursor with update
2139         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2140         coord scheme
2141         (metrics): introduce
2142         (workAreaDispatch): adapt to new coord scheme
2143         (redoCurrentBuffer): remove
2144
2145         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2146
2147         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2148         CurStatus enum.
2149
2150         * coordcache.[Ch]: add paragraph cache and helpers
2151
2152         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2153         adjust everywhere
2154
2155         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2156         (targetX, setTargetX): introduce
2157
2158         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2159         baseline -> ascent, as the rest of lyx
2160
2161         * lyxtext.h: remove redoParagraphs, updateParPositions,
2162         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2163         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2164         have ascent/descent (ascent is ascent of first par)
2165
2166         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2167         step of BufferView
2168
2169         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2170
2171         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2172
2173         * pariterator.C: fix infinite loop introduced in par->pit renaming
2174
2175         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2176         in insets and LyXText, draw two off-screen paragraphs using
2177         NullPainter, and adapt to new coord scheme
2178
2179         * text.C:
2180         * text2.C:
2181         * text3.C: adapt lfun handlers to the new coord scheme, which
2182         means: there's only guaranteed coord information for onscreen pars
2183         plus one above and one below. This implies that one can do search
2184         from y coordinates in the range [-1,workHeight]
2185
2186 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2187
2188         * rename a lot of InsetOld to InsetBase
2189
2190 2004-11-25  Angus Leeming  <leeming@lyx.org>
2191
2192         * BufferView_pimpl.C:
2193         * lyx_cb.C:
2194         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2195
2196 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197
2198         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2199         call BufferView::getStatus if LCursor::getStatus did nothing
2200         (setStatusMessage, getStatusMessage): removed.
2201
2202         * FuncStatus.C (message): new methods. Used to provide an error
2203         message indicating why a command is disabled.
2204         (clear, |=, FuncStatus): update for message.
2205
2206 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2207
2208         * lyxfunc.C (dispatch): always call sendDispatchMessage
2209
2210 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * BufferView.C:
2213         * BufferView_pimpl.C:
2214         * CutAndPaste.C:
2215         * FontIterator.C:
2216         * buffer.C:
2217         * cursor.C:
2218         * cursor_slice.[Ch]:
2219         * dociterator.[Ch]:
2220         * lyxfind.C:
2221         * paragraph_funcs.C:
2222         * pariterator.C:
2223         * rowpainter.C:
2224         * text.C:
2225         * text2.C:
2226         * text3.C:
2227         * undo.C: par->pit renaming
2228
2229 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * tabular.C (cellstruct): use initialization, store a shared_ptr
2232         to insettext instead of the insettext directly, adjust to fit.
2233         (operator=):  new function
2234         (swap): new function
2235         (rowstruct): use initialization
2236         (columnstruct): use initialization
2237         (ltType): use initialization
2238
2239
2240         * lyxlength.h (swap): new function
2241
2242         * LColor.[Ch] (operator=): use the common semantics
2243
2244 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2245
2246         * lyxfind.C (findNextChange): update the bufferview after setting
2247         the selection.
2248
2249 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2252         number of InsetOptArgs has already been inserted.
2253
2254         * output_latex.C (latexOptArgInsets): new method. This outputs all
2255         the optarg insets, up to the limit defined in the layout file.
2256         (optArgInset): removed
2257         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2258
2259 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2260
2261         * paragraph.C (isLetter): remove special spellchecker-related
2262         code; return true also for digits
2263         (isWord, isKomma): remove
2264
2265         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2266         * lyxfind.C (MatchString()): use isLetter instead of isWord
2267
2268 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2269
2270         * pariterator.h (operatir=): comment out un-implemented member
2271         function.
2272
2273         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2274         static cast.
2275
2276 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2277
2278         * lyxfont.h: include LColor.h to satisfy concept checks.
2279
2280 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2281
2282         * pariterator.h: add typdefs for value_type, difference_type,
2283         pointer and reference to satisfy concept checks. Also add default
2284         constructor for same reason.
2285
2286         * pariterator.C (operator++): add post-increment operator to
2287         satisfy concept checks.
2288
2289         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2290         checks.
2291
2292         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2293
2294         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2295         checks. Also rename base_type to BaseType to follow naming
2296         standard better.
2297
2298         * FloatList.h: include Floating.h to satisfy concept checks.
2299
2300 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * lyxfunc.C (getStatus): when the origin of the request is menu or
2303         toolbar, and the LyXView does not have focus, do as if there was
2304         no buffer (bug 1720)
2305
2306         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2307         FuncRequest to individual entries of LFUN_SEQUENCE
2308
2309 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * output_latex.C (TeXOnePar): override runparams.moving_arg
2312         according to the needprotect value of the current paragraph (bug
2313         1739)
2314
2315         * paragraph.C (simpleTeXOnePar): no need to override
2316         runparams.moving_args here
2317
2318 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2319
2320         * vspace.C: fix off-by-one-error, related to fix #1682
2321
2322 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2323
2324         * lengthcommon.C: a more general fix for bug 1682
2325
2326 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2327
2328         * text.C (backspace): fix crash
2329
2330 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2331
2332         * format.[Ch] (getFormatFromFile): new method
2333         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2334
2335 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2338
2339 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2340
2341         * lyxfunc.C (dispatch): remove the verbose argument
2342         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2343         instead
2344
2345         * kbmap.C (defkey): set the origin of func to KEYBOARD
2346
2347         * MenuBackend.C (MenuItem):
2348         * ToolbarBackend.C (add): set the origin of func to UI
2349
2350         * funcrequest.[Ch]: add origin member, which indicates which part
2351         of LyX requests an action
2352
2353 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2354
2355         * converter.C (move): don't lie in the error message
2356         * converter.h (isReachable, move): document
2357
2358 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * buffer.C: remove unused using lyx::support::atoi
2361         * paragraph_funcs.C: ditto
2362
2363 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * bufferlist.C (exists): use bind and equal_to instead of
2366         compare_memfun
2367         (getBuffer): ditto
2368         * lyxtextclasslist.C (NumberOfClass): ditto
2369
2370         * cursor.C (insert): use for_each instead of explicit for loop
2371
2372         * bufferlist.C (getFileNames): use std::transform and
2373         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2374
2375         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2376         for loop
2377
2378         * buffer.C (changeLanguage): use for_each instead of explicit for
2379         loop
2380         (hasParWithID): implement using getParFromID
2381
2382         * LaTeXFeatures.C: ws change only
2383
2384         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2385         to cleanup a bit.
2386
2387         * BufferView_pimpl.C (trackChanges): use for_each instead of
2388         expilicit for loop
2389
2390 2004-11-04  André Pönitz  <poenitz@gmx.net>
2391
2392         * undo.h:
2393         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2394
2395         * dociterator.C (asDocIterator): use hard assert again.
2396
2397 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         * lyxlength.C (asLatexString): rewrite so that it does not use
2400         snprintf anymore
2401
2402 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2403
2404         * text3.C (specialChar, dispatch): make sure cursor moves to the
2405         right after inserting an inset
2406
2407 2004-11-02  José Matos  <jamatos@lyx.org>
2408
2409         * output_docbook.C (docbook):
2410         * paragraph.C (getID):
2411         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2412         garantee that the output is always legal.
2413
2414         * tabular.C (docbook):
2415         * outputprams.[Ch]: remove mixed contents.
2416
2417 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2418
2419         * text2.C (setCounter): prevent endless loop
2420
2421 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2422
2423         * exporter.C (copyFile): use the mover instead of support::copy()
2424         * exporter.C (Export): pass format and latex name to copyFile()
2425         * exporter.h (addExternalFile): document
2426         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2427
2428 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2429
2430         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2431
2432 2004-10-30  José Matos  <jamatos@lyx.org>
2433
2434         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2435         text and no inset or font change. This allows to use CDATA
2436         sections just for the whole paragraph.
2437
2438 2004-10-30  José Matos  <jamatos@lyx.org>
2439
2440         * paragraph.C (getFirstWord): remove unused variable.
2441
2442 2004-10-30  José Matos  <jamatos@lyx.org>
2443
2444         * paragraph.C (getFirstWord): the content should always be escaped
2445         there.
2446         (simpleDocBookOnePar):
2447         * output_docbook.C (makeEnvironment): replace reference to CDATA
2448         to style pass_thru.
2449
2450 2004-10-30  José Matos  <jamatos@lyx.org>
2451
2452         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2453
2454 2004-10-30  José Matos  <jamatos@lyx.org>
2455
2456         * output_docbook.C (makeParagraphs):
2457         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2458         standard paragraph has only a given type of content drop the wrapper.
2459
2460 2004-10-29  José Matos  <jamatos@lyx.org>
2461
2462         * output_docbook.C (makeEnvironment):
2463         * sgml.C (openTag):
2464         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2465
2466 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2467
2468         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2469         (cleanID): sanitize any id.
2470
2471 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2472
2473         * buffer.C, lyxlex_pimpl.C:
2474         * lyxlex_pimpl.C (setFile):
2475         s/getExtFromContents/getFormatFromContents/
2476
2477 2004-10-28  José Matos  <jamatos@lyx.org>
2478
2479         * output_docbook.C (makeEnvironment): move id to broadest possible
2480         scope.
2481
2482         * sgml.C (openTag): apply substitution of <> for all attributes.
2483
2484 2004-10-28  José Matos  <jamatos@lyx.org>
2485
2486         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2487         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2488         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2489
2490         * sgml.[Ch]: new version for open and closeTag for paragraph and
2491         for strings. Now they handle the ids of paragraphs.
2492
2493 2004-10-26  Angus Leeming  <leeming@lyx.org>
2494
2495         * Makefile.am: add mover.[Ch].
2496
2497         * converter.C (convert, move): use the new Movers to move external
2498         files to the temp directory.
2499
2500         * lyx_main.C (init): ensure that the global system_movers data
2501         is initialised.
2502
2503         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2504         preferences file.
2505
2506         * mover.[Ch]: new files, defining a Mover as a utility to move an
2507         external file between directories and, if necessary, manipulate this
2508         file using a helper script.
2509
2510 2004-10-25  José Matos  <jamatos@lyx.org>
2511
2512         * output_docbook.C (makeCommand): merge two if's that tested the
2513         same condition.
2514
2515 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * sgml.C (escapeString): fix warning in a better way
2518
2519 2004-10-25  José Matos  <jamatos@lyx.org>
2520
2521         * sgml.C (escapeString): import the require boosts header file for
2522         tie, and avoid a signed unsigned comparison.
2523
2524 2004-10-25  José Matos  <jamatos@lyx.org>
2525
2526         * sgml.h: add #include <string>
2527
2528 2004-10-25  José Matos  <jamatos@lyx.org>
2529
2530         * sgml.[Ch] (escapeString): new function to escape all the string.
2531
2532 2004-10-24  José Matos  <jamatos@lyx.org>
2533
2534         * paragraph.[Ch] (getFirstWord): new function to get the first
2535         word. Useful for description.
2536         (simpleDocBookOnePar): remove depth argument, add another that
2537         says where to start the paragraph.
2538
2539         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2540         use the new functions to fix cleanly the support for descriptions.
2541
2542 2004-10-24  José Matos  <jamatos@lyx.org>
2543
2544         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2545         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2546         * output_linuxdoc.C (linuxdocParagraphs):
2547         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2548         add buffer as argument.
2549
2550 2004-10-24  José Matos  <jamatos@lyx.org>
2551
2552         * output_docbook.C (makeEnvironment, searchEnvironment): place
2553         CDATA inside paragraphs and fix scope for listitems.
2554
2555 2004-10-24  José Matos  <jamatos@lyx.org>
2556
2557         * output_docbook.C: remove using statement for stack.
2558
2559 2004-10-23  José Matos  <jamatos@lyx.org>
2560
2561         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2562         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2563         docbook. The new scheme is recursive and makes use of iterators, the
2564         same as latex export works.
2565         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2566         directly with the paragraph contents. This code was moved up to
2567         output_docbook.C (docbookParagraphs).
2568         * sgml.C (openTag, closeTag): removed unneeded newlines.
2569         (closeEnvTags) removed.
2570
2571 2004-10-23  André Pönitz  <poenitz@gmx.net>
2572
2573         * undo.C (textUndoOrRedo):
2574         * dociterator.C (asDocIterator): work around crash
2575
2576         * cursor.C (getStatus): replace ASSERT by more verbose error message
2577           and manual correction of the problem. Should increase stability
2578           while providing more sensible information.
2579
2580 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2581
2582         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2583
2584         * bufferlist.C (previous, next): new methods
2585
2586         * lfuns.h:
2587         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2588
2589 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2590
2591         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2592         entities to preamble.
2593
2594 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2595
2596         * messages.C (Pimpl): strip off translation context information
2597
2598 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2599
2600         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2601         the cursor is correct (bug 1694)
2602
2603 2004-10-13  José Matos  <jamatos@lyx.org>
2604
2605         * output_docbook.C (docbookParagraphs): fix closing tags in the
2606         end of the document.
2607
2608 2004-10-09  José Matos  <jamatos@lyx.org>
2609
2610         * buffer.C: format up to 237.
2611         * bufferparams.C (write): use tostr to convert booleans to strings.
2612
2613 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2614
2615         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2616
2617 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2618
2619         * LaTeX.C: implement use of babel language in xindy.
2620
2621 2004-10-05  José Matos  <jamatos@lyx.org>
2622
2623         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2624         Add new translators to help reading and writing the lyx file.
2625
2626 2004-10-05  José Matos  <jamatos@lyx.org>
2627
2628         * ParagraphParameters.C (read):
2629         * text.C (readParToken): replace nexToken by more appropriate lex
2630         methods.
2631
2632 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2633
2634         * LaTeX.C (runMakeIndex):
2635         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2636         (usually 'makeindex') configurable.
2637
2638         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2639         with a variable rather than with a number.
2640
2641 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2642
2643         * output_latex.C (TeXOnePar): make sure font setting is the first
2644         thing that gets output (and the last at the end). Should fix bug
2645         1404.
2646
2647 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2648
2649         * pch.h: use proper signal include
2650
2651         * LaTeX.h: Use preferred calling of Boost.Signal
2652         * buffer.h: ditto
2653
2654 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * pch.h: dont include <boost/function/function0.hpp>
2657
2658         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2659
2660         * paragraph_pimpl.h: remove usage of ShareContainer
2661
2662         * paragraph_pimpl.C: remove initialization of ShareContainer.
2663
2664 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         Fix bug #1666
2667
2668         * BufferView.C (putSelectionAt): change the semantics when
2669         backwards == true: now, this just swaps cursor and anchor wrt the
2670         forward case
2671
2672         * BufferView.h (putSelectionAt): add some documentation
2673
2674         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2675         make sure backwardChar is done at least once (to avoid getting
2676         stuck)
2677         (findNextChange): use putSelectionAt in the forward direction
2678         (operator()): use Paragraph::isWord
2679
2680 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * Spacing.C (set): c_str fix
2683
2684 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * lyx_cb.C (Reconfigure): quote the name of configure script in
2687         case it contains spaces
2688
2689 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2690
2691         * client: new dir
2692
2693         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2694         (BOOST_LIBS): use top_buildir when looking for the file
2695
2696 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2697
2698         * pch.h: do not use include boost/format.hpp, multiple symbols
2699                 will result (gcc bug)
2700
2701
2702 2004-08-23  José Matos  <jamatos@lyx.org>
2703
2704         * bufferparams.C (readToken): fix reading of the author field.
2705
2706 2004-08-20  José Matos  <jamatos@lyx.org>
2707
2708         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2709
2710 2004-08-20  José Matos  <jamatos@lyx.org>
2711
2712         * lyxlex.[Ch] (findToken): remove function.
2713
2714         * ParagraphParameters.C (findToken):
2715         * bufferparams.C (findToken): replace call for previous function
2716         with local copy. This local function has one more argument, the
2717         read string argument.
2718
2719 2004-08-16  José Matos  <jamatos@lyx.org>
2720
2721         * ParagraphParameters.C (write):
2722         * Spacing.C (writeFile):
2723         * bufferparams.C (writeLaTeX):
2724         * lyx_cb.C (Reconfigure):
2725         * paragraph.C (write):
2726         * tabular.C (write): remove unnecessary space at end of line.
2727
2728
2729 2004-08-16  José Matos  <jamatos@lyx.org>
2730
2731         * text.C (readParagraph): remove debug message.
2732
2733 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2734
2735         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2736         crash
2737
2738         * output_plaintext.C (asciiParagraph): set depth correctly
2739
2740         * outputparams.h: add member depth
2741
2742         * paragraph_funcs.C (ownerPar): remove.
2743
2744         * text2.C (setCounter): remove first_pit; comment out some
2745         non-working code that uses ownerPar
2746
2747         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2748         uses ownerPar
2749
2750 2004-08-16  José Matos  <jamatos@lyx.org>
2751
2752         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2753         For the same level of importance use the same chanel to report problems.
2754         (read): add code to deal with \begin_body and \end_body.
2755
2756
2757 2004-08-15  José Matos  <jamatos@lyx.org>
2758
2759         * lyxlex.C (getString): fix comment, buffer::readBody is now
2760         buffer:readDocument.
2761
2762         * tex-strings.C (string_papersize): Default -> default,
2763         Custom -> custom, for consistency with other options.
2764
2765 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * pch.h: new file
2768
2769         * Makefile.am: support pch
2770
2771 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * text.C (readParToken): remove the static LyXFont variable and
2774         pass it as a parameter instead. This fixes a nasty bug where an
2775         inset will be inserted with a bad font in some situations
2776         (readParagraph): adapt
2777
2778         * text2.C (setCounter): reduce number of calls to pars_[pit]
2779
2780         * text.C (singleWidth): add an assert, fix a test
2781
2782         * rowpainter.C (paintText): reduce number of calls to singleWidth
2783
2784         * paragraph.C (isHfill):
2785         (isNewline): ws only
2786
2787 2004-08-14  André Pönitz  <poenitz@gmx.net>
2788
2789         * text.C:
2790         * text2.C:
2791         * rowpainter.C:
2792         * lyxtext.h (several functions): use a Paragraph & argument
2793         instead of par_type
2794
2795 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2796
2797         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2798
2799         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2800
2801         * text.C (singleWidth): remove useless test
2802
2803 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2804
2805         * tabular.h: remove bogus comments
2806
2807         * tabular.C (getDescentOfRow):
2808         (isPartOfMultiColumn): add assertions
2809
2810         * lyxlength.C (inPixels): remove #warning
2811
2812 2004-08-14  André Pönitz  <poenitz@gmx.net>
2813
2814         * paragraph.h: inline getChar()
2815
2816         * BufferView.h: remove unused declarations
2817
2818 2004-08-14  José Matos  <jamatos@lyx.org>
2819
2820         * Buffer.[Ch] (readDocument): new name for old readBody.
2821         * Buffer.C: new file format, new keywords: \begin_document,
2822         \begin_header, \begin_body, \end_body.
2823
2824         * bufferparams.C (readToken): replace all calls to lex.nextToken
2825         by lex.next(). Do the same to eatLine except where really needed.
2826
2827         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2828         line when writing to the lyx file.
2829
2830         * output_plaintext.C (asciiParagraph): fix Bibliography style
2831         handling.
2832
2833         * text.C (read): fix end of file handling.
2834
2835 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * MenuBackend.C (Menu::operator[]): new method to access
2838         individual menu items
2839         (Menu::hasFunc): new method. search for an item that corresponds
2840         to a given func
2841         (MenuBackend::specialMenu): new method
2842         (MenuBackend::expand): if a special menu has been set, skip
2843         entries whose func() appears in this menu
2844
2845 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2846
2847         * text3.C: use Debug::DEBUG a bit more
2848
2849         * text.C (leftMargin): try to simplify a tiny bit change var x to
2850         l_margin. Dont output the wide margins always.
2851         (rightMargin): no margin in inner texts
2852
2853         * rowpainter.h (nestMargin): new func
2854         (changebarMargin): new func
2855         (rightMargin): new func
2856
2857         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2858         now functions.
2859         (paintLast): ditto
2860
2861         * factory.C (createInset): modify setDrawFrame
2862
2863         * cursor.C: use Debug::DEBUG a bit more
2864
2865 2004-08-14  André Pönitz  <poenitz@gmx.net>
2866
2867         * coordcache.[Ch]:
2868         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2869         cache for all insets in (at least partially) visible (top-level)
2870         paragraphs.
2871
2872         * BufferView_pimpl.C: reset external coord cache before every update.
2873         This means the coord cache only contains valid entries.
2874
2875 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2876
2877         bug 1096
2878         * BufferView_pimpl.C (getInsetByCode): move function out of class
2879         and change in to a template in anon namespace. Also fix to do what
2880         suits us better.
2881
2882 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2883
2884         bug 1305
2885         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2886         of char
2887         (breakParagraph): rename par to par_offset and use a local
2888         reference. Add code to keep the language over a rebreak.
2889         (breakParagraphConservative): rename par to par_offset, use a
2890         local reference
2891         (mergeParagraph): ditto
2892         (outerHook): ditto
2893         (isFirstInSequence): ditto
2894         (outerFont): rename pit to par_offset
2895
2896         * paragraph.C: ws change
2897         * paragraph.h: ditto
2898         * text3.C: ditto
2899         * text.C: ditto
2900
2901 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2904         treatment for ']'
2905
2906         * paragraph.C (simpleTeXOnePar): when we have a \item with
2907         optional argument, enclose the argument with curly brackets (in
2908         case it contains a closing square bracket)
2909
2910         * text2.C (editXY):
2911         * text2.C (editXY):
2912         * text3.C (checkInsetHit): constify
2913
2914 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2917         documents (bug 1629)
2918
2919 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2920
2921         Fix toggling of collapsable insets with the mouse (bug 1558)
2922
2923         * lyxfunc.C (dispatch): adapt to LCursor changes
2924
2925         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2926         make sure that dispatch is not invoked twice
2927
2928         * cursor.C (needsUpdate): new method
2929         (dispatch): return void
2930         (result): new method, to access the DispatchResult of the cursor.
2931
2932 2004-08-13  José Matos  <jamatos@lyx.org>
2933
2934         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2935
2936 2004-08-13  André Pönitz  <poenitz@gmx.net>
2937
2938         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2939
2940         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2941           multiple cells
2942
2943 2004-08-12  André Pönitz  <poenitz@gmx.net>
2944
2945         * text3.C: take out the 'cursor right' form insertInset and only
2946         do it in those places when it is really needed. Fixes crash on
2947         C-m...
2948
2949 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2950
2951         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2952
2953         * BufferView_pimpl.C (setBuffer): initialize the current font of
2954         the underlying LyXText
2955
2956 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2957
2958         * kbsequence.C (print): use UI native formatting for menu
2959         shortcuts
2960
2961         * text.C (insertChar): call Paragraph::insertChar with a font
2962         argument (cosmetic)
2963
2964         * paragraph.C (insertInset, insertChar): the version that takes a
2965         LyXFont argument is now a wrapper around the other one (the
2966         opposite used to be true).
2967
2968         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2969         argument. Font setting is done in Paragraph now.
2970
2971 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2972
2973         * outputparams.h: add new members intitle and lang.
2974
2975         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2976         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2977
2978 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * text3.C (dispatch): remove special handling of button 4 and 5,
2981         it is now taken care of in the frontend code.
2982
2983 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2984
2985         * Spacing.h: add <string> (STLPort compile fix)
2986
2987 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2988
2989         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2990
2991 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2994         to bool.
2995
2996         * converter.C (showMessage): inherit from unary_function, make
2997         operator() const.
2998
2999         * buffer.C (writeFile): initialize retval
3000
3001         * InsetList.h: rename private variable list to list_
3002         * InsetList.[Ch]: adjust accordingly.
3003
3004 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3005
3006         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3007         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3008         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3009         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3010         * ParagraphParameters.C, LaTeXFeatures.C: replace
3011         "support/std_sstream.h" with <sstream>
3012
3013 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3016         * lyxsocket.C (LyXServerSocket): ditto
3017         (serverCallback): ditto
3018
3019 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3020
3021         * LaTeXFeatures.C: check release date when loading jurabib.
3022
3023 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * lyxserver.C (startPipe): call register_socket_callback
3026         (endPipe): call unregister_socket_callback
3027
3028 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3031         (LyXServerSocket): register the callback
3032         (LyXServerSocket): unregister the callback
3033         (fd): delete function
3034         (serverCallback): improve error checking and setup the callbacks.
3035         (dataCallback): change arg to fd.
3036         (writeln): new func (copied fro the client socket) used for server
3037         write to client.
3038         (LyXDataSocket): simplify
3039         (~LyXDataSocket): close ann unregiser callback
3040         (server): delete function
3041         (fd): delete function
3042         (readln): small changes, improve some std::string usage
3043         (writeln): constify a bit
3044
3045 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3046
3047         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3048         Qt frontend
3049
3050 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3051
3052         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3053         after it has been populated
3054
3055 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3056
3057         * text2.C (insertInset): move cursor when inserting inset.
3058
3059 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3060
3061         * kbmap.C (findbindings): a couple of new methods. returns a
3062         container of kb_sequence objects. The real work is done by the
3063         private recursive version
3064         (printbindings): uses findbindings to print out a bracketed list
3065         of bindings (renamed from findbinding).
3066
3067         * MenuBackend.C (binding): use kb_keymap::findbindings
3068
3069         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3070
3071 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3072
3073         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3074
3075 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         * paragraph.C (isWord): return true on insets that report
3078         isLetter().
3079
3080         * text.C (getWord): use Paragraph::isWord to decide what is in a
3081         word and what is not; fix bug 1609.
3082
3083 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3084
3085         * tex-strings.C: add "none" to string_paperpackages[], fixes
3086         off-by-one-error in the paperpackage selection.
3087
3088         * lyxlex.[Ch]:
3089         * tex-strings.[Ch]: char const * string[n]
3090         -> char const * const string[]
3091
3092 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3093
3094         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3095         command, return early.
3096
3097 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3098
3099         * debug.h: add DEBUG to enum and fix size of ANY.
3100
3101         * debug.C: add support for Debug::DEBUG
3102         (showTags): cast errorTags.level to unsigned int
3103
3104         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3105         (redoCurrentBuffer): ditto
3106         (updateScrollbar): ditto
3107         * cursor.C (dispatch): ditto
3108         * text2.C (setLayout): ditto
3109         (setFont): ditto
3110         (updateCounters): ditto
3111         (editXY): ditto
3112         (deleteEmptyParagraphMechanism): ditto
3113
3114 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3117         annotations to cleanup the Makefile slightly.
3118
3119 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3120
3121         * lyxrc.C: do not set user_email to a default value but use empty
3122         instead. The entry used to be translated, which does not work
3123         since at the point where lyxrc is constructed there is no
3124         translation service available
3125
3126         * messages.C (getLocaleDir): remove and use directly
3127         lyx_localedir() instead
3128
3129 2004-06-02  Angus Leeming  <leeming@lyx.org>
3130
3131         Fix crash caused by dereferencing null pointer 'exportdata' in
3132         OutputParams by creating a new ExportData variable on the heap,
3133         storing it in a boost::shared_ptr.
3134         The crash was triggered when generating an Instant Preview
3135         of an external inset.
3136
3137         * Makefile.am: add outputparams.C
3138
3139         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3140         (c-tor): allocate memory to it.
3141
3142         * exporter.C (c-tor): associated changes.
3143
3144 2004-06-01  Angus Leeming  <leeming@lyx.org>
3145
3146         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3147         contains data before calling isInset(0). (Bug 1513.)
3148
3149 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3150
3151         * exporter.C (checkOverwrite): new method
3152         * exporter.C (copyFile): new method
3153         * exporter.C (Export): copy referenced files to the document dir
3154         * exporter.[Ch]: new class ExportedFile
3155         * exporter.[Ch]: new class ExportData. Contains currently the
3156         names of referenced external files
3157         * outputparams.h: add exportdata member.
3158
3159 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3162         version.C-tmp
3163
3164 2004-05-19  Angus Leeming  <leeming@lyx.org>
3165
3166         * LaTeXFeatures.C:
3167         * ToolbarBackend.C:
3168         * bufferparams.C:
3169         * lyxfunc.C: small changes due to the introduction of namespace
3170         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3171
3172 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3173
3174         * text3.C (dispatch): supress update when only moving the cursor
3175         * cursor.C (selHandle): remove commented code
3176
3177 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3178
3179         * paragraph.C (startTeXParParams): correct column count
3180         * CutAndPaste.C (pasteSelection): remove const_cast
3181         * output_docbook.C (docbookParagraphs): remove const_cast
3182         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3183         const_cast and return ParagraphList::const_iterator
3184         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3185         * output_plaintext.C (writeFileAscii): remove const_cast
3186         * paragraph.[Ch] (simpleTeXOnePar): make const
3187         * paragraph_funcs.C (outerPar): use const iterators
3188         * paragraph_pimpl.C (validate): use const iterators
3189         * text.C (setHeightOfRow): use const iterators
3190
3191 2004-05-17  Angus Leeming  <leeming@lyx.org>
3192
3193         * lfuns.h:
3194         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3195
3196         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3197         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3198         if the citation engine has changed.
3199
3200 2004-05-14  José Matos  <jamatos@lyx.org>
3201
3202         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3203         if the textclass does not provide it. Have it different for sgml and
3204         xml.
3205         support the language of document.
3206         * output_docbook.C (docbookParagraphs):
3207         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3208         first anchor as the id of the paragraph, remove special case code.
3209         * sgml.C (escapeChar): escape only < & >.
3210
3211 2004-05-14  Angus Leeming  <leeming@lyx.org>
3212
3213         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3214         dependencies on src/frontends/controllers/biblio.h. Define a
3215         CiteEngine_enum wrapper class to enable the enum to be forward
3216         declared.
3217
3218 2004-05-12  Angus Leeming  <leeming@lyx.org>
3219
3220         * buffer.C: up LYX_FORMAT to 234.
3221         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3222         use_numerical_citations with a single biblio::CiteEngine cite_engine
3223         variable.
3224         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3225
3226 2004-05-13  José Matos  <jamatos@lyx.org>
3227
3228         * converter.h:
3229         * converter.C (Converter, readFlags): add xml member.
3230         * outputparams.h: add XML flavor.
3231         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3232
3233 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3234
3235         * lyxfunc.C (dispatch):
3236         (getStatus): fix handling of LFUN_SEQUENCE
3237
3238 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3239
3240         * debug.C (showLevel): do not forget the end-of-line marker
3241
3242 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3243
3244         * kbmap.C (read): do not stop parsing a bind file when an error
3245         occurs (bug 1575)
3246
3247 2004-04-29  Angus Leeming  <leeming@lyx.org>
3248
3249         * cursor.C:
3250         * factory.C:
3251         * pariterator.C:
3252         * text2.C: wrap a bunch of #warning statements
3253         inside #ifdef WITH_WARNINGS blocks.
3254
3255 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3256
3257         * buffer.C: increment format to 233.
3258
3259 2004-04-28  Angus Leeming  <leeming@lyx.org>
3260
3261         * BufferView_pimpl.C:
3262         * lyxfunc.C:
3263         * text3.C:
3264         s/updateToolbar()/updateToolbars()/
3265         s/Toolbar.h/Toolbars.h/
3266
3267 2004-04-28  Angus Leeming  <leeming@lyx.org>
3268
3269         * BufferView.[Ch] (c-tor):
3270         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3271         No longer passes these data to the WorkArea generator.
3272
3273 2004-04-28  Angus Leeming  <leeming@lyx.org>
3274
3275         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3276
3277 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3278
3279         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3280
3281 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3282
3283         * output_latex.C (TeXEnvironment): make sure that there is a line
3284         break before \end{foo} for the last paragraph of a document
3285         (TeXOnePar): if the paragraph is at the end of the document (or
3286         inset) and the language has to be reset, then make sure that the
3287         line break is _before_ the language command, not after (fixes bug
3288         1225); also make sure that the language reset command is the first
3289         thing after the paragraph (to ensure proper nesting of
3290         environments and thus fix bug 1404)
3291
3292 2004-04-21  John Levon  <levon@movementarian.org>
3293
3294         * ToolbarBackend.h:
3295         * ToolbarBackend.C: make "name" be a programmatic name
3296         and a gui_name field.
3297
3298         * lyxfunc.C: display the minibuffer on M-x
3299
3300 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3301
3302         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3303         (bug 1526)
3304
3305 2004-04-19  Angus Leeming  <leeming@lyx.org>
3306
3307         * BufferView_pimpl.C (setBuffer): changed preview interface.
3308
3309         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3310         possible values.
3311
3312 2004-04-19  John Levon  <levon@movementarian.org>
3313
3314         * BufferView_pimpl.C:
3315         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3316
3317 2004-04-05  Angus Leeming  <leeming@lyx.org>
3318
3319         * text.C (redoParagraphs): add call to updateCounters(), thereby
3320         fixing the missing "Figure #:" label from the caption of a
3321         figure float.
3322
3323 2004-04-13  Angus Leeming  <leeming@lyx.org>
3324
3325         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3326         cursor is clicked out of an inset.
3327
3328 2004-04-13  Angus Leeming  <leeming@lyx.org>
3329
3330         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3331         than an InsetOld one.
3332
3333 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3334
3335         * format.[Ch]: add editor to Format
3336         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3337         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3338
3339 2004-04-08  André Pönitz  <poenitz@gmx.net>
3340
3341         * metricsinfo.h: remove PainterInfo::width member
3342
3343 2004-04-08  Angus Leeming  <leeming@lyx.org>
3344
3345         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3346         "\providecommand" rather than "\newcommand", thereby preventing
3347         clashes with packages that define "\boldsymbol" themselves.
3348         Eg, beamer.
3349
3350 2004-04-08  Angus Leeming  <leeming@lyx.org>
3351
3352         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3353         thereby squashing an unnecessary warning.
3354
3355 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3356
3357         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3358         setBuffer()
3359
3360 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3361
3362         * BufferView.C (setCursor): call redoParagraph (some insets could
3363         have been opened)
3364         (putSelectionAt): remove the 'double update' trick
3365
3366         * BufferView_pimpl.C (fitCursor): call refreshPar
3367         (workAreaDispatch): remove an uneeded update call
3368         (dispatch): remove some manual update calls
3369
3370         * cursor.[Ch]: remove cached_y_, updatePos
3371         (selHandle): set noUpdate when appropriate
3372
3373         * lyxfunc.C (dispatch): track if we need an update
3374
3375         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3376
3377         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3378         (paintSelection): cheap optimization, do not call cursorX when not
3379         needed
3380         (paintPars): change signature
3381         (refreshPar): add
3382         (paintText): adjust
3383         (paintTextInset): adjust
3384
3385         * text.C: adjust
3386
3387 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3388
3389         * lengthcommon.C: compilation fix: remove explicit array size from
3390         unit_name[] and friends
3391
3392 2004-04-05  Angus Leeming  <leeming@lyx.org>
3393
3394         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3395
3396         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3397         present only for the preferences dialog.
3398         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3399
3400 2004-04-05  Angus Leeming  <leeming@lyx.org>
3401
3402         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3403         to enable the frontends to export changes to lyxrc correctly.
3404
3405         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3406
3407 2004-04-07  André Pönitz  <poenitz@gmx.net>
3408
3409         * cursor.[Ch] (selClear, adjust): remove math
3410
3411         * cursor_slice.C: more agressive assert
3412
3413         * lyxfunc.C:
3414         * BufferView_pimpl.C: rework mouse event dispatch
3415
3416         * dociterator.C:
3417         * paragraph.C:
3418         * text2.C:
3419         * text3.C: adjust
3420
3421 2004-04-05  André Pönitz  <poenitz@gmx.net>
3422
3423         * cursor.[Ch] (valign, halign...): remove unneeded functions
3424
3425 2004-04-05  Angus Leeming  <leeming@lyx.org>
3426
3427         * lyxlength.[Ch] (unit_name et al.): const-correct.
3428
3429 2004-04-05  Angus Leeming  <leeming@lyx.org>
3430
3431         * BufferView_pimpl.C:
3432         * buffer.C:
3433         * counters.C:
3434         * cursor.C:
3435         * lyxfunc.C
3436         * paragraph.C:
3437         * pariterator.C:
3438         * text.C:
3439         * text2.C:
3440         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3441
3442 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3445
3446 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3449         * BufferView_pimpl.[Ch] (getStatus)
3450         * BufferView.[Ch] (getStatus): add
3451         * lyxfunc.C (getStatus): move lfuns handled in
3452         BufferView::dispatch to te function above
3453         * Cursor.C (setSelection): set selection() = true
3454
3455 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3458
3459 2004-03-31  Angus Leeming  <leeming@lyx.org>
3460
3461         * lyxfunc.C (dispatch): Fall through to the generic
3462         Dialogs::show("preamble").
3463
3464 2004-03-31  Angus Leeming  <leeming@lyx.org>
3465
3466         * lyxfunc.C (dispatch): Fall through to the generic
3467         Dialogs::show("spellchecker").
3468
3469 2004-03-31  Angus Leeming  <leeming@lyx.org>
3470
3471         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3472         preferences dialog.
3473
3474 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3475
3476         * BufferView.C
3477         * cursor.[Ch]
3478         * dociterator.[Ch]:
3479         * insetiterator.[Ch]:
3480         * lyxfind.C:
3481         * lyxfunc.C:
3482         * pariterator.[Ch]:
3483         * text2.C:
3484         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3485
3486 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3487
3488         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3489         insets where we are putting the cursor.
3490
3491 2004-03-31  Angus Leeming  <leeming@lyx.org>
3492
3493         * lfuns.h:
3494         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3495
3496         * lyxrc.[Ch] (read, write): overloaded member functions taking
3497         a std::[io]stream arguments.
3498
3499         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3500
3501 2004-03-31  Angus Leeming  <leeming@lyx.org>
3502
3503         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3504         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3505
3506         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3507         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3508
3509 2004-03-31  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3512         the LFUN_ALL_INSETS_TOGGLE code.
3513
3514 2004-03-30  Angus Leeming  <leeming@lyx.org>
3515
3516         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3517         has died. Fall through to the generic Dialogs::show("document").
3518
3519 2004-03-30  Angus Leeming  <leeming@lyx.org>
3520
3521         * lfuns.h:
3522         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3523         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3524
3525         * lyxfunc.C (getStatus, dispatch): define the actions for these
3526         lfuns. Little more than a cut and pste job from ControlDocument.C
3527
3528         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3529
3530 2004-03-30  Angus Leeming  <leeming@lyx.org>
3531
3532         * lfuns.h:
3533         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3534         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3535
3536         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3537         open/closed state of ollapsable insets. Usage:
3538
3539         all-inset-toggle <state> <name>, where
3540         <state> == "open" || "closed" || "toggle" and
3541         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3542
3543         * lyxtext.h, text2.C (toggleInset): removed.
3544
3545         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3546         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3547         now passes LFUN_INSET_TOGGLE to the found inset.
3548
3549         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3550         is now invoked as "all-insets-toggle toggle branch".
3551
3552 2004-03-30  Angus Leeming  <leeming@lyx.org>
3553
3554         * dociterator.C:
3555         * insetiterator.C:
3556         * pariterator.[Ch]: added/corrected header blurb.
3557
3558 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3559
3560         * dociterator.[Ch]: add an inset_ member
3561         (backwardPos): implemented
3562         (backwardPos, forwardPos): use inset_ when the stack is empty.
3563         (doc_iterator_begin, doc_iterator_end): implemented
3564         * pariterator.[Ch]: adjust, add begin, end
3565         * insetiterator.[Ch]: adjust, add begin, end
3566         * cursor.C:
3567         * document.C:
3568         * BufferView.C:
3569         * BufferView_pimpl.C:
3570         * CutAndPaste.C: adjust
3571
3572 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3573
3574         * buffer.C: increment file format to 232.
3575         * LaTeXFeatures.C: add bibtopic package.
3576         * bufferparams.[Ch]: param \use_bibtopic.
3577
3578         * lyxrc.[Ch]: add lyxrc bibtex_command
3579         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3580
3581         * buffer.C: increment file format to 231.
3582
3583 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * dociterator.C: implement forwardPar
3586         * iterators.[Ch]: remove, replaced by
3587         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3588         * BufferView.C:
3589         * BufferView_pimpl.C:
3590         * CutAndPaste.C:
3591         * buffer.C:
3592         * bufferview_funcs.C:
3593         * cursor.C:
3594         * lyxfind.C
3595         * lyxfunc.C
3596         * paragraph_funcs.C
3597         * toc.C:
3598         * Makefile.am: adjust
3599
3600 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3601
3602         * CutAndPaste.C (pasteSelection): fix 2 crashes
3603         (eraseSelection): fix a crash
3604         * paragraph_funcs.C: remove a warning
3605
3606 2004-03-28  Angus Leeming  <leeming@lyx.org>
3607
3608         * lfuns.h:
3609         * LyXAction.C (init): new LFUN_PRINT.
3610
3611         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3612
3613 2004-03-27  Angus Leeming  <leeming@lyx.org>
3614
3615         * lfuns.h:
3616         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3617
3618         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3619
3620 2004-03-27  Angus Leeming  <leeming@lyx.org>
3621
3622         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3623         insetlist always contains non-null pointers to insets.
3624
3625 2004-03-26  Angus Leeming  <leeming@lyx.org>
3626
3627         * src/BufferView_pimpl.C:
3628         * src/CutAndPaste.C:
3629         * src/buffer.C:
3630         * src/iterators.C:
3631         * src/output_plaintext.C:
3632         * src/outputparams.h:
3633         * src/paragraph_funcs.C:
3634         * src/rowpainter.C:
3635         * src/text.C:
3636         * src/text2.C:
3637         * src/frontends/controllers/ControlErrorList.C:
3638         * src/frontends/gtk/FileDialogPrivate.C:
3639         * src/frontends/gtk/GPainter.C:
3640         * src/frontends/gtk/GToolbar.C:
3641         * src/frontends/qt2/QRef.C:
3642         * src/mathed/math_scriptinset.C: squash compiler warnings.
3643
3644 2004-03-26  Angus Leeming  <leeming@lyx.org>
3645
3646         * ispell.C (LaunchIspell::start):
3647         * lyx_cb.C (AutoSaveBuffer::start):
3648         invoke run(DontWait) rather than runNonBlocking().
3649
3650 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3653
3654 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3655
3656         * kbsequence.C (print): adjust
3657
3658         * kbmap.C (printKeySym): rename and change signature
3659         (printKey): use LyXKeySym::print()
3660
3661 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3662
3663         * undo.C: add using std::advance to compile for stlport
3664
3665 2004-03-24  Angus Leeming  <leeming@lyx.org>
3666
3667         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3668         it leads to a crash when no buffer is present.
3669
3670 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3671             Martin Vermeer  <martin.vermeer@hut.fi>
3672
3673         * lyxfunc.C (dispatch):
3674         * bufferparams.C (readToken): use the new LColor::setColor
3675
3676         * LColor.[Ch] (setColor): new version that takes two strings as
3677         argument and creates a new color entry if necessary
3678
3679 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3680
3681         * buffer.C (makeLaTeXFile): if the main latex file that is
3682         processed is usually a subdocument of some master, then pretend
3683         for a while that it is actually the master
3684
3685 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3686
3687         * buffer.C (getLabelList):
3688         (getBibkeyList): use getMasterBuffer()
3689         (getMasterBuffer): new method. Returns the main document in the
3690         case where one is using included documents.
3691
3692 2004-03-25  André Pönitz  <poenitz@gmx.net>
3693
3694         * Makefile.am:
3695         * iterators.[Ch]:
3696         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3697
3698         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3699
3700         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3701         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3702
3703         * ParameterStruct.h: merge with ParagraphParameters
3704
3705         * lyxtext.h: remove LyXText::parOffset() and getPar()
3706
3707         * text3.C: Remove all 'manual' update calls. We do now one per user
3708         interaction which is completely sufficient.
3709
3710         * Bidi.C:
3711         * BufferView.[Ch]:
3712         * BufferView_pimpl.C:
3713         * FontIterator.[Ch]:
3714         * MenuBackend.C:
3715         * ParagraphParameters.[Ch]:
3716         * buffer.C:
3717         * buffer.h:
3718         * bufferlist.C:
3719         * cursor.[Ch]:
3720         * cursor_slice.[Ch]:
3721         * dociterator.[Ch]:
3722         * errorlist.[Ch]:
3723         * factory.C:
3724         * lfuns.h:
3725         * lyxfind.C:
3726         * lyxfunc.C:
3727         * output_docbook.[Ch]:
3728         * output_latex.[Ch]:
3729         * output_linuxdoc.[Ch]:
3730         * output_plaintext.[Ch]:
3731         * paragraph.[Ch]:
3732         * paragraph_funcs.[Ch]:
3733         * paragraph_pimpl.[Ch]:
3734         * rowpainter.C:
3735         * tabular.[Ch]:
3736         * text.C:
3737         * text2.C:
3738         * toc.C:
3739         * undo.[Ch]: adjust
3740
3741         * frontends/controllers/ControlDocument.C:
3742         * frontends/controllers/ControlErrorList.C:
3743         * frontends/controllers/ControlSpellchecker.C:
3744         * insets/inset.C:
3745         * insets/inset.h:
3746         * insets/insetbase.h:
3747         * insets/insetbibitem.C:
3748         * insets/insetbox.C:
3749         * insets/insetbranch.C:
3750         * insets/insetcaption.C:
3751         * insets/insetcharstyle.C:
3752         * insets/insetcharstyle.h:
3753         * insets/insetcollapsable.C:
3754         * insets/insetcollapsable.h:
3755         * insets/insetert.C:
3756         * insets/insetfloat.C:
3757         * insets/insetfoot.C:
3758         * insets/insetmarginal.C:
3759         * insets/insetnote.C:
3760         * insets/insetoptarg.C:
3761         * insets/insettabular.C:
3762         * insets/insettext.C:
3763         * insets/insettext.h:
3764         * insets/insetwrap.C:
3765         * mathed/math_mboxinset.C:
3766         * mathed/math_nestinset.C:
3767         * mathed/math_scriptinset.C:
3768         * mathed/math_scriptinset.h:
3769         * support/types.h:
3770
3771 2004-03-24  Angus Leeming  <leeming@lyx.org>
3772
3773         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3774         deal with any child processes that have finished but are waiting to
3775         communicate this fact to the rest of LyX.
3776
3777 2004-03-24  Angus Leeming  <leeming@lyx.org>
3778
3779         64-bit compile fixes.
3780
3781         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3782         (c-tor): pass lyx::pos_types rather than ints.
3783
3784         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3785         lyx::pos_type.
3786
3787         * text.C (Delete): compile fix.
3788         (getPar): ensure that function declaration is the same as that in
3789         the header file.
3790
3791 2004-03-23  Angus Leeming  <leeming@lyx.org>
3792
3793         * ispell.C (LaunchIspell):
3794         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3795         a boost::shred_ptr rather than a std::auto_ptr.
3796
3797 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3798
3799         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3800         handle LFUN_FILE_INSERT_*
3801
3802         * lyxrc.C (setDefaults, getDescription, output, read):
3803         * lyxrc.h: remove ps_command
3804
3805 2004-03-22  Angus Leeming  <leeming@lyx.org>
3806
3807         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3808         Ensure that error_handler is processed once only and that all data
3809         is saved before attempting to output any warning messages.
3810
3811         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3812
3813 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3814
3815         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3816
3817 2004-03-19  André Pönitz  <poenitz@gmx.net>
3818
3819         * cursor.[Ch] (reset): take main text inset as argument
3820
3821         * BufferView: adjust
3822         * BufferView_pimpl.C: adjust
3823
3824         * paragraph.[Ch]: fix completely broken operator=()
3825
3826 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3827
3828         * LColor.C (getFromLyXName): make sure that the color name is used
3829         as lowercase.
3830
3831 2004-03-17  Angus Leeming  <leeming@lyx.org>
3832
3833         * lfuns.h:
3834         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3835
3836         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3837         dialog and to kill a forked process.
3838
3839 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3840
3841         * text2.C (setCursorFromCoordinates): fix font problem
3842
3843 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3846         bogus "rebuild cursor" code
3847
3848 2004-03-11  André Pönitz  <poenitz@gmx.net>
3849
3850         * buffer.[Ch]: use InsetText instead of LyXText as container for
3851         the main lyx text.
3852
3853         * dociterator.[Ch]: drop the BufferView * member which is not needed
3854         anymore after the change to buffer.C
3855
3856         * paragraph_funcs.C:
3857         * text.C:
3858         * text2.C:
3859         * BufferView.[Ch]:
3860         * BufferView_pimpl.[Ch]:
3861         * cursor.[Ch]:
3862         * cursor_slice.[Ch]: adjust
3863
3864         * text3.C: fix bug in mathDispatch
3865
3866 2004-03-08  André Pönitz  <poenitz@gmx.net>
3867
3868         * undo.[Ch]: use 'StableDocumentIterator' as base for
3869         the Undo struct.
3870
3871 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3872
3873         * LaTeXFeatures.C:
3874         * bufferparams.[Ch]: add jurabib support and param.
3875
3876         * LaTeX.C: add FIXME/comment.
3877
3878 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3879
3880         * buffer.C: increment file format to 230.
3881
3882 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3883
3884         * cursor.C (dispatch): avoid infinite loops
3885
3886 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3887
3888         * rowpainter.C (paintSelection): fix x coordinates
3889
3890 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3891
3892         * text.C (rowBreakPoint): fix breaking before displayed insets
3893
3894 2004-03-01  André Pönitz  <poenitz@gmx.net>
3895
3896         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3897
3898         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3899
3900         * Makefile.am:
3901         * BufferView.C:
3902         * BufferView_pimpl.C:
3903         * buffer.C:
3904         * lyxfind.C:
3905         * lyxfunc.C:
3906         * text.C:
3907         * text2.C:
3908         * text3.C: adjust
3909
3910 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3911
3912         * lyxtext.h:
3913         * text.C:
3914         * text2.C:
3915         * rowpainter.C:
3916         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3917         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3918
3919 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3920
3921         * Bidi.[Ch] (computeTables): const correctness
3922         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3923         fill_hfill, fill_label_hfill and x from Row
3924         * lyxtext.h: prepareToPrint returns a RowMetrics
3925         * rowPainter.C: adjust
3926         * text.C (prepareToPrint): use width, not textWidth. adjust
3927         (redoParagraphInternal, cursorX): adjust
3928         * text2.C (getColumnNearX): adjust
3929         (init): put a default value to the top LyXText::width
3930
3931 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3932
3933         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3934
3935 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * lyxtext.h: add FontIterator class
3938
3939         * text.C (FontIterator, operator*, operator->, operator++): add
3940         (rowBreakPoint, setRowWidth): adjust (fixing a
3941         rebreaking bug)
3942
3943 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3944
3945         * BufferView_pimpl.C (workAreaDispatch): allow also
3946         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3947
3948 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * text.C (rowBreakPoint): fix a bug showing with very large insets
3951
3952 2004-02-25  André Pönitz  <poenitz@gmx.net>
3953
3954         * text3.C:
3955         * cursor.[Ch]: move some mathed specific code to mathed
3956
3957 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3958
3959         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3960         use_tempdir in preferences
3961         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3962         tempfile creation
3963         * lyx_main.C: ensure that tempdir is valid
3964         * lyxlex.h: correct typo
3965         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3966         * paragraph.[Ch] (isMultiLingual): make const
3967         * cursor.[Ch] (openable): make const
3968
3969 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3970
3971         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3972
3973 2004-02-20  André Pönitz  <poenitz@gmx.net>
3974
3975         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3976
3977         * cursor.[Ch]: prepare for localized getStatus()
3978
3979         * lyxtext.h:
3980         * tabular.C:
3981         * text.C:
3982         * text2.C:
3983         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3984
3985 2004-02-20  André Pönitz  <poenitz@gmx.net>
3986
3987         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3988
3989 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3990
3991         * text2.C (setCursorFromCoordinates): switch to absolute coords
3992         (cursorUp): adjust
3993         (cursorDown): adjust
3994         * text3.C (dispatch): adjust
3995
3996 2004-02-16  André Pönitz  <poenitz@gmx.net>
3997
3998         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3999           insets/ChangeLog)
4000
4001         * cursor_slice.[Ch]: remove unneeded acessor function
4002
4003         * lyxtext.h: rename rtl() to isRTL()
4004
4005         * rowpainter.C:
4006         * tabular.C:
4007         * text.C:
4008         * text2.C:
4009         * text3.C: adjust
4010
4011 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4012
4013         * rowpainter.C (paintSelection): coord fix
4014
4015 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4016
4017         * Spacing.C: compile fix
4018
4019 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4020
4021         * cursor.C (dispatch): restore current_ before returning
4022
4023 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * text2.C (cursorUp, cursorDown): fix coords
4026         (moveUp): fix crash
4027
4028 2004-02-12  André Pönitz  <poenitz@gmx.net>
4029
4030         * lyxtext.h:
4031         * text.C:
4032         * text2.C:
4033         * text3.C: add LCursor & parameter to most cursor movement functions
4034           remove usage of LyXText::cursorRow() and cursorPar()
4035
4036         * cursor.[Ch]: add textRow() needed members
4037
4038         * BufferView.C:
4039         * BufferView_pimpl.C:
4040         * paragraph.[Ch]:
4041         * BufferView.C:
4042         * BufferView_pimpl.C: adjust
4043
4044 2004-02-11  André Pönitz  <poenitz@gmx.net>
4045
4046         * lyxfunc.C:
4047         * BufferView.[Ch]:
4048         * BufferView_pimpl.C: shift undo/redo handling
4049
4050         * cursor.[Ch]: fix mathed crash
4051
4052         * lyxfind.C:
4053         * lyxtext.h: move selectionAsText to LCursor
4054
4055         * output_latex.C:
4056         * paragraph.C:
4057         * text.C:
4058         * text2.C:
4059         * text3.C: adjust
4060
4061         * rowpainter.C: fix excessive drawing
4062
4063 2004-02-06  André Pönitz  <poenitz@gmx.net>
4064
4065         * BufferView.[Ch]:
4066         * BufferView_pimpl.[Ch]:
4067         * text3.C: move some text specific LFUN handling
4068
4069 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4070
4071         * text3.C (checkInsetHit): adjust coords
4072         * text2.C (getColumnNearX): adjust coords
4073         (edit): adjust coords
4074         * text.C (getRowNearY): add two asserts
4075
4076 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4077
4078         * converter.C:
4079         * format.C: add using std::distance to compile on gcc 2.95/stlport
4080
4081 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4082
4083         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4084
4085 2004-02-04  André Pönitz  <poenitz@gmx.net>
4086
4087         * BufferView.[Ch] (insertInset):
4088         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4089
4090         * text2.C:
4091         * text3.C: adjust
4092
4093 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4096         on the default clause of the switch
4097         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4098         wasn't catched by LCursor::dispatch
4099
4100 2004-02-03  André Pönitz  <poenitz@gmx.net>
4101
4102         * BufferView.C:
4103         * cursor.[Ch]: some additional asserts
4104
4105         * undo.[Ch]: remove LyXText dependency in interface
4106
4107         * lyxfunc.C: adjust
4108
4109         * lyxtext.h (firstPar, lastPar): remove dead functions
4110
4111         * text.C:
4112         * text2.C:
4113         * text3.C:
4114         * paragraph.[Ch]: adjust
4115
4116 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4117
4118         * lyxfind.C (find): fix argument order in call to ::find
4119
4120 2004-02-02  André Pönitz  <poenitz@gmx.net>
4121
4122         * cursor.[Ch]: remove direct access to anchor
4123
4124         * text.C: remove findText() hack
4125
4126 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4127
4128         * iterators.[Ch] (lockPath): remove in favour of...
4129         * BufferView.[Ch] (setCursor): this addition
4130         * BufferView.C (putSelectionAt): adjust
4131         * undo.C (performUndoOrRedo): adjust
4132         * lyxfunc.C (dispatch): adjust
4133
4134 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * iterators.C (lockPath): add a missing slice
4137         * undo.C (performUndoOrRedo): remove redundant positioning code
4138
4139 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * vc-backend.C (scanMaster): ";" -> ';'
4142
4143 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4146         std::binary_function
4147
4148         * lyxtextclass.C (compare_name): rename to...
4149         (LayoutNamesEqual): ...this
4150
4151         * lyxlex_pimpl.C (compare_tags): inherit from
4152         std::binary_function, put back into anon namespace
4153
4154         * lyxfind.C (MatchString): inherig from std::binary_function
4155         (findChange): use empty() istead of !size()
4156
4157         * format.C (FormatNamesEqual): new functor
4158         (getFormat): use it
4159         (getNumber): use it
4160         (add): use it
4161         (erase): use it
4162         (setViewer): use it
4163
4164         * converter.C (compare_Converter): rename to...
4165         (ConverterEqual): ...this, and fixup a bit.
4166         (getConverter): use it, and make function const
4167         (getNumber): use it, and make function const
4168         (add): use it
4169         (erase): use it:
4170
4171         * bufferlist.C: add using boost::bind
4172
4173         * MenuBackend.C (MenuNamesEqual): new functor
4174         (hasMenu): use it, and make function const
4175         (hasSubmenu): use nested bind to get rid of compare_memfun.
4176
4177 2004-01-30  André Pönitz  <poenitz@gmx.net>
4178
4179         * BufferView_pimpl.C:
4180         * cursor.C:
4181         * cursor.h:
4182         * cursor_slice.[Ch]:
4183         * lyxfunc.C:
4184         * lyxtext.h:
4185         * paragraph_funcs.C:
4186         * paragraph_funcs.h:
4187         * rowpainter.C:
4188         * text.C:
4189         * text2.C:
4190         * text3.C: move some of the edit(x,y) handling to the insets
4191         some coordinate changes.
4192
4193 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * text.C: add using statements for std::advance and std::distance
4196
4197         * paragraph.C: add using statement for std::distance
4198
4199         * lyxfind.C: add using statement for std::advance
4200
4201         * cursor.C (region): remove std:: from swap
4202         (openable): use nucleus in stead of operator->
4203
4204         * BufferView.C: add using statements for std::distance and std::swap
4205
4206 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4207
4208         * iterators.C: Remove the pimple, move the needed structures to
4209         the header file. Create accessor for the positions stack.
4210         (asPosIterator): remove function
4211
4212         * PosIterator.C (PosIterator): move constructors to top of file
4213         (PosIterator): reimplement the constructor taking a ParIterator in
4214         terms of setFrom.
4215         (setFrom): new function
4216         (operator!=): inline it
4217
4218 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * lyxfind.C (replaceAll): use std::advance
4221
4222         * iterators.h: inherit from std::iterator.
4223
4224         * PosIterator.C (advance, distance): remove
4225         * PosIterator.h: interit from std::iterator.
4226
4227 2004-01-26  André Pönitz  <poenitz@gmx.net>
4228
4229         * BufferView.[Ch]:
4230         * BufferView_pimpl.[Ch]:
4231         * InsetList.[Ch]:
4232         * PosIterator.[Ch]:
4233         * buffer.h:
4234         * bufferview_funcs.C:
4235         * cursor.[Ch]:
4236         * cursor_slice.h:
4237         * factory.[Ch]:
4238         * iterators.[Ch]:
4239         * lyxfind.C:
4240         * lyxfunc.C:
4241         * lyxtext.h:
4242         * output_docbook.C:
4243         * output_latex.C:
4244         * output_linuxdoc.C:
4245         * output_plaintext.C:
4246         * paragraph.[Ch]:
4247         * paragraph_funcs.[Ch]:
4248         * paragraph_pimpl.[Ch]:
4249         * rowpainter.C:
4250         * tabular.C:
4251         * tabular.h:
4252         * text.C:
4253         * text2.C:
4254         * text3.C: more IU:  dumps most of the rest of the mathcursor
4255     implementation into cursor.[Ch]; "globalize" a bit of it.
4256
4257 2004-01-25  Angus Leeming  <leeming@lyx.org>
4258
4259         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4260
4261 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4262
4263         * LaTeXFeatures.h: add nice_ and nice() const
4264         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4265
4266 2004-01-20  André Pönitz  <poenitz@gmx.net>
4267
4268         * BufferView.[Ch]:
4269         * BufferView_pimpl.C:
4270         * PosIterator.C:
4271         * bufferview_funcs.C:
4272         * cursor.[Ch]:
4273         * cursor_slice.[Ch]:
4274         * factory.C:
4275         * iterators.C:
4276         * lyx_cb.C:
4277         * lyxfind.C:
4278         * lyxfunc.C:
4279         * lyxtext.h:
4280         * rowpainter.C:
4281         * text.C:
4282         * text2.C:
4283         * text3.C:
4284         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4285           LCursor and mathcursor parts to LCursor and InsetBase.
4286
4287 2004-01-15  André Pönitz  <poenitz@gmx.net>
4288
4289         * cursor_slice.[Ch]: add a few covienience functions
4290
4291         * funcrequest.[Ch]: remove BufferView * member
4292
4293         * BufferView_pimpl.C:
4294         * cursor.C:
4295         * factory.[Ch]:
4296         * lyxfind.[Ch]:
4297         * lyxfunc.C:
4298         * lyxtext.h:
4299         * text3.C:
4300         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4301
4302 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4303
4304         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4305         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4306
4307 2004-01-13  André Pönitz  <poenitz@gmx.net>
4308
4309         * textcursor.[Ch]:
4310         * lyxtext.h: hide cursor and selection anchor behind accessor function
4311
4312         * BufferView.C:
4313         * BufferView_pimpl.[Ch]:
4314         * PosIterator.C:
4315         * bufferview_funcs.C:
4316         * cursor.h:
4317         * lyxfind.C:
4318         * lyxfunc.C:
4319         * text.C:
4320         * text2.C:
4321         * text3.C:
4322         * undo.C: adjust
4323
4324         * cursor.h:
4325         * cursor_slice.[Ch]: some integer type changes for inset unification
4326
4327         * lyxcursor.[hC]: remove, it's CursorSlice now.
4328
4329         * Makefile.am:
4330         * BufferView_pimpl.[Ch]:
4331         * bufferview_funcs.C:
4332         * cursor_slice.C:
4333         * lyxtext.h:
4334         * text.C:
4335         * text2.C:
4336         * text3.C:
4337         * textcursor.[Ch]: adjust
4338
4339 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4340
4341         * text2.C (undoSpan): add and use
4342         * text.C (breakParagraph): use undoSpan (fix bug 578)
4343         * lyxtext.h: adjust
4344
4345 2004-01-08  Angus Leeming  <leeming@lyx.org>
4346
4347         * BufferView_pimpl.C (MenuInsertLyXFile):
4348         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4349         * lyxfunc.C (menuNew, open, doImport):
4350         FileFilterList change to the FileDialog open and save functions.
4351
4352 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * ShareContainer.h: make isEqual and isUnique adaptable
4355
4356         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4357
4358 2004-01-07  Angus Leeming  <leeming@lyx.org>
4359
4360         * LyXAction.C:
4361         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4362
4363         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4364
4365         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4366         functions replacing find, replace and replaceAll.
4367
4368         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4369         LFUN_WORDFIND(FORWARD|BACKWARD).
4370
4371 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4372
4373         * text.C (breakParagraph): remove an outdated #warning
4374
4375 2004-01-07  André Pönitz  <poenitz@gmx.net>
4376
4377         * lyxfind.C: somewhat clearer logic
4378
4379         * text.C: prevent crash in cursorX on unitialized row cache
4380
4381 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4382
4383         * lyxcursor.[Ch] (operator>): add
4384         * textcursor.C (selStart, selEnd): use std::min and std::max
4385
4386 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * Chktex.C: include boost/format.hpp
4389
4390 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * InsetList.C: replace functor MathcIt with adaptable functor
4393         InsetTablePosLess
4394         (insetIterator): modify accordingly
4395
4396         * BranchList.h: move the BranchNamesEqual functor here from...
4397         * BranchList.C: ... to here
4398
4399         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4400         SameName and match.
4401         (add): replace a finding loop with std::find_if.
4402
4403 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4404
4405         * output_docbook.C: moving LatexParam functionality into
4406         .layout files
4407
4408 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4409
4410         * buffer.C: increment format to 229.
4411
4412 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4413
4414         * LaTeXFeatures.C:
4415         * lyx_sty.[Ch]: remove minipageindent_def
4416
4417         * LyXAction.C:
4418         * factory.C:
4419         * lfuns.h:
4420         * lyxfunc.C:
4421         * text3.C: remove LFUN_INSET_MINIPAGE
4422
4423 2003-12-28  Angus Leeming  <leeming@lyx.org>
4424
4425         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4426
4427 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4428
4429         * text2.C (setParagraph): fix off-by-one crash
4430
4431 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4432
4433         * output_docbook.C: header stuff for AGU
4434
4435 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4436
4437         * text2.C (redoCursor): remove
4438         * text.C:
4439         * text3.C:
4440         * BufferView_pimpl.C: remove calls to redoCursor and
4441         setCursor(cursor.par(), cursor.pos()) all around
4442
4443 2003-12-15  Angus Leeming  <leeming@lyx.org>
4444
4445         * buffer.C: up the format to 228.
4446
4447 2003-12-15  André Pönitz  <poenitz@gmx.net>
4448
4449         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4450         slices
4451
4452         * Makefile.am:
4453
4454         * BufferView_pimpl.C:
4455         * cursor.[Ch]:
4456         * lyxcursor.[Ch]:
4457         * rowpainter.[Ch]:
4458         * lyxtext.h:
4459         * text.C:
4460         * text2.C:
4461         * text3.C: adjust
4462
4463 2003-12-15  Angus Leeming  <leeming@lyx.org>
4464
4465         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4466         than getFromGUIName to manipulate the color.
4467
4468 2003-12-14  Angus Leeming  <leeming@lyx.org>
4469
4470         * BranchList.[Ch]: minimize the API.
4471         (Branch::getBranch, getColor): now return a 'const &'.
4472         (Branch::setSelected) now returns a bool set to true if the
4473         selection status changes.
4474         (BranchList::clear, size, getColor, setColor, setSelected,
4475         allBranches, allSelected, separator): removed.
4476         (BranchList::find): new functions, returning the Branch with
4477         the given name.
4478         (BranchList::add, remove): return a bool indicating that
4479         the operation was successful.
4480
4481         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4482         new InsetBranch::isBranchSlected member function.
4483
4484         * LColor.[Ch]: mimimize the API.
4485         (fill): renamed as addColor and made private.
4486         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4487         versions of these functions taking a string arg have been removed.
4488
4489         * bufferparams.C (readToken):
4490         * lyxfunc.C (dispatch):
4491         * lyxrc.C (read): changes due to the altered BranchList and
4492         LColor APIs.
4493
4494         * factory.C (createInset, readInset): changes due to altered
4495         InsetBranch c-tor.
4496
4497 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4498
4499         * factory.C:
4500         * lyxfunc.C: remove insetminipage. "minipage-insert"
4501         now produces a frameless minipage box inset.
4502
4503 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4504
4505         * textcursor.[Ch] (selStart,selEnd): add new methods
4506         remove selection::start, end, use LyXCursor::operator<
4507         * lyxcursor.[Ch] (operator<): add
4508         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4509         * BufferView.[Ch] (unsetXSel): add
4510         * text2.C (clearSelection): use unsetXSel,adjust
4511         * text.C: adjust
4512         * text3.C: adjust
4513         * rowpainter.C: adjust
4514         * bufferview_funcs.C (put_selection_at): adjust
4515
4516 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4517
4518         * BufferView_pimpl.C: small coord. correction
4519
4520 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4521
4522         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4523         dragging over the splash screen.
4524
4525 2003-12-11  Angus Leeming  <leeming@lyx.org>
4526
4527         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4528         as it is now handled in LyXText::dispatch.
4529
4530         * text3.C (doInsertInset): remove a level of nesting.
4531
4532 2003-12-11  Angus Leeming  <leeming@lyx.org>
4533
4534         * factory.C (createInset): changes due to the changed interface to
4535         InsetCommandMailer::string2params.
4536
4537 2003-12-10  Angus Leeming  <leeming@lyx.org>
4538
4539         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4540         'dialog-show-new-inset <inset name>'
4541
4542 2003-12-10  Angus Leeming  <leeming@lyx.org>
4543
4544         * buffer.C: up the format to 227.
4545
4546         * factory.C: the box inset is now identified simply by 'Box'.
4547
4548 2003-12-10  Angus Leeming  <leeming@lyx.org>
4549
4550         * buffer.C: up the format to 226.
4551
4552         * factory.C: the note inset is now identified simply by 'Note'.
4553
4554 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4557         when a pit is enough. Standarize a couple of loops.
4558
4559 2003-12-05  Angus Leeming  <leeming@lyx.org>
4560
4561         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4562         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4563         data to the re-worked "log" dialog.
4564
4565 2003-12-03  André Pönitz  <poenitz@gmx.net>
4566
4567         * PosIterator.C:
4568         * iterators.C:
4569         * lyxtext.h:
4570         * output_latex.C:
4571         * paragraph_funcs.C:
4572         * text.C:
4573         * text2.C: use Inset::getText instead of Inset::getParagraph
4574
4575 2003-12-03  André Pönitz  <poenitz@gmx.net>
4576
4577         * buffer.[Ch]:
4578         * lyxtext.h:
4579         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4580         InsetText::read() as LyXText::read()
4581
4582 2003-12-02  Angus Leeming  <leeming@lyx.org>
4583
4584         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4585         type. Add a comment in the implementation that the function uses
4586         the stream's bad() function rather than fail() as the std::streams
4587         would do.
4588
4589 2003-12-02  André Pönitz  <poenitz@gmx.net>
4590
4591         * lyxlex.[Ch]: make interface more similar to std::stream
4592
4593         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4594
4595 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4596
4597         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4598
4599 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4600
4601         * vspace.[Ch]: remove VSpace::NONE
4602
4603 2003-12-01  André Pönitz  <poenitz@gmx.net>
4604
4605         * buffer.[Ch]:
4606         * lyxtext.h: move ParagraphList member to LyXText
4607         rename LyXText::ownerParagraphs to LyXText::paragraph
4608
4609         * CutAndPaste.C:
4610         * bufferview_funcs.C:
4611         * iterators.[Ch]:
4612         * lyx_cb.C:
4613         * paragraph.C:
4614         * rowpainter.C:
4615         * tabular.C:
4616         * text.C:
4617         * text2.C:
4618         * text3.C: adjust
4619
4620         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4621
4622         * undo.C: fix cursor positioning
4623
4624 2003-12-01  John Levon  <levon@movementarian.org>
4625
4626         * BufferView_pimpl.C: fix a crash on exit with
4627         a buffer open
4628
4629 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4630
4631         * BranchList.C: fix setSelected() method.
4632
4633 2003-11-28  André Pönitz  <poenitz@gmx.net>
4634
4635         * ParagraphParameters.[Ch]:
4636         * ParameterStruct.h: remove space above/below from Paragraph to
4637          InsetVSpace
4638
4639         * BufferView_pimpl.C:
4640         * factory.C:
4641         * lyxfunc.C:
4642         * lyxtext.h:
4643         * output_latex.C:
4644         * paragraph.C:
4645         * paragraph_funcs.C:
4646         * rowpainter.[Ch]:
4647         * text.C:
4648         * text2.C:
4649         * text3.C: adjust
4650
4651 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4652
4653         * factory.C: Syntax change for CharStyles
4654
4655 2003-11-28  André Pönitz  <poenitz@gmx.net>
4656
4657         * BufferView.[Ch]:
4658         * BufferView.[Ch]:
4659         * buffer.[Ch]:
4660         * buffer.[Ch]: move LyXText member
4661
4662 2003-11-28  André Pönitz  <poenitz@gmx.net>
4663
4664         * BufferView.[Ch]: make LyXText * text a private member
4665
4666         * BufferView_pimpl.C:
4667         * cursor.C:
4668         * iterators.C:
4669         * lyx_cb.C:
4670         * lyxfind.C:
4671         * lyxtext.h:
4672         * rowpainter.[Ch]:
4673         * text.C:
4674         * text2.C:
4675         * undo.C: adjust
4676
4677         * output_plaintext.C: cleanup
4678
4679 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4680
4681         * buffer.C:
4682         * lyxtextclass.[Ch]: parametrize SGML document header
4683
4684 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4685
4686         * converter.[Ch]:
4687         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4688         getFlavor().
4689
4690 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4691
4692         * text2.C (setFont): rework using PosIterator (no more recursive)
4693         (setCharFont): no more needed
4694         (setLayout): no more selection cursors fiddling (done by redoCursor)
4695         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4696         destroy remaining ones)
4697
4698 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4699
4700         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4701         * lyxtext.h: ditto
4702         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4703         selection cursors
4704         * lyxfunc.C: adjust
4705         * text3.C: adjust + re-allow multi par depth changes
4706         * textcursor.C: simplify a bit
4707
4708 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4709
4710         * src/buffer.C:
4711         * src/lyxlayout.C:
4712         * src/lyxlayout.h:
4713         * src/lyxtext.h:
4714         * src/output_docbook.C:
4715         * src/output_latex.C:
4716         * src/paragraph.C:
4717         * src/paragraph.h:
4718         * src/sgml.C:
4719         * src/sgml.h:
4720         * src/text2.C: Introducing a number of tags parametrizing various
4721         XML formats that we may want to support
4722
4723 2003-11-25  André Pönitz  <poenitz@gmx.net>
4724
4725         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4726
4727         * lyxtext.h (leftMargin/rightMargin): simplify interface
4728
4729         * rowpainter.C:
4730         * text.C:
4731         * text2.C:
4732         * text3.C: adjust
4733
4734 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4735
4736         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4737         master file to any child files. Fixes bug 546.
4738
4739 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4740
4741         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4742
4743 2003-11-24  André Pönitz  <poenitz@gmx.net>
4744
4745         * rowpainter.C: simplification
4746
4747         * text2.C (updateCounters): remove call to redoParagraph on
4748         changed labels as this is far too expensive.
4749
4750 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4751
4752         * converter.C (convert): fix a crash: this function gets
4753         called with buffer == 0 from importer code.
4754
4755 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * text3.C (cursorPrevious): make sure that we do not compare
4758         iterators form different containers.
4759         (cursorNext): ditto
4760
4761         * rowpainter.C (paintSelection): make sure that we do not compare
4762         iterators from different containers.
4763
4764         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4765         iterators from different ParagraphList containers.
4766         [NEXT] ditto
4767
4768         * text2.C (LyXText): change order of initialization slightly
4769         (operator=): new function. copy all variables except cache_par_
4770         (moveUp): make sure that we do not compare iterators from
4771         different ParagraphList constainers.
4772         (moveDown): ditto
4773
4774         * text.C (firstPar): new function
4775         (lastPar): new function
4776         (endPar): new function
4777
4778         * lyxtext.h: move things around and group public functions, public
4779         variables, private functions, private variables
4780
4781 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4782
4783         * factory.C: change call to InsetERT constructor to avoid
4784         additional invocation of method status
4785         * text2.C (toggleInset): remove redundant update() call
4786         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4787         instead of a Bufferview pointer
4788
4789 2003-11-21  André Pönitz  <poenitz@gmx.net>
4790
4791         * rowpainter.C: simplification
4792
4793 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4794
4795         * text3.C (dispatch): make possible to extend a word/row selection
4796         with the mouse
4797
4798 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4799
4800         * lyxtext.h: x0_,y0_ -> xo_,yo_
4801         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4802         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4803         * rowpainter.C (paintRows): paint full paragraphs
4804
4805 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4806
4807         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4808         screen coordinates)
4809
4810 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4811
4812         * lyxtext.h: add x0_, y0_
4813         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4814         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4815
4816 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4817
4818         * text2.C (setCursorIntern): move the x_target update here *
4819         * text3.C: change some bv() to true/false in calls to
4820         cursorUp/Down/Right/Left
4821         * cursor.C: use helper function.
4822
4823 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4824
4825         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4826         * paragraph_funcs.[Ch]: correct comment
4827         * rowpainter.C: do not paint selections away from bv->cursor()
4828         Fix a long standing selection painting bug.
4829         * text3.C: generalize mouse-selection code to LyXTexts other that
4830         top one
4831         * textcursor.C: do not use y coords if we can use par offsets
4832
4833 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4834
4835         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4836         cursor position after e.g. inset insert)
4837
4838 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4839
4840         * lyxfind.C (replace): adjust to locking removal + some
4841         code simplification
4842
4843 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4844
4845         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4846         of the path
4847
4848 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4849
4850         * lyxlayout.[Ch]:
4851         * output_docbook.C: XML sanitation: new layout
4852         parameters InnerTag and CommandDepth
4853
4854 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4855
4856         * BufferView_pimpl.C:
4857         * factory.C:
4858         * text3.C: Fix the insertion and modification of button-style
4859         insets
4860
4861 2003-11-13  André Pönitz  <poenitz@gmx.net>
4862
4863         * InsetList.[Ch]: remove deleteLyXText
4864
4865         * paragraph.[Ch]: cache beginOfBody position
4866
4867         * Bidi.C:
4868         * text.C:
4869         * text2.C:
4870         * text3.C: remove superfluous update() calls
4871
4872         * vspace.C: cleanup
4873
4874 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4875
4876         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4877         * BufferView.C (fitLockedInsetCursor): remove
4878         * cursor.[Ch] (getDim): add
4879         * text.C (getRowNearY): add faster version
4880         * text3.C: remove some update calls
4881
4882 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4883
4884         * LaTeXFeatures.C:
4885         * LyXAction.C:
4886         * MenuBackend.C:
4887         * MenuBackend.h:
4888         * dispatchresult.h:
4889         * factory.C:
4890         * lfuns.h:
4891         * lyxfunc.C:
4892         * lyxtextclass.C:
4893         * lyxtextclass.h:
4894         * text3.C: The Character Style /XML short element patch.
4895
4896 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4897
4898         * text3.C:
4899         * factory.C: Small step to solving 'unable to insert some insets'
4900         problem
4901
4902 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4903
4904         * cursor.[Ch] (updatePos): new function for updating the y
4905         position of the tip inset
4906         * bufferview_funcs.C (put_selection_at):
4907         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4908
4909 2003-11-11  André Pönitz  <poenitz@gmx.net>
4910
4911         * text.C: remove big comment on invalid Paragraph pointers as it is
4912         not valid anymore
4913
4914 2003-11-11  André Pönitz  <poenitz@gmx.net>
4915
4916         * text_funcs.[Ch]: merge with ...
4917
4918         * text.C: ... this
4919
4920         * lyxtext.h:
4921         * text2.C:
4922         * text3.C: adjust
4923
4924         * Makefile.am: remove text_funcs.[Ch]
4925
4926 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4927
4928         * cursor.C (getPos): return absolute cached y coord
4929
4930         * BufferView_pimpl.C (fitCursor): new simplistic code
4931         (workAreaDispatch): add a fitCursor call
4932
4933 2003-11-10  André Pönitz  <poenitz@gmx.net>
4934
4935         * BufferView.[Ch]:
4936         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4937
4938 2003-11-10  André Pönitz  <poenitz@gmx.net>
4939
4940         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4941         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4942         indicate that the cursor needs to leave an inset
4943
4944         * lyxtext.h: remove inset locking
4945
4946         * cursor.[Ch]: re-implement functionality provided by inset locking
4947
4948         * BufferView.[Ch]:
4949         * BufferView_pimpl.[Ch]:
4950         * LyXAction.C:
4951         * bufferview_funcs.[Ch]:
4952         * factory.C:
4953         * funcrequest.[Ch]:
4954         * iterators.C:
4955         * lyx_cb.C:
4956         * lyxfind.C:
4957         * lyxfunc.C:
4958         * text.C:
4959         * text2.C:
4960         * text3.C:
4961         * undo.C: adjust
4962
4963 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * PosIterator.[Ch]: replace the stack with a vector, add inset
4966         accesor
4967         * iterators.[C]: adjust
4968
4969 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4972         replaced
4973         * paragraph_funcs.C (readParToken): put the correct id in the
4974         error item, not the id of the top paragraph
4975
4976 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4977
4978         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4979         * bufferview_funcs.C (put_selection_at): use the above
4980
4981 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4982
4983         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4984
4985 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4986
4987         * output_linuxdoc.h:
4988         * output_plaintext.h:
4989         * output.h:
4990         * output_docbook.h: add #include statements
4991
4992 2003-11-05  José Matos  <jamatos@lyx.org>
4993
4994         * output_docbook.[Ch]:
4995         * output_latex.[Ch]:
4996         * output_linuxdoc.[Ch]:
4997         * output_plaintext.[Ch]: New files for output formats.
4998         * output.[Ch]: New file for helper functions.
4999
5000         * buffer.[Ch]:
5001         * paragraph_funcs.[Ch]: output functions moved to new files.
5002
5003         * outputparams.h: rename of latexrunparams.h
5004
5005         * LaTeX.[Ch]:
5006         * buffer.[Ch]:
5007         * bufferlist.[Ch]:
5008         * converter.[Ch]:
5009         * exporter.C:
5010         * paragraph.[Ch]:
5011         * paragraph_funcs.[Ch]:
5012         * paragraph_pimpl.[Ch]:
5013         * tabular.[Ch]: rename ascii to plaintext
5014         and LatexRunParams to OutputParams.
5015
5016 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * iterators.[Ch] (text): require bv argument
5019         * undo.C (recordUndo):
5020         * lyxfunc.C (dispatch):
5021         * bufferview_funcs.C (put_selection_at): adjust
5022
5023 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5024
5025         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5026
5027 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5030         nestings
5031
5032 2003-11-04  André Pönitz  <poenitz@gmx.net>
5033
5034         * cursor.[Ch]: restructure
5035
5036         * BufferView.[Ch]:
5037         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5038
5039         * iterators.[Ch] (asCursor): remove
5040
5041         * lfuns.h: remove LFUN_INSET_EDIT
5042
5043         * lyxfunc.C:
5044         * tabular.C:
5045         * text.C:
5046         * text2.C:
5047         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5048
5049 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5050
5051         * lyxfind.[Ch]: complete overhaul
5052         * BufferView_pimpl.C:
5053         * lyxfunc.C: adjust
5054         * paragraph.[Ch] (insert): add
5055
5056 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * BufferView.[Ch]:
5059         * lyxtext.h:
5060         * text.C: remove dead spellcheck code
5061
5062 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * dispatchresult.h: add a val setter
5065
5066         * cursor.C (dispatch): use a tempvar for data_[i]
5067
5068 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * PosIterator.[Ch]: compile fix
5071
5072 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * text.C (cursorPar): deactivate the cursor cache
5075
5076 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5079
5080 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * text3.C (dispatch): adjust for new DisptchResult semantics.
5083
5084         * lyxfunc.C (dispatch): handle update when return from
5085         Cursor::dispatch, adjust for new DispatchResult semantics.
5086
5087         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5088         DispatchResult(true) mean to not update. Add class functions for
5089         setting dispatched and update, as well as reading.
5090
5091         * cursor.C (dispatch): don't handle update here
5092
5093 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5096         * trans_mgr.C: adjust
5097
5098         * paragraph_funcs.C (readParToken): exception safety
5099
5100         * lyxvc.h: store the vcs pointer in a scoped_ptr
5101         * lyxvc.C: adjust
5102
5103         * lyxsocket.C (serverCallback): exception safety
5104
5105         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5106
5107         * ispell.C (clone): make it return a auto_ptr
5108
5109         * factory.C (createInset): exception safety
5110         (readInset): exception safety
5111
5112         * bufferlist.C (newBuffer): exception safety
5113
5114         * Thesaurus.C (Thesaurus): use initialization for aik_
5115
5116         * MenuBackend.C (expandToc): exception safety.
5117
5118 2003-11-03  André Pönitz  <poenitz@gmx.net>
5119
5120         * buffer.C:
5121         * buffer.h:
5122         * bufferview_funcs.C: remove getInsetFromId()
5123
5124         * lyxcursor.[Ch]:
5125         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5126
5127         * lyxfunc.C:
5128         * text2.C:
5129         * text3.C: adjust
5130
5131 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * PosIterator.C (distance, advance): new
5134         * bufferview_funcs.[Ch] (put_selection_at): new
5135         * iterators.[Ch] (lockPath): new
5136
5137 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * iterators.[Ch] (asPosIterator): added
5140         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5141         * PosIterator.[Ch]: added
5142
5143 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * text3.C:
5146         * lyxfunc.C:
5147         * cursor.C (dispatch):
5148         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5149
5150         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5151         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5152         contructor, add a class function dispatched. Remove operator>=
5153
5154 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * debug.C: only use the default constructor for debugstream
5157         (lyxerr) here.
5158
5159         * main.C (main): include debug.h and setup the lyxerr streambuf
5160         here.
5161
5162 2003-10-31  José Matos  <jamatos@lyx.org>
5163
5164         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5165
5166         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5167         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5168         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5169         * paragraph_pimpl.C (simpleTeXSpecialC):
5170         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5171         add LatexRunParams argument.
5172
5173         * exporter.C (Export): change call accordingly.
5174
5175         * latexrunparams.h: add new member to take care of the other backends.
5176 2003-10-30  José Matos  <jamatos@lyx.org>
5177
5178         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5179         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5180         factorise code for paragraph output.
5181         * buffer.[Ch]:
5182         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5183         move functions.
5184
5185 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * text3.C (dispatch):
5188         * lyxfunc.C (dispatch):
5189         * cursor.C (dispatch):
5190         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5191
5192         * dispatchresult.h: make the dispatch_result_t ctor explicit
5193
5194 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5195
5196         * sgml.[Ch]:
5197         * buffer.C: small refactoring of docbook stuff
5198
5199 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5202         meaning.
5203
5204 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5207         operator dispatch_result_t, and operators for == != and >=
5208
5209         * cursor.C (dispatch): adjust for operator dispatch_result_t
5210         removal. comment out call to update
5211
5212         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5213
5214 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * text3.C:
5217         * text2.C:
5218         * text.C:
5219         * lyxtext.h:
5220         * lyxfunc.C:
5221         * cursor.C:
5222         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5223         (dispatch):
5224
5225         * dispatchresult.h: new file, DispatchResult broken out of
5226         insets/insetbase.h
5227
5228         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5229
5230 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * text.C (rowBreakPoint): put a hack inside #if 0
5233
5234 2003-10-28  André Pönitz  <poenitz@gmx.net>
5235
5236         * lyxtext.h:
5237         * metricsinfo.C:
5238         * paragraph_funcs.C:
5239         * rowpainter.C:
5240         * text.C:
5241         * text2.C: general cleanup (lots of small stuff)
5242
5243 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * text2.C (cursorEnd): simple fix to the "end key goes to one
5246         before the end on last row" bug
5247
5248 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * text.C (backspace): fix the "zombie characters"
5251
5252 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5255
5256 2003-10-27  André Pönitz  <poenitz@gmx.net>
5257
5258         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5259
5260         * factory.C: handle new InsetPagebreak, InsetLine
5261
5262         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5263         and move handling into new InsetPagebreak, InsetLine
5264
5265         * BufferView_pimpl.C:
5266         * LyXAction.C:
5267         * ParagraphParameters.C:
5268         * ParameterStruct.h:
5269         * lyxfunc.C:
5270         * lyxtext.h:
5271         * paragraph.C:
5272         * paragraph.h:
5273         * paragraph_funcs.C:
5274         * paragraph_pimpl.C:
5275         * rowpainter.C:
5276         * text.C:
5277         * text2.C:
5278         * text3.C: adjust
5279
5280 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * text.C:
5283         * lyxrow_funcs.[Ch]:
5284         * Bidi.C:
5285         * paragraph.C:
5286         * lyxtext.h:
5287         * rowpainter.C:
5288         * text2.C:
5289         * text3.C: remove lastPos uses in favour of Row::endpos
5290
5291 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5292
5293         * undo.C (performUndoOrRedo): fix two crashes by setting a
5294         cursor by hand and reordering some calls. Use bv->lockInset instead
5295         of inset->edit because the latter loses cursor information
5296
5297 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5300         by Martin
5301         (rowBreakPoint): fix width. change point to point + 1.
5302         Add a missing check.
5303
5304 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5305
5306         * MenuBackend.C:
5307         * lyxfunc.C: fix (at least partly) the problems
5308         with the Nav menu and headers inside branch insets
5309         reported by Kayvan
5310
5311 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * paragraph.C (getChar): add strong asserts
5314
5315         * lyxrow_funcs.C (lastPos): remove hideous hack
5316
5317         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5318         (fill): adjust to that (avoid an infinite loop)
5319
5320 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5323
5324 2003-10-23  André Pönitz  <poenitz@gmx.net>
5325
5326         * RowList_fwd.h: change list<> to vector<> to gain speed
5327         after suggestion from Alfredo
5328
5329 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * lyxtext.h: move the bidi stuff from here...
5332         * text.C: and here
5333         * text2.C: and here
5334         * Bidi.[Ch]: ... to here
5335
5336 2003-10-23  André Pönitz  <poenitz@gmx.net>
5337
5338         * lyxtext.h:
5339         * text.C (isLastRow, isFirstRow): new functions
5340
5341         * paragraph.h: new width cache member
5342
5343         * rowpainter.C: replace RowList::iterator with Row & where possible
5344
5345         * lyxfunc.C: replace several view()->text with a single call
5346
5347         * toc.C: fix 'unused' warning
5348
5349 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5352         when woring with stream::pos_type
5353         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5354
5355 2003-10-22  André Pönitz  <poenitz@gmx.net>
5356
5357         * lyxtext.h:
5358         * text.C: use Row & instead of RowList::iterator
5359
5360         * lyxrow.h: rename end() to endpos()
5361
5362         * rowpainter.C:
5363         * text.C:
5364         * text2.C: adjust
5365
5366 2003-10-22  Angus Leeming  <leeming@lyx.org>
5367
5368         * buffer.[Ch] (fully_loaded): new member function, returning true
5369         only when the file has been loaded fully.
5370         Used to prevent the premature generation of previews and by the
5371         citation inset to prevent computation of the natbib-style label.
5372
5373         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5374         templates are all set up.
5375
5376         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5377
5378 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5379
5380         * text.C: fixed an "oops" in the "is a bit silly"
5381         bug fix
5382
5383 2003-10-21  André Pönitz  <poenitz@gmx.net>
5384
5385         * FuncStatus.[Ch]: small stuff, whitespace
5386
5387         * lyxfont.[Ch]: operator<<() for debug reasons
5388
5389         * lyxfunc.C:
5390         * lyxrow_funcs.C:
5391         * lyxtext.h: whitespace, spelling
5392
5393         * paragraph.C: naming of variables
5394
5395         * text.C:
5396         * text2.C: small stuff
5397
5398
5399 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5400
5401         * text.C: (1) finish off the inset display() work;
5402         (2) fix the "is a bit silly" bug (accessing char
5403         past end of par).
5404
5405 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5406
5407         * text.C: re-introduce display() for insets, fixing the
5408         various bugs (stretch of line above, math inset
5409         positioning, ...)
5410
5411 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5412
5413         * text.C (rightMargin): remove spurious semicolon
5414
5415         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5416         1415)
5417
5418 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5419
5420         * text3.C: fix one crash due to wrong cursor def
5421
5422 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * vc-backend.C (scanMaster): make the regex static
5425
5426         * LaTeX.C (scanAuxFile): make the regexs static
5427
5428         * text3.C (doInsertInset, dispatch, dispatch):
5429         * text2.C (cursorUp, cursorDown):
5430         * text.C (selectNextWordToSpellcheck):
5431         * BufferView_pimpl.C (dispatch):
5432         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5433
5434 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5435
5436         * lyxsocket.C: include <cerrno>
5437
5438 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * lyxfunc.C (dispatch): remove textcache stuff
5441
5442         * bufferlist.C (release): remove textcache stuff
5443         (closeAll): ditto
5444
5445         * TextCache.C: delete file
5446         * TextCache.h: delete file
5447
5448         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5449
5450         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5451         delete of the bv_->text.
5452         (resizeCurrentBuffer): remove texcache stuff
5453         (workAreaResize): ditto
5454
5455 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5458         action.
5459
5460 2003-10-16  André Pönitz  <poenitz@gmx.net>
5461
5462         * lyxrow.[Ch]:
5463         * paragraph.h:
5464         * rowpainter.C:
5465         * text.C:
5466         * text2.C:
5467         * text3.C: speed up by storing y positions per paragraph plus per-row
5468         offset instead of having a 'full' y position in the row.
5469
5470 2003-10-15  André Pönitz  <poenitz@gmx.net>
5471
5472         * iterators.[Ch]:
5473         * iterators.[Ch]:
5474         * undo.[Ch]: make undo aware of inner insets
5475
5476 2003-10-14  Angus Leeming  <leeming@lyx.org>
5477
5478         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5479         static member functions LyX::ref() and LyX::cref.
5480         (lastfiles): new accessor functions for the new lastfiles_ member var.
5481         (addLyXView, views_): add a new LyXView to the list of views_.
5482         (updateInset): loop over all LyXViews to call their own updateInset
5483         member function, returning a pointer to the Buffer owning the inset.
5484
5485         * BufferView_pimpl.C (loadLyXFile):
5486         * MenuBackend.C (expandLastfiles):
5487         * bufferlist.C (MenuWrite, QuitLyX):
5488         lastfiles is no longer a global variable.
5489         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5490
5491         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5492         static function. Access through LyX::cref().emergencyCleanup().
5493
5494 2003-10-14  André Pönitz  <poenitz@gmx.net>
5495
5496         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5497
5498         * undo.[Ch]: restoring part of 'undo in insets'
5499
5500         * Makefile.am:
5501         * undo_funcs.[Ch]: merge with undo.[Ch]
5502
5503         * tabular.C: small cleansing stuff
5504
5505 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5506
5507         * paragraph_funcs.C (readParToken): report unknown insets as error
5508         boxes. Use the outer paragraph as location (also for unknown
5509         tokens).
5510
5511         * factory.C (readInset): do not abort on reading an unknown inset.
5512         Eat it and return 0.
5513
5514 2003-10-13  Angus Leeming  <leeming@lyx.org>
5515
5516         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5517
5518         * lyxrc.C: displayTranslator is now a function,
5519         declared in GraphicsTypes.h.
5520
5521 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5522
5523         * format.C: new placeholder $$a to pass the socket address.
5524
5525         * bufferlist.[Ch]: new function getBufferFromTmp.
5526
5527         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5528           files in the temporary dir.
5529
5530 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5531
5532         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5533
5534         * Makefile.am: add lyxsocket.[Ch].
5535
5536         * lyx_main.C (error_handler): handle SIGPIPE.
5537
5538 2003-10-13  André Pönitz  <poenitz@gmx.net>
5539
5540         * BufferView_pimpl.C:
5541         * lyxtext.h:
5542         * text.C:
5543         * text2.C:
5544         * text3.C:
5545         * undo_funcs.[Ch]: use paroffset_type instead of
5546           ParagraphList::iterators to prevent multiple conversion
5547           (and get a more robust interface)
5548
5549 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5552         * lyxtext.h: ditto
5553         * text3.C (dispatch): ditto
5554
5555 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5558         move the onlyfile, use onlyfile instead of foundfile in a couple
5559         of places.
5560
5561         * DepTable.C (update): flush the error stream a bit more
5562
5563 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * lyxserver.C (callback): adjust
5566
5567         * lyxfunc.C (getStatus): add a missing brace in commented code
5568         (ensureBufferClean): reindent
5569         (dispatch): delete version taking a string
5570
5571 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * LaTeX.C (deplog): move found file handlig from here...
5574         (handleFoundFile): .. to new function here.
5575         (deplog): make sure to discover several files mentioned on the
5576         same log line.
5577
5578 2003-10-10  André Pönitz  <poenitz@gmx.net>
5579
5580         * lyxfunc.C:
5581         * lyxtext.h:
5582         * tabular.C:
5583         * text.C:
5584         * text2.C:
5585         * text3.C: fix some of the tabular crashes
5586
5587 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5588
5589         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5590
5591         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5592
5593 2003-10-09  André Pönitz  <poenitz@gmx.net>
5594
5595         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5596
5597         * BufferView.C:
5598         * BufferView_pimpl.C:
5599         * bufferview_funcs.C:
5600         * lyx_cb.C:
5601         * lyxcursor.C:
5602         * lyxfind.C:
5603         * lyxfunc.C:
5604         * lyxtext.h:
5605         * text.C:
5606         * text2.C:
5607         * text3.C:
5608         * text_funcs.[Ch]:
5609         * textcursor.[Ch]:
5610         * undo_funcs.C: adjust
5611
5612 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * text2.C (incrementItemDepth): new function, use a backtracking
5615         algorithm to discover the correct item depth.
5616         (resetEnumCounterIfNeeded): new function, use a backtracking
5617         algorithm to discover if counter reset is needed.
5618         (setCounter): use them. Simplify a bit. Add different labels for
5619         different item depths for itemize.
5620
5621         * paragraph.C (Paragraph): remove initialization of enumdepth
5622         (operator=): ditto
5623
5624         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5625         enumerate and itemize. Change the type of itemdepth to signed char.
5626
5627 2003-10-08  André Pönitz  <poenitz@gmx.net>
5628
5629         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5630           thing assignable.
5631         * text.C:
5632         * text2.C: adjust
5633
5634         * tabular.[Ch]: fix crash after 'row-insert'
5635
5636 2003-10-08  Angus Leeming  <leeming@lyx.org>
5637
5638         Fix doxygen warnings.
5639
5640         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5641         Remove CutAndPaste:: prefix from header file declaration.
5642
5643         * LColor.h (fill): remove LColor:: prefix from declaration.
5644
5645         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5646         use lyx::depth_type rather than Paragraph::depth_type so that
5647         header file and .C file match.
5648
5649         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5650
5651         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5652         * aspell.C: \file aspell_local.C -> \file aspell.C
5653         * gettext.C: \file gettext.C -> \file src/gettext.C
5654         * gettext.h: \file gettext.h -> \file src/gettext.h
5655         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5656         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5657         * text.C: \file text.C -> \file src/text.C
5658
5659         * toc.C: move comment so that doxygen is not confused.
5660
5661 2003-10-07  Angus Leeming  <leeming@lyx.org>
5662
5663         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5664
5665 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5666
5667         * aspell.C:
5668         * aspell_local.h: add forgotten std::string's.
5669
5670 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5671
5672         * LaTeXFeatures.C:
5673         * LyXAction.C:
5674         * factory.C:
5675         * lfuns.h:
5676         * lyxfunc.C:
5677         * text3.C: The Box patch. Fancybox support, minipage, parbox
5678
5679 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5680
5681         * CutAndPaste.h:
5682         * DepTable.h:
5683         * FloatList.h:
5684         * LaTeXFeatures.h:
5685         * ParagraphParameters.h:
5686         * TextCache.h:
5687         * Thesaurus.h:
5688         * bufferlist.h:
5689         * exporter.h:
5690         * importer.h:
5691         * lastfiles.h:
5692         * lyxfind.h:
5693         * lyxfont.h:
5694         * lyxlex.h:
5695         * lyxtextclasslist.h:
5696         * messages.h:
5697         * paragraph.h:
5698         * paragraph_pimpl.C:
5699         * textcursor.h: add <string> and other small fixes to make Lars'
5700         std::string patch compile with STLport.
5701
5702 2003-10-06  Angus Leeming  <leeming@lyx.org>
5703
5704         * LColor.h: Add missing #include <string>.
5705
5706 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * All most all file in all subdirs: Make <string> be the prefered
5709         way of getting to std::string, add using declarations.
5710
5711 2003-10-06  André Pönitz  <poenitz@gmx.net>
5712
5713         * metricsinfo.C: initialize LyXFont before changing attribute.
5714         (fixes the 'math in \emph is upright' bug)
5715
5716 2003-10-06  André Pönitz  <poenitz@gmx.net>
5717
5718         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5719
5720 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5721
5722         * graph.C:
5723         * paragraph_pimpl.C: Small fixes to build using STLport
5724
5725 2003-10-02  André Pönitz  <poenitz@gmx.net>
5726
5727         * lyxfunc.C:
5728         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5729
5730 2003-10-01  André Pönitz  <poenitz@gmx.net>
5731
5732         * factory.C: assert early
5733
5734 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * lyx_main.C: remove the global debug object
5737
5738         * debug.h: adjust for new debugstream
5739
5740         * debug.C: adjust for new debugstream and keep the global debug
5741         object here.
5742
5743 2003-09-22  Angus Leeming  <leeming@lyx.org>
5744
5745         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5746         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5747         an incomplete class LyXFont.
5748
5749 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5750
5751         * factory.C: bug fix in branches
5752
5753 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * lyxfunc.C (processKeySym): adjust
5756         (dispatch): adjust
5757         (dispatch): change arg name from ev to func, adjust
5758         (sendDispatchMessage): ditto
5759
5760         * lyx_main.C (defaultKeyBindings): adjust keybindings
5761         (deadKeyBindings): ditto
5762
5763         * kbsequence.C (addkey): return a FuncRequest
5764
5765         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5766
5767         * kbmap.C (bind): take a FuncRequest as arg, adjust
5768         (read): adjust
5769         (lookup): adjust
5770         (defkey): change to take a FuncRequest as arg, adjust
5771         (findbinding): take a FuncRequest as arg, adjust.
5772
5773         * funcrequest.h (operator=): added
5774
5775         * funcrequest.C (FuncRequest): default kb_action changed from
5776         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5777
5778         * buffer.C (dispatch): simplify
5779         (dispatch): adjust to take a FuncRequest as arg, adjust
5780
5781         * boost.C (assertion_failed): change assertion message slightly
5782
5783         * ToolbarBackend.C (read): simplify
5784
5785         * MenuBackend.C (binding): adjust call to findbinding, add a
5786         message if no binding is found.
5787         (read): simplify
5788         (expandToc): correct by adding a empty FuncRequest
5789
5790         * LyXAction.C: include <boost/assert.hpp>
5791         (isPseudoAction): delete function
5792         (LookupFunc): change name to...
5793         (lookupFunc): this. change return type to FuncRequest.
5794         (getActionName): take kb_action as arg, simplify
5795         (funcHasFlag): add an assert, simplify.
5796
5797 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * toc.C (action): return a FuncRequest, simplify
5800
5801         * lyxfunc.C (processKeySym): adjust
5802         (getStatus): delete version that takes an int.
5803         (getStatus): adjust
5804         (dispatch): delete version that takes action as int
5805         (dispatch): adjust
5806         (sendDispatchMessage): simplify and adjust
5807
5808         * funcrequest.C (getArg): take unsigned int as arg
5809
5810         * ToolbarBackend.C (read): adjust
5811         (add): delete version that takes func as a string.
5812         (getIton): take a FuncRequest as arg
5813
5814         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5815         action.
5816
5817         * MenuBackend.C (MenuItem): add a new construct that only takes a
5818         Kind, simplify the constructor use for submenus.
5819         (add): adjust
5820         (expandLastfiles): adjust
5821         (expandDocuments): adjust
5822         (expandFormats): adjust
5823         (expandFloatListInsert): adjust
5824         (expandFloatInsert): adjust
5825         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5826
5827         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5828         Remove class variables lyx_pseudo_map and lyx_arg_map
5829
5830         * LyXAction.C (searchActionArg): delete function
5831         (getPseudoAction): delete function
5832         (retrieveActionArg): delete function
5833         (LookupFunc): make it return kb_action, simplify.
5834         (getActionName): simplify
5835
5836         * factory.C (createInset): fix new bug
5837
5838 2003-09-19  Angus Leeming  <leeming@lyx.org>
5839
5840         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5841         masterFilename_ parameter in the include inset.
5842
5843         * factory.C (createInset): changes due to the changes to InsetInclude.
5844
5845 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5846
5847         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5848
5849 2003-09-18  Angus Leeming  <leeming@lyx.org>
5850
5851         * buffer.C:
5852         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5853         Inset::fillWithBibKeys.
5854         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5855
5856 2003-09-18  Angus Leeming  <leeming@lyx.org>
5857
5858         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5859         variables.
5860         (ctor): pass and store a 'Buffer const &'
5861         (buffer): new member function.
5862
5863         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5864         '*this' to the LaTeXFeatures ctor.
5865
5866 2003-09-18  Angus Leeming  <leeming@lyx.org>
5867
5868         * LColor.h:
5869         * lyxfont.C:
5870         * lyxfont.h:
5871         * lyxtext.h:
5872         * text.C: rename EnumLColor as LColor_color.
5873
5874 2003-09-18  Angus Leeming  <leeming@lyx.org>
5875
5876         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5877         remove #include "insets/insetbase.h" from cursor.h.
5878
5879 2003-09-18  Angus Leeming  <leeming@lyx.org>
5880
5881         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5882         InsetOld_code to remove #include "inset.h".
5883
5884         * iterators.C: add #include "insets/inset.h"
5885
5886 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5887
5888         * BufferView.C: remove more locking stuff that apparently doesn't
5889         do anything sensible.
5890
5891 2003-09-16  André Pönitz  <poenitz@gmx.net>
5892
5893         * paragraph.[Ch]:
5894         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5895           performance boost.
5896
5897 2003-09-16  Angus Leeming  <leeming@lyx.org>
5898
5899         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5900
5901         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5902         arg/return type.
5903
5904         * paragraph.h: remove #include "lyxfont.h". Forward declare
5905         LyXFont_size.
5906
5907 2003-09-16  Angus Leeming  <leeming@lyx.org>
5908
5909         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5910         of support/textutils.h.
5911         (isWord): move the contents of support/textutils.h's IsWordChar here.
5912
5913         * buffer.C:
5914         * lyxfind.C:
5915         * rowpainter.C:
5916         * text.C:
5917         * text2.C: add #include "paragraph.h".
5918
5919         * rowpainter.C:
5920         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5921
5922 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5923
5924         * main.C:
5925         * lyx_main.C:
5926         * lyx_cb.C:
5927         * buffer.C:
5928         * LaTeX.C: use namespace alias for lyx::support::os
5929
5930 2003-09-16  Angus Leeming  <leeming@lyx.org>
5931
5932         * bufferparams.C:
5933         * bufferview_funcs.C:
5934         * factory.C:
5935         * lyxfunc.C:
5936         * paragraph_pimpl.C:
5937         * rowpainter.C:
5938         * text.C: add #include "LColor.h".
5939
5940 2003-09-16  Angus Leeming  <leeming@lyx.org>
5941
5942         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5943         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5944         return LyXFont &.
5945         Store the FontBits::color variable as an int rather than as an
5946         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5947         file.
5948
5949         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5950         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5951         string calls together.
5952
5953         * lyxrc.C: add #include "LColor.h".
5954
5955 2003-09-15  Angus Leeming  <leeming@lyx.org>
5956
5957         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5958         a cow_ptr.
5959
5960 2003-09-15  Angus Leeming  <leeming@lyx.org>
5961
5962         * LColor.h: add an EnumLColor wrapper for LColor::color.
5963
5964         * lyxfont.[Ch] (color, setColor, realColor):
5965         * lyxtext.h, text.C (backgroundColor):
5966         pass EnumLColor args to/from the functions, rather than LColor::color
5967         ones.
5968
5969         * lyxfont.h:
5970         * lyxtext.h: forward declare EnumLColor.
5971
5972         * lyx_main.C: add #include "LColor.h".
5973
5974 2003-09-15  Angus Leeming  <leeming@lyx.org>
5975
5976         * .cvsignore: add lyx-gtk.
5977
5978 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * Chktex.C
5981         * LaTeX.C
5982         * LaTeXFeatures.C
5983         * ParagraphParameters.C
5984         * Spacing.C
5985         * buffer.C
5986         * bufferparams.C
5987         * bufferview_funcs.C
5988         * chset.C
5989         * counters.C
5990         * funcrequest.C
5991         * lyxfont.C
5992         * lyxgluelength.C
5993         * lyxlength.C
5994         * paragraph.C
5995         * paragraph_funcs.C
5996         * text3.C
5997         * vc-backend.C: remove usage of STRCONV
5998
5999 2003-09-15  Angus Leeming  <leeming@lyx.org>
6000
6001         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6002         explicitly define the color passed to the painter.
6003
6004 2003-09-15  Angus Leeming  <leeming@lyx.org>
6005
6006         * bufferparams.C (BufferParams): reorder member initializers to avoid
6007         compiler warning.
6008
6009 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6012         * text.C (updateRowPositions): remove an unusual nop
6013
6014 2003-09-12  André Pönitz  <poenitz@gmx.net>
6015
6016         * BufferView_pimpl.C:
6017         * Bullet.C:
6018         * layout.h:
6019         * lyxfunc.C:
6020         * lyxlayout.[Ch]:
6021         * lyxtextclass.C:
6022         * rowpainter.C:
6023         * text.C:
6024         * text2.C:
6025         * Counters.[Ch]: finish the 'automatic counters' job
6026
6027 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6028
6029         * aspell.C: include <boost/assert.cpp> (compile fix)
6030
6031 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6032
6033         * boost.C (assertion_failed): use lyx::support::abort instead of
6034         assert.
6035
6036 2003-09-10  Angus Leeming  <leeming@lyx.org>
6037
6038         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6039         with their _fwd progeny.
6040
6041 2003-09-09  Angus Leeming  <leeming@lyx.org>
6042
6043         134 files throughtout the source tree: replace 'using namespace abc;'
6044         directives with the appropriate 'using abc::xyz;' declarations.
6045
6046 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6047
6048         * boost.C (emergencyCleanup): moved here from LAssert.c
6049         (assertion_failed): new function, called by BOOST_ASSERT
6050
6051         * several files: change Assert to BOOST_ASSERT
6052
6053 2003-09-09  Angus Leeming  <leeming@lyx.org>
6054
6055         * buffer.[Ch]: Add an Impl class and move Buffer's member
6056         variables into it. As a result move several header files out of
6057         buffer.h.
6058
6059         Add header files to lots of .C files all over the tree as a result.
6060
6061 2003-09-09  Angus Leeming  <leeming@lyx.org>
6062
6063         * buffer.[Ch]: make Buffer's member variables private. Add
6064         accessor functions.
6065
6066         Lots of changes all over the tree as a result.
6067
6068 2003-09-08  Angus Leeming  <leeming@lyx.org>
6069
6070         * graph.C: #include <config.h>.
6071
6072 2003-09-08  Angus Leeming  <leeming@lyx.org>
6073
6074         * BranchList.C:
6075         * BufferView.C:
6076         * BufferView_pimpl.C:
6077         * CutAndPaste.C:
6078         * DepTable.C:
6079         * LaTeX.C:
6080         * LaTeXFeatures.C:
6081         * LyXAction.C:
6082         * MenuBackend.C:
6083         * TextCache.C:
6084         * aspell.C:
6085         * buffer.C:
6086         * bufferlist.C:
6087         * changes.C:
6088         * chset.C:
6089         * converter.C:
6090         * counters.C:
6091         * debug.C:
6092         * graph.C:
6093         * ispell.C:
6094         * lyx_cb.C:
6095         * lyxfind.C:
6096         * lyxfunc.C:
6097         * lyxlex_pimpl.C:
6098         * lyxrc.C:
6099         * lyxrow.C:
6100         * paragraph.C:
6101         * rowpainter.C:
6102         * texrow.C:
6103         * text.C:
6104         * text2.C:
6105         * toc.C: remove redundant using directives.
6106
6107 2003-09-07  Angus Leeming  <leeming@lyx.org>
6108
6109         * LaTeXFeatures.h: remove #include "support/types.h".
6110         * ToolbarBackend.h: remove #include <algorithm>.
6111         * changes.h: remove #include <ctime>.
6112         * debug.h: remove #include <iosfwd>.
6113         * graph.h: remove #include "support/std_string.h".
6114         * lyx_main.h: remove #include <csignal>.
6115         * lyxlex_pimpl.h: remove #include <fstream>.
6116         * sgml.h: remove #include <algorithm>, <utility>.
6117         * toc.h: remove #include "support/std_ostream.h".
6118         Add #include <iosfwd>.
6119
6120 2003-09-07  Angus Leeming  <leeming@lyx.org>
6121
6122         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6123
6124         * converter.h: forward declare LatexRunParams.
6125         * encoding.h: remove #include "lyxrc.h".
6126         * lyxtext.h: remove #include "LColor.h".
6127         * lyxtextclass.h: remove #include "support/types.h".
6128         * trans.h: remove #include "tex-accent.h".
6129         * trans_mgr.h: remove #include "tex-accent.h".
6130         * insets/inset.h: remove #include "support/types.h", <vector>.
6131         * insets/insetcollapsable.h: remove #include "LColor.h".
6132         * insets/insetinclude.h: remove #include "dimension.h".
6133         * insets/insetlatexaccent.h: remove #include "dimension.h".
6134         * insets/insetoptarg.h:: remove #include "insettext.h".
6135         * insets/insettext.h: remove #include "dimension.h",
6136         <boost/shared_ptr.hpp>
6137
6138         * insets/renderers.h: add #include "dimension.h".
6139         * insets/updatableinset.h: add #include "support/types.h".
6140
6141         * many .C files: Associated changes.
6142
6143 2003-09-06  Angus Leeming  <leeming@lyx.org>
6144
6145         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6146         one, inside testInvariant.
6147
6148         * PrinterParams.C: new file.
6149         * PrinterParams.[Ch]: move the function bodies out of line.
6150
6151 2003-09-06  Angus Leeming  <leeming@lyx.org>
6152
6153         * ParagraphParameters.h: forward declare ParameterStruct rather than
6154         including its header file.
6155         (depth): moved out-of-line.
6156
6157 2003-09-06  Angus Leeming  <leeming@lyx.org>
6158
6159         * BufferView_pimpl.h:
6160         * kbmap.h:
6161         * kbsequence.h:
6162         * lyxfunc.h: forward declare LyXKeySym rather than
6163         #include "frontends/LyXKeySym.h".
6164
6165         * BufferView_pimpl.C:
6166         * kbmap.C:
6167         * kbsequence.C:
6168         * lyxfunc.C: associated changes.
6169
6170 2003-09-06  Angus Leeming  <leeming@lyx.org>
6171
6172         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6173         As a result, can remove the #include "insets/inset.h" from BufferView.h
6174
6175 2003-09-06  Angus Leeming  <leeming@lyx.org>
6176
6177         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6178         As a result, can remove the #include "insets/inset.h" from BufferView.h
6179
6180 2003-09-06  Angus Leeming  <leeming@lyx.org>
6181
6182         * buffer_funcs.C:
6183         * buffer.h:
6184         * bufferlist.C:
6185         * BufferView.C:
6186         * bufferview_funcs.C:
6187         * BufferView_pimpl.C:
6188         * CutAndPaste.C:
6189         * lyx_cb.C:
6190         * lyxfunc.C:
6191         * paragraph.h:
6192         * ParagraphParameters.C:
6193         * tabular.C:
6194         * text3.C:
6195         * toc.C:
6196         * undo_funcs.C:
6197         * frontends/controllers/ControlDocument.C:
6198         * insets/insetcaption.C: rearrange the #includes into some sort of
6199         coherent order.
6200
6201         * buffer.h: remove #includes ErrorList.h, undo.h
6202
6203 2003-09-06  Angus Leeming  <leeming@lyx.org>
6204
6205         * support/types.h: add a 'depth_type' typedef, used to store the
6206         nesting depth of a paragraph.
6207
6208         * paragraph.h:
6209         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6210         defining explicitly.
6211
6212         * buffer.h:
6213         * paragraph_funcs.h:
6214         * ParagraphParameters.h:
6215         * sgml.h: use lyx::depth_type rather than Paragraph or
6216         ParameterStruct's depth_type.
6217
6218         * buffer.h
6219         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6220
6221         * BufferView.C:
6222         * BufferView_pimpl.C:
6223         * CutAndPaste.C:
6224         * ParagraphParameters.C:
6225         * buffer_funcs.C:
6226         * bufferlist.C:
6227         * bufferview_funcs.C:
6228         * lyx_cb.C:
6229         * lyxfunc.C:
6230         * tabular.C:
6231         * text3.C:
6232         * toc.C:
6233         * undo_funcs.C:
6234         * frontends/LyXView.C:
6235         * frontends/controllers/ControlDocument.C:
6236         * frontends/controllers/ControlErrorList.C:
6237         * insets/insetbibitem.C:
6238         * insets/insetbranch.C:
6239         * insets/insetcaption.C:
6240         * insets/insetcollapsable.C:
6241         * insets/insetenv.C:
6242         * insets/insetert.C:
6243         * insets/insetfloat.C:
6244         * insets/insetfoot.C:
6245         * insets/insetfootlike.C:
6246         * insets/insetnewline.C:
6247         * insets/insetquotes.C:
6248         * insets/insettabular.C:
6249         * insets/insettext.C:
6250         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6251
6252         * frontends/controllers/ControlChanges.C: #include "changes.h".
6253
6254 2003-09-06  Angus Leeming  <leeming@lyx.org>
6255
6256         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6257         than #including paragraph.h.
6258
6259         * ParagraphList.h:
6260         * RowList.h: deleted. Superfluous.
6261
6262         * CutAndPaste.h:
6263         * iterators.h:
6264         * lyxcursor.h:
6265         * lyxtext.h:
6266         * text_funcs.h:
6267         * undo.h:
6268         * undo_funcs.h:
6269         * insets/inset.h:
6270         * insets/insettext.h: use ParagraphList_fwd.h rather than
6271         ParagraphList.h.
6272
6273         * paragraph.h: don't forward declare ParagraphList.
6274
6275         * buffer.h:
6276         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6277         rather than ParagraphList.h. paragraph.h is still needed for the
6278         Paragraph::depth_type parameters.
6279
6280         * textcursor.h: enable it to compile stand-alone in light of the
6281         above changes.
6282
6283         * bufferview_funcs.C:
6284         * iterators.C:
6285         * lyxfunc.C:
6286         * lyxrow_funcs.C:
6287         * paragraph.C:
6288         * rowpainter.C:
6289         * text.C:
6290         * text2.C:
6291         * text3.C:
6292         * text_funcs.C:
6293         * textcursor.C:
6294         * undo.C:
6295         * frontends/controllers/ControlParagraph.C:
6296         * frontends/controllers/ControlTabular.C:
6297         * insets/insetmarginal.C:
6298         * insets/insetminipage.C:
6299         * insets/insetnote.C:
6300         * insets/insetoptarg.C: add header files needed to compile again.
6301
6302 2003-09-06  Angus Leeming  <leeming@lyx.org>
6303
6304         * RowList_fwd.h: new file, forward-declaring Row rather than
6305         #including lyxrow.h.
6306
6307         * lyxrow_funcs.h:
6308         * lyxtext.h:
6309         * paragraph.h:
6310         * insets/insettext.h: use it instead of RowList.h
6311
6312         * bufferview_funcs.C:
6313         * lyxfunc.C:
6314         * lyxrow_funcs.C:
6315         * paragraph.C:
6316         * rowpainter.C:
6317         * text.C:
6318         * text2.C:
6319         * text3.C: #include "RowList.h".
6320
6321 2003-09-05  Angus Leeming  <leeming@lyx.org>
6322
6323         * factory.C (createInset):
6324         * vspace.C (c-tor): replace sscanf call with an istringstream.
6325         * ispell.C: re-add missing HP/UX headers.
6326         * lyxserver.C: re-add missing  os2 headers.
6327
6328 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6329
6330         * BranchList.C:
6331         * graph.C:
6332         * ispell.C:
6333         * lastfiles.C:
6334         * lyx_cb.C:
6335         * lyxserver.C:
6336         * texrow.C:
6337         * text3.C: re-add missing system headers, needed for 2.95.2.
6338
6339 2003-09-05  Angus Leeming  <leeming@lyx.org>
6340
6341         Changes most place everywhere due to the removal of using directives
6342         from support/std_sstream.h.
6343
6344 2003-09-05  Angus Leeming  <leeming@lyx.org>
6345
6346         Replace LString.h with support/std_string.h,
6347         Lsstream.h with support/std_sstream.h,
6348         support/LIstream.h with support/std_istream.h,
6349         support/LOstream.h with support/std_ostream.h.
6350
6351         Changes resulting throughout the tree.
6352
6353 2003-09-05  Angus Leeming  <leeming@lyx.org>
6354
6355         * sgml.h: ensure that the header file can be compiled stand-alone.
6356         * *.C: strip out redundant #includes. (320 in total.)
6357
6358 2003-09-04  Angus Leeming  <leeming@lyx.org>
6359
6360         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6361         here (from getPackages).
6362
6363         * debug.[Ch]: add a new EXTERNAL tag.
6364
6365 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6366
6367         * text2.C (cursorEnd): simplify
6368         (setCursor): adjust
6369         (getColumnNearX): adjust
6370
6371         * text.C (computeBidiTables): adjust
6372         (fill): adjust
6373
6374         * rowpainter.C (paintChars): adjust
6375         (paintSelection): adjust
6376         (paintChangeBar): adjust
6377         (paintText): adjust
6378
6379         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6380         lastPos instead.
6381         (numberOfSeparators): adjust
6382
6383 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6384
6385         * LyXAction.C:
6386         * box.[Ch]:
6387         * lfuns.h:
6388         * lyxfunc.C:
6389         * text3.C: Restricts the mouse click functionality
6390         of insets like bibtex, include, toc and floatlist to the visible
6391         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6392         up the dialogs. Cursor has to be in front of the inset (i.e.
6393         start of row) for this to function.
6394
6395 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6396
6397         * bufferview_funcs.C (currentState): output row information
6398
6399 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6400
6401         * bufferview_funcs.C (currentState): output paragraph position
6402
6403 2003-09-04  Angus Leeming  <leeming@lyx.org>
6404
6405         * FloatList.h: move out #include "Floating.h".
6406         * LaTeX.h: move out #include "DepTable.h".
6407         * LyXAction.h: move out #include "funcrequest.h".
6408         * buffer.h: move out #include "author.h", "iterators.h".
6409         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6410         * lyx_main.h: move out #include "errorlist.h".
6411         * lyxfunc.h: move out #include "FuncStatus.h".
6412         * lyxtext: move out #include "lyxcursor.h".
6413         * paragraph_pimpl.h: move out #include "counters.h".
6414
6415 2003-09-03  Angus Leeming  <leeming@lyx.org>
6416
6417         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6418         preamble_snippets list, enabling us to add snippets to the preamble
6419         only if the snippet was not there already.
6420
6421 2003-09-04  Angus Leeming  <leeming@lyx.org>
6422
6423         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6424
6425 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6428         update
6429
6430 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6431
6432         * BranchList.C: point fix, earlier forgotten
6433
6434 2003-09-02  Angus Leeming  <leeming@lyx.org>
6435
6436         * box.C (contains): renamed from 'contained' after a fantastic
6437         amount of hot air.
6438
6439 2003-09-02  John Levon  <levon@movementarian.org>
6440
6441         * BufferView.C:
6442         * lyxcursor.h:
6443         * lyxcursor.C:
6444         * lyxfunc.C:
6445         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6446
6447 2003-09-02  John Levon  <levon@movementarian.org>
6448
6449         * text2.C: simplification of cursorEnd(), including partial
6450         fix for bug 1376
6451
6452 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * buffer.C (readFile): add a space
6455
6456 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6459
6460 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * buffer.C (readFile): new function, take a filename and a
6463         ParagraphList::iterator
6464         (readFile): adjust
6465         (readFile): adjust, make it private. don't use setStream, make
6466         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6467         always contain the filename.
6468
6469         * BufferView.C (insertLyXFile): simplify and make it work for
6470         gzipped files.
6471
6472 2003-08-30  John Levon  <levon@movementarian.org>
6473
6474         * Makefile.am: fix dist (from Kayvan)
6475
6476 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * most files: change to use const Buffer refs
6479
6480 2003-08-27  André Pönitz  <poenitz@gmx.net>
6481
6482         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6483         on top of ownerPar().
6484
6485 2003-08-27  John Levon  <levon@movementarian.org>
6486
6487         * funcrequest.C: properly initialise POD members
6488
6489 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * lyxtext.h (top_y): move top_y from here
6492         * text.C:
6493         * text2.C:
6494         * text3.C:
6495         * BufferView.[Ch]:
6496         * BufferView_pimpl.[Ch]: to here
6497         * frontends/screen.C:
6498         * insets/insettabular.C:
6499         * insets/insettext.C: adjust
6500         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6501
6502 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * BufferView.[Ch]:
6505         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6506
6507 2003-08-26  André Pönitz  <poenitz@gmx.net>
6508
6509         * paragraph_func.[Ch] (outerPar): new function
6510
6511         * paragraph.C:
6512         * paragraph_funcs.C:
6513         * paragraph_funcs.h:
6514         * paragraph_pimpl.C:
6515         * text2.C: remove Inset::par_owner
6516
6517 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6518
6519         * lyxrow_funcs.C:
6520         * lyxtext.h:
6521         * text.C:
6522         * text2.C: eliminates the needFullRow/display() stuff
6523         altogether, putting the logic in metrics/draw in the insets.
6524
6525 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6526
6527         * text2.C (redoParagraphInternal, redoParagraphs):
6528         * text.C (redoParagraph): add a call to updateRowPositions at the
6529         end of each 'metrics-like' call. Remove all others.
6530         (getRow): remove the 'y-computing' version.
6531         (getRowNearY): do not compute nor return the real y. Solve the
6532         'y < 0' problem and simplify.
6533
6534 2003-08-22  Angus Leeming  <leeming@lyx.org>
6535
6536         * *.[Ch]: clean-up of licence and author blurbs.
6537         Also move config.h out of a few .h files and into a few .C files.
6538
6539 2003-08-22  André Pönitz  <poenitz@gmx.net>
6540
6541         * lyxrow.[Ch]: add x_ and *fill_ members
6542
6543         * lyxtext.h:
6544         * text.C:
6545         * rowpainter.C:
6546         * text2.C: adjust/remove prepareToPrint() calls
6547
6548 2003-08-22  André Pönitz  <poenitz@gmx.net>
6549
6550         * lyxrow.[Ch]: add  end_ member
6551
6552         * lyxrow_funcs.C: use LyXRow::end_
6553
6554         * lyxtext.h (singleWidth): add LyXFont parameter
6555
6556         * rowpainter.C:
6557         * text2.C: adjust LyXText::singleWidth() calls
6558
6559         * text.C (redoParagraph): simplify row breaking logic
6560
6561
6562 2003-08-19  André Pönitz  <poenitz@gmx.net>
6563
6564         * funcrequest.C: initialize button_ member
6565
6566         * text3.C:
6567         * rowpainter.[Ch]: interface consolidation
6568
6569 2003-08-18  André Pönitz  <poenitz@gmx.net>
6570
6571         * BufferView.C:
6572         * BufferView_pimpl.C:
6573         * lyxfind.C:
6574         * paragraph_funcs.C:
6575         * rowpainter.C:
6576         * text3.C: remove LyXScreen::draw() and fitCursor calls
6577
6578         * BranchList.h: remove spurious semicolons
6579
6580         * MenuBackend.C: fix branchlist related crash
6581
6582 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6583
6584         * BranchList.[Ch]:
6585         * InsetList.[Ch]:
6586         * LColor.[Ch]:
6587         * LyXAction.C:
6588         * Makefile.am:
6589         * MenuBackend.[Ch]:
6590         * bufferparams.[Ch]:
6591         * factory.C:
6592         * lfuns.h:
6593         * lyxfunc.C:
6594         * text3.C: implements the 'branch inset'
6595         idea. This allows the output of various versions of a document
6596         from a single source version, selectively outputing or suppressing
6597         output of parts of the text.
6598         This implementation contains a 'branch list editor' in a separate
6599         tab of the document settings dialog. Branches are user definable
6600         and have a "display colour" to distinguish them on-screen.
6601
6602         ColorHandler was somewhat cleaned up.
6603         (1) make possible a dynamically growing LColor list by allowing
6604         the graphic context cache to grow along (vector);
6605         (2) eliminate an IMHO unnecessary step in colour allocation.
6606
6607 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6608
6609         * BufferView_pimpl.C: compile fix
6610
6611 2003-08-15  André Pönitz  <poenitz@gmx.net>
6612
6613         * rowpainter.C: remove extra metrics calls
6614
6615         * lyxtext.h: merge the two constructors into a single one,
6616           pass reference to owner's par list
6617
6618         * BufferView_pimpl.C:
6619         * text.C:
6620         * text2.C: adjust
6621
6622 2003-08-15  André Pönitz  <poenitz@gmx.net>
6623
6624         * lyxrow_funcs.[Ch]:
6625         * lyxtext.h:
6626         * paragraph.h:
6627         * paragraph_funcs.C:
6628         * rowpainter.C:
6629         * text.C:
6630         * text2.C:
6631         * text3.C:
6632         * text_funcs.C: split LyXText::rowlist_ into individual
6633         Paragraph::rows_ chunks
6634
6635         * BufferView.[Ch]:
6636         * BufferView_pimpl.[Ch]:
6637         * lyxfind.C:
6638         * lyxtext.h:
6639         * text3.C: remove toggleSelection()
6640
6641 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6642
6643         * bufferlist.C: beautify two alerts (shorter text of buttons)
6644         * buffer.C: Remove redundant ' ' from message
6645         * tabular.h:
6646         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6647         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6648         rename VALIGN_CENTER to VALIGN_MIDDLE
6649
6650 2003-08-11  André Pönitz  <poenitz@gmx.net>
6651
6652         * lyxtext.h (getPar):
6653         * text.C: new function
6654
6655 2003-08-11  André Pönitz  <poenitz@gmx.net>
6656
6657         * Makefile.am:
6658         * tracer.[Ch]: remove unneeded files
6659
6660         * InsetList.[Ch]: remove resizeInsetsLyXText()
6661
6662         * lyxtext.h:
6663         * text.C:
6664         * text2.C:
6665         * text3.C: merge insertParagraphs() and appendParagraph()
6666         remove breakAgain(), update()
6667
6668         * BufferView_pimpl.[Ch]:
6669         * bufferview_funcs.[Ch]:
6670         * lyxfunc.C:
6671         * paragraph.[Ch]:
6672         * rowpainter.C:
6673         * tabular.C: adjust after text & InsetList changes.
6674
6675 2003-08-08  André Pönitz  <poenitz@gmx.net>
6676
6677         * text.C (insertChar, backspace): replace rowlist fiddling
6678         with rebreak of full par
6679
6680         * lyxtext.h:
6681         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6682         checkParagraph, updateInset): removed
6683
6684 2003-08-07  André Pönitz  <poenitz@gmx.net>
6685
6686         * paragraph.C:
6687         * text3.C: merge some LFUN handlers, remove dead code
6688
6689 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6690
6691         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6692
6693 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6694
6695         * text2.C (DEPM): fix part of bug 1255 and 1256
6696
6697 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6698
6699         * BufferView_pimpl.C (workAreaDispatch): change to use
6700         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6701         that are no mouse related.
6702
6703 2003-08-05  André Pönitz  <poenitz@gmx.net>
6704
6705         * BufferView.[Ch]:
6706         * BufferView_pimpl.[Ch]:
6707         * bufferview_funcs.C:
6708         * text2.C:
6709         * text3.C: rip out "deep update"
6710
6711         * textcursor.[Ch] (last_sel_cursor): remove unused member
6712
6713 2003-08-04  André Pönitz  <poenitz@gmx.net>
6714
6715         * BufferView.[Ch]:
6716         * BufferView_pimpl.[Ch]:
6717         * ParagraphParameters.C:
6718         * bufferview_funcs.C:
6719         * lyx_cb.C:
6720         * lyxfind.C:
6721         * lyxfunc.C:
6722         * text.C:
6723         * text2.C:
6724         * text3.C: replace "complicated" BufferView::update(...) calls with
6725         simpler ones.
6726
6727         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6728
6729 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6730
6731         * Makefile.am (lyx_SOURCES): add paper.h
6732
6733 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6734
6735         * Makefile.am: move things around so that both lyx-qt and
6736         lyx-xforms can be built (according to --with-frontend). Then lyx
6737         is a symbolic link to lyx-[firstfrontend]
6738
6739 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6740
6741         * Always use std::endl with lyxerr
6742
6743 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6744
6745         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6746
6747 2003-08-01  André Pönitz  <poenitz@gmx.net>
6748
6749         * BufferView.[Ch]:
6750         * BufferView_pimpl.[Ch]:
6751         * lyxfunc.C:
6752         * text3.C: merge BufferView::repaint() and BufferView::update()
6753
6754 2003-08-01  José Matos  <jamatos@lyx.org>
6755
6756         * buffer.[Ch]: file_format is no longer a buffer data element.
6757
6758 2003-08-01  André Pönitz  <poenitz@gmx.net>
6759
6760         * BufferView.C:
6761         * lyxtext.h:
6762         * text.C:
6763         * text2.C: make redoParagraph more independent of current cursor
6764
6765         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6766         * text.C:
6767         * text2.C: remove unneeded members
6768
6769 2003-07-30  André Pönitz  <poenitz@gmx.net>
6770
6771         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6772
6773         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6774           create a single function...
6775
6776         * paragraph_funcs.C (moveItem): ... here.
6777
6778         * text.C:
6779           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6780
6781 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6782
6783         * LColor.[Ch]: Add comment and greyedout logical colors.
6784
6785 2003-07-30  André Pönitz  <poenitz@gmx.net>
6786
6787         * tabular.C: don't use Assert too heavily. This crashes where it
6788           shouldn't
6789
6790 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6791
6792         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6793         is disabled (bug 1232)
6794
6795 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6796
6797         * factory.C: limited 'arg' scope
6798
6799 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6800
6801         * factory.C: fixed Note submenu issues
6802
6803 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6804
6805         * factory.C: submenu for Note/Comment/Greyedout
6806
6807 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6808
6809         * lyx_main.C (LyX):
6810         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6811
6812 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6813
6814         * LaTeXFeatures.C:
6815         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6816         greyedout. Patch provided by Jürgen Spitzmüller.
6817
6818 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6819
6820         * kbmap.C (read): fix error message when reading bind files
6821
6822 2003-07-29  Angus Leeming  <leeming@lyx.org>
6823
6824         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6825         certainly does not do what it purports to do. I am doing it, and
6826         us, a favour by killing it.
6827
6828 2003-07-28  José Matos  <jamatos@lyx.org>
6829
6830         * buffer.C (readBody, do_writeFile):
6831         * paragraph.C(readParagraph): \end_document replaces \the_end.
6832
6833 2003-07-29  André Pönitz  <poenitz@gmx.net>
6834
6835         * BufferView.[Ch]:
6836         * BufferView_pimpl.[Ch]:
6837         * lyxfunc.C:
6838         * text2.C:
6839         * text3.C:
6840         * textcursor.[Ch]: remove toggleToggle & Co
6841
6842 2003-07-28  José Matos  <jamatos@fep.up.pt>
6843
6844         * buffer.C (readParagraph):
6845         * params_func (readParToken, readParagraph):
6846         * paragraph.C (write): \layout -> \begin_layout.
6847
6848 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * lyxlex_pimpl.C (setFile): clean up slightly.
6851
6852         * bufferparams.h: add compressed var
6853
6854         * buffer_funcs.C (readFile): adjust for LyXLex change
6855         (newFile): ditto + simplify
6856
6857         * buffer.C (writeFile): handle writing of compressed files
6858
6859         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6860         Check if the file is compressed and set a bufferparm if so.
6861
6862         * Makefile.am (lyx_LDADD): remove explicit -lz
6863
6864 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6865
6866         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6867         makeDocBookFile): put the real LyX version in the first line of
6868         the file
6869
6870         * version.h:
6871         * version.C.in: remove lyx_docversion
6872
6873         * tabular.C (write_attribute): add a template-based version to
6874         write enums properly
6875
6876 2003-07-28  André Pönitz  <poenitz@gmx.net>
6877
6878         * lyxtext.h:
6879         * text.C:
6880         * text2.C:
6881         * text3.C: use doubles again for x-coordinates. They are needed.
6882
6883 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * messages.C (getLocaleDir): use lyx_localedir()
6886
6887         * lyxlex_pimpl.C (setFile): compress stuff
6888
6889         * buffer.C (writeFile): add some compression stuff
6890         (do_writeFile): new func, dont call expliti close... will this
6891         breake anything?
6892
6893         * Makefile.am (lyx_LDADD): add -lz
6894
6895 2003-07-28  José Matos  <jamatos@fep.up.pt>
6896
6897         * buffer.C: increment file format.
6898         * paragraph_funcs (readParagraph, readParToken):
6899         * paragraph.C (readParagraph): add \end_layout.
6900
6901 2003-07-27  Angus Leeming  <leeming@lyx.org>
6902
6903         * Makefile.am: remove special casing for configure-time setting of
6904         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6905
6906         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6907         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6908
6909 2003-07-26  André Pönitz  <poenitz@gmx.net>
6910
6911         * paragraph_func.[Ch]:
6912         * paragraph.C (realizeFont): inline it whereever it is used
6913
6914         * rowpainter.C:
6915         * text.C:
6916         * text2.C:
6917         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6918
6919
6920 2003-07-26  André Pönitz  <poenitz@gmx.net>
6921
6922         *       lyxtext.h:
6923         * text.C:
6924         * text2.C: get rid of LyXText::need_break_row
6925
6926 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * toc.[Ch]: put namespace toc inside namespace lyx
6929
6930         * MenuBackend.C (expandToc2): adjust for lyx::toc
6931         (expandToc): ditto
6932
6933         * lyxfunc.C (dispatch): adjust for lyx::find
6934
6935         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6936         lyx::find instead. Reorganize a bit.
6937         (LyXReplace): rename to replace
6938         (LyXFind): rename to find
6939
6940         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6941         (dispatch): ditto
6942
6943 2003-07-26  André Pönitz  <poenitz@gmx.net>
6944
6945         * text.C (setHeightOfRow): restrict scope of temporary variable
6946
6947         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6948           code (never has been used?)
6949
6950 2003-07-27  Asger Alstrup  <alstrup@local>
6951
6952         * text.C (fill): Optimise algorithm to exploit that we can reuse
6953         the LyXFont for many characters.
6954         (setHeightOfRow): Same thing.
6955         (rowBreakPoint): Same thing.
6956
6957 2003-07-26  Asger Alstrup  <alstrup@local>
6958
6959         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6960
6961         * text.C (singleWidth): Spurious font copying in hot-spot
6962         singleWidth avoided. Reorder tests for arabic for efficiency.
6963
6964         * text.C (fill): handle empty paragraphs better.
6965
6966 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6967
6968         * ispell.C:
6969         * encoding.h: add includes
6970
6971         * lyxrc.C: remove reading of bind files
6972
6973         * lyx_main.C (init): setup bindings and menus only if we have a
6974         gui.
6975
6976         * kbmap.C (read): new method. Do the actual reading of bind
6977         files.
6978
6979         * converter.C (dvipdfm_options):
6980         * bufferparams.C:
6981         * lyxrc.C (read):
6982         (output): adapt PAPER_* enums.
6983
6984         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6985
6986         * bufferparams.h: remove paper-related enums from there
6987
6988         * paper.h: New file. A trivial header file to hold paper-related
6989         enums. It should later expand to contain many paper-related
6990         horrors access.
6991
6992         * lyxrc.C: declare extern displayTranslator
6993
6994 2003-07-27  José Matos  <jamatos@fep.up.pt>
6995
6996         * tabular.[Ch] (linuxdoc): add support for tables and figures
6997         (linuxdoc).
6998
6999 2003-07-27  José Matos  <jamatos@fep.up.pt>
7000
7001         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7002         consistency in both functions.
7003         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7004
7005 2003-07-26  Asger Alstrup  <alstrup@local>
7006
7007         * rowpainter.C (paintRows): Change algorithm to work directly on
7008         the insets rather than asking every character in the document
7009         whether its an inset.
7010
7011 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7012
7013         * buffer.C (openFileWrite): factorize some code
7014
7015 2003-07-26  Angus Leeming  <leeming@lyx.org>
7016
7017         * lyx_cb.C:
7018         * lyx_main.[Ch]: replace occurances of system_tempdir with
7019         os::getTmpDir().
7020
7021 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * rename Inset to InsetOld
7024
7025 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7026
7027         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7028         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7029         which I think is a bit clearer. EDIT is gone, since it was
7030         premature optimisation, and broken for mathed anyway.
7031         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7032         with cursor positioning in insets as well (math insets still do not
7033         work, but that's a different story anyway.) It mysteriously
7034         crashes sometimes with undo in the first paragraph, but I'm fairly
7035         confident that this is a compiler bug.
7036
7037 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7038
7039         * paragraph.C (Paragraph): adjust for new clone return type
7040         (operator==): ditto
7041         (copyIntoMinibuffer): ditto
7042
7043 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7044
7045         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7046         by not having a special case, and always doing a full rebreak of
7047         the document after undo.
7048
7049 2003-07-23  Angus Leeming  <leeming@lyx.org>
7050
7051         * factory.C (createInset): InsetExternal::setParams now takes a
7052         Buffer const * arg.
7053
7054 2003-07-23  Angus Leeming  <leeming@lyx.org>
7055
7056         * factory.C (createInset): changed interface to the external and
7057         graphics mailers' string2params functions.
7058
7059 2003-07-23  Angus Leeming  <leeming@lyx.org>
7060
7061         * factory.C (createInset): pass a
7062         Buffer const * parameter to InsetExternalMailer's string2params.
7063
7064 2003-07-22  John Levon  <levon@movementarian.org>
7065
7066         * Thesaurus.h: include the right aiksaurus header
7067
7068 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7069
7070         * MenuBackend.C (expand): check menu shortcuts unconditionally
7071
7072 2003-07-21  Angus Leeming  <leeming@lyx.org>
7073
7074         * factory.C (createInset): pass a
7075         buffer_path parameter to InsetGraphicsMailer's string2params.
7076
7077 2003-07-21  Angus Leeming  <leeming@lyx.org>
7078
7079         * BufferView_pimpl.C (buffer):
7080         * buffer.C (d-tor):
7081         * lyx_main.C (LyX):
7082         * lyxfunc.C (dispatch):
7083         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7084         rather than the grfx shortcut.
7085
7086 2003-07-21  André Pönitz  <poenitz@gmx.net>
7087
7088         * rowpainter.C: remove unused variables
7089
7090         * tabular_funcs.C:
7091         * tabular_funcs.h: move to tabular.C
7092         * Makefile.am: adjust
7093
7094         * tabular.[Ch]: basic optical cleaning
7095
7096         * author.h: pass references, not values
7097
7098 2003-07-18  André Pönitz  <poenitz@gmx.net>
7099
7100         * lyxtext.h:
7101         * metricsinfo.C:
7102         * metricsinfo.h:
7103         * rowpainter.C:
7104         * text.C:
7105         * text2.C:
7106         * text3.C: two-phase drawing for InsetText and InsetTabular
7107         some float -> int changes.
7108
7109 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7110
7111         * lyx_main.C: fix the fix
7112
7113 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7114
7115         * lyx_main.C: fix a crash in batch mode if no files specified
7116         * converter.C: ws
7117
7118 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * format.[Ch] (papersize): moved to BufferParams
7121         * converter.[Ch] (dvips_options): moved to BufferParams
7122         (dvipdfm_options): moved to anon namespace
7123         * bufferparams.[Ch]: added above functions.
7124
7125 2003-07-17  André Pönitz  <poenitz@gmx.net>
7126
7127         * lyxtext.h:
7128         * rowpainter.C:
7129         * text2.C: don't call inset->update() anymore
7130
7131         * metricsinfo.[Ch]: add convenience constructor
7132
7133 2003-07-16  André Pönitz  <poenitz@gmx.net>
7134
7135         * lyxcursor.[Ch]:
7136         * lyxfunc.[Ch]:
7137         * text.C:
7138         * text2.C: replace the LyXCursor::irow_ member with
7139          on-demand computation of the value
7140
7141 2003-07-16  John Levon  <levon@movementarian.org>
7142
7143         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7144
7145 2003-07-15  André Pönitz  <poenitz@gmx.net>
7146
7147         * text.C:
7148         * text2.C: remove no more needed refresh_row
7149
7150 2003-07-15  André Pönitz  <poenitz@gmx.net>
7151
7152         * lyxtext.h:
7153         * rowpainter.C:
7154         * text2.C:
7155         * text3.C: refresh_status tristate -> need_update bool
7156
7157 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * lyxtext.h (init): remove reinit argument (act as if always true)
7160         * text2.C: adjust to that
7161
7162 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7163
7164         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7165         * text3.C: use it to delete selections in some cases
7166         (bugs 441, 673, 702, 954).
7167
7168 2003-07-14  André Pönitz  <poenitz@gmx.net>
7169
7170         * rowpainter.[Ch]: reduce interface
7171
7172 2003-07-14  André Pönitz  <poenitz@gmx.net>
7173
7174         * BufferView_pimpl.C:
7175         * text2.C: adjust after removing unused BufferView * argument
7176
7177 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7178
7179         * text2.C (init): fix a crash fired on resize
7180
7181 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * buffer.[Ch]: added new closing signal
7184         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7185         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7186         BufferView::Pimpl via the closing the signal
7187
7188 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7189
7190         * buffer.[Ch]: take out all bv-related from buffer
7191         * BufferView.C:
7192         * BufferView_pimpl.[Ch]: connect to new signals
7193         * CutAndPaste.C: removed useless asserts
7194         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7195         * lyxvc.[Ch]:
7196         * vc-backend.[Ch]:
7197         * lyxfunc.C: moved view-related funciontality from vc here
7198         * paragraph.C: removed outdated comments
7199         * text.C: ws
7200
7201 2003-07-10  André Pönitz  <poenitz@gmx.net>
7202
7203         * BufferView_pimpl.C:
7204         * tabular.h:
7205         * tabular_funcs.C:
7206         * text.C:
7207         * text2.C: remove InsetText::InnerCache, clean up consequences
7208
7209 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7210
7211         * ispell.C: fix two typos in error messages
7212
7213 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7214
7215         * Extend Note inset to other forms of annotation like Comment
7216         and Greyedout. Right button click gives dialog.
7217
7218         Files modified or added (+):
7219
7220         * insetnote.[Ch]
7221         * FormNote.[Ch]      +
7222         * ControlNote.[Ch]   +
7223         * form_note.fd       +
7224         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7225         frontends/controllers
7226         * xforms/Dialogs.C
7227         * factory.C
7228
7229 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7230
7231         * aspell.C: add missing namespace lyx::support
7232
7233 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7234
7235         * BufferView.[Ch] (newFile): Add
7236         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7237         * LaTeX.[Ch] (message): added this signal and use it
7238         * buffer.[Ch] (busy, message): added these signals and use them
7239         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7240         * converter.C:
7241         * exporter.C:
7242         * format.C:
7243         * importer.C: use buffer signals instead of direct bv calling
7244         * lyx_cb.[Ch] (ShowMessage): removed
7245         * lyx_main.C:
7246         * lyxfunc.C:
7247         * paragraph_funcs.C:
7248         * text2.C: use buffer signals
7249
7250 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * introduce namespace lyx::graphics
7253
7254 2003-07-02  André Pönitz  <poenitz@gmx.net>
7255
7256         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7257
7258 2003-07-01  André Pönitz  <poenitz@gmx.net>
7259
7260         * text.C:
7261         * text2.C:
7262         * text3.C:
7263         * text_funcs.[Ch]:
7264         * textcursor.h:
7265         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7266           text*.C to text_func.C
7267
7268 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * introduce namespace lyx::support
7271
7272 2003-06-30  André Pönitz  <poenitz@gmx.net>
7273
7274         * Chktex.C:
7275         * funcrequest.C:
7276         * lyxtext.h:
7277         * text.C: re-enable --with-included-string
7278
7279 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * textcursor.C: add <config.h>
7282
7283         * text.C (getWord): remove const from word_location arg
7284
7285         * lyxvc.C (getLogFile): fix const type order
7286
7287         * lyxtext.h: remove const from word_location arg, add arg name
7288
7289         * lyxlayout.h: currect type on labeltype.
7290
7291         * importer.C: correct \file
7292
7293         * converter.C (intToFormat): use std:: on ret val, ws changes
7294
7295         * bufferlist.h: correct \file
7296
7297         * buffer.C (makeLinuxDocFile): fix const type order
7298         (makeDocBookFile): ditto
7299         (fillWithBibKeys): use std:: on stdlib args.
7300
7301         * CutAndPaste.C: fix authors.
7302         (availableSelections): use std:: on return vector
7303
7304 2003-06-27  André Pönitz  <poenitz@gmx.net>
7305
7306         * BufferView_pimpl.C:
7307         * bufferview_funcs.C:
7308         * lyxcursor.C:
7309         * lyxcursor.h:
7310         * lyxfunc.C:
7311         * lyxtext.h:
7312         * rowpainter.C:
7313         * text.C:
7314         * text2.C:
7315         * text3.C: remove LyXCursor::row_ member
7316
7317         * lyxtext.h:
7318         * text.C: rename fullRebreak() to partialRebreak() and implement
7319           a fullRebreak() that really bereks fully
7320
7321         * textcursor.h: new struct for cursor-related data
7322
7323 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7324
7325         * lyx_main.C (LyX): get full path of document loaded on the
7326         command line
7327
7328 2003-06-26  André Pönitz  <poenitz@gmx.net>
7329
7330         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7331           remove unused/broken operator>,<,>=.
7332
7333         *       text.C: remove only use of broken operator<= in an Assert().
7334
7335 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7336
7337         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7338         moved errorlist_.clear to showErrorList
7339
7340 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7341
7342         * converter.C (scanLog, runLaTeX):
7343         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7344         move the bv->showErrorList call to the callers
7345         * lyxfunc.C: i.e. here...
7346         * text2.C: and here
7347         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7348         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7349         namespace, the second to...
7350         * buffer_funcs (BufferFormat, parseErrors): added
7351         * errorlist.C (ErrorList(TeXErrors const &)): removed
7352
7353 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7354
7355         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7356
7357 2003-06-24  "Garst R. Reese" <reese@isn.net>
7358
7359         * debug.C: fix typo
7360
7361 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7362
7363         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7364
7365         * version.C.in: change docversion to 1.4
7366
7367 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * buffer.C: fix a bug just introduced
7370
7371 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7372
7373         * buffer.[Ch]: added the parseError signal and use it, removed
7374         sgmlError
7375         * BufferView.[Ch] (addError): moved to ...
7376         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7377         to the Buffer::parseError signal to catch (guess what) parse errors
7378         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7379
7380 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7381
7382         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7383         ability to create a buffer and to return an existing one from
7384         the list. Moved these functions to...
7385         * buffer_funcs.[Ch]: added
7386         * BufferView.[Ch] (loadLyXFile): added
7387         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7388         job removed from bufferlist::loadLyXFile.
7389         * buffer.C (setReadOnly): make it work without view
7390         (i.e added an if (users))
7391
7392 2003-06-19  Angus Leeming  <leeming@lyx.org>
7393
7394         * lfuns.h:
7395         * LyXAction.C (init):
7396         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7397         with LFUN_DIALOG_SHOW <name> <data>.
7398
7399 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7400
7401         * CutAndPaste.C (availableSelections): small compilation fix for
7402         ancient (gcc 2.9x) compilers
7403
7404 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7405
7406         * text3.C (cursorNext): add tmp var
7407
7408         * text2.C (updateCounters): for function calling out of for clause
7409         (replaceSelectionWithString): ditto
7410         (insertStringAsParagraphs): ditto
7411         (getColumnNearX): add tmp var
7412         (setCursorFromCoordinates): add tmp var
7413         (cursorDownParagraph): add tmp var
7414         (deleteEmptyParagraphMechanism): add tmp var
7415
7416         * text.C (insertChar): add tmp var
7417
7418         * rowpainter.C (paintDepthBar): add tmp var
7419
7420         * CutAndPaste.C (availableSelections): potentially check all
7421         paragraphs in a cut to fill the shown strings.
7422
7423 2003-06-18  André Pönitz  <poenitz@gmx.net>
7424
7425         * kbmap.[Ch]: use vector<> instead of list<>
7426
7427 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7428
7429         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7430         pasteSelection with index
7431
7432         * text2.C (pasteSelection): modify, call pasteSelection with index
7433
7434         * paragraph.C (asString): reimplement version with no interval to
7435         call the one with interval.
7436
7437         * lyxtext.h: add index arg to pasteSelection
7438
7439         * MenuBackend.C (MenuItem): handle PasteRecent
7440         (Menu::read::Menutags): add md_pasterecent
7441         (read): handle it
7442         (expandPasteRecent): new function
7443         (expand): use it
7444
7445         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7446
7447         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7448         the limited stack
7449         (availableSelections): new function
7450
7451 2003-06-17  Angus Leeming  <leeming@lyx.org>
7452
7453         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7454
7455 2003-06-17  Angus Leeming  <leeming@lyx.org>
7456
7457         * lfuns.h:
7458         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7459
7460         * lyxfunc.C (dispatch): invoke it.
7461
7462 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7463
7464         * iterators.C (operator++, ParPosition): reintroduce some
7465         const_cast for the benefit of older compilers.
7466
7467 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7468
7469         * text3.C (dispatch): do not modify clipboard when doing
7470         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7471         LFUN_DELETE_SKIP on a selection selection
7472
7473 2003-06-16  André Pönitz  <poenitz@gmx.net>
7474
7475         * BufferView.C:
7476         * buffer.C:
7477         * buffer.h:
7478         * paragraph.C:
7479         * tabular.[Ch]: IU of clone() and getLabelList();
7480
7481 2003-06-13  André Pönitz  <poenitz@gmx.net>
7482
7483         * tabular.h: compactification
7484
7485 2003-06-12  André Pönitz  <poenitz@gmx.net>
7486
7487         * tabular.C:
7488         * tabular.h:
7489         * tabular_funcs.h: some renaming plus whitespace
7490
7491 2003-06-12  André Pönitz  <poenitz@gmx.net>
7492
7493         * BufferView.C:
7494         * BufferView_pimpl.C:
7495         * CutAndPaste.C:
7496         * buffer.C:
7497         * iterators.[Ch]:
7498         * lyxfunc.C:
7499         * text.C:
7500         * toc.C: Return a Paragraph & for ParIterator::operator*()
7501
7502 2003-06-11  John Levon  <levon@movementarian.org>
7503
7504         * lyx_main.C:
7505         * ToolbarBackend.h:
7506         * ToolbarBackend.C: add "Toolbars" section and
7507         put the flags there
7508
7509 2003-06-10  Angus Leeming  <leeming@lyx.org>
7510
7511         * lfuns.h:
7512         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7513
7514         * lyxfunc.C (dispatch): invoke it.
7515
7516 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * main.C: protect <ios> with HAVE_IOS
7519         (main): protect sync_with_stdio with HAVE_IOS
7520
7521 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7522
7523         * text2.C (cutSelection): adjust
7524         (pasteSelection): adjust
7525
7526         * messages.C: handle get of empty string
7527
7528         * main.C (main): use sync_with_stdio(false)
7529
7530         * lyxfunc.C (dispatch): adjust
7531
7532         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7533         (WriteAs): remove unneeded BufferView arg.
7534
7535         * bufferparams.h: use correct types on papersize, papersize2 and
7536         paperpackage.
7537
7538         * bufferparams.C (readToken): adjust for type
7539         (writeLaTeX): add missing cases to switch.
7540
7541         * bufferlist.C (quitWriteBuffer): adjust
7542         (close): adjust
7543
7544         * buffer.C (asciiParagraph): remove some commented code.
7545
7546         * CutAndPaste.C: remove current_view extern variable.
7547         (cutSelection): add BufferParams arg.
7548         (eraseSelection): add BufferParams arg.
7549         (pasteSelection): add Buffer const & arg
7550
7551 2003-06-07  John Levon  <levon@movementarian.org>
7552
7553         * buffer.C:
7554         * paragraph_funcs.C:
7555         * paragraph_pimpl.C:
7556         * text.C:
7557         * text2.C:
7558         * paragraph.h:
7559         * paragraph.C: allow InsetERT to freely space lines,
7560         and some consolidation of code
7561
7562 2003-06-06  José Matos  <jamatos@fep.up.pt>
7563
7564         * buffer.C (makeDocBookFile): fix bug #821
7565
7566 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7567
7568         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7569
7570 2003-06-04  Angus Leeming  <leeming@lyx.org>
7571
7572         * buffer.C: bump format to 224.
7573
7574 2003-06-05  André Pönitz  <poenitz@gmx.net>
7575
7576         * text2.C (redoParagraphs): remove two const_cast<>
7577
7578 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7579
7580         * ParagraphList.h: remove last remnants of NO_STD_LIST
7581
7582 2003-06-03  Angus Leeming  <leeming@lyx.org>
7583
7584         * factory.C (createInset): small change to the way InsetExternal's params
7585         are set.
7586
7587 2003-06-04  André Pönitz  <poenitz@gmx.net>
7588
7589         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7590
7591         * paragraph_pimpl.h:
7592         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7593
7594         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7595
7596         * undo_funcs.C: make some simple cases of undo work again
7597
7598 2003-06-03  John Levon  <levon@movementarian.org>
7599
7600         * ispell.C: HPUX doesn't have sys/select.h
7601         (from Albert Chin)
7602
7603 2003-06-03  John Levon  <levon@movementarian.org>
7604
7605         * CutAndPaste.C: update tabular and include inset
7606         buffer references
7607
7608         * buffer.h:
7609         * paragraph.h:
7610         * paragraph.C: remove owningBuffer(), don't pass Buffer
7611         to clone()
7612
7613         * factory.C: insetGraphicsParams changed
7614
7615 2003-06-02  John Levon  <levon@movementarian.org>
7616
7617         * LyXAction.C:
7618         * factory.C:
7619         * lfuns.h:
7620         * lyxfunc.C:
7621         * text3.C: remove insetparent
7622
7623 2003-06-02  John Levon  <levon@movementarian.org>
7624
7625         * buffer.h:
7626         * buffer.C: fix inset_iterator.end(), move out of line
7627         (bug 1149)
7628
7629 2003-06-01  John Levon  <levon@movementarian.org>
7630
7631         * text3.C: use a proper cut/paste when doing inset
7632         insert (from Jürgen Spitzmüller)
7633
7634 2003-06-01  John Levon  <levon@movementarian.org>
7635
7636         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7637
7638 2003-05-30  André Pönitz  <poenitz@gmx.net>
7639
7640         * rowpainter.C: unify second drawing phase
7641
7642 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * trans_mgr.C: remove one case of current_view
7645
7646         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7647
7648         * paragraph_funcs.h: remove paragraph.h include
7649
7650         * paragraph.h: delete NO_STD_LIST stuff
7651
7652         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7653
7654         * buffer.h: remove paragraph.h include
7655
7656         * ParagraphList.C: delete file
7657
7658         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7659
7660         * toc.C (getTocList): adjust
7661
7662         * paragraph_pimpl.C (validate): adjust
7663
7664         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7665
7666         * paragraph.C (Paragraph): adjust
7667         (getPositionOfInset): use const_iterator, adjust
7668         (bibitem): use const_iterator, adjust
7669         (setInsetOwner): adjust
7670
7671         * iterators.C (operator++): adjust
7672
7673         * InsetList.[Ch]: Replace selfmade iterator with standard
7674         vector::iterator also introduce const_iterator. Remove getPos,
7675         getInset and setInset from InsetTable. Adjust accordingly.
7676
7677         * BufferView.C (lockInset): adjust
7678         (ChangeInsets): adjust
7679
7680         * tabular.[Ch]: delete commented same_id functions
7681
7682 2003-05-28  John Levon  <levon@movementarian.org>
7683
7684         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7685
7686 2003-05-28  André Pönitz  <poenitz@gmx.net>
7687
7688         * metricsinfo.[Ch]: remove 'fullredraw' member
7689
7690 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7691
7692         * lyxtextclass.C (operator): remove caching.
7693
7694 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * text3.C: adjust
7697
7698         * text2.C (cursorBottom): adjust
7699         (setCounter): use ParagraphList::find, adjust
7700
7701         * text.C (workWidth): use ParagraphList::find, adjust
7702
7703         * lyxcursor.C (LyXCursor): adjust
7704
7705         * buffer.C (inset_iterator): adjust
7706
7707         * ParagraphList.h: make iterator(value_type) private, make
7708         ParagraphList a friend of iterator.
7709
7710         * ParagraphList.C (find): new function
7711
7712         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7713
7714 2003-05-27  André Pönitz  <poenitz@gmx.net>
7715
7716         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7717
7718 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7719
7720         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7721
7722 2003-05-26  John Levon  <levon@movementarian.org>
7723
7724         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7725
7726 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * remove same_id from function signatures, adjust.
7729
7730 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7733
7734         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7735
7736         * paragraph.C (Paragraph): get rid of same_ids parameter
7737
7738         * ParagraphList.C (insert): adjust
7739         (push_back): adjust
7740
7741 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * paragraph_funcs.C (breakParagraph): adjust
7744         (breakParagraphConservative): adjust
7745
7746         * buffer.C (readParagraph): adjust
7747
7748         * ParagraphList.C (insert): take a reference instead of a pointer
7749         (insert): adjust
7750
7751         * paragraph.[Ch] (id): new function
7752
7753         * bufferlist.C (newFile): adjust
7754
7755         * ParagraphList.C (ParagraphList): adjust
7756         (assign): adjust
7757         (push_back): take a reference instead of a pointer.
7758
7759         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7760
7761         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7762         instead.
7763
7764         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7765         set else use old code.
7766
7767         * ParagraphList.C: remove all NO_NEXT code and only compile this
7768         code of NO_STD_LIST is set.
7769
7770 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7771
7772         * BufferView_pimpl.C:
7773         * TextCache.C:
7774         * TextCache.h:
7775         * bufferlist.C:
7776         * errorlist.h:
7777         * format.C:
7778         * format.h:
7779         * graph.C:
7780         * lyxfunc.C:
7781         * lyxrc.C:
7782         * graphics/GraphicsConverter.C:
7783         * graphics/PreviewLoader.C: header adjustment
7784
7785 2003-05-23  Angus Leeming  <leeming@lyx.org>
7786
7787         * LaTeXFeatures.[Ch] (useBabel): new method.
7788         * bufferparams.C (writeLaTeX): use it.
7789
7790 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * ParagraphList.h (set): remove unused function.
7793
7794 2003-05-23  André Pönitz  <poenitz@gmx.net>
7795
7796         * BufferView.C:
7797         * BufferView_pimpl.C:
7798         * buffer.C:
7799         * buffer.h:
7800         * lyxfunc.C:
7801         * undo_funcs.C: setUndo reworked
7802
7803         * iterators.[Ch]: add access to topmost ParagraphList
7804
7805         * lyxtext.[Ch] (workWidth): add a const
7806
7807 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7808
7809         * texrow.[Ch] (increasePos): remove function
7810         * exporter.C (export): removed unused var and outdated comment
7811
7812 2003-05-23  Angus Leeming  <leeming@lyx.org>
7813
7814         * latexrunparams.h: rename fragile as moving_arg.
7815         * paragraph.C (simpleTeXOnePar): ditto.
7816         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7817
7818 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7821         (createUndo): ditto
7822         (textUndoOrRedo): comment out a currently unused var.
7823
7824         * paragraph.h (NO_NEXT): enable NO_NEXT
7825
7826         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7827
7828         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7829
7830         * exporter.C (Export): adjust for removeAutoInsets removal.
7831
7832         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7833
7834         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7835
7836         * BufferView.[Ch] (removeAutoInsets): delete function
7837
7838 2003-05-22  Angus Leeming  <leeming@lyx.org>
7839
7840         * latexrunparams.h: add a free_spacing variable.
7841
7842         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7843         to pass moving_arg, as the data is stored in runparams.fragile.
7844
7845         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7846         to Inset::latexOptional or to simpleTeXOnePar.
7847
7848         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7849         free_spacing arg to Inset::latexOptional.
7850
7851         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7852         free_spacing arg.
7853
7854 2003-05-22  Angus Leeming  <leeming@lyx.org>
7855
7856         * latexrunparams.h: add fragile and use_babel variables.
7857
7858         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7859         * buffer.C (makeLaTeXFile): store this returned value in
7860         runparams.use_babel, thus passing it to the inset::latex methods.
7861
7862         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7863         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7864
7865         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7866         longer has a fragile arg, as it is stored in runparams.fragile.
7867
7868         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7869         moving_arg parameter as the data is stored in runparams.fragile.
7870
7871         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7872         a fragile parameter as the data is stored in runparams.fragile.
7873
7874 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7877
7878 2003-05-22  Angus Leeming  <leeming@lyx.org>
7879
7880         * latexrunparams.h: add a 'bool nice' which defaults to false.
7881
7882         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7883         now encapsulated within runparams.
7884
7885         * bufferlist.C (updateIncludedTeXfiles):
7886         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7887
7888 2003-05-22  Angus Leeming  <leeming@lyx.org>
7889
7890         * latexrunparams.h: new file containing struct LatexRunParams.
7891         * Makefile.am: add new file.
7892
7893         * LaTeX.[Ch] (c-tor, run):
7894         * buffer.[Ch] (makeLaTeXFile):
7895         * bufferlist.[Ch] (updateIncludedTeXfiles):
7896         * converter.C (convert, scanLog):
7897         * converter.[Ch] (runLaTeX):
7898         * exporter.C (Export):
7899         * paragraph.[Ch] (simpleTeXOnePar):
7900         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7901         * paragraph_funcs.[Ch] (latexParagraphs):
7902         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7903         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7904         pass around a LatexRunParams parameter.
7905
7906 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * paragraph.[Ch]: remove unused constructor
7909
7910         * ParagraphList.C (erase): new function, taking two iterators
7911
7912 2003-05-22  André Pönitz  <poenitz@gmx.net>
7913
7914         * undo_funcs.C: remove duplicated code
7915
7916         * iterator.[Ch]: operator=
7917
7918 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * tabular.C (SetMultiColumn): ws changes
7921
7922         * rowpainter.C (paintFirst): get rid of a ->previous
7923
7924         * lyx_cb.C (getPossibleLabel): parlist simplification
7925
7926         * BufferView.C (ChangeInsets): simplify slightly.
7927
7928 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7929
7930         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7931         * lfuns.h: new LFUN_SPACE
7932         * lyxfunc.C: protected space has a new lfun
7933         * paragraph_funcs.C: read new space insets
7934         * text3.C:
7935         * factory.C: handle new space insets
7936
7937 2003-05-22  André Pönitz  <poenitz@gmx.net>
7938
7939         * BufferView.C:
7940         * BufferView_pimpl.C:
7941         * buffer.[Ch]:
7942         * lyxfunc.C:
7943         * undo_funcs.C: return a ParIterator from getParFromID.
7944
7945         * iterators.[Ch]: add two const's
7946
7947 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * toc.C (getTocList): adjust
7950
7951         * iterators.[Ch]: rework for parlist
7952
7953         * buffer.C (par_iterator_begin): adjust
7954         (par_iterator_end): adjust
7955
7956         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7957
7958         * BufferView.C (removeAutoInsets): adjust
7959         (ChangeInsets): adjust
7960
7961 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7962
7963         * text.C (top_y): fix bug 1110
7964
7965 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7966
7967         * errorlist.[Ch]: added
7968         * buffer.C:
7969         * BufferView.[Ch]:
7970         * BufferView_pimpl.C:
7971         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7972         instead
7973
7974 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7975
7976         * Makefile.am: ensure that lyx is relinked upon changes to the
7977         various "convenience" libs.
7978
7979 2003-05-20  Angus Leeming  <leeming@lyx.org>
7980
7981         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7982         files are compiled in alphabetical order again.
7983
7984         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7985
7986 2003-05-19  Angus Leeming  <leeming@lyx.org>
7987
7988         * gettext.[Ch]: remove "char const * _(char const *)".
7989
7990 2003-05-19  André Pönitz  <poenitz@gmx.net>
7991
7992         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7993
7994         * Makefile.am:
7995         * BufferView.C:
7996         * DepTable.h:
7997         * LaTeXFeatures.C:
7998         * buffer.C:
7999         * lyxfont.C:
8000         * lyxlex.h:
8001         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8002
8003 2003-05-19  André Pönitz  <poenitz@gmx.net>
8004
8005         * buffer.C:
8006         * lyxlayout.[Ch]:
8007         * lyxtextclass.[Ch]:
8008         * paragraph.C:
8009         * paragraph_funcs.[Ch]:
8010         * text2.C:
8011         * text3.C: more insetenv work
8012
8013 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8014
8015         * ParagraphParameters.C (params2string): small bug fixed
8016
8017 2003-05-16  André Pönitz  <poenitz@gmx.net>
8018
8019         * debug.C:
8020         * bufferview_funcs.C: patch from Kornel Benko to prevent
8021           crash when _(...) is called twice in a statement
8022
8023 2003-05-16  André Pönitz  <poenitz@gmx.net>
8024
8025         * BufferView.C:
8026         * lyxfunc.C:
8027         * text.C:
8028         * text2.C:
8029         * text3.C:
8030         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8031
8032 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8033
8034         * lyx_main.C (init): remove spurious static_cast
8035
8036 2003-05-14  André Pönitz  <poenitz@gmx.net>
8037
8038         * BufferView.C: fix format string
8039
8040 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8041
8042         * BufferView.[Ch] (insertErrors): removed
8043         * BufferView.[Ch] (showErrorList): added
8044         * buffer.C (runChkTeX):
8045         * converter.C (scanLog): call showErrorList instead of inserterrors
8046
8047 2003-05-13  André Pönitz  <poenitz@gmx.net>
8048
8049         * BufferView_pimpl.C:
8050         * buffer.C:
8051         * bufferview_func.C:
8052         * MenuBackend.C:
8053         * lyxfunc.C:
8054         * lyxrc.C:
8055         * tex-accent.C:
8056         * text3.C:
8057         * toc.C:
8058         * tabular_funcs.h: tostr() from its own header
8059
8060         * ParagraphParameters.C:
8061         * ToolbarBackend.C:
8062         * bufferparams.C:
8063         * format.C:
8064         * lyxlex_pimpl.C:
8065         * text3.C: STRCONV()
8066
8067 2003-05-12  André Pönitz  <poenitz@gmx.net>
8068
8069         * BufferView.C:
8070         * BufferView_pimpl.C:
8071         * CutAndPaste.C:
8072         * LaTeX.C:
8073         * LaTeXFeatures.C:
8074         * ParagraphParameters.C:
8075         * buffer.C:
8076         * bufferlist.C:
8077         * bufferparams.C:
8078         * bufferview_funcs.C:
8079         * converter.C:
8080         * counters.C:
8081         * debug.C:
8082         * exporter.C:
8083         * format.C:
8084         * importer.C:
8085         * lyx_cb.C:
8086         * lyx_main.C:
8087         * lyxfont.C:
8088         * lyxfunc.C:
8089         * lyxvc.C:
8090         * paragraph.C:
8091         * paragraph_funcs.C:
8092         * tabular.C:
8093         * tabular_funcs.C:
8094         * text2.C:
8095         * text3.C:  boost::format -> bformat  all over the place
8096
8097
8098 2003-05-09  André Pönitz  <poenitz@gmx.net>
8099
8100         * LColor.[Ch]: Pimpl the #include <map> away
8101
8102 2003-05-09  John Levon  <levon@movementarian.org>
8103
8104         * bufferlist.C: never remove emergency saves
8105
8106 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * Makefile.am: better lib building
8109
8110 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8113         instead.
8114         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8115         (simpleTeXSpecialChars): adjust
8116         (simpleTeXSpecialChars): adjust
8117         * paragraph.C (simpleTeXOnePar): adjust
8118         * buffer.C (makeLaTeXFile): adjust
8119
8120         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8121
8122         * text2.C (changeDepth): parlist cleanup
8123         (getColumnNearX): ditto
8124
8125         * rowpainter.C (getLabelFont): parlist cleanup
8126
8127         * bufferlist.C (newFile): parlist cleanup
8128
8129         * CutAndPaste.C (eraseSelection): parlist cleanup
8130
8131         * BufferView_pimpl.C (trackChanges): parlist cleanup
8132         (dispatch): ditto
8133
8134         * BufferView.C (lockInset): parlist cleanup.
8135         (ChangeInsets): ditto
8136
8137 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * CutAndPaste.h: Update file header.
8140
8141         * CutAndPaste.C: Update file header.
8142         Store the parts cut out of the Document in a limited_stack.
8143         (copySelection): adjust
8144         (pasteSelection): new function, takes the index in the limited stack.
8145         (nrOfParagraphs): adjust
8146         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8147         simplify error inset insertion.
8148         (checkPastePossible): adjust
8149
8150 2003-05-06  John Levon  <levon@movementarian.org>
8151
8152         * text2.C: don't cast wrap inset to float
8153
8154 2003-05-05  André Pönitz  <poenitz@gmx.net>
8155
8156         * iterator.C:
8157         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8158
8159         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8160           few naked Paragraph *.
8161
8162 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8163
8164         * bufferparams.C: Output warning if a document with missing
8165         TeX document class is loaded
8166         * exporter.C: Disable TeX exports if the document class is missing
8167         * lyxtextclass.C:
8168         * lyxtextclass.h:
8169         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8170         isTeXClassAvailable()
8171
8172 2003-05-03  John Levon  <levon@movementarian.org>
8173
8174         * BufferView.h:
8175         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8176         explicit cursor show/hide
8177
8178         * BufferView_pimpl.h:
8179         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8180         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8181
8182         * lyxfunc.C: hide cursor before dispatching.
8183
8184         * lyx_cb.C:
8185         * lyxfind.C:
8186         * text.C:
8187         * text3.C: remove explicit cursor hides
8188
8189 2003-05-02  André Pönitz  <poenitz@gmx.net>
8190
8191         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8192
8193         * undo_funcs.C:
8194         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8195           linked lists
8196
8197         * text2.C: tiny whitespace
8198
8199 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * undo_funcs.C: almost only ws changes.
8202
8203         * ParagraphList.C (splice): just return if pl is empty.
8204
8205 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * ParagraphList.C (splice): new function.
8208
8209         * CutAndPaste.C (pasteSelection): use it
8210
8211 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * CutAndPaste.C (pasteSelection): remove the last next and
8214         previous from this file.
8215
8216 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * CutAndPaste.C (pasteSelection): more clean up, user proper
8219         ParagraphList functions for pasteing.
8220
8221         * ParagraphList.C (insert): new function, three arg insert
8222
8223 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * ParagraphList.C (insert): new function, three arg insert
8226
8227         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8228         not on paragraphs.
8229
8230 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8233
8234 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8237
8238 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8241         (copySelection): clean up a bit.
8242         (pasteSelection): use make_pair
8243
8244         * ParagraphList.C (ParagraphList): implement copy constructor
8245         (operator=): implement, base on copy constructor.
8246         (assign): new func
8247
8248         * paragraph.C (erase): return a bool
8249
8250         * paragraph_pimpl.C (erasePos): remove function, move contents...
8251         (erase): ... here. Return a bool.
8252         (erase): call erase instead of erasePos.
8253
8254 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8255
8256         * ParagraphList.h: define PitPosPair
8257         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8258         ParagraphList, fix a bug on pasting multiple pars
8259         * text2.C: change interface to C&P
8260
8261 2003-04-30  André Pönitz  <poenitz@gmx.net>
8262
8263         * undo_func.C: revert part of yesterday's patch 2
8264
8265 2003-04-30  John Levon  <levon@movementarian.org>
8266
8267         * LColor.C: s/tabular/table/
8268
8269 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8270
8271         * text3.C (dispatch): do not convert iterator -> pointer
8272         * undo_funcs.C (setCursorParUndo): ditto
8273         * text_funcs.C (transposeChars): ditto
8274
8275         * text2.C (setLayout): ws changes only
8276
8277         * text.C (breakParagraph): do not convert iterator -> pointer
8278         (insertChar): ditto
8279         (acceptChange): ditto
8280         (rejectChange): ditto
8281         (changeCase): ditto
8282         (Delete): ditto
8283         (backspace): ditto
8284
8285         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8286         pointer
8287
8288 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8289
8290         * text3.C (gotoInset): YABG (yet another bad getChar)
8291
8292 2003-04-29  André Pönitz  <poenitz@gmx.net>
8293
8294         * paragraph.h: make operator= private unimplemented as long as
8295           it is unusable
8296
8297         * ParagraphList.C: whitespace
8298
8299         * paragraph.[Ch]:
8300         * paragraph_pimpl.[Ch]:
8301         * paragraph_funcs.C:
8302         * CutAndPaste.C:
8303         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8304
8305         * text2.C:
8306           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8307
8308 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8309
8310         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8311         * paragraph.[Ch] (erase):
8312         * paragraph_pimpl.[Ch] (erase): change return type and value
8313         * text2.C (cutSelection): some rework
8314
8315 2003-04-28  John Levon  <levon@movementarian.org>
8316
8317         * bufferlist.C: changes for unsaved changes dialog
8318
8319 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * bufferlist.C (newFile): set language (messages_) for new
8322         documents also.
8323
8324         * buffer.C (readFile): ws changes only.
8325
8326 2003-04-28  André Pönitz  <poenitz@gmx.net>
8327
8328         * undo_funcs.C:
8329         * lyxfunc.C:
8330         * buffer.[Ch]:
8331         * BufferView_pimpl.C:
8332         * BufferView.C: getParFromID related ParagraphList::iterator changes
8333
8334 2003-04-28  André Pönitz  <poenitz@gmx.net>
8335
8336         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8337           Changes
8338
8339 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8340
8341         * messages.C: remove one more localedir class variable.
8342
8343 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * messages.C (getLocaleDir): singleton generation function
8346         (Pimpl): use it.
8347         (Messages): add a default constructor.
8348
8349         * main.C (main): do not setup localedir here, do not call
8350         gettext_init.
8351
8352         * gettext.C (_): use it.
8353         (gettext_init): delete funciton
8354
8355 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * gettext.C (getLyXMessages): new singleton generating function.
8358
8359         * buffer.C (updateDocLang): adjust
8360
8361         * Makefile.am (messages.o): add target
8362         (main.o): remove target
8363
8364 2003-04-27  John Levon  <levon@movementarian.org>
8365
8366         * bufferlist.C:
8367         * lyx_cb.C:
8368         * lyxfunc.C:
8369         * lyxvc.C: specify cancel button in Alert::prompt
8370
8371 2003-04-26  John Levon  <levon@movementarian.org>
8372
8373         * text3.C:
8374         * lyxfunc.C:
8375         * lfuns.h:
8376         * LyXAction.C: add LFUN_INSET_SETTINGS
8377
8378         * lyxfunc.C: don't enable tabular-feature when there's
8379         just any locking inset
8380
8381 2003-04-26  John Levon  <levon@movementarian.org>
8382
8383         * bufferlist.C: re-add Cancel to buffer close question
8384
8385         * lyxfunc.C: fix import UI a bit
8386
8387 2003-04-25  John Levon  <levon@movementarian.org>
8388
8389         * gettext.C: remove the broken asserts for now
8390
8391 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * messages.C: make case where setlocale cannot comply work better.
8394
8395         * buffer.C (updateDocLang): new function
8396         (changeLanguage): use it
8397         (readFile): use it
8398
8399         * text2.C (setCounter): use B_ a bit.
8400
8401         * lyxlayout.C (Read): be sure to trim the label strings.
8402
8403         * messages.C (Messages): fix typo in comment
8404
8405         * buffer.C (readFile): set message_ after file is loaded.
8406         (makeDocBookFile): remove double return
8407         (changeLanguage): reset message_ upon language change.
8408         (B_): new func, use this to get translated buffer strings.
8409
8410         * main.C: add myself and Jean Marc as authors.
8411
8412 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * messages.[hC]: pimplify Messages, and three different pimpls to be
8415         used in different circumstances.
8416
8417         * gettext.[Ch]: change for use with new message code.
8418
8419 2003-04-24 André Pönitz <poenitz@gmx.net>
8420
8421         * factory.C: support for eqref
8422
8423 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * messages.[Ch]: add missing char
8426
8427         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8428
8429         * messages.[Ch]: New files
8430
8431 2003-04-18  John Levon  <levon@movementarian.org>
8432
8433         * BufferView.h:
8434         * BufferView.C:
8435         * BufferView_pimpl.C:
8436         * lfuns.h:
8437         * LyXAction.C:
8438         * lyxtext.h:
8439         * text2.C: remove layout-copy/paste (bug 778)
8440
8441 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8442
8443         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8444
8445 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8446
8447         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8448         if they succeed. Act accordingly.
8449
8450 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8451
8452         * text2.C (setCharFont): adjust
8453         (setCounter): adjust
8454         (insertStringAsLines): adjust
8455
8456         * text.C (leftMargin): adjust
8457         (setHeightOfRow): adjust
8458
8459         * rowpainter.C (paintFirst): adjust
8460         (paintLast): adjust
8461
8462         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8463         (outerHook): ditto
8464         (isFirstInSequence): ditto
8465         (getEndLabel): ditto
8466         (outerFont): adjust
8467
8468         * paragraph.C (getParLanguage): comment out some hard stuff.
8469
8470         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8471         (sgmlError): ditto
8472         (simpleDocBookOnePar): ditto
8473         (makeDocBookFile): use ParagraphList::iterator
8474
8475         * CutAndPaste.C (pasteSelection): adjust
8476
8477 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8478
8479         * text2.C (getFont): adjust
8480         (getLayoutFont): adjust
8481         (getLabelFont): adjust
8482
8483         * paragraph_funcs.C (TeXOnePar): adjust
8484
8485         * buffer.C (simpleLinuxDocOnePar): adjust
8486         (simpleDocBookOnePar): adjust
8487
8488         * CutAndPaste.C (pasteSelection): adjust
8489
8490         * BufferView.C (getEncoding): adjust
8491
8492         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8493
8494 2003-04-16  John Levon  <levon@movementarian.org>
8495
8496         * lyxfind.C: use parlist stuff for search/changes
8497
8498 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8499
8500         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8501
8502         * text2.C (deleteEmptyParagraphMechanism): adjust
8503
8504         * text2.[Ch] (ownerParagraph): delete func (both of them
8505
8506 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8509
8510 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8511
8512         * ParagraphList.C: prepare for NO_NEXT
8513
8514 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8515
8516         * text2.C (getFont): adjust
8517         (getLayoutFont): adjust
8518         (getLabelFont): adjust
8519
8520         * paragraph.C (getFont): adjust
8521         (getLabelFont): adjust
8522         (getLayoutFont): adjust
8523
8524         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8525
8526 2003-04-15  John Levon  <levon@movementarian.org>
8527
8528         From Angus Leeming
8529
8530         * lyx_main.C: handle Include in .ui files
8531
8532 2003-04-15  John Levon  <levon@movementarian.org>
8533
8534         * MenuBackend.C: make the doc files length shorter
8535
8536         * ToolbarBackend.h:
8537         * ToolbarBackend.C: handle toolbar placement flags,
8538         Minibuffer
8539
8540 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8543         adjust
8544
8545         * paragraph_funcs.C (TeXOnePar): adjust
8546
8547         * paragraph.C (getLabelFont): add outerfont arg, adjust
8548         (getLayoutFont): ditto
8549         (simpleTeXOnePar): adjust
8550
8551         * paragraph_pimpl.C (realizeFont): delete func
8552
8553 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8554
8555         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8556         row argument, constify cur argument.
8557
8558 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * text2.C (getFont): adjust
8561         (getLayoutFont): adjust
8562         (getLabelFont): adjust
8563
8564         * paragraph_funcs.C (TeXOnePar): adjust
8565         (outerFont): new func...
8566         (realizeFont): ...moved out from here, changed this to facilitate
8567         transition
8568
8569         * paragraph.C (getFont): take outerfont as arg, adjust
8570         (simpleTeXOnePar): add outerfont arg, adjust
8571
8572         * buffer.C (simpleLinuxDocOnePar): adjust
8573         (simpleDocBookOnePar): adjust
8574
8575         * CutAndPaste.C (pasteSelection): adjust
8576
8577         * BufferView.C (getEncoding): adjust
8578
8579 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * text2.C (setCharFont): adjust
8582         (setCounter): adjust
8583
8584         * text.C (leftMargin): adjust
8585         (setHeightOfRow): adjust
8586
8587         * rowpainter.C (paintFirst): adjust
8588         (paintLast): adjust
8589
8590         * paragraph_pimpl.C (realizeFont): adjust
8591
8592         * paragraph.C (isFirstInSequence): move from here...
8593         * paragraph_funcs.C (isFirstInSequence): ...to here
8594
8595         * paragraph.C (outerHook): move from here...
8596         * paragraph_funcs.C (outerHook): ...to here
8597
8598         * paragraph.C (depthHook): move from here...
8599         * paragraph_funcs.C (depthHook): ...to here
8600
8601         * paragraph.C (getEndLabel): move from here...
8602         * paragraph_funcs.C (getEndLabel): ...to here
8603
8604         * text2.C (realizeFont): move from here...
8605         * paragraph_funcs.C (realizeFont): ...to here
8606
8607 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8610
8611 2003-04-14  Angus Leeming  <leeming@lyx.org>
8612
8613         * LColor.[Ch]: scrap LColor mathcursor.
8614
8615 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8616
8617         * lyxlex.[Ch] (text): delete function
8618         * trans.C (Load): adjust
8619         * paragraph_funcs.C (readParToken): adjust
8620
8621 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8624         vector<char> instead of a char[].
8625
8626         * lyxlex_pimpl.C (getString): adjust
8627         (next): adjust
8628         (lex): use getString
8629         (eatLine): adjust
8630         (nextToken): adjust
8631
8632         * lyxlex.C (text): use pimpl_->getString()
8633         (getBool): ditto
8634         (findToken): ditto
8635
8636 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8637
8638         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8639         (makeFontEntriesLayoutSpecific): temp var for par.size()
8640         (setLayout): temp var for ownerParagraphs().end()
8641         (fullRebreak): temp var for rows().end()
8642         (selectionAsString): temp var for boost::next(startpit), realize
8643         that the while really is a regular for loop.
8644         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8645         setCursor in one place.
8646         (setParagraph): temp vr for ownerParagraphs().end()
8647         (updateCounters): make the while loop a for loop
8648         (cutSelection): temp var for ownerParagraphs().end()
8649         (updateInset): make the do {} while() a regular for loop
8650         (getCursorX): use temp vars
8651         (setCurrentFont): use temp vars
8652         (getColumnNearX): use temp vars
8653
8654 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8655
8656         * text.C (transformChar): use temp var for getChar
8657         (computeBidiTables): use temp var for row->par()
8658         (fill): move temp vars for row->par() and pit->layout() earlier in
8659         the function.
8660         (labelFill): use temp var for row->par()
8661         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8662         asc and desc, realize that pit never changes and that firstpit is
8663         just a duplicate and not needed. Exchange rit->par() with pit in a
8664         lot of places.
8665         (breakAgain): use a temp var for boost::next(rit)
8666         (breakAgainOneRow): ditto
8667         (breakParagraph): use a temp var for rows().begin()
8668         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8669         (cursorRightOneWord): use temp var for cursor.par() and
8670         cursor.pos(), remove usage of tmpcursor.
8671         (cursorLeftOneWord): use temp var for cursor.par() and
8672         cursor.pos() only set cur at end of function.
8673
8674 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8675
8676         * text.C, text2.C: exchange all usage of Paragraph::next with
8677         boost::next(ParagraphList::iterator)
8678
8679         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8680
8681         * text2.C (cursorTop): simplify implementation
8682         (cursorBottom): ditto
8683         (setParagraph): use ParagraphList::iterator
8684         (setCurrentFont): adjust
8685         (getColumnNearX): adjust
8686         (cursorRight): adjust
8687         (cursorLeft): remove usage of Paragraph::previous
8688         (cursorUpParagraph): ditto
8689         (deleteEmptyParagraphMechanism): slight cleanup
8690
8691         * text.C (isBoundary): take a Paragraph const & instead of a
8692         pointer as arg.
8693         (addressBreakPoint): ditto
8694         (leftMargin): remove usage of Paragraph::previous.
8695         (setHeightOfRow): ditto
8696         (cursorLeftOneWord): ditto
8697         (selectNextWordToSpellcheck): ditto
8698         (Delete): ditto
8699         (backspace): ditto
8700         (breakParagraph): remove one usage of Paragraph::next
8701         (redoParagraph): ditto
8702         (acceptChange): ditto
8703         (insertChar): adjust
8704         (rowBreakPoint): adjust
8705
8706         * bufferview_funcs.C (toggleAndShow): adjust
8707
8708 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8709
8710         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8711         methods to access it.
8712         * lyxtext.h:
8713         * text.C: Added updateRowPositions to compute all row positions.
8714         Make top_y and getRowNearY() to use the cached y position
8715
8716 2003-04-11  John Levon  <levon@movementarian.org>
8717
8718         * text.C (rowBreakPoint): reintroduce the labelEnd
8719         checks, code copied from the row fill stuff. Deep voodoo.
8720
8721         * text.C (fill): add a comment and debugging for the
8722         next poor soul.
8723
8724 2003-04-11  John Levon  <levon@movementarian.org>
8725
8726         * text.C: make sure fullrow insets get wrapped to the next line,
8727         even when they're in a manual label
8728
8729 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * text2.C (insertParagraph): make it take ParagraphList::iterator
8732         as arg.
8733         (setLayout): make it return ParagraphList::iterator
8734         (redoParagraphs): ditto
8735         (setCounter): ditto
8736         (checkParagraph): ditto
8737
8738         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8739
8740         * text2.C: adjust several funcs.
8741         (realizeFont): take a ParagraphList::iterator as arg.
8742         (getLayoutFont): ditto
8743         (getLabelFont): ditto
8744         (setCharFont): ditto
8745
8746         * text.C: adjust several funcs.
8747
8748 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8749
8750         * text.C (selectNextWordToSpellcheck): don't accidentally
8751         skip insets
8752
8753 2003-04-10  John Levon  <levon@movementarian.org>
8754
8755         * ToolbarBackend.C (getIcon): special handling for
8756         LFUN_MATH_DELIM
8757
8758 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8759
8760         * text2.C (cursorRight): a getChar assert fixed
8761
8762 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * text2.C (getFont): change to take a ParagraphList::iterator
8765         instead of Paragraph*
8766         Adjust several functions.
8767
8768         * text.C (transformChar): change to take a ParagraphList::iterator
8769         instead of Paragraph*
8770         (singleWidth): ditto
8771         Adjust several functions.
8772
8773         * rowpainter.C: adjust several functions
8774         * rowpainter.h:store a ParagraphList::iterator and not a
8775         Paragraph&.
8776
8777
8778 2003-04-09  John Levon  <levon@movementarian.org>
8779
8780         * lyxfunc.C:
8781         * lfuns.h:
8782         * LyXAction.h:
8783         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8784         and the "help" bits as well
8785
8786 2003-04-09  John Levon  <levon@movementarian.org>
8787
8788         * ToolbarBackend.h:
8789         * ToolbarBackend.C: allow multiple toolbars
8790
8791 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8792
8793         * undo_funcs.C (setCursorParUndo): adjust
8794
8795         * text_funcs.C (transposeChars): adjust
8796
8797         * text3.C (gotoNextInset): adjust
8798         (dispatch): adjust
8799
8800         * text2.C (setLayout): adjust
8801         (changeDepth): adjust
8802         (setFont): adjust
8803         (redoParagraphs): adjust
8804         (selectionAsString): adjust
8805         (setParagraph): adjust
8806         (insertInset): adjust
8807         (cutSelection): adjust
8808         (copySelection): adjust
8809         (pasteSelection): adjust
8810         (insertStringAsLines): adjust
8811         (updateInset): adjust
8812         (setCursor): change to take a ParagraphList::iterator parameter
8813         (setCursorIntern): change to take a ParagraphList::iterator parameter
8814         (setCurrentFont): adjust
8815         (cursorLeft): adjust
8816         (cursorRight): adjust
8817         (deleteEmptyParagraphMechanism): adjust
8818
8819         * text.C (breakParagraph): adjust
8820         (insertChar): adjust
8821         (acceptChange): adjust
8822         (rejectChange): adjust
8823         (selectNextWordToSpellcheck): adjust
8824         (changeCase): adjust
8825         (Delete): adjust
8826         (backspace): adjust
8827
8828         * lyxfind.C (SearchForward): adjust
8829         (SearchBackward): adjust
8830         (nextChange): adjust
8831
8832         * lyxcursor.C (par): adjust
8833
8834         * lyxcursor.h: store a ParagraphList::iterator instead of a
8835         Paragraph*
8836
8837         * lyx_cb.C (getPossibleLabel): adjust
8838
8839         * bufferview_funcs.C (toggleAndShow): adjust
8840
8841         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8842         (dispatch): adjust
8843
8844         * BufferView.C (removeAutoInsets): adjust
8845         (lockedInsetStoreUndo): adjust
8846
8847 2003-04-09  John Levon  <levon@movementarian.org>
8848
8849         * ToolbarBackend.C: try icon without argument
8850         if with argument fails
8851
8852 2003-04-08  John Levon  <levon@movementarian.org>
8853
8854         * ToolbarBackend.h:
8855         * ToolbarBackend.C: add getIcon(), handle tooltip,
8856         and change from "Icon" to "Item".
8857
8858 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8859
8860         * BufferView.C (lockInset): another bad getchar crunched
8861
8862 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8863
8864         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8865         again)
8866
8867 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8868
8869         * lyxfind.C (searchForward, searchBackwards): bug 782
8870
8871 2003-04-07  John Levon  <levon@movementarian.org>
8872
8873         * paragraph.C: remove dead comment
8874
8875         * text.C: remove troublesome depth-fiddling code
8876         in leftMargin() and rightMargin() (bug 1017)
8877
8878         * text.C: fix breaking of rows in nested lists
8879         (bug 1004)
8880
8881         * text2.C (updateCounters): fix up depth values
8882         (bug 1013)
8883
8884 2003-04-07  John Levon  <levon@movementarian.org>
8885
8886         * BufferView_pimpl.C: clear message when doc finishes resizing,
8887         and after a mouse event
8888
8889         * lyxfunc.C: clear message after exiting inset
8890
8891 2003-04-07  John Levon  <levon@movementarian.org>
8892
8893         * bufferview_funcs.C: show math status not outside
8894         status in the statusbar
8895
8896 2003-04-07  John Levon  <levon@movementarian.org>
8897
8898         * lyxfunc.C: note status changed after a depth change
8899
8900 2003-04-04  Angus Leeming  <leeming@lyx.org>
8901
8902         * LaTeX.h: move AuxInfo operator==, != out of line.
8903         Remove LaTeX virtual destructor; nothing derives from it.
8904         Move operator()() out of public area and rename it startscript().
8905         Change protected for private.
8906
8907 2003-04-04  Angus Leeming  <leeming@lyx.org>
8908
8909         * lyxfunc.C:
8910         * text2.C: remove unneeded #includes.
8911
8912 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8913
8914         * text2.C (dEPM): fix the heigth of the next row
8915
8916 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8917
8918         * text.C: squashed an invalid getChar requester + some ws changes
8919
8920 2003-04-03  John Levon  <levon@movementarian.org>
8921
8922         * bufferview_funcs.h:
8923         * bufferview_funcs.C:
8924         * lyxfunc.C:
8925         * lyxtext.h:
8926         * text2.C: make getStatus work for the env depth lfuns
8927
8928 2003-04-03  John Levon  <levon@movementarian.org>
8929
8930         * bufferview_funcs.h:
8931         * bufferview_funcs.C:
8932         * lyxfunc.C:
8933         * lyxtext.h:
8934         * text2.C: parlistize decDepth(), by merging it with incDepth()
8935
8936 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * lyxrow.h: store a ParagraphList::iterator instead of a
8939         Paragraph* and adjust other class functions to suit.
8940
8941         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8942         above.
8943
8944 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8945
8946         * text2.C (setCursor): do not anchor to cursor row for the time being
8947
8948 2003-04-02  John Levon  <levon@movementarian.org>
8949
8950         * LyXAction.C:
8951         * lfuns.h:
8952         * lyx_main.C:
8953         * lyxtext.h:
8954         * text.C:
8955         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8956
8957 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8958
8959         * paragraph.h: make ParagraphList and ParagraphList::iterator
8960         friends of Paragraph.
8961
8962         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8963
8964         * ParagraphList.C: Use the private next_ and previous_ from
8965         Paragraph.
8966
8967 2003-04-01  John Levon  <levon@movementarian.org>
8968
8969         * ToolbarBackend.h:
8970         * ToolbarBackend.C:
8971         * Makefile.am: rename, remove defaults gunk
8972
8973         * MenuBackend.h:
8974         * MenuBackend.C: remove defaults gunk
8975
8976         * Languages.h:
8977         * Languages.C: remove defaults gunk
8978
8979         * lyx_main.h:
8980         * lyx_main.C: error out if files couldn't be found.
8981
8982 2003-04-02  John Levon  <levon@movementarian.org>
8983
8984         * text2.C: make incDepth() use parlist
8985
8986 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8987
8988         * undo_funcs.C (firstUndoParagraph): adjust
8989
8990         * text3.C (gotoInset): adjust
8991         (dispatch): adjust, and rewrite loop.
8992
8993         * text2.C (init): adjust, and rewrite loop.
8994         (redoParagraphs): adjust
8995         (updateInset): adjust, and rewrite loop.
8996         (deleteEmptyParagraphMechanism): adjust
8997
8998         * tabular.C (LyXTabular): adjust
8999         (SetMultiColumn): adjust
9000         (TeXRow): adjust
9001
9002         * lyxtext.[Ch] (ownerParagraph): delete function
9003         (ownerParagraphs): new function returns a ParagraphList.
9004
9005         * BufferView.C (removeAutoInsets): adjust
9006         (insertErrors): adjust
9007         (setCursorFromRow): adjust
9008
9009 2003-04-01  Angus Leeming  <leeming@lyx.org>
9010
9011         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9012         in the frontends.
9013
9014 2003-04-02  John Levon  <levon@movementarian.org>
9015
9016         * lyxtext.h:
9017         * text.C:
9018         * Makefile.am:
9019         * text_funcs.h:
9020         * text_funcs.C: make transposeChars a free function
9021
9022         * lyxrow_funcs.C: remove wrong comment
9023
9024 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9025
9026         * lyxtext.h: adjust
9027         * rowpainter.C: adjust
9028         * text.C: adjust
9029         * text2.C: adjust
9030         * text3.C: adjust
9031
9032         * lyxrow_funcs. [Ch]: new files
9033
9034         * lyxrow.[Ch]: remove next and previous pointers
9035         (next,previous): remove accessor functions
9036         (isParEnd): move to lyxrow_funcs
9037         (lastPos): move to lyxrow_funcs
9038         (nextRowIsAllInset): move to lyxrow_funcs
9039         (lastPrintablePos): move to lyxrow_funcs
9040         (numberOfSeparators): move to lyxrow_funcs
9041         (numberOfHfills): move to lyxrow_funcs
9042         (numberOfLabelHfills): move to lyxrow_funcs
9043         (hfillExpansion): move to lyxrow_funcs
9044
9045         * lyxfunc.C: adjust
9046
9047         * bufferview_funcs.C (toggleAndShow): adjust
9048
9049         * RowList.h: Remove class RowList from file leave just a
9050         std::list<Row>.
9051
9052         * RowList.C: delete file
9053
9054         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9055         and lyxrow_funcs.h
9056
9057 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9058
9059         * text3.C (cursorPrevious): adjust
9060         (cursorNext): adjust
9061         (dispatch): adjust
9062
9063         * text2.C (redoHeightOfParagraph): adjust
9064         (redoDrawingOfParagraph): adjust
9065         (setCursor): adjust
9066
9067         * text.C (breakParagraph): adjust
9068         (insertChar): adjust
9069         (backspace): adjust
9070
9071         * rowpainter.C (RowPainter): adjust
9072         (leftMargin): simplify and adjust
9073         (most rowpainter functions): adjust.
9074
9075         * rowpainter.h: store the row as RowList::iterator not as Row*
9076
9077         * lyxcursor.C (row): taka RowList::iterator as arg
9078         (irow): ditto
9079
9080         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9081         of Row*.
9082
9083 2003-04-01  Angus Leeming  <leeming@lyx.org>
9084
9085         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9086         stuff like bool Bool.
9087
9088 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9089
9090         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9091         rewrite a loop
9092
9093 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9094
9095         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9096         RowList::iterator.
9097
9098         * lyxtext.h (rows): drop one version and leve a const variant that
9099         returns a RowList::iterator.
9100
9101 2003-03-31  Angus Leeming  <leeming@lyx.org>
9102
9103         * text.C (fill): ensure that the signature is the same as that in the
9104         header file.
9105
9106 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9107
9108         * text2.C (redoParagraphs): adjust
9109         (updateCounters): adjust
9110         (checkParagraph): adjust
9111         (getColumnNearX): adjust and reformat a bit.
9112
9113         * text.C (top_y): adjust
9114         (workWidth): adjust
9115         (leftMargin): adjust
9116         (prepareToPrint): adjust
9117         (getRow): adjust
9118         (getRowNearY): adjust
9119
9120         * lyxtext.h: make rowlist_ mutable.
9121
9122         * RowList.h: add const_iterator
9123         * RowList.C: adjust for RowList::const_iterator.
9124
9125         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9126         adjust.
9127
9128 2003-03-31  John Levon  <levon@movementarian.org>
9129
9130         * lyxrc.h:
9131         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9132
9133         * lyx_main.C: set default fonts from using lyx_gui funcs
9134
9135         * exporter.C: pdf_mode moved from lyxrc
9136
9137         * lyx_cb.C:
9138         * lyxfunc.C: changes from above
9139
9140 2003-03-31  John Levon  <levon@movementarian.org>
9141
9142         * lyx_main.C: fix to the last fix
9143
9144 2003-03-31  John Levon  <levon@movementarian.org>
9145
9146         * bufferlist.C: "Load original" -> "Load Original"
9147
9148         * converter.C:
9149         * exporter.C:
9150         * importer.C:
9151         * lyx_main.C:
9152         * format.C: more Alert cleanups
9153
9154 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9155
9156         * text2.C (removeParagraph): make it take a RowList::iterator as
9157         arg, adjust.
9158         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9159         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9160
9161         * text.C (anchor_row): make it take a RowList::iterator as arg,
9162         adjust.
9163         (computeBidiTables): make it take a const reference to Row instead
9164         of Row pointer, adjust.
9165         (leftMargin): make it take a RowList::iterator as arg, adjust.
9166         (rowBreakPoint): adjust
9167         (breakAgainOneRow): make it take a RowList::iterator as arg,
9168         adjust.
9169         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9170
9171         * bufferview_funcs.C (toggleAndShow): adjust
9172
9173 2003-03-30  John Levon  <levon@movementarian.org>
9174
9175         * Makefile.am:
9176         * BoostFormat.h:
9177         * boost-inst.C: moved to support
9178
9179         * several files: changes as a result
9180
9181 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9182
9183         * text2.C (LyXText): adjust.
9184         (init): adjust
9185         (removeRow): make it take a RowList::iterator as arg, adjust.
9186         (fullRebreak): adjust
9187         (deleteEmptyParagraphMechanism): adjust
9188         (clearPaint): adjust
9189         (postPaint): adjust
9190
9191         * text.C (top_y): adjust
9192         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9193         (breakAgain): make it take a RowList::iterator as arg, adjust.
9194         (breakParagraph): adjust
9195         (insertChar): adjust
9196         (backspace): adjust
9197
9198         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9199         need_break_row, and refresh_row.
9200
9201         * text3.C (dispatch): adjust
9202
9203         * text2.C (checkParagraph): adjust
9204         (setCursor): adjust
9205         (setCursorFromCoordinates): adjust
9206
9207         * text.C (top_y): adjust
9208         (workWidth): adjust
9209         (getRow): make it return a RowList::iterator, adjust
9210         (getRowNearY): make it return a RowList::iterator, adjust
9211
9212         * text2.C (init): adjust
9213         (insertRow): remove function
9214         (insertParagraph): adjust
9215         (redoParagraphs): adjust
9216         (fullRebreak): adjust
9217         (updateCounters): adjust
9218
9219         * text.C (top_y): rewrite to use RowList iterators.
9220         (top_y): adjust
9221         (setHeightOfRow): rewrite to sue RowList iterators.
9222         (appendParagraph): adjust
9223         (breakAgain): adjust
9224         (breakAgainOneRow): adjust
9225         (breakParagraph): adjust
9226         (getRow): adjust
9227         (getRowNearY): adjust, and remove commented code.
9228
9229         * lyxtext.h (firstRow): delete function
9230         (lastRow): delete function
9231         (rows): new function (const and non-const versions.)
9232         (insertRow): delete function
9233
9234         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9235
9236 2003-03-29  John Levon  <levon@movementarian.org>
9237
9238         * BufferView_pimpl.C: always update scrollbar top
9239         because pasting text when we're anchored could mean we
9240         miss an update altogether
9241
9242 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9243
9244         * text2.C (init): use rowlist_.end() and not 0.
9245         (insertRow): change to take a RowList::iterator as arg, adjust
9246         for this.
9247         (insertParagraph): change to take a RowList::iterator as arg,
9248         adjust for this.
9249         (redoParagraphs): remove some debug msgs.
9250
9251         * text.C (appendParagraph): change to take a RowList::iterator
9252         arg, adjust for this.
9253         (breakAgain): add an assert
9254         (breakAgainOneRow): ditto
9255
9256 2003-03-29  John Levon  <levon@movementarian.org>
9257
9258         * text2.C: do not clear selection after inc/decDepth
9259         (bug 550)
9260
9261 2003-03-29  John Levon  <levon@movementarian.org>
9262
9263         * BufferView.C:
9264         * buffer.C: fix broken strerrors according to Lars
9265
9266 2003-03-29  John Levon  <levon@movementarian.org>
9267
9268         * converters.C: more Alert cleanups
9269
9270 2003-03-29  John Levon  <levon@movementarian.org>
9271
9272         * bufferview_funcs.C: remove pointless Alert
9273
9274         * buffer.C: fix confusing error message when
9275         a template is chmoded 000
9276
9277 2003-03-29  John Levon  <levon@movementarian.org>
9278
9279         * BufferView.C:
9280         * BufferView.h:
9281         * BufferView_pimpl.C: Alert fixes
9282
9283         * Makefile.am:
9284         * tabular.C:
9285         * tabular-old.C: remove unused table compat reading
9286
9287 2003-03-29  John Levon  <levon@movementarian.org>
9288
9289         * BufferView.C:
9290         * buffer.C:
9291         * lyx_cb.h:
9292         * lyx_cb.C: more Alert cleanups
9293
9294         * lyxfunc.C: don't allow chktex if not latex document
9295
9296 2003-03-29  John Levon  <levon@movementarian.org>
9297
9298         * lyx_cb.C:
9299         * BufferView.C:
9300         * buffer.C: warnings pushed down from support/,
9301         kill err_alert
9302
9303 2003-03-29  John Levon  <levon@movementarian.org>
9304
9305         * lyxfunc.C: safety check for C-r (revert)
9306
9307 2003-03-29  John Levon  <levon@movementarian.org>
9308
9309         * bufferlist.h:
9310         * bufferlist.C: several UI fixes using Alert::prompt.
9311         Fix the pointless looping quit code. Fix stupid revert
9312         behaviour (bug 938)
9313
9314         * lyxvc.h:
9315         * lyxvc.C:
9316         * lyx_cb.C: use Alert::prompt
9317
9318         * lyx_main.C: remove a silly question
9319
9320         * lyxfunc.C: remove a couple of silly questions,
9321         use Alert::prompt
9322
9323 2003-03-28  John Levon  <levon@movementarian.org>
9324
9325         * text2.C: fix bug 974 (End on empty par)
9326
9327 2003-03-28  John Levon  <levon@movementarian.org>
9328
9329         * BufferView_pimpl.C:
9330         * LyXAction.C:
9331         * lfuns.h: remove do-nothing math greek lfuns
9332
9333 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9334
9335         * lyxgluelength.h (isValidGlueLength): add default arg on
9336         parameter 2. Remove default arg from friend in class.
9337
9338         * lyxlength.h (isValidLength): add default arg on parameter 2.
9339         Remove default arg from friend in class.
9340
9341         * text2.C (LyXText): adjust, initialize refresh_row.
9342         (init): adjust
9343         (removeRow): adjust
9344         (insertRow): adjust
9345         (insertParagraph): adjst
9346         (redoParagraphs): adjust
9347         (fullRebreak): adjust
9348         (updateCounters): adjust
9349         (deleteEmptyParagraphMechanism): first attempt at fixing a
9350         crashing bug.
9351
9352         * text.C (top_y): adjust
9353         (setHeightOfRow): adjust
9354         (getRow): adjust
9355         (getRowNearY): adjust
9356
9357         * lyxtext.h: include RowList.h
9358         (~LyXText): not needed anymore, deleted.
9359         (firstRow): modify for RowList
9360         (lastRow): new function
9361         Delete firstrow and lastrow class variables, add a Rowlist
9362         rowlist_ class variable.
9363
9364         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9365         paragraph is empty.
9366
9367         * RowList.C (insert): fix case where it == begin().
9368
9369 2003-03-26  Angus Leeming  <leeming@lyx.org>
9370
9371         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9372         the thesaurus dialog.
9373
9374 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9375
9376         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9377
9378         * RowList.[Ch]: new files
9379
9380         * ParagraphList.C (erase): handle the case where it == begin
9381         correctly.
9382
9383 2003-03-25  John Levon  <levon@movementarian.org>
9384
9385         * Makefile.am:
9386         * aspell_local.h:
9387         * aspell.C: add new aspell support
9388
9389         * lyxrc.h:
9390         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9391         have it accessible.
9392
9393 2003-03-25  Angus Leeming  <leeming@lyx.org>
9394
9395         * lfuns.h:
9396         * LyXAction.C (init): new LFUN_INSET_INSERT.
9397
9398         * BufferView_pimpl.C (dispatch): split out part of the
9399         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9400
9401         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9402         LFUN_INSET_APPLY.
9403
9404 2003-03-25  Angus Leeming  <leeming@lyx.org>
9405
9406         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9407
9408 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9409
9410         * text2.C:
9411         * text3.C: remove useless row->height(0)
9412
9413 2003-03-25  John Levon  <levon@movementarian.org>
9414
9415         * lyxtext.h:
9416         * text2.C:
9417         * text3.C: rename the refreshing stuff to better names
9418
9419 2003-03-24  John Levon  <levon@movementarian.org>
9420
9421         * BufferView_pimpl.h:
9422         * BufferView_pimpl.C: update layout choice on a mouse
9423         press/release
9424
9425 2003-03-23  John Levon  <levon@movementarian.org>
9426
9427         * Makefile.am: fix commandtags.h reference
9428
9429 2003-03-22  John Levon  <levon@movementarian.org>
9430
9431         * BufferView_pimpl.C:
9432         * lyxtext.h:
9433         * rowpainter.C:
9434         * rowpainter.h:
9435         * text.C:
9436         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9437
9438 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9439
9440         * lyxtext.h:
9441         * text.C: take the rtl methods out of line
9442
9443 2003-03-21 André Pönitz <poenitz@gmx.net>
9444
9445         * metricsinfo.[Ch]: new files containing structures to be passed around
9446         during the two-phase-drawing...
9447
9448 2003-03-21 André Pönitz <poenitz@gmx.net>
9449
9450         * lyxtextclass.C: read 'environment' tag.
9451
9452 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9453
9454         * text2.C (removeRow): fix bug 964
9455
9456 2003-03-20  John Levon  <levon@movementarian.org>
9457
9458         * rowpainter.C:
9459         * text.C:
9460         * text2.C: paint cleanups. Inset::update() dropped font
9461         parameter
9462
9463 2003-03-19  John Levon  <levon@movementarian.org>
9464
9465         * lyxfunc.C: only fitcursor/markDirty if available()
9466
9467 2003-03-19  John Levon  <levon@movementarian.org>
9468
9469         * commandtags.h: rename to ...
9470
9471         * lfuns.h: ... this, and renumber / cleanup
9472
9473 2003-03-19  John Levon  <levon@movementarian.org>
9474
9475         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9476         fit the cursor after an lfun
9477
9478         * BufferView.h:
9479         * BufferView.C:
9480         * BufferView_pimpl.h:
9481         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9482
9483         * LyXAction.C: layout-character should have ReadOnly
9484
9485         * ParagraphParameters.C:
9486         * buffer.C:
9487         * bufferview_funcs.C:
9488         * lyx_cb.C:
9489         * lyxfind.C:
9490         * lyxtext.h:
9491         * text.C:
9492         * text2.C:
9493         * text3.C:
9494         * undo_funcs.C: changes from above
9495
9496 2003-03-18  John Levon  <levon@movementarian.org>
9497
9498         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9499         remove it from update()
9500
9501         * lyxfunc.C: update layout choice after an lfun
9502
9503         * text3.C: remove extra updateLayoutChoice()s
9504
9505 2003-03-18  John Levon  <levon@movementarian.org>
9506
9507         * text.C: top_y change means full repaint, fix
9508         a drawing bug with cursor movement
9509
9510 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9511
9512         * lyxtext.h:
9513         * text.C:
9514         * text2.C: anchor row on setCursor
9515
9516 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9517
9518         * lyxtext.h: remove almost all mutable keywords
9519         * text.C:
9520         * text2.C:
9521         * text3.C: remove const keywords accordingly
9522
9523 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9524
9525         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9526         anon namespace
9527         (TeXEnvironment): ditto
9528         (TeXOnePar): ditto
9529
9530 2003-03-17  John Levon  <levon@movementarian.org>
9531
9532         * text.C (rowBreakPoint): remove attempt to fix displayed
9533         math insets inside a manual label
9534
9535 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9536
9537         * lyxtext.h: remove BufferView* as first arg from almost all class
9538         functions.
9539         * other files: adjust.
9540
9541 2003-03-17  John Levon  <levon@movementarian.org>
9542
9543         * lyxtext.h:
9544         * undo_funcs.C:
9545         * text2.C: more paint cleanups
9546
9547         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9548
9549         * rowpainter.h:
9550         * rowpainter.C: remove "smart" background painting code
9551
9552 2003-03-16  John Levon  <levon@movementarian.org>
9553
9554         * lyxtext.h:
9555         * text.C:
9556         * text2.C:
9557         * text3.C: add helper functions for setting refresh_row/y
9558
9559 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9560
9561         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9562         newline inset which *can* get inserted in the pass_thru layouts.
9563         This is primarily for literate documents.
9564
9565 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9566
9567         * buffer.C: increment LYX_FORMAT to 223
9568
9569 2003-03-14 André Pönitz <poenitz@gmx.net>
9570
9571         * textclass.h: prepare for environment handling, ws changes
9572         * lyxlayout.C: read latexheader and latexfooter tags
9573
9574 2003-03-14  John Levon  <levon@movementarian.org>
9575
9576         * text2.C: rewrite ::status() a bit
9577
9578 2003-03-13  John Levon  <levon@movementarian.org>
9579
9580         * lyxtext.h: add some docs
9581
9582 2003-03-13  John Levon  <levon@movementarian.org>
9583
9584         * lyxtext.h:
9585         * text.C:
9586         * text2.C:
9587         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9588
9589 2003-03-13  John Levon  <levon@movementarian.org>
9590
9591         * text3.C: fix appendix redrawing
9592
9593 2003-03-13  John Levon  <levon@movementarian.org>
9594
9595         * text.C (setHeightOfRow):
9596         * rowpainter.h:
9597         * rowpainter.C: make appendix mark have the text
9598           "Appendix" so the user knows what it is
9599
9600         * LColor.h:
9601         * LColor.C: s/appendixline/appendix/ from above
9602
9603 2003-03-13  John Levon  <levon@movementarian.org>
9604
9605         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9606
9607         * text.C: fix a getChar(pos) bug properly
9608
9609 2003-03-13  Angus Leeming  <leeming@lyx.org>
9610
9611         * commandtags.h:
9612         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9613         Probably only temporary. Let's see how things pan out.
9614
9615         * BufferView.C (unlockInset):
9616         * BufferView_pimpl.C (fitCursor):
9617         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9618
9619         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9620         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9621
9622         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9623         new functions that convert ParagraphParameters to and from a string.
9624
9625         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9626         BufferView::Pimpl's dispatch.
9627         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9628
9629 2003-03-13 André Pönitz <poenitz@gmx.net>
9630
9631         * lyxfunc.C:
9632         * text3.C:
9633         * factory.C: make it aware of InsetEnv
9634
9635 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9636
9637         * text2.C (setCursor): never ask for one past last
9638         (setCursor): add some debugging messages.
9639
9640         * text.C (singleWidth): never ask for one past last
9641         (singleWidth): ditto
9642         (leftMargin): ditto
9643         (rightMargin): ditto
9644         (rowBreakPoint): ditto
9645         (setHeightOfRow): ditto
9646         (prepareToPrint): ditto
9647
9648         * rowpainter.C (paintBackground): never ask for one past last
9649         (paintText): never ask for one past last
9650
9651         * paragraph_pimpl.C (getChar): make the assert stricter, never
9652         allow the one past last pos to be taken
9653
9654         * paragraph.C (getChar): ws changes only
9655
9656         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9657         (numberOfSeparators): ditto
9658         (numberOfHfills): ditto
9659
9660 2003-03-12  John Levon  <levon@movementarian.org>
9661
9662         * author.h:
9663         * author.C:
9664         * bufferparams.h:
9665         * bufferparams.C:
9666         * paragraph_funcs.C: fix per-buffer authorlists
9667
9668 2003-03-12  John Levon  <levon@movementarian.org>
9669
9670         * text.C: fix newline in right address
9671
9672 2003-03-12  Angus Leeming  <leeming@lyx.org>
9673
9674         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9675         duplicate those in LyXFunc::dispatch.
9676
9677         * commandtags.h:
9678         * LyXAction.C:
9679         * ToolbarDefaults.C:
9680         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9681         Add LFUN_FONTFREE_UPDATE.
9682
9683         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9684         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9685
9686         * bufferview_func.[Ch]: several new functions to facilliate
9687         transfer of data to and from the character dialog.
9688
9689 2003-03-12  John Levon  <levon@movementarian.org>
9690
9691         * buffer.C:
9692         * paragraph.h:
9693         * paragraph.C:
9694         * paragraph_funcs.C:
9695         * paragraph_pimpl.C:
9696         * sgml.C:
9697         * tabular.C:
9698         * text.C:
9699         * text3.C: remove META_NEWLINE in favour of an inset
9700
9701         * rowpainter.h:
9702         * rowpainter.C: remove paintNewline (done by inset)
9703
9704 2003-03-12  John Levon  <levon@movementarian.org>
9705
9706         * paragraph_pimpl.C: complain about bad getChar()s
9707         for a while at least
9708
9709 2003-03-12  John Levon  <levon@movementarian.org>
9710
9711         * buffer.h:
9712         * buffer.C: move paragraph read into a separate function,
9713         a little renaming to reflect that.
9714
9715         * bufferparams.h:
9716         * bufferparams.C: remove the author_ids map, not necessary now
9717
9718         * factory.h:
9719         * factory.C: moved Buffer::readInset to here
9720
9721         * paragraph_funcs.h:
9722         * paragraph_funcs.C: readParagraph free function moved from
9723         buffer.C
9724
9725         * tabular.C: name change
9726
9727 2003-03-12  John Levon  <levon@movementarian.org>
9728
9729         * buffer.C:
9730         * ParagraphParameters.C: move par params input to
9731         a read() method
9732
9733         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9734         behave like a normal read from the stream wrt reading
9735         a line vs. a \\token
9736
9737 2003-03-12  John Levon  <levon@movementarian.org>
9738
9739         * paragraph.C:
9740         * ParagraphParameters.h:
9741         * ParagraphParameters.C: move output code to a
9742         ::write() method
9743
9744 2003-03-12  John Levon  <levon@movementarian.org>
9745
9746         * BufferView.C (insertLyXFile):
9747         * buffer.h:
9748         * buffer.C:
9749         * tabular.C: use a parlist iterator for creating the
9750           document.
9751
9752 2003-03-12  John Levon  <levon@movementarian.org>
9753
9754         * buffer.C: make current_change static local not
9755           static file-scope
9756
9757 2003-03-12  John Levon  <levon@movementarian.org>
9758
9759         * buffer.C: fix insertStringAsLines for change tracking
9760
9761 2003-03-12  John Levon  <levon@movementarian.org>
9762
9763         * BufferView.C:
9764         * tabular.C:
9765         * buffer.h:
9766         * buffer.C:
9767         * bufferparams.h:
9768         * bufferparams.C: move author list into params. Rename some
9769           functions. Move the header reading into a separate token
9770           loop. Move the header token reading into BufferParams.
9771
9772 2003-03-12  John Levon  <levon@movementarian.org>
9773
9774         * changes.C: put debug inside lyxerr.debugging() checks
9775
9776 2003-03-11 André Pönitz <poenitz@gmx.net>
9777
9778         * factory.C: make it aware of InsetHFill
9779
9780 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9781
9782         * buffer.C (latexParagraphs): move function from here...
9783         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9784         args.
9785
9786 2003-03-10  Angus Leeming  <leeming@lyx.org>
9787
9788         * LyXAction.C (init): fix bug in poplating array with multiple entries
9789         with the same LFUN (spotted by JMarc).
9790
9791 2003-03-10  John Levon  <levon@movementarian.org>
9792
9793         * text.C:
9794         * text2.C: move getColumnNearX() near its
9795         only call site
9796
9797 2003-03-10  John Levon  <levon@movementarian.org>
9798
9799         * text.C: fix break before a minipage
9800
9801 2003-03-10  John Levon  <levon@movementarian.org>
9802
9803         * text.C: fix the last commit
9804
9805 2003-03-09  John Levon  <levon@movementarian.org>
9806
9807         * lyxtext.h:
9808         * text.C:
9809         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9810         bug 365 (don't break before insets unless needed). Don't
9811         return a value > last under any circumstances.
9812
9813 2003-03-09  Angus Leeming  <leeming@lyx.org>
9814
9815         * BufferView_pimpl.C (trackChanges, dispatch): call
9816         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9817
9818 2003-03-09  Angus Leeming  <leeming@lyx.org>
9819
9820         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9821         than Dialogs::showAboutlyx().
9822
9823 2003-03-09  Angus Leeming  <leeming@lyx.org>
9824
9825         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9826         than Dialogs::showTabularCreate().
9827
9828 2003-03-09  John Levon  <levon@movementarian.org>
9829
9830         * lyxtext.h:
9831         * text.C:
9832         * text2.C: 3rd arg to nextBreakPoint was always the same.
9833           Use references.
9834
9835 2003-03-08  John Levon  <levon@movementarian.org>
9836
9837         * lyxrow.C:
9838         * paragraph.C:
9839         * paragraph.h:
9840         * rowpainter.C:
9841         * text.C:
9842         * text2.C: Remove the "main" bit from the "main body"
9843           notion.
9844
9845 2003-03-08  John Levon  <levon@movementarian.org>
9846
9847         * text.C (leftMargin): The left margin of an empty
9848         manual label paragraph should not include the label width
9849         string length.
9850
9851         * text.C (prepareToPrint): don't attempt to measure hfills
9852         for empty manual label paragraphs - the answer should be 0
9853
9854 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9855
9856         * CutAndPaste.C: remove commented code and reindent.
9857
9858 2003-03-08  John Levon  <levon@movementarian.org>
9859
9860         * lyxfunc.h:
9861         * lyxfunc.C: move reloadBuffer()
9862
9863         * BufferView.h:
9864         * BufferView.C: to here
9865
9866         * lyxvc.C: add comment
9867
9868         * vc-backend.h:
9869         * vc-backend.C: call bv->reload() to avoid
9870           getStatus() check on MENURELOAD
9871
9872 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9873
9874         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9875         to an old format .dep file.
9876
9877 2003-03-07  Angus Leeming  <leeming@lyx.org>
9878
9879         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9880         when the LFUN_MOUSE_RELEASE should have been handled by
9881         inset->localDispatch.
9882
9883 2003-03-07  Angus Leeming  <leeming@lyx.org>
9884
9885         * BufferView_pimpl.C (dispatch):
9886         * LyXAction.C (init):
9887         * ToolbarDefaults.C (init):
9888         * commandtags.h:
9889         * lyxfunc.C (getStatus):
9890         remove LFUN_INSET_GRAPHICS.
9891
9892         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9893
9894 2003-03-07  Angus Leeming  <leeming@lyx.org>
9895
9896         * commandtags.h:
9897         * LyXAction.C (init):
9898         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9899
9900         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9901
9902         * commandtags.h:
9903         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9904
9905         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9906         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9907
9908 2003-03-07  Angus Leeming  <leeming@lyx.org>
9909
9910         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9911         remove "ert".
9912
9913 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9914
9915         * ParagraphList.C (front): new function
9916         (back): implement
9917
9918 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9919
9920         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9921         and top_row_offset_. removed var first_y.
9922         * text.C (top_y):
9923         * text2.C (LyXText, removeRow):
9924         * text3.C:
9925         * BufferView_pimpl.C:
9926         use these methods instead of using first_y
9927
9928 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * text2.C (pasteSelection): adjust for checkPastePossible
9931
9932         * CutAndPaste.C: remove Paragraph * buf and replace with
9933         ParagraphList paragraphs.
9934         (DeleteBuffer): delete
9935         (cutSelection): change the tc type to textclass_type
9936         (copySelection): change the tc type to textclass_type
9937         (copySelection): adjust for ParagraphList
9938         (pasteSelection): change the tc type to textclass_type
9939         (pasteSelection): adjust for Paragraphlist
9940         (nrOfParagraphs): simplify for ParagraphList
9941         (checkPastePossible): simplify for ParagraphList
9942         (checkPastePossible): remove unused arg
9943
9944         * ParagraphList.C (insert): handle the case where there are no
9945         paragraphs yet.
9946
9947         * CutAndPaste.h: make CutAndPaste a namespace.
9948
9949         * text3.C (dispatch): adjust
9950
9951         * text.C (breakParagraph): add a ParagraphList as arg
9952
9953         * paragraph_funcs.C (breakParagraph): change to take a
9954         BufferParams and a ParagraphList as args.
9955         (breakParagraphConservative): ditto
9956         (mergeParagraph): ditto
9957         (TeXDeeper): add a ParagraphList arg
9958         (TeXEnvironment): ditto
9959         (TeXOnePar): ditto
9960
9961         * buffer.C (readLyXformat2): adjust
9962         (insertStringAsLines): adjust
9963         (latexParagraphs): adjust
9964
9965         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9966         (cutSelection): adjust
9967         (pasteSelection): adjust
9968
9969         * BufferView_pimpl.C (insertInset): adjust
9970
9971 2003-03-05  Angus Leeming  <leeming@lyx.org>
9972
9973         * commandtags.h:
9974         * LyXAction.C (init):
9975         * BufferView_pimpl.C (dispatch):
9976         * lyxfunc.C (getStatus):
9977         remove LFUN_CHILD_INSERT.
9978
9979         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9980
9981 2003-03-05  Angus Leeming  <leeming@lyx.org>
9982
9983         * commandtags.h:
9984         * LyXAction.C (init):
9985         * src/factory.C (createInset):
9986         * lyxfunc.C (getStatus):
9987         * text3.C (dispatch):
9988         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9989
9990         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9991
9992 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9993
9994         * ParagraphList.C (insert): handle insert right before end()
9995         (erase): fix cases where it can be first or last paragraph.
9996
9997 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9998
9999         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10000         Paragraph::next and Paragraph::previous
10001         (TeXOnePar): ditto
10002
10003         * text.C (breakParagraph): adjust
10004
10005         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10006         BufferParams& as arg.
10007         (breakParagraph): use ParagraphList::insert
10008         (breakParagraphConservative): take a Buffer* instead of a
10009         BufferParams& as arg.
10010         (breakParagraphConservative): use ParagraphList::insert.
10011
10012         * buffer.C (insertStringAsLines): un-const it
10013         (insertStringAsLines): adjust
10014
10015         * ParagraphList.C (insert): new function
10016
10017         * CutAndPaste.C (pasteSelection): adjust
10018
10019         * text.C (backspace): adjust
10020
10021         * tabular.C (SetMultiColumn): adjust
10022
10023         * CutAndPaste.C (cutSelection): adjust
10024         (pasteSelection): adjust
10025
10026         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10027         Buffer const * as arg
10028
10029         * ParagraphList.C (erase): new function
10030         * paragraph_funcs.C (mergeParagraph): use it
10031         (mergeParagraph): make it take a Buffer* instead of a
10032         BufferParams* as arg
10033
10034         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10035         as arg
10036         (breakParagraphConservative): ditto
10037
10038         * paragraph.h: remove the breakParagraph friend
10039
10040         * paragraph.C (eraseIntern): new function
10041         (setChange): new function
10042
10043         * paragraph_funcs.C (mergeParagraph): make it take a
10044         ParagraphList::iterator instead of a Paragraph *, adjust
10045         accordingly.
10046
10047         * paragraph.h: move an #endif so that the change tracking stuff
10048         also works in the NO_NEXT case.
10049
10050 2003-03-04  Angus Leeming  <leeming@lyx.org>
10051
10052         * commandtags.h:
10053         * LyXAction.C: new LFUN_INSET_MODIFY.
10054
10055         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10056         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10057
10058 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10059
10060         * several files: ws changes only
10061
10062         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10063         (TeXEnvironment): ditto
10064         (TeXDeeper): ditto
10065
10066         * buffer.C (makeLaTeXFile): adjust
10067         (latexParagraphs): make it take ParagraphList::iterator as args
10068
10069 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * buffer.C (latexParagraphs): adjust
10072
10073         * paragraph.C (TeXOnePar): move function...
10074         (optArgInset): move function...
10075         (TeXEnvironment): move function...
10076         * paragraph_pimpl.C (TeXDeeper): move function...
10077         * paragraph_funcs.C: ...here
10078
10079         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10080
10081 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10082
10083         * buffer.C (readInset): remove compability code for old Figure and
10084         InsetInfo insets
10085
10086 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10087
10088         * buffer.C: ws changes
10089         (readInset):
10090
10091         * BufferView_pimpl.C: ditto
10092         * author.C: ditto
10093         * buffer.h: ditto
10094         * bufferlist.h: ditto
10095         * changes.h: ditto
10096         * lyxfunc.C: ditto
10097
10098 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10099
10100         * converter.[Ch]: split into itself +
10101         * graph.[Ch]
10102         * format.[Ch]
10103         * Makefile.am: += graph.[Ch] + format.[Ch]
10104         * MenuBackend.C
10105         * buffer.C
10106         * exporter.C
10107         * importer.C
10108         * lyx_main.C
10109         * lyxfunc.C
10110         * lyxrc.C: added #include "format.h"
10111
10112 2003-02-27  Angus Leeming  <leeming@lyx.org>
10113
10114         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10115           a label.
10116
10117         * factory.C (createInset): add "label" to the factory.
10118
10119         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10120           string and do no more.
10121
10122 2003-02-27  Angus Leeming  <leeming@lyx.org>
10123
10124         * commandtags.h:
10125         * LyXAction.C (init):
10126         * factory.C (createInset):
10127         * BufferView_pimpl.C (dispatch):
10128           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10129
10130         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10131
10132         * lyxfunc.C (dispatch):
10133         * text3.C (dispatch): pass name to params2string.
10134
10135 2003-02-26  Angus Leeming  <leeming@lyx.org>
10136
10137         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10138           blocks together.
10139           Rearrange the ~includes. Strip out the unnecessary ones.
10140
10141         * factory.C (createInset): reformat.
10142           create new insets for the various LFUN_XYZ_APPLY lfuns.
10143
10144 2003-02-26  John Levon  <levon@movementarian.org>
10145
10146         * lyxrow.h:
10147         * lyxrow.C: add isParStart,isParEnd helpers
10148
10149         * paragraph.h: make isInserted/DeletedText take refs
10150
10151         * paragraph_funcs.h:
10152         * paragraph_funcs.C: remove #if 0'd code
10153
10154         * lyxtext.h:
10155         * text3.C:
10156         * text2.C:
10157         * text.C: use lyxrow helpers above.
10158           Move draw and paint routines to RowPainter.
10159           Make several methods use refs not pointers.
10160           Make backgroundColor() const.
10161           Add markChangeInDraw(), isInInset().
10162           Merge changeRegionCase into changeCase.
10163           Make workWidth() shouldn't-happen code into an Assert.
10164
10165         * rowpainter.h:
10166         * rowpainter.C: new class for painting a row.
10167
10168         * vspace.h:
10169         * vspace.C: make inPixels take a ref
10170
10171 2003-02-26  Angus Leeming  <leeming@lyx.org>
10172
10173         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10174         LFUN_REF_APPLY.
10175
10176 2003-02-25  John Levon  <levon@movementarian.org>
10177
10178         * ispell.C: give the forked command a more accurate name
10179
10180 2003-02-22  John Levon  <levon@movementarian.org>
10181
10182         * toc.h:
10183         * toc.C: make TocItem store an id not a Paragraph *
10184           (bug #913)
10185
10186 2003-02-21  Angus Leeming  <leeming@lyx.org>
10187
10188         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10189           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10190           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10191           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10192           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10193           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10194
10195         * BufferView_pimpl.C (dispatch):
10196         * LyXAction.C (init):
10197         * factory.C (createInset):
10198         * lyxfunc.C (getStatus, dispatch):
10199         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10200
10201 2003-02-21  Angus Leeming  <leeming@lyx.org>
10202
10203         * BufferView_pimpl.C (MenuInsertLyXFile):
10204         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10205         * lyxfunc.C (menuNew, open, doImport):
10206           no longer pass a LyXView & to fileDlg.
10207
10208 2003-02-21  Angus Leeming  <leeming@lyx.org>
10209
10210         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10211         * LyXAction.C: change, BIBKEY to BIBITEM.
10212         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10213         Change InsetBibKey to InsetBibitem.
10214         Change BIBKEY_CODE to BIBITEM_CODE.
10215         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10216         * factory.C: replace insetbib.h with insetbibitem.h.
10217         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10218         * paragraph.C: replace insetbib.h with insetbibitem.h.
10219         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10220         Change bibkey() to bibitem().
10221         * text.C: remove insetbib.h.
10222         * text2.C: replace insetbib.h with insetbibitem.h.
10223         change bibkey() to bibitem().
10224         * text3.C: remove insetbib.h.
10225         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10226
10227 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * lyxrc.C (output): enclose user email in quotes (in case there are
10230         several words)
10231
10232 2003-02-18  John Levon  <levon@movementarian.org>
10233
10234         * buffer.h: add std::
10235
10236 2003-02-17  John Levon  <levon@movementarian.org>
10237
10238         * SpellBase.h:
10239         * ispell.h:
10240         * ispell.C:
10241         * pspell.h:
10242         * pspell.C: reworking. Especially in ispell, a large
10243           number of clean ups and bug fixes.
10244
10245         * lyxfunc.C: fix revert to behave sensibly
10246
10247 2003-02-17 André Pönitz <poenitz@gmx.net>
10248
10249         * LyXAction.C:
10250         * commandtags.h: new LFUN_INSERT_BIBKEY
10251
10252         * layout.h:
10253         * lyxlayout.C:
10254         * buffer.C:
10255         * factory.C:
10256         * text.C:
10257         * text2.C:
10258         * text3.C:
10259         * paragraph.[Ch]:
10260         * paragraph_func.C: remove special bibkey handling
10261
10262 2003-02-17  John Levon  <levon@movementarian.org>
10263
10264         * text.C (Delete): fix case where delete at the end of
10265           the very first paragraph would not merge the pars
10266
10267 2003-02-17  John Levon  <levon@movementarian.org>
10268
10269         * lyxrow.C: fix lastPrintablePos()
10270
10271 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * bufferparams.C (writeLaTeX): add a std:here
10274
10275         * buffer.C: and remove a using directive there
10276
10277 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * buffer.C (makeLaTeXFile): move the code that generates the
10280           preamble...
10281
10282         * bufferparams.C (writeLaTeX): ... in this new method
10283
10284         * LaTeXFeatures.C (getEncodingSet): make const
10285           (getLanguages): make const
10286
10287         * MenuBackend.C (binding): returns the binding associated to this
10288           action
10289           (add): sets the status of each item by calling getStatus. Adds
10290           some intelligence.
10291           (read): add support for OptSubMenu
10292           (expand): remove extra separator at the end of expanded menu
10293
10294 2003-02-15  John Levon  <levon@movementarian.org>
10295
10296         * BufferView.C:
10297         * BufferView_pimpl.C:
10298         * bufferlist.h:
10299         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10300           inset code that had no actual effect. Remove unneeded status
10301           code.
10302
10303 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10306           in preamble
10307
10308 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10309
10310         * text.C (drawLengthMarker): also draw an arrow marker for
10311           symbolic lengths (medskip...)
10312
10313 2003-02-14  John Levon  <levon@movementarian.org>
10314
10315         * tabular.h:
10316         * tabular.C: better method names
10317
10318 2003-02-14  John Levon  <levon@movementarian.org>
10319
10320         * BufferView_pimpl.C:
10321         * bufferlist.C:
10322         * buffer.C:
10323         * converter.C:
10324         * lyx_cb.C:
10325         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10326           it's a more accurate name. Remove some pointless uses.
10327
10328 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * text2.C (LyXText): change order of initilizers to shut off
10331           warnings
10332
10333 2003-02-14  John Levon  <levon@movementarian.org>
10334
10335         * buffer.C: use ParIterator for getParFromID()
10336
10337         * paragraph.h:
10338         * paragraph.C:
10339         * paragraph_pimpl.h:
10340         * paragraph_pimpl.C: remove unused getParFromID()
10341
10342 2003-02-14  John Levon  <levon@movementarian.org>
10343
10344         * buffer.C: remove some very old #if 0'd parse code
10345
10346 2003-02-13  John Levon  <levon@movementarian.org>
10347
10348         * text.h:
10349         * text.C:
10350         * text2.C: move hfillExpansion(), numberOfSeparators(),
10351           rowLast(), rowLastPrintable(), numberofHfills(),
10352           numberOfLabelHfills() ...
10353
10354         * lyxrow.h:
10355         * lyxrow.C: ... to member functions here.
10356
10357         * paragraph.h:
10358         * paragraph.C:
10359         * lyxtext.h:
10360         * text.C: remove LyXText::beginningOfMainBody(), and call
10361           p->beginningOfMainBody() directly. Move the check for
10362           LABEL_MANUAL into the latter.
10363
10364         * text.h:
10365         * text.C:
10366         * text2.C:
10367         * vspace.C:
10368         * BufferView.h:
10369         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10370
10371         * text.h:
10372         * text.C:
10373         * text2.C:
10374         * text3.C:
10375         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10376           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10377
10378 2003-02-13  John Levon  <levon@movementarian.org>
10379
10380         * CutAndPaste.C: remove debug
10381
10382 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * paragraph.C (asString): remove two unused variables
10385
10386         * lyxtextclass.C (readTitleType):
10387           (Read):
10388           (LyXTextClass): handle new members titletype_ and titlename_
10389
10390         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10391
10392 2003-02-09  John Levon  <levon@movementarian.org>
10393
10394         * buffer.h:
10395         * buffer.C: replace hand-coded list with a map for the dep clean
10396
10397 2003-02-08  John Levon  <levon@movementarian.org>
10398
10399         * LaTeX.C: consolidate code into showRunMessage() helper
10400
10401 2003-02-08  John Levon  <levon@movementarian.org>
10402
10403         * lyxfind.C:
10404         * lyxtext.h:
10405         * text2.C:
10406         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10407           and pass the size in explicitly
10408
10409         * BufferView_pimpl.h:
10410         * BufferView_pimpl.C:
10411         * BufferView.h:
10412         * BufferView.C: add getCurrentChange()
10413
10414         * BufferView_pimpl.h:
10415         * BufferView_pimpl.C: handle change lfuns
10416
10417         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10418           for changes. Mark pasted paragraphs as new.
10419
10420         * support/lyxtime.h:
10421         * support/lyxtime.C:
10422         * DepTable.C: abstract time_t as lyx::time_type
10423
10424         * LColor.h:
10425         * LColor.C: add colours for new text, deleted text, changebars
10426
10427         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10428           package use "usenames" option.
10429
10430         * commandtags.h:
10431         * lyxfunc.C:
10432         * LyXAction.C: add change lfuns
10433
10434         * Makefile.am:
10435         * author.h:
10436         * author.C: author handling
10437
10438         * buffer.h:
10439         * buffer.C: add a per-buffer author list, with first entry as
10440           current author. Handle new .lyx tokens for change tracking. Output
10441           author list to .lyx file. Output dvipost stuff to .tex preamble.
10442           Bump lyx format to 222.
10443
10444         * bufferlist.h:
10445         * bufferlist.C: add setCurrentAuthor() to reset current author details
10446           in all buffers.
10447
10448         * bufferparams.h:
10449         * bufferparams.C: add param for tracking
10450
10451         * bufferview_funcs.C: output change info in minibuffer
10452
10453         * Makefile.am:
10454         * changes.h:
10455         * changes.C: add change-tracking structure
10456
10457         * debug.h:
10458         * debug.C: add CHANGES debug flag
10459
10460         * lyxfind.h:
10461         * lyxfind.C: add code for finding the next change piece
10462
10463         * lyxrc.h:
10464         * lyxrc.C: add user_name and user_email
10465
10466         * lyxrow.h:
10467         * lyxrow.C: add a metric for the top of the text line
10468
10469         * lyxtext.h:
10470         * text.C: implement accept/rejectChange()
10471
10472         * lyxtext.h:
10473         * text.C: paint changebars. Paint new/deleted text in the chosen
10474         colours. Strike through deleted text.
10475
10476         * paragraph.h:
10477         * paragraph.C:
10478         * paragraph_pimpl.h:
10479         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10480           in the current change to the insert functions. Rework erase to
10481           mark text as deleted, adding an eraseIntern() and a range-based
10482           erase(). Implement per-paragraph change lookup and
10483           accept/reject.
10484
10485         * paragraph_funcs.C: Fixup paste for change tracking.
10486
10487         * tabular.C: mark added row/columns as new.
10488
10489         * text.C: fix rowLast() to never return -1. Don't allow
10490           spellchecking of deleted text. Track transpose changes. Don't
10491           allow paragraph break or merge where appropriate.
10492
10493         * text2.C: leave cursor at end of selection after a cut.
10494
10495 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10496
10497         * text.C (getLengthMarkerHeight):
10498         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10499         visible on screen too.
10500
10501 2003-02-07  John Levon  <levon@movementarian.org>
10502
10503         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10504
10505 2003-02-05  Angus Leeming  <leeming@lyx.org>
10506
10507         * lyxserver.C (read_ready): revert my patch of 11 September last year
10508         as it sends PC cpu through the roof. Presumably this means that
10509         the lyxserver will no longer run on an Alpha...
10510
10511 2003-01-30  Angus Leeming  <leeming@lyx.org>
10512
10513         * factory.C (createInset): create an InsetCommandParam of type "index"
10514         and use it to 'do the right thing'.
10515
10516         * text2.C (getStringToIndex): ensure that cursor position is always
10517         reset to the reset_cursor position.
10518
10519 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10520
10521         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10522         disabled.
10523
10524 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10525
10526         * bufferview.C:
10527         * lyxcb.C:
10528         * lyxfunc.C: Output messages with identical spelling, punctuation,
10529         and spaces
10530
10531 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10532
10533         * MenuBackend.C (expandFormats): List only viewable export formats
10534         in "View" menu
10535
10536         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10537         message
10538
10539         * lyxfunc.C (getStatus): Make sure that formats other than
10540         "fax" can also be disabled
10541
10542 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10543
10544         * text3.C (dispatch): put the lfuns that insert insets in 3
10545         groups, and call doInsertInset with appropriate arguments.
10546         (doInsertInset): new function, that creates an inset and inserts
10547         it according to some boolean parameters.
10548
10549 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10550
10551         * buffer.C (readFile): remember to pass on 'par' when calling
10552         readFile recursively.
10553
10554 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10555
10556         * MenuBackend.C (expandFormats): add "..." to import formats.
10557
10558 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * paragraph.C (asString): Remove XForms RTL hacks.
10561
10562 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10563         * buffer.C: fix typo
10564
10565 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10566
10567         * Makefile.am (LIBS): delete var
10568         (lyx_LDADD): add @LIBS@ here instead.
10569
10570 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10571
10572         * Clarify the meaning of "wheel mouse jump"
10573
10574 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10575
10576         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10577         tabular in a float
10578
10579 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10580
10581         * importer.C (Loaders): do not preallocate 3 elements in the
10582         vector, since one ends up with 6 elements otherwise
10583
10584 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10585
10586         * DepTable.C (write): write the file name as last element of the
10587         .dep file (because it may contain spaces)
10588         (read): read info in the right order
10589
10590 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10591
10592         * paragraph_pimpl.C (simpleTeXBlanks):
10593         (simpleTeXSpecialChars):
10594         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10595
10596         * tabular.C (latex): add some missing case statements. Reindent.
10597
10598         * MenuBackend.C (expandToc): remove unused variable.
10599
10600 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10601
10602         * LColor.C:
10603         * LaTeX.C:
10604         * LyXAction.C:
10605         * MenuBackend.C:
10606         * buffer.C:
10607         * exporter.C:
10608         * lyxfunc.C:
10609         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10610         and the like.
10611
10612 2003-01-05  John Levon  <levon@movementarian.org>
10613
10614         * BufferView.h:
10615         * BufferView.C: add getEncoding()
10616
10617         * kbsequence.h:
10618         * kbsequence.C: do not store last keypress
10619
10620         * lyxfunc.h:
10621         * lyxfunc.C: store last keypress here instead. Pass encoding
10622           to getISOEncoded()
10623
10624 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * lyx_main.C (init): remove annoying error message when following
10627         symbolic links (bug #780)
10628
10629 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10630
10631         * text.C (insertChar):
10632         * lyxrc.C (getDescription): remove extra spaces
10633
10634 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10635
10636         * lyxrc.C (getDescription): remove extra spaces
10637
10638 2002-12-20  John Levon  <levon@movementarian.org>
10639
10640         * text3.C: hack fix for page up/down across tall rows
10641
10642 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10643
10644         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10645         not been invoked
10646
10647 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10648
10649         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10650         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10651         thesaurus is not compiled in
10652
10653 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10654
10655         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10656
10657 2002-12-16  Angus Leeming  <leeming@lyx.org>
10658
10659         * lyxrc.[Ch]:
10660         * lyx_main.C (init): remove override_x_deadkeys stuff.
10661
10662 2002-12-12  John Levon  <levon@movementarian.org>
10663
10664         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10665           insert. Only remove shift modifier under strict
10666           circumstances.
10667
10668 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10669
10670         * MenuBackend.C (expandToc): fix crash.
10671
10672 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10673
10674         * MenuBackend.C (expandToc): gettext on float names.
10675
10676 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10677
10678         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10679         implement bool empty() [bug 490]
10680
10681 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10682
10683         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10684
10685 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10686
10687         * several files: ws changes
10688
10689 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * text2.C (setCounter): clean up a bit, use boost.format.
10692         (updateCounters): initialize par upon declaration.
10693
10694         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10695         if the layout exists. We do not just store the layout any more.
10696         (SwitchLayoutsBetweenClasses): use boost.format
10697
10698 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10699
10700         * converter.C (convert): if from and to files are the same, use a
10701         temporary files as intermediary
10702
10703 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * commandtags.h:
10706         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10707
10708 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10709
10710         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10711
10712 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10713
10714         * tabular.C (asciiPrintCell): use string(size, char) instead of
10715         explicit loop.
10716
10717         * sgml.C (openTag): fix order of arguments to string constructor
10718         (closeTag): ditto
10719
10720         * lyxfunc.C (dispatch): use boost.format
10721
10722         * lots of files: change "c" -> 'c'
10723
10724 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10725
10726         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10727
10728 2002-11-25  Angus Leeming  <leeming@lyx.org>
10729
10730         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10731
10732         * lyx_main.C (init): compile fix.
10733
10734 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10735
10736         * lyx_cb.C (start): boost.formatify
10737         do not include <iostream>
10738
10739         * lengthcommon.C: ws only
10740
10741         * boost-inst.C,BoostFormat.h: add more explict instantations
10742
10743 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10744
10745         * lots of files: handle USE_BOOST_FORMAT
10746
10747 2002-11-21  John Levon  <levon@movementarian.org>
10748
10749         * pspell.C: fix compile
10750
10751 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10752
10753         * lyxfunc.C (dispatch): use boost::format
10754         (open): ditto
10755         (doImport): ditto
10756
10757         * lyxfont.C (stateText): use boost::format
10758
10759         * lyx_main.C (LyX): use boost::format
10760         (init): ditto
10761         (queryUserLyXDir): ditto
10762         (readRcFile): ditto
10763         (parse_dbg): ditto
10764         (typedef boost::function): use the recommened syntax.
10765
10766         * importer.C (Import): use boost::format
10767
10768         * debug.C (showLevel): use boost::format
10769
10770         * converter.C (view): use boost::format
10771         (convert): ditto
10772         (move): ditto
10773         (scanLog): ditto
10774
10775         * bufferview_funcs.C (currentState): use boost::format
10776
10777         * bufferlist.C (emergencyWrite): use boost::format
10778
10779         * buffer.C (readLyXformat2): use boost::format
10780         (parseSingleLyXformat2Token): ditto
10781
10782         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10783
10784         * LaTeX.C (run): use boost::format
10785
10786         * Chktex.C (scanLogFile): use boost::format
10787
10788         * BufferView_pimpl.C (savePosition): use boost::format
10789         (restorePosition): ditto
10790         (MenuInsertLyXFile): ditto
10791
10792         * BoostFormat.h: help file for explicit instation.
10793
10794 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10795
10796         * tabular.C (latex): Support for block alignment in fixed width
10797         columns.
10798
10799 2002-11-17  John Levon  <levon@movementarian.org>
10800
10801         * BufferView_pimpl.C:
10802         * lyx_cb.C:
10803         * lyxfunc.C: split filedialog into open/save
10804
10805 2002-11-08  Juergen Vigna  <jug@sad.it>
10806
10807         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10808         by my last patch (hopefully).
10809
10810 2002-11-08  John Levon  <levon@movementarian.org>
10811
10812         * iterators.h:
10813         * iterators.C:
10814         * buffer.h:
10815         * buffer.C:
10816         * paragraph.h:
10817         * paragraph.C:
10818         * toc.h:
10819         * toc.C: ParConstIterator, and use it (from Lars)
10820
10821 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10822
10823         * lyxtextclass.[Ch]: revise and add doxygen comments
10824
10825 2002-11-07  John Levon  <levon@movementarian.org>
10826
10827         * text.C: fix progress value for spellchecker
10828
10829         * toc.C: fix navigate menu for insetwrap inside minipage
10830
10831         * paragraph_funcs.C: added FIXME for suspect code
10832
10833 2002-11-07  John Levon  <levon@movementarian.org>
10834
10835         * BufferView_pimpl.C: fix redrawing of insets
10836           on buffer switch
10837
10838 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * text2.C (updateCounters): fix bug 668
10841
10842 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10843
10844         * text3.C (dispatch): Do not make the buffer dirty when moving the
10845         cursor.
10846
10847 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10848
10849         * vc-backend.C: STRCONV
10850         (scanMaster): ditto
10851
10852         * text2.C (setCounter): STRCONV
10853
10854         * paragraph.C (asString): STRCONV
10855
10856         * lyxlength.C (asString): STRCONV
10857         (asLatexString): ditto
10858
10859         * lyxgluelength.C (asString): STRCONV
10860         (asLatexString): ditto
10861
10862         * lyxfunc.C (dispatch): STRCONV
10863         (open): ditto
10864
10865         * lyxfont.C (stateText): STRCONV
10866
10867         * importer.C (Import): STRCONV
10868
10869         * counters.C (labelItem): STRCONV
10870         (numberLabel): ditto
10871         (numberLabel): remove unused ostringstream o
10872
10873         * chset.C: STRCONV
10874         (loadFile): ditto
10875
10876         * bufferview_funcs.C (currentState): STRCONV
10877
10878         * buffer.C (readFile): STRCONV
10879         (asciiParagraph): ditto
10880         (makeLaTeXFile): ditto
10881
10882         * Spacing.C (writeEnvirBegin): STRCONV
10883
10884         * LaTeXFeatures.C (getLanguages): STRCONV
10885         (getPackages): ditto
10886         (getMacros): ditto
10887         (getBabelOptions): ditto
10888         (getTClassPreamble): ditto
10889         (getLyXSGMLEntities): ditto
10890         (getIncludedFiles): ditto
10891
10892         * LaTeX.C: STRCONV
10893         (run): ditto
10894         (scanAuxFile): ditto
10895         (deplog): ditto
10896
10897         * LString.h: add the STRCONV macros
10898
10899         * BufferView_pimpl.C (savePosition): STRCONV
10900         (restorePosition): ditto
10901         (MenuInsertLyXFile): ditto
10902
10903         * vc-backend.C (scanMaster): change from submatch[...] to
10904         submatch.str(...)
10905
10906         * funcrequest.C: include config.h
10907
10908         * factory.C: include config.h
10909
10910         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10911
10912         * box.C: include config.h
10913
10914         * LaTeX.C (scanAuxFile): change from submatch[...] to
10915         submatch.str(...)
10916         (deplog): ditto
10917
10918 2002-10-25  Angus Leeming  <leeming@lyx.org>
10919
10920         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10921
10922         * ispell.[Ch] (setError): new method.
10923         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10924         Use setError() insetead of goto END.
10925
10926         * lyx_cb.C (AutoSave): move out child process into new class
10927         AutoSaveBuffer.
10928
10929 2002-10-30  John Levon  <levon@movementarian.org>
10930
10931         * text3.C: make start appendix undoable
10932
10933 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10934
10935         * lyxlength.C (inPixels): Fix returned value.
10936
10937         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10938         environment.
10939
10940 2002-10-24  Angus Leeming  <leeming@lyx.org>
10941
10942         * lyxgluelength.h: no need to forward declare BufferParams
10943         or BufferView, so don't.
10944
10945 2002-10-21  John Levon  <levon@movementarian.org>
10946
10947         * BufferView.C: menuUndo ->undo, redo
10948
10949         * BufferView.h: document, remove dead, make some methods private
10950
10951         * paragraph_funcs.h:
10952         * paragraph_funcs.C:
10953         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10954
10955         * buffer.h:
10956         * buffer.C:
10957         * sgml.h:
10958         * sgml.C: move sgml open/close tag into sgml.C
10959
10960         * bufferview_funcs.h: unused prototype
10961
10962         * lyxfunc.h:
10963         * lyxfunc.C: remove unused
10964
10965         * lyxtext.h:
10966         * text.C: remove unused
10967
10968 2002-10-21  John Levon  <levon@movementarian.org>
10969
10970         * BufferView.h:
10971         * BufferView.C:
10972         * BufferView_pimpl.h:
10973         * BufferView_pimpl.C: fix mouse wheel handling based on
10974           patch from Darren Freeman
10975
10976 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10977
10978         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10979
10980 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * lyxlength.C (inPixels): Fix hanfling of negative length.
10983         Fix LyXLength::MU case.
10984
10985 2002-10-16  John Levon  <levon@movementarian.org>
10986
10987         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10988
10989 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10990
10991         * converter.C (view): add support for $$i (file name) and $$p
10992         (file path) for the viewer command. If $$i is not specified, then
10993         it is appended to the command (for compatibility with old syntax)
10994
10995 2002-10-14  Juergen Vigna  <jug@sad.it>
10996
10997         * undo_funcs.C (textHandleUndo): alter the order in which the
10998         new undopar is added to the LyXText, as we have to set first
10999         the right prev/next and then add it as otherwise the rebuild of
11000         LyXText is not correct. Also reset the cursor to the right paragraph,
11001         with this IMO we could remove the hack in "redoParagraphs()".
11002
11003 2002-10-09  Angus Leeming  <leeming@lyx.org>
11004
11005         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11006         to turn off an optimisation if a new inset is to be inserted.
11007
11008 2002-10-11 André Pönitz <poenitz@gmx.net>
11009
11010         * lyxtext.h: make some functions public to allow access
11011         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11012
11013 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * text3.C (dispatch): when changing layout, avoid an infinite loop
11016         [bug #652]
11017
11018 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11019
11020         * lyxrc.C (read): treat a viewer or converter command of "none" as
11021         if it were empty.
11022
11023         * MenuBackend.C (expandFormats): for an update, also allow the
11024         formats that are not viewable
11025
11026         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11027         script if it is newer than the lyxrc.defaults in user directory
11028
11029 2002-10-07 André Pönitz <poenitz@gmx.net>
11030
11031         * text.C: Vitaly Lipatov's small i18n fix
11032
11033 2002-09-25  Angus Leeming  <leeming@lyx.org>
11034
11035         * ispell.h: doxygen fix.
11036
11037 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * buffer.h (readFile): Add a new argument to the method, to allow
11040         reading of old-format templates.
11041
11042 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * toc.C (getTocList): Get TOC from InsetWrap.
11045
11046 2002-09-16  John Levon  <levon@movementarian.org>
11047
11048         * lyxfunc.C: check tabular for cut/copy too
11049
11050 2002-09-12  John Levon  <levon@movementarian.org>
11051
11052         * LyXAction.C: tidy
11053
11054         * factory.h:
11055         * factory.C: add header
11056
11057         * paragraph_funcs.h:
11058         * paragraph_funcs.C: cleanup
11059
11060 2002-09-11  John Levon  <levon@movementarian.org>
11061
11062         * PrinterParams.h: odd/even default to true
11063
11064 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11065
11066         * PrinterParams.h: update printer parameters for new xforms dialog
11067
11068 2002-09-11  Angus Leeming  <leeming@lyx.org>
11069
11070         * lyxserver.C (read_ready): re-write to make it more transparent
11071         and to make it work in coherent fashion under Tru64 Unix.
11072
11073 2002-09-11  André Pönitz <poenitz@gmx.net>
11074
11075         * commandtags.h:
11076         * LyXAction.C:
11077         * text3.C: implement LFUN_WORDSEL
11078
11079 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11080
11081         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11082         make floatlist_ a boost::shared_ptr<FloatList>
11083
11084         * lyxtextclass.C: include FloatList.h
11085         (LyXTextClass): initialize floatlist_
11086         (TextClassTags): add TC_NOFLOAT
11087         (Read): match "nofloat" to TC_NOFLOAT and use it.
11088         (readFloat): modify call to floatlist_
11089         (floats): ditto
11090         (floats): ditto
11091
11092         * FloatList.[Ch] (FloatList): remove commented out float
11093         initialization.
11094         (erase): new function
11095
11096 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11097
11098         * MenuBackend.C (expandToc): fix crash when there is no document
11099         open
11100
11101 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11102
11103         * many files: Add insetwrap.
11104
11105 2002-09-09  John Levon  <levon@movementarian.org>
11106
11107         * text2.C: remove confusing and awkward depth wraparound
11108
11109 2002-09-09  John Levon  <levon@movementarian.org>
11110
11111         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11112
11113         * buffer.h:
11114         * buffer.C: remove getIncludeonlyList()
11115
11116         * paragraph.C:
11117         * lyxfunc.C: remove headers
11118
11119 2002-09-09  Juergen Vigna  <jug@sad.it>
11120
11121         * text.C (getColumnNearX): fix form Michael this is most
11122         probably a cut&paste bug.
11123
11124 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11125
11126         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11127
11128         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11129         references, ws changes.
11130
11131         * text2.C (init): update counters after init
11132         (insertParagraph): no need to set counter on idividual paragraphs.
11133         (setCounter): access the counters object in the textclass object
11134         on in the buffer object.
11135         (updateCounters): ditto
11136
11137         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11138         shared_ptr<Counters> to avoid loading counters.h in all
11139         compilation units.
11140         (LyXTextClass): initialize ctrs_
11141         (TextClassTags): add TC_COUNTER, and ...
11142         (Read): use it here.
11143         (CounterTags): new tags
11144         (readCounter): new function
11145         (counters): new funtion
11146         (defaultLayoutName): return a const reference
11147
11148         * counters.C (Counters): remove contructor
11149         (newCounter): remove a couple of unneeded statements.
11150         (newCounter): simplify a bit.
11151         (numberLabel): some small formatting changes.
11152
11153         * buffer.[Ch]: remove all traces of counters, move the Counters
11154         object to the LyXTextClass.
11155
11156 2002-09-06  Alain Castera  <castera@in2p3.fr>
11157
11158         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11159         package to set the horizontal alignment on fixed width columns.
11160
11161         * lyx_sty.C:
11162         * lyx_sty.h: added tabularnewline macro def.
11163
11164         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11165
11166 2002-09-06  John Levon  <levon@movementarian.org>
11167
11168         * LyXAction.C: tooltips for sub/superscript
11169
11170         * MenuBackend.C: a bit more verbose
11171
11172         * lyxfunc.C: tiny clean
11173
11174         * undo_funcs.C: document undo_frozen
11175
11176 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11177
11178         * counters.C (Counters): add missing algorithm counter.
11179
11180         * text2.C (setCounter): lookup the counter with layouts latexname
11181         instead of by section number.
11182         (setCounter): use a hackish way to lookup the correct enum
11183         counter.
11184         a float name->type change
11185         reset enum couners with counter name directly instead of depth value.
11186
11187         * counters.C (Counters): remove the push_backs, change to use the
11188         float type not the float name.
11189         (labelItem): remove unused string, float name->type change
11190
11191         * counters.h: don't include vector, loose the enums and sects vectors
11192
11193 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11194
11195         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11196         (Read): add float->TC_FLOAT to textclassTags
11197         (Read): and handle it in the switch
11198         (readFloat): new function
11199
11200         * FloatList.C (FloatList): comment out the hardcoded float
11201         definitions.
11202
11203         * lyxlayout.h: ws change.
11204
11205 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11206
11207         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11208
11209 2002-09-03  Angus Leeming  <leeming@lyx.org>
11210
11211         * BufferView_pimpl.h: qualified name is not allowed in member
11212         declaration: WorkArea & Pimpl::workarea() const;
11213
11214         * factory.C: added using std::endl directive.
11215
11216         * text3.C: added using std::find and std::vector directives.
11217
11218 2002-08-29  André Pönitz <poenitz@gmx.net>
11219
11220         * lyxtext.h:
11221         * text2.C: remove unused member number_of_rows
11222
11223         * Makefile.am:
11224         * BufferView2.C: remove file, move contents to...
11225         * BufferView.C: ... here
11226
11227         * BufferView_pimpl.C:
11228         * factory.C: move more inset creation to factory
11229
11230         * vspace.C: avoid direct usage of LyXText, ws changes
11231
11232         * BufferView.[Ch]:
11233                 don't provide direct access to WorkArea, use two simple
11234                 acessors haveSelction() and workHeight() instead
11235
11236
11237 2002-08-29  John Levon  <levon@movementarian.org>
11238
11239         * BufferView_pimpl.C (dispatch): do not continue when
11240           no buffer
11241
11242 2002-08-28  André Pönitz <poenitz@gmx.net>
11243
11244         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11245
11246         * BufferView.h:
11247         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11248
11249 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11250
11251         * buffer.C: increment LYX_FORMAT to 221
11252
11253         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11254         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11255
11256         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11257
11258         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11259
11260 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * factory.C (createInset): use LyXTextClass::floats
11263
11264         * MenuBackend.C (expandFloatListInsert):
11265         (expandFloatInsert):
11266         (expandToc):
11267
11268         * text2.C (setCounter):
11269
11270         * LaTeXFeatures.C (useFloat):
11271         (getFloatDefinitions):
11272
11273         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11274
11275         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11276         floatlist_, with accessor floats().
11277
11278         * FloatList.h: remove global FloatList
11279
11280 2002-08-26  André Pönitz <poenitz@gmx.net>
11281
11282         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11283
11284         * BufferView.h:
11285         * BufferView2.C:
11286         * BufferView_pimpl.C:
11287         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11288
11289 2002-08-25  John Levon  <levon@movementarian.org>
11290
11291         * LyXAction.C: fix margin note description
11292
11293 2002-08-24  John Levon  <levon@movementarian.org>
11294
11295         * buffer.C:
11296         * bufferlist.C:
11297         * bufferview_funcs.C:
11298         * lyxfont.C:
11299         * undo_funcs.C: cleanups
11300
11301         * lyxfunc.C: disable CUT/COPY when no selection
11302
11303 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11304
11305         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11306         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11307
11308         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11309         Add backward compatibility to "mono", "gray" and "no".
11310
11311 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11312
11313         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11314         (and file_format >= 200).
11315
11316 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11319
11320 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11323
11324 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11325
11326         * BufferView_pimpl.C:
11327         * LyXAction.C:
11328         * buffer.C:
11329         * commandtags.h:
11330         * lyxfunc.C:
11331         * paragraph.[Ch]:
11332         * text2.C:
11333         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11334         inset and code to make it  work with the paragraph code. The inset
11335         can be anywhere in the paragraph, but will only do the expected
11336         thing in LaTeX if the layout file contains the parameter line
11337                         OptionalArgs    1
11338         (or more generally, a nonzero value) for that layout.
11339
11340 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11341
11342         * paragraph.h: remove the declaration of undefined counters class
11343         function.
11344
11345 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11346
11347         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11348         Dr. Richard Hawkins.
11349
11350 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11351
11352         * paragraph_funcs.h: remove some unneeded includes
11353
11354         * text.C (backspace): pasteParagraph now in global scipe
11355
11356         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11357         (pasteSelection): ditto
11358
11359         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11360         * paragraph_funcs.C (pasteParagraph): ... here
11361
11362 2002-08-20  André Pönitz <poenitz@gmx.net>
11363
11364         * commandtags.h: new LFUNs for swapping/copying table row/colums
11365
11366         * LyXAction.C:
11367         * lyxfunc.C: support for new lfuns
11368
11369 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11370
11371         * tabular.C:
11372         * buffer.[Ch]: remove NO_COMPABILITY stuff
11373
11374 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11375
11376         * boost.C (throw_exception): new file, with helper function for
11377         boost compiled without exceptions.
11378
11379         * paragraph.h:
11380         * lyxlength.C:
11381         * buffer.C:
11382         * ParameterStruct.h:
11383         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11384
11385         * bufferlist.C (emergencyWriteAll): use boost bind
11386
11387         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11388
11389         * text.C: include paragraph_funcs.h
11390         (breakParagraph): breakParagraph is now in global scope
11391
11392         * paragraph_funcs.[Ch]: new files
11393
11394         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11395         global scope
11396
11397         * buffer.C: include paragraph_funcs.h
11398         (insertStringAsLines): breakParagraph is now in global scope
11399
11400         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11401         paragraph_funcs.C
11402
11403         * CutAndPaste.C: include paragraph_funcs.h
11404         (cutSelection): breakParagraphConservative is now in global scope
11405         (pasteSelection): ditto
11406
11407         * buffer.h: declare oprator== and operator!= for
11408         Buffer::inset_iterator
11409
11410         * bufferlist.C (emergencyWrite): don't use fmt(...)
11411
11412         * text3.C: add using std::endl
11413
11414         * BufferView.C (moveCursorUpdate): remove default arg
11415
11416 2002-08-20  André Pönitz <poenitz@gmx.net>
11417
11418         * buffer.[Ch]: move inline functions to .C
11419
11420         * BufferView2.C:
11421         * BufferView_pimpl.C:
11422         * text.C:
11423         * buffer.[Ch]: use improved inset_iterator
11424
11425         * buffer.C:
11426         * paragraph.[Ch]: write one paragraph at a time
11427
11428 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11429
11430         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11431         style if style is not specified.
11432
11433 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * text2.C (setCounter): when searching for right label for a
11436         caption, make sure to recurse to parent insets (so that a caption
11437         in a minipage in a figure float works) (bug #568)
11438
11439 2002-08-20  André Pönitz <poenitz@gmx.net>
11440
11441         * text3.C: new file for LyXText::dispatch() and helpers
11442
11443         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11444
11445         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11446
11447 2002-08-19  André Pönitz <poenitz@gmx.net>
11448
11449         * lyxtext.h:
11450         * text.C: new LyXText::dispatch()
11451
11452         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11453
11454 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11455
11456         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11457
11458         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11459         Hebrew text.
11460
11461 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * Makefile.am: use $(variables) instead of @substitutions@
11464
11465 2002-08-15  André Pönitz <poenitz@gmx.net>
11466
11467         * lyxfunc.C:
11468         * BufferView_pimpl.C: streamlining mathed <-> outer world
11469         interaction
11470
11471         * commandtags.h:
11472         * LyXAction.C: remove unused LFUN_MATH
11473
11474 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11475
11476         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11477
11478 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11479
11480         * paragraph.C (Paragraph): reformat a bit
11481         (cutIntoMinibuffer): use builtin InsetList function instad of
11482         doing it manually.
11483         (getInset): ditto
11484
11485         * buffer.C: include boost/bind.hpp, add using std::for_each
11486         (writeFileAscii): use ParagraphList iterators
11487         (validate): use for_each for validate traversal of paragraphs
11488         (getBibkeyList): use ParagraphList iterators
11489         (resizeInsets): use for_each to resizeInsetsLyXText for all
11490         paragraphs.
11491         (getParFromID): use ParagraphList iterators
11492
11493         * BufferView2.C (lockInset): use paragraph list and iterators
11494
11495 2002-08-14  John Levon  <levon@movementarian.org>
11496
11497         * lyxserver.C: remove spurious xforms include
11498
11499 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11502
11503 2002-08-13  André Pönitz <poenitz@gmx.net>
11504
11505         * LyXAction.[Ch]:
11506         * lyxfunc.C: further cleaning
11507
11508 2002-08-13  André Pönitz <poenitz@gmx.net>
11509
11510         * funcrequest.h: new constructor
11511
11512         * funcrequest.C: move stuff here from .h
11513
11514         * Makefile.am:
11515         * BufferView_pimpl.C:
11516         * LyXAction.C:
11517         * toc.C:
11518         * lyxfunc.C: subsequent changes
11519
11520         * lyxfunc.h: new view() member function
11521
11522         * lyxfunc.C: subsequent changes
11523
11524 2002-08-13  Angus Leeming  <leeming@lyx.org>
11525
11526         * BufferView2.C:
11527         * BufferView_pimpl.C:
11528         * buffer.C:
11529         * converter.C:
11530         * importer.C:
11531         * lyxfunc.C:
11532         * lyxvc.C:
11533         * toc.C:
11534         * vc-backend.C:
11535         changes due to the changed LyXView interface that now returns references
11536         to member variables not pointers.
11537
11538 2002-08-13  Angus Leeming  <leeming@lyx.org>
11539
11540         * WordLangTuple (word, lang_code): return references to strings,
11541         not strings.
11542
11543         * BufferView.h:
11544         * SpellBase.h:
11545         * lyxtext.h: forward-declare WordLangTuple.
11546
11547         * BufferView2.C:
11548         * ispell.C:
11549         * pspell.C:
11550         * text.C: #include "WordLangTuple.h".
11551
11552         * lyxtext.h:
11553         * text.C: (selectNextWordToSpellcheck): constify return type.
11554
11555 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11556
11557         * buffer.C:
11558         * buffer.h:
11559         * lyxtext.h:
11560         * paragraph.C:
11561         * paragraph_pimpl.h:
11562         * text.C:
11563         * text2.C:
11564         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11565         suggested by Angus.
11566         Made updateCounter always count from start of buffer, and removed
11567         second argument (par).
11568         Reverted floats number display to '#'. Perhaps I'll try again when the
11569         code base is sanitized a bit.
11570
11571 2002-08-12  Angus Leeming  <leeming@lyx.org>
11572
11573         * buffer.[Ch] (getLabelList): constify.
11574
11575 2002-08-07  André Pönitz <poenitz@gmx.net>
11576
11577         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11578
11579         * funcrequest.h: extension to keep mouse (x,y) position
11580
11581 2002-08-12  Juergen Vigna  <jug@sad.it>
11582
11583         * BufferView2.C (insertErrors): forbid undo when inserting error
11584         insets.
11585
11586         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11587
11588 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11589
11590         * ParagraphList.[Ch]: new files
11591
11592         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11593
11594         * BufferView2.C (lockInset): ParagraphList changes
11595         * toc.C: ditto
11596         * text2.C: ditto
11597         * bufferlist.C: ditto
11598         * buffer.h: ditto
11599         * buffer.C: ditto
11600
11601 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11602
11603         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11604         unused class variable counter_,
11605
11606         * paragraph.[Ch] (getFirstCounter): delete unused function
11607
11608         * counters.C: include LAssert.h
11609         (reset): add a new function with no arg, change other version to
11610         not have def. arg and to not allow empty arg.
11611
11612         * text2.C (setCounter): remove empty arg from call to Counters::reset
11613
11614 2002-08-11  John Levon  <levon@movementarian.org>
11615
11616         * Makefile.am: add WordLangTuple.h
11617
11618 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11619
11620         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11621         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11622
11623         * insets/insettext.C: InsetList changes
11624
11625         * graphics/GraphicsSupport.C (operator()): InsetList changes
11626
11627         * toc.C (getTocList): InsetList changes
11628
11629         * paragraph_pimpl.[Ch]: InsetList changes
11630
11631         * paragraph.[Ch]: InsetList changes
11632
11633         * buffer.C (inset_iterator): InsetList changes
11634         (setParagraph): ditto
11635         * buffer.h (inset_iterator): ditto
11636         * iterators.C (operator++): ditto
11637         * iterators.h: ditto
11638
11639         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11640
11641         * InsetList.[Ch]: new files, most InsetList handling moved out of
11642         paragraph.C.
11643
11644         * BufferView2.C (removeAutoInsets): InsetList changes
11645         (lockInset): ditto
11646         (ChangeInsets): ditto
11647
11648 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11649
11650         * paragraph_pimpl.h (empty): new function
11651
11652         * paragraph.[Ch] (empty): new function
11653
11654         * other files: use the new Paragraph::empty function
11655
11656 2002-08-09  John Levon  <levon@movementarian.org>
11657
11658         * lyxtext.h: remove unused refresh_height
11659
11660 2002-08-09  John Levon  <levon@movementarian.org>
11661
11662         * Makefile.am:
11663         * sgml.h:
11664         * sgml.C:
11665         * buffer.C:
11666         * paragraph.h:
11667         * paragraph.C: move sgml char escaping out of paragraph
11668
11669         * paragraph.h:
11670         * paragraph.C: remove id setter
11671
11672         * buffer.C:
11673         * paragraph.C:
11674         * paragraph_pimpl.C: remove dead tex_code_break_column
11675
11676         * bufferview_funcs.C: small cleanup
11677
11678         * lyxfunc.C: remove dead proto
11679
11680         * lyxtext.h: make some stuff private. Remove some dead stuff.
11681
11682         * lyxgluelength.C: make as[LyX]String() readable
11683
11684 2002-08-08  John Levon  <levon@movementarian.org>
11685
11686         * LyXAction.h:
11687         * LyXAction.C:
11688         * MenuBackend.C:
11689         * ToolbarDefaults.C:
11690         * lyxfunc.C:
11691         * lyxrc.C:
11692         * toc.C: lyxaction cleanup
11693
11694 2002-08-08  John Levon  <levon@movementarian.org>
11695
11696         * BufferView2.C: small cleanup
11697
11698         * lyxfind.h:
11699         * lyxfind.C: move unnecessary header into the .C
11700
11701 2002-08-08  John Levon  <levon@movementarian.org>
11702
11703         * funcrequest.h: just tedious nonsense
11704
11705         * lyx_main.h:
11706         * lyx_main.C: cleanups
11707
11708         * buffer.C:
11709         * vspace.C: remove dead header lyx_main.h
11710
11711 2002-08-07  Angus Leeming  <leeming@lyx.org>
11712
11713         * Paragraph.[Ch]:
11714         * paragraph_pimpl.h:
11715         Forward declare class Counters in paragraph.h by moving the ctrs member
11716         variable into Paragraph::Pimpl.
11717         (counters): new method, returning a reference to pimpl_->ctrs.
11718
11719         * text2.C: ensuing changes.
11720
11721 2002-08-07  John Levon  <levon@movementarian.org>
11722
11723         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11724
11725         * BufferView_pimpl.C: announce X selection on double/triple
11726           click
11727
11728         * lyx_main.C: use correct bool in batch dispatch
11729
11730         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11731
11732 2002-08-07  André Pönitz <poenitz@gmx.net>
11733
11734         * funcrequest.h: new class to wrap a kb_action and its argument
11735
11736         * BufferView.[Ch]:
11737         * BufferView_pimpl[Ch]:
11738         * LaTeX.C:
11739         * LyXAction.[Ch]:
11740         * lyxfunc.[Ch]:
11741         * lyxrc.C: subsequent changes
11742
11743
11744 2002-08-07  John Levon  <levon@movementarian.org>
11745
11746         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11747           document options change.
11748
11749 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11750
11751         * counters.[Ch]
11752         * text2.C
11753         * paragraph.[Ch]
11754         * makefile.am: move counters functionality over from
11755         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11756
11757 2002-08-06  John Levon  <levon@movementarian.org>
11758
11759         * WordLangTuple.h: new file for word + language code tuple
11760
11761         * SpellBase.h:
11762         * pspell.h:
11763         * pspell.C:
11764         * ispell.h:
11765         * ispell.C:
11766         * lyxtext.h:
11767         * text.C:
11768         * text2.C:
11769         * BufferView.h:
11770         * BufferView2.C: use WordLangTuple
11771
11772         * layout.h:
11773         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11774
11775 2002-08-06  John Levon  <levon@movementarian.org>
11776
11777         * lyx_main.C: fix cmdline batch handling
11778
11779 2002-08-06  André Pönitz <poenitz@gmx.net>
11780
11781         * lyxrc.C: set default for show_banner to true
11782
11783 2002-08-06  John Levon  <levon@movementarian.org>
11784
11785         * pspell.C: fix a crash, and allow new aspell to work
11786
11787 2002-08-06  John Levon  <levon@movementarian.org>
11788
11789         * lyxfunc.C:
11790         * kbmap.C: small cleanup
11791
11792         * vspace.h:
11793         * vspace.C: add const
11794
11795 2002-08-05  John Levon  <levon@movementarian.org>
11796
11797         * LyXAction.C: back to tabular-insert
11798
11799 2002-08-04  John Levon  <levon@movementarian.org>
11800
11801         * BufferView.h:
11802         * BufferView.C: cosmetic change
11803
11804         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11805
11806         * bufferlist.C:
11807         * buffer.h:
11808         * buffer.C:
11809         * lyxcb.h:
11810         * lyxcb.C:
11811         * lyxserver.C:
11812         * lyxvc.C:
11813         * vc-backend.C:
11814         * BufferView2.C: purge all "Lyx" not "LyX" strings
11815
11816         * lyxcursor.h:
11817         * lyxcursor.C: attempt to add some documentation
11818
11819         * lyxfunc.C:
11820         * commandtags.h:
11821         * LyXAction.C:
11822         * ToolbarDefaults.C:
11823         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11824           merge with LFUN_TABULAR_INSERT
11825
11826         * Makefile.am:
11827         * SpellBase.h:
11828         * ispell.h:
11829         * ispell.C:
11830         * pspell.h:
11831         * pspell.C: split up i/pspell implementations into separate
11832           files, many cleanups
11833
11834         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11835
11836         * text2.C: some cleanup
11837
11838         * lyxfunc.C: don't check for isp_command == "none" any more, it
11839           didn't make any sense
11840
11841 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11842
11843         * counters.[Ch]
11844         * text2.C
11845         * paragraph.[Ch]
11846         * makefile.am: move counters functionality over
11847         from text2.C/paragraph.[Ch] to counters.[Ch], and
11848         make proper C++.
11849 2002-08-02  John Levon  <levon@movementarian.org>
11850
11851         * buffer.C: s/lyxconvert/lyx2lyx/
11852
11853 2002-08-02  Angus Leeming  <leeming@lyx.org>
11854
11855         * lyxlex.C: revert John's change as it breaks reading of the user
11856         preamble.
11857
11858 2002-08-02  Angus Leeming  <leeming@lyx.org>
11859
11860         * importer.C (Import):
11861         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11862         changes due to LyXView::view() now returning a boost::shared_ptr.
11863
11864 2002-08-02  John Levon  <levon@movementarian.org>
11865
11866         * lyxlex.C: small cleanup
11867
11868 2002-08-02  John Levon  <levon@movementarian.org>
11869
11870         * text2.C (status): small cleanup, no logic change
11871
11872 2002-08-01  John Levon  <levon@movementarian.org>
11873
11874         * buffer.h:
11875         * buffer.C (writeFile): don't output alerts, caller
11876           handles this
11877
11878         * bufferlist.C:
11879         * lyx_cb.C: from above
11880
11881         * lyxfunc.C: allow to open non-existent files
11882
11883 2002-07-31  John Levon  <levon@movementarian.org>
11884
11885         * lyxserver.C: don't let incidental errors get
11886           in the way (errno)
11887
11888 2002-07-30  John Levon  <levon@movementarian.org>
11889
11890         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11891
11892 2002-07-30  John Levon  <levon@movementarian.org>
11893
11894         * lyxserver.h:
11895         * lyxserver.C: remove I/O callback too
11896
11897 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11900         log.
11901
11902 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11903
11904         * many files: strip,frontStrip -> trim,ltrim,rtrim
11905
11906 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11907
11908         * PrinterParams.h: remove extern containsOnly, and include
11909         support/lstrings.h instead.
11910
11911         * LaTeX.C (scanAuxFile): modify because of strip changes
11912         (deplog): ditto
11913         * buffer.C (makeLaTeXFile): ditto
11914         * bufferparams.C (writeFile): ditt
11915         * lyxfont.C (stateText): ditto
11916         * lyxserver.C (read_ready): ditto
11917         * vc-backend.C (scanMaster): ditto
11918
11919         * BufferView_pimpl.h: ws changes
11920
11921         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11922
11923 2002-07-26  André Pönitz <poenitz@gmx.net>
11924
11925         * kb_sequence.C: remove unnedred usings
11926
11927 2002-07-26  Juergen Vigna  <jug@sad.it>
11928
11929         * lyxfind.C (LyXReplace): we have to check better if the returned
11930         text is not of theLockingInset()->getLockingInset().
11931
11932 2002-07-25  Juergen Vigna  <jug@sad.it>
11933
11934         * lyxfind.C (LyXReplace): don't replace if we don't get the
11935         right LyXText.
11936
11937         * undo_funcs.C (createUndo): remove debugging code.
11938
11939 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11940
11941         * buffer.C (parseSingleLyXformat2Token): Use default placement
11942         when reading old floats.
11943
11944         * FloatList.C (FloatList): Change the default placement of figure
11945         and tables to "tbp".
11946
11947 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * MenuBackend.C: using std::max
11950
11951 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * MenuBackend.C (expandToc):
11954         (expandToc2): code moved from xforms menu frontend. It is now
11955         generic and TOCs are transparent to menu frontends.
11956
11957 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11958
11959         * toc.C (getTocList): protect against buf=0
11960
11961         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11962         Menu as first parameter. Now, this calls itself recursively to
11963         expand a whole tree (this will be useful for TOC handling)
11964         (expandFloatInsert): remove 'wide' version of floats
11965
11966         * MenuBackend.h (submenuname): returns the name of the submenu.
11967         (submenu): returns the submenu itself, provided it has been
11968         created by MenuBackend::expand
11969
11970 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11973         insets which have noFontChange == true. (bug #172)
11974
11975 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * BufferView_pimpl.C: add connection objects and use them...
11978         (Pimpl): here.
11979
11980 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11981
11982         * MenuBackend.C (expandLastfiles):
11983         (expandDocuments):
11984         (expandFormats):
11985         (expandFloatListInsert):
11986         (expandFloatInsert):
11987         (expand): split expand in parts
11988
11989 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * lyx_gui.C: use lyx_gui::exit()
11992
11993 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * LyXAction.C: show the failing pseudo action
11996
11997 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11998
11999         * buffer.C (readFile): Run the lyxconvert script in order to read
12000         old files.
12001
12002 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * LyXAction.C:
12005         * commandtags.h:
12006         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12007
12008 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * LyXAction.C:
12011         * commandtags.h:
12012         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12013
12014 2002-07-22  Herbert Voss  <voss@lyx.org>
12015
12016         * lengthcommon.C:
12017         * lyxlength.[Ch]: add support for the vertical lengths
12018
12019 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * toc.[Ch]: std:: fixes
12022
12023 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * lyxrc.C: do not include lyx_main.h
12026
12027         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12028         for layouts
12029
12030         * lyxrc.C:
12031         * encoding.C:
12032         * bufferlist.C:
12033         * BufferView2.C: include "lyxlex.h"
12034
12035         * tabular.h:
12036         * bufferparams.h: do not #include "lyxlex.h"
12037
12038         * lyxtextclasslist.C (Add): remove method
12039         (classlist): renamed to classlist_
12040
12041         * paragraph_pimpl.C:
12042         * paragraph.C:
12043         * text2.C:
12044         * CutAndPaste.C:
12045         * bufferview_funcs.C:
12046         * bufferlist.C:
12047         * text.C:
12048         * LaTeXFeatures.C:
12049         * buffer.C:
12050         * toc.C (getTocList): use BufferParams::getLyXTextClass
12051
12052         * toc.C (getTocList): use InsetFloat::addToToc
12053
12054         * toc.[Ch]: new files, containing helper functions to handle table
12055         of contents
12056
12057         * lyxfunc.C (dispatch): no need to remove spaces around command
12058         given as a string
12059         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12060         first command of the sequence; it is not very clever, but I do not
12061         have a better idea, actually
12062
12063         * LyXAction.C (LookupFunc): make sure to remove space at the
12064         beginning and end of the command
12065
12066 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * MenuBackend.C (getMenubar): new method: return the menubar of
12069         this menu set
12070         (read): treat differently reading of menu and menubar (in
12071         particular, the menubar has no name now)
12072         (Menu::menubar): remove
12073
12074         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12075         saving is finished
12076
12077 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12078
12079         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12080         a bibitem inset in a RTL paragraph.
12081
12082 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * paragraph_pimpl.C: constify
12085
12086         * BufferView_pimpl.C:
12087         * LaTeX.C:
12088         * lyxfunc.C: fix dispatch in a nicer way
12089
12090 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * lyxfunc.C (dispatch):
12093         * BufferView_pimpl.C:
12094         * BufferView_pimpl.h:
12095         * BufferView.C:
12096         * BufferView.h: rename Dispatch() to dispatch()
12097
12098         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12099
12100         * lyxlayout.C (Read): honor DependsOn tag
12101
12102         * lyxlayout.[Ch] (depends_on): new method
12103
12104         * version.C.in: update lyx_docversion
12105
12106         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12107
12108         * paragraph.C (validate): remove from here...
12109         * paragraph_pimpl.C (validate): ... and move here
12110         (isTextAt): make it const
12111
12112         * buffer.C (getLists): ws cleanup
12113
12114 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12115
12116         * language.C (read): Use iso8859-1 encoding in latex_lang
12117         (this prevents LyX from crashing when using iso10646-1 encoding).
12118
12119 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * text2.C (toggleInset): if cursor is inside an inset, close the
12122         inset and leave cursor _after_ it
12123
12124 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * lyxfunc.C: move minibuffer completion handling out of here
12127
12128 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * BufferView_pimpl.C:
12131         * LaTeX.C: fix dispatch calls
12132
12133 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * text.C (drawChars): Fix Arabic text rendering.
12136
12137 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * LyXAction.C:
12140         * commandtags.h:
12141         * lyxfunc.C: remove message-push/pop
12142
12143         * lyxserver.C:
12144         * lyxfunc.h:
12145         * lyxfunc.C: rationalise some code by removing verboseDispatch
12146           in favour of a bool argument to dispatch()
12147
12148 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12149
12150         * lyx_main.C (init): make sure to read symlinks as absolute paths
12151
12152 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * lyxfunc.h:
12155         * lyxfunc.C: no need for commandshortcut to be a member
12156
12157 2002-07-15  André Pönitz <poenitz@gmx.net>
12158
12159         * converter.C: add support for $$s (scripts from lib/scripts dir)
12160         * lyx_main.C: white space
12161
12162 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * bufferlist.C:
12165         * lyxrc.h:
12166         * lyxrc.C: remove second exit confirmation
12167
12168 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * BufferView.h:
12171         * BufferView.C:
12172         * BufferView2.C:
12173         * BufferView_pimpl.h:
12174         * BufferView_pimpl.C:
12175         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12176
12177 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12178
12179         * MenuBackend.C (expand): add numeric shortcuts to document menu
12180
12181         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12182
12183 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * lyxfont.C (setLyXFamily):
12186         (setLyXSeries):
12187         (setLyXShape):
12188         (setLyXSize):
12189         (setLyXMisc):
12190         (lyxRead):
12191         * debug.C (value):
12192         * buffer.C (asciiParagraph): use ascii_lowercase
12193
12194 2002-07-15  Mike Fabian  <mfabian@suse.de>
12195
12196         * lyxlex_pimpl.C (search_kw):
12197         * lyxlex.C (getLongString):
12198         * converter.h (operator<):
12199         * converter.C (operator<):
12200         * buffer.C (parseSingleLyXformat2Token):
12201         (asciiParagraph):
12202         * ToolbarDefaults.C (read):
12203         * MenuBackend.C (checkShortcuts):
12204         (read):
12205         * LColor.C (getFromGUIName):
12206         (getFromLyXName): use the compare_ascii_no_case instead of
12207         compare_no_case, because in turkish, 'i' is not the lowercase
12208         version of 'I', and thus turkish locale breaks parsing of tags.
12209
12210 2002-07-16  Angus Leeming  <leeming@lyx.org>
12211
12212         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12213         now takes a Buffer const & argument.
12214
12215 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * BufferView.C (resize): check there's a buffer to resize
12218
12219 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * lyxfunc.C: remove dead code
12222
12223         * lyxserver.h:
12224         * lyxserver.C: use lyx_guii::set_read_callback
12225
12226 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12227
12228         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12229         an inset in a RTL paragraph.
12230
12231 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12232
12233         * lyxfunc.C: repaint after a font size update
12234
12235 2002-07-15  André Pönitz <poenitz@gmx.net>
12236
12237         * lyxlength.C: inBP should be able to return negative values
12238
12239 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * lyxfunc.C: use lyx_gui::update_fonts()
12242
12243 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lyxfunc.C: use lyx_gui::update_color()
12246
12247 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * bufferlist.C:
12250         * lyxfunc.h:
12251         * lyxfunc.C:
12252         * lyxrc.h:
12253         * lyxrc.C: remove file->new asks for name option, and let
12254           buffer-new take an argument
12255
12256 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * BufferView_pimpl.C: remove unneeded extra repaint()
12259
12260 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * LyXAction.C: allow command-sequence with NoBuffer
12263
12264         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12265
12266 2002-07-10  Angus Leeming  <leeming@lyx.org>
12267
12268         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12269
12270 2002-07-09  Angus Leeming  <leeming@lyx.org>
12271
12272         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12273
12274 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * lengthcommon.h: whitespace
12277
12278         * lyxfunc.C: update scrollbar after goto paragraph
12279
12280         * lyxtext.h: factor out page break drawing, and fix it so
12281           page break/added space paints as selected nicely
12282
12283 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * BufferView_pimpl.C: add FIXMEs, clean up a little
12286
12287 2002-07-09  André Pönitz <poenitz@gmx.net>
12288
12289         * lyxfont.[Ch]: support for wasy symbols
12290
12291 2002-07-08  André Pönitz <poenitz@gmx.net>
12292
12293         * BufferView_pimpl.C: apply John's patch for #93.
12294
12295 2002-07-05  Angus Leeming  <leeming@lyx.org>
12296
12297         * BufferView_pimpl.C (buffer): generate previews if desired.
12298
12299         * LColor.h: add "preview" to the color enum.
12300
12301         * LColor.C (LColor): add a corresponding entry to the items array.
12302
12303         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12304         with this buffer.
12305
12306 2002-07-05  Angus Leeming  <leeming@lyx.org>
12307
12308         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12309         The body of the code is now in the method that is passed an ostream &
12310         rather than a file name.
12311         Pass an additional only_preamble parameter, useful for the forthcoming
12312         preview stuff.
12313
12314 2002-07-03  André Pönitz <poenitz@gmx.net>
12315
12316         * lyxfunc.C: simplify getStatus() a bit for math stuff
12317
12318 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12321
12322 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * text.C (changeRegionCase): do not change case of all the
12325         document when region ends at paragraph end (bug #461)
12326
12327 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12328
12329         * paragraph.C (startTeXParParams):
12330         (endTeXParParams): add \protect when necessary
12331
12332 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * BufferView_pimpl.C (workAreaExpose): remove warning
12335
12336 2002-06-27  Angus Leeming  <leeming@lyx.org>
12337
12338         * Makefile.am: add lyxlayout_ptr_fwd.h.
12339
12340 2002-06-26  André Pönitz <poenitz@gmx.net>
12341
12342         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12343
12344 2002-06-25  Angus Leeming  <leeming@lyx.org>
12345
12346         * lyxfunc.C (dispatch): Comment out the call to
12347         grfx::GCache::changeDisplay. The method no longer exists now that the
12348         pixmap generation part of the graphics loader has been moved into
12349         InsetGraphics.
12350
12351 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12352
12353         * text2.C: layout as layout
12354
12355         * text.C: layout as layout
12356
12357         * tabular.C (OldFormatRead): layout as layout
12358
12359         * paragraph_pimpl.C (TeXDeeper): layout as layout
12360         (realizeFont): layout as layout
12361
12362         * paragraph.C (writeFile): layout as layout
12363         (validate): layout as layout
12364         (getFont): layout as layout
12365         (getLabelFont): layout as layout
12366         (getLayoutFont): layout as layout
12367         (breakParagraph): layout as layout
12368         (stripLeadingSpaces): layout as layout
12369         (getEndLabel): layout as layout
12370         (getMaxDepthAfter): layout as layout
12371         (applyLayout): layout as layout
12372         (TeXOnePar): layout as layout
12373         (simpleTeXOnePar): layout as layout
12374         (TeXEnvironment): layout as layout
12375         (layout): layout as layout
12376         (layout): layout as layout
12377
12378         * lyxtextclass.C (compare_name): new functor to work with
12379         shared_ptr, layout as layout
12380         (Read): layout as layout
12381         (hasLayout): layout as layout
12382         (operator): layout as layout
12383         (delete_layout): layout as layout
12384         (defaultLayout): layout as layout
12385
12386         * lyxlayout_ptr_fwd.h: new file
12387
12388         * lyxlayout.C (Read): layout as layout
12389
12390         * lyx_cb.C (MenuInsertLabel): layout as layout
12391
12392         * bufferlist.C (newFile): layout as layout
12393
12394         * buffer.C (readLyXformat2): layout as layout
12395         (parseSingleLyXformat2Token): layout as layout
12396         (insertStringAsLines): layout as layout
12397         (asciiParagraph): layout as layout
12398         (latexParagraphs): layout as layout
12399         (makeLinuxDocFile): layout as layout
12400         (simpleLinuxDocOnePar): layout as layout
12401         (makeDocBookFile): layout as layout
12402         (simpleDocBookOnePar): layout as layout
12403         (getLists): layout as layout
12404
12405         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12406
12407         * CutAndPaste.C (cutSelection): layout as layout
12408         (pasteSelection): layout as layout
12409         (SwitchLayoutsBetweenClasses): layout as layout
12410
12411         * BufferView_pimpl.C (Dispatch): layout as layout
12412         (smartQuote): layout as layout
12413
12414         * BufferView2.C (unlockInset): layout as layout
12415
12416 2002-06-24  André Pönitz <poenitz@gmx.net>
12417
12418         * lyxfunc.C: fix #487
12419
12420 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * lyxrc.h:
12423         * lyxrc.C:
12424         * lyxfunc.C: remove display_shortcuts, show_banner
12425
12426 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * Buffer_pimpl.C: oops, update on resize
12429
12430 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * buffer.C:
12433         * converter.C:
12434         * exporter.C:
12435         * lyxfunc.C:
12436         * BufferView.h:
12437         * BufferView.C: use repaint()
12438
12439         * BufferView_pimpl.h:
12440         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12441           as it's a clearer description. Remove superfluous
12442           redraws.
12443
12444 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * text.C: fix bug 488. Not ideal, but getting
12447           getWord() to work properly for the insets that
12448           matter is more difficult ...
12449
12450 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * BufferView_pimpl.C:
12453         * LyXAction.C:
12454         * commandtags.h:
12455         * lyxfunc.C: remove the six million index lyxfuncs to just
12456           one, and DTRT (bug 458)
12457
12458 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * BufferView.h:
12461         * BufferView.C:
12462         * BufferView_pimpl.h:
12463         * BufferView_pimpl.C: clean up resize() stuff,
12464           and unnecessary updateScreen()s
12465
12466 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * BufferView.h:
12469         * BufferView.C:
12470         * BufferView_pimpl.h:
12471         * BufferView_pimpl.C:
12472         * lyxfind.h:
12473         * lyxfind.C:
12474         * minibuffer.C: remove focus management of workarea,
12475           not needed. Use screen's greyOut()
12476
12477 2002-06-17  Herbert Voss  <voss@lyx.org>
12478
12479         * converter.C: (convert) do not post a message, when converting
12480         fails, let the calling function decide what to do in this case
12481
12482 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * lyxfunc.C: tidy up a little
12485
12486 2002-06-16    <alstrup@diku.dk>
12487
12488         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12489         Got rid of FORMS_H_LOCATION include. Now we are
12490         GUII.
12491
12492 2002-06-15  LyX Development team  <lyx@rilke>
12493
12494         * buffer.[Ch] (sgmlOpenTag):
12495         (sgmlCloseTag): Added support for avoiding pernicious mixed
12496         content. Return number of lines written.
12497
12498         (makeLinuxDocFile):
12499         (makeDocBookFile): Fixed calls to sgml*Tag.
12500         Simple white space clean.
12501
12502         (simpleDocBookOnePar): Simple white space clean.
12503
12504         * tabular.[Ch] (docBook): Renamed to docbook and got another
12505         argument to related with the pernicious mixed content.
12506
12507         (docbookRow): Fixed calls for docbook inset method.
12508
12509 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12510
12511         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12512         so it's X11 independent.
12513
12514         * kb*.[Ch]: ditto.
12515
12516         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12517
12518 2002-06-15  Lyx Development team  <lyx@electronia>
12519
12520         * intl.h: Renamed getTrans to getTransManager.
12521
12522 2002-06-14  Angus Leeming  <leeming@lyx.org>
12523
12524         * Makefile.am: nuke forgotten stl_string_fwd.h.
12525
12526 2002-06-12  Angus Leeming  <leeming@lyx.org>
12527
12528         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12529
12530 2002-06-13  Angus Leeming  <leeming@lyx.org>
12531
12532         * LaTeX.C:
12533         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12534
12535 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12536
12537         * kbmap.C (getiso): add support for cyrillic and greek
12538
12539 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * BufferView.h:
12542         * BufferView.C:
12543         * BufferView_pimpl.h:
12544         * BufferView_pimpl.C: move bogus scrolling logic
12545           to xforms
12546
12547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * lyxfunc.C:
12550         * BufferView_pimpl.C: view->resize() change
12551
12552 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * BufferView_pimpl.C: topCursorVisible
12555           prototype change
12556
12557 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * Makefile.am:
12560         * lyx_gui.h:
12561         * lyx_gui.C: move to frontends/
12562
12563         * main.C:
12564         * lyx_main.h:
12565         * lyx_main.C: changes from above
12566
12567 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * intl.C:
12570         * intl.h:
12571         * kbmap.C:
12572         * kbsequence.C:
12573         * lyx_cb.C:
12574         * lyx_main.C: minor tidy
12575
12576 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * BufferView_pimpl.h:
12579         * BufferView_pimpl.C:
12580         * BufferView.h:
12581         * BufferView.C: make painter() const,
12582           remove dead code
12583
12584         * BufferView2.C: use screen() accessor
12585
12586         * lyx_main.h:
12587         * lyx_main.C: some minor cleanup
12588
12589 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * BufferView_pimpl.h:
12592         * BufferView_pimpl.C: remove enter/leaveView,
12593           use workHeight()
12594
12595 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * BufferView.h:
12598         * BufferView.C:
12599         * BufferView2.C:
12600         * BufferView_pimpl.h:
12601         * BufferView_pimpl.C: only construct screen once,
12602           rename
12603
12604         * lyxrc.C: remove pointless comment
12605
12606 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * BufferView.h:
12609         * BufferView.C: remove active() and belowMouse()
12610
12611         * BufferView_pimpl.h:
12612         * BufferView_pimpl.C: use workarea() not workarea_,
12613           and make it use a scoped_ptr instead
12614
12615 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * lyx_gui.C: add debug message on BadWindow
12618
12619 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * sp_spell.C: fdopen is not part of the C++ standard.
12622
12623         * paragraph.C (InsetIterator): use >= instead of ==
12624
12625 2002-06-07  Angus Leeming  <leeming@lyx.org>
12626
12627         Fixes needed to compile with Compaq cxx 6.5.
12628         * BufferView_pimpl.C:
12629         * DepTable.C:
12630         * buffer.C:
12631         * converter.C:
12632         * encoding.C:
12633         * lyx_gui.C:
12634         * lyx_main.C:
12635         * lyxtextclasslist.C:
12636         * minibuffer.C:
12637         * sp_spell.C:
12638         * tabular_funcs.C:
12639         * vc-backend.C:
12640         all c-library variables have been moved into namespace std. Wrap
12641         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12642
12643         * lyxlength.C:
12644         * tabular-old.C:
12645         * tabular.C:
12646         Add a using std::abs declaration.
12647
12648         * kbmap.h (modifier_pair):
12649         * paragraph.h (InsetTable, InsetList):
12650         * lyxfont.h (FontBits):
12651         type definition made public.
12652
12653         * bufferlist.C (emergencyWriteAll): the compiler complains that
12654         there is more than one possible lyx::class_fun template to choose from.
12655         I re-named the void specialisation as lyx::void_class_fun.
12656
12657         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12658
12659         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12660         the compiler is is unable to find tostr in write_attribute.
12661
12662 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12663
12664         * buffer.C (sgmlError): hide #warning
12665
12666 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12667
12668         * xtl/*: get rid of xtl, which is not in use anyway
12669
12670         * LyXAction.C (init):
12671         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12672         were unimplemented xtl experimentation
12673
12674 2002-06-04  André Pönitz <poenitz@gmx.net>
12675
12676         * lyxfunc.C: disable array operation on simple formulae
12677
12678 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * converter.C: constify a bit
12681
12682 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12683
12684         * lyx_gui.C: check xforms version correctly
12685
12686 2002-04-30  Herbert Voss  <voss@lyx.org>
12687
12688         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12689         "keep" option
12690
12691 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12694           attempt to register it with a VCS)
12695
12696 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12697
12698         * lyx_main.C (init): honor variables LYX_DIR_13x and
12699         LYX_USERDIR_13x
12700
12701 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * buffer.h:
12704         * buffer.C:
12705         * lyx_main.C: fix a crash on bad command line,
12706           and give a useful exit status on error
12707
12708         * lyxfunc.C (doImport): allow -i lyx to work
12709
12710 2002-03-30  André Pönitz <poenitz@gmx.net>
12711
12712         * lyxfunc.C: mathed font changes
12713
12714 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * LaTeX.C:
12717         * importer.h:
12718         * importer.C:
12719         * lyx_sty.h:
12720         * lyx_sty.C:
12721         * lyxlex.C:
12722         * lyxrow.h:
12723         * lyxtext.h:
12724         * paragraph.h:
12725         * paragraph.C:
12726         * texrow.h:
12727         * texrow.C:
12728         * text.C:
12729         * trans_mgr.h: srcdocs, and some minor cleanups
12730
12731 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12734         call getFont all the time)
12735
12736 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * switch from SigC signals to boost::signals
12739
12740 2002-05-29  André Pönitz <poenitz@gmx.net>
12741
12742         * paragraph_pimpl.C (getChar): don't call size() too often...
12743
12744 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * paragraph_pimpl.C (insertChar): do not try to update tables when
12747         appending (pos == size())
12748
12749         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12750         in order to reduce drastically the number of comparisons needed to
12751         parse a large document
12752
12753 2002-05-29  André Pönitz <poenitz@gmx.net>
12754
12755         * text.C:
12756         * text2.C:
12757         * lyxtextclass.C:
12758         * sp_pspell.h:
12759         * textclasslist.[Ch]:
12760         * sp_ispell.h: whitespace change
12761
12762 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12765         lyxaction directly now.
12766
12767 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * trans.C:
12770         * lyxfont.C:
12771         * lyxvc.C: remove unused headers
12772
12773 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * Makefile.am:
12776         * buffer.h:
12777         * undostack.h:
12778         * undostack.C:
12779         * undo_funcs.h:
12780         * undo_funcs.C: some cleanups. Use shared_ptr
12781           and a template for the undo stacks.
12782
12783 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12784
12785         * BufferView_pimpl.h:
12786         * BufferView_pimpl.C:
12787         * kbmap.h:
12788         * kbmap.C:
12789         * kbsequence.h:
12790         * kbsequence.C:
12791         * lyxfunc.h:
12792         * lyxfunc.C:
12793         * text2.C: use key_state/mouse_state
12794
12795 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12798         and LSubstring
12799
12800         * chset.C: change include order
12801         (loadFile): use boost regex and get rid of LRegex and LSubstring
12802
12803         * Makefile.am (BOOST_LIBS): new variable
12804         (lyx_LDADD): use it
12805
12806         * LaTeX.C: change include order.
12807         (scanAuxFile): use boost regex and get rid of LRegex and
12808         LSubstring
12809         (deplog): ditto
12810
12811 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * ColorHandler.h:
12814         * ColorHandler.C:
12815         * FontInfo.h:
12816         * FontInfo.C: moved to frontends/xforms/
12817
12818         * FontLoader.h:
12819         * FontLoader.C: moved into frontends for GUIIzation
12820
12821         * Makefile.am:
12822         * lyx_gui.C:
12823         * lyxfont.C:
12824         * lyxfunc.C: changes from above
12825
12826 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * LColor.C: remove spurious X include
12829
12830         * BufferView_pimpl.C:
12831         * Makefile.am:
12832         * font.h:
12833         * font.C:
12834         * text.C:
12835         * text2.C: move font metrics to frontends/
12836
12837 2002-05-24  Juergen Vigna  <jug@sad.it>
12838
12839         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12840         setting the undo_cursor.
12841
12842         * ParagraphParameters.h: include local includes first.
12843
12844 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12845
12846         * BufferView_pimpl.C:
12847         * BufferView_pimpl.h:
12848         * Makefile.am:
12849         * WorkArea.h:
12850         * WorkArea.C:
12851         * screen.C: move WorkArea into frontends/
12852
12853         * lyxscreen.h:
12854         * screen.C:
12855         * text.C:
12856         * BufferView.C:
12857         * BufferView2.C: move LyXScreen into frontends/
12858
12859         * lyxlookup.h:
12860         * lyxlookup.C:
12861         * lyx_gui.C: move lyxlookup into frontends/xforms/
12862
12863 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * BufferView2.C:
12866         * BufferView_pimpl.C:
12867         * FontLoader.C:
12868         * LyXView.h:
12869         * LyXView.C:
12870         * Makefile.am:
12871         * WorkArea.C:
12872         * XFormsView.h:
12873         * XFormsView.C:
12874         * buffer.C:
12875         * bufferlist.C:
12876         * bufferview_funcs.C:
12877         * converter.C:
12878         * importer.C:
12879         * lyx_cb.C:
12880         * lyx_gui.C:
12881         * lyx_main.C:
12882         * lyx_find.C:
12883         * lyxfunc.C:
12884         * lyxvc.C:
12885         * minibuffer.C:
12886         * text.C:
12887         * text2.C:
12888         * trans.C:
12889         * vc-backend.C: move LyX/XFormsView into frontends/
12890
12891 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * Makefile.am:
12894         * PainterBase.C:
12895         * PainterBase.h:
12896         * Painter.C:
12897         * Painter.h:
12898         * WorkArea.C:
12899         * WorkArea.h:
12900         * screen.C:
12901         * tabular.C:
12902         * text.C:
12903         * text2.C: move Painter to frontends/
12904
12905 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * buffer.C: comment out some some code that depend upon lyx_format
12908         < 220
12909
12910         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12911         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12912
12913         * buffer.h (NO_COMPABILITY): turn off compability
12914
12915         * ColorHandler.C: include scoped_array.hpp
12916
12917         * font.C: Use more specific smart_ptr header.
12918         * Painter.C: ditto
12919         * gettext.C: ditto
12920         * ShareContainer.h: ditto
12921         * lyx_main.h: ditto
12922         * kbmap.h: ditto
12923         * FontInfo.h: ditto
12924         * BufferView_pimpl.h: ditto
12925         * ColorHandler.h: ditto
12926
12927         * kbmap.C (defkey): change call to shared_ptr::reset
12928
12929 2002-05-21  Juergen Vigna  <jug@sad.it>
12930
12931         * buffer.C (insertErtContents): fix to insert ert asis if it is
12932         non empty. Skip it completely if it contains only whitespaces.
12933
12934 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12935
12936         * BufferView_pimpl.C:
12937         * BufferView2.C: clear selection on paste (bug 393)
12938
12939 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12940
12941         * DepTable.C: include ctime
12942
12943 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12944
12945         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12946
12947 2002-05-14  Juergen Vigna  <jug@sad.it>
12948
12949         * text.C (breakParagraph): fixed function to honor the keepempty
12950         layout in the right maner and also to permit the right breaking
12951         algorithm on empty or non empyt keepempty paragraphs.
12952
12953         * paragraph.C (breakParagraph): we have to check also if the par
12954         is really empty (!size()) for isempty otherwise we do the wrong
12955         paragraph break.
12956
12957 2002-05-10  Juergen Vigna  <jug@sad.it>
12958
12959         * buffer.[Ch] : The following are only changes to the ert
12960         compatibility read reading old LaTeX layout and font stuff and
12961         convert it to ERTInsets.
12962
12963         * buffer.h: added isErtInset().
12964
12965         * buffer.C (struct ErtComp): add a fromlayout bool to check
12966         if we're inside a LaTeX layout.
12967         (isErtInset): new helper function.
12968         (insertErtContents): look for other ert insets before this one
12969         and insert the contents there, so that we don't have subsequent
12970         ERT insets with nothing between them. This way we create only one
12971         inset with multiple paragraphs. Also check if we don't insert only
12972         spaces ' ' as they are ignored anyway afterwards in the .tex file
12973         so if we have only spaces we will ignore this latex part in the
12974         new file.
12975         (parseSingleLyXformat2Token \\layout): better compatibility when
12976         reading layout-latex stuff.
12977         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12978         language tag.
12979         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12980         stuff after reading the inset only get the information back from
12981         the stack.
12982
12983 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12986
12987         * LaTeXFeatures.C (getBabelOptions): New method.
12988
12989 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * BufferView_pimpl.C (Dispatch): work around missing argument for
12992         'layout'
12993
12994 2002-05-08  Juergen Vigna  <jug@sad.it>
12995
12996         * text.C (leftMargin): handle paragraph leftindent.
12997
12998         * paragraph.C (writeFile): write the new \\leftindent tag.
12999         (validate): handle leftindent code.
13000         (TeXEnvironment): handle paragraphleftindent code again.
13001
13002         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13003
13004         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13005         for paragrap_extra indent code and new token \\leftindent.
13006         (latexParagraphs): handle the leftindent as environment.
13007
13008         * ParameterStruct.h: added leftindent support.
13009
13010         * ParagraphParameters.C (leftIndent): added support functions for
13011         the paragraph left indent.
13012
13013         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13014         more appropriate.
13015
13016 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13017
13018         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13019         inside insetERT.
13020
13021         * text.C (computeBidiTables): No bidi in insetERT.
13022
13023         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13024         in RTL documents.
13025
13026 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13027
13028         * version.C.in: pre 5
13029
13030 2002-05-02  José Matos  <jamatos@fep.up.pt>
13031         * buffer.C (makeDocBookFile): white space changes, add newline to
13032         command styles.
13033         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13034
13035         * tabular.C (docBook): fix typo.
13036
13037 2002-05-03  Juergen Vigna  <jug@sad.it>
13038
13039         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13040         change in LyXText as we can not be sure it was not freed.
13041         (drawOneRow): remove unused code.
13042
13043         * text.C (drawInset): redo the calculation of the need_break_row as
13044         it could have a row which was already freed.
13045         (draw): look at the return value of drawInset and return false if
13046         it also returned false.
13047         (paintRowText): look at the return value of draw and return false if
13048         it also returned false.
13049
13050         * lyxtext.h: added bool return type to drawInset() and draw() so that
13051         if we have a change in the row so that the rowbreak has to be redone
13052         we abort drawing as it will be called again.
13053
13054 2002-05-02  Juergen Vigna  <jug@sad.it>
13055
13056         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13057         a change in the maintext also if we're inside an inset.
13058         (Dispatch): set the cursor again after a break line and after the
13059         screen has been updated as it could be we're in a different row.
13060
13061         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13062         to set the cursor behind the pargraph with > size().
13063         (setCursor): check also for the same paragraph when checking where
13064         to put the cursor if we have a NFR inset.
13065
13066         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13067         parts of layout read further up as it still was in the wrong
13068         position.
13069
13070 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * screen.C (drawFromTo): change sine fullRebreak always return
13073         true.
13074
13075         * buffer.C (parseSingleLyXformat2Token): reindent some
13076
13077         * BufferView_pimpl.C (update): change since fullRebreak always
13078         return true.
13079         (Dispatch): git rid of the last hardcoded "Standard"s.
13080
13081 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13082
13083         * text2.[Ch] (fullRebreak): make it return void now that we always
13084         returned true.
13085
13086 2002-04-30  Juergen Vigna  <jug@sad.it>
13087
13088         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13089         ert compatibility check for "latex" layout.
13090
13091 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13092
13093         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13094         minipages: use col% instead of p%, and also use the current font.
13095         (makeLaTeXFile): Fix use babel condition.
13096         (parseSingleLyXformat2Token): Correct font when reading old floats.
13097
13098 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13099
13100         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13101         inserting list of floats.
13102
13103 2002-04-25  Herbert Voss  <voss@lyx.org>
13104
13105         * MenuBackend.C (expand): don't add the graphics extensions to the
13106         export menu
13107
13108 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13109
13110         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13111         non-existing layout, do not complain if it was the default layout
13112         of the original class (bug #342)
13113
13114 2002-04-24  Juergen Vigna  <jug@sad.it>
13115
13116         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13117         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13118
13119 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * buffer.C (getBibkeyList): If using \bibliography, return the
13122         option field with the reference itself. Enables us to provide natbib
13123         support when using \bibliography.
13124
13125 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13126
13127         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13128
13129         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13130         natbib is provided by the LaTeX class.
13131
13132 2002-04-23  Juergen Vigna  <jug@sad.it>
13133
13134         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13135         Wakeup functions.
13136
13137         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13138
13139 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13142
13143         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13144         ensuremath around textordmasculine, textordfeminine and
13145         textdegree.
13146
13147 2002-04-19  Juergen Vigna  <jug@sad.it>
13148
13149         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13150         reinitializing the buffer otherwise row-dimensions may be wrong.
13151         (update): reset also the selection cursors if they do exits otherwise
13152         their x/y positions may be wrong.
13153
13154         * text2.C (cursorDown): don't enter the inset if we came from a row
13155         above and are one row over the inset.
13156
13157         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13158         really leaving an inset.
13159
13160 2002-04-18  Juergen Vigna  <jug@sad.it>
13161
13162         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13163         of the selected paragraph does not have the selected layout also if
13164         the last one had!
13165
13166         * text2.C (setLayout): fixed bug which did not change last selected
13167         paragraph.
13168
13169         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13170         changed the read and substituted \\end_float with \\end_inset!
13171
13172         * BufferView_pimpl.C (cursorPrevious):
13173         (cursorNext): fixed to make it work with rows heigher than the work
13174         area without moving the cursor only the draw of the row.
13175         (workAreaMotionNotify): fix jumping over high rows.
13176
13177 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13180         Ressler.
13181
13182 2002-04-16  Juergen Vigna  <jug@sad.it>
13183
13184         * text2.C (setCursor): set also the irow().
13185         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13186         (cursorUp):
13187         (cursorDown): support for locking an inset if the x_fix value goes
13188         inside it. That way I can transverse insets too with cursor up/down.
13189
13190         * lyxrow.h: added irow helper function same as other (i) functions.
13191
13192         * BufferView_pimpl.C (cursorPrevious):
13193         (cursorNext): fixed for insets!
13194
13195 2002-04-15  Juergen Vigna  <jug@sad.it>
13196
13197         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13198         position otherwise it is wrong in some cases.
13199
13200         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13201         inside the inset before the call.
13202
13203 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13204
13205         * buffer.[Ch] (getBibkeyList): make it const.
13206
13207 2002-04-12  Juergen Vigna  <jug@sad.it>
13208
13209         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13210
13211         * text2.C (getCursorX): new helper function
13212         (setCursor): compute also ix_
13213         (setCursorFromCoordinates): set also ix.
13214
13215         * lyxcursor.h: added ix_ and helper functions.
13216
13217         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13218
13219         * buffer.C (insertStringAsLines): dont break paragraph if the this
13220         paragraph is inside an inset which does not permit it!
13221
13222         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13223         also with no chars on this paragraph.
13224         (paintRowText): only paint stuff if it's inside the workarea!
13225
13226         * paragraph.C (breakParagraph): honor keepempty flag and break the
13227         paragraph always below not above.
13228
13229         * BufferView2.C (unlockInset): update the paragraph layout on inset
13230         unlock as we changed paragraph in such a case.
13231
13232         * lyxfind.C (LyXFind): clear the former selection if not found!
13233
13234         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13235         again called in insertChar().
13236
13237         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13238         an inset which uses the whole row!
13239         (rightMargin): ditto.
13240         (insertChar): force a rebreak if we inserted an inset!
13241
13242 2002-03-28  Herbert Voss  <voss@lyx.org>
13243
13244         * lyxlength.[Ch]: add inBP() to get the right PS-point
13245         units (BigPoint). With inPixels we have rounding errors
13246
13247 2002-04-11  Juergen Vigna  <jug@sad.it>
13248
13249         * text2.C (setCursorFromCoordinates): set iy to the right value.
13250         (setCursor): add check if row->previous exists!
13251
13252         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13253         an old float_type as this was the case in the old code!
13254
13255         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13256
13257         * BufferView2.C (showLockedInsetCursor): use iy
13258         (fitLockedInsetCursor): ditto
13259
13260         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13261         locked insets as there we have the right value now.
13262
13263         * lyxcursor.C: added iy_ variable and iy functions to set to the
13264         baseline of cursor-y of the locked inset.
13265
13266         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13267         (setCursor): fixed for insets which need a full row.
13268
13269         * text.C (rowLastPrintable): don't ignore the last space when before
13270         an inset which needs a full row.
13271         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13272         as last character of a row when before a inset which needs a full row.
13273
13274 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * version.C.in: update date
13277
13278         * text2.C (fullRebreak): try to always return true and see what
13279         happens...
13280
13281 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13282
13283         * MenuBackend.C (expand): use Floating::listName
13284
13285         * FloatList.C (FloatList): add listName argument to the built-in
13286         floats
13287
13288         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13289         text associated with the float.
13290
13291 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13294
13295 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13296
13297         * ShareContainer.h: add a couple of missing typenames.
13298
13299 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * lyxrc.C (getDescription): use _() correctly rather than N_().
13302
13303 2002-03-28  Herbert Voss  <voss@lyx.org>
13304
13305         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13306         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13307
13308 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13309
13310         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13311         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13312
13313 2002-03-29  Juergen Vigna  <jug@sad.it>
13314
13315         * lyxfunc.C (dispatch): add a missing fitCursor call.
13316
13317         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13318         it was scrolled by a cursor move, so return the bool status.
13319
13320         * BufferView.C (fitCursor): return the bool flag also to the outside
13321         world as this is needed.
13322
13323         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13324
13325         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13326         call the edit() as it is not needed (and wrong) IMO.
13327         (workAreaButtonPress): set the screen_first variable before evt.
13328         unlock the inset as this may change screen_first and then we have
13329         a wrong y position for the click!
13330
13331 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * MenuBackend.C (expand): another translation that I missed
13334
13335 2002-03-28  Juergen Vigna  <jug@sad.it>
13336
13337         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13338
13339         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13340
13341 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13342
13343         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13344
13345         * MenuBackend.C (expand): fix export/view/update when there is no
13346         document open.
13347
13348 2002-03-27  Herbert Voss  <voss@lyx.org>
13349
13350         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13351         and text%
13352
13353 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13354
13355         * bufferview_funcs.C (currentState): only show paragraph number
13356         for is DEVEL_VERSION is set.
13357
13358         * lyxfunc.C (dispatch): put warning in INFO channel
13359
13360         * MenuBackend.C (expand): translate the name of floats
13361
13362         * FloatList.C (FloatList): mark the float names for translation
13363
13364         * converter.C (convert): use LibScriptSearch
13365
13366 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13367
13368         * MenuBackend.C (defaults): fix default menu (we might as well get
13369         rid of it...)
13370
13371 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13374         directory.
13375
13376 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13377
13378         * lyxvc.C: reorder includes.
13379
13380 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13383           properly
13384
13385 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * CutAndPaste.C: change layouts earlier on paste
13388           to avoid crashing when calling getFont()
13389
13390 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13391
13392         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13393         irritating #error.
13394
13395 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * WorkArea.C: remove 'Pending' debug message.
13398
13399         * most files: ws cleanup
13400
13401         * buffer.[Ch]: ws changes
13402
13403         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13404
13405 2002-03-21  Juergen Vigna  <jug@sad.it>
13406
13407         * tabular.C (SetMultiColumn): collapse also the contents of the
13408         cells and set the last border right. Added a Buffer const * param.
13409
13410 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13411
13412         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13413         linking or not.
13414
13415 2002-03-19  Juergen Vigna  <jug@sad.it>
13416
13417         * text2.C (clearSelection): reset also xsel_cache.
13418
13419         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13420         where it needs to be called (John tells us to do so too :)
13421         (selectionLost): reset sel_cache.
13422
13423         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13424
13425 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * text2.C (setCursorIntern): put debuging code in INSETS channel
13428
13429 2002-03-19  André Pönitz <poenitz@gmx.net>
13430
13431         * lyxfunc.C: tiny whitespace change
13432
13433 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13434
13435         * ToolbarDefaults.C (init):
13436         * LyXAction.C (init):
13437         * commandtags.h:
13438         * BufferView_pimpl.C (Dispatch):
13439         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13440
13441 2002-03-19  Allan Rae  <rae@lyx.org>
13442
13443         * exporter.C (Export): removeAutoInsets before doing anything else.
13444         While I've just introduced a dependency on BufferView this really is
13445         the best place to clean the buffer otherwise you need to cleanup in
13446         a dozen places before calling export or cleanup in a dozen functions
13447         that export calls.
13448
13449         * converter.C (runLaTeX):
13450         (scanLog): Better handling of removeAutoInsets and screen updates.
13451
13452         * lyxfunc.C (dispatch): small whitespace changes
13453
13454 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * WorkArea.C (C_WorkAreaEvent): return a value.
13457         (event_cb): return 1 if we handled the event, 0 otherwise.
13458
13459         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13460
13461 2002-03-18  Juergen Vigna  <jug@sad.it>
13462
13463         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13464         (GetAdditionalWidth): ditto.
13465         (RightLine): ditto.
13466         (LeftLine): ditto.
13467
13468         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13469         inset if we're there actually (probably not used right now but this
13470         is the direction to go for unifying code).
13471         (paste): disable code to clear the selection.
13472
13473         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13474         inside an InsetText and move the check further up as it is in the
13475         wrong place.
13476
13477         * text2.C (pasteSelection): set a selection over the pasted text.
13478
13479 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13480
13481         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13482         and libgraphics to build on Cygwin.
13483
13484 2002-03-15  Juergen Vigna  <jug@sad.it>
13485
13486         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13487         inserting an Inset into the paragraph. I know this is not the best
13488         fix but we already use current_view in CutAndPaste so we will remove
13489         all of it's using at the same time.
13490
13491         * buffer.C (sgmlError): deactivated function till it is rewritten in
13492         the right mode, now it can create problems.
13493
13494         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13495         before accessing it.
13496
13497 2002-03-14  Juergen Vigna  <jug@sad.it>
13498
13499         * undo_funcs.C (textHandleUndo): do the right thing when updating
13500         the inset after the undo/redo.
13501
13502         * text2.C (setCursor): just some testcode for #44 not ready yet.
13503
13504         * undo_funcs.C (textHandleUndo): set the next() and previous()
13505         pointers of the paragraph to 0 before deleting otherwise we have
13506         problems with the Paragraph::[destructor].
13507
13508         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13509         on a paragraph insertion.
13510
13511 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * buffer.C (asciiParagraph): use += operator for char append to
13514         string.
13515
13516         * paragraph.C (getFontSettings): compare >= not just >
13517         (highestFontInRange): ditto
13518         (setFont): ditto
13519
13520 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * paragraph.C: change several algorithm to be more appripriate for
13523         the problem domain. This is lookip in FontList and in the InsetList.
13524
13525 2002-03-13  André Pönitz <poenitz@gmx.net>
13526
13527         * commandtags.h:
13528         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13529
13530 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * commandtags.h:
13533         * LyXAction.C:
13534         * lyxfunc.C:
13535         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13536
13537 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * Painter.C (display): anon helper function, adjust code for this
13540         change.
13541         (pixmap): remove function.
13542
13543         * Painter.h: remove private display variable.
13544
13545         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13546
13547 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * WorkArea.[Ch]: remove figinset_canvas cruft.
13550
13551 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * lyxtextclass.C (operator): add one item cache optimization.
13554
13555         * bufferlist.h: doxy changes
13556
13557         * bufferlist.C: ws changes
13558
13559         * DepTable.[Ch] (ext_exist): place const in the right spot.
13560
13561         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13562         call resizeInsets.
13563         (workAreaExpose): call resizeInsets when the with BufferView changes.
13564         (Dispatch): adjust for protectedBlank removal
13565         (specialChar): call updateInset if the insert went ok.
13566
13567         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13568         specialChar instead.
13569
13570         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13571
13572         * BufferView.h: doxy change
13573
13574         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13575
13576         * lyxtextclass.C (operator[]): remove non-const version
13577         (defaultLayout): remove non-const version
13578
13579 2002-03-12  Juergen Vigna  <jug@sad.it>
13580
13581         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13582         did resize the LyXText too.
13583
13584         * buffer.C (readLyXformat2): set layout information on newly allocated
13585         paragraphs.
13586
13587         * tabular.C (OldFormatRead): set layout information on the paragraph.
13588
13589 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13590
13591         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13592
13593 2002-03-11  Juergen Vigna  <jug@sad.it>
13594
13595         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13596         plainly wrong.
13597         (resizeCurrentBuffer): force also the insets to resize themselfes.
13598         (moveCursorUpdate): fixed up for InsetText.
13599
13600 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13601
13602         * commandtags.h:
13603         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13604         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13605         value of Dialogs::tooltipsEnabled().
13606         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13607
13608 2002-03-08  Juergen Vigna  <jug@sad.it>
13609
13610         * BufferView_pimpl.C (updateInset): update inset inside inset also
13611         if it isn't inside theLockingInset().
13612
13613 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * buffer.C (asciiParagraph): redo some of the word and line length
13616         handling.
13617         (getLists): look for Caption instead of caption.
13618
13619 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13620
13621         * buffer.C (Buffer): initialize niceFile to true
13622         (makeLaTeXFile):
13623         (makeLinuxDocFile):
13624         (makeDocBookFile): make sure niceFile is true on exit
13625
13626 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13627
13628         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13629
13630 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13631
13632         * LyXSendto.C: remove.
13633         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13634         * lyx_gui.C: remove now-redundant comment.
13635         * ColorHandler.h: remove forward declaration of class WorkArea.
13636         * lyxfunc.C: remove #include "WorkArea.h".
13637
13638 2002-03-07  Juergen Vigna  <jug@sad.it>
13639
13640         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13641         got moved away with the DEPM and also set the inset_owner always
13642         right which before could have been omitted.
13643
13644 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13647         wanted layout is not found.
13648
13649 2002-03-07  Juergen Vigna  <jug@sad.it>
13650
13651         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13652
13653 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * paragraph.C (breakParagraph): use default layout not layout of
13656         prev paragraph.
13657         (Paragraph): clear ParagraphParameters.
13658
13659 2002-03-06  Juergen Vigna  <jug@sad.it>
13660
13661         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13662         otherwise it would not be a valid lenght. Fixed a special case in
13663         the minipage compatibility read where we end the document with a
13664         minipage.
13665
13666         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13667         was set as it could be 0 for InsetTexts first entry.
13668
13669 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * paragraph.C (writeFile): if layout is empty write out
13672         defaultLayoutName().
13673
13674         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13675         file without named layout we set layout to defaultLayoutName().
13676
13677 2002-03-06  Juergen Vigna  <jug@sad.it>
13678
13679         * CutAndPaste.C (copySelection): set layout for new paragraph.
13680
13681         * text.C (prepareToPrint): leave ERT inset left aligned
13682         (leftMargin): don't indent paragraphs inside ERT insets
13683
13684 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * paragraph.C (breakParagraph): dont call clear do the work manually
13687
13688         * paragraph.[Ch] (clear): remove function
13689
13690 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * paragraph.C (Paragraph): dont call clear, the work has already
13693         been done.
13694
13695         * lyxtextclass.C (operator): assert if n is empty
13696
13697         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13698         work manually instead.
13699
13700 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * BufferView_pimpl.C: protect selectionLost against text == 0
13703
13704 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * text.C (breakParagraph): fix a setting layout to '0' problem.
13707
13708 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13709
13710         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13711         final location of file, for the included files, and graphics.
13712
13713 2002-03-05  Juergen Vigna  <jug@sad.it>
13714
13715         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13716
13717 2002-03-04  Juergen Vigna  <jug@sad.it>
13718
13719         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13720
13721         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13722         last column of multicolumn cells.
13723         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13724
13725 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13726
13727         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13728         file if it doesn't go to a temporary file.
13729
13730         * buffer.C (sgmlOpenTag):
13731         (sgmlCloseTag):  remove extra newline insertion.
13732
13733 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13734
13735         * text.C (getRowNearY): comment out debug msg
13736
13737 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * text2.C: first -> first_y
13740
13741         * text.C (getRowNearY): add some attemts at a possible
13742         optimization, not working.
13743
13744         * tabular.[Ch]: add BufferParams to several function so that newly
13745         created paragraph can be initialized to he default layotu for the
13746         buffers textclass.
13747
13748         * tabular-old.C (ReadOld): add buf->params to call of Init
13749
13750         * screen.C: rename text->first to text->first_y
13751
13752         * paragraph.C (breakParagraph): always set layout in the broken
13753         paragraph
13754
13755         * lyxtextclass.C (Read): remove lowercase
13756         (hasLayout): ditto
13757         (operator): ditto
13758         (delete_layout): ditto
13759
13760         * lyxtext.h: rename first -> first_y
13761
13762         * lyxlayout.C (Read): remove lowercase
13763         (name): ditto
13764         (setName): ditto
13765         (obsoleted_by): ditto
13766
13767         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13768
13769         * buffer.C (insertErtContents): add params are to InsetERT
13770         (parseSingleLyXformat2Token): add code to check if a paragraphs
13771         layout really exist.
13772         (parseSingleLyXformat2Token): add params to several inset
13773         constructors
13774         (asciiParagraph): remove lowercase, do the layout comparisons with
13775         no_case
13776
13777         * BufferView_pimpl.C (cursorNext): first -> first_y
13778         (resizeCurrentBuffer): first -> first_y
13779         (updateScrollbar): first -> first_y
13780         (scrollCB): first -> first_y
13781         (workAreaMotionNotify): first -> first_y
13782         (workAreaButtonPress): first -> first_y
13783         (checkInsetHit): first -> first_y
13784         (cursorPrevious): first -> first_y
13785         (cursorNext): first -> first_y
13786         (Dispatch): add buffer_->params to severl inset contructors
13787
13788 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13789
13790         * lyxlayout.C (Read): remove some debug info that I forgot.
13791
13792         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13793         clean up the code slightly.
13794         (makeLinuxDocFile): ditto
13795         (makeDocBookFile): ditto
13796
13797         * text2.C: layout as string
13798
13799         * text.C: layout as string
13800
13801         * paragraph_pimpl.C: layout as string
13802
13803         * paragraph.[Ch]: layout as string
13804
13805         * lyxtextclasslist.[Ch]: layout as string
13806
13807         * lyxtextclass.[Ch]: layout as string
13808
13809         * lyxtext.h: layout as string
13810
13811         * lyxlayout.[Ch]: layout as string
13812
13813         * lyx_cb.C: layout as string
13814
13815         * bufferview_funcs.C: layout as string
13816
13817         * bufferparams.C: layout as string
13818
13819         * buffer.C: layout as string
13820
13821         * LyXView.[Ch]: layout as string
13822
13823         * LaTeXFeatures.[Ch]: layout as string
13824
13825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13826
13827         * BufferView_pimpl.C: change current_layout to string, remove
13828         lyx::layout_type.
13829         (Dispatch):
13830         (smartQuote):
13831         (insertInset):
13832         (workAreaButtonRelease): layout as string
13833
13834         * BufferView2.C (unlockInset): adjust
13835
13836         * vspace.C (asLatexCommand): use an explict temp variable.
13837
13838 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13839
13840         * Makefile.am: use FRONTEND_*
13841
13842 2002-03-01  Juergen Vigna  <jug@sad.it>
13843
13844         * tabular.C (SetWidthOfMulticolCell): changed to something better
13845         I hope but still work in progress.
13846         (recalculateMulticolumnsOfColumn): renamed function from
13847         recalculateMulticolCells as it is more appropriate now.
13848         (SetWidthOfCell): calculate multicols better.
13849
13850 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13851
13852         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13853
13854         * lyxfunc.C (processKeySym): print sequence also if it is
13855         `deleted' (complete)
13856
13857         * kbsequence.C (print): print sequence even if it is deleted
13858         (complete would be a better word, actually).
13859
13860         * lyxfunc.C (dispatch): print complete options after a prefix key
13861
13862         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13863
13864 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13865
13866         * text2.C (setCharFont): eliminate setCharFont code duplication.
13867
13868 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13869
13870         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13871         LFUN_TABULAR_FEATURE (bug #177)
13872
13873 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13874
13875         * Makefile.am: remove figure.h
13876
13877 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * Bufferview_pimpl.C:
13880         * CutAndPasteC:
13881         * LaTeX.C:
13882         * LyXSendto.C:
13883         * buffer.C:
13884         * bufferlist.C:
13885         * converter.C:
13886         * language.C:
13887         * lyxfunc.C:
13888         * lyxvc.C:
13889         * paragraph.C:
13890         * text.C:
13891         * text2.C: remove #include "lyx_gui_misc.h".
13892
13893         * LaTeX.C: added #include <cstdio>
13894
13895 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13896
13897         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13898         that the paragraph following this one can have.
13899
13900         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13901
13902         * vspace.C (asLatexCommand): fix bogus gcc warning
13903
13904         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13905
13906 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13907
13908         * text2.C (setLayout): get rid of redundant code
13909
13910 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13911
13912         * text2.C (incDepth): make sure depth cannot be increased beyond
13913         reasonable values.
13914
13915 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13916
13917         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13918         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13919
13920         * PainterBase.h (image):
13921         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13922         a LyXImage const *.
13923
13924 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * BufferView.C:
13927         * BufferView.h:
13928         * BufferView_pimpl.C:
13929         * BufferView_pimpl.h:
13930         * LaTeXFeatures.C:
13931         * LyXAction.C:
13932         * LyXView.C:
13933         * Makefile.am:
13934         * UpdateList.h:
13935         * UpdateList.C:
13936         * buffer.C:
13937         * figure.h:
13938         * figureForm.C:
13939         * figureForm.h:
13940         * figure_form.C:
13941         * figure_form.h:
13942         * lyx_cb.C:
13943         * lyx_gui.C:
13944         * lyx_gui_misc.C:
13945         * lyxfunc.C:
13946         * sp_base.h:
13947         * sp_ispell.h:
13948         * sp_pspell.h:
13949         * sp_spell.C: remove fig inset, and the crap house of
13950           cards that follows it
13951
13952 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * Makefile.am:
13955         * lyxserver.C:
13956         * os2_defines.h:
13957         * os2_errortable.h:
13958         * nt_defines.h: move .h into support/
13959
13960         * vms_defines.h: remove
13961
13962         * WorkArea.C: add space in debug output
13963
13964         * text2.C:
13965         * paragraph.C:
13966         * buffer.C: add WITH_WARNINGS
13967
13968         * vc-backend.h:
13969         * vc-backend.C:
13970         * bufferlist.C: s/retrive/retrieve/, add docs
13971
13972         * vspace.h:
13973         * vspace.C:
13974         * kbmap.h:
13975         * lyxlength.h:
13976         * lyxgluelength.h:
13977         * length_common.h:
13978         * chset.h:
13979         * chset.C: add docs
13980
13981         * lyxgui.C: add ID to X error handler
13982
13983         * lyxtestclass.c: fix typo
13984
13985 2002-02-26  Juergen Vigna  <jug@sad.it>
13986
13987         * tabular_funcs.C (write_attribute): changed so that some default
13988         attributes are not written at all.
13989         (getTokenValue): set default values before trying to read the
13990         value so we have the return value always set as default if we don't
13991         find the token we search for.
13992
13993         * tabular.C (Write): write bools as bools not as strings!
13994
13995 2002-02-22  Juergen Vigna  <jug@sad.it>
13996
13997         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13998         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13999
14000         * text.C (leftMargin): don't add an indent for paragraphs inside
14001         tabular cells (fix #208).
14002
14003 2002-02-21  José Matos  <jamatos@fep.up.pt>
14004
14005         * tabular.C (docBook): fixed support for long tables.
14006
14007 2002-02-20  Juergen Vigna  <jug@sad.it>
14008
14009         * text2.C (getFont): get the drawing font of the Inset if this
14010         paragraph is inside an inset (only important for InsetERT for now).
14011
14012         * buffer.C (insertErtContents): use new lanugage params in ERT
14013         constructor.
14014
14015         * CutAndPaste.C: commenting out seemingly uneeded code.
14016
14017 2002-02-19  Allan Rae  <rae@lyx.org>
14018
14019         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14020         Iterators might be simple to use but they also get invalidated.
14021         (removeAutoInsets): renamed saved cursor tracking variables and added
14022         some comments to clarify what everything does.
14023
14024 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14025
14026         * Chktex.C:
14027         * LaTeX.C:
14028         * LyXSendto.C:
14029         * converter.C:
14030         * lyx_cb.C:
14031         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14032         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14033
14034         * lyxfunc.C:
14035         * vc-backend.h: remove #include "support/syscall.h"
14036
14037         * LaTeX.C:
14038         * LyXSendto.C:
14039         * converter.C: rearrange #includes in Lars' approved fashion.
14040
14041         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14042         forward declare class Timeout in the header file.
14043
14044         * XFormsView.C: changes due to the above.
14045
14046         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14047         similar to LyXView.
14048
14049         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14050         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14051
14052 2002-02-18  José Matos  <jamatos@fep.up.pt>
14053
14054         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14055         insets contents.
14056
14057 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14058
14059         * a lot of small ws changes
14060         * add a lot of using std::XXX
14061         * use std construcs some places where approp.
14062         * use some exisint stuff from lyxfunctional where approp.
14063         * Make file changes to use partial linking (lets test this now...)
14064
14065 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14066
14067         * Chktex.C:
14068         * buffer.C:
14069         remove #include "support/syscontr.h" as it's redundant. Always has been.
14070
14071         * Chktex.C:
14072         * LaTeX.C:
14073         * LyXSendto.C:
14074         * converter.C:
14075         * lyx_cb.C:
14076         * vc-backend.C:
14077         change Systemcalls::System to Systemcalls::Wait and
14078         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14079         No change of functionality, just reflects the stripped down Systemcalls
14080         class.
14081
14082 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14083
14084         * debug.[Ch]: add a GRAPHICS type to the enum.
14085
14086 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14087
14088         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14089
14090         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14091         there is an inset.
14092
14093 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14094
14095         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14096         match the changes below.
14097
14098         * text2.C (toggleInset): if there is not editable inset at cursor
14099         position, try to see if cursor is _inside_ a collapsable inset
14100         and close it.
14101
14102 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14105         document menu has a nice checkbox
14106
14107 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14108
14109         * lyxlength.C (asLatexString): change PW to output as percent of
14110         \textwidth.
14111
14112         * lengthcommon.C: change '%' to 't%'
14113
14114         * lyxfunc.C (dispatch): a few comments from Martin
14115
14116 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * WorkArea.h:
14119         * WorkArea.C:
14120         * BufferView_pimpl.h:
14121         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14122           the X selection.
14123
14124 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14125
14126         * vspace.C (inPixels): fix compiler warning
14127
14128 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14129
14130         * lyxfunc.C (getStatus): fix status message for disabled commands.
14131
14132 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * BufferView_pimpl.C: fix crash on close buffer
14135         during selection (#227)
14136
14137 2002-01-27  Herbert Voss  <voss@lyx.org>
14138
14139         * buffer.C: link old Figure to new graphic inset
14140
14141 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14142
14143         * FontLoader.C (getFontinfo): Change the latex font names in order
14144         to match the names of type1inst.
14145
14146 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14149
14150         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14151         (extchanged): ditto
14152         (ext_exist): ditto
14153         (remove_files_with_extension): ditto
14154         (remove_file): ditto
14155         (write): ditto
14156
14157         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14158         document is smaller than the work area height. Do not initialize
14159         static variables to 0.
14160
14161 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14162
14163         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14164
14165         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14166         LFUN_LAYOUT_PARAGRAPHS.
14167
14168         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14169         tabular. It is possible to provide a possible cell, which will
14170         typically be the actcell from the corresponding insettabular
14171
14172         * lyxfunc.C (getStatus): small cleanup; disable
14173         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14174         true
14175
14176 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14177
14178         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14179
14180         * paragraph.C (startTeXParParams):
14181         (endTeXParParams): new methods. The LaTeX code to
14182         start/end paragraph formatting
14183         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14184         empty (fixes bug #200)
14185
14186         * vspace.C (inPixels): adapt to the change below
14187         (inPixels): [later] more cleanups (remove unused variables)
14188
14189         * lyxlength.C (inPixels): change to use a width and a height as
14190         parameter.
14191
14192 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14193
14194         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14195         Replaced with \paperwidth
14196
14197         * DepTable.C (insert): add std:: qualifier
14198
14199 2002-01-18  Allan Rae  <rae@lyx.org>
14200
14201         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14202         updated also?
14203
14204         * text.C (drawInset): Turned out I didn't know enough about how
14205         rebreaking worked.  This fixes most of the redraw problems.  I see
14206         an occasional cursor trail when a line is broken now and the cursor
14207         placement can seem out by a few pixels also after a rebreak.
14208
14209 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14210
14211         * buffer.C (parseSingleLyXformat2Token): update because minipage
14212         width is now a LyXLength
14213
14214         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14215
14216         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14217         math insets
14218
14219 2002-01-17  Juergen Vigna  <jug@sad.it>
14220
14221         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14222
14223         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14224         is set correctly and the inset is updated correctly.
14225
14226 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14227
14228         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14229         the beginning of the loop.
14230
14231 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * lyxrc.C: improve help for use_scalable_fonts
14234
14235 2002-01-17  Allan Rae  <rae@lyx.org>
14236
14237         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14238
14239 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14240
14241         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14242         make sure to set their inset_owner to the right value (bug #171)
14243
14244 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14245
14246         * DepTable.h
14247         * DepTable.C: Implement mtime checking to reduce time spent doing
14248         CRCs.
14249
14250 2002-01-16  Juergen Vigna  <jug@sad.it>
14251
14252         * tabular.C (GetAdditionalHeight): one of error fixed.
14253
14254         * lyxrc.C (output): small fix in writing use_pspell.
14255
14256 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14257
14258         * sp_base.h: #include LString.h
14259
14260 2002-01-16  Allan Rae  <rae@lyx.org>
14261
14262         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14263         Can someone check this please?
14264
14265         * text.C (drawInset): It was possible that p.row would be removed by
14266         breakAgainOneRow upsetting a few other settings.  There may be another
14267         small tweak possible by setting need_break_row = 0 when p.row has been
14268         removed but I don't know enough about the logic here.
14269
14270 2002-01-15  Allan Rae  <rae@lyx.org>
14271
14272         * text.C (insertChar): removed conditional truism.
14273
14274         * BufferView2.C (removeAutoInsets): More tweaks.
14275         cur_par_prev could be a stray pointer.  Check for trailing empty line
14276         in case last line was cur_par and only had an error inset on it.
14277
14278 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14279
14280         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14281         absolute
14282
14283         * vc-backend.C (most methods):
14284         * exporter.C (Export):
14285         * converter.C (convert):
14286         (runLaTeX):
14287         * LyXSendto.C (SendtoApplyCB):
14288         * lyxfunc.C (dispatch):
14289         (menuNew):
14290         (open):
14291         (doImport):
14292         * lyx_cb.C (AutoSave):
14293         (InsertAsciiFile):
14294         * BufferView_pimpl.C (MenuInsertLyXFile):
14295         * buffer.C (runChktex): use Buffer::filePath().
14296
14297         * buffer.h: rename filename to filename_; rename filepath to
14298         filepath_ and make it private
14299         (filePath): new method
14300
14301         * buffer.C (writeFile): use fileName()
14302         (getLatexName):
14303
14304         * lyx_main.C (init): fix starting  of LyX when the binary is a
14305         link from so,ewhere else.
14306
14307         * minibuffer.C: include <cctype> for isprint
14308
14309 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14312         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14313         name clash with InsetCollapsable's width function.
14314
14315 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * lastfiles.C: include <iterator>
14318
14319 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14320
14321         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14322         std::count.
14323
14324         * buffer.C (makeLaTeXFile): ditto.
14325         Also make loop operation more transparent.
14326
14327 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14328
14329         * ToolbarDefaults.C: remove trailing comma closing namespace.
14330
14331         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14332
14333         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14334         as in WorkArea.
14335
14336         * trans.C (Load): comment out unused variable, allowed.
14337
14338 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14339
14340         * minibuffer.[Ch] (append_char): new method to recieve input from the
14341         drop-down completion browser. If a key was pressed, then recieve this
14342         char and append it to the existing string.
14343         (peek_event): modify the positioning data passed to the completion
14344         browser so that it can be placed above the minibuffer rather than below.
14345 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * LyXAction.C (init): alloe error-next for readonly documents.
14348
14349         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14350         count.
14351
14352 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14353
14354         * bufferlist.C (readFile): create the buffer _after_ checking that
14355         the file exists.
14356
14357         * lyxfunc.C (verboseDispatch): fix handling of arguments
14358
14359         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14360
14361         * lyxrc.C: use string::erase() instead of initializing to "".
14362
14363
14364 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14365
14366         * BufferView_pimpl.h:
14367         * BufferView_pimpl.C:
14368         * WorkArea.h:
14369         * WorkArea.C:
14370         * text2.C: tell X when we have made a selection for copying
14371
14372 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14373
14374         * BufferView_pimpl.C (MenuInsertLyXFile):
14375         * lyxfunc.C (menuNew):
14376         (open):
14377         (doImport): add shortcuts to directory buttons
14378
14379         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14380         open a float)
14381
14382         * lyxfunc.C (setStatusMessage):
14383         (getStatusMessage): new methods
14384         (getStatus):use setStatusMessage instead of setErrorMessage
14385         (dispatch): when function is disabled, set error message here
14386         [instead of in getStatus previously]
14387
14388         * BufferView_pimpl.C (workAreaButtonRelease): update
14389         toolbar/menubar here too.
14390
14391 2002-01-13  Allan Rae  <rae@lyx.org>
14392
14393         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14394         Now seems indestructible.  Remaining task is to audit all other
14395         code affected by deleteEmptyParagraphMechanism.  One small quirk
14396         left is that an empty document with an error in the preamble can
14397         be made to report an error but no error box appears.  I don't know
14398         where it goes.
14399         (removeAutoInsets): Improved comments.
14400
14401 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * Thesaurus.h:
14404         * Thesaurus.C: update for Aiksaurus 0.14
14405
14406 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14407
14408         * text2.C (firstParagraph): removed member function, all uses
14409         replaces with ownerParagraph
14410         (redoParagraphs): here
14411         (updateInset): here
14412         (toggleAppendix): here
14413         * BufferView2.C (insertErrors): here
14414         (setCursorFromRow): here
14415
14416 2002-01-13  Allan Rae  <rae@lyx.org>
14417
14418         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14419         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14420         There is still a way to segfault this although you may have to do this
14421         multiple times: Have an InsetERT with an unknown command in it.
14422         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14423         <down-arrow>, <Enter> again, View->DVI, BANG!
14424
14425         * text2.C (setCursor):
14426         (deleteEmptyParagraphMechanism):
14427         * lyxtext.h (setCursor):
14428         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14429         Making use of the return value may help fix other bugs.
14430
14431 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14432
14433         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14434
14435         * LyXView.C (updateMenubar): call MenuBar::update here
14436         (updateToolbar): but not here
14437         (showState): do not update toolbar/menubar
14438
14439         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14440         should need to care about that.
14441
14442         * lyxfunc.C (verboseDispatch): simplify a bit
14443         (getStatus): have a version which takes a pseudoaction, and
14444         another which requires a (kb_action,string).
14445
14446         * LyXAction.C (retrieveActionArg): make it work also when action
14447         is not a pseudo-action.
14448         (getActionName): simplify a bit
14449         (helpText):
14450
14451 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14452
14453         * lyxfunc.C (verboseDispatch): new families of methods with
14454         several ways to specify a command and a bool to indicate whether
14455         the command name and shortcut should be displayed in minibuffer
14456         (eventually, we could extend that to a finer bitmask like
14457         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14458         (dispatch): the pristine dispatch command which just, well,
14459         dispatchs! Note it still sets its result to minibuffer; I'm not
14460         sure we want that.
14461
14462         * lyxfunc.h: remove setHintMessage
14463
14464         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14465
14466 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14467
14468         * BufferView_pimpl.C (specialChar): delete new inset if we have
14469         not been able to insert it.
14470
14471         * kbmap.C: revert to using int instead of kb_action, since all we
14472         are dealing with is pseudo-actions.
14473
14474         * LyXAction.C (searchActionArg): change to return int instead of
14475         kb_action, since the result is a pseudoaction.
14476
14477 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14478
14479         * buffer.C (insertErtContents): Fix (partially) the font bug.
14480
14481 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14482
14483         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14484         as the other one is broken on my machine!
14485
14486 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14487
14488         * commandtags.h:
14489         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14490
14491 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14492
14493         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14494         reflect their actual use. Provide compatibility code for older lyxrc
14495         files.
14496
14497         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14498         FL_NORMAL_STYLE.
14499         change names of popup font variables in line with the changes to lyxrc.C
14500
14501 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14502
14503         * buffer.C (asciiParagraph): avoid outputing a word twice after
14504         an inset.
14505
14506         * lyxrc.C (getDescription): document that document_path and
14507         template_path can be empty.
14508
14509 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14510
14511         * LaTeXFeatures.C (getMacros):
14512         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14513
14514         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14515
14516         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14517         getPackages.
14518         (getPackages): rename feature "floats" to "float". Use an array to
14519         iterate over 'simple' features (i.e. just a \usepackage). Add
14520         handling of "amsmath" (renamed from "amsstyle").
14521
14522 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14523
14524         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14525         features list.
14526
14527 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14528
14529         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14530         FuncStaus::FuncStatus & FuncStaus::some_method().
14531
14532 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14533
14534         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14535         of the func_satus stuff. Edited and massaged in various ways by
14536         JMarc.
14537
14538         * lyxfunc.C (getStatus): use FuncStatus
14539
14540 2002-01-08  Juergen Vigna  <jug@sad.it>
14541
14542         * text.C (nextBreakPoint): use function Inset::isChar().
14543
14544         * paragraph.C (TeXOnePar): use function
14545         Inset::forceDefaultParagraphs.
14546
14547         * buffer.C (latexParagraphs): use function
14548         Inset::forceDefaultParagraphs.
14549
14550 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14551
14552         * lyx_gui.C (init): set the style of the menu popups to
14553         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14554
14555 2002-01-07  Juergen Vigna  <jug@sad.it>
14556
14557         * text.C (setHeightOfRow): small fix
14558         (prepareToPrint): don't look at alignment if we don't have the place
14559         for doing it.
14560
14561 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * box.C: New file. Move the Box methods and functions out of box.h,
14564         following Lars' suggestion.
14565
14566 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14567
14568         * box.h: #include "support/LOstream.h", needed for inlined function.
14569
14570         * lyxtextclass.C:
14571         * lyxtextclasslist.C: added some using std declarations.
14572
14573 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * box.h: make signed dimensions to allow insets wider than
14576           the screen (bug #162)
14577
14578         * BufferView_pimpl.C: add some insetHit debug
14579
14580 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * vc-backend.C: add FIXME
14583
14584 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14585
14586         * lyxfunc.C (getStatus): enable code for showing math font status
14587         in toolbar/menu.
14588
14589 2002-01-07  Juergen Vigna  <jug@sad.it>
14590
14591         * text.C (nextBreakPoint): removed debug output not needed anymore.
14592
14593 2002-01-06  Juergen Vigna  <jug@sad.it>
14594
14595         * text.C (nextBreakPoint): fixed up this function we had this bug
14596         since ever but now hopefully we break row better.
14597         (insertChar): we have to check if an inset is the next char as it
14598         could now happen that a large inset is causing a break.
14599
14600 2002-01-05  Juergen Vigna  <jug@sad.it>
14601
14602         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14603         if it doesn't like to be drawed.
14604
14605 2002-01-04  Juergen Vigna  <jug@sad.it>
14606
14607         * BufferView2.C (lockInset): forgot to set a cursor.
14608
14609         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14610
14611 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14612
14613         * FormMathsPanel.C:
14614         * FormMathsPanel.h
14615         * MathsSymbols.C:
14616         * form_maths_panel.C:
14617         * form_maths_panel.h:
14618         * form_maths_panel.fd: implemented sub- and super- buttons in math
14619         panel.
14620
14621         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14622         (or ^ space) to be used as in TeX (req'd by Andr�.
14623
14624         * lyxfunc.C: Allow ^ and _ again to be used both as
14625         super/subscript (mathed) and as themselves (in text).
14626
14627 2002-01-03  Allan Rae  <rae@lyx.org>
14628
14629         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14630         "LyX" or the filename of the current buffer if it has one.  This is a
14631         modified form of John Levon's patch.
14632
14633         * XFormsView.C (setWindowTitle): also set icon title.
14634
14635         * LyXView.h (setWindowTitle): signature changed.
14636         * XFormsView.h (setWindowTitle): ditto.
14637
14638 2002-01-02  Juergen Vigna  <jug@sad.it>
14639
14640         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14641
14642 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * screen.C (topCursorVisible): introduce a temp var for
14645         text->cursor.row(), handle the case where this row is null. (kindo
14646         hachish)
14647
14648         * text2.C (setCursor): add a couple of asserts.
14649
14650         * paragraph.h (inset_iterator): add -> operator
14651
14652         * paragraph.[Ch] (autoDeleteInsets): remove member function
14653
14654         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14655         cursor pos correctly and handle inset deletion by itself.
14656         (insertErrors): move iterator declaration out of for expression
14657
14658         * lyxtextclass.C: add <algorithm>
14659
14660         * Makefile.am: added the new files to sources, removed layout.C
14661
14662         * layout.C: removed file
14663
14664         * layout.h: remove LYX_DUMMY_LAYOUT
14665
14666         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14667         layout.
14668
14669         * lyxlayout.[Ch]:
14670         * lyxtextclass.[Ch]:
14671         * lyxtextclasslist.[Ch]: new files
14672
14673         * include order changes to a lot of files, also changes because of
14674         the six new files.
14675
14676 2001-12-27  Juergen Vigna  <jug@sad.it>
14677
14678         * buffer.C (asciiParagraph): more fixes.
14679
14680         * tabular.C (ascii): make ascii export support export of only the
14681         data separated by a column-delimiter.
14682         (ascii): better support for ascii export.
14683
14684         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14685
14686 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * tabular_funcs.C: use a "using std::getline" instead of the
14689         previous fix from Angus (necessary for cxx + lyxstring)
14690
14691 2001-12-24  Juergen Vigna  <jug@sad.it>
14692
14693         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14694
14695         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14696         problems. First check a minipage also if we have some ert-contents
14697         (not only on par->size(), second set the right depth of the paragraph
14698         on the relink to the root-paragraph-list!
14699
14700         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14701         which then did not anymore update the main paragraphs on undo/redo!
14702
14703 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14704
14705         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14706         code. Support all font-changing funcs (even those which are not in
14707         menu currently). Support for reporting font settings in
14708         mathed (disabled until Andre provides a function on mathed's side).
14709
14710         * func_status.h (toggle): small helper function to set toggle
14711         state on a flag.
14712
14713 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14714
14715         * tabular_funcs.C: getline -> std::getline
14716
14717 2001-12-21  Juergen Vigna  <jug@sad.it>
14718
14719         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14720         accessed and could be 0 (I couldn't generate this but it seems
14721         Michael could!).
14722
14723 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14726         * tabular_funcs.h: here and include iosfwd
14727
14728 2001-12-20  Juergen Vigna  <jug@sad.it>
14729
14730         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14731         inside inset but undo_par was.
14732
14733 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14734
14735         * Thesaurus.C: always include <config.h> in sources.
14736
14737         * Painter.h:
14738         * lyxlookup.h:
14739         * box.h: do not include <config.h> in header files
14740
14741         * text.C (paintLastRow): remove unused variable
14742
14743         * text.C (transformChar):
14744         (insertChar):
14745         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14746
14747         * Painter.C (text):
14748         * font.C (width): rewrite to use uppercase() instead of
14749         islower/toupper.
14750
14751         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14752
14753 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14754
14755         * lyxfind.C: clean up of find failure position change
14756
14757 2001-12-20  Juergen Vigna  <jug@sad.it>
14758
14759         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14760
14761         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14762         (TeXRow): added to LaTeX a single tabular row.
14763         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14764         (Latex): simplified and finally good LT-h/f support.
14765         (various_functions): just small adaptions for LT-h/f support.
14766
14767         * tabular_funcs.[hC]: added and moved here all not classfunctions
14768         of LyXTabular.
14769
14770 2001-12-19  Juergen Vigna  <jug@sad.it>
14771
14772         * tabular.[Ch]: better support for longtabular options (not finished
14773         yet!)
14774
14775 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14776
14777         * text.C (paintLastRow): use the label font instead of the font of
14778         the last character to compute the size of *_BOX. This makes more
14779         sense and avoids a crash with empty paragraphs.
14780         Use Painter::rectangle to draw EMPTY_BOX.
14781
14782 2001-12-19  Juergen Vigna  <jug@sad.it>
14783
14784         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14785         the paragraphs if the replaced paragraph is not the first one!
14786         Tried to delete not used paragraphs but does not work yet so for
14787         now it's inside #ifdef's and by default off!
14788
14789 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14790
14791         * MenuBackend.C: include "lyx_main.h" instead of declaring
14792         lastfiles (actually was declared as LastFiles* instead of a
14793         scoped_ptr).
14794
14795 2001-12-17  Juergen Vigna  <jug@sad.it>
14796
14797         * tabular.C (AppendColumn): applied John's fix
14798
14799 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14800
14801         * BufferView.h:
14802         * BufferView.C:
14803         * BufferView_pimpl.h:
14804         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14805
14806         * Makefile.am:
14807         * box.h: new start of class for above
14808
14809         * lyxfunc.C: ignore space-only minibuffer dispatches.
14810           Show the command name when it doesn't exist
14811
14812         * minibuffer.C: don't add empty lines to the history
14813
14814         * minibuffer.C: add a space on dropdown completion
14815
14816 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * text.C: fix line above/below drawing in insets
14819
14820 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * lyxlength.C (LyXLength): Initialize private variables.
14823
14824 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14825
14826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14827         when inserting error insets.
14828
14829 2001-12-13  Juergen Vigna  <jug@sad.it>
14830
14831         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14832         actually sometimes the before-paragraph.
14833         (setUndo): don't clear the redostack if we're not actually undoing!
14834
14835 2001-12-06  Juergen Vigna  <jug@sad.it>
14836
14837         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14838         and fixed redoing of main paragraph, so we can use it now ;)
14839
14840         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14841
14842 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14843
14844         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14845         Juergen's request
14846
14847 2001-12-13  André Pönitz <poenitz@gmx.net>
14848
14849         * undostack.[Ch]:
14850         * undo_func.C: minor cleanup
14851
14852 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14853
14854         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14855         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14856         font in urw-fonts package which is marked as -urw-fontspecific and
14857         does not work (incidentally, changing the encoding in the
14858         fonts.dir of this package to -adobe-fontspecific fixes the
14859         problem).
14860
14861         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14862         is a crash when undoing first paragraph (Juergen, please take a
14863         look). THis does not mean the undo fix is wrong, just that it
14864         uncovers problems.
14865
14866         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14867         the (Paragraph*) version when needed instead of duplicating the
14868         code.
14869
14870         * text.C (workWidth): use Inset::parOwner to find out where the
14871         inset has been inserted. This is a huge performance gain for large
14872         documents with lots of insets. If Inset::parOwner is not set, fall
14873         back on the brute force method
14874
14875         * paragraph_pimpl.C (insertInset):
14876         * paragraph.C (Paragraph):
14877         (cutIntoMinibuffer): set parOwner of insets when
14878         inserting/removing them
14879
14880         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14881
14882 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14883
14884         * commandtags.h:
14885         * LyXAction.C:
14886         * lyx_main.C:
14887         * lyxfunc.C:
14888         * mathed/formulabase.C:
14889         * mathed/math_cursor.[Ch]:
14890         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14891
14892
14893 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14894
14895         * lyxlength.[Ch] (operator!=): new function
14896
14897 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14898
14899         * text.C (workWidth): use Inset::parOwner to find out where the
14900         inset has been inserted. This is a huge performance gain for large
14901         documents with lots of insets. If Inset::parOwner is not set, fall
14902         back on the brute force method
14903
14904         * paragraph_pimpl.C (insertInset):
14905         * paragraph.C (Paragraph):
14906         (cutIntoMinibuffer): set parOwner of insets when
14907         inserting/removing them
14908
14909         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14910
14911 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14912
14913         * tabular-old.C (getTokenValue):
14914         * tabular.C (getTokenValue):
14915         (write_attribute): new versions for LyXLength
14916         (everywhere): adjust the use of widths
14917
14918         * tabular.h: change the type of widths from string to LyXLength
14919
14920 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14921
14922         * paragraph.C: fixed missing line number count when exporting
14923         Environments to LaTeX file
14924
14925         * buffer.C: added informational message for checking line numbers.
14926
14927 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14928
14929         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14930         paragraph, do the 'double space' part, but not the 'empty
14931         paragraph' one.
14932
14933         * text.C (workWidth): small optimization
14934         (getLengthMarkerHeight): use minimal size for negative lengths.
14935
14936 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14937
14938         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14939
14940         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14941
14942 2001-12-11  André Pönitz <poenitz@gmx.net>
14943
14944         * FontLoader.C:
14945         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14946
14947 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14948
14949         * text2.C: keep selection on a setFont()
14950
14951 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * lyx_cb.C: another bv->text misuse, from insert label
14954
14955 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * kbsequence.h:
14958         * kbsequence.C: re-instate nmodifier mask
14959
14960 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14961
14962         * lyx_main.h: make lyxGUI private.
14963
14964 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * lyxfind.C: place the cursor correctly on failed search
14967
14968 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14969
14970         * text.C (getLengthMarkerHeight): for small heights, the arrows
14971         are not always on top/bottom of the text
14972         (drawLengthMarker): smaller arrows; take the left margin in
14973         account; draw also vfills.
14974         (paintFirstRow):
14975         (paintLastRow): remove special code for vfill and standard spaces,
14976         since everything is handled in drawLengthMarker now.
14977
14978 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * buffer.C (insertErtContents): try to handle font and language
14981         interaction a bit better.g
14982
14983         * ColorHandler.C (updateColor): change the hash to cover the whole
14984         LColor enum, ws cleanup
14985         (getGCLinepars): ditto
14986         (getGCLinepars): only lookup in the linecache once.
14987
14988 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14989
14990         * iterators.C (operator++): Make the iterator more robust
14991
14992         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14993         (John's patch)
14994         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14995
14996 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * lyxtext.h:
14999         * text.C: better added space drawing
15000
15001 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * LyXView.C:
15004         * BufferView2.C: fix layout combo update on inset unlock
15005
15006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15007
15008         * Makefile.am: don't compile unused files
15009
15010 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15011
15012         * lyxfunc.C:
15013         * commandtags.h:
15014         * LyXAction.C: remove old LFUN_LAYOUTNO
15015
15016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * paragraph_pimpl.h:
15019         * paragraph_pimpl.C: isTextAt() doesn't need font param
15020
15021 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * lyxlex.h:
15024         * lyxlex.C: little cleanup
15025
15026 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15027
15028         * BufferView_pimpl.C: fix insertAscii for insets
15029
15030 2001-12-05  Juergen Vigna  <jug@sad.it>
15031
15032         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15033         set the right font on the "multi" paragraph paste!
15034
15035 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15036
15037         * trans_decl.h:
15038         * trans_mgr.[Ch]:
15039         * trans.[Ch]:
15040         * lyxgluelength.C:
15041         * lyxlength.C: remove out-commented code.
15042
15043         * BufferView_pimpl:
15044         * CutAndPaste.C:
15045         * DepTable.C:
15046         * buffer.C:
15047         * chset.C:
15048         * lastfiles.C:
15049         * lyxlex.C:
15050         * lyxlex_pimpl.C:
15051         * lyxserver.C:
15052         * screen.C:
15053         * tabular-old.C:
15054         * tabular.C:
15055         * text.C:
15056         * trans_mgr.C:
15057         * vc-backend.C: change "while(" to "while ("
15058
15059         * lyxlength.[Ch]: add zero function to check if length is zero or
15060         not
15061         * lyxgluelength.C: use it
15062
15063 2001-12-05  Allan Rae  <rae@lyx.org>
15064
15065         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15066         Works for 2.95.3, from what I understand of Garst's reports this should
15067         work for other g++ versions.  We're screwed if the abs(int) definition
15068         changed between bugfix releases of gcc.
15069
15070 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * text.C: fix chapter label offset !
15073
15074 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * lyxtext.h:
15077         * text.C: fix hfill at end of line, clean up
15078
15079 2001-12-04  Juergen Vigna  <jug@sad.it>
15080
15081         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15082         that we force an update of the inset and it's owners if neccessary.
15083
15084 2001-12-03  Juergen Vigna  <jug@sad.it>
15085
15086         * text.C (rowLast): simplified code
15087
15088 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * lyxfunc.C: fix show options on timeout
15091
15092 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15093
15094         * screen.C (topCursorVisible): scroll half a page when the cursor
15095         reached top of bottom of screen
15096
15097 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * minibuffer.C: deactivate on loss of focus
15100
15101 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * vspace.[Ch] (operator!=): add operator.
15104
15105 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * BufferView_pimpl.C: refuse to open an inset when
15108         there's a selection.
15109
15110 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * BufferView_pimpl.C: allow to click on RHS of full row insets
15113
15114 2001-11-30  Juergen Vigna  <jug@sad.it>
15115
15116         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15117         insets for undo reasons.
15118
15119 2001-11-28  André Pönitz <poenitz@gmx.net>
15120
15121         * vspace.[Ch]: cosmetical changes
15122
15123 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * LyXAction.h:
15126         * LyXAction.C:
15127         * lyxfunc.h:
15128         * lyxfunc.C:
15129         * kbmap.h:
15130         * kbmap.C:
15131         * lyxrc.C:
15132         * kbsequence.h:
15133         * kbsequence.C: part re-write of old kb code
15134
15135         * Painter.C:
15136         * WorkArea.C: remove Lgb_bug_find_hack
15137
15138 2001-11-30  José Matos <jamatos@fep.up.pt>
15139
15140         * buffer.C (makeDocBookFile): add a comment to point a hack.
15141         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15142         Fixed a double write of labels.
15143
15144 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15145
15146         * LaTeX.C:
15147         * LaTeX.h Fixed bug in LaTeX class where it would not
15148         re-run latex if no depfiles were changed, but the .dvi was removed.
15149
15150 2001-11-28  André Pönitz <poenitz@gmx.net>
15151
15152         * all the files from the change on 2001/11/26:
15153         use lyx::layout_type instead of LyXTextClass::size_type
15154         use lyx::textclass_type instead of LyXTextClassList::size_type
15155
15156 2001-11-29  Juergen Vigna  <jug@sad.it>
15157
15158         * text.C: added support for paragraph::isFreeSpacing()
15159
15160         * buffer.C: same as above
15161
15162         * paragraph.h: inserted isFreeSpacing() function to enable
15163         FreeSpacing inside InsetERT.
15164
15165         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15166         of the paragraph's in the cut/copy buffer to 0!
15167
15168         * text2.C (removeRow): remove the assert as it can!
15169
15170         * lyxtext.h: added helper function firstRow returning firstrow and
15171         made firstrow private again.
15172
15173         * BufferView2.C (lockInset): don't relock if we're already locked!
15174
15175         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15176         the only paragraph.
15177         (removeRow): added Assert::(firstrow)
15178
15179         * debug.C: forgot to add INSETTEXT here.
15180
15181 2001-11-28  Juergen Vigna  <jug@sad.it>
15182
15183         * sp_spell.C (initialize): changed error text to more general
15184         spellchecker command use (not only ispell!)
15185
15186         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15187
15188         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15189
15190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * vspace.C: initialise lyxgluelength on failure
15193
15194 2001-11-28  Allan Rae  <rae@lyx.org>
15195
15196         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15197         declaration & definition that looks like a function declaration.
15198
15199 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * BufferView2.C (copy):
15202         (copyEnvironment): do not clear the selection when doing a copy.
15203
15204         * text.C (paintFirstRow): compilation fix
15205
15206 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15207
15208         * tabular.C (Latex): correct line count when writing latex.
15209
15210 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * paragraph_pimpl.h:
15213         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15214           bug a bit
15215
15216 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * text.C:
15219         * LColor.h:
15220         * LColor.C: change vfillline->added_space
15221
15222         * text.C: add markers and text for added space
15223
15224         * vspace.C: fix comment
15225
15226 2001-11-28  André Pönitz <poenitz@gmx.net>
15227
15228         * paragraph.C: whitespace changes
15229         * all the other files from the change on 2001/11/26:
15230         change *::pos_type into lyx::pos_type
15231
15232 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15233
15234         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15235         language of the document when inserting error insets.
15236
15237 2001-11-26  André Pönitz <poenitz@gmx.net>
15238
15239         * BufferView_pimpl.[Ch]:
15240         *       CutAndPaste.C:
15241         * buffer.[Ch]:
15242         * lyxcursor.[Ch]:
15243         * lyxfind.C:
15244         * lyxfunc.C:
15245         * lyxrow.[Ch]:
15246         * paragraph.[Ch]:
15247         * paragraph_pimpl.[Ch]:
15248         * sp_spell.C:
15249         * text.C:
15250         * text2.C: reduce header dependencies, introduce type for positions
15251
15252 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * <various>: change to use Alert.h
15255
15256 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15257
15258         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15259         when encountering an unknown token.
15260         (readLyXformat2): Show an error message if there were unknown tokens.
15261
15262 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15263
15264         * BufferView2.C:
15265         * BufferView_pimpl.C:
15266         * buffer.C:
15267         * paragraph.h:
15268         * text.C:
15269         * text2.C: use par->isInset()
15270
15271 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * paragraph_pimpl.h:
15274         * paragraph_pimpl.C: cleanup
15275
15276 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * text2.C (removeRow):
15279         * text.C (setHeightOfRow): remove useless (and costly) call to
15280         getRow.
15281
15282 2001-11-20  Allan Rae  <rae@lyx.org>
15283
15284         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15285         Now need Inset*::checkInsertChar() to return true for appropriate
15286         cases so that the characters in the minibuffer will actually be
15287         inserted.
15288
15289 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * text.C: change the order of the includes.
15292         (workWidth): initialize it at once.
15293         (workWidth): make maxw unsigned
15294         (setHeightOfRow): remove unused variable (inset)
15295         (selectSelectedWord): remove unused variable (inset)
15296         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15297
15298 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15301         server is not running.
15302         (openConnection):
15303         (closeConnection): add debug info when server is disabled.
15304
15305         * ColorHandler.C (getGCForeground): send debug message to GUI
15306         channel.
15307
15308         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15309
15310         * kbmap.C (bind): modify because return conventions of
15311         kb_sequence::parse have changed.
15312
15313         * kbsequence.C (parse): only ignore spaces and not any stupid
15314         control character. This avoids tests like s[i] <= ' ', which are
15315         guaranteed to fail with 8bit characters and signed chars.
15316         Change return code to string::npos when there have been no error
15317         (0 was a bad idea when error is at first character)
15318
15319 2001-11-14  José Matos  <jamatos@fep.up.pt>
15320
15321         * buffer.h:
15322         * buffer.C (simpleDocBookOnePar): removed unused argument.
15323
15324 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15327         insets which are part of a word. Paragraph::isLetter takes care of
15328         that now. Use Paragraph::isInset to identify insets.
15329         (selectSelectedWord): do not test for hyphenation break.
15330
15331         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15332         that protected spaces are considered as spaces.
15333
15334         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15335         Inset::isLetter.
15336
15337 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15338
15339         * lyxserver.h:
15340         * lyxserver.C: fix it. and small cleanup.
15341
15342 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15343
15344         * BufferView_pimpl.C: use inline helpers
15345
15346         * LaTeXFeatures.h:
15347         * LaTeXFeatures.C: fix typos
15348
15349         * Spacing.h:
15350         * Spacing.C: move spacing_string into class
15351
15352         * ToolbarDefaults.C: move stuff into namespace anon
15353
15354         * layout.h: update enum
15355
15356         * lyxfunc.C: use better debug
15357
15358         * minibuffer.h: fix typo
15359
15360         * debug.h:
15361         * debug.C:
15362         * WorkArea.C: add and use Debug::WORKAREA
15363
15364         * lyxtext.h:
15365         * text.C:
15366         * text2.C: code re-organisation, inline helpers
15367
15368 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15369
15370         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15371         std::vector.empty().
15372
15373 2001-11-09  Allan Rae  <rae@lyx.org>
15374
15375         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15376         '\n's after tables.  Tabular and ERT inset work now makes this no
15377         longer necessary.
15378
15379 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15380
15381         * minibuffer.h:
15382         * minibuffer.C: fix crash, improve drop-down completion
15383
15384 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15385
15386         * lyxserver.h:
15387         * lyxserver.C: invalidate fd's when doing endPipe()
15388
15389 2001-11-08  José Matos  <jamatos@fep.up.pt>
15390
15391         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15392         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15393
15394         * paragraph.h:
15395         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15396
15397 2001-11-07  José Matos  <jamatos@fep.up.pt>
15398
15399         * buffer.h:
15400         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15401         const qualifier.
15402
15403         * buffer.C (sgmlOpenTag):
15404         * buffer.C (sgmlCloseTag): removed debug info.
15405
15406         * buffer.h (sgmlOpenTag):
15407         * buffer.h (sgmlCloseTag): made public.
15408
15409 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * buffer.C (saveParamsAsDefaults):
15412         * lyx_cb.C (MenuLayoutSave): remove
15413
15414         * LyXAction.C (init):
15415         * commandtags.h:
15416         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15417
15418 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * buffer.C (setPaperStuff): removed from here...
15421
15422         * bufferparams.C (setPaperStuff): ... and moved there.
15423
15424 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15425
15426         * minibuffer.h:
15427         * minibuffer.C:
15428         * XFormsView.C: add support for drop-down completion
15429
15430 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15431
15432         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15433         commands.
15434
15435 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15436
15437         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15438         disabled.
15439
15440 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15441
15442         * lyx_main.C: change ref to known bugs
15443
15444 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15445
15446         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15447         to work around older babel problems.
15448
15449 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15450
15451         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15452
15453 2001-10-24  Juergen Vigna  <jug@sad.it>
15454
15455         * tabular-old.C (ReadOld): below variable changes reflected.
15456
15457         * tabular.[Ch]: added ltType struct for longtable header/footer
15458         defines and changed all instances where they are used. Added
15459         future support for double top/bottom rows.
15460
15461 2001-10-24  José Matos  <jamatos@fep.up.pt>
15462
15463         * buffer.h (docbookHandleCaption):
15464         * buffer.C (docbookHandleCaption): removed unused function.
15465         (makeDocBookFile): moved docbook supported version to v4.1.
15466
15467 2001-10-24  José Matos  <jamatos@fep.up.pt>
15468
15469         * tabular.h:
15470         * tabular.C (docbookRow): new function to export docbook code of a row.
15471         (DocBook): now honors the longtable flags.
15472
15473 2001-10-23  José Matos  <jamatos@fep.up.pt>
15474
15475         * LaTeXFeatures.h:
15476         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15477         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15478
15479         * buffer.C (makeLinuxDocFile):
15480         (makeDocBookFile): reworked the preamble, more clean, and with
15481         support for lyx defined entities. Changed the document declaration
15482         to be more XML friendly.
15483
15484         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15485         if we need to output XML that should be done with a filter.
15486
15487 2001-10-22  Juergen Vigna  <jug@sad.it>
15488
15489         * sp_pspell.h (class PSpell): add alive function needed in the
15490         controller to see if the spellchecker could be started.
15491
15492 2001-10-22  Juergen Vigna  <jug@sad.it>
15493
15494         * buffer.C (insertStringAsLines): modify the font for inserting
15495         chars in certain conditions by calling checkInsertChar(font).
15496
15497 2001-10-19  Juergen Vigna  <jug@sad.it>
15498
15499         * text.C (workWidth): use getRow instead of wrong algorithm.
15500         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15501
15502 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15503
15504         * lyxserver.h:
15505         * lyxserver.C:
15506         * lyx_main.h:
15507         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15508
15509 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * text.C (workWidth): do not search for the exact row when
15512         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15513         optimization for big documents.
15514
15515 2001-10-18  Juergen Vigna  <jug@sad.it>
15516
15517         * text.C (workWidth): new function with added Inset * parameter.
15518
15519 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15522
15523         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15524         change return type of getColumnNearX.
15525
15526
15527         * text.C (changeRegionCase): use uppercase/lowercase instead of
15528         toupper/tolower.
15529         (leftMargin):
15530         (rightMargin): simplify code by factoring out the uses of
15531         textclasslist.
15532         (labelFill):
15533         (numberOfHfills):
15534         (setHeightOfRow):
15535         (appendParagraph): use Paragraph::size_type
15536
15537 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * vspace.C (asLatexString): add a missing break
15540
15541 2001-10-15  Herbert Voss  <voss@perce.de>
15542
15543         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15544
15545 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15546
15547         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15548         is not available.
15549
15550 2001-10-10  André Pönitz <poenitz@gmx.net>
15551
15552         * lyxfunc.C: removed greek_kb_flag.
15553
15554 2001-10-10  Herbert Voss  <voss@perce.de>
15555
15556         * lyx_main.C: delete global string help_lyxdir.
15557
15558 2001-10-09  Herbert Voss  <voss@perce.de>
15559
15560         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15561
15562         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15563
15564         * lyx_main.C: added global string help_lyxdir.
15565
15566         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15567
15568 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15569
15570         * lyxrc.C (set_font_norm_type): support iso8859-4
15571
15572 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15573
15574         * LaTeX.C (deplog): add another regex for MikTeX
15575
15576 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15577
15578         * lyxrc.C (set_font_norm_type): support iso8859-3
15579
15580 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15583
15584         * LaTeXFeatures.C: remove special case of french and index
15585
15586         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15587         before \begin{document}). This solves several incompatibilities.
15588
15589 2001-10-03  Garst Reese  <reese@isn.net>
15590
15591         * lyx_cb.C: change CheckTex error msg.
15592
15593 2001-10-03  José Matos  <jamatos@fep.up.pt>
15594
15595         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15596
15597 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15598
15599         * .cvsignore: update
15600
15601         * lyx_main.C (commandLineVersionInfo): use new style version info.
15602
15603         * buffer.C (writeFile):
15604         (makeLaTeXFile):
15605         (makeLinuxDocFile):
15606         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15607
15608         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15609
15610         * version.h: update to use stuff in version.C
15611
15612         * version.C.in: new file. Contains version information determined
15613         at compile time. This is a merging of version.h and
15614         version_info.h.in.
15615
15616 2001-10-03  Juergen Vigna  <jug@sad.it>
15617
15618         * BufferView_pimpl.C (update): don't change "dirty" status in
15619         updateInset call.
15620
15621 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15622
15623         * WorkArea.C (c-tor): re-position version string slightly.
15624
15625 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15626
15627         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15628         revert to previous code.
15629
15630         WorkArea.[Ch]: (show, destroySplash): methods removed.
15631
15632         WorkArea.C: rework code so that it's an amalgam of the codes before and
15633         after the splash screen was moved to WorkArea.
15634
15635 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * lyxrc.C (read):
15638         * vspace.C (inPixels):
15639         (lyx_advance):
15640         * kbmap.C (bind):
15641         * buffer.C (insertStringAsLines):
15642         (asciiParagraph): fix types to be large enough
15643
15644         * lyxlex_pimpl.h: change member status from short to int
15645
15646         * layout.h: fix type of endlabeltype
15647
15648         * kbmap.C (bind):
15649         * kbsequence.C (parse): change return type to string::size_type
15650
15651         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15652         variable
15653
15654         * Bullet.C (bulletSize):
15655         (bulletEntry): do not use short ints as parameters
15656
15657         * BufferView2.C (insertLyXFile): change a char to an int.
15658
15659         * WorkArea.C (WorkArea): remove unneeded floats in computation
15660
15661 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15662
15663         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15664
15665         * paragraph.C (asString): Do not ignore newline/hfill chars when
15666         copying to the clipboard.
15667
15668 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15669
15670         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15671         after a multi-line inset.
15672
15673 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15674
15675         * paragraph.C (validate): Set NeedLyXFootnoteCode
15676
15677 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15678
15679         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15680         and decrease-error to decrease.
15681
15682 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15683
15684         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15685         it more readable (should be equivalent)
15686
15687 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15688
15689         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15690
15691 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15694         of a cursor (row, etc.) after a character has been deleted
15695         (deleteEmptyParagraphMechanism): call the method above on _all_
15696         cursors held by the LyXText when a double space has been
15697         detected/deleted.
15698
15699 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15700
15701         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15702         pixmap.
15703         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15704
15705         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15706         background. Use greyOut() and the new show() methods to toggle between
15707         the foreground and background. Add code to remove the splash after
15708         its initial showing.
15709
15710         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15711         (create_forms): no longer call Dialogs::showSplash.
15712
15713 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * .cvsignore: add version_info.h
15716
15717 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * version_info.h.in: new file
15720
15721         * Makefile.am: add version_info.h.in
15722
15723         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15724         version_info.h instead of VERSION_INFO
15725
15726 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15727
15728         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15729         The ERT inset now returns string().
15730
15731 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15732
15733         * lyxtext.h, text.C (selectNextWord): renamed as
15734         selectNextWordToSpellcheck.
15735
15736         * text.C (selectNextWordToSpellcheck): Modified to not select
15737         words inside an ERT inset.
15738
15739 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * lyx_cb.C (MenuLayoutSave): change a bit the question
15742
15743         * sp_base.h: include <sys/types.h>
15744
15745 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15748
15749 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15750
15751         * several files: fix typos in user-visible strings
15752
15753 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * text2.C (pasteSelection): do not set the selection, since it
15756         will be cleared later. Actually, the intent was to fix the way the
15757         selection was set, but I figured rmoving the code was just as good.
15758
15759 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15760
15761         * FontLoader.C (available): Check if font is available without
15762         loading the font.
15763
15764 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15765
15766         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15767
15768 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15769
15770         * lyxrc.[Ch]: added display_graphics variable and associated code.
15771
15772 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * bufferparams.C (hasClassDefaults): new method. Returns true if
15775         the buffer parameters correspond to known class defaults
15776
15777 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15778
15779         * XFormsView.C (show): set minimum size to the main window.
15780
15781 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15782
15783         * text2.C (copySelection):
15784         (cutSelection):
15785         * lyxfind.C (LyXReplace):
15786         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15787         LyXText::selectionAsString.
15788
15789         * paragraph.C (asString): add "label" argument to the second form
15790
15791         * text2.C (selectionAsString): add "label" argument and pass it to
15792         Paragraph::asString.
15793
15794 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * lyx_main.C (commandLineHelp): remove version information
15797
15798 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15799
15800         * lyx_main.C: add -version commandline option
15801
15802 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15803
15804         * paragraph.h: make the optional constructor arg required instead.
15805         some modifications to other files because of this.
15806
15807         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15808
15809         * lyxserver.C (C_LyXComm_callback): make it static
15810
15811         * lyx_main.C (error_handler): make it static
15812
15813         * lyx_gui.C (LyX_XErrHandler): make it static
15814
15815         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15816
15817         * WorkArea.C: make the extern "C" methods static.
15818
15819         * Makefile.am (lyx_LDADD): simplify
15820
15821 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15824         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15825
15826         * LyXAction.C (init):
15827         * lyxfunc.C (dispatch): associated code removal.
15828
15829 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * lyxfont.h (isSymbolFont): shut off warning
15832
15833         * text.C (setHeightOfRow):
15834         (getVisibleRow): fix crash with empty paragraphs which have a
15835         bottom line
15836
15837 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15838
15839         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15840         code.
15841
15842 2001-09-04  José Matos  <jamatos@fep.up.pt>
15843         * buffer.C
15844         * buffer.h
15845         * tabular.C (docbook): rename docBook method to docbook.
15846
15847 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15848
15849         * Makefile.am: add dependencies to main.o.
15850
15851 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15852
15853         * FontLoader.C (available): Return false if !lyxrc.use_gui
15854
15855 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15856
15857         * FontInfo.C (query):
15858         * converter.C (view):
15859         * importer.C (Import):
15860         * exporter.C (Export): Can not -> cannot.
15861
15862 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15863
15864         * BufferView_pimpl.C: allow to create index inset even if
15865           string is empty
15866
15867 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15868
15869         * buffer.C (getLists): replace boost::tie code with an explicit pair
15870         as boost::tie can break some compilers.
15871
15872         * iterators.h: Added a std:: declaration to the return type of
15873         ParIterator::size.
15874
15875 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15876
15877         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15878           case.
15879
15880 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15881
15882         * iterators.[Ch]: New files. Provide paragraph iterators.
15883
15884         * buffer.C (changeLanguage): Use paragraph iterators.
15885         (isMultiLingual): ditto
15886
15887         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15888
15889 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15890
15891         * FontLoader.C: Support for cmr font.
15892
15893 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15894
15895         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15896         (available): New method.
15897
15898         * FontInfo.C (getFontname): Use scalable fonts even when
15899         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15900         found.
15901
15902 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15903
15904         * converter.C (Formats::view): reverted! Incorrect fix.
15905
15906 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15907
15908         * converter.C (Formats::view): only output the -paper option
15909         if the dvi viewer is xdvi, thereby fixing bug #233429.
15910
15911 2001-08-23  Herbert Voss  <voss@perce>
15912
15913         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15914
15915 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * Spacing.h (Spacing): Set space to Default on in the default
15918         constructor.
15919
15920 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15921
15922         * vc-backend.h (RCS::versionString): add RCS to version
15923         (CVS::versionString): add CVS to version
15924
15925         * vc-backend.C (scanMaster): do not add CVS to version.
15926         (scanMaster): do not add RCS to version
15927
15928         * lyxvc.C (versionString): new method
15929
15930         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15931
15932 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15933
15934         * Spacing.C (set): initialize fval
15935
15936 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15937
15938         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15939         " or \.
15940
15941 2001-08-16  Juergen Vigna  <jug@sad.it>
15942
15943         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15944
15945 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15946
15947         * BufferView_pimpl.C:
15948         * figureForm.C:
15949         * lyxtext.h:
15950         * text2.C: setParagraph takes linespacing now
15951
15952 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15953
15954         * LyxAction.C: add internal LFUN_CITATION_INSERT
15955
15956         * LyXView.C: actually apply fix
15957
15958         * bufferlist.C: fix open non-existent file
15959
15960         * lyxfind.C: fix indentation
15961
15962         * lyxfunc.C: remove unneeded assert, fix typo
15963
15964 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15965
15966         * MenuBackend.C: use "Floatname List"
15967
15968 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15969
15970         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15971         when converting LaTeX layout to insetERT.
15972         Generate a non-collapsed float when reading old float
15973
15974 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15975
15976         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15977         ERT insets.
15978
15979 2001-08-13  Juergen Vigna  <jug@sad.it>
15980
15981         * text.C (fill): return 0 instead of 20 as this seems to be the more
15982         correct value.
15983
15984 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15985
15986         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15987         lyxrc.font_norm.
15988
15989 2001-08-13  Juergen Vigna  <jug@sad.it>
15990
15991         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15992         casesensitive off.
15993         (SearchBackward): comment out the unlocking of the inset_owner this
15994         should not be needed!
15995
15996 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15997
15998         * Many files: Remove inherit_language, and add latex_language
15999
16000         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16001         collapsible insets.
16002
16003 2001-08-10  Juergen Vigna  <jug@sad.it>
16004
16005         * text.C (prepareToPrint): fixed hfill-width in draw!
16006
16007         * BufferView2.C (selectLastWord): save the selection cursor as this
16008         now is cleared in the function LyXText::clearSelection!
16009
16010 2001-08-08  Juergen Vigna  <jug@sad.it>
16011
16012         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16013         BACKSPACE type functions.
16014
16015         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16016         is only cutted from the document but not put in the cut-buffer, where
16017         still the old stuff should be.
16018
16019         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16020
16021         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16022
16023         * tabular.C (SetWidthOfCell): fixed special case where the width
16024         was not updated!
16025         (LeftLine): handle '|' in align_special.
16026         (RightLine): ditto
16027         (LeftAlreadyDrawed): ditto
16028         (SetWidthOfCell): ditto
16029
16030 2001-08-07  Juergen Vigna  <jug@sad.it>
16031
16032         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16033
16034 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16035
16036         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16037         * lyxlex.[hC]: ditto
16038
16039 2001-08-06  Juergen Vigna  <jug@sad.it>
16040
16041         * text.C (getVisibleRow): fix up row clearing a bit.
16042
16043 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * minibuffer.C: make sure the X server sees the changes in the input.
16046
16047 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16048
16049         * paragraph.C (getFont): split into...
16050         (getLabelFont): this
16051         (getLayoutFont): and this
16052         * paragraph_pimpl.C (realizeFont): calling this
16053
16054         * text2.C (getFont): split into...
16055         (getLayoutFont): this
16056         (getLabelFont): and this
16057         (realizeFont): all three calling this
16058
16059         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16060         files where used.
16061
16062 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16063
16064         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16065
16066 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16067
16068         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16069         layouts from the Quote inset insertion.
16070
16071 2001-08-03  Juergen Vigna  <jug@sad.it>
16072
16073         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16074
16075         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16076         only if status not is already CHANGED_IN_DRAW (second level).
16077
16078         * text.C (draw): don't set the need_break_row when inside an
16079         InsetText LyXText.
16080
16081 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16082
16083         * buffer.C (parseSingleLyXformat2Token): handle more latex
16084         conversion cases.
16085
16086         * bufferview_funcs.[hC]: change function names to
16087         begin with small char, adjust other files.
16088
16089 2001-08-02  André Pönitz <poenitz@gmx.net>
16090
16091         * lyxfunc.C:
16092         BufferView_pimpl.C: remove broken special code for math-greek
16093
16094 2001-08-02  Juergen Vigna  <jug@sad.it>
16095
16096         * BufferView_pimpl.C (update): redone this function so that we
16097         update the text again if there was a CHANGE_IN_DRAW.
16098
16099         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16100         (drawFromTo): added a new internal bool which is used by draw() and
16101         redraw() function.
16102         (general): some cursor drawing problems fixed.
16103
16104 2001-08-01  Juergen Vigna  <jug@sad.it>
16105
16106         * lyxfind.C (LyXFind): fixed
16107         (SearchForward): ditto
16108         (SearchBackward): ditto
16109
16110         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16111         spurius drawing of the cursor in the main area.
16112
16113         * text2.C (status): small fix which could lead to a segfault!
16114         (clearSelection): remove unneeded BufferView param.
16115
16116 2001-08-01  André Pönitz <poenitz@gmx.net>
16117
16118         * lyxfunc.C: small change due to changed mathed interface
16119
16120 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16123
16124 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16125
16126         * lyxfunc.c: fail gracefully if file doesn't exist
16127
16128         * LyXSendto.C:
16129         * buffer.C:
16130         * lyxfunc.C:
16131         * BufferView_pimpl.C: IsDirWriteable() proto changed
16132
16133         * LyXView.C: fix updateWindowTitle() to store the last title
16134
16135 2001-07-31  Juergen Vigna  <jug@sad.it>
16136
16137         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16138         the font (wrong since using of Paragraph::highestFontInRange).
16139
16140         * paragraph.C (highestFontInRange): added a default_size parameter.
16141
16142         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16143         (setHeightOfRow): reformat
16144
16145 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16146
16147         * converter.[hC] + affected files: move to (inital-char)lowercase
16148         function names.
16149
16150         * ParagraphParameters.C (ParagraphParameters): remove commented code
16151
16152         * PainterBase.[Ch]: remove commented code
16153
16154         * LaTeXFeatures.h: add "bool floats" for float.sty
16155
16156         * LaTeXFeatures.C (LaTeXFeatures): init floats
16157         (require): handle float
16158         (getPackages): do it with floats
16159
16160 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16161
16162         * BufferView_pimpl.C (Dispatch): improve handling of
16163         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16164
16165         * commandtags.h: #include lyxfont.h here temporarily to avoid
16166         keybinding bug.
16167
16168         * bufferlist.h: include LString.h here.
16169
16170 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16171
16172         * text2.C (getStringToIndex): new method.
16173
16174 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16175
16176         * *: Reduced header file dependencies all over.
16177
16178 2001-07-30  Baruch Even  <baruch@lyx.org>
16179
16180         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16181
16182 2001-07-29  Baruch Even  <baruch@lyx.org>
16183
16184         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16185
16186 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16187
16188         * ParameterStruct.h (endif): add a default constructor to make
16189         sure that all variables is initialized.
16190
16191         * ParagraphParameters.C (ParagraphParameters): adjust
16192
16193 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16194
16195         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16196         index; also, check that there is something to index, and that it
16197         does not span over several paragraphs.
16198         (doubleClick): use WHOLE_WORD_STRICT for double click.
16199
16200         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16201
16202         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16203         scheme.
16204
16205 2001-07-26  Baruch Even  <baruch@lyx.org>
16206
16207         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16208         an InsetFig figure, backwards compatible reading of old figure code.
16209
16210 2001-07-27  Juergen Vigna  <jug@sad.it>
16211
16212         * text2.C: font.realize function adaption.
16213
16214         * text.C (draw): add a warnings lyxerr text if needed.
16215
16216         * layout.C: font.realize function adaption.
16217
16218         * language.C: add inherit_language and implement it's handlings
16219
16220         * bufferview_funcs.C (StyleReset): remove language parameter from
16221         font creation (should be language_inherit now).
16222
16223         * bufferparams.C (writeFile): handle ignore_language.
16224
16225         * paragraph.C (getFontSettings): the language has to be resolved
16226         otherwise we have problems in LyXFont!
16227
16228         * lyxfont.C (lyxWriteChanges): added document_language parameter
16229         (update): removed unneeded language parameter
16230
16231         * paragraph.C (validate): fixed wrong output of color-package when
16232         using interface colors for certain fonts in certain environments,
16233         which should not seen as that on the final output.
16234
16235 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16236
16237         * BufferView_pimpl.C:
16238         * Thesaurus.h:
16239         * Thesaurus.C:
16240         * Makefile.am:
16241         * commandtags.h:
16242         * LyXAction.C: add thesaurus support
16243
16244         * lyxfind.h:
16245         * lyxfind.C: add "once" parameter, for thesaurus, to not
16246           move to the next match
16247
16248 2001-07-26  Juergen Vigna  <jug@sad.it>
16249
16250         * lyxfont.C (realize): honor ignore_language too!
16251         (resolved): ditto.
16252
16253         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16254
16255         * text.C (draw): one place more for ignore_language to not draw
16256         itself!
16257
16258 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16259
16260         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16261
16262 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16263
16264         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16265         the minipage conversion problem.
16266
16267 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16268
16269         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16270         insert an inset.
16271
16272 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * BufferView.h: don't forward declare WorkArea
16275
16276         * BufferView.C: don't include WorkArea.h
16277
16278 2001-07-25  André Pönitz <poenitz@gmx.net>
16279
16280         * commandtags.h:
16281         * LyXAction.C:
16282         * lyxfunc.C:  new LFUN 'math-space'
16283
16284         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16285
16286 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16287
16288         * text2.C (toggleInset): call open/close
16289
16290 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * lyxfunc.C (dispatch): add debug for the disabled case
16293
16294         * font.C (buttonText): make similar to rectText
16295
16296         * buffer.C (readInset): comment out parsing of insetlist and
16297         insttheorem
16298
16299         * PainterBase.C (rectText): small correction
16300
16301         * BufferView_pimpl.C: comment out insettheorem and insetlist
16302         * LyXAction.C: ditto
16303         * commandtags.h: ditto
16304
16305 2001-07-24  Juergen Vigna  <jug@sad.it>
16306
16307         * text.C (draw): honor the ignore_language.
16308
16309         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16310
16311 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16314         char inset.
16315
16316 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16317
16318         * lyxtext.h: remove unused (and unimplemented) methods
16319
16320 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16321
16322         * text.C (getVisibleRow): honor background color
16323
16324         * PainterBase.h:
16325         * Painter.h: remove default color argument for fillRectangle
16326
16327         * text.C (backgroundColor): new method
16328
16329 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * text.C (getVisibleRow): adjust
16332
16333         * font.[Ch] (rectText): new method, metrics
16334         (buttonText): new method, metrics
16335
16336         * PainterBase.[hC]: make rectText and buttonText always draw and take
16337         fewer paramteres.
16338
16339 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16340
16341         * ToolbarDefaults.C (read):
16342         * MenuBackend.C (read): allow escaping in all strings
16343
16344         * BufferView_pimpl.C (insertAndEditInset): new method.
16345         (Dispatch): use insertAndEditInset whenever appropriate.
16346
16347         * BufferView_pimpl.C (insertNote): removed
16348
16349         * BufferView_pimpl.C (smartQuote): new method, moved from
16350         BufferView; if an insetquote cannot be inserted, insert a '"'
16351         character instead.
16352
16353         * BufferView2.C: remove insertCorrectQuote();
16354
16355         * lyxfunc.C (getStatus): Add support for all remaingin
16356         inset-insert lfuns.
16357
16358         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16359
16360         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16361         command (necessary to pass " as parameter of self-insert.
16362
16363         * text.C (selectWordWhenUnderCursor):
16364         (selectWord): add word_location parameter
16365         (selectWordWhenUnderCursor): same + remove special code for word
16366         boundary.
16367         (selectNextWord): use kind() to guess type of insetspecialchar,
16368         not latex().
16369
16370         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16371         (insertErtContents): create ert insets as collapsed.
16372         (readInset): better compatibility code for Info inset.
16373
16374 2001-07-20  Juergen Vigna  <jug@sad.it>
16375
16376         * lyxfunc.C (dispatch): use always LyXFind now!
16377
16378         * text2.C (init): add a reinit flag so that the LyXText can be
16379         reinited instead of deleted and reallocated (used in InsetText).
16380
16381         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16382
16383         * text.C: ditto
16384
16385         * text2.C: ditto
16386
16387 2001-07-18  Juergen Vigna  <jug@sad.it>
16388
16389         * text.C (selectNextWord): handle insets inside inset by calling
16390         always the bv->text functions so that we can go up the_locking_inset!
16391
16392         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16393         in strange locations when inside an inset!
16394
16395         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16396         handling to include insets.
16397
16398         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16399
16400 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16401
16402         * LyXAction.C (init):
16403         * commandtags.h:
16404         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16405         LIGATURE_BREAK, since the name is so stupid.
16406
16407 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16408
16409         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16410         InsetInfos.
16411
16412         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16413
16414         * sp_form.[Ch]: remove.
16415
16416         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16417
16418         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16419         InsetInfo.
16420
16421         * src/buffer.C (readInset): ditto.
16422
16423 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16424
16425         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16426         menuSeparator(), endOfSentenceDot(), ldots() and
16427         hyphenationPoint(), which are therefore removed.
16428         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16429
16430         * LyXAction.C (init):
16431         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16432
16433         * paragraph.C (getWord): removed.
16434
16435         * BufferView_pimpl.C (Dispatch): use last word or selection for
16436         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16437
16438         * lyx_main.C (queryUserLyXDir): do not ask before creating
16439         user_dir, except if it has been named explicitely.
16440
16441 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16442
16443         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16444         a document of zero size.
16445
16446 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16447
16448         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16449         approriately in the c-tor and in require().
16450         (getPackages): output the appropriate LaTeX for natbib support.
16451
16452         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16453         variables "use_natbib" and "use_numerical_citations" when reading the
16454         LyX file.
16455         (readInset): read the various natbib cite commands.
16456         (validate): white-space change.
16457
16458         * bufferparams.[Ch]: new variables "bool use_natbib" and
16459         "bool use_numerical_citations".
16460         (writeFile): output them in the LyX file.
16461
16462 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16463
16464         * lyxfunc.C (getStatus): add support for all the inset insertion
16465         commands.
16466
16467         * text2.C (insertInset):
16468         * paragraph.C (insetAllowed):
16469         * BufferView_pimpl.C (insertInset): update to take in account the
16470         renaming of insertInsetAllowed
16471
16472         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16473
16474         * text2.C (getInset): new method. returns inset at cursor position.
16475
16476         * BufferView_pimpl.C (Dispatch): changes because of this.
16477
16478         * LyXAction.C (init): rename open-stuff to inset-toggle.
16479
16480         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16481
16482         * text2.C (toggleInset): renamed from openStuff; use
16483         Inset::open().
16484
16485 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16486
16487         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16488
16489         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16490
16491 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16492
16493         * buffer.C (readLyXformat2): Add filename to the error dialog
16494
16495 2001-07-18  Juergen Vigna  <jug@sad.it>
16496
16497         * tabular.C (GetCellNumber): put an assert here instead of the check!
16498
16499 2001-07-17  Juergen Vigna  <jug@sad.it>
16500
16501         * BufferView_pimpl.C (toggleSelection): adapted too.
16502
16503         * text.C (selectNextWord): adapted for use with insets.
16504         (selectSelectedWord): ditto
16505
16506 2001-07-17  Juergen Vigna  <jug@sad.it>
16507
16508         * sp_spell.C (PSpell): fix initialitation order.
16509
16510 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16511
16512         * paragraph.C: spacing
16513
16514 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16515
16516         * sp_spell.C: repair language selection for pspell
16517
16518 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * lyxfunc.h: change more methods to begin with lower char.
16521
16522 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16523
16524         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16525         for unknown layouts.
16526
16527 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16528
16529         * buffer.C (readLyXformat2): Generate an error dialog if there are
16530         unknown layouts.
16531
16532 2001-07-16  Juergen Vigna  <jug@sad.it>
16533
16534         * sp_spell.C: always compile ISpell part.
16535
16536         * lyxrc.C: added use_pspell entry and it's handling.
16537
16538 2001-07-13  Juergen Vigna  <jug@sad.it>
16539
16540         * sp_spell.C: removed double includes.
16541
16542 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16543
16544         Consistent use of Lsstream.h:
16545         * Lsstream.h: added using std::stringstream for consistencies sake.
16546
16547         * buffer.C: removed using std::stringstream
16548
16549         * lyxfont.C (stateText):
16550         * paragraph.C (asString):
16551         * text.C (selectNextWord, selectSelectedWord):
16552         * text2.C (setCounter):
16553         * vspace.C (asString, asLatexString):
16554         std::ostringstream -> ostringstream.
16555
16556 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16557
16558         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16559         * commandtags.h: add LFUN_HELP_ABOUTLYX
16560         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16561
16562 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16563
16564         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16565         cursorToggle()
16566         * lyx_gui_misc.C: remove spellchecker
16567         * lyxfunc.C: showSpellchecker
16568         * sp_base.h: added
16569         * sp_ispell.h: added
16570         * sp_pspell.h: added
16571         * sp_spell.C: added
16572         * sp_form.[Ch]: removed
16573         * spellchecker.[Ch]: removed
16574
16575 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16576
16577         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16578         is set.
16579         (simpleTeXSpecialChars): Simply print the input character without
16580         any special translation if pass_thru is set.
16581
16582         * layout.h: Added bool pass_thru to layout class for being able to
16583         implement pass through of a paragraph for Literate Programming.
16584
16585         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16586         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16587         * layout.C (Read): add "passthru" to list of layout tags and add
16588         code to set the pass_thru boolean when it is read.
16589
16590 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16591
16592         * trans_decl.h: remove allowed from KmodInfo
16593
16594         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16595         remove allowed code
16596         (Load): adjust
16597
16598         * paragraph_pimpl.C (erase): use boost::prior
16599
16600         * Painter.C (text): use data() instead of c_str() when length is
16601         also provided.
16602         * WorkArea.C (putClipboard): ditto
16603         * font.h (width): ditto
16604
16605         * BufferView2.C: use it-> instead of (*it). for iterators
16606         * texrow.C: ditto
16607         * paragraph_pimpl.C: ditto
16608         * paragraph.C: ditto
16609         * minibuffer.C: ditto
16610         * language.C: ditto
16611         * kbmap.C: ditto
16612         * encoding.C: ditto
16613         * counters.C: ditto
16614         * converter.C: ditto
16615         * chset.C: ditto
16616         * Variables.C: ditto
16617         * TextCache.C: ditto
16618         * MenuBackend.C: ditto
16619         * LyXAction.C: ditto
16620         * LColor.C: ditto
16621         * FloatList.C: ditto
16622         * DepTable.C: ditto
16623         * ColorHandler.C (LyXColorHandler): ditto
16624
16625 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16626
16627         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16628
16629         * text2.C (openStuff): reintroduce this method (which had been
16630         nuked in NEW_INSETS frenzy).
16631
16632         * lyxfunc.C (Dispatch): when an action has not been handled, use
16633         its name in the error message, not its number.
16634
16635         * paragraph.C (inInset): change method name to begin with lowercase.
16636
16637         * undo_funcs.C:
16638         * text2.C: updates because of this.
16639
16640 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16641
16642         * ToolbarDefaults.C (add): add spaces in error message
16643
16644 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16647         (readLyXformat2): rename return_par to first_par, use lyxlex's
16648         pushToken and remove the manual push handling.
16649         (parseSingleLyXformat2Token): add another ert comp. variable:
16650         in_tabular, rename return_par to first_par. handle newlines better
16651
16652 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16653
16654         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16655
16656 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16657
16658         * text2.C (getParFromID): removed
16659
16660         * buffer.C (getParFromID): new method moved form lyxtext.
16661         * BufferView2.C (insertErrors): adjust
16662         (setCursorFromRow): adjust
16663         * BufferView_pimpl.C (restorePosition): adjust
16664         * lyxfunc.C (Dispatch): adjust
16665         * undo_funcs.C (textUndo): adjust
16666         (textRedo): adjust
16667         (textHandleUndo): adjust
16668         (textHandleUndo): adjust
16669
16670 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16671
16672         * buffer.C: up' the LYX_FORMAT
16673
16674         * lyxfont.h: turn NO_LATEX on as default
16675
16676         * buffer.C (insertErtContents): new methods of tex style compability.
16677         (parseSingleLyXformat2Token): use it several places.
16678         * tabular.C (OldFormatRead): and here
16679
16680 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16681
16682         * text2.C: remove some commented code.
16683         reindent file.
16684
16685         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16686         * trans.C: changes because of the above.
16687
16688 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16689
16690         * text2.C (setCounter): Fix counters bug with bibliography layout.
16691
16692 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16693
16694         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16695         own member functions
16696         (simpleTeXSpecialChars): ditto
16697
16698 2001-07-06  Juergen Vigna  <jug@sad.it>
16699
16700         * a lot of files: changed the access to LyXText::status and the
16701         call of undo-functions.
16702
16703         * undo.[Ch]: added a inset_id to the undo informations.
16704
16705         * undo_funcs.[Ch]: added and moved here all undo functions.
16706
16707         * lyxtext.h: give the status enum a weight, made status_ a private
16708         variable and made accessor functions for it, removed the whole bunch
16709         of undo-functions as they are now in their own file, make some
16710         functions publically available. Added function ownerParagraph with
16711         int parameter.
16712
16713         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16714         made InInset() a const function, added getParFromID() function.
16715
16716         * buffer.[Ch]: added const version for inset_iterator functions,
16717         added getInsetFromID() function.
16718
16719         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16720         changed undo functions for new version.
16721
16722 2001-07-05  Juergen Vigna  <jug@sad.it>
16723
16724         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16725         unknow mechanism does not call the proper constructor but only this
16726         one also if I request the other!?
16727
16728 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16729
16730         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16731
16732         * text2.C (LyXText): use initialization lists.
16733
16734         * lyxtext.h (Selection): initialize set_ and mark_
16735         (init): remove method
16736
16737 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16738
16739         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16740
16741 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16742
16743         * screen.[Ch]: change method names to begin with lowercase
16744
16745         * BufferView_pimpl.C (updateScrollbar): simplify further and
16746         hopefully make it a bit faster.
16747
16748 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16749
16750         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16751         calling directly xforms functions.
16752
16753         * Painter.C (Painter):
16754         * lyx_cb.C (MenuWrite):
16755         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16756         fl_display.
16757
16758         * lyx_gui.C: remove bogus guiruntime extern declaration.
16759
16760 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16763         in NEW_INSETS
16764         (redoDrawingOfParagraph): ditto
16765         (redoParagraphs): ditto
16766         (cutSelection): don't create a object for CutAndPaste use the
16767         static method directly
16768         (pasteSelection): ditto
16769
16770         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16771         LyXview (+ rename)
16772
16773 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * modifications to some other files because of this.
16776
16777         * Makefile.am (lyx_SOURCES): add XFormsView
16778
16779         * XFormsView.[Ch]: new files
16780
16781         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16782         the main window. Move the gui dependent stuff to XFormsView
16783
16784 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16785
16786         * tabular.C (GetCellInset): update cur_cell also in the row/col
16787         version of this function.
16788
16789         * lyxfunc.C: no need to include figure_form.h here.
16790
16791         * FontLoader.h:
16792         * lyxfunc.h:
16793         * lyxscreen.h:
16794         * text2.C:
16795         * lyxvc.C: no need to include forms.h here.
16796
16797 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16798
16799         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16800
16801         * lyxfunc.C (Dispatch):
16802         * Spacing.C (set):
16803         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16804         constructor argument.
16805
16806 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16807
16808         * paragraph.C (Paragraph): dont't clear, and just set layout.
16809         (makeSameLayout): use params's copy contructor.
16810
16811         * ParagraphParameters.[Ch] (makeSame): delete method
16812
16813 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16814
16815         * Variables.[Ch]: fix indentation, rename set to isSet
16816
16817 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16818
16819         * lyxfunc.C (Dispatch): fix typo
16820
16821 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16822
16823         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16824         upper_bound.
16825
16826         * bufferlist.C: include assert.h for emergencyWrite().
16827
16828 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16831           give up at last (bug #425202) !
16832
16833 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16834
16835         * lyx_gui_misc.C:
16836         * sp_form.h:
16837         * sp_form.C:
16838         * spellchecker.h:
16839         * spellchecker.C: strip spellchecker options and bring up
16840           preferences tab instead
16841
16842 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16843
16844         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16845         the istringstream constructor
16846
16847 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * paragraph.C (getLayout): fix return value
16850
16851         * paragraph.h: do not declare getLayout as inline.
16852
16853         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16854
16855 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16856
16857         * lyxcursor.h (operator<): new func
16858         (operator>): new func
16859         (operator>=): new func
16860         (operator<=): new func
16861
16862         * text.C (changeCase): use selection.start and selection.end
16863         (changeRegionCase): require from to be <= to. Require par to be a
16864         valid paragraph.
16865
16866         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16867
16868 2001-06-27  Juergen Vigna  <jug@sad.it>
16869
16870         * text.C (cursorLeftOneWord): changed to return the cursor and added
16871         overlay with BufferView * parameter which calls this one.
16872         (getWord): added
16873         (selectWord): use new getWord function.
16874         (changeCase): renamed from changeWordCase as and extended to work
16875         also on selections.
16876
16877         * lyxtext.h: added enum word_location
16878
16879         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16880         changeCase as this operates now also on selections.
16881
16882 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16883
16884         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16885
16886         * many files: send debug output to Debug::INFO instead of
16887         Debug::ANY.
16888
16889         * converter.C (View):
16890         (Convert):
16891         (Move): send debug output to Debug::FILES instead of console.
16892
16893 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16894
16895         * lyxfunc.C (getStatus): use func_status
16896
16897         * func_status.h: new header, describing the results of
16898         LyXFunc::getStatus;
16899
16900         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16901         LFUN_MATH_HALIGN.
16902
16903 2001-06-25  The LyX Project  <jug@sad.it>
16904
16905         * buffer.C (sgmlOpenTag):
16906         (sgmlCloseTag):
16907         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16908
16909 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16910
16911         * text2.C: remove some dead code
16912
16913         * tabular.C (GetCellInset): store the last cell checked (gotten)
16914
16915         * tabular.h: add the helper for the speedup
16916
16917         * lyxtext.h: remove some dead code
16918
16919 2001-06-26  The LyX Project  <Asger>
16920
16921         * paragraph.C: Change export to LaTeX of alignment to
16922         \begin{center} and family for better roundtrip work with reLyX.
16923
16924         * Tune the math drawing a bit.
16925
16926 2001-06-25  The LyX Project  <Asger>
16927
16928         * LColor.C (LColor): New color for math background. New color
16929         for buttons.
16930
16931 2001-06-25  The LyX Project  <jug@sad.it>
16932
16933         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16934
16935         * lyxfunc.C (Open):
16936         * bufferlist.C (newFile): do not restrict to files ending with
16937         .lyx
16938
16939         * BufferView_pimpl.C (MenuInsertLyXFile):
16940
16941 2001-06-24  The LyX Project  <jug@sad.it>
16942
16943         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16944         of compare_no_case
16945
16946 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16947
16948         * lyxtext.h: rename most methods to begin with a small char.
16949         Lots of changes because of this.
16950
16951         * paragraph.C (Paragraph): do not call fitToSize
16952         (erase): call Pimpl::erase
16953         (insertChar): call Pimpl::insertChar
16954         (insertInset): call Pipl::insertInset
16955         (breakParagraph): do not call fitToSize
16956         (breakParagraphConservative): do not call fitToSize
16957         (fitToSize): remove method
16958
16959         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16960
16961 2001-06-24  The LyX Project  <Asger>
16962
16963         * Fix Qt compilation^2
16964
16965 2001-06-24  The LyX Project  <jug@sad.it>
16966
16967         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16968         depthHook(getDepth()-1).
16969
16970         * paragraph.h:
16971         * ParagraphParameters.h:
16972         * ParameterStruct.h: change type of depth to unsigned int ==
16973         depth_type. Many adaptations to other files before of that.
16974
16975 2001-06-24  The LyX Project  <Asger>
16976
16977         * Fix Qt compilation.
16978
16979 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16980
16981         * paragraph.h: renamed several methods to begin with small letter.
16982         several changes to many parts of the code because of this.
16983
16984 2001-06-23  The LyX Project  <jug@sad.it>
16985
16986         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16987         rewritten to discard all double spaces when KeepEmpty is off
16988         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16989         to only handle newlines but not fiddle with spaces and friends.
16990
16991         * lyxfunc.C (MenuNew): when doing 'new from template', use
16992         template_path as default directory
16993
16994 2001-06-23  The LyX Project  <Asger>
16995
16996         * Clean-up of header file includes all over
16997         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16998
16999 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17000
17001         * paragraph.h: renamed from lyxparagraph.h
17002
17003 2001-06-23  Asger  <lyx@violet.home.sad.it>
17004
17005         * Buffer.h: Removed Buffer::resize
17006         * BufferList.h: Removed BufferList::resize
17007         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17008         the document lazily when we change the width, or the font settings.
17009
17010 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17011
17012         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17013
17014 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17015
17016         * buffer.h: remove out of date comment
17017
17018 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17019
17020         * lyxscreen.h:
17021         * screen.C: fix "theoretical" GC leak
17022
17023 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17024
17025         * LaTeX.C (scanAuxFile):
17026         (deplog): remove trailing \r when reading stream (useful under
17027         win32)
17028
17029 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17030
17031         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17032         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17033         and BufferView::theLockingInset(Inset*), so should use them and not
17034         access bv_->text->the_locking_inset directly.
17035
17036         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17037
17038 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17039
17040         * Makefile.am:
17041         * tex-defs.h: remove old unused file
17042
17043 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17044
17045         * BufferView_pimpl.C: fix typo, remove minibuffer message
17046           when buffer has loaded
17047
17048 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17049
17050         * lyxfunc.C (Dispatch): use stringstream
17051         (MenuNew): use stringstream
17052         (Open): use stringstream
17053
17054         * importer.C (Import): use stringstream
17055
17056         * bufferview_funcs.C (CurrentState): use stringstream
17057
17058         * LaTeX.C (run): use stringstream
17059
17060         * BufferView_pimpl.C (savePosition): use stringstream
17061         (restorePosition): use stringstream
17062         (MenuInsertLyXFile): use stringstream
17063
17064 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17065
17066         * BufferView.C:
17067         * Bullet.C:
17068         * ColorHandler.C:
17069         * FontInfo.C:
17070         * FontLoader.C:
17071         * LColor.C:
17072         * LaTeXFeatures.C:
17073         * Painter.C:
17074         * gettext.C:
17075         * lyx_gui_misc.C:
17076         * lyxserver.C:
17077         * vspace.C: removed // -*- C++ -*- as first line.
17078
17079         * lyxfind.h:
17080         * version.h: added // -*- C++ -*- as first line.
17081
17082 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17083
17084         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17085
17086         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17087         of string
17088
17089 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17090
17091         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17092         of floats.
17093
17094 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17095
17096         * gettext.C: include LString.h even when --disable-nls is on.
17097
17098 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17099
17100         * converter.h (Get): changed argument type from int to
17101         FormatList::size_type to avoid unnecessary conversion.
17102
17103         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17104         before using it.
17105
17106 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17107
17108         * gettext.h: include LString.h even when --disable-nls is on.
17109
17110 2001-06-07  Juergen Vigna  <jug@sad.it>
17111
17112         * text.C (BreakAgain): subst spaces with tabs.
17113
17114         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17115         (resizeInsetsLyXText): set force on resizeLyXText.
17116
17117 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17118
17119         * gettext.h (gettext_init):
17120         (locale_init): use a real definition instead of a macro
17121
17122 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17123
17124         * Bufferview_pimpl.C:
17125         * LColor.h:
17126         * LColor.C: further lcolor tidies
17127
17128 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17129
17130         * BufferView_pimpl.C (updateScrollbar): simplify.
17131
17132         * BufferView2.C: don't include insets/insetinfo.h, change
17133         prototype for insertInset and call the Pimpl version. let
17134         updateInset call Pimpl version.
17135
17136         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17137         gotoInset to BufferView::Pimpl
17138
17139 2001-06-01  Juergen Vigna  <jug@sad.it>
17140
17141         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17142         inside a LockingInset (is the update needed at all?).
17143
17144 2001-05-31  Juergen Vigna  <jug@sad.it>
17145
17146         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17147         here not the old one otherwise how should we compare it afterwards
17148         if it's the same!
17149
17150 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17151
17152         * lyxfont.C:
17153         * tabular.C:
17154         * tabular-old.C:
17155         * FontInfo.C: bring C functions into global namespace when
17156         necessary
17157
17158 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17159
17160         * LString.h: make sure config.h has been loaded before LString.h.
17161
17162         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17163         (one for each char read by EatLine!).
17164
17165         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17166         variables.
17167
17168 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17171         to the same as the par we break from
17172
17173 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17174
17175         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17176
17177         * MenuBackend.C (expand): also create menu entries for wide
17178         versions of the floats.
17179
17180         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17181
17182         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17183
17184         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17185         frontends/Makefile.am
17186
17187         * text2.C: adjust
17188         * text.C: adjust
17189
17190
17191         * tabular.C (getTokenValue): add std::
17192
17193         * tabular-old.C (getTokenValue): add std::
17194         (getTokenValue): ditto
17195         (getTokenValue): ditto
17196
17197         * screen.C (ToggleSelection): adjust
17198
17199         * lyxtext.h: put selection cursors inside a Selection struct.
17200
17201         * lyxfunc.C (moveCursorUpdate): adjust
17202
17203         * lyxfont.C (latexWriteStartChanges): add std::
17204
17205         * lyxfind.C: adjust
17206
17207         * font.h: delete with(char const *, LyXFont const &)
17208
17209         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17210
17211         * FontInfo.C (getFontname): add std::
17212
17213         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17214         (workAreaButtonPress): adjust
17215         (tripleClick): adjust
17216         (update): adjust
17217         (moveCursorUpdate): adjust
17218         (Dispatch): adjust
17219
17220         * BufferView2.C (gotoInset): adjust
17221
17222 2001-05-30  Juergen Vigna  <jug@sad.it>
17223
17224         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17225         to check pspell I add this as default as I now have new pspell
17226         libraries and they seem to use this.
17227
17228 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17229
17230         * text2.C (CutSelection): make the cursor valid before the call to
17231         ClearSelection.
17232
17233 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17234
17235         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17236         relied on 0 terminated strings and other horrors. Bug found due to
17237         the new assert in lyxstring!
17238
17239         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17240         KP_ keys.
17241
17242 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17245         to latinkeys.bind.
17246
17247         * lyxfunc.C (processKeySym): change method of getting to the
17248         self-insert char.
17249
17250         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17251         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17252         * BufferView_pimpl.[Ch]: here as private methods.
17253
17254 2001-05-28  Juergen Vigna  <jug@sad.it>
17255
17256         * text.C (SetHeightOfRow): added the update() call again as it is
17257         needed to initialize inset dimensions!
17258
17259 2001-05-16  Juergen Vigna  <jug@sad.it>
17260
17261         * text2.C (SetCharFont): Add new function with BufferView * and
17262         bool toggleall parameters for setting insets internal fonts.
17263         (SetFont): Freeze the undo as we may change fonts in Insets and
17264         all this change should be inside only one Undo!
17265
17266         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17267         setting font's in insets as for them we have the SetFont function!
17268
17269 2001-05-15  Juergen Vigna  <jug@sad.it>
17270
17271         * text2.C (ClearSelection): to be sure we REALLY don't have any
17272         selection anymore!
17273
17274         * tabular.C (TeXCellPreamble): fixed the left border problem for
17275         multicolumn cells.
17276
17277 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17278
17279         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17280         dependancy file
17281
17282 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17283
17284         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17285         LFUN_BREAKPARAGRAPH.
17286
17287         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17288         help test to "internal only", similar for LFUN_INSERT_URL
17289
17290         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17291         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17292         auto_region_delete and deadkeys.
17293
17294 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17295
17296         * LColor.h:
17297         * LColor.C: remove some dead entries, tidy a little
17298
17299 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17300
17301         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17302         commented code.
17303         (Dispatch): implement LFUN_ESCAPE
17304
17305         * commandtags.h: add LFUN_ESCAPE
17306
17307         * LyXAction.C (init): add entry for LFUN_ESCAPE
17308
17309         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17310         Remove commented code.
17311         (insertNote): moved here
17312         (open_new_inset): moved here
17313
17314         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17315         BufferView_pimpl
17316
17317 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17318
17319         * kbmap.C (findbinding): clean it up and make it work correctly.
17320
17321         * lyx_main.C (init): do not pass argc and argv as parameters
17322
17323 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17324
17325         * buffer.C: fix path for OS/2 & Win32
17326
17327         * lyx_gui.C:
17328         * lyx_main:
17329         * lyx_main.C: Added os:: class.
17330
17331         * os2_defines.h: update
17332
17333 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17334
17335         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17336         better by trying again with reduced state.
17337
17338 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17339
17340         * lyxrc.C (read): print error about invalid key sequence only when
17341         debugging (because not all latinX keysyms are known to some X
17342         servers)
17343
17344         * kbsequence.C (getiso): add a few std:: qualifiers
17345         (getiso): comment out extra return statement.
17346
17347 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17348
17349         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17350         handling.
17351         (Dispatch): enhance the accent inset a bit. (not perfect)
17352
17353 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17354
17355         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17356
17357 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * bufferlist.C (emergencyWrite): fix assert() call
17360
17361 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17362
17363         * text.C (InsertChar): Added trivial patch to only send the "you
17364         can not do multiple spaces this way" message once during a
17365         session.
17366
17367 2001-05-08  Baruch Even  <baruch@lyx.org>
17368
17369         * Makefile.am: Changed order of libraries to get LyX to link properly
17370         with the gnome frontend.
17371
17372 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17373
17374         * LaTeXFeatures.h: add a std:: qualifier
17375
17376 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17377
17378         * paragraph.C (String): use stringstream
17379
17380 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17381
17382         * paragraph.C (writeFile): remove footflag arg
17383
17384         * buffer.C (makeLaTeXFile): use stringstream
17385         (latexParagraphs): remove footnot gurba
17386
17387         * LaTeXFeatures.C (getPackages): use stringstream
17388         (getMacros): likewise
17389         (getTClassPreamble): likewise
17390         (getFloatDefinitions): new method
17391
17392         * paragraph.C (writeFile): reindent
17393         (Erase): reindent
17394
17395         * WorkArea.h: revert the xpos + etc changes.
17396
17397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17398
17399         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17400
17401         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17402         (pasteSelection): likewise
17403         * text2.C (CreateUndo): likewise
17404
17405 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17406
17407         * minibuffer.C (peek_event): temporarily reduce the functionality
17408         of the minibuffer (to allow args on lfuns)
17409
17410         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17411         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17412
17413         * buffer.C (readInset): add compability reading of old float
17414         lists, add reading of new style float list.
17415         (readInset): avoid reevaluation of inscmd.getCmdName()
17416         (getLists): reindent
17417
17418         * MenuBackend.C (MenuItem): implement parsing of
17419         md_floatlistinsert and md_floatinsert.
17420         (expand::LastFiles): move initalizaton of iterators out of loop,
17421         avoid reevaluation.
17422         (expand::Documents): introduce typdedef vector<string> Strings,
17423         and use it.
17424         (expand::ExportFormats): introduce typedef vector<Format const *>
17425         Formats, and use it.
17426         (expand): implement FloatListInsert and FloatInsert.
17427
17428         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17429         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17430         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17431
17432         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17433         handling.
17434         (Dispatch::LFUN_FLOAT_LIST): implement
17435
17436 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17437
17438         * LaTeX.C (run): Fix problem with --export code.
17439
17440 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17441
17442         * BufferView.[Ch] (workarea): removed.
17443         (getClipboard) new method; wrapper for workarea()->getClipboard()
17444
17445         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17446         bug.
17447
17448         * WorkArea.h (width, height, xpos, ypos): These methods all
17449         returned the dimensions of the work_area sub-area of WorkArea,
17450         resulting in a position error if the WorkArea were resized. Now
17451         return the dimensions of the entire WorkArea.
17452
17453         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17454
17455 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17456
17457         * LaTeX.C (deplog): correct the syntax of regex reg1
17458
17459 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17460
17461         * undo.C: remove !NEW_INSETS cruft
17462
17463 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17464
17465         * text2.C: remove !NEW_INSETS cruft
17466
17467         * text.C: remove !NEW_INSETS cruft
17468
17469         * tabular.C: remove !NEW_INSETS cruft
17470
17471         * spellchecker.C: remove !NEW_INSETS cruft
17472
17473         * lyxtext.h: remove !NEW_INSETS cruft
17474
17475         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17476
17477         * lyxfunc.C: remove !NEW_INSETS cruft
17478
17479         * lyxfind.C: remove !NEW_INSETS cruft
17480
17481         * lyx_cb.C: remove !NEW_INSETS cruft
17482
17483         * figureForm.C: remove  !NEW_INSETS cruft
17484
17485         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17486
17487         * buffer.[Ch]: remove !NEW_INSETS cruft
17488
17489         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17490
17491         * CutAndPaste.C: remove !NEW_INSETS cruft
17492
17493         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17494
17495         * BufferView2.C: remove !NEW_INSETS cruft
17496
17497         * BufferView.h: remove !NEW_INSETS cruft
17498
17499 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17500
17501         * Lsstream.h: include LString.h before the sstream headers to
17502         fix problem with gcc 2.95.3 and lyxstring
17503
17504 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17505
17506         * lyx_main.C: add using directives when needed for C functions
17507         declared in std:: namespace.
17508
17509 2001-04-27  Juergen Vigna  <jug@sad.it>
17510
17511         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17512         (SetHeightOfRow): comment out the update call should not be needed!
17513
17514 2001-04-13  Juergen Vigna  <jug@sad.it>
17515
17516         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17517         (LyXTabular): tried to minimize operator= operations (and realized
17518         hopfully Lars wish).
17519
17520 2001-04-27  Juergen Vigna  <jug@sad.it>
17521
17522         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17523
17524 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17525
17526         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17527
17528         * buffer.C (readInset): hack to make listof algorithm work
17529
17530         * BufferView_pimpl.C: hack to make listof algorithm work
17531
17532 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17533
17534         * LyXAction.C: removed all !NEW_INSETS cruft
17535         (init): moved lfun_item in method
17536
17537         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17538
17539 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17540
17541         * BufferView2.C (theLockingInset): white space.
17542
17543 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17544
17545         * minibuffer.C: include <iostream>
17546
17547         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17548
17549         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17550
17551         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17552
17553         * text.[Ch] (TransposeChars): new method
17554
17555 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17556
17557         * call message directly through LyXView instead of through LyXFunc
17558         * BufferView2.C: adjust
17559         * BufferView_pimpl.C: adjust
17560         * FontLoader.C: adjust
17561         * buffer.C: adjust
17562         * bufferview_funcs.C: adjust
17563         * converter.C: adjust
17564         * figureForm.C: adjust
17565         * importer.C: adjust
17566         * lyx_cb.C: adjust
17567         * lyx_gui_misc.C: adjust
17568         * lyxfunc.C: adjust
17569         * lyxvc.C: adjust
17570         * text2.C: adjust
17571         + more files in subdirs
17572
17573         * lyxparagraph.h (size): move up int file
17574         (GetLayout): ditto
17575
17576         * adjust all uses of Assert to lyx::Assert.
17577
17578         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17579         lyxfunctional in namespace lyx
17580         * layout.C (hasLayout): ditto
17581         (GetLayout): ditto
17582         (GetLayout): ditto
17583         (delete_layout): ditto
17584         (NumberOfClass): ditto
17585         * converter.C (GetFormat): ditto
17586         (GetNumber): ditto
17587         (Add): ditto
17588         (Delete): ditto
17589         (SetViewer): ditto
17590         * bufferlist.C (getFileNames): ditto
17591         (emergencyWriteAll): ditto
17592         (exists): ditto
17593         (getBuffer): ditto
17594         * MenuBackend.C (hasSubmenu): ditto
17595         (hasMenu): ditto
17596         (getMenu): ditto
17597         * BufferView_pimpl.C (getInsetByCode): ditto
17598
17599 2001-04-18  Juergen Vigna  <jug@sad.it>
17600
17601         * vspace.C (asLatexString): fixed the 100% problem.
17602
17603 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17604
17605         * lyxfunc.C (Dispatch):
17606         * minibuffer.C:
17607         * minibuffer.h: add a few std:: qualifiers
17608
17609 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17610
17611         * minibuffer.[Ch]: reimplement so that commands is initiated and
17612         run from lyxfunc, simplified som handling, and made the completion
17613         and history code for complete. wip.
17614
17615         * lyxfunc.C (processKeySym): call message
17616         (miniDispatch): new temporary method
17617         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17618         (LFUN_MESSAGE): implement
17619         (LFUN_MESSAGE_PUSH): implement
17620         (LFUN_MESSAGE_POP): implement
17621         (initMiniBuffer): the initial/defualt minibuffer message.
17622
17623         * lyxfont.[Ch]: inline some more getters
17624
17625         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17626
17627         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17628
17629         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17630         (AutoSave): use LFUN_MESSAGE
17631         (Reconfigure): ditto
17632
17633         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17634
17635         * figureForm.C: use LFUN_MESSAGE
17636
17637         * converter.C (runLaTeX): use LFUN_MESSAGE
17638
17639         * bufferview_funcs.C: use LFUN_MESSAGE
17640         (Melt): ditto
17641         (changeDepth): ditto
17642
17643         * bufferparams.h: use boost::
17644
17645         * bufferlist.h: inherit privately from noncopyable
17646
17647         * bufferlist.C (loadLyXFile): remove some commented code.
17648
17649         * buffer.C (runChktex): use LFUN_MESSAGE
17650
17651         * ShareContainer.h: inherit privately from noncopyable
17652
17653         * ParagraphParameters.[hC] (depth): inline it.
17654
17655         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17656         methods.
17657         (message): new method
17658         (messagePush): ditto
17659         (messagePop): ditto
17660         (show): init minibuffer
17661         (showState): direct call
17662
17663         * LaTeX.[Ch]: inherit privately from noncopyable
17664         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17665         instead of WriteStatus.
17666
17667         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17668
17669         * BufferView_pimpl.C (buffer): don't init minibuffer
17670         (workAreaButtonPress): use LFUN_MESSAGE
17671         (workAreaButtonRelease): ditto
17672         (savePosition): ditto
17673         (restorePosition): ditto
17674         (MenuInsertLyXFile): ditto
17675         (workAreaExpose): don't init minibuffer
17676         (update): remove commented code, simplify
17677
17678         * BufferView2.C (openStuff): use LFUN_MESSAGE
17679         (toggleFloat): ditto
17680         (menuUndo): ditto
17681         (menuRedo): ditto
17682         (copyEnvironment): ditto
17683         (pasteEnvironment): ditto
17684         (copy): ditto
17685         (cut): ditto
17686         (paste): ditto
17687         (gotoInset): ditto
17688         (updateInset): remove some commented code
17689
17690         * lastfiles.h: inherit privately from noncopyable
17691         * layout.h: ditto
17692         * lyx_gui.h: ditto
17693         * lyx_main.h: ditto
17694         * lyxlex.h: ditto
17695         * lyxlex_pimpl.h: ditto
17696
17697         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17698         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17699         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17700
17701         * LyXAction.h: inherit privately from noncopyable, add methods
17702         func_begin, func_end, returning iterators to the func map.
17703
17704         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17705         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17706         (func_begin): new method
17707         (func_end): new method
17708
17709         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17710         and not)
17711         (copySelection): ditto
17712         (pasteSelection): ditto
17713
17714         * BufferView.C: whitespace change
17715         * BufferView.h: inherit privately from noncopyable
17716
17717 2001-04-16  Allan Rae  <rae@lyx.org>
17718
17719         * tabular-old.C (l_getline):
17720         * spellchecker.C (sc_check_word):
17721         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17722         an unrecognised preprocessor directive.  So ensure they're wrapped.
17723
17724 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17725
17726         * src/exporter.C (Export): Give an error message when path to file
17727         contains spaces.
17728
17729 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17730
17731         * LaTeX.C (deplog): Always check that foundfile exists.
17732
17733 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17734
17735         * lyx_main.h:
17736         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17737
17738 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17739
17740         * tabular.[Ch] (getLabelList): implement new method
17741
17742         * minibuffer.h: comment ouf setTiimer
17743
17744         * minibuffer.C (ExecutingCB): constify res
17745         (peek_event): constify s
17746         (Set): constify ntext
17747         (Init): constify nicename
17748
17749         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17750
17751         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17752         (savePosition): use two params to Minibuffer::Set
17753         (restorePosition): ditto
17754
17755 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17756
17757         * lyx_main.C: include language.h
17758
17759         * Makefile.am (lyx_main.o): add language.h
17760
17761 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17762
17763         * exporter.C:
17764         * paragraph.C:
17765         * screen.C:
17766         * tabular.C:
17767         * CutAndPaste.C: include gettext.h
17768
17769         * lyxfont.h: remove old hack with ON and OFF.
17770
17771         * lyxparagraph.h:
17772         * lyxfont.h: do not include language.h...
17773
17774         * BufferView2.C:
17775         * LaTeXFeatures.C:
17776         * Painter.C:
17777         * bufferview_funcs.C:
17778         * font.C:
17779         * lyxfont.C:
17780         * text.C:
17781         * text2.C:
17782         * trans_mgr.C:
17783         * paragraph.C: ... but do it here instead
17784
17785 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17786
17787         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17788
17789         * tabular.C: small reformat
17790
17791         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17792         NEW_INSETS version
17793         (GetChar): ditto
17794         (BreakParagraph): ditto
17795         (SetOnlyLayout): ditto
17796         (SetLayout): ditto
17797
17798         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17799         with one arg less.
17800
17801         * lastfiles.C: removed most using decl, add std:: where needed
17802
17803         * buffer.C: ws changes
17804
17805         * MenuBackend.C (class compare_format): put into anon namespace
17806         (expand): constify label, names, action, action2
17807         (expand):
17808
17809         * text.C (SingleWidth): constify font
17810         (IsBoundary): constify rtl2
17811         (GetVisibleRow): constify ww
17812
17813         * LaTeX.C (deplog): constify logfile
17814
17815         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17816         start_x, end_x
17817         (workAreaExpose): constify widthChange, heightChange
17818
17819         * lyxrow.C (par): moved
17820         (height): moved
17821         (next): moved
17822         * lyxrow.h: as inlines here
17823
17824         * lyxfont.h (shape): moved from lyxfont.C
17825         (emph): moved from lyxfont.C
17826
17827         * lyxfont.C (LyXFont): use initialization list for all
17828         constructors
17829         (shape): move to lyxfont.h as inline
17830         (emph): move to lyxfont.h as inline
17831
17832
17833 2001-04-04  Juergen Vigna  <jug@sad.it>
17834
17835         * vspace.C: had to include stdio.h for use of sscanf
17836
17837 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17838
17839         * BufferView.h:
17840         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17841         independent of xforms.
17842
17843 2001-04-02  Juergen Vigna  <jug@sad.it>
17844
17845         * spellchecker.C: fixed namespace placing!
17846
17847 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17848
17849         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17850         the LyXParagraph * is 0.
17851
17852 2001-03-29  Juergen Vigna  <jug@sad.it>
17853
17854         * vspace.C: added support for %, c%, p%, l%.
17855         (stringFromUnit): added helper function.
17856         (asLatexString): changed to give right results for the %-values.
17857
17858         * buffer.C: convert the widthp in a width%.
17859
17860 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17861
17862         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17863         figureForm.[Ch].
17864
17865         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17866         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17867
17868         * lyx_cb.[Ch]: see above.
17869
17870         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17871         form1.[Ch].
17872
17873         * form1.[Ch]:
17874         * lyx.[Ch]: replaced by figure_form.[Ch].
17875
17876         * lyx_gui.C:
17877         * lyx_gui_misc.C:
17878         * lyxfunc.C: changed headers associated with above changes.
17879
17880 2001-03-27  Juergen Vigna  <jug@sad.it>
17881
17882         * BufferView_pimpl.C: set the temporary cursor right!
17883
17884 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17885
17886         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17887
17888 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17889
17890         * LString.h: removed "using std::getline"!
17891
17892         * BufferView_pimpl.C (Dispatch): changes due to changes in
17893         InsetInclude::Params.
17894
17895         * buffer.C (tag_name): removed redundant break statements as they were
17896         producing lots of warnings with my compiler.
17897
17898 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17899
17900         * LString.h: add "using std::getline" when using the real <string>.
17901
17902 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17903
17904         * buffer.C: removed bitset usage.
17905         PAR_TAG moved to an anonymous name space.
17906         (tag_name): new funtion, also in the anonymous namespace.
17907         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17908         (makeDocBookFile): clean code. Completed transition from string arrays
17909         to string vectors.
17910         (SimpleDocBookOnePar): code clean.
17911
17912 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17913
17914         * tabular.C: add some comments.
17915
17916 2001-03-22  Juergen Vigna  <jug@sad.it>
17917
17918         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17919         compatibility read a bit and fixed bug with minipage in different
17920         depth.
17921
17922 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17923
17924         * buffer.C (pop_tag): removed.
17925         (push_tag): removed.
17926         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17927         array replaced with vector. Added support for CDATA sections.
17928         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17929         at any nest level.
17930         (makeDocBookFile): XML conformant declaration of CDATA section,
17931         fixed bug related to <emphasis> in the first paragraph char.
17932         (sgmlOpenTag): exclude empty tags.
17933         (sgmlCloseTag): ditto.
17934
17935         * buffer.h (pop_tag): removed.
17936         (push_tag): removed.
17937
17938 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17939
17940         * language.h (Languages): added size_type and size().
17941
17942 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17943
17944         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17945         response on compability reading of minipages. One probliem is that
17946         the old usage of minipages was flertydig
17947
17948         * several files here and in subdirs: don't use static at file
17949         scope use anon namespaces instead.
17950
17951 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17952
17953         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17954         LaTeX output. This is necessary for Literate document
17955         processing.
17956
17957 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17958
17959         * buffer.C: insert hfill when needed.
17960
17961         * tabular.C (l_getline): use string::erase, small whitespace change.
17962
17963         * BufferView_pimpl.C: try the anon namespace.
17964         * WorkArea.C: ditto
17965
17966 2001-03-16  Juergen Vigna  <jug@sad.it>
17967
17968         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17969         otherwise it won't open options-dialogs.
17970
17971         * buffer.C: honor pextraWidth(p) on converting minipages.
17972
17973         * tabular.C (l_getline): changed the functions to strip trailing \r.
17974
17975 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17976
17977         * BufferView_pimpl.C:
17978         * minibuffer..C: added "using SigC::slot" declaration.
17979
17980 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17981
17982         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17983
17984         * text2.C: ditto
17985
17986         * text.C: ditto
17987
17988         * paragraph.C: ditto
17989
17990         * lyxtext.h: NO_PEXTRA
17991
17992         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17993
17994         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17995         * ParameterStruct.h: ditto
17996         * ParagraphParameters.h: ditto
17997         * lyxparagraph.h: ditto
17998
17999 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18000
18001         * buffer.C: add compability for minipage alignment.
18002         (latexParagraphs): remove unwanted pextra check.
18003
18004         * several files: remove CXX_WORKING_NAMESPACES
18005
18006         * buffer.C (pop_tag): tie is in namespace boost
18007
18008         * BufferView.h: noncopyable is in namespace boost
18009         * lyxlex.h: ditto
18010         * lyx_main.h: ditto
18011         * lyx_gui.h: ditto
18012         * layout.h: ditto
18013         * lastfiles.h: ditto
18014         * bufferlist.h: ditto
18015         * ShareContainer.h: ditto
18016         * LyXView.h: ditto
18017         * LyXAction.h: ditto
18018         * LaTeX.h: ditto
18019
18020 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18021
18022         * Merging changes from BRANCH_MVC back into HEAD.
18023
18024         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18025
18026 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18027
18028         * BufferView_pimpl.C: change from intl.C
18029
18030         * combox.h:
18031         * combox.C:
18032         * Makefile.am: move combox.*
18033
18034         * form1.h:
18035         * form1.C:
18036         * lyx_gui.C:
18037         * intl.h:
18038         * intl.C: remove dialog (covered by prefs)
18039
18040 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18041
18042         * lyxfunc.C (Dispatch): removed redundant break statement.
18043
18044 2001-03-14  Juergen Vigna  <jug@sad.it>
18045
18046         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18047
18048 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18049
18050         * buffer.C: add hack to fix compability reading of minipages.
18051
18052 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18053
18054         * buffer.C (getLists): Cleanup.
18055
18056 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18057
18058         * lyxfont.C (update): don't honor toggleall on font size.
18059
18060 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18061
18062         * bmtable.c:
18063         * bmtable.h:
18064         * Makefile.am: moved to frontends/xforms/
18065
18066         * lyx_gui_misc.C:
18067         * lyxfunc.C:
18068         * BufferView_pimpl.C: changes for moved mathpanel
18069
18070 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18071
18072         * gettext.h: fix gettext_init() in --disable-nls
18073
18074 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18075
18076         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18077
18078 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18079
18080         * lyx.C:
18081         * lyx.h: strip external form
18082
18083 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18084
18085         * BufferView_pimpl.C: add comment, destroySplash()
18086
18087 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18088
18089         * BufferView_pimpl.C:
18090         * LyXAction.C:
18091         * buffer.C:
18092         * commandtags.h:
18093         * lyxfunc.C: use re-worked insetinclude
18094
18095 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18096
18097         * buffer.C: add using std::stringstream.
18098
18099         * lyx_cb.C: readd using std::ios.
18100
18101         * buffer.C: add using std::map.
18102
18103         * BufferView_pimpl.C: add using std::vector.
18104
18105         * ShareContainer.h: add std:: to swap.
18106
18107         * buffer.h: add some typedefs
18108         * buffer.C (getLists): use them
18109         (getLists): renamed from getTocList.
18110         add a counter for the different float types and use it in the
18111         generated string.
18112         (getLists): use the same counter for the NEW_INSETS and the "non"
18113         NEW_INSETS
18114
18115         * lyx_cb.h: remove unused items, includes, using etc.
18116
18117         * ShareContainer.h: remove some commented code, add more comments
18118         and "documentation".
18119
18120 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18121
18122         * buffer.C (getTocList): make the list also when NEW_INSETS is
18123         defined.
18124
18125         * buffer.h: remove TocType
18126
18127         * buffer.C (getTocList): change to return a map<string,
18128         vector<TocItem> >, implement for dynamic number of list.
18129
18130         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18131         * text2.C (PasteSelection): adjust
18132         * CutAndPaste.C (pasteSelection): adjust
18133
18134         * FloatList.C (FloatList): update from the new_insets branch.
18135         * Floating.[Ch]: ditto
18136         * LaTeXFeatures.C: ditto
18137         * buffer.C: ditto
18138         * lyxlex_pimpl.C: ditto
18139
18140         * paragraph.C (Last): remove when NEW_INSETS is defined.
18141
18142         * other file: changes because of the above.
18143
18144 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18145
18146         * lyxparagraph.h: rename next to next_, previous to previous_,
18147         make them private for NEW_INSETS. Rename Next() to next(),
18148         Previous() to previous().
18149
18150         * other files: changes because of the above.
18151
18152 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18153
18154         * BufferView.h:
18155         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18156         problem.
18157
18158 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18159
18160         * main.C (main): pass lyx_localedir to gettext_init().
18161
18162         * gettext.h: remove locale_init and gettext_init macros
18163
18164         * gettext.C (locale_init): new function
18165         (gettext_init): new function
18166
18167         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18168         setlocale().
18169
18170 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18171
18172         * Moved credits to frontends:
18173         * credits.[Ch]: removed
18174         * credits_form.[Ch]: removed
18175         * lyx_gui_misc.C: remove credits stuff
18176         * Makefile.am:
18177
18178 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18179
18180         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18181
18182         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18183         unneeded destructor.
18184
18185         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18186         a standalone pointer again.
18187
18188         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18189
18190 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18191
18192         * Makefile.am:
18193         * filedlg.h:
18194         * filedlg.C:
18195         * LyXAction.C:
18196         * ToolbarDefaults.C:
18197         * bufferlist.C:
18198         * commandtags.h:
18199         * form1.C:
18200         * form1.h:
18201         * lyx_cb.C:
18202         * lyx_cb.h:
18203         * lyxfunc.h:
18204         * lyxfunc.C:
18205         * BufferView_pimpl.C: use new file dialog in GUII
18206
18207         * lyx_cb.h:
18208         * lyx_cb.C: remove LayoutsCB to Toolbar
18209
18210 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18211
18212         * ShareContainer.h (get): add std:: qualifier
18213
18214 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18215
18216         * ShareContainer.h: define a proper ShareContainer::value_type
18217         type (and use typename to please compaq cxx)
18218
18219 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18220
18221         * lyxparagraph.h: move serveral local vars to
18222         ParameterStruct/ParagraphParameters., use ShareContainer in
18223         FontTable., make vars in FontTable private and add getter and
18224         setter.
18225
18226         * paragraph.C: changes because of the above.
18227
18228         * lyxfont.h: remove copy constructor and copy assignment. (the
18229         default ones is ok), move number inside FontBits. move inlines to
18230         lyxfont.C
18231
18232         * lyxfont.C: add number to initializaton of statics, move several
18233         inlines here. constify several local vars. some whitespace
18234         cleanup. Dont hide outerscope variables.
18235
18236         * Spacing.h: add two new constructors to match the set methods.
18237
18238         * ShareContainer.h: new file, will perhaps be moved to support
18239
18240         * ParameterStruct.h: new file
18241
18242         * ParagraphParameters.h: new file
18243
18244         * ParagraphParameters.C: new file
18245
18246         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18247         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18248
18249         * BufferView_pimpl.C: ParagraphParameter changes.
18250         * buffer.C: Likewise.
18251         * bufferview_funcs.C: Likewise.
18252         * text.C: Likewise.
18253         * text2.C: Likewise.
18254
18255 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18256
18257         * lyxfind.C (LyXReplace): do not redefine default argument in
18258         implementation.
18259         (IsStringInText): ditto
18260         (SearchForward): ditto
18261         (SearchBackward): ditto
18262
18263 2001-03-06  Juergen Vigna  <jug@sad.it>
18264
18265         * lyxfind.C (IsStringInText): put parentes around expressions.
18266
18267 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18268
18269         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18270
18271 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18272
18273         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18274
18275         * stl_string_fwd.h: add comment
18276
18277         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18278
18279         * tabular.h:
18280         * tabular.C: remove unused DocBook methods
18281
18282         * intl.C:
18283         * language.C:
18284         * paragraph.C:
18285         * buffer.C:
18286         killed DO_USE_DEFAULT_LANGUAGE
18287
18288 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18289
18290         * lyx_gui.C: do not include language.h.
18291
18292         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18293         arguments in function implementation.
18294
18295 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18296
18297         * BufferView_pimpl.C: add <ctime>
18298
18299 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18300
18301         * BufferView_pimpl.C: add using std::find_if
18302
18303 2001-02-27  José Matos  <jamatos@fep.up.pt>
18304
18305         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18306         by OnlyPath.
18307
18308 2001-02-11  José Matos  <jamatos@fep.up.pt>
18309
18310         * buffer.C (makeDocBookFile): command styles now have a parameter as
18311         "title" by default.
18312
18313 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18314
18315         * layout_forms.[Ch]: removed
18316         * lyx_cb.[Ch]: out character
18317         * lyx_gui.C: out character
18318         * lyx_gui_misc.C: out character
18319         * bufferview_funcs.C: : out character,
18320         added toggleall as parameter in ToggleAndShow
18321
18322 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18323
18324         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18325
18326         * text2.C (SetCurrentFont): Disable number property at boundary.
18327
18328 2001-02-26  Juergen Vigna  <jug@sad.it>
18329
18330         * lyxfunc.C (getStatus): added a string argument override function so
18331         that this is correctly called from LyXFunc::Dispatch if it contains a
18332         do_not_use_argument which is used!
18333         (Dispatch): added check for "custom" export and call appropriate func.
18334
18335 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18336
18337         * lyxrc.C: Add language_command_local, language_use_babel and
18338         language_global_options.
18339
18340         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18341
18342         * buffer.C (makeLaTeXFile): Use language_use_babel and
18343         language_global_options.
18344
18345 2001-02-23  Juergen Vigna  <jug@sad.it>
18346
18347         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18348         which works with LyXText and putted it inside BufferView. Here now we
18349         only call for that part the BufferView::Dispatch() function.
18350
18351         * BufferView.C (Dispatch): added.
18352
18353         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18354         functions which needs to use a LyXText over from LyXFunc.
18355         (MenuInsertLyXFile): added
18356         (getInsetByCode): added
18357         (moveCursorUpdate): added
18358         (static TEXT): added
18359
18360 2001-02-22  Juergen Vigna  <jug@sad.it>
18361
18362         * BufferView_pimpl.C (update): call a status update to see if LyXText
18363         needs it.
18364
18365 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18366
18367         * vc-backend.C (revert): implement for CVS
18368         (getLog): implement for CVS
18369
18370 2001-02-20  Juergen Vigna  <jug@sad.it>
18371
18372         * text2.C (ClearSelection): added BufferView param for inset_owner call
18373
18374         * lyxfunc.C (TEXT): added this function and use it instead of
18375         directly owner->view()-text of getLyXText().
18376
18377 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18378
18379         * src/layout_forms.C: out preamble
18380         * src/layout_forms.h: out preamble
18381         * src/lyx_cb.C: out preamble
18382         * src/lyx_cb.h: out preamble
18383         * src/lyx_gui.C: out preamble
18384         * src/lyx_gui_misc.C: out preamble
18385         * src/lyxfunc.C: connect with guii preamble
18386
18387 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18388
18389         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18390
18391 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18392
18393         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18394         whether to run bibtex.
18395
18396 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18397
18398         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18399
18400 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18401
18402         * Makefile.am (lyx_SOURCES): removed bibforms.h
18403
18404         * vspace.h: doxygen
18405
18406         * text.C (GetVisibleRow): make several local vars const
18407
18408         * tabular.C: small cleanup.
18409
18410         * lyxserver.C (callback): use compare instead of strncmp
18411
18412         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18413         inlines to after class or to paragraph.C
18414
18415         * lyxfont.h: remove friend operator!=
18416
18417         * converter.h: move friend bool operator< to non friend and after
18418         class def.
18419
18420         * combox.h: small cleanup
18421
18422         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18423         to inlines after class def.
18424
18425         * buffer.C (pop_tag): use string operations instead of strcmp
18426
18427         * bmtable.c: doxygen, small cleanup
18428
18429         * LaTeX.h: remove friend operator==
18430
18431 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18432
18433         * screen.C:
18434         * lyxrc.[Ch]:
18435         * lyxfunc.C:
18436         * lyxfont.[Ch]:
18437         * lyx_cb.C:
18438         * intl.[Ch]:
18439         * commandtags.h:
18440         * buffer.C:
18441         * WorkArea.[Ch]:
18442         * LyXAction.C:
18443         * BufferView_pimpl.C:
18444         * BufferView.[Ch]: remove cruft
18445
18446 2001-02-14  Juergen Vigna  <jug@sad.it>
18447
18448         * lyxfunc.C: removed #if 0 unused code
18449
18450         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18451
18452         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18453
18454         * text2.C (SetSelection): added a BufferView * parameter
18455
18456 2001-02-13  Juergen Vigna  <jug@sad.it>
18457
18458         * lyxfunc.C (Dispatch): fixed protected blank problem.
18459         * BufferView2.C (protectedBlank): added LyxText * parameter.
18460
18461         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18462         (AppendColumn): same as above for column_info.
18463
18464         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18465         (moveCursorUpdate): use a LyXText param for support of InsetText.
18466
18467         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18468         (tripleClick): ditto
18469
18470         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18471
18472         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18473
18474         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18475
18476         * text2.C (SetSelection): set correct update status if inset_owner
18477         (ToggleFree): ditto
18478
18479 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18480
18481         * tabular.C: remove some commented code.
18482
18483 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18484
18485         * BufferView_pimpl.C: call hideSplash()
18486
18487         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18488
18489         * include_form.h:
18490         * bibforms.h: remove
18491
18492         * lyxfunc.C:
18493         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18494           add LFUN_CHILD_CREATE
18495
18496         * counters.h: fix tiny typo
18497
18498         * lyx_cb.C:
18499         * lyx.h:
18500         * lyx_gui.C:
18501         * lyx.C: move splash to frontends/xforms/
18502
18503         * lyx_gui_misc.C: move Include and Bibform to frontends
18504
18505         * lyxvc.h: clarify comment
18506
18507         * vspace.C: tiny housekeeping
18508
18509 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18510
18511         * text.C (PrepareToPrint): RTL Fix.
18512
18513         * paragraph.C (GetUChar): New method.
18514         (String):  Use GetUChar.
18515
18516         * buffer.C (asciiParagraph): Use GetUChar.
18517
18518 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18519
18520         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18521
18522 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18523
18524         * buffer.h:
18525         * buffer.C: rename to getLogName(), handle
18526           build log / latex log nicely
18527
18528 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18529
18530         * MenuBackend.C:
18531         * MenuBackend.h: remove support for reference menuitem type.
18532
18533 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18534
18535         * BufferView_pimpl.C: housekeeping
18536         * BufferView_pimpl.h:
18537         * LyXView.h:
18538         * Makefile.am:
18539         * Timeout.C:
18540         * Timeout.h:
18541         * minibuffer.h: move Timeout GUI-I
18542
18543 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18544
18545         * lyxrc.C (read): Update converters data-structures.
18546
18547 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18548
18549         * LaTeX.h (operator!=): add operator != for Aux_Info
18550
18551 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18552
18553         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18554
18555         * LaTeXLog.C: deleted, useful code moved to Buffer
18556
18557         * buffer.h:
18558         * buffer.C: new function getLatexLogName()
18559
18560         * lyx_gui_misc.C:
18561         * lyx_gui.C:
18562         * lyxvc.C:
18563         * lyxvc.h:
18564         * lyxfunc.C: use frontends for LaTeX and VC logs
18565
18566 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18567
18568         * LaTeX.h: yet another std:: that Allan forgot.
18569
18570         * Variables.C (set): renamed from isset(), because this clashes
18571         with some HP-UX macros (grr).
18572
18573 2001-02-06  Allan Rae  <rae@lyx.org>
18574
18575         * LaTeX.h: Another bug fix.  Missing std:: this time.
18576
18577 2001-02-04  Allan Rae  <rae@lyx.org>
18578
18579         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18580         floats problem. I've left it commented out because it's not quite
18581         correct.  It should also test that the current object is a table or
18582         figure inset.  But I haven't gotten around to figuring out how to do
18583         that.  I *think* it'll be something like: "table" == inset.type()
18584
18585         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18586         bool.
18587
18588 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18589
18590         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18591         all the citation/databases/styles in the auxilary file.
18592         (run): Rerun latex if there was a babel language error.
18593
18594 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18595
18596         * text.C (Backspace): Preserve the font when changing newline char
18597         with a space.
18598         (BreakParagraph): If the cursor is before a space, delete the space.
18599
18600         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18601
18602 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18603
18604         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18605         new argument (code).
18606         (ChangeCitationsIfUnique): New method.
18607
18608         * paragraph.C (GetPositionOfInset): Handle bibkey.
18609
18610 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18611
18612         * BufferView_pimpl.h: change type of Position::par_pos to
18613         LyXParagraph::size_type.
18614
18615 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18616
18617         * BufferView_pimpl.C (savePosition, restorePosition): Write
18618         messages to minibuffer.
18619
18620 2001-01-28  José Matos  <jamatos@fep.up.pt>
18621
18622         * buffer.C (makeDocBookFile): adds support for document language.
18623         A silly restriction on the name of LatexCommand types where removed.
18624         Added support for CDATA sections, allows to chars unescaped, used
18625         among others in code, to avoid escape < and >.
18626
18627 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18628
18629         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18630         saved positions instrad of a stack. Furthermore, a position is
18631         stored using paragraph id/paragraph position.
18632
18633         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18634         Remove LFUN_REF_BACK.
18635
18636 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18637
18638         * converter.C (dvipdfm_options): New method.
18639
18640 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18641
18642         * vspace.C (isValidLength): Fix for empty input string.
18643
18644 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18645
18646         * LyXAction.C (init): change description of LFUN_FIGURE to
18647         "Insert Graphics"
18648
18649 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18650
18651         * LaTeX.C: add using directive
18652
18653 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18654
18655         * MenuBackend.C (expand): Fix the sorting of the formats.
18656
18657 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18658
18659         * lyx_main.C: tiny error message fix
18660
18661 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18662
18663         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18664         calling fl_initialize(). This fixes the problem with ',' as
18665         decimal separator in text files.
18666
18667 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18668
18669         * trans.C (process): Fix the keymap bug.
18670
18671 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18672
18673         * LaTeX.C (scanAuxFiles): New method. Provides support for
18674         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18675         (scanLogFile) Scan for "run BibTeX" messages.
18676
18677         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18678         OT1 font encoding. Also, load the aecompl package if the ae
18679         package is loaded.
18680
18681         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18682
18683 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18684
18685         * texrow.C (increasePos): turn two error messages into debug
18686         messages.
18687
18688 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18689
18690         * LaTeX.C (scanAux): Handle the \@input macro.
18691         (runBibTeX): Use scanAux().
18692
18693         * language.C (latex_options_): New field.
18694
18695         * LaTeXFeatures.C (getMacros): Add language macros.
18696
18697         * buffer.C (makeLaTeXFile): Small fix.
18698
18699 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18700
18701         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18702
18703         * text2.C: add a using directive.
18704
18705 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18706
18707         * BufferView2.C:
18708         * lyx_gui_misc.h:
18709         * lyxfr1.C:
18710         * lyxfunc.C: kill LyXBell.
18711
18712 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18713
18714         * text.C (IsBoundary): Remove the error message
18715
18716         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18717
18718         * lyxrc.C (setDefaults): Correct initialization value for
18719         font_norm_type.
18720
18721 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18722
18723         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18724         gotoError().
18725
18726         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18727         and GotoNextNote().
18728
18729         * src/LyXAction.C: Added reference-next.
18730
18731         * text.C (InsertChar): Use contains instead of strchr.
18732
18733         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18734
18735 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18736
18737         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18738         alignment commands (when needed).
18739
18740         * text.C (InsertChar): Add ':' to number separator chars.