]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ce29a6ce913e9e3b9743b0e660062aadc46ce483
[lyx.git] / src / ChangeLog
1 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
4         pit of the uno range (bug 2022).
5
6 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * messages.C (get): Only warn once if setlocale fails (bug 2177)
9
10 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * text2.C (setCharFont): take inset's own font settings into account
13         when defining the font to reduce to, fixes 2019
14
15 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
16
17         * bufferview_funcs.C (coordOffset): remove the check for
18         collapsed collapsables (fix for bug 2094). This is now done
19         on a more general level (cursor.C).
20
21         * dociterator.[Ch] (forwardPos): add an optional argument
22         bool "ignorecollapsed" (default false), which lets forwardPos
23         skip collapsed insets.
24
25         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
26         (fixes bug 2241 and 2094).
27
28 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
29
30         * buffer.C: change tracking (dvipost) doesn't require
31         color.sty anymore.
32
33         * LaTeXFeatures.C (getPackages): no need for the color
34         option "usenames" (bug 2169).
35
36 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
37         * buffer_funcs.C: Trivial fix - added {} around
38         the statements to be affected by a if-test. Now
39         label in a minipage in a float looks ok on screen again.
40
41 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * text2.C: fix bug 2015: on screen fonts in nested environments 
44         can be wrong
45
46 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
47
48         * converter.C (convert): handle unknown formats
49
50 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * cursor.C (goUpDown): comment out some debug messages.
53
54         * counters.C (newCounter): make error messages more explicit
55         (these appear with some textclasses like beamer)
56
57 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * kbmap.C (defkey): 
60         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
61         have origin set to KEYBOARD. (bug 2221)
62
63 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
64
65         * rowpainter.C (isCursorOnRow): do not exclude endpos().
66
67 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * cursor.C (macroModeClose): returns true if an inset actually got
70         inserted; revert faulty fix to bug 2034.
71
72 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * tabular.C (getLabelList): remove (not used anymore).
75
76 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * outputparams.[Ch]: add new flag inComment
79
80 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * text2.C (deleteEmptyParagraphMechanism): since we delete a
83         paragraph, recordUndo should span two paragraphs (bug 2155).
84
85 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * rowpainter.C (paintPar): always repaint the row with the
88         cursor in it
89
90 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
91
92         * MenuBackend.h: 
93         * bufferlist.h: 
94         * lyxtext.h: 
95         * paragraph.h:
96         * vspace.h: fix syntax error
97
98 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * text3.C (dispatch): Force refresh if typing into inset changes its
101                               metrics
102
103 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * RowList_fwd.h:
106         * paragraph.C:
107         * paragraph.h:
108         * rowpainter.C: Speed up rendering by only re-painting rows that
109         have changed. When selection or whole-screen update active, all rows
110         are repainted, as are all rows within insets.
111
112 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
113
114         * version.C.in: Use PACKAGE_VERSION instead of VERSION
115
116 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * tabular.C (toggleFixedWidth): Use default layout of text class
119         instead of hardcoded "Standard"
120
121 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * lyxfunc.C (dispatch): do not call getStatus again to determine
124         whether a lfun is disabled (bug 2172).
125
126 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * cursor.C (macroModeClose): set the cursor inside the new math
129         atom if relevant (think \frac{}{}) (bug 2034)
130
131 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * lyxtext.h:
134         * text.C:
135         * text3.C (Delete, backspace): force update when merging paragraphs
136
137 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * BufferView.C (mouseSetCursor): clear the selection properly (bug
140         2163). 
141
142 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * text.C (redoParagraph): honor inset->noFontChange()
145         * rowpainter.C (paintInset): ditto
146
147 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * lyx_main.C (priv_exec): don't initialize Math on startup 
150         (initMath() has been moved to math_hullinset).
151
152 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
155         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
156         * paper.h: dispose dead PAPER_PACKAGES enum.
157
158 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
159
160         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
161         without X support.
162
163 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * exporter.C (Export): Don't try to copy a file if it does not exist
166         (bug 1888)
167
168 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * text2.C (makeFontEntriesLayoutSpecific): remove.
171         (setLayout): adapt.
172
173         * text.C (insertChar): remove bogus caching of fonts (did not do
174         anything). 
175
176         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
177         ALL_SANE). (bug 2146)
178
179 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * rowpainter.C (paintFirst): fix centering of
182         LABEL_CENTERED_TOP_ENVIRONMENT. 
183
184 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * BufferView.C (mouseSetCursor): new method. Calls
187         deleteEmptyParagraphMechanism if necessary.
188
189         * lyxtext.h: make deleteEmptyParagraphMechanism public.
190
191         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
192         BufferView::mouseSetCursor (bug 2109).
193         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
194
195 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
196
197         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
198         do not remove it (this inset behaves differently from the others).
199
200 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         Fix bug 2096.
203         
204         * BufferView_pimpl.C (getStatus): it is only possible to insert a
205         file in a text inset.
206
207         * buffer.C (readDocument): remove pit argument and code releated
208         to it; set the inset owner correctly (unrelated, but useful).
209         (readFile): get rid of pit argument.
210
211         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
212         textclass instead of a selection index.
213         (pasteParagraphList): new function.
214         (pasteSelection): make it a wrapper around pasteParagraphList.
215
216         * BufferView_pimpl.C (MenuInsertLyXFile): use
217         cap::pasteParagraphList to insert a file.
218
219 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
222
223 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
224
225         * exporter.C: fix typo in text message
226
227 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * text2.C (setLayout): move recUndo call to other setLayout method
230         * tabular.C (toggleFixedWidth): new, handle cell width changes
231         * tabular.C (setColumnPWidth): move some code from insettabular.C here
232         and use toggleFixedWidth
233         * tabular.C (setMColumnPWidth): ditto
234
235 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * paragraph.C (asString): use new inset->textString method (fix
238         bug 2089) 
239
240 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * CutAndPaste.C (numberOfSelections): new helper function.
243
244         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
245
246         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
247         LyXFunc::getStatus; implement LFUN_PASTE.
248
249 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
250
251         * dociterator.[Ch]: new member realInset() that returns the cell
252         for tabulars and the inset for the rest (bug 1952).
253         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
254         (bug 1952).
255
256 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
259
260 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
261
262         * lyxfunc.C:
263         * paragraph.C:
264         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
265         argument.
266
267 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
268
269         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
270         line after typing ctrl-enter
271
272 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
273
274         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
275         math insets do not return a proper editable() state yet (bug 2124).
276
277 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
280         docs containing very large paragraphs.
281
282 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * cursor.C (selectionBegin, selectionEnd):
285         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
286         cursor at different depths.
287
288 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
289
290         * bufferview_funcs.C (coordOffset): do not call cursorPos
291         for collapsed collapsables (fix bug 2094).
292
293 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * paragraph.C (fontSpan): make sure that the FontSpan does not
296         span across beginOfBody (bug 1947).
297
298 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
301
302 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
303
304         * messages.C: fix crash and localization on MinGW/Windows platform
305
306 2005-11-02  Angus Leeming  <leeming@lyx.org>
307
308         * Bidi.C:
309         * lyxtextclass.C: trivial fixes to some MSVS warnings.
310
311 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * text3.C (getStatus): re-enable disabled code. (bug 2081)
314
315         * BranchList.h (empty): constify.
316
317 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * text3.C (getStatus): 
320         * MenuBackend.C (expandBranches): take the branch list from the
321         master document (bug 2092).
322         
323         * MenuBackend.C (expandBranches): 
324         * bufferparams.C (writeFile): use BranchList type.
325
326 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * text3.C (dispatch, getStatus): 
329         * LyXAction.C (init): 
330         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
331
332 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
335
336 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * text.C (insertChar): do not reset boundary (bug 2061)
339
340 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * dociterator.C (updateInsets): new method. Updates the inset_
343         cache of all the slices of the iterator.
344
345         * text2.C (deleteEmptyParagraphMechanism): compare also containing
346         insets when comparing pit/pos; pass the right cursor to
347         recordUndo; when a paragraph has been deleted, compare `old.top()' to
348         the right cursor slice of `cur'; use updateInsets on cur to make
349         sure that the inset caches are correct; general cleanup.
350
351 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
354         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
355         containg inset. If this does not work, the same command will be
356         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
357
358         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
359         a dispatch.
360
361 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
362
363         * lyxtextclass.C (Read): convert layout file if the format is wrong
364         * lyxtextclass.C (layout2layout): new, needed for the above
365
366 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
367
368         * messages.C: do not forget to include <cerrno>.
369
370 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
371
372         * dociterator.h (StableDocIterator): add access to pos().
373         * undo.C (samePar): new method to check if two
374         iterators are in the same paragraph
375         * undo.C (recordUndo): check for samePar instead of cell identity
376         (which includes pos() and is too strict) (fixes bug 2097)
377
378 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         * text.C (setCursorFromCoordinates): return a bool telling whether
381         dEPM triggered.
382
383         * text3.C (cursorPrevious): update if needed after
384         setCursorFromCoordinates (when dEPM triggered).
385
386         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
387         (otherwise the anchor may be completely wrong and make dEPM assert).
388
389 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
390
391         * buffer.C: version upgrade to 245.
392         * bufferparams.C: remove \quotes_times (bug 2090).
393         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
394         quotation marks as default.
395
396 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * CutAndPaste.C (nrOfParagraphs): remove (unused)
399         * CutAndPaste.C (cutSelection): Remove debug message
400         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
401         undo information and only copy if this is a real cut
402         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
403         call
404         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
405         (bug 2059)
406         * CutAndPaste.C (eraseSelection): prevent cursor corruption
407         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
408         superflous cur.selection() setting
409         * CutAndPaste.[Ch] (grabSelection): take a const cursor
410         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
411
412 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
413
414         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
415         change anything.
416
417 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * BufferView_pimpl.C: comment layout change
420
421 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
422
423         * LyXAction.C:
424         * lfuns.h:
425         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
426         by bibliography managers (bug 2071).
427
428 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
429
430         * BufferView_pimpl.C (update): choose arguments to update call so
431         that single-par update works most times
432         * text3.C (dispatch): carefully tune updating separately for
433         whole-screen and current-paragraph
434         * rowpainter.C (paintText): 1) replace painting by caching for
435         the two extra paragraphs, because we can;
436         2) suppress greying out of areas below/above drawn area in case of
437         single-par refresh
438         * lyxfunc.C (dispatch): remove superfluous update
439         * LyXAction.[Ch]: introduce SingleParUpdate
440
441 2005-10-05  Angus Leeming  <leeming@lyx.org>
442
443         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
444         always initialised before use.
445
446         * text.C (setHeightOfRow): squash warning about comparison
447         of signed and unsigned types.
448
449 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
450
451         * text.C (cursorX): two fixes involving RtL text drawing
452
453 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
456         items, not only large ones (part of bug 2057)
457
458 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
461         argument, use "newcommand".
462
463 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
464
465         * cursor.C (setSelection): do not open collapsable insets;
466         the insets do by themselves now (autoopen).
467
468 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
469
470         * buffer.C: format is up to 244.
471
472 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
473
474         * text.C (redoParagraph): fix calcultation of inset width wrt 
475         leftMargin (bug 1957).
476
477         * text3.C (dispatch): leave inset to the right when hitting ESC 
478         (bug 2034).
479
480 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * text2.C: 
483         * text.C: 
484         * factory.C:
485         * messages.C: include <boost/current_function.hpp> 
486
487 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
490         when command is internal. (bug 1941)
491
492 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * text2.C (cursorRight): do not honor boundary when at the end of
495         a paragraph. (bug 2010 again)
496
497 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
500
501 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
502
503         * rowpainter.C (paintText): fix RtL space width display bug (2029)
504
505 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * text2.C (setCursor): remove the unused 'boundary' parameter for
508         the CursorSlice version; adapt the LCursor version.
509
510         * lyxrc.C (write): 
511         * paragraph_pimpl.C (markErased): 
512         * cursor.C (bruteFind2, bruteFond3): fix warnings.
513
514 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
517         as is already done for "chapter".
518
519 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
522         textclass; do not record undo if nothing is changed.
523
524 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
525
526         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
527
528 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
529
530         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
531
532 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
535         combox, it is necessary to search for the topmost paragraph in the
536         cursor stack (bug 1926)
537
538 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
541         end of paragraph. (bug 2010)
542
543 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
544
545         * text.C (leftMargin): check for inInset == 0
546
547 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
548
549         * text.C (leftMargin): test for insetbase's new neverIndent()
550         bool instead of listing each and every inset that does not
551         wish par indendation.
552
553 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * buffer_funcs.C (setCounter): put the code to compute enum label
556         here (where it belongs).
557
558         * counters.C (enumLabel): move code to buffer_funcs.C.
559
560 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
561
562         * outputparams.[Ch]: store local_font instead of local_language
563         * paragraph.C (simpleTeXOnePar): adapt to the change above
564
565 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
566
567         * buffer_funcs.C:
568         * counters.[Ch]: clean up special code for Hebrew.
569
570 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
573         than 2.
574
575 2005-09-08  Angus Leeming  <leeming@lyx.org>
576
577         * ispell.C:
578         * lyxrc.C: correct grammar describing invocation of the
579         spellchecker.
580
581 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
582
583         * text.C (read): remove unused variable.
584         (readParToken): remove static Change variable (never good in
585         recursive settings...); add it as a parameter instead.
586
587         * paragraph_pimpl.C (acceptChange): make debug info conditional.
588
589         * metricsinfo.C (PainterInfo): add new member erased_.
590
591         * rowpainter.C (RowPainter): add erased_ member, initialized from
592         PainterInfo. 
593         (paintInset): pass erased_ to Inset::draw.
594
595         * lyxfunc.C (lookupChange): new function. Tells whether change 
596         tracking is disabled at a given postion.
597         (getStatus): disable some actions when in deleted text with change
598         tracking. 
599
600 2005-08-03  John Levon  <levon@movementarian.org>
601         
602         * tabular.C (appendColumn, setMultiColumn): adapt to change to
603         InsetText::clear().
604
605         * paragraph_pimpl.C (markErased): add bool argument and handle it.
606         Also make sure to mark insets recursively.
607         (rejectChange, erase): be recursive
608
609         * paragraph.C (markErased): add bool argument.
610 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * lyxfind.C (findNextChange): tiny cleanup.
613
614         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
615         change tracking with the cursor in an inset; make sure the first
616         change is not skipped.
617
618 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
619
620         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
621         tabularStackDirty to work around bug 1919 (tabular needs
622         to know whether its own cell paste buffer or the one of 
623         texted is newer.
624         * CutAndPaste.C: mark tabular_stack_ clean after copy.
625
626 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
629
630 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
631
632         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
633         use old deleteion algorithm when changetracking is on.
634
635 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
636
637         * messages.C (get): add debug output.
638
639 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
640
641         * text.C (cursorX): fix bug 1965: cursor movement at
642         line end broken in RtL.
643         (drawSelection): fix bug 1970: drawing of single-line 
644         selection broken for RtL.
645
646 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         bug 465.
649
650         * dociterator.h (clear, push_back, pop_back): change from
651         protected to public.
652
653         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
654         and changed to just return the value of the item depth; take a
655         ParIterator as argument; take the itemdepth at outer nesting level
656         in account if necessary; cleanup and comment the code.
657         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
658         and changed to just return true if reset is needed; take a
659         ParIterator as argument; cleanup and comment the code.
660         (setCounter): adapt to above changes.
661
662 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * text3.C (dispatch): make debug message optional
665
666 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
669         inset. (bug 1963)
670
671 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
672
673         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
674
675 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
676
677         * text.C (insertChar):
678         * text2.C (deleteEmptyParagraphMechanism): take care whether 
679         a blank has been deleted (in change tracking mode) (bug 1254).
680
681 2005-07-20  John Levon  <levon@movementarian.org>
682
683         * text2.C (insertStringAsLines): remove old dubious code,
684         fixing bug 1939.
685
686 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * MenuBackend.C (expandToc): use Floating::listName() as title of
689         the floats submenus.
690
691 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
692
693         * toc.[Ch]: Do not use translatable strings (bug 1870).
694
695 2005-07-20  John Levon  <levon@movementarian.org>
696
697         * tabular.C: fix 1748 - setting multicolumn adds
698           left line to the first cell
699
700 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
701
702         bug 1920
703         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
704         pars in one go.
705
706 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
707
708         * messages.C: supress some lyxerr messages
709
710 2005-07-18  Juergen Vigna  <jug@lyx.org>
711
712         * text.C (drawSelection): honor boundary when asking for cursorX.
713
714 2005-07-17  José Matos  <jamatos@fc.up.pt>
715
716         * tabular.C (recalculateMulticolumns): fix handling of one column
717         tables.
718
719 2005-07-17  Juergen Vigna  <jug@lyx.org>
720
721         * text.C (Delete, backspace): fixed so that paragraph with the
722         same layout can be merged by Delete/Backspace.
723
724 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
725
726         * text.C (readParToken): fix spelling.
727
728 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
729
730         * text2.C: fix counter update for DEPM problem reported by
731         Georg Baum
732
733 2005-07-17  Juergen Vigna  <jug@lyx.org>
734
735         * BufferView_pimpl.C (setBuffer): save/restore the
736         cursor/selection when switching buffers
737
738         * buffer.h: 
739         * buffer.C (saveCursor): add saveDocumentIterators to save the
740         cursor when switching buffer.
741
742 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
743
744         * debug.C: fix typo
745         * buffer.C: clarify message
746         
747 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
748
749         * dociterator.C (DocIterator): fix initialization order
750
751 2005-07-17  Juergen Vigna  <jug@lyx.org>
752
753         * text2.C (cursorHome): 
754         * text.C (drawSelection, cursorX): 
755         * dociterator.C (textRow): add boundary to getRow() call
756
757         * paragraph.C (getRow): implementation of below
758
759         * paragraph.h: add parameter boundary for getRow() function
760
761 2005-07-17  José Matos  <jamatos@fc.up.pt>
762
763         * buffer.C:
764         * bufferparams.[Ch]:
765         * tex-strings.[Ch]: new file format, remove support for a4.sty,
766         a4wide.sty and a4widemargins.
767
768 2005-07-17  Juergen Vigna  <jug@lyx.org>
769
770         * text2.C (cursorLeft): fix one of error
771
772 2005-07-17  Juergen Vigna  <jug@lyx.org>
773
774         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
775                    cursorEnd):
776         more fixes for boundary handling
777
778         * text3.C (dispatch): don't reset cursor if boundary has changed
779         on cursor movement.
780
781 2005-07-16  Juergen Vigna  <jug@lyx.org>
782
783         * text2.C (getColumnNearX): hopefully got it right now,
784         check if we are on column 0 for special case.
785
786 2005-07-16  Juergen Vigna  <jug@lyx.org>
787
788         * text2.C (getColumnNearX): handle special case Newline Inset
789
790         * text.C (singleWidth): Just remove bogus check
791
792 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
793
794         * funcrequest.C (split): avoid reading uninitialized char c
795
796 2005-07-16  José Matos  <jamatos@fc.up.pt>
797
798         * buffer.C:
799         * converter.C:
800         * lyxrc.C:
801         * paper.h:
802         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
803         single papersize variable.
804
805 2005-07-16  Juergen Vigna  <jug@lyx.org>
806
807         * text3.C (dispatch): honor boundary when checking if a cursor
808         movement has been done
809
810         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
811         (setCursor, setCursorIntern): fix cursor movement with boundary
812
813 2005-07-16  Juergen Vigna  <jug@lyx.org>
814
815         * text.C (currentState): output the actual Boundary
816
817 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * factory.C (createInset): fix bad logic for tabular creation
820
821 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
822
823         * lyx_main.C (init): change some reLyX reference to tex2lyx
824
825 2005-07-16  Juergen Vigna  <jug@lyx.org>
826
827         * dociterator.C (DocIterator): initialize boundary
828
829 2005-07-16  Juergen Vigna  <jug@lyx.org>
830
831         * text2.C (getColumnNearX): Consider rows without trailing blank.  
832
833 2005-07-16  André Pönitz  <poenitz@gmx.net>
834
835         * lyxfont.h: Change order of declarations to give the compiler
836         a better chance to inline things
837
838         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
839         questions on unsaved docs for better scritability
840
841 2005-07-16  André Pönitz  <poenitz@gmx.net>
842
843         * paragraph.h (getChar): remove asserts as the same kind of security
844         can be achieved by using a suitable standard library implementation
845         and the function was in the critical path (25.9% in profiler)
846
847 2005-07-16  Juergen Vigna  <jug@lyx.org>
848
849         * cursor.C (bruteFind2):
850         * bufferview_funcs.C (coordOffset): 
851         * text.C (cursorX,cursorY): Handle cursor position after last char
852         in row before a inset which uses a whole row.
853
854 2005-07-15  José Matos <jamatos@lyx.org>
855
856         * output_plaintext.[Ch] (writeFileAscii): control reference title
857         printing.
858         (asciiParagraph): noparbreak was already deal and was incorrectly
859         used.
860
861 2005-07-15  Juergen Vigna <jug@lyx.org>
862
863         * lyxfunc.C (dispatch): save and restore the cursor after a
864         textclass switch.
865
866 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
867
868         * text.C (backspace): bug 806 for empty keepempty paragraphs we
869         change the layout to default before letting DEPM do its thing.
870
871         * paragraph_funcs.C (breakParagraph): dont reset the layout on
872         keepEmpty paragraphs
873
874         * text.C (setCursorFromCoordinates): add a debug statement
875
876         * text2.C (getColumnNearX): bug 1825 make sure that we don't
877         return a pos that is not on the row
878
879         * output_latex.C (TeXDeeper): get rid of potential dereferencing
880         of past the end iterator
881
882 2005-07-14  André Pönitz  <poenitz@gmx.net>
883
884         * undo.C (recordUndoFullBuffer): implement undo for
885         textclass switches
886
887 2005-07-14  André Pönitz  <poenitz@gmx.net>
888
889         * cursor.C (setSelection): open insets when selection is set there
890         to avoid crashs with cold coord cache
891
892 2005-07-14  André Pönitz  <poenitz@gmx.net>
893
894         * trans_mgr.C (insert): move cursor to the right after inserting
895         a char.
896
897 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
898
899         * BufferView_pimpl.C (update): dampen some of the debug blabbering
900         * factory.C (readInset): ditto
901         * text.C, text2.C: ditto
902
903 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
904
905         * buffer.C: format incremented to 242. There is no file format per
906         se, but the "frenchb" language has been removed from lib/language
907         and has to be translated to "french" by lyx2lyx.
908
909 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
910
911         * cursor_slice.h, dociterator.h: add some documentation
912         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
913
914 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
915
916         * text.C (leftMargin): do not add identation to display() style
917         insets, because they are always centered (bug 1293).
918
919 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
922         formatted_time methods in support/lyxtime.
923
924 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
925
926         * toc.[Ch]: new method getGuiName, which is used by the frontends 
927         to set the toc combo (fixes bug 1870). Make TOC string translatable.
928
929 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
930
931         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
932         StableDocIterator const &)
933         * undo.C (recordUndo): use the above instead of cell.size() comparison
934         (fixes bug 1808; instructed by Andr�.
935
936 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
937
938         * cursor_slice.h: 
939         * dociterator.h: Fix the assert when copying rows/cols in math
940
941 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
942
943         * BufferView_pimpl.C:
944         * LyXAction.C:
945         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
946
947         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
948         (findInset): new functions, refactored from goto Inset that return 
949         the position of a certain inset without setting the buffer's cursor
950         (by Jean-Marc); 
951         (gotoInset): rewrite to call findInset and then set the cursor
952         (by Jean-Marc).
953
954 2005-06-16  Angus Leeming  <leeming@lyx.org>
955
956         * lyxrc.C (output, read): wrap all input and output of paths with
957         calls to os::internal_path and os::external_path, respectively.
958         (output): wrap bind_file inside quotes.
959
960         * format.C (view): enable the viewer to use the '$$s' placeholder.
961
962 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
963
964         * LColor.[Ch] (getFromLaTeXName): new
965
966 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
969
970 2005-06-14  Angus Leeming  <leeming@lyx.org>
971
972         * lyx_main.C (init): ensure that the LyX binary dir is the first
973         element in the PATH on non-POSIX builds.
974
975 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
976
977         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
978
979 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * rowpainter.C (paintInset, paintHebrewComposeChar)
982         (paintArabicComposeChar, paintChars): add a LyXFont argument.
983         (paintChars): use getFontSpan to reduce calls to getFont to a
984         minimum; use Paragraph::lookupChange instead of isXXXText.
985         (paintForeignMark): rename LyXFont argument.
986         (paintFromPos): pass a LyXFont object to the various paintXXX
987         methods.
988
989         * FontIterator.C (FontIterator, operator++): use
990         Paragraph::getFontSpan
991
992         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
993         version that returns the font span as a pair.
994
995 2005-06-09  Angus Leeming  <leeming@lyx.org>
996
997         * converter.C (convert): Don't forget "outfile = real_outfile" as
998         the final step in a conversion where the input and output file names
999         are the same. Otherwise, future conversion steps won't work...
1000
1001 2005-06-09  Angus Leeming  <leeming@lyx.org>
1002
1003         * lyxsocket.C: remove stub code as it isn't needed by
1004         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1005
1006 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1007
1008         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1009         effectively disabled -x
1010
1011 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1012
1013         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1014         when it actually makes sense.
1015
1016 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * BufferView_pimpl.C: revert to showCursor in connection with
1019         Lars's front-end stack
1020
1021 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1022
1023         * text.C (redoParagraph): move cursor right after a bibitem
1024         has been inserted.
1025
1026         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1027
1028 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1031         error range.
1032
1033 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * BufferView.[Ch] (update):
1036         * BufferView_pimpl.[Ch] (update, metrics):
1037         * dimension.h (operator==):
1038         * lyxfunc.C (dispatch):
1039         * metricsinfo.h (ViewMetricsInfo):
1040         * rowpainter.C (paintText):
1041         * lyxtext.h:
1042         * text.C (redoParagraph):
1043         * text3.C (dispatch): Make LyX only repaint current paragraph in
1044         case of character insert --> speedup. Also fix cursor draw
1045         artifacts
1046
1047 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1050         avoid a crash (bug 1891)
1051
1052 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         Fix bug 1892:
1055
1056         * text2.C (getStringToIndex): constify cur argument.
1057
1058         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1059         argument has been given
1060         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1061         try to invoke LFUN_INSET_APPLY).
1062
1063         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1064         if no inset was created by doInsertInset
1065         (doInsertInset): return true if an inset has been inserted.
1066
1067 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1068
1069         * vspace.C (asGUIName): new method. A version of the space
1070         suitable for showing on screen.
1071
1072 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1073
1074         * MenuBackend.C:
1075         * lyxrc.C: rename "ASCII" to "Plain Text"
1076
1077 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1080         translate the labelstring.
1081         (setCounter): translate labelstring as needed.
1082
1083         * output_docbook.C (makeCommand): fix expandLabel invokation
1084
1085 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1086
1087         * BufferView.C: fix dialog title
1088
1089 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1090
1091         * lyx_main.C (priv_exec): fix logic error with help from Angus
1092         * lyx_main.C (parse_execute): set is_gui = false and remove now
1093         obsolete comment about a segfault
1094
1095 2005-05-18  Angus Leeming  <leeming@lyx.org>
1096
1097         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1098
1099 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * tabular.[hC]: added setCellInset to fix tabular paste.
1102
1103 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1104
1105         * buffer.C (save): check if destination is writable before trying
1106         to copy a file
1107
1108 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * BufferView_pimpl.C (update): fix processEvents -caused update
1111         recursion bug
1112
1113 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * buffer_funcs.C (setCounter): fix test for numbering of
1116         environments.
1117
1118         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1119         depth correctly; use optional argument when it exists
1120
1121         * lyxtextclass.C: remove unused MaxCounterTags enum
1122         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1123         (max_toclevel, min_toclevel): new methods.
1124
1125         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1126         the smallest depth in toc.
1127
1128         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1129         layouts that should not appear in a table of contents.
1130
1131 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * cursor.h (undispatched, noUpdate): add comments from Andr�
1134 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1135
1136         * lfuns.h:
1137         * LyXAction.C:
1138         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1139
1140 2005-05-07  André Pönitz  <poenitz@gmx.net>
1141
1142         * cursor.[Ch] (leaveInset): new function
1143
1144 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1145
1146         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1147
1148 2005-05-04  Angus Leeming  <leeming@lyx.org>
1149
1150         * lyxfunc.C (getStatus): disable the spell checker dialog if
1151         none of USE_[AIP]SPELL are defined.
1152
1153 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1154
1155         * tabular.C (setWidthOfCell): remove obsolete comment
1156
1157 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1158
1159         * paragraph.C (bibitem):
1160         * buffer_funcs.C (setCounter):
1161         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1162
1163 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1164
1165         * text3.C (getStatus): immediately return after setOnOff
1166
1167         * rowpainter.C: fix drawing of appendix start
1168
1169 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1170
1171         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1172         SwitchBetweenClasses and remove the unused return value.
1173         Handle character styles, too
1174
1175 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * factory.C (createInset): handle undefined character styles
1178
1179 2005-05-02  Angus Leeming  <leeming@lyx.org>
1180
1181         * buffer.C: protect the #include of utime.h with a preprocessor
1182         guard.
1183
1184 2005-05-02  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1187         function so that auto-saving works, albeit in a blocking manner.
1188
1189         * Makefile.am: make compilation of the client sub directory, of
1190         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1191         on conditionals set at configure time.
1192
1193         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1194         it can be compiled in its own right but has no-op functionality.
1195
1196         * aspell.C, pspell.C: remove preprocessor guards. The files should
1197         be compiled only if the necessary functionality exists.
1198
1199         * lyxserver.C, lyxsocket.C: disable on Windows.
1200
1201 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * text.C (leftMargin): Fix the parindent use bug (1764)
1204         by dirty trick
1205
1206 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1207
1208         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1209         argument.
1210
1211 2005-04-25  Angus Leeming  <leeming@lyx.org>
1212
1213         * Bidi.[Ch]:
1214         * coordcache.[Ch]:
1215         * ispell.C:
1216         * lyxserver.C:
1217         * mover.C:
1218         * pch.h:
1219         include <config.h> in .C files, not .h ones.
1220         add licence blurb.
1221         protect headers inside preprocessor guards.
1222
1223 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1224
1225         * FuncStatus.h (StatusCodes): document
1226
1227 2005-04-21  André Pönitz  <poenitz@gmx.net>
1228
1229         * FuncStatus.h (enabled, onoff): document
1230
1231 2005-04-19  Angus Leeming  <leeming@lyx.org>
1232
1233         * BufferView_pimpl.C (cursorToggle): no longer test whether
1234         any child processes have been reaped before calling
1235         handleCompletedProcesses().
1236
1237 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1238
1239         * text3.C (dispatch): fix, finally fix, the language problem in
1240         new lyxtexts, without disabling on-the-fly font changes (Helge's
1241         bug report)
1242
1243 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1244
1245         * text3.C (dispatch): set cursor on double/triple click events
1246         (bug 1811)
1247
1248 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1251         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1252
1253         * rowpainter.C (paintFirst): simplify the code a little bit. In
1254         particular, remove the test for secnumdepth.
1255         * text.C (setHeightOfRow): only allocate space for chapter number
1256         when updateCounters provided an actual label, instead of looking
1257         at secnumdepth directly.
1258
1259         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1260
1261         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1262         paragraphs when secnumdepth is large enough or, for environments,
1263         when they are not the first in a sequence.
1264
1265 2005-04-17  Angus Leeming  <leeming@lyx.org>
1266
1267         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1268         containing space and '~' characters with a call to latex_path().
1269
1270 2005-04-17  Angus Leeming  <leeming@lyx.org>
1271
1272         * converter.C (convert): protect all args of convertDefault.sh
1273         script with quotes.
1274
1275 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1276
1277         * text3.C (dispatch): change the layout to "Caption" after inserting
1278         a float.
1279
1280 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1281
1282         * text3.C (dispatch): fix language problem in newly created
1283         textinsets (and main text) in non-english docs
1284
1285 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1286
1287         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1288         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1289         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1290
1291 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1292
1293         * lyxtext.h:
1294         * text.C (metrics):
1295         * text2.C (getFont):
1296         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1297         fonts fix
1298
1299 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1300
1301         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1302         output of \item arguments without trailing text.
1303
1304 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * FontIterator.C (operator*): avoid a copy of the font.
1307
1308 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1309
1310         * rowpainter.C (getFont): fix language bug from previous fix
1311
1312 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * rowpainter.C (RowPainter, getFont): fix font inside inset
1315         (bugs 1766, 1809)
1316
1317 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1318
1319         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1320         preventing inserted font, deco, delim insets jumping to start of
1321         surrounding inset.
1322
1323 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1324
1325         * lyxfunc.C (dispatch): translate message before sending it to the
1326         minibuffer.
1327
1328 2005-03-29  Angus Leeming  <leeming@lyx.org>
1329
1330         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1331         to LyX on the command line.
1332
1333 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1334
1335         * vc-backend.C: use QuoteName to protect file names wherever
1336         necessary.
1337
1338 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1339
1340         * buffer.[Ch]:
1341         * BranchList.h: fix bugs 1844,1845: document settings don't
1342         stick
1343
1344 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1345
1346         * lyxrc.C (setDefaults, read, output, getDescription): add support
1347         for tex_allows_spaces.
1348
1349         * exporter.C (Export): allows files in directory containing spaces
1350         if tex_allows_spaces is true.
1351
1352         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1353         output it in double quotes.
1354
1355 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1356
1357         * rowpainter.C: use default text height for drawing change tracker
1358         strikeout lines.
1359
1360 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1361
1362         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1363
1364 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1365
1366         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1367         directory is missing.
1368
1369 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * text2.C: fixed the fix, extended to other case.
1372
1373 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1374
1375         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1376
1377 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * text2.C (cursorUp): get rid of a crash
1380         * text.C (x2pos): add an assert
1381
1382 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1385
1386         * text3.C:
1387         * lyxfunc.C:
1388         * dociterator.C: include <boost/current_function.hpp>, which is
1389         needed when assertions are disabled.
1390
1391 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1392
1393         * text2.C: fix for stuck cursor when traversing two
1394         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1395
1396 2005-02-25  Andreas Vox  <avox@arcor.de>
1397
1398         * output_docbook.C (makeParagraph): suppress trailing newline
1399         after a run of paragraphs
1400
1401 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1402
1403         * paragraph.C: fix for confused change tracker when pasting
1404         text that begins with a lineseparator. [bug 1827]
1405         (setChange(0, Change::INSERTED);)
1406
1407         * paragraph_funcs.C: fix for lost changes on triple-paste
1408         in change tracking mode [bug 1827] (par.setChange()).
1409
1410 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * text2.C (updateCounters, setCounter, expandLabel): move to
1413         buffer_funcs.
1414
1415         * buffer_funcs.C (updateCounters): turn into a free standing
1416         function and add a buffer parameter. Remove dead code for tracking
1417         labelstring change.
1418         (setCounter): change into a free-standing function which gets a
1419         dociterator as argument. Use this iterator to fix captions in a
1420         simple way. When no float is found above the caption, use the
1421         labelstring of the caption layout as default.
1422
1423         * text.C (breakParagraph, backspace):
1424         * text2.C (init, setLayout, changeDepth):
1425         * text3.C (dispatch):
1426         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1427         updateCounters.
1428
1429         * dociterator.C (forwardPar): make it much faster by calling
1430         forwardPos() only when really necessary.
1431
1432         * output_docbook.C (makeCommand): adapt to expandLabel move.
1433
1434         * cursor.C: remove unused variable
1435
1436 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1437
1438         * paragraph_funcs.C: fix crash when pasting insets in change
1439         tracking mode [bug 1277] (honour change type in moveItem).
1440
1441 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1442
1443         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1444
1445 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * BufferView.C (setCursor): change to use a DocIterator.
1448         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1449         (putSelectionAt): adapt to BufferView::setCursor change.
1450
1451         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1452         moved here from LyXText and rewritten to use proper cursor
1453         methods. Fixes bug 1787, 616 and 835.
1454
1455         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1456         when inside an inset (part of bug 781).
1457         (dispatch): adapt to change of BufferView::setCursor.
1458         (getStatus, dispatch): handle LFUN_GOTOERROR,
1459         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1460
1461         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1462         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1463         * text3.C (gotoNextInset, gotoInset): removed.
1464
1465 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1468
1469 2005-02-15  Angus Leeming  <leeming@lyx.org>
1470
1471         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1472         can be used meaningfully in a comparison.
1473
1474 2005-02-13  André Pönitz  <poenitz@gmx.net>
1475
1476         * bufferview_funcs.C (coordOffset): improve cursor drawing
1477
1478 2005-02-13  André Pönitz  <poenitz@gmx.net>
1479
1480         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1481         * Cursor.C (dispatch): use fixIfBroken
1482         * lyxfunc.C (getStatus): use fixIfBroken
1483
1484 2005-02-15  Angus Leeming  <leeming@lyx.org>
1485
1486         * lyx_main.C (error_handler):
1487         * lyxfunc.C:
1488         * lyxrc.C (setDefaults):
1489         s/GetEnv/getEnv/.
1490         #include "environment.h".
1491
1492         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1493
1494 2005-02-15  Angus Leeming  <leeming@lyx.org>
1495
1496         * lyxserver.C (startPipe): squash MSVC warning "local variable
1497         'fd' used without having been initialized".
1498
1499 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1500
1501         * BufferView_pimpl.C: revert accidental commit.
1502
1503 2005-02-14  André Pönitz  <poenitz@gmx.net>
1504
1505         * dociterator.[Ch]: new member forwardPosNoDescent(),
1506         which doesn't enter nested insets.
1507         * text2.C (setFont): use forwardPosNoDescent() instead
1508         of ForwardPos() (fixes crash on font change).
1509
1510 2005-02-13  Angus Leeming  <leeming@lyx.org>
1511
1512         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1513         only if lyxrc.path_prefix is not empty.
1514
1515 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1516
1517         * bufferparams.C (readGraphicsDriver): prevent crash
1518
1519 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1520
1521         * text2.C (setCounter): check for inInset() == 0
1522
1523 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1526         but use update() to get correct screen display; use convert
1527         instead of istringstream.
1528         (getStatus): handle LFUN_GOTO_PARAGRAPH
1529
1530         * lyxfunc.C (dispatch, getStatus): do not handle
1531         LFUN_GOTO_PARAGRAPH here.
1532
1533 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * text3.C (dispatch): size() -> depth()
1536
1537         * text2.C: remove some debug output
1538
1539         * paragraph.C: ws changes only
1540
1541         * lyxfunc.C (getStatus): size() -> depth()
1542
1543         * dociterator.h (clear, push_back, pop_back, internalData,
1544         operator[], resize, empty): new functions
1545         Make StableDocIterator and operator== be friends. Don't inherit
1546         from std::vector use a privat class variable slices_ instead.
1547         Modify to fit.
1548
1549         * dociterator.C: update because of not inheriting from std::vector
1550         anymore. Call explictly to slices_ instead. Use depth() instead of
1551         size() and top() instead of back()
1552
1553         * cursor.C: chagne size() -> depth and back() -> top(). Also
1554         remove some direct operator[](i) calls in favour of foo[i]
1555         (getFont): remove some dead code
1556
1557         * bufferview_funcs.C (coordOffset): size() -> depth()
1558
1559         * buffer.C: ws changes only
1560
1561         * CutAndPaste.C (eraseSelection): back() -> top()
1562
1563         * BufferView_pimpl.C (selectionRequested): back() -> top()
1564
1565         * BufferView.C (setCursor): size() -> depth()
1566
1567 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1568
1569         * text3.C (cursorPrevious): return true if depm changed something
1570         (cursorNext): ditto
1571         (dispatch): rename sl to oldTopSlice, remove moving use the new
1572         NoUpdate func attrib instead. Make sure that needsUpdate is set
1573         for function that have NoUpdate, but where depm might have changed
1574         the buffer anyway.
1575
1576         * text2.C (cursorLeft): make us return true if depm changed
1577         something
1578         (cursorRight): ditto
1579         (cursorUpParagraph): ditto
1580         (curosrDownParagraph): ditto
1581         (cursorUp, cursorDown): ditto, make sure to read comments in code
1582         (deleteEmptyParagraphMechanism): remove an assert, also return
1583         true if just a single char was deleted.
1584
1585         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1586         cursor that we modify, to avoid modifying an active cursor before
1587         we call setCursor. This allows depm to run. Also return true if
1588         depm deleted something.
1589
1590         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1591         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1592         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1593         something was changed in the buffer because of them (ie. depm run)
1594
1595         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1596         debug messages. Make update by default be false. Make sure that
1597         the result of update is retained throught several calls down to
1598         dispatch.
1599
1600         * LyXAction.h: add a new func_attrib: NoUpdate
1601
1602         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1603         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1604         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1605         and LFUN_WORDLEFT
1606         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1607
1608 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1611         bv_->owner(), bv_->buffer() by direct references to the private
1612         members.
1613         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1614         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1615         (fitCursor): center() is in BufferView::Pimpl.
1616         (getStatus, trackChanges, dispatch): no need for a temporary buf
1617         variable
1618         (fitCursor, workAreaDispatch): use workarea().workheight()
1619
1620 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1621
1622         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1623
1624 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1625
1626         * buffer.C: format up to 241.
1627         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1628         break if pasting into ERT
1629         * lyxfunc.C (getStatus): suppress mathpanel and
1630         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1631
1632 2005-02-01  Angus Leeming  <leeming@lyx.org>
1633
1634         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1635
1636 2005-02-01  Angus Leeming  <leeming@lyx.org>
1637
1638         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1639         calling fs::is_directory().
1640
1641 2005-01-31  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyx_main.C (priv_exec): specify explicitly the relative location
1644         of the top level build directory when run in-place.
1645
1646 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1647
1648         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1649         LyXText containing the cursor, not the top-level one.
1650
1651         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1652         true.
1653         (insertStringAsLines): rename par to pit; use temporary variable
1654         par to hold a Paragraph; do not store par.layout() in a variable,
1655         since the pointer may die when breaking paragraphs; pass pars to
1656         breakParagraph() instead of Buffer::paragraphs().
1657
1658 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1659
1660         * lyxlex_pimpl.h: #include <fstream>.
1661
1662         * BufferView.[Ch] (getLyXText): add a const version.
1663
1664         * BufferView_pimpl.C: add debug aids.
1665
1666         * RowList_fwd.h:
1667         * buffer.h:
1668         * lyxrow.h:
1669         * paragraph_funcs.h: add commentary explaining what the class does.
1670
1671
1672         * coordcache.[Ch]: add lots of commentary.
1673         (startUpdating, doneUpdating): debug aids.
1674         (arrays, insets, parPos, getParPos): accessors to private data.
1675
1676         * cursor_slice.[Ch] (text): add a const version.
1677         * dociterator.[Ch] (text, innerText): add const versions.
1678
1679         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1680         bool.
1681
1682         * paragraph.C (getRow, pos2ros): add asserts.
1683
1684         * paragraph.h: add commentary. Lots of.
1685
1686         * paragraph.[Ch] (metrucs, draw): removed.
1687
1688         * cursor.C:
1689         * rowpainter.[Ch]: const-correct changes.
1690
1691         * text.C: various obvious clean-ups. Removal of ancient cruft.
1692         Bug fixes, even.
1693
1694 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1695
1696         * vc-backend.C (find_file): rewrite to use boost.filesystem
1697         (scanMaster): ditto
1698
1699         * main.C (main): set default name check for boost.filesystem to
1700         no check
1701
1702         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1703         (open): ditto
1704         (doImport): ditto
1705         (actOnUpdatedPrefs): ditto
1706
1707         * lyx_main.C (init): rewrite to use boost.filesystem
1708         (queryUserLyXDir): ditto
1709
1710         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1711         (getContentsOfAsciiFile): ditto
1712
1713         * lastfiles.C (readFile): rewrite to use boost.filesystem
1714
1715         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1716
1717         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1718         (loadLyXFile): ditto
1719
1720         * buffer.C (Buffer): adjust for destroydir
1721         (getLogName): rewrite to use boost.filesystem
1722         (setFileName): ditto
1723         (save): use fs::copy_file (from fs_extras)
1724
1725         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1726
1727         * LaTeX.C (run): rewrite to use boost.filesystem
1728         (scanAuxFiles): ditto
1729         (handleFoundFile): ditto
1730
1731 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1732
1733         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1734
1735         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1736
1737 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1738
1739         * lyxlayout.[Ch]: change some vars from float to double
1740
1741         * buffer.C (readFile): make a local var const
1742
1743         * Several files: use convert<> instead of atoi,strToXXX and friends
1744
1745 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1746
1747         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1748         holds the contents of packages.lst. New functions getAvailable
1749         and isAvailable to parse and check that list, resp.
1750
1751         * LyXAction.C:
1752         * lfuns.h:
1753         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1754
1755         * bufferparams.[Ch]: new param output_changes.
1756
1757         * Buffer.C: increase file format to 240.
1758         Use output_changes and isVailable.
1759
1760         * changes.[Ch]:
1761         * paragraph.C:
1762         * paragraph_pimpl.C: Use output_changes and isVailable.
1763
1764 2005-01-23  Angus Leeming  <leeming@lyx.org>
1765
1766         * output_latex.C: #include "insetbibitem.h", rather than
1767         forward declare function bibitemWidest.
1768
1769 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1770
1771         * lyx_main.C (init): make it compile on the Mac.
1772
1773 2005-01-20  Angus Leeming  <leeming@lyx.org>
1774
1775         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1776         (setLyXMisc): (char string literal) != (char string literal) is
1777         performing a comparison on the addresses. Convert one operand
1778         explicitly to string to guarantee expected behaviour.
1779         From MSVC warning.
1780
1781 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1782
1783         * buffer.C:
1784         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1785
1786         * output_plaintext.C: remove unneeded #include gzstream.h.
1787
1788 2005-01-20  Angus Leeming  <leeming@lyx.org>
1789
1790         * SpellBase.h: rename some of the elements of the Result enum.
1791
1792         * aspell_local.h:
1793         * ispell.h:
1794         * pspell.h:
1795         * aspell.C (check):
1796         * ispell.C (check):
1797         * pspell.C (check): ditto
1798
1799 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1800
1801         * buffer.C: add #include <fstream>.
1802
1803         * lyx_main.C (init): Compile fix.
1804
1805         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1806
1807 2005-01-20  Angus Leeming  <leeming@lyx.org>
1808
1809         * mover.h: change commentary to reflect the changed meaning of
1810         the $$s placeholder.
1811
1812 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1815
1816         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1817
1818 2005-01-20  Angus Leeming  <leeming@lyx.org>
1819
1820         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1821         printing diagnostic data by not dereferecing an iterator past the
1822         end.
1823
1824 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1825
1826         * buffer.C (readHeader): use "&&" rather than "and".
1827
1828         * lyxserver.h (inPipeName, outPipeName): make these const.
1829
1830 2005-01-19  Angus Leeming  <leeming@lyx.org>
1831
1832         * lyx_main.C (error_handler, init): protect SIGHUP with
1833         #ifdef SIGHUP guards.
1834
1835 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1836
1837         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1838
1839 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1840
1841         * text.C (setHeightOfRow): add a margin at the top and bottom of
1842         the document (bug 1761)
1843
1844 2005-01-17  Angus Leeming  <leeming@lyx.org>
1845
1846         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1847         with "python ". Workaround for a brain-dead Windows.
1848
1849 2005-01-16  Angus Leeming  <leeming@lyx.org>
1850
1851         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1852         for MacOSX and Windows to use prependEnvPath.
1853         Strip out the hard-coded block to add elements to the PATH for
1854         MacOSX and replace it with a call to prependEnvPath using the
1855         contents of LyXRC::path_prefix.
1856         (queryUserLyXDir): strip out the code to run reconfigure, instead
1857         returning a boolean indicating the necessity to do so.
1858         (reconfigureUserLyXDir): contains the code to reconfigure the
1859         user support directory. Is now called after the various LyXRC data
1860         files have been read.
1861
1862         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1863
1864 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1865
1866         * converter.[Ch] (convert): take a new parameter try_default. Use
1867         a default converter (imagemagick) if try_default is true.
1868
1869 2005-01-13  Angus Leeming  <leeming@lyx.org>
1870
1871         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1872         os::cygwin_path_fix.
1873         (write): output LyXRC::cygwin_path_fix as necessary.
1874
1875 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1876
1877         * lyxrc.h:
1878         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1879
1880 2005-01-12  Angus Leeming  <leeming@lyx.org>
1881
1882         * lyx_main.C (init): set the PATH variable to include the
1883         directory containing the LyX binary when running on Mac or Windows.
1884
1885 2005-01-12  Angus Leeming  <leeming@lyx.org>
1886
1887         * lyx_main.C (init): remove cruft that purports to set the locale
1888         dir. It doesn't and is not needed anyway.
1889
1890 2005-01-10  Angus Leeming  <leeming@lyx.org>
1891
1892         * Makefile.am: remove the lyx_main.C special casing.
1893
1894         * BufferView_pimpl.C:
1895         * bufferlist.C:
1896         * exporter.C:
1897         * lyx_cb.C:
1898         * lyx_main.C:
1899         * lyxfunc.C:
1900         * messages.C: use support/package.h to provide the paths to the
1901         various directories used by LyX.
1902
1903 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1904
1905         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1906         layout if pasting into an empty paragraph)
1907
1908 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * tex-accent.C: add <string>
1911
1912 2005-01-06  José Matos  <jamatos@lyx.org>
1913
1914         * ParagraphParameters.C (write): put every parameter in its own line.
1915         * paragraph.C (write): reduce number of consecutive empty lines exported.
1916         * buffer.C (LYX_FORMAT): increase file format to 239.
1917
1918 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1919
1920         * everywhere: change support/tostr.h -> support/convert.h
1921
1922         * tabular.C: make all write_attributes templates, tostr -> convert
1923
1924         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1925         (emptyTag): and -> &&, and fix type for ret from getChar
1926         (getFirstWord): fix type for ret from getChar
1927         (onlyText): and -> &&
1928         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1929         getChar
1930
1931         * toc.C (goTo, action):
1932         * text3.C (dispatch):
1933         * text.C (currentState):
1934         * tex-accent.C (DoAccent):
1935         * sgml.C:
1936         * lyxrc.C:
1937         * lyxfunc.C (menuNew):
1938         * lyxfinc.C (replace):
1939         * counters.C (laberItem):
1940         * bufferview_funcs.C (font2string):
1941         * bufferparams.C (writeFile):
1942         * buffer.C (readFile):
1943         * Spacing.C (set):
1944         * MenuBackend.C: tostr -> convert
1945
1946         * LaTeX.C (runMessage): fix format
1947         (scanAuxFiles): tostr -> convert
1948
1949         * BufferView_pimpl.C (savePosition): fix format
1950         (restorePosition): ditto
1951         (dispatch): ditto
1952
1953 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1954
1955         * Spacing.[Ch]: New method getValueAsString().
1956
1957         * Spacing.[Ch]:
1958         * bufferparams.C:
1959         * ParagraphParameters.C:
1960         * lyxlayout.C:
1961         * text.C:
1962         * text3.C: store/read spacing value as string.
1963
1964         * rowpainter.C: change float value (spacing_val) to double.
1965
1966         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1967         broken custom document spacing).
1968
1969 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1970
1971         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1972         namespace, also more use of temp references and const
1973
1974         * cursor.[Ch] (getStatus): move to lyxfunc.C
1975
1976         * bufferparams.C: reformat slightly
1977
1978         * bufferview_funcs.C (font2string): constify arg
1979
1980         * changes.C:
1981         * converter.C:
1982         * counters.C:
1983         * bufferlist.C:
1984         * buffer_funcs.C: (many funcs): constify arg on function
1985         definitions, also make more local vars const, also add ASSERTS on
1986         pointer args.
1987
1988         * buffer.C (LYX_FORMAT): put const in correct place
1989         (many funcs): constify arg on function definitions, also make
1990         more local vars const
1991
1992         * aspell_local.h: remove "struct" from typdef setup
1993
1994         * aspell.C (check): make word_ok const
1995         (nextMiss): simplify slightly
1996         (error): ditto
1997
1998 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1999
2000         * lyxrc.[Ch]: store all float values as strings.
2001         use int (not float) for lyxrc.dpi.
2002
2003 2005-01-04  Angus Leeming  <leeming@lyx.org>
2004
2005         * lyx_cb.C (Reconfigure):
2006         * lyx_main.C (queryUserLyXDir):
2007         to run the <system_lyxdir>/configure correctly on Windows, prefix
2008         the path to the script with "sh " when generating the string that
2009         is passed to system().
2010
2011 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2012
2013         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2014
2015 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2016
2017         * lyxlength.C (asLatexString): get rid of setprecision
2018
2019 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2020
2021         * text2.C (setLayout): remove unused variable endpit.
2022         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2023
2024         * paragraph.C (onlyText): remove unused variable style.
2025
2026         * cursor.C (bruteFind): remove unused variables beg and end.
2027
2028         * Makefile.am (dist_noinset_DATA): not needed anymore
2029
2030         * cheaders/*: remove.
2031
2032 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2033
2034         * text3.C: fix LFUN_MATH_MODE.
2035
2036 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2037
2038         * buffer_funcs.C (countWords): new function. Counts words between
2039         two iterators.
2040
2041         * BufferView_pimpl.C (getStatus, dispatch): handle
2042         LFUN_WORDS_COUNT.
2043
2044         * LyXAction.C (init):
2045         * lfuns.h: add LFUN_WORDS_COUNT.
2046
2047 2004-12-19  Angus Leeming  <leeming@lyx.org>
2048
2049         * buffer.C (save): s/slashify_path/internal_path/.
2050
2051 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2052
2053         * lyxfind.C (findChange): do not search for end of pars, because
2054         the change tracker cannot handle this (fixes bug 1719).
2055
2056 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2057
2058         * paragraph.[Ch] (autoBreakRows): remove
2059
2060         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2061
2062         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2063         avoid using the paragraph one
2064
2065         * text2.C (LyXText, insertStringAsLines): adjust
2066
2067 2004-12-16  Angus Leeming  <leeming@lyx.org>
2068
2069         * bufferlist.C:
2070         * lyx_main.C:
2071         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2072
2073 2004-12-14  Angus Leeming  <leeming@lyx.org>
2074
2075         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2076
2077         * bufferlist.C (emergencyWrite):
2078         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2079         GetEnvPath("HOME").
2080
2081 2004-12-14  Angus Leeming  <leeming@lyx.org>
2082
2083         * main.C: (main): no longer pass pointers to os::init.
2084
2085 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2088         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2089
2090 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * lyxfunc.C:
2093         * text3.C: remove selection_possible global flag
2094
2095 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * text2.C (getSelectionSpan): remove
2098         (changeDepth, changeDepthAllowed): adjust
2099
2100 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2101
2102         * Makefile.am (BOOST_LIBS): use boost variables
2103
2104 2004-12-03  José Matos  <jamatos@lyx.org>
2105
2106         * buffer.C: format up to 238.
2107
2108 2004-12-03  José Matos  <jamatos@lyx.org>
2109
2110         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2111
2112 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * cursor.C (goUpDown): remove call to idxUpDown2
2115
2116 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2117
2118         * tabular.[Ch]: use size_t-like types for cell, row and column
2119         indices
2120
2121 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * lyxfunc.C (getStatus): do not lose previous information when
2124         calling BufferView::getStatus; do not set a default "Command
2125         disabled" message at the beginning, but just before returning.
2126
2127 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2128
2129         * cursor.h (getStatus): add better comment from src/cursor.C
2130
2131 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * text3.C (getStatus): return false when the lfun is not handled
2134
2135 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * broken_headers.h: remove
2138
2139         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2140
2141 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2144         offset_ref accessors
2145
2146         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2147         top_y_, merge fitcursor with update
2148         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2149         coord scheme
2150         (metrics): introduce
2151         (workAreaDispatch): adapt to new coord scheme
2152         (redoCurrentBuffer): remove
2153
2154         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2155
2156         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2157         CurStatus enum.
2158
2159         * coordcache.[Ch]: add paragraph cache and helpers
2160
2161         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2162         adjust everywhere
2163
2164         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2165         (targetX, setTargetX): introduce
2166
2167         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2168         baseline -> ascent, as the rest of lyx
2169
2170         * lyxtext.h: remove redoParagraphs, updateParPositions,
2171         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2172         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2173         have ascent/descent (ascent is ascent of first par)
2174
2175         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2176         step of BufferView
2177
2178         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2179
2180         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2181
2182         * pariterator.C: fix infinite loop introduced in par->pit renaming
2183
2184         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2185         in insets and LyXText, draw two off-screen paragraphs using
2186         NullPainter, and adapt to new coord scheme
2187
2188         * text.C:
2189         * text2.C:
2190         * text3.C: adapt lfun handlers to the new coord scheme, which
2191         means: there's only guaranteed coord information for onscreen pars
2192         plus one above and one below. This implies that one can do search
2193         from y coordinates in the range [-1,workHeight]
2194
2195 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2196
2197         * rename a lot of InsetOld to InsetBase
2198
2199 2004-11-25  Angus Leeming  <leeming@lyx.org>
2200
2201         * BufferView_pimpl.C:
2202         * lyx_cb.C:
2203         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2204
2205 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2206
2207         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2208         call BufferView::getStatus if LCursor::getStatus did nothing
2209         (setStatusMessage, getStatusMessage): removed.
2210
2211         * FuncStatus.C (message): new methods. Used to provide an error
2212         message indicating why a command is disabled.
2213         (clear, |=, FuncStatus): update for message.
2214
2215 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2216
2217         * lyxfunc.C (dispatch): always call sendDispatchMessage
2218
2219 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * BufferView.C:
2222         * BufferView_pimpl.C:
2223         * CutAndPaste.C:
2224         * FontIterator.C:
2225         * buffer.C:
2226         * cursor.C:
2227         * cursor_slice.[Ch]:
2228         * dociterator.[Ch]:
2229         * lyxfind.C:
2230         * paragraph_funcs.C:
2231         * pariterator.C:
2232         * rowpainter.C:
2233         * text.C:
2234         * text2.C:
2235         * text3.C:
2236         * undo.C: par->pit renaming
2237
2238 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2239
2240         * tabular.C (cellstruct): use initialization, store a shared_ptr
2241         to insettext instead of the insettext directly, adjust to fit.
2242         (operator=):  new function
2243         (swap): new function
2244         (rowstruct): use initialization
2245         (columnstruct): use initialization
2246         (ltType): use initialization
2247
2248
2249         * lyxlength.h (swap): new function
2250
2251         * LColor.[Ch] (operator=): use the common semantics
2252
2253 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * lyxfind.C (findNextChange): update the bufferview after setting
2256         the selection.
2257
2258 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2259
2260         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2261         number of InsetOptArgs has already been inserted.
2262
2263         * output_latex.C (latexOptArgInsets): new method. This outputs all
2264         the optarg insets, up to the limit defined in the layout file.
2265         (optArgInset): removed
2266         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2267
2268 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2269
2270         * paragraph.C (isLetter): remove special spellchecker-related
2271         code; return true also for digits
2272         (isWord, isKomma): remove
2273
2274         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2275         * lyxfind.C (MatchString()): use isLetter instead of isWord
2276
2277 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * pariterator.h (operatir=): comment out un-implemented member
2280         function.
2281
2282         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2283         static cast.
2284
2285 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * lyxfont.h: include LColor.h to satisfy concept checks.
2288
2289 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2290
2291         * pariterator.h: add typdefs for value_type, difference_type,
2292         pointer and reference to satisfy concept checks. Also add default
2293         constructor for same reason.
2294
2295         * pariterator.C (operator++): add post-increment operator to
2296         satisfy concept checks.
2297
2298         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2299         checks.
2300
2301         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2302
2303         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2304         checks. Also rename base_type to BaseType to follow naming
2305         standard better.
2306
2307         * FloatList.h: include Floating.h to satisfy concept checks.
2308
2309 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * lyxfunc.C (getStatus): when the origin of the request is menu or
2312         toolbar, and the LyXView does not have focus, do as if there was
2313         no buffer (bug 1720)
2314
2315         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2316         FuncRequest to individual entries of LFUN_SEQUENCE
2317
2318 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2319
2320         * output_latex.C (TeXOnePar): override runparams.moving_arg
2321         according to the needprotect value of the current paragraph (bug
2322         1739)
2323
2324         * paragraph.C (simpleTeXOnePar): no need to override
2325         runparams.moving_args here
2326
2327 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2328
2329         * vspace.C: fix off-by-one-error, related to fix #1682
2330
2331 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2332
2333         * lengthcommon.C: a more general fix for bug 1682
2334
2335 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2336
2337         * text.C (backspace): fix crash
2338
2339 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2340
2341         * format.[Ch] (getFormatFromFile): new method
2342         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2343
2344 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2345
2346         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2347
2348 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2349
2350         * lyxfunc.C (dispatch): remove the verbose argument
2351         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2352         instead
2353
2354         * kbmap.C (defkey): set the origin of func to KEYBOARD
2355
2356         * MenuBackend.C (MenuItem):
2357         * ToolbarBackend.C (add): set the origin of func to UI
2358
2359         * funcrequest.[Ch]: add origin member, which indicates which part
2360         of LyX requests an action
2361
2362 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2363
2364         * converter.C (move): don't lie in the error message
2365         * converter.h (isReachable, move): document
2366
2367 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * buffer.C: remove unused using lyx::support::atoi
2370         * paragraph_funcs.C: ditto
2371
2372 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * bufferlist.C (exists): use bind and equal_to instead of
2375         compare_memfun
2376         (getBuffer): ditto
2377         * lyxtextclasslist.C (NumberOfClass): ditto
2378
2379         * cursor.C (insert): use for_each instead of explicit for loop
2380
2381         * bufferlist.C (getFileNames): use std::transform and
2382         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2383
2384         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2385         for loop
2386
2387         * buffer.C (changeLanguage): use for_each instead of explicit for
2388         loop
2389         (hasParWithID): implement using getParFromID
2390
2391         * LaTeXFeatures.C: ws change only
2392
2393         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2394         to cleanup a bit.
2395
2396         * BufferView_pimpl.C (trackChanges): use for_each instead of
2397         expilicit for loop
2398
2399 2004-11-04  André Pönitz  <poenitz@gmx.net>
2400
2401         * undo.h:
2402         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2403
2404         * dociterator.C (asDocIterator): use hard assert again.
2405
2406 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * lyxlength.C (asLatexString): rewrite so that it does not use
2409         snprintf anymore
2410
2411 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * text3.C (specialChar, dispatch): make sure cursor moves to the
2414         right after inserting an inset
2415
2416 2004-11-02  José Matos  <jamatos@lyx.org>
2417
2418         * output_docbook.C (docbook):
2419         * paragraph.C (getID):
2420         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2421         garantee that the output is always legal.
2422
2423         * tabular.C (docbook):
2424         * outputprams.[Ch]: remove mixed contents.
2425
2426 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2427
2428         * text2.C (setCounter): prevent endless loop
2429
2430 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2431
2432         * exporter.C (copyFile): use the mover instead of support::copy()
2433         * exporter.C (Export): pass format and latex name to copyFile()
2434         * exporter.h (addExternalFile): document
2435         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2436
2437 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2438
2439         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2440
2441 2004-10-30  José Matos  <jamatos@lyx.org>
2442
2443         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2444         text and no inset or font change. This allows to use CDATA
2445         sections just for the whole paragraph.
2446
2447 2004-10-30  José Matos  <jamatos@lyx.org>
2448
2449         * paragraph.C (getFirstWord): remove unused variable.
2450
2451 2004-10-30  José Matos  <jamatos@lyx.org>
2452
2453         * paragraph.C (getFirstWord): the content should always be escaped
2454         there.
2455         (simpleDocBookOnePar):
2456         * output_docbook.C (makeEnvironment): replace reference to CDATA
2457         to style pass_thru.
2458
2459 2004-10-30  José Matos  <jamatos@lyx.org>
2460
2461         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2462
2463 2004-10-30  José Matos  <jamatos@lyx.org>
2464
2465         * output_docbook.C (makeParagraphs):
2466         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2467         standard paragraph has only a given type of content drop the wrapper.
2468
2469 2004-10-29  José Matos  <jamatos@lyx.org>
2470
2471         * output_docbook.C (makeEnvironment):
2472         * sgml.C (openTag):
2473         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2474
2475 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2476
2477         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2478         (cleanID): sanitize any id.
2479
2480 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2481
2482         * buffer.C, lyxlex_pimpl.C:
2483         * lyxlex_pimpl.C (setFile):
2484         s/getExtFromContents/getFormatFromContents/
2485
2486 2004-10-28  José Matos  <jamatos@lyx.org>
2487
2488         * output_docbook.C (makeEnvironment): move id to broadest possible
2489         scope.
2490
2491         * sgml.C (openTag): apply substitution of <> for all attributes.
2492
2493 2004-10-28  José Matos  <jamatos@lyx.org>
2494
2495         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2496         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2497         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2498
2499         * sgml.[Ch]: new version for open and closeTag for paragraph and
2500         for strings. Now they handle the ids of paragraphs.
2501
2502 2004-10-26  Angus Leeming  <leeming@lyx.org>
2503
2504         * Makefile.am: add mover.[Ch].
2505
2506         * converter.C (convert, move): use the new Movers to move external
2507         files to the temp directory.
2508
2509         * lyx_main.C (init): ensure that the global system_movers data
2510         is initialised.
2511
2512         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2513         preferences file.
2514
2515         * mover.[Ch]: new files, defining a Mover as a utility to move an
2516         external file between directories and, if necessary, manipulate this
2517         file using a helper script.
2518
2519 2004-10-25  José Matos  <jamatos@lyx.org>
2520
2521         * output_docbook.C (makeCommand): merge two if's that tested the
2522         same condition.
2523
2524 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2525
2526         * sgml.C (escapeString): fix warning in a better way
2527
2528 2004-10-25  José Matos  <jamatos@lyx.org>
2529
2530         * sgml.C (escapeString): import the require boosts header file for
2531         tie, and avoid a signed unsigned comparison.
2532
2533 2004-10-25  José Matos  <jamatos@lyx.org>
2534
2535         * sgml.h: add #include <string>
2536
2537 2004-10-25  José Matos  <jamatos@lyx.org>
2538
2539         * sgml.[Ch] (escapeString): new function to escape all the string.
2540
2541 2004-10-24  José Matos  <jamatos@lyx.org>
2542
2543         * paragraph.[Ch] (getFirstWord): new function to get the first
2544         word. Useful for description.
2545         (simpleDocBookOnePar): remove depth argument, add another that
2546         says where to start the paragraph.
2547
2548         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2549         use the new functions to fix cleanly the support for descriptions.
2550
2551 2004-10-24  José Matos  <jamatos@lyx.org>
2552
2553         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2554         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2555         * output_linuxdoc.C (linuxdocParagraphs):
2556         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2557         add buffer as argument.
2558
2559 2004-10-24  José Matos  <jamatos@lyx.org>
2560
2561         * output_docbook.C (makeEnvironment, searchEnvironment): place
2562         CDATA inside paragraphs and fix scope for listitems.
2563
2564 2004-10-24  José Matos  <jamatos@lyx.org>
2565
2566         * output_docbook.C: remove using statement for stack.
2567
2568 2004-10-23  José Matos  <jamatos@lyx.org>
2569
2570         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2571         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2572         docbook. The new scheme is recursive and makes use of iterators, the
2573         same as latex export works.
2574         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2575         directly with the paragraph contents. This code was moved up to
2576         output_docbook.C (docbookParagraphs).
2577         * sgml.C (openTag, closeTag): removed unneeded newlines.
2578         (closeEnvTags) removed.
2579
2580 2004-10-23  André Pönitz  <poenitz@gmx.net>
2581
2582         * undo.C (textUndoOrRedo):
2583         * dociterator.C (asDocIterator): work around crash
2584
2585         * cursor.C (getStatus): replace ASSERT by more verbose error message
2586           and manual correction of the problem. Should increase stability
2587           while providing more sensible information.
2588
2589 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2592
2593         * bufferlist.C (previous, next): new methods
2594
2595         * lfuns.h:
2596         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2597
2598 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2599
2600         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2601         entities to preamble.
2602
2603 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2604
2605         * messages.C (Pimpl): strip off translation context information
2606
2607 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2608
2609         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2610         the cursor is correct (bug 1694)
2611
2612 2004-10-13  José Matos  <jamatos@lyx.org>
2613
2614         * output_docbook.C (docbookParagraphs): fix closing tags in the
2615         end of the document.
2616
2617 2004-10-09  José Matos  <jamatos@lyx.org>
2618
2619         * buffer.C: format up to 237.
2620         * bufferparams.C (write): use tostr to convert booleans to strings.
2621
2622 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2623
2624         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2625
2626 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2627
2628         * LaTeX.C: implement use of babel language in xindy.
2629
2630 2004-10-05  José Matos  <jamatos@lyx.org>
2631
2632         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2633         Add new translators to help reading and writing the lyx file.
2634
2635 2004-10-05  José Matos  <jamatos@lyx.org>
2636
2637         * ParagraphParameters.C (read):
2638         * text.C (readParToken): replace nexToken by more appropriate lex
2639         methods.
2640
2641 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2642
2643         * LaTeX.C (runMakeIndex):
2644         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2645         (usually 'makeindex') configurable.
2646
2647         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2648         with a variable rather than with a number.
2649
2650 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2651
2652         * output_latex.C (TeXOnePar): make sure font setting is the first
2653         thing that gets output (and the last at the end). Should fix bug
2654         1404.
2655
2656 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * pch.h: use proper signal include
2659
2660         * LaTeX.h: Use preferred calling of Boost.Signal
2661         * buffer.h: ditto
2662
2663 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * pch.h: dont include <boost/function/function0.hpp>
2666
2667         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2668
2669         * paragraph_pimpl.h: remove usage of ShareContainer
2670
2671         * paragraph_pimpl.C: remove initialization of ShareContainer.
2672
2673 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         Fix bug #1666
2676
2677         * BufferView.C (putSelectionAt): change the semantics when
2678         backwards == true: now, this just swaps cursor and anchor wrt the
2679         forward case
2680
2681         * BufferView.h (putSelectionAt): add some documentation
2682
2683         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2684         make sure backwardChar is done at least once (to avoid getting
2685         stuck)
2686         (findNextChange): use putSelectionAt in the forward direction
2687         (operator()): use Paragraph::isWord
2688
2689 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2690
2691         * Spacing.C (set): c_str fix
2692
2693 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         * lyx_cb.C (Reconfigure): quote the name of configure script in
2696         case it contains spaces
2697
2698 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2699
2700         * client: new dir
2701
2702         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2703         (BOOST_LIBS): use top_buildir when looking for the file
2704
2705 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2706
2707         * pch.h: do not use include boost/format.hpp, multiple symbols
2708                 will result (gcc bug)
2709
2710
2711 2004-08-23  José Matos  <jamatos@lyx.org>
2712
2713         * bufferparams.C (readToken): fix reading of the author field.
2714
2715 2004-08-20  José Matos  <jamatos@lyx.org>
2716
2717         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2718
2719 2004-08-20  José Matos  <jamatos@lyx.org>
2720
2721         * lyxlex.[Ch] (findToken): remove function.
2722
2723         * ParagraphParameters.C (findToken):
2724         * bufferparams.C (findToken): replace call for previous function
2725         with local copy. This local function has one more argument, the
2726         read string argument.
2727
2728 2004-08-16  José Matos  <jamatos@lyx.org>
2729
2730         * ParagraphParameters.C (write):
2731         * Spacing.C (writeFile):
2732         * bufferparams.C (writeLaTeX):
2733         * lyx_cb.C (Reconfigure):
2734         * paragraph.C (write):
2735         * tabular.C (write): remove unnecessary space at end of line.
2736
2737
2738 2004-08-16  José Matos  <jamatos@lyx.org>
2739
2740         * text.C (readParagraph): remove debug message.
2741
2742 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2743
2744         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2745         crash
2746
2747         * output_plaintext.C (asciiParagraph): set depth correctly
2748
2749         * outputparams.h: add member depth
2750
2751         * paragraph_funcs.C (ownerPar): remove.
2752
2753         * text2.C (setCounter): remove first_pit; comment out some
2754         non-working code that uses ownerPar
2755
2756         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2757         uses ownerPar
2758
2759 2004-08-16  José Matos  <jamatos@lyx.org>
2760
2761         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2762         For the same level of importance use the same chanel to report problems.
2763         (read): add code to deal with \begin_body and \end_body.
2764
2765
2766 2004-08-15  José Matos  <jamatos@lyx.org>
2767
2768         * lyxlex.C (getString): fix comment, buffer::readBody is now
2769         buffer:readDocument.
2770
2771         * tex-strings.C (string_papersize): Default -> default,
2772         Custom -> custom, for consistency with other options.
2773
2774 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * pch.h: new file
2777
2778         * Makefile.am: support pch
2779
2780 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2781
2782         * text.C (readParToken): remove the static LyXFont variable and
2783         pass it as a parameter instead. This fixes a nasty bug where an
2784         inset will be inserted with a bad font in some situations
2785         (readParagraph): adapt
2786
2787         * text2.C (setCounter): reduce number of calls to pars_[pit]
2788
2789         * text.C (singleWidth): add an assert, fix a test
2790
2791         * rowpainter.C (paintText): reduce number of calls to singleWidth
2792
2793         * paragraph.C (isHfill):
2794         (isNewline): ws only
2795
2796 2004-08-14  André Pönitz  <poenitz@gmx.net>
2797
2798         * text.C:
2799         * text2.C:
2800         * rowpainter.C:
2801         * lyxtext.h (several functions): use a Paragraph & argument
2802         instead of par_type
2803
2804 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2807
2808         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2809
2810         * text.C (singleWidth): remove useless test
2811
2812 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * tabular.h: remove bogus comments
2815
2816         * tabular.C (getDescentOfRow):
2817         (isPartOfMultiColumn): add assertions
2818
2819         * lyxlength.C (inPixels): remove #warning
2820
2821 2004-08-14  André Pönitz  <poenitz@gmx.net>
2822
2823         * paragraph.h: inline getChar()
2824
2825         * BufferView.h: remove unused declarations
2826
2827 2004-08-14  José Matos  <jamatos@lyx.org>
2828
2829         * Buffer.[Ch] (readDocument): new name for old readBody.
2830         * Buffer.C: new file format, new keywords: \begin_document,
2831         \begin_header, \begin_body, \end_body.
2832
2833         * bufferparams.C (readToken): replace all calls to lex.nextToken
2834         by lex.next(). Do the same to eatLine except where really needed.
2835
2836         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2837         line when writing to the lyx file.
2838
2839         * output_plaintext.C (asciiParagraph): fix Bibliography style
2840         handling.
2841
2842         * text.C (read): fix end of file handling.
2843
2844 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * MenuBackend.C (Menu::operator[]): new method to access
2847         individual menu items
2848         (Menu::hasFunc): new method. search for an item that corresponds
2849         to a given func
2850         (MenuBackend::specialMenu): new method
2851         (MenuBackend::expand): if a special menu has been set, skip
2852         entries whose func() appears in this menu
2853
2854 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2855
2856         * text3.C: use Debug::DEBUG a bit more
2857
2858         * text.C (leftMargin): try to simplify a tiny bit change var x to
2859         l_margin. Dont output the wide margins always.
2860         (rightMargin): no margin in inner texts
2861
2862         * rowpainter.h (nestMargin): new func
2863         (changebarMargin): new func
2864         (rightMargin): new func
2865
2866         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2867         now functions.
2868         (paintLast): ditto
2869
2870         * factory.C (createInset): modify setDrawFrame
2871
2872         * cursor.C: use Debug::DEBUG a bit more
2873
2874 2004-08-14  André Pönitz  <poenitz@gmx.net>
2875
2876         * coordcache.[Ch]:
2877         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2878         cache for all insets in (at least partially) visible (top-level)
2879         paragraphs.
2880
2881         * BufferView_pimpl.C: reset external coord cache before every update.
2882         This means the coord cache only contains valid entries.
2883
2884 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2885
2886         bug 1096
2887         * BufferView_pimpl.C (getInsetByCode): move function out of class
2888         and change in to a template in anon namespace. Also fix to do what
2889         suits us better.
2890
2891 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2892
2893         bug 1305
2894         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2895         of char
2896         (breakParagraph): rename par to par_offset and use a local
2897         reference. Add code to keep the language over a rebreak.
2898         (breakParagraphConservative): rename par to par_offset, use a
2899         local reference
2900         (mergeParagraph): ditto
2901         (outerHook): ditto
2902         (isFirstInSequence): ditto
2903         (outerFont): rename pit to par_offset
2904
2905         * paragraph.C: ws change
2906         * paragraph.h: ditto
2907         * text3.C: ditto
2908         * text.C: ditto
2909
2910 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2911
2912         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2913         treatment for ']'
2914
2915         * paragraph.C (simpleTeXOnePar): when we have a \item with
2916         optional argument, enclose the argument with curly brackets (in
2917         case it contains a closing square bracket)
2918
2919         * text2.C (editXY):
2920         * text2.C (editXY):
2921         * text3.C (checkInsetHit): constify
2922
2923 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2926         documents (bug 1629)
2927
2928 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2929
2930         Fix toggling of collapsable insets with the mouse (bug 1558)
2931
2932         * lyxfunc.C (dispatch): adapt to LCursor changes
2933
2934         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2935         make sure that dispatch is not invoked twice
2936
2937         * cursor.C (needsUpdate): new method
2938         (dispatch): return void
2939         (result): new method, to access the DispatchResult of the cursor.
2940
2941 2004-08-13  José Matos  <jamatos@lyx.org>
2942
2943         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2944
2945 2004-08-13  André Pönitz  <poenitz@gmx.net>
2946
2947         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2948
2949         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2950           multiple cells
2951
2952 2004-08-12  André Pönitz  <poenitz@gmx.net>
2953
2954         * text3.C: take out the 'cursor right' form insertInset and only
2955         do it in those places when it is really needed. Fixes crash on
2956         C-m...
2957
2958 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2959
2960         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2961
2962         * BufferView_pimpl.C (setBuffer): initialize the current font of
2963         the underlying LyXText
2964
2965 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2966
2967         * kbsequence.C (print): use UI native formatting for menu
2968         shortcuts
2969
2970         * text.C (insertChar): call Paragraph::insertChar with a font
2971         argument (cosmetic)
2972
2973         * paragraph.C (insertInset, insertChar): the version that takes a
2974         LyXFont argument is now a wrapper around the other one (the
2975         opposite used to be true).
2976
2977         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2978         argument. Font setting is done in Paragraph now.
2979
2980 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * outputparams.h: add new members intitle and lang.
2983
2984         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2985         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2986
2987 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * text3.C (dispatch): remove special handling of button 4 and 5,
2990         it is now taken care of in the frontend code.
2991
2992 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2993
2994         * Spacing.h: add <string> (STLPort compile fix)
2995
2996 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2997
2998         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2999
3000 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3001
3002         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3003         to bool.
3004
3005         * converter.C (showMessage): inherit from unary_function, make
3006         operator() const.
3007
3008         * buffer.C (writeFile): initialize retval
3009
3010         * InsetList.h: rename private variable list to list_
3011         * InsetList.[Ch]: adjust accordingly.
3012
3013 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3016         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3017         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3018         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3019         * ParagraphParameters.C, LaTeXFeatures.C: replace
3020         "support/std_sstream.h" with <sstream>
3021
3022 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3025         * lyxsocket.C (LyXServerSocket): ditto
3026         (serverCallback): ditto
3027
3028 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3029
3030         * LaTeXFeatures.C: check release date when loading jurabib.
3031
3032 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * lyxserver.C (startPipe): call register_socket_callback
3035         (endPipe): call unregister_socket_callback
3036
3037 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3040         (LyXServerSocket): register the callback
3041         (LyXServerSocket): unregister the callback
3042         (fd): delete function
3043         (serverCallback): improve error checking and setup the callbacks.
3044         (dataCallback): change arg to fd.
3045         (writeln): new func (copied fro the client socket) used for server
3046         write to client.
3047         (LyXDataSocket): simplify
3048         (~LyXDataSocket): close ann unregiser callback
3049         (server): delete function
3050         (fd): delete function
3051         (readln): small changes, improve some std::string usage
3052         (writeln): constify a bit
3053
3054 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3057         Qt frontend
3058
3059 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3060
3061         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3062         after it has been populated
3063
3064 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3065
3066         * text2.C (insertInset): move cursor when inserting inset.
3067
3068 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3069
3070         * kbmap.C (findbindings): a couple of new methods. returns a
3071         container of kb_sequence objects. The real work is done by the
3072         private recursive version
3073         (printbindings): uses findbindings to print out a bracketed list
3074         of bindings (renamed from findbinding).
3075
3076         * MenuBackend.C (binding): use kb_keymap::findbindings
3077
3078         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3079
3080 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3081
3082         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3083
3084 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3085
3086         * paragraph.C (isWord): return true on insets that report
3087         isLetter().
3088
3089         * text.C (getWord): use Paragraph::isWord to decide what is in a
3090         word and what is not; fix bug 1609.
3091
3092 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3093
3094         * tex-strings.C: add "none" to string_paperpackages[], fixes
3095         off-by-one-error in the paperpackage selection.
3096
3097         * lyxlex.[Ch]:
3098         * tex-strings.[Ch]: char const * string[n]
3099         -> char const * const string[]
3100
3101 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3102
3103         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3104         command, return early.
3105
3106 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3107
3108         * debug.h: add DEBUG to enum and fix size of ANY.
3109
3110         * debug.C: add support for Debug::DEBUG
3111         (showTags): cast errorTags.level to unsigned int
3112
3113         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3114         (redoCurrentBuffer): ditto
3115         (updateScrollbar): ditto
3116         * cursor.C (dispatch): ditto
3117         * text2.C (setLayout): ditto
3118         (setFont): ditto
3119         (updateCounters): ditto
3120         (editXY): ditto
3121         (deleteEmptyParagraphMechanism): ditto
3122
3123 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3126         annotations to cleanup the Makefile slightly.
3127
3128 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3129
3130         * lyxrc.C: do not set user_email to a default value but use empty
3131         instead. The entry used to be translated, which does not work
3132         since at the point where lyxrc is constructed there is no
3133         translation service available
3134
3135         * messages.C (getLocaleDir): remove and use directly
3136         lyx_localedir() instead
3137
3138 2004-06-02  Angus Leeming  <leeming@lyx.org>
3139
3140         Fix crash caused by dereferencing null pointer 'exportdata' in
3141         OutputParams by creating a new ExportData variable on the heap,
3142         storing it in a boost::shared_ptr.
3143         The crash was triggered when generating an Instant Preview
3144         of an external inset.
3145
3146         * Makefile.am: add outputparams.C
3147
3148         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3149         (c-tor): allocate memory to it.
3150
3151         * exporter.C (c-tor): associated changes.
3152
3153 2004-06-01  Angus Leeming  <leeming@lyx.org>
3154
3155         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3156         contains data before calling isInset(0). (Bug 1513.)
3157
3158 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3159
3160         * exporter.C (checkOverwrite): new method
3161         * exporter.C (copyFile): new method
3162         * exporter.C (Export): copy referenced files to the document dir
3163         * exporter.[Ch]: new class ExportedFile
3164         * exporter.[Ch]: new class ExportData. Contains currently the
3165         names of referenced external files
3166         * outputparams.h: add exportdata member.
3167
3168 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3171         version.C-tmp
3172
3173 2004-05-19  Angus Leeming  <leeming@lyx.org>
3174
3175         * LaTeXFeatures.C:
3176         * ToolbarBackend.C:
3177         * bufferparams.C:
3178         * lyxfunc.C: small changes due to the introduction of namespace
3179         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3180
3181 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3182
3183         * text3.C (dispatch): supress update when only moving the cursor
3184         * cursor.C (selHandle): remove commented code
3185
3186 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3187
3188         * paragraph.C (startTeXParParams): correct column count
3189         * CutAndPaste.C (pasteSelection): remove const_cast
3190         * output_docbook.C (docbookParagraphs): remove const_cast
3191         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3192         const_cast and return ParagraphList::const_iterator
3193         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3194         * output_plaintext.C (writeFileAscii): remove const_cast
3195         * paragraph.[Ch] (simpleTeXOnePar): make const
3196         * paragraph_funcs.C (outerPar): use const iterators
3197         * paragraph_pimpl.C (validate): use const iterators
3198         * text.C (setHeightOfRow): use const iterators
3199
3200 2004-05-17  Angus Leeming  <leeming@lyx.org>
3201
3202         * lfuns.h:
3203         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3204
3205         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3206         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3207         if the citation engine has changed.
3208
3209 2004-05-14  José Matos  <jamatos@lyx.org>
3210
3211         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3212         if the textclass does not provide it. Have it different for sgml and
3213         xml.
3214         support the language of document.
3215         * output_docbook.C (docbookParagraphs):
3216         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3217         first anchor as the id of the paragraph, remove special case code.
3218         * sgml.C (escapeChar): escape only < & >.
3219
3220 2004-05-14  Angus Leeming  <leeming@lyx.org>
3221
3222         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3223         dependencies on src/frontends/controllers/biblio.h. Define a
3224         CiteEngine_enum wrapper class to enable the enum to be forward
3225         declared.
3226
3227 2004-05-12  Angus Leeming  <leeming@lyx.org>
3228
3229         * buffer.C: up LYX_FORMAT to 234.
3230         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3231         use_numerical_citations with a single biblio::CiteEngine cite_engine
3232         variable.
3233         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3234
3235 2004-05-13  José Matos  <jamatos@lyx.org>
3236
3237         * converter.h:
3238         * converter.C (Converter, readFlags): add xml member.
3239         * outputparams.h: add XML flavor.
3240         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3241
3242 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3243
3244         * lyxfunc.C (dispatch):
3245         (getStatus): fix handling of LFUN_SEQUENCE
3246
3247 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3248
3249         * debug.C (showLevel): do not forget the end-of-line marker
3250
3251 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3252
3253         * kbmap.C (read): do not stop parsing a bind file when an error
3254         occurs (bug 1575)
3255
3256 2004-04-29  Angus Leeming  <leeming@lyx.org>
3257
3258         * cursor.C:
3259         * factory.C:
3260         * pariterator.C:
3261         * text2.C: wrap a bunch of #warning statements
3262         inside #ifdef WITH_WARNINGS blocks.
3263
3264 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3265
3266         * buffer.C: increment format to 233.
3267
3268 2004-04-28  Angus Leeming  <leeming@lyx.org>
3269
3270         * BufferView_pimpl.C:
3271         * lyxfunc.C:
3272         * text3.C:
3273         s/updateToolbar()/updateToolbars()/
3274         s/Toolbar.h/Toolbars.h/
3275
3276 2004-04-28  Angus Leeming  <leeming@lyx.org>
3277
3278         * BufferView.[Ch] (c-tor):
3279         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3280         No longer passes these data to the WorkArea generator.
3281
3282 2004-04-28  Angus Leeming  <leeming@lyx.org>
3283
3284         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3285
3286 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3287
3288         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3289
3290 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3291
3292         * output_latex.C (TeXEnvironment): make sure that there is a line
3293         break before \end{foo} for the last paragraph of a document
3294         (TeXOnePar): if the paragraph is at the end of the document (or
3295         inset) and the language has to be reset, then make sure that the
3296         line break is _before_ the language command, not after (fixes bug
3297         1225); also make sure that the language reset command is the first
3298         thing after the paragraph (to ensure proper nesting of
3299         environments and thus fix bug 1404)
3300
3301 2004-04-21  John Levon  <levon@movementarian.org>
3302
3303         * ToolbarBackend.h:
3304         * ToolbarBackend.C: make "name" be a programmatic name
3305         and a gui_name field.
3306
3307         * lyxfunc.C: display the minibuffer on M-x
3308
3309 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3310
3311         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3312         (bug 1526)
3313
3314 2004-04-19  Angus Leeming  <leeming@lyx.org>
3315
3316         * BufferView_pimpl.C (setBuffer): changed preview interface.
3317
3318         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3319         possible values.
3320
3321 2004-04-19  John Levon  <levon@movementarian.org>
3322
3323         * BufferView_pimpl.C:
3324         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3325
3326 2004-04-05  Angus Leeming  <leeming@lyx.org>
3327
3328         * text.C (redoParagraphs): add call to updateCounters(), thereby
3329         fixing the missing "Figure #:" label from the caption of a
3330         figure float.
3331
3332 2004-04-13  Angus Leeming  <leeming@lyx.org>
3333
3334         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3335         cursor is clicked out of an inset.
3336
3337 2004-04-13  Angus Leeming  <leeming@lyx.org>
3338
3339         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3340         than an InsetOld one.
3341
3342 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3343
3344         * format.[Ch]: add editor to Format
3345         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3346         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3347
3348 2004-04-08  André Pönitz  <poenitz@gmx.net>
3349
3350         * metricsinfo.h: remove PainterInfo::width member
3351
3352 2004-04-08  Angus Leeming  <leeming@lyx.org>
3353
3354         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3355         "\providecommand" rather than "\newcommand", thereby preventing
3356         clashes with packages that define "\boldsymbol" themselves.
3357         Eg, beamer.
3358
3359 2004-04-08  Angus Leeming  <leeming@lyx.org>
3360
3361         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3362         thereby squashing an unnecessary warning.
3363
3364 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3365
3366         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3367         setBuffer()
3368
3369 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * BufferView.C (setCursor): call redoParagraph (some insets could
3372         have been opened)
3373         (putSelectionAt): remove the 'double update' trick
3374
3375         * BufferView_pimpl.C (fitCursor): call refreshPar
3376         (workAreaDispatch): remove an uneeded update call
3377         (dispatch): remove some manual update calls
3378
3379         * cursor.[Ch]: remove cached_y_, updatePos
3380         (selHandle): set noUpdate when appropriate
3381
3382         * lyxfunc.C (dispatch): track if we need an update
3383
3384         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3385
3386         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3387         (paintSelection): cheap optimization, do not call cursorX when not
3388         needed
3389         (paintPars): change signature
3390         (refreshPar): add
3391         (paintText): adjust
3392         (paintTextInset): adjust
3393
3394         * text.C: adjust
3395
3396 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3397
3398         * lengthcommon.C: compilation fix: remove explicit array size from
3399         unit_name[] and friends
3400
3401 2004-04-05  Angus Leeming  <leeming@lyx.org>
3402
3403         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3404
3405         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3406         present only for the preferences dialog.
3407         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3408
3409 2004-04-05  Angus Leeming  <leeming@lyx.org>
3410
3411         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3412         to enable the frontends to export changes to lyxrc correctly.
3413
3414         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3415
3416 2004-04-07  André Pönitz  <poenitz@gmx.net>
3417
3418         * cursor.[Ch] (selClear, adjust): remove math
3419
3420         * cursor_slice.C: more agressive assert
3421
3422         * lyxfunc.C:
3423         * BufferView_pimpl.C: rework mouse event dispatch
3424
3425         * dociterator.C:
3426         * paragraph.C:
3427         * text2.C:
3428         * text3.C: adjust
3429
3430 2004-04-05  André Pönitz  <poenitz@gmx.net>
3431
3432         * cursor.[Ch] (valign, halign...): remove unneeded functions
3433
3434 2004-04-05  Angus Leeming  <leeming@lyx.org>
3435
3436         * lyxlength.[Ch] (unit_name et al.): const-correct.
3437
3438 2004-04-05  Angus Leeming  <leeming@lyx.org>
3439
3440         * BufferView_pimpl.C:
3441         * buffer.C:
3442         * counters.C:
3443         * cursor.C:
3444         * lyxfunc.C
3445         * paragraph.C:
3446         * pariterator.C:
3447         * text.C:
3448         * text2.C:
3449         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3450
3451 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3452
3453         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3454
3455 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3458         * BufferView_pimpl.[Ch] (getStatus)
3459         * BufferView.[Ch] (getStatus): add
3460         * lyxfunc.C (getStatus): move lfuns handled in
3461         BufferView::dispatch to te function above
3462         * Cursor.C (setSelection): set selection() = true
3463
3464 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3465
3466         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3467
3468 2004-03-31  Angus Leeming  <leeming@lyx.org>
3469
3470         * lyxfunc.C (dispatch): Fall through to the generic
3471         Dialogs::show("preamble").
3472
3473 2004-03-31  Angus Leeming  <leeming@lyx.org>
3474
3475         * lyxfunc.C (dispatch): Fall through to the generic
3476         Dialogs::show("spellchecker").
3477
3478 2004-03-31  Angus Leeming  <leeming@lyx.org>
3479
3480         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3481         preferences dialog.
3482
3483 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * BufferView.C
3486         * cursor.[Ch]
3487         * dociterator.[Ch]:
3488         * insetiterator.[Ch]:
3489         * lyxfind.C:
3490         * lyxfunc.C:
3491         * pariterator.[Ch]:
3492         * text2.C:
3493         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3494
3495 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3496
3497         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3498         insets where we are putting the cursor.
3499
3500 2004-03-31  Angus Leeming  <leeming@lyx.org>
3501
3502         * lfuns.h:
3503         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3504
3505         * lyxrc.[Ch] (read, write): overloaded member functions taking
3506         a std::[io]stream arguments.
3507
3508         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3509
3510 2004-03-31  Angus Leeming  <leeming@lyx.org>
3511
3512         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3513         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3514
3515         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3516         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3517
3518 2004-03-31  Angus Leeming  <leeming@lyx.org>
3519
3520         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3521         the LFUN_ALL_INSETS_TOGGLE code.
3522
3523 2004-03-30  Angus Leeming  <leeming@lyx.org>
3524
3525         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3526         has died. Fall through to the generic Dialogs::show("document").
3527
3528 2004-03-30  Angus Leeming  <leeming@lyx.org>
3529
3530         * lfuns.h:
3531         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3532         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3533
3534         * lyxfunc.C (getStatus, dispatch): define the actions for these
3535         lfuns. Little more than a cut and pste job from ControlDocument.C
3536
3537         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3538
3539 2004-03-30  Angus Leeming  <leeming@lyx.org>
3540
3541         * lfuns.h:
3542         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3543         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3544
3545         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3546         open/closed state of ollapsable insets. Usage:
3547
3548         all-inset-toggle <state> <name>, where
3549         <state> == "open" || "closed" || "toggle" and
3550         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3551
3552         * lyxtext.h, text2.C (toggleInset): removed.
3553
3554         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3555         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3556         now passes LFUN_INSET_TOGGLE to the found inset.
3557
3558         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3559         is now invoked as "all-insets-toggle toggle branch".
3560
3561 2004-03-30  Angus Leeming  <leeming@lyx.org>
3562
3563         * dociterator.C:
3564         * insetiterator.C:
3565         * pariterator.[Ch]: added/corrected header blurb.
3566
3567 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3568
3569         * dociterator.[Ch]: add an inset_ member
3570         (backwardPos): implemented
3571         (backwardPos, forwardPos): use inset_ when the stack is empty.
3572         (doc_iterator_begin, doc_iterator_end): implemented
3573         * pariterator.[Ch]: adjust, add begin, end
3574         * insetiterator.[Ch]: adjust, add begin, end
3575         * cursor.C:
3576         * document.C:
3577         * BufferView.C:
3578         * BufferView_pimpl.C:
3579         * CutAndPaste.C: adjust
3580
3581 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3582
3583         * buffer.C: increment file format to 232.
3584         * LaTeXFeatures.C: add bibtopic package.
3585         * bufferparams.[Ch]: param \use_bibtopic.
3586
3587         * lyxrc.[Ch]: add lyxrc bibtex_command
3588         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3589
3590         * buffer.C: increment file format to 231.
3591
3592 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3593
3594         * dociterator.C: implement forwardPar
3595         * iterators.[Ch]: remove, replaced by
3596         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3597         * BufferView.C:
3598         * BufferView_pimpl.C:
3599         * CutAndPaste.C:
3600         * buffer.C:
3601         * bufferview_funcs.C:
3602         * cursor.C:
3603         * lyxfind.C
3604         * lyxfunc.C
3605         * paragraph_funcs.C
3606         * toc.C:
3607         * Makefile.am: adjust
3608
3609 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * CutAndPaste.C (pasteSelection): fix 2 crashes
3612         (eraseSelection): fix a crash
3613         * paragraph_funcs.C: remove a warning
3614
3615 2004-03-28  Angus Leeming  <leeming@lyx.org>
3616
3617         * lfuns.h:
3618         * LyXAction.C (init): new LFUN_PRINT.
3619
3620         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3621
3622 2004-03-27  Angus Leeming  <leeming@lyx.org>
3623
3624         * lfuns.h:
3625         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3626
3627         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3628
3629 2004-03-27  Angus Leeming  <leeming@lyx.org>
3630
3631         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3632         insetlist always contains non-null pointers to insets.
3633
3634 2004-03-26  Angus Leeming  <leeming@lyx.org>
3635
3636         * src/BufferView_pimpl.C:
3637         * src/CutAndPaste.C:
3638         * src/buffer.C:
3639         * src/iterators.C:
3640         * src/output_plaintext.C:
3641         * src/outputparams.h:
3642         * src/paragraph_funcs.C:
3643         * src/rowpainter.C:
3644         * src/text.C:
3645         * src/text2.C:
3646         * src/frontends/controllers/ControlErrorList.C:
3647         * src/frontends/gtk/FileDialogPrivate.C:
3648         * src/frontends/gtk/GPainter.C:
3649         * src/frontends/gtk/GToolbar.C:
3650         * src/frontends/qt2/QRef.C:
3651         * src/mathed/math_scriptinset.C: squash compiler warnings.
3652
3653 2004-03-26  Angus Leeming  <leeming@lyx.org>
3654
3655         * ispell.C (LaunchIspell::start):
3656         * lyx_cb.C (AutoSaveBuffer::start):
3657         invoke run(DontWait) rather than runNonBlocking().
3658
3659 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3660
3661         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3662
3663 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3664
3665         * kbsequence.C (print): adjust
3666
3667         * kbmap.C (printKeySym): rename and change signature
3668         (printKey): use LyXKeySym::print()
3669
3670 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3671
3672         * undo.C: add using std::advance to compile for stlport
3673
3674 2004-03-24  Angus Leeming  <leeming@lyx.org>
3675
3676         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3677         it leads to a crash when no buffer is present.
3678
3679 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3680             Martin Vermeer  <martin.vermeer@hut.fi>
3681
3682         * lyxfunc.C (dispatch):
3683         * bufferparams.C (readToken): use the new LColor::setColor
3684
3685         * LColor.[Ch] (setColor): new version that takes two strings as
3686         argument and creates a new color entry if necessary
3687
3688 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3689
3690         * buffer.C (makeLaTeXFile): if the main latex file that is
3691         processed is usually a subdocument of some master, then pretend
3692         for a while that it is actually the master
3693
3694 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3695
3696         * buffer.C (getLabelList):
3697         (getBibkeyList): use getMasterBuffer()
3698         (getMasterBuffer): new method. Returns the main document in the
3699         case where one is using included documents.
3700
3701 2004-03-25  André Pönitz  <poenitz@gmx.net>
3702
3703         * Makefile.am:
3704         * iterators.[Ch]:
3705         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3706
3707         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3708
3709         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3710         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3711
3712         * ParameterStruct.h: merge with ParagraphParameters
3713
3714         * lyxtext.h: remove LyXText::parOffset() and getPar()
3715
3716         * text3.C: Remove all 'manual' update calls. We do now one per user
3717         interaction which is completely sufficient.
3718
3719         * Bidi.C:
3720         * BufferView.[Ch]:
3721         * BufferView_pimpl.C:
3722         * FontIterator.[Ch]:
3723         * MenuBackend.C:
3724         * ParagraphParameters.[Ch]:
3725         * buffer.C:
3726         * buffer.h:
3727         * bufferlist.C:
3728         * cursor.[Ch]:
3729         * cursor_slice.[Ch]:
3730         * dociterator.[Ch]:
3731         * errorlist.[Ch]:
3732         * factory.C:
3733         * lfuns.h:
3734         * lyxfind.C:
3735         * lyxfunc.C:
3736         * output_docbook.[Ch]:
3737         * output_latex.[Ch]:
3738         * output_linuxdoc.[Ch]:
3739         * output_plaintext.[Ch]:
3740         * paragraph.[Ch]:
3741         * paragraph_funcs.[Ch]:
3742         * paragraph_pimpl.[Ch]:
3743         * rowpainter.C:
3744         * tabular.[Ch]:
3745         * text.C:
3746         * text2.C:
3747         * toc.C:
3748         * undo.[Ch]: adjust
3749
3750         * frontends/controllers/ControlDocument.C:
3751         * frontends/controllers/ControlErrorList.C:
3752         * frontends/controllers/ControlSpellchecker.C:
3753         * insets/inset.C:
3754         * insets/inset.h:
3755         * insets/insetbase.h:
3756         * insets/insetbibitem.C:
3757         * insets/insetbox.C:
3758         * insets/insetbranch.C:
3759         * insets/insetcaption.C:
3760         * insets/insetcharstyle.C:
3761         * insets/insetcharstyle.h:
3762         * insets/insetcollapsable.C:
3763         * insets/insetcollapsable.h:
3764         * insets/insetert.C:
3765         * insets/insetfloat.C:
3766         * insets/insetfoot.C:
3767         * insets/insetmarginal.C:
3768         * insets/insetnote.C:
3769         * insets/insetoptarg.C:
3770         * insets/insettabular.C:
3771         * insets/insettext.C:
3772         * insets/insettext.h:
3773         * insets/insetwrap.C:
3774         * mathed/math_mboxinset.C:
3775         * mathed/math_nestinset.C:
3776         * mathed/math_scriptinset.C:
3777         * mathed/math_scriptinset.h:
3778         * support/types.h:
3779
3780 2004-03-24  Angus Leeming  <leeming@lyx.org>
3781
3782         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3783         deal with any child processes that have finished but are waiting to
3784         communicate this fact to the rest of LyX.
3785
3786 2004-03-24  Angus Leeming  <leeming@lyx.org>
3787
3788         64-bit compile fixes.
3789
3790         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3791         (c-tor): pass lyx::pos_types rather than ints.
3792
3793         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3794         lyx::pos_type.
3795
3796         * text.C (Delete): compile fix.
3797         (getPar): ensure that function declaration is the same as that in
3798         the header file.
3799
3800 2004-03-23  Angus Leeming  <leeming@lyx.org>
3801
3802         * ispell.C (LaunchIspell):
3803         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3804         a boost::shred_ptr rather than a std::auto_ptr.
3805
3806 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3807
3808         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3809         handle LFUN_FILE_INSERT_*
3810
3811         * lyxrc.C (setDefaults, getDescription, output, read):
3812         * lyxrc.h: remove ps_command
3813
3814 2004-03-22  Angus Leeming  <leeming@lyx.org>
3815
3816         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3817         Ensure that error_handler is processed once only and that all data
3818         is saved before attempting to output any warning messages.
3819
3820         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3821
3822 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3823
3824         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3825
3826 2004-03-19  André Pönitz  <poenitz@gmx.net>
3827
3828         * cursor.[Ch] (reset): take main text inset as argument
3829
3830         * BufferView: adjust
3831         * BufferView_pimpl.C: adjust
3832
3833         * paragraph.[Ch]: fix completely broken operator=()
3834
3835 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3836
3837         * LColor.C (getFromLyXName): make sure that the color name is used
3838         as lowercase.
3839
3840 2004-03-17  Angus Leeming  <leeming@lyx.org>
3841
3842         * lfuns.h:
3843         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3844
3845         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3846         dialog and to kill a forked process.
3847
3848 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3849
3850         * text2.C (setCursorFromCoordinates): fix font problem
3851
3852 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3853
3854         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3855         bogus "rebuild cursor" code
3856
3857 2004-03-11  André Pönitz  <poenitz@gmx.net>
3858
3859         * buffer.[Ch]: use InsetText instead of LyXText as container for
3860         the main lyx text.
3861
3862         * dociterator.[Ch]: drop the BufferView * member which is not needed
3863         anymore after the change to buffer.C
3864
3865         * paragraph_funcs.C:
3866         * text.C:
3867         * text2.C:
3868         * BufferView.[Ch]:
3869         * BufferView_pimpl.[Ch]:
3870         * cursor.[Ch]:
3871         * cursor_slice.[Ch]: adjust
3872
3873         * text3.C: fix bug in mathDispatch
3874
3875 2004-03-08  André Pönitz  <poenitz@gmx.net>
3876
3877         * undo.[Ch]: use 'StableDocumentIterator' as base for
3878         the Undo struct.
3879
3880 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3881
3882         * LaTeXFeatures.C:
3883         * bufferparams.[Ch]: add jurabib support and param.
3884
3885         * LaTeX.C: add FIXME/comment.
3886
3887 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3888
3889         * buffer.C: increment file format to 230.
3890
3891 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3892
3893         * cursor.C (dispatch): avoid infinite loops
3894
3895 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * rowpainter.C (paintSelection): fix x coordinates
3898
3899 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3900
3901         * text.C (rowBreakPoint): fix breaking before displayed insets
3902
3903 2004-03-01  André Pönitz  <poenitz@gmx.net>
3904
3905         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3906
3907         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3908
3909         * Makefile.am:
3910         * BufferView.C:
3911         * BufferView_pimpl.C:
3912         * buffer.C:
3913         * lyxfind.C:
3914         * lyxfunc.C:
3915         * text.C:
3916         * text2.C:
3917         * text3.C: adjust
3918
3919 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3920
3921         * lyxtext.h:
3922         * text.C:
3923         * text2.C:
3924         * rowpainter.C:
3925         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3926         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3927
3928 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3929
3930         * Bidi.[Ch] (computeTables): const correctness
3931         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3932         fill_hfill, fill_label_hfill and x from Row
3933         * lyxtext.h: prepareToPrint returns a RowMetrics
3934         * rowPainter.C: adjust
3935         * text.C (prepareToPrint): use width, not textWidth. adjust
3936         (redoParagraphInternal, cursorX): adjust
3937         * text2.C (getColumnNearX): adjust
3938         (init): put a default value to the top LyXText::width
3939
3940 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3943
3944 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3945
3946         * lyxtext.h: add FontIterator class
3947
3948         * text.C (FontIterator, operator*, operator->, operator++): add
3949         (rowBreakPoint, setRowWidth): adjust (fixing a
3950         rebreaking bug)
3951
3952 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3953
3954         * BufferView_pimpl.C (workAreaDispatch): allow also
3955         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3956
3957 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3958
3959         * text.C (rowBreakPoint): fix a bug showing with very large insets
3960
3961 2004-02-25  André Pönitz  <poenitz@gmx.net>
3962
3963         * text3.C:
3964         * cursor.[Ch]: move some mathed specific code to mathed
3965
3966 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3967
3968         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3969         use_tempdir in preferences
3970         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3971         tempfile creation
3972         * lyx_main.C: ensure that tempdir is valid
3973         * lyxlex.h: correct typo
3974         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3975         * paragraph.[Ch] (isMultiLingual): make const
3976         * cursor.[Ch] (openable): make const
3977
3978 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3979
3980         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3981
3982 2004-02-20  André Pönitz  <poenitz@gmx.net>
3983
3984         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3985
3986         * cursor.[Ch]: prepare for localized getStatus()
3987
3988         * lyxtext.h:
3989         * tabular.C:
3990         * text.C:
3991         * text2.C:
3992         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3993
3994 2004-02-20  André Pönitz  <poenitz@gmx.net>
3995
3996         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3997
3998 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * text2.C (setCursorFromCoordinates): switch to absolute coords
4001         (cursorUp): adjust
4002         (cursorDown): adjust
4003         * text3.C (dispatch): adjust
4004
4005 2004-02-16  André Pönitz  <poenitz@gmx.net>
4006
4007         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4008           insets/ChangeLog)
4009
4010         * cursor_slice.[Ch]: remove unneeded acessor function
4011
4012         * lyxtext.h: rename rtl() to isRTL()
4013
4014         * rowpainter.C:
4015         * tabular.C:
4016         * text.C:
4017         * text2.C:
4018         * text3.C: adjust
4019
4020 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * rowpainter.C (paintSelection): coord fix
4023
4024 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4025
4026         * Spacing.C: compile fix
4027
4028 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4029
4030         * cursor.C (dispatch): restore current_ before returning
4031
4032 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4033
4034         * text2.C (cursorUp, cursorDown): fix coords
4035         (moveUp): fix crash
4036
4037 2004-02-12  André Pönitz  <poenitz@gmx.net>
4038
4039         * lyxtext.h:
4040         * text.C:
4041         * text2.C:
4042         * text3.C: add LCursor & parameter to most cursor movement functions
4043           remove usage of LyXText::cursorRow() and cursorPar()
4044
4045         * cursor.[Ch]: add textRow() needed members
4046
4047         * BufferView.C:
4048         * BufferView_pimpl.C:
4049         * paragraph.[Ch]:
4050         * BufferView.C:
4051         * BufferView_pimpl.C: adjust
4052
4053 2004-02-11  André Pönitz  <poenitz@gmx.net>
4054
4055         * lyxfunc.C:
4056         * BufferView.[Ch]:
4057         * BufferView_pimpl.C: shift undo/redo handling
4058
4059         * cursor.[Ch]: fix mathed crash
4060
4061         * lyxfind.C:
4062         * lyxtext.h: move selectionAsText to LCursor
4063
4064         * output_latex.C:
4065         * paragraph.C:
4066         * text.C:
4067         * text2.C:
4068         * text3.C: adjust
4069
4070         * rowpainter.C: fix excessive drawing
4071
4072 2004-02-06  André Pönitz  <poenitz@gmx.net>
4073
4074         * BufferView.[Ch]:
4075         * BufferView_pimpl.[Ch]:
4076         * text3.C: move some text specific LFUN handling
4077
4078 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4079
4080         * text3.C (checkInsetHit): adjust coords
4081         * text2.C (getColumnNearX): adjust coords
4082         (edit): adjust coords
4083         * text.C (getRowNearY): add two asserts
4084
4085 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4086
4087         * converter.C:
4088         * format.C: add using std::distance to compile on gcc 2.95/stlport
4089
4090 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4091
4092         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4093
4094 2004-02-04  André Pönitz  <poenitz@gmx.net>
4095
4096         * BufferView.[Ch] (insertInset):
4097         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4098
4099         * text2.C:
4100         * text3.C: adjust
4101
4102 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4105         on the default clause of the switch
4106         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4107         wasn't catched by LCursor::dispatch
4108
4109 2004-02-03  André Pönitz  <poenitz@gmx.net>
4110
4111         * BufferView.C:
4112         * cursor.[Ch]: some additional asserts
4113
4114         * undo.[Ch]: remove LyXText dependency in interface
4115
4116         * lyxfunc.C: adjust
4117
4118         * lyxtext.h (firstPar, lastPar): remove dead functions
4119
4120         * text.C:
4121         * text2.C:
4122         * text3.C:
4123         * paragraph.[Ch]: adjust
4124
4125 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * lyxfind.C (find): fix argument order in call to ::find
4128
4129 2004-02-02  André Pönitz  <poenitz@gmx.net>
4130
4131         * cursor.[Ch]: remove direct access to anchor
4132
4133         * text.C: remove findText() hack
4134
4135 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * iterators.[Ch] (lockPath): remove in favour of...
4138         * BufferView.[Ch] (setCursor): this addition
4139         * BufferView.C (putSelectionAt): adjust
4140         * undo.C (performUndoOrRedo): adjust
4141         * lyxfunc.C (dispatch): adjust
4142
4143 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4144
4145         * iterators.C (lockPath): add a missing slice
4146         * undo.C (performUndoOrRedo): remove redundant positioning code
4147
4148 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * vc-backend.C (scanMaster): ";" -> ';'
4151
4152 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4153
4154         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4155         std::binary_function
4156
4157         * lyxtextclass.C (compare_name): rename to...
4158         (LayoutNamesEqual): ...this
4159
4160         * lyxlex_pimpl.C (compare_tags): inherit from
4161         std::binary_function, put back into anon namespace
4162
4163         * lyxfind.C (MatchString): inherig from std::binary_function
4164         (findChange): use empty() istead of !size()
4165
4166         * format.C (FormatNamesEqual): new functor
4167         (getFormat): use it
4168         (getNumber): use it
4169         (add): use it
4170         (erase): use it
4171         (setViewer): use it
4172
4173         * converter.C (compare_Converter): rename to...
4174         (ConverterEqual): ...this, and fixup a bit.
4175         (getConverter): use it, and make function const
4176         (getNumber): use it, and make function const
4177         (add): use it
4178         (erase): use it:
4179
4180         * bufferlist.C: add using boost::bind
4181
4182         * MenuBackend.C (MenuNamesEqual): new functor
4183         (hasMenu): use it, and make function const
4184         (hasSubmenu): use nested bind to get rid of compare_memfun.
4185
4186 2004-01-30  André Pönitz  <poenitz@gmx.net>
4187
4188         * BufferView_pimpl.C:
4189         * cursor.C:
4190         * cursor.h:
4191         * cursor_slice.[Ch]:
4192         * lyxfunc.C:
4193         * lyxtext.h:
4194         * paragraph_funcs.C:
4195         * paragraph_funcs.h:
4196         * rowpainter.C:
4197         * text.C:
4198         * text2.C:
4199         * text3.C: move some of the edit(x,y) handling to the insets
4200         some coordinate changes.
4201
4202 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * text.C: add using statements for std::advance and std::distance
4205
4206         * paragraph.C: add using statement for std::distance
4207
4208         * lyxfind.C: add using statement for std::advance
4209
4210         * cursor.C (region): remove std:: from swap
4211         (openable): use nucleus in stead of operator->
4212
4213         * BufferView.C: add using statements for std::distance and std::swap
4214
4215 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * iterators.C: Remove the pimple, move the needed structures to
4218         the header file. Create accessor for the positions stack.
4219         (asPosIterator): remove function
4220
4221         * PosIterator.C (PosIterator): move constructors to top of file
4222         (PosIterator): reimplement the constructor taking a ParIterator in
4223         terms of setFrom.
4224         (setFrom): new function
4225         (operator!=): inline it
4226
4227 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4228
4229         * lyxfind.C (replaceAll): use std::advance
4230
4231         * iterators.h: inherit from std::iterator.
4232
4233         * PosIterator.C (advance, distance): remove
4234         * PosIterator.h: interit from std::iterator.
4235
4236 2004-01-26  André Pönitz  <poenitz@gmx.net>
4237
4238         * BufferView.[Ch]:
4239         * BufferView_pimpl.[Ch]:
4240         * InsetList.[Ch]:
4241         * PosIterator.[Ch]:
4242         * buffer.h:
4243         * bufferview_funcs.C:
4244         * cursor.[Ch]:
4245         * cursor_slice.h:
4246         * factory.[Ch]:
4247         * iterators.[Ch]:
4248         * lyxfind.C:
4249         * lyxfunc.C:
4250         * lyxtext.h:
4251         * output_docbook.C:
4252         * output_latex.C:
4253         * output_linuxdoc.C:
4254         * output_plaintext.C:
4255         * paragraph.[Ch]:
4256         * paragraph_funcs.[Ch]:
4257         * paragraph_pimpl.[Ch]:
4258         * rowpainter.C:
4259         * tabular.C:
4260         * tabular.h:
4261         * text.C:
4262         * text2.C:
4263         * text3.C: more IU:  dumps most of the rest of the mathcursor
4264     implementation into cursor.[Ch]; "globalize" a bit of it.
4265
4266 2004-01-25  Angus Leeming  <leeming@lyx.org>
4267
4268         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4269
4270 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4271
4272         * LaTeXFeatures.h: add nice_ and nice() const
4273         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4274
4275 2004-01-20  André Pönitz  <poenitz@gmx.net>
4276
4277         * BufferView.[Ch]:
4278         * BufferView_pimpl.C:
4279         * PosIterator.C:
4280         * bufferview_funcs.C:
4281         * cursor.[Ch]:
4282         * cursor_slice.[Ch]:
4283         * factory.C:
4284         * iterators.C:
4285         * lyx_cb.C:
4286         * lyxfind.C:
4287         * lyxfunc.C:
4288         * lyxtext.h:
4289         * rowpainter.C:
4290         * text.C:
4291         * text2.C:
4292         * text3.C:
4293         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4294           LCursor and mathcursor parts to LCursor and InsetBase.
4295
4296 2004-01-15  André Pönitz  <poenitz@gmx.net>
4297
4298         * cursor_slice.[Ch]: add a few covienience functions
4299
4300         * funcrequest.[Ch]: remove BufferView * member
4301
4302         * BufferView_pimpl.C:
4303         * cursor.C:
4304         * factory.[Ch]:
4305         * lyxfind.[Ch]:
4306         * lyxfunc.C:
4307         * lyxtext.h:
4308         * text3.C:
4309         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4310
4311 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4312
4313         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4314         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4315
4316 2004-01-13  André Pönitz  <poenitz@gmx.net>
4317
4318         * textcursor.[Ch]:
4319         * lyxtext.h: hide cursor and selection anchor behind accessor function
4320
4321         * BufferView.C:
4322         * BufferView_pimpl.[Ch]:
4323         * PosIterator.C:
4324         * bufferview_funcs.C:
4325         * cursor.h:
4326         * lyxfind.C:
4327         * lyxfunc.C:
4328         * text.C:
4329         * text2.C:
4330         * text3.C:
4331         * undo.C: adjust
4332
4333         * cursor.h:
4334         * cursor_slice.[Ch]: some integer type changes for inset unification
4335
4336         * lyxcursor.[hC]: remove, it's CursorSlice now.
4337
4338         * Makefile.am:
4339         * BufferView_pimpl.[Ch]:
4340         * bufferview_funcs.C:
4341         * cursor_slice.C:
4342         * lyxtext.h:
4343         * text.C:
4344         * text2.C:
4345         * text3.C:
4346         * textcursor.[Ch]: adjust
4347
4348 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4349
4350         * text2.C (undoSpan): add and use
4351         * text.C (breakParagraph): use undoSpan (fix bug 578)
4352         * lyxtext.h: adjust
4353
4354 2004-01-08  Angus Leeming  <leeming@lyx.org>
4355
4356         * BufferView_pimpl.C (MenuInsertLyXFile):
4357         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4358         * lyxfunc.C (menuNew, open, doImport):
4359         FileFilterList change to the FileDialog open and save functions.
4360
4361 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * ShareContainer.h: make isEqual and isUnique adaptable
4364
4365         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4366
4367 2004-01-07  Angus Leeming  <leeming@lyx.org>
4368
4369         * LyXAction.C:
4370         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4371
4372         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4373
4374         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4375         functions replacing find, replace and replaceAll.
4376
4377         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4378         LFUN_WORDFIND(FORWARD|BACKWARD).
4379
4380 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4381
4382         * text.C (breakParagraph): remove an outdated #warning
4383
4384 2004-01-07  André Pönitz  <poenitz@gmx.net>
4385
4386         * lyxfind.C: somewhat clearer logic
4387
4388         * text.C: prevent crash in cursorX on unitialized row cache
4389
4390 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4391
4392         * lyxcursor.[Ch] (operator>): add
4393         * textcursor.C (selStart, selEnd): use std::min and std::max
4394
4395 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * Chktex.C: include boost/format.hpp
4398
4399 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * InsetList.C: replace functor MathcIt with adaptable functor
4402         InsetTablePosLess
4403         (insetIterator): modify accordingly
4404
4405         * BranchList.h: move the BranchNamesEqual functor here from...
4406         * BranchList.C: ... to here
4407
4408         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4409         SameName and match.
4410         (add): replace a finding loop with std::find_if.
4411
4412 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4413
4414         * output_docbook.C: moving LatexParam functionality into
4415         .layout files
4416
4417 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4418
4419         * buffer.C: increment format to 229.
4420
4421 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4422
4423         * LaTeXFeatures.C:
4424         * lyx_sty.[Ch]: remove minipageindent_def
4425
4426         * LyXAction.C:
4427         * factory.C:
4428         * lfuns.h:
4429         * lyxfunc.C:
4430         * text3.C: remove LFUN_INSET_MINIPAGE
4431
4432 2003-12-28  Angus Leeming  <leeming@lyx.org>
4433
4434         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4435
4436 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4437
4438         * text2.C (setParagraph): fix off-by-one crash
4439
4440 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4441
4442         * output_docbook.C: header stuff for AGU
4443
4444 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4445
4446         * text2.C (redoCursor): remove
4447         * text.C:
4448         * text3.C:
4449         * BufferView_pimpl.C: remove calls to redoCursor and
4450         setCursor(cursor.par(), cursor.pos()) all around
4451
4452 2003-12-15  Angus Leeming  <leeming@lyx.org>
4453
4454         * buffer.C: up the format to 228.
4455
4456 2003-12-15  André Pönitz  <poenitz@gmx.net>
4457
4458         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4459         slices
4460
4461         * Makefile.am:
4462
4463         * BufferView_pimpl.C:
4464         * cursor.[Ch]:
4465         * lyxcursor.[Ch]:
4466         * rowpainter.[Ch]:
4467         * lyxtext.h:
4468         * text.C:
4469         * text2.C:
4470         * text3.C: adjust
4471
4472 2003-12-15  Angus Leeming  <leeming@lyx.org>
4473
4474         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4475         than getFromGUIName to manipulate the color.
4476
4477 2003-12-14  Angus Leeming  <leeming@lyx.org>
4478
4479         * BranchList.[Ch]: minimize the API.
4480         (Branch::getBranch, getColor): now return a 'const &'.
4481         (Branch::setSelected) now returns a bool set to true if the
4482         selection status changes.
4483         (BranchList::clear, size, getColor, setColor, setSelected,
4484         allBranches, allSelected, separator): removed.
4485         (BranchList::find): new functions, returning the Branch with
4486         the given name.
4487         (BranchList::add, remove): return a bool indicating that
4488         the operation was successful.
4489
4490         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4491         new InsetBranch::isBranchSlected member function.
4492
4493         * LColor.[Ch]: mimimize the API.
4494         (fill): renamed as addColor and made private.
4495         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4496         versions of these functions taking a string arg have been removed.
4497
4498         * bufferparams.C (readToken):
4499         * lyxfunc.C (dispatch):
4500         * lyxrc.C (read): changes due to the altered BranchList and
4501         LColor APIs.
4502
4503         * factory.C (createInset, readInset): changes due to altered
4504         InsetBranch c-tor.
4505
4506 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4507
4508         * factory.C:
4509         * lyxfunc.C: remove insetminipage. "minipage-insert"
4510         now produces a frameless minipage box inset.
4511
4512 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4513
4514         * textcursor.[Ch] (selStart,selEnd): add new methods
4515         remove selection::start, end, use LyXCursor::operator<
4516         * lyxcursor.[Ch] (operator<): add
4517         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4518         * BufferView.[Ch] (unsetXSel): add
4519         * text2.C (clearSelection): use unsetXSel,adjust
4520         * text.C: adjust
4521         * text3.C: adjust
4522         * rowpainter.C: adjust
4523         * bufferview_funcs.C (put_selection_at): adjust
4524
4525 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4526
4527         * BufferView_pimpl.C: small coord. correction
4528
4529 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4530
4531         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4532         dragging over the splash screen.
4533
4534 2003-12-11  Angus Leeming  <leeming@lyx.org>
4535
4536         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4537         as it is now handled in LyXText::dispatch.
4538
4539         * text3.C (doInsertInset): remove a level of nesting.
4540
4541 2003-12-11  Angus Leeming  <leeming@lyx.org>
4542
4543         * factory.C (createInset): changes due to the changed interface to
4544         InsetCommandMailer::string2params.
4545
4546 2003-12-10  Angus Leeming  <leeming@lyx.org>
4547
4548         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4549         'dialog-show-new-inset <inset name>'
4550
4551 2003-12-10  Angus Leeming  <leeming@lyx.org>
4552
4553         * buffer.C: up the format to 227.
4554
4555         * factory.C: the box inset is now identified simply by 'Box'.
4556
4557 2003-12-10  Angus Leeming  <leeming@lyx.org>
4558
4559         * buffer.C: up the format to 226.
4560
4561         * factory.C: the note inset is now identified simply by 'Note'.
4562
4563 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4564
4565         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4566         when a pit is enough. Standarize a couple of loops.
4567
4568 2003-12-05  Angus Leeming  <leeming@lyx.org>
4569
4570         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4571         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4572         data to the re-worked "log" dialog.
4573
4574 2003-12-03  André Pönitz  <poenitz@gmx.net>
4575
4576         * PosIterator.C:
4577         * iterators.C:
4578         * lyxtext.h:
4579         * output_latex.C:
4580         * paragraph_funcs.C:
4581         * text.C:
4582         * text2.C: use Inset::getText instead of Inset::getParagraph
4583
4584 2003-12-03  André Pönitz  <poenitz@gmx.net>
4585
4586         * buffer.[Ch]:
4587         * lyxtext.h:
4588         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4589         InsetText::read() as LyXText::read()
4590
4591 2003-12-02  Angus Leeming  <leeming@lyx.org>
4592
4593         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4594         type. Add a comment in the implementation that the function uses
4595         the stream's bad() function rather than fail() as the std::streams
4596         would do.
4597
4598 2003-12-02  André Pönitz  <poenitz@gmx.net>
4599
4600         * lyxlex.[Ch]: make interface more similar to std::stream
4601
4602         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4603
4604 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4605
4606         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4607
4608 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4609
4610         * vspace.[Ch]: remove VSpace::NONE
4611
4612 2003-12-01  André Pönitz  <poenitz@gmx.net>
4613
4614         * buffer.[Ch]:
4615         * lyxtext.h: move ParagraphList member to LyXText
4616         rename LyXText::ownerParagraphs to LyXText::paragraph
4617
4618         * CutAndPaste.C:
4619         * bufferview_funcs.C:
4620         * iterators.[Ch]:
4621         * lyx_cb.C:
4622         * paragraph.C:
4623         * rowpainter.C:
4624         * tabular.C:
4625         * text.C:
4626         * text2.C:
4627         * text3.C: adjust
4628
4629         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4630
4631         * undo.C: fix cursor positioning
4632
4633 2003-12-01  John Levon  <levon@movementarian.org>
4634
4635         * BufferView_pimpl.C: fix a crash on exit with
4636         a buffer open
4637
4638 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4639
4640         * BranchList.C: fix setSelected() method.
4641
4642 2003-11-28  André Pönitz  <poenitz@gmx.net>
4643
4644         * ParagraphParameters.[Ch]:
4645         * ParameterStruct.h: remove space above/below from Paragraph to
4646          InsetVSpace
4647
4648         * BufferView_pimpl.C:
4649         * factory.C:
4650         * lyxfunc.C:
4651         * lyxtext.h:
4652         * output_latex.C:
4653         * paragraph.C:
4654         * paragraph_funcs.C:
4655         * rowpainter.[Ch]:
4656         * text.C:
4657         * text2.C:
4658         * text3.C: adjust
4659
4660 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4661
4662         * factory.C: Syntax change for CharStyles
4663
4664 2003-11-28  André Pönitz  <poenitz@gmx.net>
4665
4666         * BufferView.[Ch]:
4667         * BufferView.[Ch]:
4668         * buffer.[Ch]:
4669         * buffer.[Ch]: move LyXText member
4670
4671 2003-11-28  André Pönitz  <poenitz@gmx.net>
4672
4673         * BufferView.[Ch]: make LyXText * text a private member
4674
4675         * BufferView_pimpl.C:
4676         * cursor.C:
4677         * iterators.C:
4678         * lyx_cb.C:
4679         * lyxfind.C:
4680         * lyxtext.h:
4681         * rowpainter.[Ch]:
4682         * text.C:
4683         * text2.C:
4684         * undo.C: adjust
4685
4686         * output_plaintext.C: cleanup
4687
4688 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4689
4690         * buffer.C:
4691         * lyxtextclass.[Ch]: parametrize SGML document header
4692
4693 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4694
4695         * converter.[Ch]:
4696         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4697         getFlavor().
4698
4699 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4700
4701         * text2.C (setFont): rework using PosIterator (no more recursive)
4702         (setCharFont): no more needed
4703         (setLayout): no more selection cursors fiddling (done by redoCursor)
4704         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4705         destroy remaining ones)
4706
4707 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4708
4709         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4710         * lyxtext.h: ditto
4711         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4712         selection cursors
4713         * lyxfunc.C: adjust
4714         * text3.C: adjust + re-allow multi par depth changes
4715         * textcursor.C: simplify a bit
4716
4717 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4718
4719         * src/buffer.C:
4720         * src/lyxlayout.C:
4721         * src/lyxlayout.h:
4722         * src/lyxtext.h:
4723         * src/output_docbook.C:
4724         * src/output_latex.C:
4725         * src/paragraph.C:
4726         * src/paragraph.h:
4727         * src/sgml.C:
4728         * src/sgml.h:
4729         * src/text2.C: Introducing a number of tags parametrizing various
4730         XML formats that we may want to support
4731
4732 2003-11-25  André Pönitz  <poenitz@gmx.net>
4733
4734         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4735
4736         * lyxtext.h (leftMargin/rightMargin): simplify interface
4737
4738         * rowpainter.C:
4739         * text.C:
4740         * text2.C:
4741         * text3.C: adjust
4742
4743 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4744
4745         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4746         master file to any child files. Fixes bug 546.
4747
4748 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4749
4750         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4751
4752 2003-11-24  André Pönitz  <poenitz@gmx.net>
4753
4754         * rowpainter.C: simplification
4755
4756         * text2.C (updateCounters): remove call to redoParagraph on
4757         changed labels as this is far too expensive.
4758
4759 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4760
4761         * converter.C (convert): fix a crash: this function gets
4762         called with buffer == 0 from importer code.
4763
4764 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * text3.C (cursorPrevious): make sure that we do not compare
4767         iterators form different containers.
4768         (cursorNext): ditto
4769
4770         * rowpainter.C (paintSelection): make sure that we do not compare
4771         iterators from different containers.
4772
4773         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4774         iterators from different ParagraphList containers.
4775         [NEXT] ditto
4776
4777         * text2.C (LyXText): change order of initialization slightly
4778         (operator=): new function. copy all variables except cache_par_
4779         (moveUp): make sure that we do not compare iterators from
4780         different ParagraphList constainers.
4781         (moveDown): ditto
4782
4783         * text.C (firstPar): new function
4784         (lastPar): new function
4785         (endPar): new function
4786
4787         * lyxtext.h: move things around and group public functions, public
4788         variables, private functions, private variables
4789
4790 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4791
4792         * factory.C: change call to InsetERT constructor to avoid
4793         additional invocation of method status
4794         * text2.C (toggleInset): remove redundant update() call
4795         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4796         instead of a Bufferview pointer
4797
4798 2003-11-21  André Pönitz  <poenitz@gmx.net>
4799
4800         * rowpainter.C: simplification
4801
4802 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4803
4804         * text3.C (dispatch): make possible to extend a word/row selection
4805         with the mouse
4806
4807 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4808
4809         * lyxtext.h: x0_,y0_ -> xo_,yo_
4810         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4811         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4812         * rowpainter.C (paintRows): paint full paragraphs
4813
4814 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4815
4816         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4817         screen coordinates)
4818
4819 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4820
4821         * lyxtext.h: add x0_, y0_
4822         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4823         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4824
4825 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4826
4827         * text2.C (setCursorIntern): move the x_target update here *
4828         * text3.C: change some bv() to true/false in calls to
4829         cursorUp/Down/Right/Left
4830         * cursor.C: use helper function.
4831
4832 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4833
4834         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4835         * paragraph_funcs.[Ch]: correct comment
4836         * rowpainter.C: do not paint selections away from bv->cursor()
4837         Fix a long standing selection painting bug.
4838         * text3.C: generalize mouse-selection code to LyXTexts other that
4839         top one
4840         * textcursor.C: do not use y coords if we can use par offsets
4841
4842 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4843
4844         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4845         cursor position after e.g. inset insert)
4846
4847 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4848
4849         * lyxfind.C (replace): adjust to locking removal + some
4850         code simplification
4851
4852 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4853
4854         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4855         of the path
4856
4857 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4858
4859         * lyxlayout.[Ch]:
4860         * output_docbook.C: XML sanitation: new layout
4861         parameters InnerTag and CommandDepth
4862
4863 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4864
4865         * BufferView_pimpl.C:
4866         * factory.C:
4867         * text3.C: Fix the insertion and modification of button-style
4868         insets
4869
4870 2003-11-13  André Pönitz  <poenitz@gmx.net>
4871
4872         * InsetList.[Ch]: remove deleteLyXText
4873
4874         * paragraph.[Ch]: cache beginOfBody position
4875
4876         * Bidi.C:
4877         * text.C:
4878         * text2.C:
4879         * text3.C: remove superfluous update() calls
4880
4881         * vspace.C: cleanup
4882
4883 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4884
4885         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4886         * BufferView.C (fitLockedInsetCursor): remove
4887         * cursor.[Ch] (getDim): add
4888         * text.C (getRowNearY): add faster version
4889         * text3.C: remove some update calls
4890
4891 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4892
4893         * LaTeXFeatures.C:
4894         * LyXAction.C:
4895         * MenuBackend.C:
4896         * MenuBackend.h:
4897         * dispatchresult.h:
4898         * factory.C:
4899         * lfuns.h:
4900         * lyxfunc.C:
4901         * lyxtextclass.C:
4902         * lyxtextclass.h:
4903         * text3.C: The Character Style /XML short element patch.
4904
4905 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4906
4907         * text3.C:
4908         * factory.C: Small step to solving 'unable to insert some insets'
4909         problem
4910
4911 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4912
4913         * cursor.[Ch] (updatePos): new function for updating the y
4914         position of the tip inset
4915         * bufferview_funcs.C (put_selection_at):
4916         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4917
4918 2003-11-11  André Pönitz  <poenitz@gmx.net>
4919
4920         * text.C: remove big comment on invalid Paragraph pointers as it is
4921         not valid anymore
4922
4923 2003-11-11  André Pönitz  <poenitz@gmx.net>
4924
4925         * text_funcs.[Ch]: merge with ...
4926
4927         * text.C: ... this
4928
4929         * lyxtext.h:
4930         * text2.C:
4931         * text3.C: adjust
4932
4933         * Makefile.am: remove text_funcs.[Ch]
4934
4935 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4936
4937         * cursor.C (getPos): return absolute cached y coord
4938
4939         * BufferView_pimpl.C (fitCursor): new simplistic code
4940         (workAreaDispatch): add a fitCursor call
4941
4942 2003-11-10  André Pönitz  <poenitz@gmx.net>
4943
4944         * BufferView.[Ch]:
4945         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4946
4947 2003-11-10  André Pönitz  <poenitz@gmx.net>
4948
4949         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4950         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4951         indicate that the cursor needs to leave an inset
4952
4953         * lyxtext.h: remove inset locking
4954
4955         * cursor.[Ch]: re-implement functionality provided by inset locking
4956
4957         * BufferView.[Ch]:
4958         * BufferView_pimpl.[Ch]:
4959         * LyXAction.C:
4960         * bufferview_funcs.[Ch]:
4961         * factory.C:
4962         * funcrequest.[Ch]:
4963         * iterators.C:
4964         * lyx_cb.C:
4965         * lyxfind.C:
4966         * lyxfunc.C:
4967         * text.C:
4968         * text2.C:
4969         * text3.C:
4970         * undo.C: adjust
4971
4972 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4973
4974         * PosIterator.[Ch]: replace the stack with a vector, add inset
4975         accesor
4976         * iterators.[C]: adjust
4977
4978 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4981         replaced
4982         * paragraph_funcs.C (readParToken): put the correct id in the
4983         error item, not the id of the top paragraph
4984
4985 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4988         * bufferview_funcs.C (put_selection_at): use the above
4989
4990 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4993
4994 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4995
4996         * output_linuxdoc.h:
4997         * output_plaintext.h:
4998         * output.h:
4999         * output_docbook.h: add #include statements
5000
5001 2003-11-05  José Matos  <jamatos@lyx.org>
5002
5003         * output_docbook.[Ch]:
5004         * output_latex.[Ch]:
5005         * output_linuxdoc.[Ch]:
5006         * output_plaintext.[Ch]: New files for output formats.
5007         * output.[Ch]: New file for helper functions.
5008
5009         * buffer.[Ch]:
5010         * paragraph_funcs.[Ch]: output functions moved to new files.
5011
5012         * outputparams.h: rename of latexrunparams.h
5013
5014         * LaTeX.[Ch]:
5015         * buffer.[Ch]:
5016         * bufferlist.[Ch]:
5017         * converter.[Ch]:
5018         * exporter.C:
5019         * paragraph.[Ch]:
5020         * paragraph_funcs.[Ch]:
5021         * paragraph_pimpl.[Ch]:
5022         * tabular.[Ch]: rename ascii to plaintext
5023         and LatexRunParams to OutputParams.
5024
5025 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * iterators.[Ch] (text): require bv argument
5028         * undo.C (recordUndo):
5029         * lyxfunc.C (dispatch):
5030         * bufferview_funcs.C (put_selection_at): adjust
5031
5032 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5033
5034         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5035
5036 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5039         nestings
5040
5041 2003-11-04  André Pönitz  <poenitz@gmx.net>
5042
5043         * cursor.[Ch]: restructure
5044
5045         * BufferView.[Ch]:
5046         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5047
5048         * iterators.[Ch] (asCursor): remove
5049
5050         * lfuns.h: remove LFUN_INSET_EDIT
5051
5052         * lyxfunc.C:
5053         * tabular.C:
5054         * text.C:
5055         * text2.C:
5056         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5057
5058 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * lyxfind.[Ch]: complete overhaul
5061         * BufferView_pimpl.C:
5062         * lyxfunc.C: adjust
5063         * paragraph.[Ch] (insert): add
5064
5065 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * BufferView.[Ch]:
5068         * lyxtext.h:
5069         * text.C: remove dead spellcheck code
5070
5071 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * dispatchresult.h: add a val setter
5074
5075         * cursor.C (dispatch): use a tempvar for data_[i]
5076
5077 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * PosIterator.[Ch]: compile fix
5080
5081 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * text.C (cursorPar): deactivate the cursor cache
5084
5085 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5088
5089 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * text3.C (dispatch): adjust for new DisptchResult semantics.
5092
5093         * lyxfunc.C (dispatch): handle update when return from
5094         Cursor::dispatch, adjust for new DispatchResult semantics.
5095
5096         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5097         DispatchResult(true) mean to not update. Add class functions for
5098         setting dispatched and update, as well as reading.
5099
5100         * cursor.C (dispatch): don't handle update here
5101
5102 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5105         * trans_mgr.C: adjust
5106
5107         * paragraph_funcs.C (readParToken): exception safety
5108
5109         * lyxvc.h: store the vcs pointer in a scoped_ptr
5110         * lyxvc.C: adjust
5111
5112         * lyxsocket.C (serverCallback): exception safety
5113
5114         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5115
5116         * ispell.C (clone): make it return a auto_ptr
5117
5118         * factory.C (createInset): exception safety
5119         (readInset): exception safety
5120
5121         * bufferlist.C (newBuffer): exception safety
5122
5123         * Thesaurus.C (Thesaurus): use initialization for aik_
5124
5125         * MenuBackend.C (expandToc): exception safety.
5126
5127 2003-11-03  André Pönitz  <poenitz@gmx.net>
5128
5129         * buffer.C:
5130         * buffer.h:
5131         * bufferview_funcs.C: remove getInsetFromId()
5132
5133         * lyxcursor.[Ch]:
5134         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5135
5136         * lyxfunc.C:
5137         * text2.C:
5138         * text3.C: adjust
5139
5140 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * PosIterator.C (distance, advance): new
5143         * bufferview_funcs.[Ch] (put_selection_at): new
5144         * iterators.[Ch] (lockPath): new
5145
5146 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * iterators.[Ch] (asPosIterator): added
5149         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5150         * PosIterator.[Ch]: added
5151
5152 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5153
5154         * text3.C:
5155         * lyxfunc.C:
5156         * cursor.C (dispatch):
5157         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5158
5159         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5160         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5161         contructor, add a class function dispatched. Remove operator>=
5162
5163 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * debug.C: only use the default constructor for debugstream
5166         (lyxerr) here.
5167
5168         * main.C (main): include debug.h and setup the lyxerr streambuf
5169         here.
5170
5171 2003-10-31  José Matos  <jamatos@lyx.org>
5172
5173         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5174
5175         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5176         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5177         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5178         * paragraph_pimpl.C (simpleTeXSpecialC):
5179         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5180         add LatexRunParams argument.
5181
5182         * exporter.C (Export): change call accordingly.
5183
5184         * latexrunparams.h: add new member to take care of the other backends.
5185 2003-10-30  José Matos  <jamatos@lyx.org>
5186
5187         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5188         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5189         factorise code for paragraph output.
5190         * buffer.[Ch]:
5191         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5192         move functions.
5193
5194 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * text3.C (dispatch):
5197         * lyxfunc.C (dispatch):
5198         * cursor.C (dispatch):
5199         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5200
5201         * dispatchresult.h: make the dispatch_result_t ctor explicit
5202
5203 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5204
5205         * sgml.[Ch]:
5206         * buffer.C: small refactoring of docbook stuff
5207
5208 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5211         meaning.
5212
5213 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5216         operator dispatch_result_t, and operators for == != and >=
5217
5218         * cursor.C (dispatch): adjust for operator dispatch_result_t
5219         removal. comment out call to update
5220
5221         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5222
5223 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * text3.C:
5226         * text2.C:
5227         * text.C:
5228         * lyxtext.h:
5229         * lyxfunc.C:
5230         * cursor.C:
5231         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5232         (dispatch):
5233
5234         * dispatchresult.h: new file, DispatchResult broken out of
5235         insets/insetbase.h
5236
5237         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5238
5239 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5240
5241         * text.C (rowBreakPoint): put a hack inside #if 0
5242
5243 2003-10-28  André Pönitz  <poenitz@gmx.net>
5244
5245         * lyxtext.h:
5246         * metricsinfo.C:
5247         * paragraph_funcs.C:
5248         * rowpainter.C:
5249         * text.C:
5250         * text2.C: general cleanup (lots of small stuff)
5251
5252 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * text2.C (cursorEnd): simple fix to the "end key goes to one
5255         before the end on last row" bug
5256
5257 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * text.C (backspace): fix the "zombie characters"
5260
5261 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5262
5263         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5264
5265 2003-10-27  André Pönitz  <poenitz@gmx.net>
5266
5267         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5268
5269         * factory.C: handle new InsetPagebreak, InsetLine
5270
5271         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5272         and move handling into new InsetPagebreak, InsetLine
5273
5274         * BufferView_pimpl.C:
5275         * LyXAction.C:
5276         * ParagraphParameters.C:
5277         * ParameterStruct.h:
5278         * lyxfunc.C:
5279         * lyxtext.h:
5280         * paragraph.C:
5281         * paragraph.h:
5282         * paragraph_funcs.C:
5283         * paragraph_pimpl.C:
5284         * rowpainter.C:
5285         * text.C:
5286         * text2.C:
5287         * text3.C: adjust
5288
5289 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * text.C:
5292         * lyxrow_funcs.[Ch]:
5293         * Bidi.C:
5294         * paragraph.C:
5295         * lyxtext.h:
5296         * rowpainter.C:
5297         * text2.C:
5298         * text3.C: remove lastPos uses in favour of Row::endpos
5299
5300 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5301
5302         * undo.C (performUndoOrRedo): fix two crashes by setting a
5303         cursor by hand and reordering some calls. Use bv->lockInset instead
5304         of inset->edit because the latter loses cursor information
5305
5306 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5309         by Martin
5310         (rowBreakPoint): fix width. change point to point + 1.
5311         Add a missing check.
5312
5313 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5314
5315         * MenuBackend.C:
5316         * lyxfunc.C: fix (at least partly) the problems
5317         with the Nav menu and headers inside branch insets
5318         reported by Kayvan
5319
5320 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * paragraph.C (getChar): add strong asserts
5323
5324         * lyxrow_funcs.C (lastPos): remove hideous hack
5325
5326         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5327         (fill): adjust to that (avoid an infinite loop)
5328
5329 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5332
5333 2003-10-23  André Pönitz  <poenitz@gmx.net>
5334
5335         * RowList_fwd.h: change list<> to vector<> to gain speed
5336         after suggestion from Alfredo
5337
5338 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5339
5340         * lyxtext.h: move the bidi stuff from here...
5341         * text.C: and here
5342         * text2.C: and here
5343         * Bidi.[Ch]: ... to here
5344
5345 2003-10-23  André Pönitz  <poenitz@gmx.net>
5346
5347         * lyxtext.h:
5348         * text.C (isLastRow, isFirstRow): new functions
5349
5350         * paragraph.h: new width cache member
5351
5352         * rowpainter.C: replace RowList::iterator with Row & where possible
5353
5354         * lyxfunc.C: replace several view()->text with a single call
5355
5356         * toc.C: fix 'unused' warning
5357
5358 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5361         when woring with stream::pos_type
5362         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5363
5364 2003-10-22  André Pönitz  <poenitz@gmx.net>
5365
5366         * lyxtext.h:
5367         * text.C: use Row & instead of RowList::iterator
5368
5369         * lyxrow.h: rename end() to endpos()
5370
5371         * rowpainter.C:
5372         * text.C:
5373         * text2.C: adjust
5374
5375 2003-10-22  Angus Leeming  <leeming@lyx.org>
5376
5377         * buffer.[Ch] (fully_loaded): new member function, returning true
5378         only when the file has been loaded fully.
5379         Used to prevent the premature generation of previews and by the
5380         citation inset to prevent computation of the natbib-style label.
5381
5382         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5383         templates are all set up.
5384
5385         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5386
5387 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5388
5389         * text.C: fixed an "oops" in the "is a bit silly"
5390         bug fix
5391
5392 2003-10-21  André Pönitz  <poenitz@gmx.net>
5393
5394         * FuncStatus.[Ch]: small stuff, whitespace
5395
5396         * lyxfont.[Ch]: operator<<() for debug reasons
5397
5398         * lyxfunc.C:
5399         * lyxrow_funcs.C:
5400         * lyxtext.h: whitespace, spelling
5401
5402         * paragraph.C: naming of variables
5403
5404         * text.C:
5405         * text2.C: small stuff
5406
5407
5408 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5409
5410         * text.C: (1) finish off the inset display() work;
5411         (2) fix the "is a bit silly" bug (accessing char
5412         past end of par).
5413
5414 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5415
5416         * text.C: re-introduce display() for insets, fixing the
5417         various bugs (stretch of line above, math inset
5418         positioning, ...)
5419
5420 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5421
5422         * text.C (rightMargin): remove spurious semicolon
5423
5424         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5425         1415)
5426
5427 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5428
5429         * text3.C: fix one crash due to wrong cursor def
5430
5431 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * vc-backend.C (scanMaster): make the regex static
5434
5435         * LaTeX.C (scanAuxFile): make the regexs static
5436
5437         * text3.C (doInsertInset, dispatch, dispatch):
5438         * text2.C (cursorUp, cursorDown):
5439         * text.C (selectNextWordToSpellcheck):
5440         * BufferView_pimpl.C (dispatch):
5441         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5442
5443 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5444
5445         * lyxsocket.C: include <cerrno>
5446
5447 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * lyxfunc.C (dispatch): remove textcache stuff
5450
5451         * bufferlist.C (release): remove textcache stuff
5452         (closeAll): ditto
5453
5454         * TextCache.C: delete file
5455         * TextCache.h: delete file
5456
5457         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5458
5459         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5460         delete of the bv_->text.
5461         (resizeCurrentBuffer): remove texcache stuff
5462         (workAreaResize): ditto
5463
5464 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5467         action.
5468
5469 2003-10-16  André Pönitz  <poenitz@gmx.net>
5470
5471         * lyxrow.[Ch]:
5472         * paragraph.h:
5473         * rowpainter.C:
5474         * text.C:
5475         * text2.C:
5476         * text3.C: speed up by storing y positions per paragraph plus per-row
5477         offset instead of having a 'full' y position in the row.
5478
5479 2003-10-15  André Pönitz  <poenitz@gmx.net>
5480
5481         * iterators.[Ch]:
5482         * iterators.[Ch]:
5483         * undo.[Ch]: make undo aware of inner insets
5484
5485 2003-10-14  Angus Leeming  <leeming@lyx.org>
5486
5487         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5488         static member functions LyX::ref() and LyX::cref.
5489         (lastfiles): new accessor functions for the new lastfiles_ member var.
5490         (addLyXView, views_): add a new LyXView to the list of views_.
5491         (updateInset): loop over all LyXViews to call their own updateInset
5492         member function, returning a pointer to the Buffer owning the inset.
5493
5494         * BufferView_pimpl.C (loadLyXFile):
5495         * MenuBackend.C (expandLastfiles):
5496         * bufferlist.C (MenuWrite, QuitLyX):
5497         lastfiles is no longer a global variable.
5498         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5499
5500         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5501         static function. Access through LyX::cref().emergencyCleanup().
5502
5503 2003-10-14  André Pönitz  <poenitz@gmx.net>
5504
5505         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5506
5507         * undo.[Ch]: restoring part of 'undo in insets'
5508
5509         * Makefile.am:
5510         * undo_funcs.[Ch]: merge with undo.[Ch]
5511
5512         * tabular.C: small cleansing stuff
5513
5514 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5515
5516         * paragraph_funcs.C (readParToken): report unknown insets as error
5517         boxes. Use the outer paragraph as location (also for unknown
5518         tokens).
5519
5520         * factory.C (readInset): do not abort on reading an unknown inset.
5521         Eat it and return 0.
5522
5523 2003-10-13  Angus Leeming  <leeming@lyx.org>
5524
5525         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5526
5527         * lyxrc.C: displayTranslator is now a function,
5528         declared in GraphicsTypes.h.
5529
5530 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5531
5532         * format.C: new placeholder $$a to pass the socket address.
5533
5534         * bufferlist.[Ch]: new function getBufferFromTmp.
5535
5536         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5537           files in the temporary dir.
5538
5539 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5540
5541         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5542
5543         * Makefile.am: add lyxsocket.[Ch].
5544
5545         * lyx_main.C (error_handler): handle SIGPIPE.
5546
5547 2003-10-13  André Pönitz  <poenitz@gmx.net>
5548
5549         * BufferView_pimpl.C:
5550         * lyxtext.h:
5551         * text.C:
5552         * text2.C:
5553         * text3.C:
5554         * undo_funcs.[Ch]: use paroffset_type instead of
5555           ParagraphList::iterators to prevent multiple conversion
5556           (and get a more robust interface)
5557
5558 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5561         * lyxtext.h: ditto
5562         * text3.C (dispatch): ditto
5563
5564 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5567         move the onlyfile, use onlyfile instead of foundfile in a couple
5568         of places.
5569
5570         * DepTable.C (update): flush the error stream a bit more
5571
5572 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * lyxserver.C (callback): adjust
5575
5576         * lyxfunc.C (getStatus): add a missing brace in commented code
5577         (ensureBufferClean): reindent
5578         (dispatch): delete version taking a string
5579
5580 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5581
5582         * LaTeX.C (deplog): move found file handlig from here...
5583         (handleFoundFile): .. to new function here.
5584         (deplog): make sure to discover several files mentioned on the
5585         same log line.
5586
5587 2003-10-10  André Pönitz  <poenitz@gmx.net>
5588
5589         * lyxfunc.C:
5590         * lyxtext.h:
5591         * tabular.C:
5592         * text.C:
5593         * text2.C:
5594         * text3.C: fix some of the tabular crashes
5595
5596 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5597
5598         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5599
5600         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5601
5602 2003-10-09  André Pönitz  <poenitz@gmx.net>
5603
5604         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5605
5606         * BufferView.C:
5607         * BufferView_pimpl.C:
5608         * bufferview_funcs.C:
5609         * lyx_cb.C:
5610         * lyxcursor.C:
5611         * lyxfind.C:
5612         * lyxfunc.C:
5613         * lyxtext.h:
5614         * text.C:
5615         * text2.C:
5616         * text3.C:
5617         * text_funcs.[Ch]:
5618         * textcursor.[Ch]:
5619         * undo_funcs.C: adjust
5620
5621 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * text2.C (incrementItemDepth): new function, use a backtracking
5624         algorithm to discover the correct item depth.
5625         (resetEnumCounterIfNeeded): new function, use a backtracking
5626         algorithm to discover if counter reset is needed.
5627         (setCounter): use them. Simplify a bit. Add different labels for
5628         different item depths for itemize.
5629
5630         * paragraph.C (Paragraph): remove initialization of enumdepth
5631         (operator=): ditto
5632
5633         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5634         enumerate and itemize. Change the type of itemdepth to signed char.
5635
5636 2003-10-08  André Pönitz  <poenitz@gmx.net>
5637
5638         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5639           thing assignable.
5640         * text.C:
5641         * text2.C: adjust
5642
5643         * tabular.[Ch]: fix crash after 'row-insert'
5644
5645 2003-10-08  Angus Leeming  <leeming@lyx.org>
5646
5647         Fix doxygen warnings.
5648
5649         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5650         Remove CutAndPaste:: prefix from header file declaration.
5651
5652         * LColor.h (fill): remove LColor:: prefix from declaration.
5653
5654         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5655         use lyx::depth_type rather than Paragraph::depth_type so that
5656         header file and .C file match.
5657
5658         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5659
5660         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5661         * aspell.C: \file aspell_local.C -> \file aspell.C
5662         * gettext.C: \file gettext.C -> \file src/gettext.C
5663         * gettext.h: \file gettext.h -> \file src/gettext.h
5664         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5665         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5666         * text.C: \file text.C -> \file src/text.C
5667
5668         * toc.C: move comment so that doxygen is not confused.
5669
5670 2003-10-07  Angus Leeming  <leeming@lyx.org>
5671
5672         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5673
5674 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5675
5676         * aspell.C:
5677         * aspell_local.h: add forgotten std::string's.
5678
5679 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5680
5681         * LaTeXFeatures.C:
5682         * LyXAction.C:
5683         * factory.C:
5684         * lfuns.h:
5685         * lyxfunc.C:
5686         * text3.C: The Box patch. Fancybox support, minipage, parbox
5687
5688 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5689
5690         * CutAndPaste.h:
5691         * DepTable.h:
5692         * FloatList.h:
5693         * LaTeXFeatures.h:
5694         * ParagraphParameters.h:
5695         * TextCache.h:
5696         * Thesaurus.h:
5697         * bufferlist.h:
5698         * exporter.h:
5699         * importer.h:
5700         * lastfiles.h:
5701         * lyxfind.h:
5702         * lyxfont.h:
5703         * lyxlex.h:
5704         * lyxtextclasslist.h:
5705         * messages.h:
5706         * paragraph.h:
5707         * paragraph_pimpl.C:
5708         * textcursor.h: add <string> and other small fixes to make Lars'
5709         std::string patch compile with STLport.
5710
5711 2003-10-06  Angus Leeming  <leeming@lyx.org>
5712
5713         * LColor.h: Add missing #include <string>.
5714
5715 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * All most all file in all subdirs: Make <string> be the prefered
5718         way of getting to std::string, add using declarations.
5719
5720 2003-10-06  André Pönitz  <poenitz@gmx.net>
5721
5722         * metricsinfo.C: initialize LyXFont before changing attribute.
5723         (fixes the 'math in \emph is upright' bug)
5724
5725 2003-10-06  André Pönitz  <poenitz@gmx.net>
5726
5727         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5728
5729 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5730
5731         * graph.C:
5732         * paragraph_pimpl.C: Small fixes to build using STLport
5733
5734 2003-10-02  André Pönitz  <poenitz@gmx.net>
5735
5736         * lyxfunc.C:
5737         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5738
5739 2003-10-01  André Pönitz  <poenitz@gmx.net>
5740
5741         * factory.C: assert early
5742
5743 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * lyx_main.C: remove the global debug object
5746
5747         * debug.h: adjust for new debugstream
5748
5749         * debug.C: adjust for new debugstream and keep the global debug
5750         object here.
5751
5752 2003-09-22  Angus Leeming  <leeming@lyx.org>
5753
5754         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5755         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5756         an incomplete class LyXFont.
5757
5758 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5759
5760         * factory.C: bug fix in branches
5761
5762 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * lyxfunc.C (processKeySym): adjust
5765         (dispatch): adjust
5766         (dispatch): change arg name from ev to func, adjust
5767         (sendDispatchMessage): ditto
5768
5769         * lyx_main.C (defaultKeyBindings): adjust keybindings
5770         (deadKeyBindings): ditto
5771
5772         * kbsequence.C (addkey): return a FuncRequest
5773
5774         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5775
5776         * kbmap.C (bind): take a FuncRequest as arg, adjust
5777         (read): adjust
5778         (lookup): adjust
5779         (defkey): change to take a FuncRequest as arg, adjust
5780         (findbinding): take a FuncRequest as arg, adjust.
5781
5782         * funcrequest.h (operator=): added
5783
5784         * funcrequest.C (FuncRequest): default kb_action changed from
5785         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5786
5787         * buffer.C (dispatch): simplify
5788         (dispatch): adjust to take a FuncRequest as arg, adjust
5789
5790         * boost.C (assertion_failed): change assertion message slightly
5791
5792         * ToolbarBackend.C (read): simplify
5793
5794         * MenuBackend.C (binding): adjust call to findbinding, add a
5795         message if no binding is found.
5796         (read): simplify
5797         (expandToc): correct by adding a empty FuncRequest
5798
5799         * LyXAction.C: include <boost/assert.hpp>
5800         (isPseudoAction): delete function
5801         (LookupFunc): change name to...
5802         (lookupFunc): this. change return type to FuncRequest.
5803         (getActionName): take kb_action as arg, simplify
5804         (funcHasFlag): add an assert, simplify.
5805
5806 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5807
5808         * toc.C (action): return a FuncRequest, simplify
5809
5810         * lyxfunc.C (processKeySym): adjust
5811         (getStatus): delete version that takes an int.
5812         (getStatus): adjust
5813         (dispatch): delete version that takes action as int
5814         (dispatch): adjust
5815         (sendDispatchMessage): simplify and adjust
5816
5817         * funcrequest.C (getArg): take unsigned int as arg
5818
5819         * ToolbarBackend.C (read): adjust
5820         (add): delete version that takes func as a string.
5821         (getIton): take a FuncRequest as arg
5822
5823         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5824         action.
5825
5826         * MenuBackend.C (MenuItem): add a new construct that only takes a
5827         Kind, simplify the constructor use for submenus.
5828         (add): adjust
5829         (expandLastfiles): adjust
5830         (expandDocuments): adjust
5831         (expandFormats): adjust
5832         (expandFloatListInsert): adjust
5833         (expandFloatInsert): adjust
5834         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5835
5836         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5837         Remove class variables lyx_pseudo_map and lyx_arg_map
5838
5839         * LyXAction.C (searchActionArg): delete function
5840         (getPseudoAction): delete function
5841         (retrieveActionArg): delete function
5842         (LookupFunc): make it return kb_action, simplify.
5843         (getActionName): simplify
5844
5845         * factory.C (createInset): fix new bug
5846
5847 2003-09-19  Angus Leeming  <leeming@lyx.org>
5848
5849         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5850         masterFilename_ parameter in the include inset.
5851
5852         * factory.C (createInset): changes due to the changes to InsetInclude.
5853
5854 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5855
5856         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5857
5858 2003-09-18  Angus Leeming  <leeming@lyx.org>
5859
5860         * buffer.C:
5861         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5862         Inset::fillWithBibKeys.
5863         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5864
5865 2003-09-18  Angus Leeming  <leeming@lyx.org>
5866
5867         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5868         variables.
5869         (ctor): pass and store a 'Buffer const &'
5870         (buffer): new member function.
5871
5872         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5873         '*this' to the LaTeXFeatures ctor.
5874
5875 2003-09-18  Angus Leeming  <leeming@lyx.org>
5876
5877         * LColor.h:
5878         * lyxfont.C:
5879         * lyxfont.h:
5880         * lyxtext.h:
5881         * text.C: rename EnumLColor as LColor_color.
5882
5883 2003-09-18  Angus Leeming  <leeming@lyx.org>
5884
5885         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5886         remove #include "insets/insetbase.h" from cursor.h.
5887
5888 2003-09-18  Angus Leeming  <leeming@lyx.org>
5889
5890         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5891         InsetOld_code to remove #include "inset.h".
5892
5893         * iterators.C: add #include "insets/inset.h"
5894
5895 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5896
5897         * BufferView.C: remove more locking stuff that apparently doesn't
5898         do anything sensible.
5899
5900 2003-09-16  André Pönitz  <poenitz@gmx.net>
5901
5902         * paragraph.[Ch]:
5903         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5904           performance boost.
5905
5906 2003-09-16  Angus Leeming  <leeming@lyx.org>
5907
5908         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5909
5910         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5911         arg/return type.
5912
5913         * paragraph.h: remove #include "lyxfont.h". Forward declare
5914         LyXFont_size.
5915
5916 2003-09-16  Angus Leeming  <leeming@lyx.org>
5917
5918         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5919         of support/textutils.h.
5920         (isWord): move the contents of support/textutils.h's IsWordChar here.
5921
5922         * buffer.C:
5923         * lyxfind.C:
5924         * rowpainter.C:
5925         * text.C:
5926         * text2.C: add #include "paragraph.h".
5927
5928         * rowpainter.C:
5929         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5930
5931 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * main.C:
5934         * lyx_main.C:
5935         * lyx_cb.C:
5936         * buffer.C:
5937         * LaTeX.C: use namespace alias for lyx::support::os
5938
5939 2003-09-16  Angus Leeming  <leeming@lyx.org>
5940
5941         * bufferparams.C:
5942         * bufferview_funcs.C:
5943         * factory.C:
5944         * lyxfunc.C:
5945         * paragraph_pimpl.C:
5946         * rowpainter.C:
5947         * text.C: add #include "LColor.h".
5948
5949 2003-09-16  Angus Leeming  <leeming@lyx.org>
5950
5951         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5952         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5953         return LyXFont &.
5954         Store the FontBits::color variable as an int rather than as an
5955         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5956         file.
5957
5958         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5959         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5960         string calls together.
5961
5962         * lyxrc.C: add #include "LColor.h".
5963
5964 2003-09-15  Angus Leeming  <leeming@lyx.org>
5965
5966         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5967         a cow_ptr.
5968
5969 2003-09-15  Angus Leeming  <leeming@lyx.org>
5970
5971         * LColor.h: add an EnumLColor wrapper for LColor::color.
5972
5973         * lyxfont.[Ch] (color, setColor, realColor):
5974         * lyxtext.h, text.C (backgroundColor):
5975         pass EnumLColor args to/from the functions, rather than LColor::color
5976         ones.
5977
5978         * lyxfont.h:
5979         * lyxtext.h: forward declare EnumLColor.
5980
5981         * lyx_main.C: add #include "LColor.h".
5982
5983 2003-09-15  Angus Leeming  <leeming@lyx.org>
5984
5985         * .cvsignore: add lyx-gtk.
5986
5987 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * Chktex.C
5990         * LaTeX.C
5991         * LaTeXFeatures.C
5992         * ParagraphParameters.C
5993         * Spacing.C
5994         * buffer.C
5995         * bufferparams.C
5996         * bufferview_funcs.C
5997         * chset.C
5998         * counters.C
5999         * funcrequest.C
6000         * lyxfont.C
6001         * lyxgluelength.C
6002         * lyxlength.C
6003         * paragraph.C
6004         * paragraph_funcs.C
6005         * text3.C
6006         * vc-backend.C: remove usage of STRCONV
6007
6008 2003-09-15  Angus Leeming  <leeming@lyx.org>
6009
6010         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6011         explicitly define the color passed to the painter.
6012
6013 2003-09-15  Angus Leeming  <leeming@lyx.org>
6014
6015         * bufferparams.C (BufferParams): reorder member initializers to avoid
6016         compiler warning.
6017
6018 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6021         * text.C (updateRowPositions): remove an unusual nop
6022
6023 2003-09-12  André Pönitz  <poenitz@gmx.net>
6024
6025         * BufferView_pimpl.C:
6026         * Bullet.C:
6027         * layout.h:
6028         * lyxfunc.C:
6029         * lyxlayout.[Ch]:
6030         * lyxtextclass.C:
6031         * rowpainter.C:
6032         * text.C:
6033         * text2.C:
6034         * Counters.[Ch]: finish the 'automatic counters' job
6035
6036 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6037
6038         * aspell.C: include <boost/assert.cpp> (compile fix)
6039
6040 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6041
6042         * boost.C (assertion_failed): use lyx::support::abort instead of
6043         assert.
6044
6045 2003-09-10  Angus Leeming  <leeming@lyx.org>
6046
6047         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6048         with their _fwd progeny.
6049
6050 2003-09-09  Angus Leeming  <leeming@lyx.org>
6051
6052         134 files throughtout the source tree: replace 'using namespace abc;'
6053         directives with the appropriate 'using abc::xyz;' declarations.
6054
6055 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6056
6057         * boost.C (emergencyCleanup): moved here from LAssert.c
6058         (assertion_failed): new function, called by BOOST_ASSERT
6059
6060         * several files: change Assert to BOOST_ASSERT
6061
6062 2003-09-09  Angus Leeming  <leeming@lyx.org>
6063
6064         * buffer.[Ch]: Add an Impl class and move Buffer's member
6065         variables into it. As a result move several header files out of
6066         buffer.h.
6067
6068         Add header files to lots of .C files all over the tree as a result.
6069
6070 2003-09-09  Angus Leeming  <leeming@lyx.org>
6071
6072         * buffer.[Ch]: make Buffer's member variables private. Add
6073         accessor functions.
6074
6075         Lots of changes all over the tree as a result.
6076
6077 2003-09-08  Angus Leeming  <leeming@lyx.org>
6078
6079         * graph.C: #include <config.h>.
6080
6081 2003-09-08  Angus Leeming  <leeming@lyx.org>
6082
6083         * BranchList.C:
6084         * BufferView.C:
6085         * BufferView_pimpl.C:
6086         * CutAndPaste.C:
6087         * DepTable.C:
6088         * LaTeX.C:
6089         * LaTeXFeatures.C:
6090         * LyXAction.C:
6091         * MenuBackend.C:
6092         * TextCache.C:
6093         * aspell.C:
6094         * buffer.C:
6095         * bufferlist.C:
6096         * changes.C:
6097         * chset.C:
6098         * converter.C:
6099         * counters.C:
6100         * debug.C:
6101         * graph.C:
6102         * ispell.C:
6103         * lyx_cb.C:
6104         * lyxfind.C:
6105         * lyxfunc.C:
6106         * lyxlex_pimpl.C:
6107         * lyxrc.C:
6108         * lyxrow.C:
6109         * paragraph.C:
6110         * rowpainter.C:
6111         * texrow.C:
6112         * text.C:
6113         * text2.C:
6114         * toc.C: remove redundant using directives.
6115
6116 2003-09-07  Angus Leeming  <leeming@lyx.org>
6117
6118         * LaTeXFeatures.h: remove #include "support/types.h".
6119         * ToolbarBackend.h: remove #include <algorithm>.
6120         * changes.h: remove #include <ctime>.
6121         * debug.h: remove #include <iosfwd>.
6122         * graph.h: remove #include "support/std_string.h".
6123         * lyx_main.h: remove #include <csignal>.
6124         * lyxlex_pimpl.h: remove #include <fstream>.
6125         * sgml.h: remove #include <algorithm>, <utility>.
6126         * toc.h: remove #include "support/std_ostream.h".
6127         Add #include <iosfwd>.
6128
6129 2003-09-07  Angus Leeming  <leeming@lyx.org>
6130
6131         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6132
6133         * converter.h: forward declare LatexRunParams.
6134         * encoding.h: remove #include "lyxrc.h".
6135         * lyxtext.h: remove #include "LColor.h".
6136         * lyxtextclass.h: remove #include "support/types.h".
6137         * trans.h: remove #include "tex-accent.h".
6138         * trans_mgr.h: remove #include "tex-accent.h".
6139         * insets/inset.h: remove #include "support/types.h", <vector>.
6140         * insets/insetcollapsable.h: remove #include "LColor.h".
6141         * insets/insetinclude.h: remove #include "dimension.h".
6142         * insets/insetlatexaccent.h: remove #include "dimension.h".
6143         * insets/insetoptarg.h:: remove #include "insettext.h".
6144         * insets/insettext.h: remove #include "dimension.h",
6145         <boost/shared_ptr.hpp>
6146
6147         * insets/renderers.h: add #include "dimension.h".
6148         * insets/updatableinset.h: add #include "support/types.h".
6149
6150         * many .C files: Associated changes.
6151
6152 2003-09-06  Angus Leeming  <leeming@lyx.org>
6153
6154         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6155         one, inside testInvariant.
6156
6157         * PrinterParams.C: new file.
6158         * PrinterParams.[Ch]: move the function bodies out of line.
6159
6160 2003-09-06  Angus Leeming  <leeming@lyx.org>
6161
6162         * ParagraphParameters.h: forward declare ParameterStruct rather than
6163         including its header file.
6164         (depth): moved out-of-line.
6165
6166 2003-09-06  Angus Leeming  <leeming@lyx.org>
6167
6168         * BufferView_pimpl.h:
6169         * kbmap.h:
6170         * kbsequence.h:
6171         * lyxfunc.h: forward declare LyXKeySym rather than
6172         #include "frontends/LyXKeySym.h".
6173
6174         * BufferView_pimpl.C:
6175         * kbmap.C:
6176         * kbsequence.C:
6177         * lyxfunc.C: associated changes.
6178
6179 2003-09-06  Angus Leeming  <leeming@lyx.org>
6180
6181         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6182         As a result, can remove the #include "insets/inset.h" from BufferView.h
6183
6184 2003-09-06  Angus Leeming  <leeming@lyx.org>
6185
6186         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6187         As a result, can remove the #include "insets/inset.h" from BufferView.h
6188
6189 2003-09-06  Angus Leeming  <leeming@lyx.org>
6190
6191         * buffer_funcs.C:
6192         * buffer.h:
6193         * bufferlist.C:
6194         * BufferView.C:
6195         * bufferview_funcs.C:
6196         * BufferView_pimpl.C:
6197         * CutAndPaste.C:
6198         * lyx_cb.C:
6199         * lyxfunc.C:
6200         * paragraph.h:
6201         * ParagraphParameters.C:
6202         * tabular.C:
6203         * text3.C:
6204         * toc.C:
6205         * undo_funcs.C:
6206         * frontends/controllers/ControlDocument.C:
6207         * insets/insetcaption.C: rearrange the #includes into some sort of
6208         coherent order.
6209
6210         * buffer.h: remove #includes ErrorList.h, undo.h
6211
6212 2003-09-06  Angus Leeming  <leeming@lyx.org>
6213
6214         * support/types.h: add a 'depth_type' typedef, used to store the
6215         nesting depth of a paragraph.
6216
6217         * paragraph.h:
6218         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6219         defining explicitly.
6220
6221         * buffer.h:
6222         * paragraph_funcs.h:
6223         * ParagraphParameters.h:
6224         * sgml.h: use lyx::depth_type rather than Paragraph or
6225         ParameterStruct's depth_type.
6226
6227         * buffer.h
6228         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6229
6230         * BufferView.C:
6231         * BufferView_pimpl.C:
6232         * CutAndPaste.C:
6233         * ParagraphParameters.C:
6234         * buffer_funcs.C:
6235         * bufferlist.C:
6236         * bufferview_funcs.C:
6237         * lyx_cb.C:
6238         * lyxfunc.C:
6239         * tabular.C:
6240         * text3.C:
6241         * toc.C:
6242         * undo_funcs.C:
6243         * frontends/LyXView.C:
6244         * frontends/controllers/ControlDocument.C:
6245         * frontends/controllers/ControlErrorList.C:
6246         * insets/insetbibitem.C:
6247         * insets/insetbranch.C:
6248         * insets/insetcaption.C:
6249         * insets/insetcollapsable.C:
6250         * insets/insetenv.C:
6251         * insets/insetert.C:
6252         * insets/insetfloat.C:
6253         * insets/insetfoot.C:
6254         * insets/insetfootlike.C:
6255         * insets/insetnewline.C:
6256         * insets/insetquotes.C:
6257         * insets/insettabular.C:
6258         * insets/insettext.C:
6259         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6260
6261         * frontends/controllers/ControlChanges.C: #include "changes.h".
6262
6263 2003-09-06  Angus Leeming  <leeming@lyx.org>
6264
6265         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6266         than #including paragraph.h.
6267
6268         * ParagraphList.h:
6269         * RowList.h: deleted. Superfluous.
6270
6271         * CutAndPaste.h:
6272         * iterators.h:
6273         * lyxcursor.h:
6274         * lyxtext.h:
6275         * text_funcs.h:
6276         * undo.h:
6277         * undo_funcs.h:
6278         * insets/inset.h:
6279         * insets/insettext.h: use ParagraphList_fwd.h rather than
6280         ParagraphList.h.
6281
6282         * paragraph.h: don't forward declare ParagraphList.
6283
6284         * buffer.h:
6285         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6286         rather than ParagraphList.h. paragraph.h is still needed for the
6287         Paragraph::depth_type parameters.
6288
6289         * textcursor.h: enable it to compile stand-alone in light of the
6290         above changes.
6291
6292         * bufferview_funcs.C:
6293         * iterators.C:
6294         * lyxfunc.C:
6295         * lyxrow_funcs.C:
6296         * paragraph.C:
6297         * rowpainter.C:
6298         * text.C:
6299         * text2.C:
6300         * text3.C:
6301         * text_funcs.C:
6302         * textcursor.C:
6303         * undo.C:
6304         * frontends/controllers/ControlParagraph.C:
6305         * frontends/controllers/ControlTabular.C:
6306         * insets/insetmarginal.C:
6307         * insets/insetminipage.C:
6308         * insets/insetnote.C:
6309         * insets/insetoptarg.C: add header files needed to compile again.
6310
6311 2003-09-06  Angus Leeming  <leeming@lyx.org>
6312
6313         * RowList_fwd.h: new file, forward-declaring Row rather than
6314         #including lyxrow.h.
6315
6316         * lyxrow_funcs.h:
6317         * lyxtext.h:
6318         * paragraph.h:
6319         * insets/insettext.h: use it instead of RowList.h
6320
6321         * bufferview_funcs.C:
6322         * lyxfunc.C:
6323         * lyxrow_funcs.C:
6324         * paragraph.C:
6325         * rowpainter.C:
6326         * text.C:
6327         * text2.C:
6328         * text3.C: #include "RowList.h".
6329
6330 2003-09-05  Angus Leeming  <leeming@lyx.org>
6331
6332         * factory.C (createInset):
6333         * vspace.C (c-tor): replace sscanf call with an istringstream.
6334         * ispell.C: re-add missing HP/UX headers.
6335         * lyxserver.C: re-add missing  os2 headers.
6336
6337 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6338
6339         * BranchList.C:
6340         * graph.C:
6341         * ispell.C:
6342         * lastfiles.C:
6343         * lyx_cb.C:
6344         * lyxserver.C:
6345         * texrow.C:
6346         * text3.C: re-add missing system headers, needed for 2.95.2.
6347
6348 2003-09-05  Angus Leeming  <leeming@lyx.org>
6349
6350         Changes most place everywhere due to the removal of using directives
6351         from support/std_sstream.h.
6352
6353 2003-09-05  Angus Leeming  <leeming@lyx.org>
6354
6355         Replace LString.h with support/std_string.h,
6356         Lsstream.h with support/std_sstream.h,
6357         support/LIstream.h with support/std_istream.h,
6358         support/LOstream.h with support/std_ostream.h.
6359
6360         Changes resulting throughout the tree.
6361
6362 2003-09-05  Angus Leeming  <leeming@lyx.org>
6363
6364         * sgml.h: ensure that the header file can be compiled stand-alone.
6365         * *.C: strip out redundant #includes. (320 in total.)
6366
6367 2003-09-04  Angus Leeming  <leeming@lyx.org>
6368
6369         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6370         here (from getPackages).
6371
6372         * debug.[Ch]: add a new EXTERNAL tag.
6373
6374 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6375
6376         * text2.C (cursorEnd): simplify
6377         (setCursor): adjust
6378         (getColumnNearX): adjust
6379
6380         * text.C (computeBidiTables): adjust
6381         (fill): adjust
6382
6383         * rowpainter.C (paintChars): adjust
6384         (paintSelection): adjust
6385         (paintChangeBar): adjust
6386         (paintText): adjust
6387
6388         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6389         lastPos instead.
6390         (numberOfSeparators): adjust
6391
6392 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6393
6394         * LyXAction.C:
6395         * box.[Ch]:
6396         * lfuns.h:
6397         * lyxfunc.C:
6398         * text3.C: Restricts the mouse click functionality
6399         of insets like bibtex, include, toc and floatlist to the visible
6400         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6401         up the dialogs. Cursor has to be in front of the inset (i.e.
6402         start of row) for this to function.
6403
6404 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6405
6406         * bufferview_funcs.C (currentState): output row information
6407
6408 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6409
6410         * bufferview_funcs.C (currentState): output paragraph position
6411
6412 2003-09-04  Angus Leeming  <leeming@lyx.org>
6413
6414         * FloatList.h: move out #include "Floating.h".
6415         * LaTeX.h: move out #include "DepTable.h".
6416         * LyXAction.h: move out #include "funcrequest.h".
6417         * buffer.h: move out #include "author.h", "iterators.h".
6418         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6419         * lyx_main.h: move out #include "errorlist.h".
6420         * lyxfunc.h: move out #include "FuncStatus.h".
6421         * lyxtext: move out #include "lyxcursor.h".
6422         * paragraph_pimpl.h: move out #include "counters.h".
6423
6424 2003-09-03  Angus Leeming  <leeming@lyx.org>
6425
6426         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6427         preamble_snippets list, enabling us to add snippets to the preamble
6428         only if the snippet was not there already.
6429
6430 2003-09-04  Angus Leeming  <leeming@lyx.org>
6431
6432         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6433
6434 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6437         update
6438
6439 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6440
6441         * BranchList.C: point fix, earlier forgotten
6442
6443 2003-09-02  Angus Leeming  <leeming@lyx.org>
6444
6445         * box.C (contains): renamed from 'contained' after a fantastic
6446         amount of hot air.
6447
6448 2003-09-02  John Levon  <levon@movementarian.org>
6449
6450         * BufferView.C:
6451         * lyxcursor.h:
6452         * lyxcursor.C:
6453         * lyxfunc.C:
6454         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6455
6456 2003-09-02  John Levon  <levon@movementarian.org>
6457
6458         * text2.C: simplification of cursorEnd(), including partial
6459         fix for bug 1376
6460
6461 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * buffer.C (readFile): add a space
6464
6465 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6466
6467         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6468
6469 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * buffer.C (readFile): new function, take a filename and a
6472         ParagraphList::iterator
6473         (readFile): adjust
6474         (readFile): adjust, make it private. don't use setStream, make
6475         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6476         always contain the filename.
6477
6478         * BufferView.C (insertLyXFile): simplify and make it work for
6479         gzipped files.
6480
6481 2003-08-30  John Levon  <levon@movementarian.org>
6482
6483         * Makefile.am: fix dist (from Kayvan)
6484
6485 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * most files: change to use const Buffer refs
6488
6489 2003-08-27  André Pönitz  <poenitz@gmx.net>
6490
6491         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6492         on top of ownerPar().
6493
6494 2003-08-27  John Levon  <levon@movementarian.org>
6495
6496         * funcrequest.C: properly initialise POD members
6497
6498 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * lyxtext.h (top_y): move top_y from here
6501         * text.C:
6502         * text2.C:
6503         * text3.C:
6504         * BufferView.[Ch]:
6505         * BufferView_pimpl.[Ch]: to here
6506         * frontends/screen.C:
6507         * insets/insettabular.C:
6508         * insets/insettext.C: adjust
6509         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6510
6511 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6512
6513         * BufferView.[Ch]:
6514         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6515
6516 2003-08-26  André Pönitz  <poenitz@gmx.net>
6517
6518         * paragraph_func.[Ch] (outerPar): new function
6519
6520         * paragraph.C:
6521         * paragraph_funcs.C:
6522         * paragraph_funcs.h:
6523         * paragraph_pimpl.C:
6524         * text2.C: remove Inset::par_owner
6525
6526 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6527
6528         * lyxrow_funcs.C:
6529         * lyxtext.h:
6530         * text.C:
6531         * text2.C: eliminates the needFullRow/display() stuff
6532         altogether, putting the logic in metrics/draw in the insets.
6533
6534 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * text2.C (redoParagraphInternal, redoParagraphs):
6537         * text.C (redoParagraph): add a call to updateRowPositions at the
6538         end of each 'metrics-like' call. Remove all others.
6539         (getRow): remove the 'y-computing' version.
6540         (getRowNearY): do not compute nor return the real y. Solve the
6541         'y < 0' problem and simplify.
6542
6543 2003-08-22  Angus Leeming  <leeming@lyx.org>
6544
6545         * *.[Ch]: clean-up of licence and author blurbs.
6546         Also move config.h out of a few .h files and into a few .C files.
6547
6548 2003-08-22  André Pönitz  <poenitz@gmx.net>
6549
6550         * lyxrow.[Ch]: add x_ and *fill_ members
6551
6552         * lyxtext.h:
6553         * text.C:
6554         * rowpainter.C:
6555         * text2.C: adjust/remove prepareToPrint() calls
6556
6557 2003-08-22  André Pönitz  <poenitz@gmx.net>
6558
6559         * lyxrow.[Ch]: add  end_ member
6560
6561         * lyxrow_funcs.C: use LyXRow::end_
6562
6563         * lyxtext.h (singleWidth): add LyXFont parameter
6564
6565         * rowpainter.C:
6566         * text2.C: adjust LyXText::singleWidth() calls
6567
6568         * text.C (redoParagraph): simplify row breaking logic
6569
6570
6571 2003-08-19  André Pönitz  <poenitz@gmx.net>
6572
6573         * funcrequest.C: initialize button_ member
6574
6575         * text3.C:
6576         * rowpainter.[Ch]: interface consolidation
6577
6578 2003-08-18  André Pönitz  <poenitz@gmx.net>
6579
6580         * BufferView.C:
6581         * BufferView_pimpl.C:
6582         * lyxfind.C:
6583         * paragraph_funcs.C:
6584         * rowpainter.C:
6585         * text3.C: remove LyXScreen::draw() and fitCursor calls
6586
6587         * BranchList.h: remove spurious semicolons
6588
6589         * MenuBackend.C: fix branchlist related crash
6590
6591 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6592
6593         * BranchList.[Ch]:
6594         * InsetList.[Ch]:
6595         * LColor.[Ch]:
6596         * LyXAction.C:
6597         * Makefile.am:
6598         * MenuBackend.[Ch]:
6599         * bufferparams.[Ch]:
6600         * factory.C:
6601         * lfuns.h:
6602         * lyxfunc.C:
6603         * text3.C: implements the 'branch inset'
6604         idea. This allows the output of various versions of a document
6605         from a single source version, selectively outputing or suppressing
6606         output of parts of the text.
6607         This implementation contains a 'branch list editor' in a separate
6608         tab of the document settings dialog. Branches are user definable
6609         and have a "display colour" to distinguish them on-screen.
6610
6611         ColorHandler was somewhat cleaned up.
6612         (1) make possible a dynamically growing LColor list by allowing
6613         the graphic context cache to grow along (vector);
6614         (2) eliminate an IMHO unnecessary step in colour allocation.
6615
6616 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6617
6618         * BufferView_pimpl.C: compile fix
6619
6620 2003-08-15  André Pönitz  <poenitz@gmx.net>
6621
6622         * rowpainter.C: remove extra metrics calls
6623
6624         * lyxtext.h: merge the two constructors into a single one,
6625           pass reference to owner's par list
6626
6627         * BufferView_pimpl.C:
6628         * text.C:
6629         * text2.C: adjust
6630
6631 2003-08-15  André Pönitz  <poenitz@gmx.net>
6632
6633         * lyxrow_funcs.[Ch]:
6634         * lyxtext.h:
6635         * paragraph.h:
6636         * paragraph_funcs.C:
6637         * rowpainter.C:
6638         * text.C:
6639         * text2.C:
6640         * text3.C:
6641         * text_funcs.C: split LyXText::rowlist_ into individual
6642         Paragraph::rows_ chunks
6643
6644         * BufferView.[Ch]:
6645         * BufferView_pimpl.[Ch]:
6646         * lyxfind.C:
6647         * lyxtext.h:
6648         * text3.C: remove toggleSelection()
6649
6650 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6651
6652         * bufferlist.C: beautify two alerts (shorter text of buttons)
6653         * buffer.C: Remove redundant ' ' from message
6654         * tabular.h:
6655         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6656         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6657         rename VALIGN_CENTER to VALIGN_MIDDLE
6658
6659 2003-08-11  André Pönitz  <poenitz@gmx.net>
6660
6661         * lyxtext.h (getPar):
6662         * text.C: new function
6663
6664 2003-08-11  André Pönitz  <poenitz@gmx.net>
6665
6666         * Makefile.am:
6667         * tracer.[Ch]: remove unneeded files
6668
6669         * InsetList.[Ch]: remove resizeInsetsLyXText()
6670
6671         * lyxtext.h:
6672         * text.C:
6673         * text2.C:
6674         * text3.C: merge insertParagraphs() and appendParagraph()
6675         remove breakAgain(), update()
6676
6677         * BufferView_pimpl.[Ch]:
6678         * bufferview_funcs.[Ch]:
6679         * lyxfunc.C:
6680         * paragraph.[Ch]:
6681         * rowpainter.C:
6682         * tabular.C: adjust after text & InsetList changes.
6683
6684 2003-08-08  André Pönitz  <poenitz@gmx.net>
6685
6686         * text.C (insertChar, backspace): replace rowlist fiddling
6687         with rebreak of full par
6688
6689         * lyxtext.h:
6690         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6691         checkParagraph, updateInset): removed
6692
6693 2003-08-07  André Pönitz  <poenitz@gmx.net>
6694
6695         * paragraph.C:
6696         * text3.C: merge some LFUN handlers, remove dead code
6697
6698 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6699
6700         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6701
6702 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6703
6704         * text2.C (DEPM): fix part of bug 1255 and 1256
6705
6706 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6707
6708         * BufferView_pimpl.C (workAreaDispatch): change to use
6709         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6710         that are no mouse related.
6711
6712 2003-08-05  André Pönitz  <poenitz@gmx.net>
6713
6714         * BufferView.[Ch]:
6715         * BufferView_pimpl.[Ch]:
6716         * bufferview_funcs.C:
6717         * text2.C:
6718         * text3.C: rip out "deep update"
6719
6720         * textcursor.[Ch] (last_sel_cursor): remove unused member
6721
6722 2003-08-04  André Pönitz  <poenitz@gmx.net>
6723
6724         * BufferView.[Ch]:
6725         * BufferView_pimpl.[Ch]:
6726         * ParagraphParameters.C:
6727         * bufferview_funcs.C:
6728         * lyx_cb.C:
6729         * lyxfind.C:
6730         * lyxfunc.C:
6731         * text.C:
6732         * text2.C:
6733         * text3.C: replace "complicated" BufferView::update(...) calls with
6734         simpler ones.
6735
6736         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6737
6738 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6739
6740         * Makefile.am (lyx_SOURCES): add paper.h
6741
6742 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6743
6744         * Makefile.am: move things around so that both lyx-qt and
6745         lyx-xforms can be built (according to --with-frontend). Then lyx
6746         is a symbolic link to lyx-[firstfrontend]
6747
6748 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6749
6750         * Always use std::endl with lyxerr
6751
6752 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6753
6754         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6755
6756 2003-08-01  André Pönitz  <poenitz@gmx.net>
6757
6758         * BufferView.[Ch]:
6759         * BufferView_pimpl.[Ch]:
6760         * lyxfunc.C:
6761         * text3.C: merge BufferView::repaint() and BufferView::update()
6762
6763 2003-08-01  José Matos  <jamatos@lyx.org>
6764
6765         * buffer.[Ch]: file_format is no longer a buffer data element.
6766
6767 2003-08-01  André Pönitz  <poenitz@gmx.net>
6768
6769         * BufferView.C:
6770         * lyxtext.h:
6771         * text.C:
6772         * text2.C: make redoParagraph more independent of current cursor
6773
6774         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6775         * text.C:
6776         * text2.C: remove unneeded members
6777
6778 2003-07-30  André Pönitz  <poenitz@gmx.net>
6779
6780         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6781
6782         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6783           create a single function...
6784
6785         * paragraph_funcs.C (moveItem): ... here.
6786
6787         * text.C:
6788           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6789
6790 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6791
6792         * LColor.[Ch]: Add comment and greyedout logical colors.
6793
6794 2003-07-30  André Pönitz  <poenitz@gmx.net>
6795
6796         * tabular.C: don't use Assert too heavily. This crashes where it
6797           shouldn't
6798
6799 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6802         is disabled (bug 1232)
6803
6804 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6805
6806         * factory.C: limited 'arg' scope
6807
6808 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6809
6810         * factory.C: fixed Note submenu issues
6811
6812 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6813
6814         * factory.C: submenu for Note/Comment/Greyedout
6815
6816 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6817
6818         * lyx_main.C (LyX):
6819         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6820
6821 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6822
6823         * LaTeXFeatures.C:
6824         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6825         greyedout. Patch provided by Jürgen Spitzmüller.
6826
6827 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6828
6829         * kbmap.C (read): fix error message when reading bind files
6830
6831 2003-07-29  Angus Leeming  <leeming@lyx.org>
6832
6833         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6834         certainly does not do what it purports to do. I am doing it, and
6835         us, a favour by killing it.
6836
6837 2003-07-28  José Matos  <jamatos@lyx.org>
6838
6839         * buffer.C (readBody, do_writeFile):
6840         * paragraph.C(readParagraph): \end_document replaces \the_end.
6841
6842 2003-07-29  André Pönitz  <poenitz@gmx.net>
6843
6844         * BufferView.[Ch]:
6845         * BufferView_pimpl.[Ch]:
6846         * lyxfunc.C:
6847         * text2.C:
6848         * text3.C:
6849         * textcursor.[Ch]: remove toggleToggle & Co
6850
6851 2003-07-28  José Matos  <jamatos@fep.up.pt>
6852
6853         * buffer.C (readParagraph):
6854         * params_func (readParToken, readParagraph):
6855         * paragraph.C (write): \layout -> \begin_layout.
6856
6857 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * lyxlex_pimpl.C (setFile): clean up slightly.
6860
6861         * bufferparams.h: add compressed var
6862
6863         * buffer_funcs.C (readFile): adjust for LyXLex change
6864         (newFile): ditto + simplify
6865
6866         * buffer.C (writeFile): handle writing of compressed files
6867
6868         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6869         Check if the file is compressed and set a bufferparm if so.
6870
6871         * Makefile.am (lyx_LDADD): remove explicit -lz
6872
6873 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6874
6875         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6876         makeDocBookFile): put the real LyX version in the first line of
6877         the file
6878
6879         * version.h:
6880         * version.C.in: remove lyx_docversion
6881
6882         * tabular.C (write_attribute): add a template-based version to
6883         write enums properly
6884
6885 2003-07-28  André Pönitz  <poenitz@gmx.net>
6886
6887         * lyxtext.h:
6888         * text.C:
6889         * text2.C:
6890         * text3.C: use doubles again for x-coordinates. They are needed.
6891
6892 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * messages.C (getLocaleDir): use lyx_localedir()
6895
6896         * lyxlex_pimpl.C (setFile): compress stuff
6897
6898         * buffer.C (writeFile): add some compression stuff
6899         (do_writeFile): new func, dont call expliti close... will this
6900         breake anything?
6901
6902         * Makefile.am (lyx_LDADD): add -lz
6903
6904 2003-07-28  José Matos  <jamatos@fep.up.pt>
6905
6906         * buffer.C: increment file format.
6907         * paragraph_funcs (readParagraph, readParToken):
6908         * paragraph.C (readParagraph): add \end_layout.
6909
6910 2003-07-27  Angus Leeming  <leeming@lyx.org>
6911
6912         * Makefile.am: remove special casing for configure-time setting of
6913         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6914
6915         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6916         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6917
6918 2003-07-26  André Pönitz  <poenitz@gmx.net>
6919
6920         * paragraph_func.[Ch]:
6921         * paragraph.C (realizeFont): inline it whereever it is used
6922
6923         * rowpainter.C:
6924         * text.C:
6925         * text2.C:
6926         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6927
6928
6929 2003-07-26  André Pönitz  <poenitz@gmx.net>
6930
6931         *       lyxtext.h:
6932         * text.C:
6933         * text2.C: get rid of LyXText::need_break_row
6934
6935 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * toc.[Ch]: put namespace toc inside namespace lyx
6938
6939         * MenuBackend.C (expandToc2): adjust for lyx::toc
6940         (expandToc): ditto
6941
6942         * lyxfunc.C (dispatch): adjust for lyx::find
6943
6944         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6945         lyx::find instead. Reorganize a bit.
6946         (LyXReplace): rename to replace
6947         (LyXFind): rename to find
6948
6949         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6950         (dispatch): ditto
6951
6952 2003-07-26  André Pönitz  <poenitz@gmx.net>
6953
6954         * text.C (setHeightOfRow): restrict scope of temporary variable
6955
6956         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6957           code (never has been used?)
6958
6959 2003-07-27  Asger Alstrup  <alstrup@local>
6960
6961         * text.C (fill): Optimise algorithm to exploit that we can reuse
6962         the LyXFont for many characters.
6963         (setHeightOfRow): Same thing.
6964         (rowBreakPoint): Same thing.
6965
6966 2003-07-26  Asger Alstrup  <alstrup@local>
6967
6968         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6969
6970         * text.C (singleWidth): Spurious font copying in hot-spot
6971         singleWidth avoided. Reorder tests for arabic for efficiency.
6972
6973         * text.C (fill): handle empty paragraphs better.
6974
6975 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6976
6977         * ispell.C:
6978         * encoding.h: add includes
6979
6980         * lyxrc.C: remove reading of bind files
6981
6982         * lyx_main.C (init): setup bindings and menus only if we have a
6983         gui.
6984
6985         * kbmap.C (read): new method. Do the actual reading of bind
6986         files.
6987
6988         * converter.C (dvipdfm_options):
6989         * bufferparams.C:
6990         * lyxrc.C (read):
6991         (output): adapt PAPER_* enums.
6992
6993         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6994
6995         * bufferparams.h: remove paper-related enums from there
6996
6997         * paper.h: New file. A trivial header file to hold paper-related
6998         enums. It should later expand to contain many paper-related
6999         horrors access.
7000
7001         * lyxrc.C: declare extern displayTranslator
7002
7003 2003-07-27  José Matos  <jamatos@fep.up.pt>
7004
7005         * tabular.[Ch] (linuxdoc): add support for tables and figures
7006         (linuxdoc).
7007
7008 2003-07-27  José Matos  <jamatos@fep.up.pt>
7009
7010         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7011         consistency in both functions.
7012         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7013
7014 2003-07-26  Asger Alstrup  <alstrup@local>
7015
7016         * rowpainter.C (paintRows): Change algorithm to work directly on
7017         the insets rather than asking every character in the document
7018         whether its an inset.
7019
7020 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7021
7022         * buffer.C (openFileWrite): factorize some code
7023
7024 2003-07-26  Angus Leeming  <leeming@lyx.org>
7025
7026         * lyx_cb.C:
7027         * lyx_main.[Ch]: replace occurances of system_tempdir with
7028         os::getTmpDir().
7029
7030 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * rename Inset to InsetOld
7033
7034 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7035
7036         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7037         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7038         which I think is a bit clearer. EDIT is gone, since it was
7039         premature optimisation, and broken for mathed anyway.
7040         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7041         with cursor positioning in insets as well (math insets still do not
7042         work, but that's a different story anyway.) It mysteriously
7043         crashes sometimes with undo in the first paragraph, but I'm fairly
7044         confident that this is a compiler bug.
7045
7046 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * paragraph.C (Paragraph): adjust for new clone return type
7049         (operator==): ditto
7050         (copyIntoMinibuffer): ditto
7051
7052 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7053
7054         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7055         by not having a special case, and always doing a full rebreak of
7056         the document after undo.
7057
7058 2003-07-23  Angus Leeming  <leeming@lyx.org>
7059
7060         * factory.C (createInset): InsetExternal::setParams now takes a
7061         Buffer const * arg.
7062
7063 2003-07-23  Angus Leeming  <leeming@lyx.org>
7064
7065         * factory.C (createInset): changed interface to the external and
7066         graphics mailers' string2params functions.
7067
7068 2003-07-23  Angus Leeming  <leeming@lyx.org>
7069
7070         * factory.C (createInset): pass a
7071         Buffer const * parameter to InsetExternalMailer's string2params.
7072
7073 2003-07-22  John Levon  <levon@movementarian.org>
7074
7075         * Thesaurus.h: include the right aiksaurus header
7076
7077 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7078
7079         * MenuBackend.C (expand): check menu shortcuts unconditionally
7080
7081 2003-07-21  Angus Leeming  <leeming@lyx.org>
7082
7083         * factory.C (createInset): pass a
7084         buffer_path parameter to InsetGraphicsMailer's string2params.
7085
7086 2003-07-21  Angus Leeming  <leeming@lyx.org>
7087
7088         * BufferView_pimpl.C (buffer):
7089         * buffer.C (d-tor):
7090         * lyx_main.C (LyX):
7091         * lyxfunc.C (dispatch):
7092         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7093         rather than the grfx shortcut.
7094
7095 2003-07-21  André Pönitz  <poenitz@gmx.net>
7096
7097         * rowpainter.C: remove unused variables
7098
7099         * tabular_funcs.C:
7100         * tabular_funcs.h: move to tabular.C
7101         * Makefile.am: adjust
7102
7103         * tabular.[Ch]: basic optical cleaning
7104
7105         * author.h: pass references, not values
7106
7107 2003-07-18  André Pönitz  <poenitz@gmx.net>
7108
7109         * lyxtext.h:
7110         * metricsinfo.C:
7111         * metricsinfo.h:
7112         * rowpainter.C:
7113         * text.C:
7114         * text2.C:
7115         * text3.C: two-phase drawing for InsetText and InsetTabular
7116         some float -> int changes.
7117
7118 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * lyx_main.C: fix the fix
7121
7122 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * lyx_main.C: fix a crash in batch mode if no files specified
7125         * converter.C: ws
7126
7127 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7128
7129         * format.[Ch] (papersize): moved to BufferParams
7130         * converter.[Ch] (dvips_options): moved to BufferParams
7131         (dvipdfm_options): moved to anon namespace
7132         * bufferparams.[Ch]: added above functions.
7133
7134 2003-07-17  André Pönitz  <poenitz@gmx.net>
7135
7136         * lyxtext.h:
7137         * rowpainter.C:
7138         * text2.C: don't call inset->update() anymore
7139
7140         * metricsinfo.[Ch]: add convenience constructor
7141
7142 2003-07-16  André Pönitz  <poenitz@gmx.net>
7143
7144         * lyxcursor.[Ch]:
7145         * lyxfunc.[Ch]:
7146         * text.C:
7147         * text2.C: replace the LyXCursor::irow_ member with
7148          on-demand computation of the value
7149
7150 2003-07-16  John Levon  <levon@movementarian.org>
7151
7152         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7153
7154 2003-07-15  André Pönitz  <poenitz@gmx.net>
7155
7156         * text.C:
7157         * text2.C: remove no more needed refresh_row
7158
7159 2003-07-15  André Pönitz  <poenitz@gmx.net>
7160
7161         * lyxtext.h:
7162         * rowpainter.C:
7163         * text2.C:
7164         * text3.C: refresh_status tristate -> need_update bool
7165
7166 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7167
7168         * lyxtext.h (init): remove reinit argument (act as if always true)
7169         * text2.C: adjust to that
7170
7171 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7172
7173         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7174         * text3.C: use it to delete selections in some cases
7175         (bugs 441, 673, 702, 954).
7176
7177 2003-07-14  André Pönitz  <poenitz@gmx.net>
7178
7179         * rowpainter.[Ch]: reduce interface
7180
7181 2003-07-14  André Pönitz  <poenitz@gmx.net>
7182
7183         * BufferView_pimpl.C:
7184         * text2.C: adjust after removing unused BufferView * argument
7185
7186 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7187
7188         * text2.C (init): fix a crash fired on resize
7189
7190 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * buffer.[Ch]: added new closing signal
7193         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7194         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7195         BufferView::Pimpl via the closing the signal
7196
7197 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7198
7199         * buffer.[Ch]: take out all bv-related from buffer
7200         * BufferView.C:
7201         * BufferView_pimpl.[Ch]: connect to new signals
7202         * CutAndPaste.C: removed useless asserts
7203         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7204         * lyxvc.[Ch]:
7205         * vc-backend.[Ch]:
7206         * lyxfunc.C: moved view-related funciontality from vc here
7207         * paragraph.C: removed outdated comments
7208         * text.C: ws
7209
7210 2003-07-10  André Pönitz  <poenitz@gmx.net>
7211
7212         * BufferView_pimpl.C:
7213         * tabular.h:
7214         * tabular_funcs.C:
7215         * text.C:
7216         * text2.C: remove InsetText::InnerCache, clean up consequences
7217
7218 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7219
7220         * ispell.C: fix two typos in error messages
7221
7222 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7223
7224         * Extend Note inset to other forms of annotation like Comment
7225         and Greyedout. Right button click gives dialog.
7226
7227         Files modified or added (+):
7228
7229         * insetnote.[Ch]
7230         * FormNote.[Ch]      +
7231         * ControlNote.[Ch]   +
7232         * form_note.fd       +
7233         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7234         frontends/controllers
7235         * xforms/Dialogs.C
7236         * factory.C
7237
7238 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7239
7240         * aspell.C: add missing namespace lyx::support
7241
7242 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7243
7244         * BufferView.[Ch] (newFile): Add
7245         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7246         * LaTeX.[Ch] (message): added this signal and use it
7247         * buffer.[Ch] (busy, message): added these signals and use them
7248         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7249         * converter.C:
7250         * exporter.C:
7251         * format.C:
7252         * importer.C: use buffer signals instead of direct bv calling
7253         * lyx_cb.[Ch] (ShowMessage): removed
7254         * lyx_main.C:
7255         * lyxfunc.C:
7256         * paragraph_funcs.C:
7257         * text2.C: use buffer signals
7258
7259 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * introduce namespace lyx::graphics
7262
7263 2003-07-02  André Pönitz  <poenitz@gmx.net>
7264
7265         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7266
7267 2003-07-01  André Pönitz  <poenitz@gmx.net>
7268
7269         * text.C:
7270         * text2.C:
7271         * text3.C:
7272         * text_funcs.[Ch]:
7273         * textcursor.h:
7274         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7275           text*.C to text_func.C
7276
7277 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7278
7279         * introduce namespace lyx::support
7280
7281 2003-06-30  André Pönitz  <poenitz@gmx.net>
7282
7283         * Chktex.C:
7284         * funcrequest.C:
7285         * lyxtext.h:
7286         * text.C: re-enable --with-included-string
7287
7288 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * textcursor.C: add <config.h>
7291
7292         * text.C (getWord): remove const from word_location arg
7293
7294         * lyxvc.C (getLogFile): fix const type order
7295
7296         * lyxtext.h: remove const from word_location arg, add arg name
7297
7298         * lyxlayout.h: currect type on labeltype.
7299
7300         * importer.C: correct \file
7301
7302         * converter.C (intToFormat): use std:: on ret val, ws changes
7303
7304         * bufferlist.h: correct \file
7305
7306         * buffer.C (makeLinuxDocFile): fix const type order
7307         (makeDocBookFile): ditto
7308         (fillWithBibKeys): use std:: on stdlib args.
7309
7310         * CutAndPaste.C: fix authors.
7311         (availableSelections): use std:: on return vector
7312
7313 2003-06-27  André Pönitz  <poenitz@gmx.net>
7314
7315         * BufferView_pimpl.C:
7316         * bufferview_funcs.C:
7317         * lyxcursor.C:
7318         * lyxcursor.h:
7319         * lyxfunc.C:
7320         * lyxtext.h:
7321         * rowpainter.C:
7322         * text.C:
7323         * text2.C:
7324         * text3.C: remove LyXCursor::row_ member
7325
7326         * lyxtext.h:
7327         * text.C: rename fullRebreak() to partialRebreak() and implement
7328           a fullRebreak() that really bereks fully
7329
7330         * textcursor.h: new struct for cursor-related data
7331
7332 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7333
7334         * lyx_main.C (LyX): get full path of document loaded on the
7335         command line
7336
7337 2003-06-26  André Pönitz  <poenitz@gmx.net>
7338
7339         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7340           remove unused/broken operator>,<,>=.
7341
7342         *       text.C: remove only use of broken operator<= in an Assert().
7343
7344 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7345
7346         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7347         moved errorlist_.clear to showErrorList
7348
7349 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7350
7351         * converter.C (scanLog, runLaTeX):
7352         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7353         move the bv->showErrorList call to the callers
7354         * lyxfunc.C: i.e. here...
7355         * text2.C: and here
7356         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7357         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7358         namespace, the second to...
7359         * buffer_funcs (BufferFormat, parseErrors): added
7360         * errorlist.C (ErrorList(TeXErrors const &)): removed
7361
7362 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7363
7364         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7365
7366 2003-06-24  "Garst R. Reese" <reese@isn.net>
7367
7368         * debug.C: fix typo
7369
7370 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7371
7372         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7373
7374         * version.C.in: change docversion to 1.4
7375
7376 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7377
7378         * buffer.C: fix a bug just introduced
7379
7380 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7381
7382         * buffer.[Ch]: added the parseError signal and use it, removed
7383         sgmlError
7384         * BufferView.[Ch] (addError): moved to ...
7385         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7386         to the Buffer::parseError signal to catch (guess what) parse errors
7387         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7388
7389 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7390
7391         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7392         ability to create a buffer and to return an existing one from
7393         the list. Moved these functions to...
7394         * buffer_funcs.[Ch]: added
7395         * BufferView.[Ch] (loadLyXFile): added
7396         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7397         job removed from bufferlist::loadLyXFile.
7398         * buffer.C (setReadOnly): make it work without view
7399         (i.e added an if (users))
7400
7401 2003-06-19  Angus Leeming  <leeming@lyx.org>
7402
7403         * lfuns.h:
7404         * LyXAction.C (init):
7405         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7406         with LFUN_DIALOG_SHOW <name> <data>.
7407
7408 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7409
7410         * CutAndPaste.C (availableSelections): small compilation fix for
7411         ancient (gcc 2.9x) compilers
7412
7413 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * text3.C (cursorNext): add tmp var
7416
7417         * text2.C (updateCounters): for function calling out of for clause
7418         (replaceSelectionWithString): ditto
7419         (insertStringAsParagraphs): ditto
7420         (getColumnNearX): add tmp var
7421         (setCursorFromCoordinates): add tmp var
7422         (cursorDownParagraph): add tmp var
7423         (deleteEmptyParagraphMechanism): add tmp var
7424
7425         * text.C (insertChar): add tmp var
7426
7427         * rowpainter.C (paintDepthBar): add tmp var
7428
7429         * CutAndPaste.C (availableSelections): potentially check all
7430         paragraphs in a cut to fill the shown strings.
7431
7432 2003-06-18  André Pönitz  <poenitz@gmx.net>
7433
7434         * kbmap.[Ch]: use vector<> instead of list<>
7435
7436 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7437
7438         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7439         pasteSelection with index
7440
7441         * text2.C (pasteSelection): modify, call pasteSelection with index
7442
7443         * paragraph.C (asString): reimplement version with no interval to
7444         call the one with interval.
7445
7446         * lyxtext.h: add index arg to pasteSelection
7447
7448         * MenuBackend.C (MenuItem): handle PasteRecent
7449         (Menu::read::Menutags): add md_pasterecent
7450         (read): handle it
7451         (expandPasteRecent): new function
7452         (expand): use it
7453
7454         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7455
7456         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7457         the limited stack
7458         (availableSelections): new function
7459
7460 2003-06-17  Angus Leeming  <leeming@lyx.org>
7461
7462         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7463
7464 2003-06-17  Angus Leeming  <leeming@lyx.org>
7465
7466         * lfuns.h:
7467         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7468
7469         * lyxfunc.C (dispatch): invoke it.
7470
7471 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7472
7473         * iterators.C (operator++, ParPosition): reintroduce some
7474         const_cast for the benefit of older compilers.
7475
7476 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7477
7478         * text3.C (dispatch): do not modify clipboard when doing
7479         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7480         LFUN_DELETE_SKIP on a selection selection
7481
7482 2003-06-16  André Pönitz  <poenitz@gmx.net>
7483
7484         * BufferView.C:
7485         * buffer.C:
7486         * buffer.h:
7487         * paragraph.C:
7488         * tabular.[Ch]: IU of clone() and getLabelList();
7489
7490 2003-06-13  André Pönitz  <poenitz@gmx.net>
7491
7492         * tabular.h: compactification
7493
7494 2003-06-12  André Pönitz  <poenitz@gmx.net>
7495
7496         * tabular.C:
7497         * tabular.h:
7498         * tabular_funcs.h: some renaming plus whitespace
7499
7500 2003-06-12  André Pönitz  <poenitz@gmx.net>
7501
7502         * BufferView.C:
7503         * BufferView_pimpl.C:
7504         * CutAndPaste.C:
7505         * buffer.C:
7506         * iterators.[Ch]:
7507         * lyxfunc.C:
7508         * text.C:
7509         * toc.C: Return a Paragraph & for ParIterator::operator*()
7510
7511 2003-06-11  John Levon  <levon@movementarian.org>
7512
7513         * lyx_main.C:
7514         * ToolbarBackend.h:
7515         * ToolbarBackend.C: add "Toolbars" section and
7516         put the flags there
7517
7518 2003-06-10  Angus Leeming  <leeming@lyx.org>
7519
7520         * lfuns.h:
7521         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7522
7523         * lyxfunc.C (dispatch): invoke it.
7524
7525 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * main.C: protect <ios> with HAVE_IOS
7528         (main): protect sync_with_stdio with HAVE_IOS
7529
7530 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7531
7532         * text2.C (cutSelection): adjust
7533         (pasteSelection): adjust
7534
7535         * messages.C: handle get of empty string
7536
7537         * main.C (main): use sync_with_stdio(false)
7538
7539         * lyxfunc.C (dispatch): adjust
7540
7541         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7542         (WriteAs): remove unneeded BufferView arg.
7543
7544         * bufferparams.h: use correct types on papersize, papersize2 and
7545         paperpackage.
7546
7547         * bufferparams.C (readToken): adjust for type
7548         (writeLaTeX): add missing cases to switch.
7549
7550         * bufferlist.C (quitWriteBuffer): adjust
7551         (close): adjust
7552
7553         * buffer.C (asciiParagraph): remove some commented code.
7554
7555         * CutAndPaste.C: remove current_view extern variable.
7556         (cutSelection): add BufferParams arg.
7557         (eraseSelection): add BufferParams arg.
7558         (pasteSelection): add Buffer const & arg
7559
7560 2003-06-07  John Levon  <levon@movementarian.org>
7561
7562         * buffer.C:
7563         * paragraph_funcs.C:
7564         * paragraph_pimpl.C:
7565         * text.C:
7566         * text2.C:
7567         * paragraph.h:
7568         * paragraph.C: allow InsetERT to freely space lines,
7569         and some consolidation of code
7570
7571 2003-06-06  José Matos  <jamatos@fep.up.pt>
7572
7573         * buffer.C (makeDocBookFile): fix bug #821
7574
7575 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7576
7577         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7578
7579 2003-06-04  Angus Leeming  <leeming@lyx.org>
7580
7581         * buffer.C: bump format to 224.
7582
7583 2003-06-05  André Pönitz  <poenitz@gmx.net>
7584
7585         * text2.C (redoParagraphs): remove two const_cast<>
7586
7587 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7588
7589         * ParagraphList.h: remove last remnants of NO_STD_LIST
7590
7591 2003-06-03  Angus Leeming  <leeming@lyx.org>
7592
7593         * factory.C (createInset): small change to the way InsetExternal's params
7594         are set.
7595
7596 2003-06-04  André Pönitz  <poenitz@gmx.net>
7597
7598         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7599
7600         * paragraph_pimpl.h:
7601         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7602
7603         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7604
7605         * undo_funcs.C: make some simple cases of undo work again
7606
7607 2003-06-03  John Levon  <levon@movementarian.org>
7608
7609         * ispell.C: HPUX doesn't have sys/select.h
7610         (from Albert Chin)
7611
7612 2003-06-03  John Levon  <levon@movementarian.org>
7613
7614         * CutAndPaste.C: update tabular and include inset
7615         buffer references
7616
7617         * buffer.h:
7618         * paragraph.h:
7619         * paragraph.C: remove owningBuffer(), don't pass Buffer
7620         to clone()
7621
7622         * factory.C: insetGraphicsParams changed
7623
7624 2003-06-02  John Levon  <levon@movementarian.org>
7625
7626         * LyXAction.C:
7627         * factory.C:
7628         * lfuns.h:
7629         * lyxfunc.C:
7630         * text3.C: remove insetparent
7631
7632 2003-06-02  John Levon  <levon@movementarian.org>
7633
7634         * buffer.h:
7635         * buffer.C: fix inset_iterator.end(), move out of line
7636         (bug 1149)
7637
7638 2003-06-01  John Levon  <levon@movementarian.org>
7639
7640         * text3.C: use a proper cut/paste when doing inset
7641         insert (from Jürgen Spitzmüller)
7642
7643 2003-06-01  John Levon  <levon@movementarian.org>
7644
7645         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7646
7647 2003-05-30  André Pönitz  <poenitz@gmx.net>
7648
7649         * rowpainter.C: unify second drawing phase
7650
7651 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * trans_mgr.C: remove one case of current_view
7654
7655         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7656
7657         * paragraph_funcs.h: remove paragraph.h include
7658
7659         * paragraph.h: delete NO_STD_LIST stuff
7660
7661         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7662
7663         * buffer.h: remove paragraph.h include
7664
7665         * ParagraphList.C: delete file
7666
7667         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7668
7669         * toc.C (getTocList): adjust
7670
7671         * paragraph_pimpl.C (validate): adjust
7672
7673         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7674
7675         * paragraph.C (Paragraph): adjust
7676         (getPositionOfInset): use const_iterator, adjust
7677         (bibitem): use const_iterator, adjust
7678         (setInsetOwner): adjust
7679
7680         * iterators.C (operator++): adjust
7681
7682         * InsetList.[Ch]: Replace selfmade iterator with standard
7683         vector::iterator also introduce const_iterator. Remove getPos,
7684         getInset and setInset from InsetTable. Adjust accordingly.
7685
7686         * BufferView.C (lockInset): adjust
7687         (ChangeInsets): adjust
7688
7689         * tabular.[Ch]: delete commented same_id functions
7690
7691 2003-05-28  John Levon  <levon@movementarian.org>
7692
7693         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7694
7695 2003-05-28  André Pönitz  <poenitz@gmx.net>
7696
7697         * metricsinfo.[Ch]: remove 'fullredraw' member
7698
7699 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7700
7701         * lyxtextclass.C (operator): remove caching.
7702
7703 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * text3.C: adjust
7706
7707         * text2.C (cursorBottom): adjust
7708         (setCounter): use ParagraphList::find, adjust
7709
7710         * text.C (workWidth): use ParagraphList::find, adjust
7711
7712         * lyxcursor.C (LyXCursor): adjust
7713
7714         * buffer.C (inset_iterator): adjust
7715
7716         * ParagraphList.h: make iterator(value_type) private, make
7717         ParagraphList a friend of iterator.
7718
7719         * ParagraphList.C (find): new function
7720
7721         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7722
7723 2003-05-27  André Pönitz  <poenitz@gmx.net>
7724
7725         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7726
7727 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7728
7729         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7730
7731 2003-05-26  John Levon  <levon@movementarian.org>
7732
7733         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7734
7735 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * remove same_id from function signatures, adjust.
7738
7739 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7742
7743         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7744
7745         * paragraph.C (Paragraph): get rid of same_ids parameter
7746
7747         * ParagraphList.C (insert): adjust
7748         (push_back): adjust
7749
7750 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * paragraph_funcs.C (breakParagraph): adjust
7753         (breakParagraphConservative): adjust
7754
7755         * buffer.C (readParagraph): adjust
7756
7757         * ParagraphList.C (insert): take a reference instead of a pointer
7758         (insert): adjust
7759
7760         * paragraph.[Ch] (id): new function
7761
7762         * bufferlist.C (newFile): adjust
7763
7764         * ParagraphList.C (ParagraphList): adjust
7765         (assign): adjust
7766         (push_back): take a reference instead of a pointer.
7767
7768         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7769
7770         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7771         instead.
7772
7773         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7774         set else use old code.
7775
7776         * ParagraphList.C: remove all NO_NEXT code and only compile this
7777         code of NO_STD_LIST is set.
7778
7779 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7780
7781         * BufferView_pimpl.C:
7782         * TextCache.C:
7783         * TextCache.h:
7784         * bufferlist.C:
7785         * errorlist.h:
7786         * format.C:
7787         * format.h:
7788         * graph.C:
7789         * lyxfunc.C:
7790         * lyxrc.C:
7791         * graphics/GraphicsConverter.C:
7792         * graphics/PreviewLoader.C: header adjustment
7793
7794 2003-05-23  Angus Leeming  <leeming@lyx.org>
7795
7796         * LaTeXFeatures.[Ch] (useBabel): new method.
7797         * bufferparams.C (writeLaTeX): use it.
7798
7799 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * ParagraphList.h (set): remove unused function.
7802
7803 2003-05-23  André Pönitz  <poenitz@gmx.net>
7804
7805         * BufferView.C:
7806         * BufferView_pimpl.C:
7807         * buffer.C:
7808         * buffer.h:
7809         * lyxfunc.C:
7810         * undo_funcs.C: setUndo reworked
7811
7812         * iterators.[Ch]: add access to topmost ParagraphList
7813
7814         * lyxtext.[Ch] (workWidth): add a const
7815
7816 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7817
7818         * texrow.[Ch] (increasePos): remove function
7819         * exporter.C (export): removed unused var and outdated comment
7820
7821 2003-05-23  Angus Leeming  <leeming@lyx.org>
7822
7823         * latexrunparams.h: rename fragile as moving_arg.
7824         * paragraph.C (simpleTeXOnePar): ditto.
7825         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7826
7827 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7830         (createUndo): ditto
7831         (textUndoOrRedo): comment out a currently unused var.
7832
7833         * paragraph.h (NO_NEXT): enable NO_NEXT
7834
7835         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7836
7837         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7838
7839         * exporter.C (Export): adjust for removeAutoInsets removal.
7840
7841         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7842
7843         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7844
7845         * BufferView.[Ch] (removeAutoInsets): delete function
7846
7847 2003-05-22  Angus Leeming  <leeming@lyx.org>
7848
7849         * latexrunparams.h: add a free_spacing variable.
7850
7851         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7852         to pass moving_arg, as the data is stored in runparams.fragile.
7853
7854         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7855         to Inset::latexOptional or to simpleTeXOnePar.
7856
7857         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7858         free_spacing arg to Inset::latexOptional.
7859
7860         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7861         free_spacing arg.
7862
7863 2003-05-22  Angus Leeming  <leeming@lyx.org>
7864
7865         * latexrunparams.h: add fragile and use_babel variables.
7866
7867         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7868         * buffer.C (makeLaTeXFile): store this returned value in
7869         runparams.use_babel, thus passing it to the inset::latex methods.
7870
7871         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7872         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7873
7874         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7875         longer has a fragile arg, as it is stored in runparams.fragile.
7876
7877         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7878         moving_arg parameter as the data is stored in runparams.fragile.
7879
7880         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7881         a fragile parameter as the data is stored in runparams.fragile.
7882
7883 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7884
7885         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7886
7887 2003-05-22  Angus Leeming  <leeming@lyx.org>
7888
7889         * latexrunparams.h: add a 'bool nice' which defaults to false.
7890
7891         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7892         now encapsulated within runparams.
7893
7894         * bufferlist.C (updateIncludedTeXfiles):
7895         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7896
7897 2003-05-22  Angus Leeming  <leeming@lyx.org>
7898
7899         * latexrunparams.h: new file containing struct LatexRunParams.
7900         * Makefile.am: add new file.
7901
7902         * LaTeX.[Ch] (c-tor, run):
7903         * buffer.[Ch] (makeLaTeXFile):
7904         * bufferlist.[Ch] (updateIncludedTeXfiles):
7905         * converter.C (convert, scanLog):
7906         * converter.[Ch] (runLaTeX):
7907         * exporter.C (Export):
7908         * paragraph.[Ch] (simpleTeXOnePar):
7909         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7910         * paragraph_funcs.[Ch] (latexParagraphs):
7911         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7912         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7913         pass around a LatexRunParams parameter.
7914
7915 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * paragraph.[Ch]: remove unused constructor
7918
7919         * ParagraphList.C (erase): new function, taking two iterators
7920
7921 2003-05-22  André Pönitz  <poenitz@gmx.net>
7922
7923         * undo_funcs.C: remove duplicated code
7924
7925         * iterator.[Ch]: operator=
7926
7927 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * tabular.C (SetMultiColumn): ws changes
7930
7931         * rowpainter.C (paintFirst): get rid of a ->previous
7932
7933         * lyx_cb.C (getPossibleLabel): parlist simplification
7934
7935         * BufferView.C (ChangeInsets): simplify slightly.
7936
7937 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7938
7939         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7940         * lfuns.h: new LFUN_SPACE
7941         * lyxfunc.C: protected space has a new lfun
7942         * paragraph_funcs.C: read new space insets
7943         * text3.C:
7944         * factory.C: handle new space insets
7945
7946 2003-05-22  André Pönitz  <poenitz@gmx.net>
7947
7948         * BufferView.C:
7949         * BufferView_pimpl.C:
7950         * buffer.[Ch]:
7951         * lyxfunc.C:
7952         * undo_funcs.C: return a ParIterator from getParFromID.
7953
7954         * iterators.[Ch]: add two const's
7955
7956 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * toc.C (getTocList): adjust
7959
7960         * iterators.[Ch]: rework for parlist
7961
7962         * buffer.C (par_iterator_begin): adjust
7963         (par_iterator_end): adjust
7964
7965         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7966
7967         * BufferView.C (removeAutoInsets): adjust
7968         (ChangeInsets): adjust
7969
7970 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7971
7972         * text.C (top_y): fix bug 1110
7973
7974 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7975
7976         * errorlist.[Ch]: added
7977         * buffer.C:
7978         * BufferView.[Ch]:
7979         * BufferView_pimpl.C:
7980         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7981         instead
7982
7983 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * Makefile.am: ensure that lyx is relinked upon changes to the
7986         various "convenience" libs.
7987
7988 2003-05-20  Angus Leeming  <leeming@lyx.org>
7989
7990         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7991         files are compiled in alphabetical order again.
7992
7993         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7994
7995 2003-05-19  Angus Leeming  <leeming@lyx.org>
7996
7997         * gettext.[Ch]: remove "char const * _(char const *)".
7998
7999 2003-05-19  André Pönitz  <poenitz@gmx.net>
8000
8001         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8002
8003         * Makefile.am:
8004         * BufferView.C:
8005         * DepTable.h:
8006         * LaTeXFeatures.C:
8007         * buffer.C:
8008         * lyxfont.C:
8009         * lyxlex.h:
8010         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8011
8012 2003-05-19  André Pönitz  <poenitz@gmx.net>
8013
8014         * buffer.C:
8015         * lyxlayout.[Ch]:
8016         * lyxtextclass.[Ch]:
8017         * paragraph.C:
8018         * paragraph_funcs.[Ch]:
8019         * text2.C:
8020         * text3.C: more insetenv work
8021
8022 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8023
8024         * ParagraphParameters.C (params2string): small bug fixed
8025
8026 2003-05-16  André Pönitz  <poenitz@gmx.net>
8027
8028         * debug.C:
8029         * bufferview_funcs.C: patch from Kornel Benko to prevent
8030           crash when _(...) is called twice in a statement
8031
8032 2003-05-16  André Pönitz  <poenitz@gmx.net>
8033
8034         * BufferView.C:
8035         * lyxfunc.C:
8036         * text.C:
8037         * text2.C:
8038         * text3.C:
8039         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8040
8041 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8042
8043         * lyx_main.C (init): remove spurious static_cast
8044
8045 2003-05-14  André Pönitz  <poenitz@gmx.net>
8046
8047         * BufferView.C: fix format string
8048
8049 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8050
8051         * BufferView.[Ch] (insertErrors): removed
8052         * BufferView.[Ch] (showErrorList): added
8053         * buffer.C (runChkTeX):
8054         * converter.C (scanLog): call showErrorList instead of inserterrors
8055
8056 2003-05-13  André Pönitz  <poenitz@gmx.net>
8057
8058         * BufferView_pimpl.C:
8059         * buffer.C:
8060         * bufferview_func.C:
8061         * MenuBackend.C:
8062         * lyxfunc.C:
8063         * lyxrc.C:
8064         * tex-accent.C:
8065         * text3.C:
8066         * toc.C:
8067         * tabular_funcs.h: tostr() from its own header
8068
8069         * ParagraphParameters.C:
8070         * ToolbarBackend.C:
8071         * bufferparams.C:
8072         * format.C:
8073         * lyxlex_pimpl.C:
8074         * text3.C: STRCONV()
8075
8076 2003-05-12  André Pönitz  <poenitz@gmx.net>
8077
8078         * BufferView.C:
8079         * BufferView_pimpl.C:
8080         * CutAndPaste.C:
8081         * LaTeX.C:
8082         * LaTeXFeatures.C:
8083         * ParagraphParameters.C:
8084         * buffer.C:
8085         * bufferlist.C:
8086         * bufferparams.C:
8087         * bufferview_funcs.C:
8088         * converter.C:
8089         * counters.C:
8090         * debug.C:
8091         * exporter.C:
8092         * format.C:
8093         * importer.C:
8094         * lyx_cb.C:
8095         * lyx_main.C:
8096         * lyxfont.C:
8097         * lyxfunc.C:
8098         * lyxvc.C:
8099         * paragraph.C:
8100         * paragraph_funcs.C:
8101         * tabular.C:
8102         * tabular_funcs.C:
8103         * text2.C:
8104         * text3.C:  boost::format -> bformat  all over the place
8105
8106
8107 2003-05-09  André Pönitz  <poenitz@gmx.net>
8108
8109         * LColor.[Ch]: Pimpl the #include <map> away
8110
8111 2003-05-09  John Levon  <levon@movementarian.org>
8112
8113         * bufferlist.C: never remove emergency saves
8114
8115 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * Makefile.am: better lib building
8118
8119 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8122         instead.
8123         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8124         (simpleTeXSpecialChars): adjust
8125         (simpleTeXSpecialChars): adjust
8126         * paragraph.C (simpleTeXOnePar): adjust
8127         * buffer.C (makeLaTeXFile): adjust
8128
8129         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8130
8131         * text2.C (changeDepth): parlist cleanup
8132         (getColumnNearX): ditto
8133
8134         * rowpainter.C (getLabelFont): parlist cleanup
8135
8136         * bufferlist.C (newFile): parlist cleanup
8137
8138         * CutAndPaste.C (eraseSelection): parlist cleanup
8139
8140         * BufferView_pimpl.C (trackChanges): parlist cleanup
8141         (dispatch): ditto
8142
8143         * BufferView.C (lockInset): parlist cleanup.
8144         (ChangeInsets): ditto
8145
8146 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * CutAndPaste.h: Update file header.
8149
8150         * CutAndPaste.C: Update file header.
8151         Store the parts cut out of the Document in a limited_stack.
8152         (copySelection): adjust
8153         (pasteSelection): new function, takes the index in the limited stack.
8154         (nrOfParagraphs): adjust
8155         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8156         simplify error inset insertion.
8157         (checkPastePossible): adjust
8158
8159 2003-05-06  John Levon  <levon@movementarian.org>
8160
8161         * text2.C: don't cast wrap inset to float
8162
8163 2003-05-05  André Pönitz  <poenitz@gmx.net>
8164
8165         * iterator.C:
8166         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8167
8168         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8169           few naked Paragraph *.
8170
8171 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8172
8173         * bufferparams.C: Output warning if a document with missing
8174         TeX document class is loaded
8175         * exporter.C: Disable TeX exports if the document class is missing
8176         * lyxtextclass.C:
8177         * lyxtextclass.h:
8178         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8179         isTeXClassAvailable()
8180
8181 2003-05-03  John Levon  <levon@movementarian.org>
8182
8183         * BufferView.h:
8184         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8185         explicit cursor show/hide
8186
8187         * BufferView_pimpl.h:
8188         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8189         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8190
8191         * lyxfunc.C: hide cursor before dispatching.
8192
8193         * lyx_cb.C:
8194         * lyxfind.C:
8195         * text.C:
8196         * text3.C: remove explicit cursor hides
8197
8198 2003-05-02  André Pönitz  <poenitz@gmx.net>
8199
8200         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8201
8202         * undo_funcs.C:
8203         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8204           linked lists
8205
8206         * text2.C: tiny whitespace
8207
8208 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * undo_funcs.C: almost only ws changes.
8211
8212         * ParagraphList.C (splice): just return if pl is empty.
8213
8214 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * ParagraphList.C (splice): new function.
8217
8218         * CutAndPaste.C (pasteSelection): use it
8219
8220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * CutAndPaste.C (pasteSelection): remove the last next and
8223         previous from this file.
8224
8225 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * CutAndPaste.C (pasteSelection): more clean up, user proper
8228         ParagraphList functions for pasteing.
8229
8230         * ParagraphList.C (insert): new function, three arg insert
8231
8232 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * ParagraphList.C (insert): new function, three arg insert
8235
8236         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8237         not on paragraphs.
8238
8239 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8242
8243 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8246
8247 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8250         (copySelection): clean up a bit.
8251         (pasteSelection): use make_pair
8252
8253         * ParagraphList.C (ParagraphList): implement copy constructor
8254         (operator=): implement, base on copy constructor.
8255         (assign): new func
8256
8257         * paragraph.C (erase): return a bool
8258
8259         * paragraph_pimpl.C (erasePos): remove function, move contents...
8260         (erase): ... here. Return a bool.
8261         (erase): call erase instead of erasePos.
8262
8263 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8264
8265         * ParagraphList.h: define PitPosPair
8266         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8267         ParagraphList, fix a bug on pasting multiple pars
8268         * text2.C: change interface to C&P
8269
8270 2003-04-30  André Pönitz  <poenitz@gmx.net>
8271
8272         * undo_func.C: revert part of yesterday's patch 2
8273
8274 2003-04-30  John Levon  <levon@movementarian.org>
8275
8276         * LColor.C: s/tabular/table/
8277
8278 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * text3.C (dispatch): do not convert iterator -> pointer
8281         * undo_funcs.C (setCursorParUndo): ditto
8282         * text_funcs.C (transposeChars): ditto
8283
8284         * text2.C (setLayout): ws changes only
8285
8286         * text.C (breakParagraph): do not convert iterator -> pointer
8287         (insertChar): ditto
8288         (acceptChange): ditto
8289         (rejectChange): ditto
8290         (changeCase): ditto
8291         (Delete): ditto
8292         (backspace): ditto
8293
8294         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8295         pointer
8296
8297 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8298
8299         * text3.C (gotoInset): YABG (yet another bad getChar)
8300
8301 2003-04-29  André Pönitz  <poenitz@gmx.net>
8302
8303         * paragraph.h: make operator= private unimplemented as long as
8304           it is unusable
8305
8306         * ParagraphList.C: whitespace
8307
8308         * paragraph.[Ch]:
8309         * paragraph_pimpl.[Ch]:
8310         * paragraph_funcs.C:
8311         * CutAndPaste.C:
8312         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8313
8314         * text2.C:
8315           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8316
8317 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8318
8319         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8320         * paragraph.[Ch] (erase):
8321         * paragraph_pimpl.[Ch] (erase): change return type and value
8322         * text2.C (cutSelection): some rework
8323
8324 2003-04-28  John Levon  <levon@movementarian.org>
8325
8326         * bufferlist.C: changes for unsaved changes dialog
8327
8328 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * bufferlist.C (newFile): set language (messages_) for new
8331         documents also.
8332
8333         * buffer.C (readFile): ws changes only.
8334
8335 2003-04-28  André Pönitz  <poenitz@gmx.net>
8336
8337         * undo_funcs.C:
8338         * lyxfunc.C:
8339         * buffer.[Ch]:
8340         * BufferView_pimpl.C:
8341         * BufferView.C: getParFromID related ParagraphList::iterator changes
8342
8343 2003-04-28  André Pönitz  <poenitz@gmx.net>
8344
8345         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8346           Changes
8347
8348 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * messages.C: remove one more localedir class variable.
8351
8352 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * messages.C (getLocaleDir): singleton generation function
8355         (Pimpl): use it.
8356         (Messages): add a default constructor.
8357
8358         * main.C (main): do not setup localedir here, do not call
8359         gettext_init.
8360
8361         * gettext.C (_): use it.
8362         (gettext_init): delete funciton
8363
8364 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * gettext.C (getLyXMessages): new singleton generating function.
8367
8368         * buffer.C (updateDocLang): adjust
8369
8370         * Makefile.am (messages.o): add target
8371         (main.o): remove target
8372
8373 2003-04-27  John Levon  <levon@movementarian.org>
8374
8375         * bufferlist.C:
8376         * lyx_cb.C:
8377         * lyxfunc.C:
8378         * lyxvc.C: specify cancel button in Alert::prompt
8379
8380 2003-04-26  John Levon  <levon@movementarian.org>
8381
8382         * text3.C:
8383         * lyxfunc.C:
8384         * lfuns.h:
8385         * LyXAction.C: add LFUN_INSET_SETTINGS
8386
8387         * lyxfunc.C: don't enable tabular-feature when there's
8388         just any locking inset
8389
8390 2003-04-26  John Levon  <levon@movementarian.org>
8391
8392         * bufferlist.C: re-add Cancel to buffer close question
8393
8394         * lyxfunc.C: fix import UI a bit
8395
8396 2003-04-25  John Levon  <levon@movementarian.org>
8397
8398         * gettext.C: remove the broken asserts for now
8399
8400 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * messages.C: make case where setlocale cannot comply work better.
8403
8404         * buffer.C (updateDocLang): new function
8405         (changeLanguage): use it
8406         (readFile): use it
8407
8408         * text2.C (setCounter): use B_ a bit.
8409
8410         * lyxlayout.C (Read): be sure to trim the label strings.
8411
8412         * messages.C (Messages): fix typo in comment
8413
8414         * buffer.C (readFile): set message_ after file is loaded.
8415         (makeDocBookFile): remove double return
8416         (changeLanguage): reset message_ upon language change.
8417         (B_): new func, use this to get translated buffer strings.
8418
8419         * main.C: add myself and Jean Marc as authors.
8420
8421 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * messages.[hC]: pimplify Messages, and three different pimpls to be
8424         used in different circumstances.
8425
8426         * gettext.[Ch]: change for use with new message code.
8427
8428 2003-04-24 André Pönitz <poenitz@gmx.net>
8429
8430         * factory.C: support for eqref
8431
8432 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * messages.[Ch]: add missing char
8435
8436         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8437
8438         * messages.[Ch]: New files
8439
8440 2003-04-18  John Levon  <levon@movementarian.org>
8441
8442         * BufferView.h:
8443         * BufferView.C:
8444         * BufferView_pimpl.C:
8445         * lfuns.h:
8446         * LyXAction.C:
8447         * lyxtext.h:
8448         * text2.C: remove layout-copy/paste (bug 778)
8449
8450 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8451
8452         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8453
8454 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8455
8456         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8457         if they succeed. Act accordingly.
8458
8459 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * text2.C (setCharFont): adjust
8462         (setCounter): adjust
8463         (insertStringAsLines): adjust
8464
8465         * text.C (leftMargin): adjust
8466         (setHeightOfRow): adjust
8467
8468         * rowpainter.C (paintFirst): adjust
8469         (paintLast): adjust
8470
8471         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8472         (outerHook): ditto
8473         (isFirstInSequence): ditto
8474         (getEndLabel): ditto
8475         (outerFont): adjust
8476
8477         * paragraph.C (getParLanguage): comment out some hard stuff.
8478
8479         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8480         (sgmlError): ditto
8481         (simpleDocBookOnePar): ditto
8482         (makeDocBookFile): use ParagraphList::iterator
8483
8484         * CutAndPaste.C (pasteSelection): adjust
8485
8486 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * text2.C (getFont): adjust
8489         (getLayoutFont): adjust
8490         (getLabelFont): adjust
8491
8492         * paragraph_funcs.C (TeXOnePar): adjust
8493
8494         * buffer.C (simpleLinuxDocOnePar): adjust
8495         (simpleDocBookOnePar): adjust
8496
8497         * CutAndPaste.C (pasteSelection): adjust
8498
8499         * BufferView.C (getEncoding): adjust
8500
8501         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8502
8503 2003-04-16  John Levon  <levon@movementarian.org>
8504
8505         * lyxfind.C: use parlist stuff for search/changes
8506
8507 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8508
8509         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8510
8511         * text2.C (deleteEmptyParagraphMechanism): adjust
8512
8513         * text2.[Ch] (ownerParagraph): delete func (both of them
8514
8515 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8518
8519 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8520
8521         * ParagraphList.C: prepare for NO_NEXT
8522
8523 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8524
8525         * text2.C (getFont): adjust
8526         (getLayoutFont): adjust
8527         (getLabelFont): adjust
8528
8529         * paragraph.C (getFont): adjust
8530         (getLabelFont): adjust
8531         (getLayoutFont): adjust
8532
8533         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8534
8535 2003-04-15  John Levon  <levon@movementarian.org>
8536
8537         From Angus Leeming
8538
8539         * lyx_main.C: handle Include in .ui files
8540
8541 2003-04-15  John Levon  <levon@movementarian.org>
8542
8543         * MenuBackend.C: make the doc files length shorter
8544
8545         * ToolbarBackend.h:
8546         * ToolbarBackend.C: handle toolbar placement flags,
8547         Minibuffer
8548
8549 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8550
8551         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8552         adjust
8553
8554         * paragraph_funcs.C (TeXOnePar): adjust
8555
8556         * paragraph.C (getLabelFont): add outerfont arg, adjust
8557         (getLayoutFont): ditto
8558         (simpleTeXOnePar): adjust
8559
8560         * paragraph_pimpl.C (realizeFont): delete func
8561
8562 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8563
8564         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8565         row argument, constify cur argument.
8566
8567 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8568
8569         * text2.C (getFont): adjust
8570         (getLayoutFont): adjust
8571         (getLabelFont): adjust
8572
8573         * paragraph_funcs.C (TeXOnePar): adjust
8574         (outerFont): new func...
8575         (realizeFont): ...moved out from here, changed this to facilitate
8576         transition
8577
8578         * paragraph.C (getFont): take outerfont as arg, adjust
8579         (simpleTeXOnePar): add outerfont arg, adjust
8580
8581         * buffer.C (simpleLinuxDocOnePar): adjust
8582         (simpleDocBookOnePar): adjust
8583
8584         * CutAndPaste.C (pasteSelection): adjust
8585
8586         * BufferView.C (getEncoding): adjust
8587
8588 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8589
8590         * text2.C (setCharFont): adjust
8591         (setCounter): adjust
8592
8593         * text.C (leftMargin): adjust
8594         (setHeightOfRow): adjust
8595
8596         * rowpainter.C (paintFirst): adjust
8597         (paintLast): adjust
8598
8599         * paragraph_pimpl.C (realizeFont): adjust
8600
8601         * paragraph.C (isFirstInSequence): move from here...
8602         * paragraph_funcs.C (isFirstInSequence): ...to here
8603
8604         * paragraph.C (outerHook): move from here...
8605         * paragraph_funcs.C (outerHook): ...to here
8606
8607         * paragraph.C (depthHook): move from here...
8608         * paragraph_funcs.C (depthHook): ...to here
8609
8610         * paragraph.C (getEndLabel): move from here...
8611         * paragraph_funcs.C (getEndLabel): ...to here
8612
8613         * text2.C (realizeFont): move from here...
8614         * paragraph_funcs.C (realizeFont): ...to here
8615
8616 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8617
8618         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8619
8620 2003-04-14  Angus Leeming  <leeming@lyx.org>
8621
8622         * LColor.[Ch]: scrap LColor mathcursor.
8623
8624 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * lyxlex.[Ch] (text): delete function
8627         * trans.C (Load): adjust
8628         * paragraph_funcs.C (readParToken): adjust
8629
8630 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8633         vector<char> instead of a char[].
8634
8635         * lyxlex_pimpl.C (getString): adjust
8636         (next): adjust
8637         (lex): use getString
8638         (eatLine): adjust
8639         (nextToken): adjust
8640
8641         * lyxlex.C (text): use pimpl_->getString()
8642         (getBool): ditto
8643         (findToken): ditto
8644
8645 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8648         (makeFontEntriesLayoutSpecific): temp var for par.size()
8649         (setLayout): temp var for ownerParagraphs().end()
8650         (fullRebreak): temp var for rows().end()
8651         (selectionAsString): temp var for boost::next(startpit), realize
8652         that the while really is a regular for loop.
8653         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8654         setCursor in one place.
8655         (setParagraph): temp vr for ownerParagraphs().end()
8656         (updateCounters): make the while loop a for loop
8657         (cutSelection): temp var for ownerParagraphs().end()
8658         (updateInset): make the do {} while() a regular for loop
8659         (getCursorX): use temp vars
8660         (setCurrentFont): use temp vars
8661         (getColumnNearX): use temp vars
8662
8663 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * text.C (transformChar): use temp var for getChar
8666         (computeBidiTables): use temp var for row->par()
8667         (fill): move temp vars for row->par() and pit->layout() earlier in
8668         the function.
8669         (labelFill): use temp var for row->par()
8670         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8671         asc and desc, realize that pit never changes and that firstpit is
8672         just a duplicate and not needed. Exchange rit->par() with pit in a
8673         lot of places.
8674         (breakAgain): use a temp var for boost::next(rit)
8675         (breakAgainOneRow): ditto
8676         (breakParagraph): use a temp var for rows().begin()
8677         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8678         (cursorRightOneWord): use temp var for cursor.par() and
8679         cursor.pos(), remove usage of tmpcursor.
8680         (cursorLeftOneWord): use temp var for cursor.par() and
8681         cursor.pos() only set cur at end of function.
8682
8683 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * text.C, text2.C: exchange all usage of Paragraph::next with
8686         boost::next(ParagraphList::iterator)
8687
8688         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8689
8690         * text2.C (cursorTop): simplify implementation
8691         (cursorBottom): ditto
8692         (setParagraph): use ParagraphList::iterator
8693         (setCurrentFont): adjust
8694         (getColumnNearX): adjust
8695         (cursorRight): adjust
8696         (cursorLeft): remove usage of Paragraph::previous
8697         (cursorUpParagraph): ditto
8698         (deleteEmptyParagraphMechanism): slight cleanup
8699
8700         * text.C (isBoundary): take a Paragraph const & instead of a
8701         pointer as arg.
8702         (addressBreakPoint): ditto
8703         (leftMargin): remove usage of Paragraph::previous.
8704         (setHeightOfRow): ditto
8705         (cursorLeftOneWord): ditto
8706         (selectNextWordToSpellcheck): ditto
8707         (Delete): ditto
8708         (backspace): ditto
8709         (breakParagraph): remove one usage of Paragraph::next
8710         (redoParagraph): ditto
8711         (acceptChange): ditto
8712         (insertChar): adjust
8713         (rowBreakPoint): adjust
8714
8715         * bufferview_funcs.C (toggleAndShow): adjust
8716
8717 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8718
8719         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8720         methods to access it.
8721         * lyxtext.h:
8722         * text.C: Added updateRowPositions to compute all row positions.
8723         Make top_y and getRowNearY() to use the cached y position
8724
8725 2003-04-11  John Levon  <levon@movementarian.org>
8726
8727         * text.C (rowBreakPoint): reintroduce the labelEnd
8728         checks, code copied from the row fill stuff. Deep voodoo.
8729
8730         * text.C (fill): add a comment and debugging for the
8731         next poor soul.
8732
8733 2003-04-11  John Levon  <levon@movementarian.org>
8734
8735         * text.C: make sure fullrow insets get wrapped to the next line,
8736         even when they're in a manual label
8737
8738 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * text2.C (insertParagraph): make it take ParagraphList::iterator
8741         as arg.
8742         (setLayout): make it return ParagraphList::iterator
8743         (redoParagraphs): ditto
8744         (setCounter): ditto
8745         (checkParagraph): ditto
8746
8747         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8748
8749         * text2.C: adjust several funcs.
8750         (realizeFont): take a ParagraphList::iterator as arg.
8751         (getLayoutFont): ditto
8752         (getLabelFont): ditto
8753         (setCharFont): ditto
8754
8755         * text.C: adjust several funcs.
8756
8757 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8758
8759         * text.C (selectNextWordToSpellcheck): don't accidentally
8760         skip insets
8761
8762 2003-04-10  John Levon  <levon@movementarian.org>
8763
8764         * ToolbarBackend.C (getIcon): special handling for
8765         LFUN_MATH_DELIM
8766
8767 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8768
8769         * text2.C (cursorRight): a getChar assert fixed
8770
8771 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8772
8773         * text2.C (getFont): change to take a ParagraphList::iterator
8774         instead of Paragraph*
8775         Adjust several functions.
8776
8777         * text.C (transformChar): change to take a ParagraphList::iterator
8778         instead of Paragraph*
8779         (singleWidth): ditto
8780         Adjust several functions.
8781
8782         * rowpainter.C: adjust several functions
8783         * rowpainter.h:store a ParagraphList::iterator and not a
8784         Paragraph&.
8785
8786
8787 2003-04-09  John Levon  <levon@movementarian.org>
8788
8789         * lyxfunc.C:
8790         * lfuns.h:
8791         * LyXAction.h:
8792         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8793         and the "help" bits as well
8794
8795 2003-04-09  John Levon  <levon@movementarian.org>
8796
8797         * ToolbarBackend.h:
8798         * ToolbarBackend.C: allow multiple toolbars
8799
8800 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * undo_funcs.C (setCursorParUndo): adjust
8803
8804         * text_funcs.C (transposeChars): adjust
8805
8806         * text3.C (gotoNextInset): adjust
8807         (dispatch): adjust
8808
8809         * text2.C (setLayout): adjust
8810         (changeDepth): adjust
8811         (setFont): adjust
8812         (redoParagraphs): adjust
8813         (selectionAsString): adjust
8814         (setParagraph): adjust
8815         (insertInset): adjust
8816         (cutSelection): adjust
8817         (copySelection): adjust
8818         (pasteSelection): adjust
8819         (insertStringAsLines): adjust
8820         (updateInset): adjust
8821         (setCursor): change to take a ParagraphList::iterator parameter
8822         (setCursorIntern): change to take a ParagraphList::iterator parameter
8823         (setCurrentFont): adjust
8824         (cursorLeft): adjust
8825         (cursorRight): adjust
8826         (deleteEmptyParagraphMechanism): adjust
8827
8828         * text.C (breakParagraph): adjust
8829         (insertChar): adjust
8830         (acceptChange): adjust
8831         (rejectChange): adjust
8832         (selectNextWordToSpellcheck): adjust
8833         (changeCase): adjust
8834         (Delete): adjust
8835         (backspace): adjust
8836
8837         * lyxfind.C (SearchForward): adjust
8838         (SearchBackward): adjust
8839         (nextChange): adjust
8840
8841         * lyxcursor.C (par): adjust
8842
8843         * lyxcursor.h: store a ParagraphList::iterator instead of a
8844         Paragraph*
8845
8846         * lyx_cb.C (getPossibleLabel): adjust
8847
8848         * bufferview_funcs.C (toggleAndShow): adjust
8849
8850         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8851         (dispatch): adjust
8852
8853         * BufferView.C (removeAutoInsets): adjust
8854         (lockedInsetStoreUndo): adjust
8855
8856 2003-04-09  John Levon  <levon@movementarian.org>
8857
8858         * ToolbarBackend.C: try icon without argument
8859         if with argument fails
8860
8861 2003-04-08  John Levon  <levon@movementarian.org>
8862
8863         * ToolbarBackend.h:
8864         * ToolbarBackend.C: add getIcon(), handle tooltip,
8865         and change from "Icon" to "Item".
8866
8867 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8868
8869         * BufferView.C (lockInset): another bad getchar crunched
8870
8871 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8872
8873         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8874         again)
8875
8876 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8877
8878         * lyxfind.C (searchForward, searchBackwards): bug 782
8879
8880 2003-04-07  John Levon  <levon@movementarian.org>
8881
8882         * paragraph.C: remove dead comment
8883
8884         * text.C: remove troublesome depth-fiddling code
8885         in leftMargin() and rightMargin() (bug 1017)
8886
8887         * text.C: fix breaking of rows in nested lists
8888         (bug 1004)
8889
8890         * text2.C (updateCounters): fix up depth values
8891         (bug 1013)
8892
8893 2003-04-07  John Levon  <levon@movementarian.org>
8894
8895         * BufferView_pimpl.C: clear message when doc finishes resizing,
8896         and after a mouse event
8897
8898         * lyxfunc.C: clear message after exiting inset
8899
8900 2003-04-07  John Levon  <levon@movementarian.org>
8901
8902         * bufferview_funcs.C: show math status not outside
8903         status in the statusbar
8904
8905 2003-04-07  John Levon  <levon@movementarian.org>
8906
8907         * lyxfunc.C: note status changed after a depth change
8908
8909 2003-04-04  Angus Leeming  <leeming@lyx.org>
8910
8911         * LaTeX.h: move AuxInfo operator==, != out of line.
8912         Remove LaTeX virtual destructor; nothing derives from it.
8913         Move operator()() out of public area and rename it startscript().
8914         Change protected for private.
8915
8916 2003-04-04  Angus Leeming  <leeming@lyx.org>
8917
8918         * lyxfunc.C:
8919         * text2.C: remove unneeded #includes.
8920
8921 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8922
8923         * text2.C (dEPM): fix the heigth of the next row
8924
8925 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8926
8927         * text.C: squashed an invalid getChar requester + some ws changes
8928
8929 2003-04-03  John Levon  <levon@movementarian.org>
8930
8931         * bufferview_funcs.h:
8932         * bufferview_funcs.C:
8933         * lyxfunc.C:
8934         * lyxtext.h:
8935         * text2.C: make getStatus work for the env depth lfuns
8936
8937 2003-04-03  John Levon  <levon@movementarian.org>
8938
8939         * bufferview_funcs.h:
8940         * bufferview_funcs.C:
8941         * lyxfunc.C:
8942         * lyxtext.h:
8943         * text2.C: parlistize decDepth(), by merging it with incDepth()
8944
8945 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * lyxrow.h: store a ParagraphList::iterator instead of a
8948         Paragraph* and adjust other class functions to suit.
8949
8950         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8951         above.
8952
8953 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8954
8955         * text2.C (setCursor): do not anchor to cursor row for the time being
8956
8957 2003-04-02  John Levon  <levon@movementarian.org>
8958
8959         * LyXAction.C:
8960         * lfuns.h:
8961         * lyx_main.C:
8962         * lyxtext.h:
8963         * text.C:
8964         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8965
8966 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8967
8968         * paragraph.h: make ParagraphList and ParagraphList::iterator
8969         friends of Paragraph.
8970
8971         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8972
8973         * ParagraphList.C: Use the private next_ and previous_ from
8974         Paragraph.
8975
8976 2003-04-01  John Levon  <levon@movementarian.org>
8977
8978         * ToolbarBackend.h:
8979         * ToolbarBackend.C:
8980         * Makefile.am: rename, remove defaults gunk
8981
8982         * MenuBackend.h:
8983         * MenuBackend.C: remove defaults gunk
8984
8985         * Languages.h:
8986         * Languages.C: remove defaults gunk
8987
8988         * lyx_main.h:
8989         * lyx_main.C: error out if files couldn't be found.
8990
8991 2003-04-02  John Levon  <levon@movementarian.org>
8992
8993         * text2.C: make incDepth() use parlist
8994
8995 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8996
8997         * undo_funcs.C (firstUndoParagraph): adjust
8998
8999         * text3.C (gotoInset): adjust
9000         (dispatch): adjust, and rewrite loop.
9001
9002         * text2.C (init): adjust, and rewrite loop.
9003         (redoParagraphs): adjust
9004         (updateInset): adjust, and rewrite loop.
9005         (deleteEmptyParagraphMechanism): adjust
9006
9007         * tabular.C (LyXTabular): adjust
9008         (SetMultiColumn): adjust
9009         (TeXRow): adjust
9010
9011         * lyxtext.[Ch] (ownerParagraph): delete function
9012         (ownerParagraphs): new function returns a ParagraphList.
9013
9014         * BufferView.C (removeAutoInsets): adjust
9015         (insertErrors): adjust
9016         (setCursorFromRow): adjust
9017
9018 2003-04-01  Angus Leeming  <leeming@lyx.org>
9019
9020         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9021         in the frontends.
9022
9023 2003-04-02  John Levon  <levon@movementarian.org>
9024
9025         * lyxtext.h:
9026         * text.C:
9027         * Makefile.am:
9028         * text_funcs.h:
9029         * text_funcs.C: make transposeChars a free function
9030
9031         * lyxrow_funcs.C: remove wrong comment
9032
9033 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * lyxtext.h: adjust
9036         * rowpainter.C: adjust
9037         * text.C: adjust
9038         * text2.C: adjust
9039         * text3.C: adjust
9040
9041         * lyxrow_funcs. [Ch]: new files
9042
9043         * lyxrow.[Ch]: remove next and previous pointers
9044         (next,previous): remove accessor functions
9045         (isParEnd): move to lyxrow_funcs
9046         (lastPos): move to lyxrow_funcs
9047         (nextRowIsAllInset): move to lyxrow_funcs
9048         (lastPrintablePos): move to lyxrow_funcs
9049         (numberOfSeparators): move to lyxrow_funcs
9050         (numberOfHfills): move to lyxrow_funcs
9051         (numberOfLabelHfills): move to lyxrow_funcs
9052         (hfillExpansion): move to lyxrow_funcs
9053
9054         * lyxfunc.C: adjust
9055
9056         * bufferview_funcs.C (toggleAndShow): adjust
9057
9058         * RowList.h: Remove class RowList from file leave just a
9059         std::list<Row>.
9060
9061         * RowList.C: delete file
9062
9063         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9064         and lyxrow_funcs.h
9065
9066 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9067
9068         * text3.C (cursorPrevious): adjust
9069         (cursorNext): adjust
9070         (dispatch): adjust
9071
9072         * text2.C (redoHeightOfParagraph): adjust
9073         (redoDrawingOfParagraph): adjust
9074         (setCursor): adjust
9075
9076         * text.C (breakParagraph): adjust
9077         (insertChar): adjust
9078         (backspace): adjust
9079
9080         * rowpainter.C (RowPainter): adjust
9081         (leftMargin): simplify and adjust
9082         (most rowpainter functions): adjust.
9083
9084         * rowpainter.h: store the row as RowList::iterator not as Row*
9085
9086         * lyxcursor.C (row): taka RowList::iterator as arg
9087         (irow): ditto
9088
9089         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9090         of Row*.
9091
9092 2003-04-01  Angus Leeming  <leeming@lyx.org>
9093
9094         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9095         stuff like bool Bool.
9096
9097 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9098
9099         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9100         rewrite a loop
9101
9102 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9105         RowList::iterator.
9106
9107         * lyxtext.h (rows): drop one version and leve a const variant that
9108         returns a RowList::iterator.
9109
9110 2003-03-31  Angus Leeming  <leeming@lyx.org>
9111
9112         * text.C (fill): ensure that the signature is the same as that in the
9113         header file.
9114
9115 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9116
9117         * text2.C (redoParagraphs): adjust
9118         (updateCounters): adjust
9119         (checkParagraph): adjust
9120         (getColumnNearX): adjust and reformat a bit.
9121
9122         * text.C (top_y): adjust
9123         (workWidth): adjust
9124         (leftMargin): adjust
9125         (prepareToPrint): adjust
9126         (getRow): adjust
9127         (getRowNearY): adjust
9128
9129         * lyxtext.h: make rowlist_ mutable.
9130
9131         * RowList.h: add const_iterator
9132         * RowList.C: adjust for RowList::const_iterator.
9133
9134         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9135         adjust.
9136
9137 2003-03-31  John Levon  <levon@movementarian.org>
9138
9139         * lyxrc.h:
9140         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9141
9142         * lyx_main.C: set default fonts from using lyx_gui funcs
9143
9144         * exporter.C: pdf_mode moved from lyxrc
9145
9146         * lyx_cb.C:
9147         * lyxfunc.C: changes from above
9148
9149 2003-03-31  John Levon  <levon@movementarian.org>
9150
9151         * lyx_main.C: fix to the last fix
9152
9153 2003-03-31  John Levon  <levon@movementarian.org>
9154
9155         * bufferlist.C: "Load original" -> "Load Original"
9156
9157         * converter.C:
9158         * exporter.C:
9159         * importer.C:
9160         * lyx_main.C:
9161         * format.C: more Alert cleanups
9162
9163 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * text2.C (removeParagraph): make it take a RowList::iterator as
9166         arg, adjust.
9167         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9168         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9169
9170         * text.C (anchor_row): make it take a RowList::iterator as arg,
9171         adjust.
9172         (computeBidiTables): make it take a const reference to Row instead
9173         of Row pointer, adjust.
9174         (leftMargin): make it take a RowList::iterator as arg, adjust.
9175         (rowBreakPoint): adjust
9176         (breakAgainOneRow): make it take a RowList::iterator as arg,
9177         adjust.
9178         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9179
9180         * bufferview_funcs.C (toggleAndShow): adjust
9181
9182 2003-03-30  John Levon  <levon@movementarian.org>
9183
9184         * Makefile.am:
9185         * BoostFormat.h:
9186         * boost-inst.C: moved to support
9187
9188         * several files: changes as a result
9189
9190 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9191
9192         * text2.C (LyXText): adjust.
9193         (init): adjust
9194         (removeRow): make it take a RowList::iterator as arg, adjust.
9195         (fullRebreak): adjust
9196         (deleteEmptyParagraphMechanism): adjust
9197         (clearPaint): adjust
9198         (postPaint): adjust
9199
9200         * text.C (top_y): adjust
9201         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9202         (breakAgain): make it take a RowList::iterator as arg, adjust.
9203         (breakParagraph): adjust
9204         (insertChar): adjust
9205         (backspace): adjust
9206
9207         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9208         need_break_row, and refresh_row.
9209
9210         * text3.C (dispatch): adjust
9211
9212         * text2.C (checkParagraph): adjust
9213         (setCursor): adjust
9214         (setCursorFromCoordinates): adjust
9215
9216         * text.C (top_y): adjust
9217         (workWidth): adjust
9218         (getRow): make it return a RowList::iterator, adjust
9219         (getRowNearY): make it return a RowList::iterator, adjust
9220
9221         * text2.C (init): adjust
9222         (insertRow): remove function
9223         (insertParagraph): adjust
9224         (redoParagraphs): adjust
9225         (fullRebreak): adjust
9226         (updateCounters): adjust
9227
9228         * text.C (top_y): rewrite to use RowList iterators.
9229         (top_y): adjust
9230         (setHeightOfRow): rewrite to sue RowList iterators.
9231         (appendParagraph): adjust
9232         (breakAgain): adjust
9233         (breakAgainOneRow): adjust
9234         (breakParagraph): adjust
9235         (getRow): adjust
9236         (getRowNearY): adjust, and remove commented code.
9237
9238         * lyxtext.h (firstRow): delete function
9239         (lastRow): delete function
9240         (rows): new function (const and non-const versions.)
9241         (insertRow): delete function
9242
9243         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9244
9245 2003-03-29  John Levon  <levon@movementarian.org>
9246
9247         * BufferView_pimpl.C: always update scrollbar top
9248         because pasting text when we're anchored could mean we
9249         miss an update altogether
9250
9251 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9252
9253         * text2.C (init): use rowlist_.end() and not 0.
9254         (insertRow): change to take a RowList::iterator as arg, adjust
9255         for this.
9256         (insertParagraph): change to take a RowList::iterator as arg,
9257         adjust for this.
9258         (redoParagraphs): remove some debug msgs.
9259
9260         * text.C (appendParagraph): change to take a RowList::iterator
9261         arg, adjust for this.
9262         (breakAgain): add an assert
9263         (breakAgainOneRow): ditto
9264
9265 2003-03-29  John Levon  <levon@movementarian.org>
9266
9267         * text2.C: do not clear selection after inc/decDepth
9268         (bug 550)
9269
9270 2003-03-29  John Levon  <levon@movementarian.org>
9271
9272         * BufferView.C:
9273         * buffer.C: fix broken strerrors according to Lars
9274
9275 2003-03-29  John Levon  <levon@movementarian.org>
9276
9277         * converters.C: more Alert cleanups
9278
9279 2003-03-29  John Levon  <levon@movementarian.org>
9280
9281         * bufferview_funcs.C: remove pointless Alert
9282
9283         * buffer.C: fix confusing error message when
9284         a template is chmoded 000
9285
9286 2003-03-29  John Levon  <levon@movementarian.org>
9287
9288         * BufferView.C:
9289         * BufferView.h:
9290         * BufferView_pimpl.C: Alert fixes
9291
9292         * Makefile.am:
9293         * tabular.C:
9294         * tabular-old.C: remove unused table compat reading
9295
9296 2003-03-29  John Levon  <levon@movementarian.org>
9297
9298         * BufferView.C:
9299         * buffer.C:
9300         * lyx_cb.h:
9301         * lyx_cb.C: more Alert cleanups
9302
9303         * lyxfunc.C: don't allow chktex if not latex document
9304
9305 2003-03-29  John Levon  <levon@movementarian.org>
9306
9307         * lyx_cb.C:
9308         * BufferView.C:
9309         * buffer.C: warnings pushed down from support/,
9310         kill err_alert
9311
9312 2003-03-29  John Levon  <levon@movementarian.org>
9313
9314         * lyxfunc.C: safety check for C-r (revert)
9315
9316 2003-03-29  John Levon  <levon@movementarian.org>
9317
9318         * bufferlist.h:
9319         * bufferlist.C: several UI fixes using Alert::prompt.
9320         Fix the pointless looping quit code. Fix stupid revert
9321         behaviour (bug 938)
9322
9323         * lyxvc.h:
9324         * lyxvc.C:
9325         * lyx_cb.C: use Alert::prompt
9326
9327         * lyx_main.C: remove a silly question
9328
9329         * lyxfunc.C: remove a couple of silly questions,
9330         use Alert::prompt
9331
9332 2003-03-28  John Levon  <levon@movementarian.org>
9333
9334         * text2.C: fix bug 974 (End on empty par)
9335
9336 2003-03-28  John Levon  <levon@movementarian.org>
9337
9338         * BufferView_pimpl.C:
9339         * LyXAction.C:
9340         * lfuns.h: remove do-nothing math greek lfuns
9341
9342 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9343
9344         * lyxgluelength.h (isValidGlueLength): add default arg on
9345         parameter 2. Remove default arg from friend in class.
9346
9347         * lyxlength.h (isValidLength): add default arg on parameter 2.
9348         Remove default arg from friend in class.
9349
9350         * text2.C (LyXText): adjust, initialize refresh_row.
9351         (init): adjust
9352         (removeRow): adjust
9353         (insertRow): adjust
9354         (insertParagraph): adjst
9355         (redoParagraphs): adjust
9356         (fullRebreak): adjust
9357         (updateCounters): adjust
9358         (deleteEmptyParagraphMechanism): first attempt at fixing a
9359         crashing bug.
9360
9361         * text.C (top_y): adjust
9362         (setHeightOfRow): adjust
9363         (getRow): adjust
9364         (getRowNearY): adjust
9365
9366         * lyxtext.h: include RowList.h
9367         (~LyXText): not needed anymore, deleted.
9368         (firstRow): modify for RowList
9369         (lastRow): new function
9370         Delete firstrow and lastrow class variables, add a Rowlist
9371         rowlist_ class variable.
9372
9373         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9374         paragraph is empty.
9375
9376         * RowList.C (insert): fix case where it == begin().
9377
9378 2003-03-26  Angus Leeming  <leeming@lyx.org>
9379
9380         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9381         the thesaurus dialog.
9382
9383 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9384
9385         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9386
9387         * RowList.[Ch]: new files
9388
9389         * ParagraphList.C (erase): handle the case where it == begin
9390         correctly.
9391
9392 2003-03-25  John Levon  <levon@movementarian.org>
9393
9394         * Makefile.am:
9395         * aspell_local.h:
9396         * aspell.C: add new aspell support
9397
9398         * lyxrc.h:
9399         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9400         have it accessible.
9401
9402 2003-03-25  Angus Leeming  <leeming@lyx.org>
9403
9404         * lfuns.h:
9405         * LyXAction.C (init): new LFUN_INSET_INSERT.
9406
9407         * BufferView_pimpl.C (dispatch): split out part of the
9408         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9409
9410         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9411         LFUN_INSET_APPLY.
9412
9413 2003-03-25  Angus Leeming  <leeming@lyx.org>
9414
9415         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9416
9417 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9418
9419         * text2.C:
9420         * text3.C: remove useless row->height(0)
9421
9422 2003-03-25  John Levon  <levon@movementarian.org>
9423
9424         * lyxtext.h:
9425         * text2.C:
9426         * text3.C: rename the refreshing stuff to better names
9427
9428 2003-03-24  John Levon  <levon@movementarian.org>
9429
9430         * BufferView_pimpl.h:
9431         * BufferView_pimpl.C: update layout choice on a mouse
9432         press/release
9433
9434 2003-03-23  John Levon  <levon@movementarian.org>
9435
9436         * Makefile.am: fix commandtags.h reference
9437
9438 2003-03-22  John Levon  <levon@movementarian.org>
9439
9440         * BufferView_pimpl.C:
9441         * lyxtext.h:
9442         * rowpainter.C:
9443         * rowpainter.h:
9444         * text.C:
9445         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9446
9447 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9448
9449         * lyxtext.h:
9450         * text.C: take the rtl methods out of line
9451
9452 2003-03-21 André Pönitz <poenitz@gmx.net>
9453
9454         * metricsinfo.[Ch]: new files containing structures to be passed around
9455         during the two-phase-drawing...
9456
9457 2003-03-21 André Pönitz <poenitz@gmx.net>
9458
9459         * lyxtextclass.C: read 'environment' tag.
9460
9461 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9462
9463         * text2.C (removeRow): fix bug 964
9464
9465 2003-03-20  John Levon  <levon@movementarian.org>
9466
9467         * rowpainter.C:
9468         * text.C:
9469         * text2.C: paint cleanups. Inset::update() dropped font
9470         parameter
9471
9472 2003-03-19  John Levon  <levon@movementarian.org>
9473
9474         * lyxfunc.C: only fitcursor/markDirty if available()
9475
9476 2003-03-19  John Levon  <levon@movementarian.org>
9477
9478         * commandtags.h: rename to ...
9479
9480         * lfuns.h: ... this, and renumber / cleanup
9481
9482 2003-03-19  John Levon  <levon@movementarian.org>
9483
9484         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9485         fit the cursor after an lfun
9486
9487         * BufferView.h:
9488         * BufferView.C:
9489         * BufferView_pimpl.h:
9490         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9491
9492         * LyXAction.C: layout-character should have ReadOnly
9493
9494         * ParagraphParameters.C:
9495         * buffer.C:
9496         * bufferview_funcs.C:
9497         * lyx_cb.C:
9498         * lyxfind.C:
9499         * lyxtext.h:
9500         * text.C:
9501         * text2.C:
9502         * text3.C:
9503         * undo_funcs.C: changes from above
9504
9505 2003-03-18  John Levon  <levon@movementarian.org>
9506
9507         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9508         remove it from update()
9509
9510         * lyxfunc.C: update layout choice after an lfun
9511
9512         * text3.C: remove extra updateLayoutChoice()s
9513
9514 2003-03-18  John Levon  <levon@movementarian.org>
9515
9516         * text.C: top_y change means full repaint, fix
9517         a drawing bug with cursor movement
9518
9519 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9520
9521         * lyxtext.h:
9522         * text.C:
9523         * text2.C: anchor row on setCursor
9524
9525 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9526
9527         * lyxtext.h: remove almost all mutable keywords
9528         * text.C:
9529         * text2.C:
9530         * text3.C: remove const keywords accordingly
9531
9532 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9533
9534         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9535         anon namespace
9536         (TeXEnvironment): ditto
9537         (TeXOnePar): ditto
9538
9539 2003-03-17  John Levon  <levon@movementarian.org>
9540
9541         * text.C (rowBreakPoint): remove attempt to fix displayed
9542         math insets inside a manual label
9543
9544 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9545
9546         * lyxtext.h: remove BufferView* as first arg from almost all class
9547         functions.
9548         * other files: adjust.
9549
9550 2003-03-17  John Levon  <levon@movementarian.org>
9551
9552         * lyxtext.h:
9553         * undo_funcs.C:
9554         * text2.C: more paint cleanups
9555
9556         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9557
9558         * rowpainter.h:
9559         * rowpainter.C: remove "smart" background painting code
9560
9561 2003-03-16  John Levon  <levon@movementarian.org>
9562
9563         * lyxtext.h:
9564         * text.C:
9565         * text2.C:
9566         * text3.C: add helper functions for setting refresh_row/y
9567
9568 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9569
9570         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9571         newline inset which *can* get inserted in the pass_thru layouts.
9572         This is primarily for literate documents.
9573
9574 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9575
9576         * buffer.C: increment LYX_FORMAT to 223
9577
9578 2003-03-14 André Pönitz <poenitz@gmx.net>
9579
9580         * textclass.h: prepare for environment handling, ws changes
9581         * lyxlayout.C: read latexheader and latexfooter tags
9582
9583 2003-03-14  John Levon  <levon@movementarian.org>
9584
9585         * text2.C: rewrite ::status() a bit
9586
9587 2003-03-13  John Levon  <levon@movementarian.org>
9588
9589         * lyxtext.h: add some docs
9590
9591 2003-03-13  John Levon  <levon@movementarian.org>
9592
9593         * lyxtext.h:
9594         * text.C:
9595         * text2.C:
9596         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9597
9598 2003-03-13  John Levon  <levon@movementarian.org>
9599
9600         * text3.C: fix appendix redrawing
9601
9602 2003-03-13  John Levon  <levon@movementarian.org>
9603
9604         * text.C (setHeightOfRow):
9605         * rowpainter.h:
9606         * rowpainter.C: make appendix mark have the text
9607           "Appendix" so the user knows what it is
9608
9609         * LColor.h:
9610         * LColor.C: s/appendixline/appendix/ from above
9611
9612 2003-03-13  John Levon  <levon@movementarian.org>
9613
9614         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9615
9616         * text.C: fix a getChar(pos) bug properly
9617
9618 2003-03-13  Angus Leeming  <leeming@lyx.org>
9619
9620         * commandtags.h:
9621         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9622         Probably only temporary. Let's see how things pan out.
9623
9624         * BufferView.C (unlockInset):
9625         * BufferView_pimpl.C (fitCursor):
9626         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9627
9628         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9629         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9630
9631         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9632         new functions that convert ParagraphParameters to and from a string.
9633
9634         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9635         BufferView::Pimpl's dispatch.
9636         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9637
9638 2003-03-13 André Pönitz <poenitz@gmx.net>
9639
9640         * lyxfunc.C:
9641         * text3.C:
9642         * factory.C: make it aware of InsetEnv
9643
9644 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9645
9646         * text2.C (setCursor): never ask for one past last
9647         (setCursor): add some debugging messages.
9648
9649         * text.C (singleWidth): never ask for one past last
9650         (singleWidth): ditto
9651         (leftMargin): ditto
9652         (rightMargin): ditto
9653         (rowBreakPoint): ditto
9654         (setHeightOfRow): ditto
9655         (prepareToPrint): ditto
9656
9657         * rowpainter.C (paintBackground): never ask for one past last
9658         (paintText): never ask for one past last
9659
9660         * paragraph_pimpl.C (getChar): make the assert stricter, never
9661         allow the one past last pos to be taken
9662
9663         * paragraph.C (getChar): ws changes only
9664
9665         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9666         (numberOfSeparators): ditto
9667         (numberOfHfills): ditto
9668
9669 2003-03-12  John Levon  <levon@movementarian.org>
9670
9671         * author.h:
9672         * author.C:
9673         * bufferparams.h:
9674         * bufferparams.C:
9675         * paragraph_funcs.C: fix per-buffer authorlists
9676
9677 2003-03-12  John Levon  <levon@movementarian.org>
9678
9679         * text.C: fix newline in right address
9680
9681 2003-03-12  Angus Leeming  <leeming@lyx.org>
9682
9683         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9684         duplicate those in LyXFunc::dispatch.
9685
9686         * commandtags.h:
9687         * LyXAction.C:
9688         * ToolbarDefaults.C:
9689         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9690         Add LFUN_FONTFREE_UPDATE.
9691
9692         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9693         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9694
9695         * bufferview_func.[Ch]: several new functions to facilliate
9696         transfer of data to and from the character dialog.
9697
9698 2003-03-12  John Levon  <levon@movementarian.org>
9699
9700         * buffer.C:
9701         * paragraph.h:
9702         * paragraph.C:
9703         * paragraph_funcs.C:
9704         * paragraph_pimpl.C:
9705         * sgml.C:
9706         * tabular.C:
9707         * text.C:
9708         * text3.C: remove META_NEWLINE in favour of an inset
9709
9710         * rowpainter.h:
9711         * rowpainter.C: remove paintNewline (done by inset)
9712
9713 2003-03-12  John Levon  <levon@movementarian.org>
9714
9715         * paragraph_pimpl.C: complain about bad getChar()s
9716         for a while at least
9717
9718 2003-03-12  John Levon  <levon@movementarian.org>
9719
9720         * buffer.h:
9721         * buffer.C: move paragraph read into a separate function,
9722         a little renaming to reflect that.
9723
9724         * bufferparams.h:
9725         * bufferparams.C: remove the author_ids map, not necessary now
9726
9727         * factory.h:
9728         * factory.C: moved Buffer::readInset to here
9729
9730         * paragraph_funcs.h:
9731         * paragraph_funcs.C: readParagraph free function moved from
9732         buffer.C
9733
9734         * tabular.C: name change
9735
9736 2003-03-12  John Levon  <levon@movementarian.org>
9737
9738         * buffer.C:
9739         * ParagraphParameters.C: move par params input to
9740         a read() method
9741
9742         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9743         behave like a normal read from the stream wrt reading
9744         a line vs. a \\token
9745
9746 2003-03-12  John Levon  <levon@movementarian.org>
9747
9748         * paragraph.C:
9749         * ParagraphParameters.h:
9750         * ParagraphParameters.C: move output code to a
9751         ::write() method
9752
9753 2003-03-12  John Levon  <levon@movementarian.org>
9754
9755         * BufferView.C (insertLyXFile):
9756         * buffer.h:
9757         * buffer.C:
9758         * tabular.C: use a parlist iterator for creating the
9759           document.
9760
9761 2003-03-12  John Levon  <levon@movementarian.org>
9762
9763         * buffer.C: make current_change static local not
9764           static file-scope
9765
9766 2003-03-12  John Levon  <levon@movementarian.org>
9767
9768         * buffer.C: fix insertStringAsLines for change tracking
9769
9770 2003-03-12  John Levon  <levon@movementarian.org>
9771
9772         * BufferView.C:
9773         * tabular.C:
9774         * buffer.h:
9775         * buffer.C:
9776         * bufferparams.h:
9777         * bufferparams.C: move author list into params. Rename some
9778           functions. Move the header reading into a separate token
9779           loop. Move the header token reading into BufferParams.
9780
9781 2003-03-12  John Levon  <levon@movementarian.org>
9782
9783         * changes.C: put debug inside lyxerr.debugging() checks
9784
9785 2003-03-11 André Pönitz <poenitz@gmx.net>
9786
9787         * factory.C: make it aware of InsetHFill
9788
9789 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9790
9791         * buffer.C (latexParagraphs): move function from here...
9792         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9793         args.
9794
9795 2003-03-10  Angus Leeming  <leeming@lyx.org>
9796
9797         * LyXAction.C (init): fix bug in poplating array with multiple entries
9798         with the same LFUN (spotted by JMarc).
9799
9800 2003-03-10  John Levon  <levon@movementarian.org>
9801
9802         * text.C:
9803         * text2.C: move getColumnNearX() near its
9804         only call site
9805
9806 2003-03-10  John Levon  <levon@movementarian.org>
9807
9808         * text.C: fix break before a minipage
9809
9810 2003-03-10  John Levon  <levon@movementarian.org>
9811
9812         * text.C: fix the last commit
9813
9814 2003-03-09  John Levon  <levon@movementarian.org>
9815
9816         * lyxtext.h:
9817         * text.C:
9818         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9819         bug 365 (don't break before insets unless needed). Don't
9820         return a value > last under any circumstances.
9821
9822 2003-03-09  Angus Leeming  <leeming@lyx.org>
9823
9824         * BufferView_pimpl.C (trackChanges, dispatch): call
9825         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9826
9827 2003-03-09  Angus Leeming  <leeming@lyx.org>
9828
9829         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9830         than Dialogs::showAboutlyx().
9831
9832 2003-03-09  Angus Leeming  <leeming@lyx.org>
9833
9834         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9835         than Dialogs::showTabularCreate().
9836
9837 2003-03-09  John Levon  <levon@movementarian.org>
9838
9839         * lyxtext.h:
9840         * text.C:
9841         * text2.C: 3rd arg to nextBreakPoint was always the same.
9842           Use references.
9843
9844 2003-03-08  John Levon  <levon@movementarian.org>
9845
9846         * lyxrow.C:
9847         * paragraph.C:
9848         * paragraph.h:
9849         * rowpainter.C:
9850         * text.C:
9851         * text2.C: Remove the "main" bit from the "main body"
9852           notion.
9853
9854 2003-03-08  John Levon  <levon@movementarian.org>
9855
9856         * text.C (leftMargin): The left margin of an empty
9857         manual label paragraph should not include the label width
9858         string length.
9859
9860         * text.C (prepareToPrint): don't attempt to measure hfills
9861         for empty manual label paragraphs - the answer should be 0
9862
9863 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9864
9865         * CutAndPaste.C: remove commented code and reindent.
9866
9867 2003-03-08  John Levon  <levon@movementarian.org>
9868
9869         * lyxfunc.h:
9870         * lyxfunc.C: move reloadBuffer()
9871
9872         * BufferView.h:
9873         * BufferView.C: to here
9874
9875         * lyxvc.C: add comment
9876
9877         * vc-backend.h:
9878         * vc-backend.C: call bv->reload() to avoid
9879           getStatus() check on MENURELOAD
9880
9881 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9882
9883         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9884         to an old format .dep file.
9885
9886 2003-03-07  Angus Leeming  <leeming@lyx.org>
9887
9888         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9889         when the LFUN_MOUSE_RELEASE should have been handled by
9890         inset->localDispatch.
9891
9892 2003-03-07  Angus Leeming  <leeming@lyx.org>
9893
9894         * BufferView_pimpl.C (dispatch):
9895         * LyXAction.C (init):
9896         * ToolbarDefaults.C (init):
9897         * commandtags.h:
9898         * lyxfunc.C (getStatus):
9899         remove LFUN_INSET_GRAPHICS.
9900
9901         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9902
9903 2003-03-07  Angus Leeming  <leeming@lyx.org>
9904
9905         * commandtags.h:
9906         * LyXAction.C (init):
9907         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9908
9909         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9910
9911         * commandtags.h:
9912         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9913
9914         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9915         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9916
9917 2003-03-07  Angus Leeming  <leeming@lyx.org>
9918
9919         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9920         remove "ert".
9921
9922 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9923
9924         * ParagraphList.C (front): new function
9925         (back): implement
9926
9927 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9928
9929         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9930         and top_row_offset_. removed var first_y.
9931         * text.C (top_y):
9932         * text2.C (LyXText, removeRow):
9933         * text3.C:
9934         * BufferView_pimpl.C:
9935         use these methods instead of using first_y
9936
9937 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * text2.C (pasteSelection): adjust for checkPastePossible
9940
9941         * CutAndPaste.C: remove Paragraph * buf and replace with
9942         ParagraphList paragraphs.
9943         (DeleteBuffer): delete
9944         (cutSelection): change the tc type to textclass_type
9945         (copySelection): change the tc type to textclass_type
9946         (copySelection): adjust for ParagraphList
9947         (pasteSelection): change the tc type to textclass_type
9948         (pasteSelection): adjust for Paragraphlist
9949         (nrOfParagraphs): simplify for ParagraphList
9950         (checkPastePossible): simplify for ParagraphList
9951         (checkPastePossible): remove unused arg
9952
9953         * ParagraphList.C (insert): handle the case where there are no
9954         paragraphs yet.
9955
9956         * CutAndPaste.h: make CutAndPaste a namespace.
9957
9958         * text3.C (dispatch): adjust
9959
9960         * text.C (breakParagraph): add a ParagraphList as arg
9961
9962         * paragraph_funcs.C (breakParagraph): change to take a
9963         BufferParams and a ParagraphList as args.
9964         (breakParagraphConservative): ditto
9965         (mergeParagraph): ditto
9966         (TeXDeeper): add a ParagraphList arg
9967         (TeXEnvironment): ditto
9968         (TeXOnePar): ditto
9969
9970         * buffer.C (readLyXformat2): adjust
9971         (insertStringAsLines): adjust
9972         (latexParagraphs): adjust
9973
9974         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9975         (cutSelection): adjust
9976         (pasteSelection): adjust
9977
9978         * BufferView_pimpl.C (insertInset): adjust
9979
9980 2003-03-05  Angus Leeming  <leeming@lyx.org>
9981
9982         * commandtags.h:
9983         * LyXAction.C (init):
9984         * BufferView_pimpl.C (dispatch):
9985         * lyxfunc.C (getStatus):
9986         remove LFUN_CHILD_INSERT.
9987
9988         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9989
9990 2003-03-05  Angus Leeming  <leeming@lyx.org>
9991
9992         * commandtags.h:
9993         * LyXAction.C (init):
9994         * src/factory.C (createInset):
9995         * lyxfunc.C (getStatus):
9996         * text3.C (dispatch):
9997         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9998
9999         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10000
10001 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10002
10003         * ParagraphList.C (insert): handle insert right before end()
10004         (erase): fix cases where it can be first or last paragraph.
10005
10006 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10007
10008         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10009         Paragraph::next and Paragraph::previous
10010         (TeXOnePar): ditto
10011
10012         * text.C (breakParagraph): adjust
10013
10014         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10015         BufferParams& as arg.
10016         (breakParagraph): use ParagraphList::insert
10017         (breakParagraphConservative): take a Buffer* instead of a
10018         BufferParams& as arg.
10019         (breakParagraphConservative): use ParagraphList::insert.
10020
10021         * buffer.C (insertStringAsLines): un-const it
10022         (insertStringAsLines): adjust
10023
10024         * ParagraphList.C (insert): new function
10025
10026         * CutAndPaste.C (pasteSelection): adjust
10027
10028         * text.C (backspace): adjust
10029
10030         * tabular.C (SetMultiColumn): adjust
10031
10032         * CutAndPaste.C (cutSelection): adjust
10033         (pasteSelection): adjust
10034
10035         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10036         Buffer const * as arg
10037
10038         * ParagraphList.C (erase): new function
10039         * paragraph_funcs.C (mergeParagraph): use it
10040         (mergeParagraph): make it take a Buffer* instead of a
10041         BufferParams* as arg
10042
10043         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10044         as arg
10045         (breakParagraphConservative): ditto
10046
10047         * paragraph.h: remove the breakParagraph friend
10048
10049         * paragraph.C (eraseIntern): new function
10050         (setChange): new function
10051
10052         * paragraph_funcs.C (mergeParagraph): make it take a
10053         ParagraphList::iterator instead of a Paragraph *, adjust
10054         accordingly.
10055
10056         * paragraph.h: move an #endif so that the change tracking stuff
10057         also works in the NO_NEXT case.
10058
10059 2003-03-04  Angus Leeming  <leeming@lyx.org>
10060
10061         * commandtags.h:
10062         * LyXAction.C: new LFUN_INSET_MODIFY.
10063
10064         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10065         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10066
10067 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10068
10069         * several files: ws changes only
10070
10071         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10072         (TeXEnvironment): ditto
10073         (TeXDeeper): ditto
10074
10075         * buffer.C (makeLaTeXFile): adjust
10076         (latexParagraphs): make it take ParagraphList::iterator as args
10077
10078 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10079
10080         * buffer.C (latexParagraphs): adjust
10081
10082         * paragraph.C (TeXOnePar): move function...
10083         (optArgInset): move function...
10084         (TeXEnvironment): move function...
10085         * paragraph_pimpl.C (TeXDeeper): move function...
10086         * paragraph_funcs.C: ...here
10087
10088         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10089
10090 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10091
10092         * buffer.C (readInset): remove compability code for old Figure and
10093         InsetInfo insets
10094
10095 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10096
10097         * buffer.C: ws changes
10098         (readInset):
10099
10100         * BufferView_pimpl.C: ditto
10101         * author.C: ditto
10102         * buffer.h: ditto
10103         * bufferlist.h: ditto
10104         * changes.h: ditto
10105         * lyxfunc.C: ditto
10106
10107 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10108
10109         * converter.[Ch]: split into itself +
10110         * graph.[Ch]
10111         * format.[Ch]
10112         * Makefile.am: += graph.[Ch] + format.[Ch]
10113         * MenuBackend.C
10114         * buffer.C
10115         * exporter.C
10116         * importer.C
10117         * lyx_main.C
10118         * lyxfunc.C
10119         * lyxrc.C: added #include "format.h"
10120
10121 2003-02-27  Angus Leeming  <leeming@lyx.org>
10122
10123         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10124           a label.
10125
10126         * factory.C (createInset): add "label" to the factory.
10127
10128         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10129           string and do no more.
10130
10131 2003-02-27  Angus Leeming  <leeming@lyx.org>
10132
10133         * commandtags.h:
10134         * LyXAction.C (init):
10135         * factory.C (createInset):
10136         * BufferView_pimpl.C (dispatch):
10137           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10138
10139         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10140
10141         * lyxfunc.C (dispatch):
10142         * text3.C (dispatch): pass name to params2string.
10143
10144 2003-02-26  Angus Leeming  <leeming@lyx.org>
10145
10146         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10147           blocks together.
10148           Rearrange the ~includes. Strip out the unnecessary ones.
10149
10150         * factory.C (createInset): reformat.
10151           create new insets for the various LFUN_XYZ_APPLY lfuns.
10152
10153 2003-02-26  John Levon  <levon@movementarian.org>
10154
10155         * lyxrow.h:
10156         * lyxrow.C: add isParStart,isParEnd helpers
10157
10158         * paragraph.h: make isInserted/DeletedText take refs
10159
10160         * paragraph_funcs.h:
10161         * paragraph_funcs.C: remove #if 0'd code
10162
10163         * lyxtext.h:
10164         * text3.C:
10165         * text2.C:
10166         * text.C: use lyxrow helpers above.
10167           Move draw and paint routines to RowPainter.
10168           Make several methods use refs not pointers.
10169           Make backgroundColor() const.
10170           Add markChangeInDraw(), isInInset().
10171           Merge changeRegionCase into changeCase.
10172           Make workWidth() shouldn't-happen code into an Assert.
10173
10174         * rowpainter.h:
10175         * rowpainter.C: new class for painting a row.
10176
10177         * vspace.h:
10178         * vspace.C: make inPixels take a ref
10179
10180 2003-02-26  Angus Leeming  <leeming@lyx.org>
10181
10182         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10183         LFUN_REF_APPLY.
10184
10185 2003-02-25  John Levon  <levon@movementarian.org>
10186
10187         * ispell.C: give the forked command a more accurate name
10188
10189 2003-02-22  John Levon  <levon@movementarian.org>
10190
10191         * toc.h:
10192         * toc.C: make TocItem store an id not a Paragraph *
10193           (bug #913)
10194
10195 2003-02-21  Angus Leeming  <leeming@lyx.org>
10196
10197         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10198           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10199           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10200           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10201           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10202           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10203
10204         * BufferView_pimpl.C (dispatch):
10205         * LyXAction.C (init):
10206         * factory.C (createInset):
10207         * lyxfunc.C (getStatus, dispatch):
10208         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10209
10210 2003-02-21  Angus Leeming  <leeming@lyx.org>
10211
10212         * BufferView_pimpl.C (MenuInsertLyXFile):
10213         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10214         * lyxfunc.C (menuNew, open, doImport):
10215           no longer pass a LyXView & to fileDlg.
10216
10217 2003-02-21  Angus Leeming  <leeming@lyx.org>
10218
10219         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10220         * LyXAction.C: change, BIBKEY to BIBITEM.
10221         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10222         Change InsetBibKey to InsetBibitem.
10223         Change BIBKEY_CODE to BIBITEM_CODE.
10224         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10225         * factory.C: replace insetbib.h with insetbibitem.h.
10226         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10227         * paragraph.C: replace insetbib.h with insetbibitem.h.
10228         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10229         Change bibkey() to bibitem().
10230         * text.C: remove insetbib.h.
10231         * text2.C: replace insetbib.h with insetbibitem.h.
10232         change bibkey() to bibitem().
10233         * text3.C: remove insetbib.h.
10234         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10235
10236 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10237
10238         * lyxrc.C (output): enclose user email in quotes (in case there are
10239         several words)
10240
10241 2003-02-18  John Levon  <levon@movementarian.org>
10242
10243         * buffer.h: add std::
10244
10245 2003-02-17  John Levon  <levon@movementarian.org>
10246
10247         * SpellBase.h:
10248         * ispell.h:
10249         * ispell.C:
10250         * pspell.h:
10251         * pspell.C: reworking. Especially in ispell, a large
10252           number of clean ups and bug fixes.
10253
10254         * lyxfunc.C: fix revert to behave sensibly
10255
10256 2003-02-17 André Pönitz <poenitz@gmx.net>
10257
10258         * LyXAction.C:
10259         * commandtags.h: new LFUN_INSERT_BIBKEY
10260
10261         * layout.h:
10262         * lyxlayout.C:
10263         * buffer.C:
10264         * factory.C:
10265         * text.C:
10266         * text2.C:
10267         * text3.C:
10268         * paragraph.[Ch]:
10269         * paragraph_func.C: remove special bibkey handling
10270
10271 2003-02-17  John Levon  <levon@movementarian.org>
10272
10273         * text.C (Delete): fix case where delete at the end of
10274           the very first paragraph would not merge the pars
10275
10276 2003-02-17  John Levon  <levon@movementarian.org>
10277
10278         * lyxrow.C: fix lastPrintablePos()
10279
10280 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * bufferparams.C (writeLaTeX): add a std:here
10283
10284         * buffer.C: and remove a using directive there
10285
10286 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * buffer.C (makeLaTeXFile): move the code that generates the
10289           preamble...
10290
10291         * bufferparams.C (writeLaTeX): ... in this new method
10292
10293         * LaTeXFeatures.C (getEncodingSet): make const
10294           (getLanguages): make const
10295
10296         * MenuBackend.C (binding): returns the binding associated to this
10297           action
10298           (add): sets the status of each item by calling getStatus. Adds
10299           some intelligence.
10300           (read): add support for OptSubMenu
10301           (expand): remove extra separator at the end of expanded menu
10302
10303 2003-02-15  John Levon  <levon@movementarian.org>
10304
10305         * BufferView.C:
10306         * BufferView_pimpl.C:
10307         * bufferlist.h:
10308         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10309           inset code that had no actual effect. Remove unneeded status
10310           code.
10311
10312 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10315           in preamble
10316
10317 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10318
10319         * text.C (drawLengthMarker): also draw an arrow marker for
10320           symbolic lengths (medskip...)
10321
10322 2003-02-14  John Levon  <levon@movementarian.org>
10323
10324         * tabular.h:
10325         * tabular.C: better method names
10326
10327 2003-02-14  John Levon  <levon@movementarian.org>
10328
10329         * BufferView_pimpl.C:
10330         * bufferlist.C:
10331         * buffer.C:
10332         * converter.C:
10333         * lyx_cb.C:
10334         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10335           it's a more accurate name. Remove some pointless uses.
10336
10337 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10338
10339         * text2.C (LyXText): change order of initilizers to shut off
10340           warnings
10341
10342 2003-02-14  John Levon  <levon@movementarian.org>
10343
10344         * buffer.C: use ParIterator for getParFromID()
10345
10346         * paragraph.h:
10347         * paragraph.C:
10348         * paragraph_pimpl.h:
10349         * paragraph_pimpl.C: remove unused getParFromID()
10350
10351 2003-02-14  John Levon  <levon@movementarian.org>
10352
10353         * buffer.C: remove some very old #if 0'd parse code
10354
10355 2003-02-13  John Levon  <levon@movementarian.org>
10356
10357         * text.h:
10358         * text.C:
10359         * text2.C: move hfillExpansion(), numberOfSeparators(),
10360           rowLast(), rowLastPrintable(), numberofHfills(),
10361           numberOfLabelHfills() ...
10362
10363         * lyxrow.h:
10364         * lyxrow.C: ... to member functions here.
10365
10366         * paragraph.h:
10367         * paragraph.C:
10368         * lyxtext.h:
10369         * text.C: remove LyXText::beginningOfMainBody(), and call
10370           p->beginningOfMainBody() directly. Move the check for
10371           LABEL_MANUAL into the latter.
10372
10373         * text.h:
10374         * text.C:
10375         * text2.C:
10376         * vspace.C:
10377         * BufferView.h:
10378         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10379
10380         * text.h:
10381         * text.C:
10382         * text2.C:
10383         * text3.C:
10384         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10385           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10386
10387 2003-02-13  John Levon  <levon@movementarian.org>
10388
10389         * CutAndPaste.C: remove debug
10390
10391 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10392
10393         * paragraph.C (asString): remove two unused variables
10394
10395         * lyxtextclass.C (readTitleType):
10396           (Read):
10397           (LyXTextClass): handle new members titletype_ and titlename_
10398
10399         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10400
10401 2003-02-09  John Levon  <levon@movementarian.org>
10402
10403         * buffer.h:
10404         * buffer.C: replace hand-coded list with a map for the dep clean
10405
10406 2003-02-08  John Levon  <levon@movementarian.org>
10407
10408         * LaTeX.C: consolidate code into showRunMessage() helper
10409
10410 2003-02-08  John Levon  <levon@movementarian.org>
10411
10412         * lyxfind.C:
10413         * lyxtext.h:
10414         * text2.C:
10415         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10416           and pass the size in explicitly
10417
10418         * BufferView_pimpl.h:
10419         * BufferView_pimpl.C:
10420         * BufferView.h:
10421         * BufferView.C: add getCurrentChange()
10422
10423         * BufferView_pimpl.h:
10424         * BufferView_pimpl.C: handle change lfuns
10425
10426         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10427           for changes. Mark pasted paragraphs as new.
10428
10429         * support/lyxtime.h:
10430         * support/lyxtime.C:
10431         * DepTable.C: abstract time_t as lyx::time_type
10432
10433         * LColor.h:
10434         * LColor.C: add colours for new text, deleted text, changebars
10435
10436         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10437           package use "usenames" option.
10438
10439         * commandtags.h:
10440         * lyxfunc.C:
10441         * LyXAction.C: add change lfuns
10442
10443         * Makefile.am:
10444         * author.h:
10445         * author.C: author handling
10446
10447         * buffer.h:
10448         * buffer.C: add a per-buffer author list, with first entry as
10449           current author. Handle new .lyx tokens for change tracking. Output
10450           author list to .lyx file. Output dvipost stuff to .tex preamble.
10451           Bump lyx format to 222.
10452
10453         * bufferlist.h:
10454         * bufferlist.C: add setCurrentAuthor() to reset current author details
10455           in all buffers.
10456
10457         * bufferparams.h:
10458         * bufferparams.C: add param for tracking
10459
10460         * bufferview_funcs.C: output change info in minibuffer
10461
10462         * Makefile.am:
10463         * changes.h:
10464         * changes.C: add change-tracking structure
10465
10466         * debug.h:
10467         * debug.C: add CHANGES debug flag
10468
10469         * lyxfind.h:
10470         * lyxfind.C: add code for finding the next change piece
10471
10472         * lyxrc.h:
10473         * lyxrc.C: add user_name and user_email
10474
10475         * lyxrow.h:
10476         * lyxrow.C: add a metric for the top of the text line
10477
10478         * lyxtext.h:
10479         * text.C: implement accept/rejectChange()
10480
10481         * lyxtext.h:
10482         * text.C: paint changebars. Paint new/deleted text in the chosen
10483         colours. Strike through deleted text.
10484
10485         * paragraph.h:
10486         * paragraph.C:
10487         * paragraph_pimpl.h:
10488         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10489           in the current change to the insert functions. Rework erase to
10490           mark text as deleted, adding an eraseIntern() and a range-based
10491           erase(). Implement per-paragraph change lookup and
10492           accept/reject.
10493
10494         * paragraph_funcs.C: Fixup paste for change tracking.
10495
10496         * tabular.C: mark added row/columns as new.
10497
10498         * text.C: fix rowLast() to never return -1. Don't allow
10499           spellchecking of deleted text. Track transpose changes. Don't
10500           allow paragraph break or merge where appropriate.
10501
10502         * text2.C: leave cursor at end of selection after a cut.
10503
10504 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10505
10506         * text.C (getLengthMarkerHeight):
10507         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10508         visible on screen too.
10509
10510 2003-02-07  John Levon  <levon@movementarian.org>
10511
10512         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10513
10514 2003-02-05  Angus Leeming  <leeming@lyx.org>
10515
10516         * lyxserver.C (read_ready): revert my patch of 11 September last year
10517         as it sends PC cpu through the roof. Presumably this means that
10518         the lyxserver will no longer run on an Alpha...
10519
10520 2003-01-30  Angus Leeming  <leeming@lyx.org>
10521
10522         * factory.C (createInset): create an InsetCommandParam of type "index"
10523         and use it to 'do the right thing'.
10524
10525         * text2.C (getStringToIndex): ensure that cursor position is always
10526         reset to the reset_cursor position.
10527
10528 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10529
10530         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10531         disabled.
10532
10533 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10534
10535         * bufferview.C:
10536         * lyxcb.C:
10537         * lyxfunc.C: Output messages with identical spelling, punctuation,
10538         and spaces
10539
10540 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10541
10542         * MenuBackend.C (expandFormats): List only viewable export formats
10543         in "View" menu
10544
10545         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10546         message
10547
10548         * lyxfunc.C (getStatus): Make sure that formats other than
10549         "fax" can also be disabled
10550
10551 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10552
10553         * text3.C (dispatch): put the lfuns that insert insets in 3
10554         groups, and call doInsertInset with appropriate arguments.
10555         (doInsertInset): new function, that creates an inset and inserts
10556         it according to some boolean parameters.
10557
10558 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10559
10560         * buffer.C (readFile): remember to pass on 'par' when calling
10561         readFile recursively.
10562
10563 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10564
10565         * MenuBackend.C (expandFormats): add "..." to import formats.
10566
10567 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10568
10569         * paragraph.C (asString): Remove XForms RTL hacks.
10570
10571 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10572         * buffer.C: fix typo
10573
10574 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10575
10576         * Makefile.am (LIBS): delete var
10577         (lyx_LDADD): add @LIBS@ here instead.
10578
10579 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10580
10581         * Clarify the meaning of "wheel mouse jump"
10582
10583 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10584
10585         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10586         tabular in a float
10587
10588 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * importer.C (Loaders): do not preallocate 3 elements in the
10591         vector, since one ends up with 6 elements otherwise
10592
10593 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10594
10595         * DepTable.C (write): write the file name as last element of the
10596         .dep file (because it may contain spaces)
10597         (read): read info in the right order
10598
10599 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10600
10601         * paragraph_pimpl.C (simpleTeXBlanks):
10602         (simpleTeXSpecialChars):
10603         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10604
10605         * tabular.C (latex): add some missing case statements. Reindent.
10606
10607         * MenuBackend.C (expandToc): remove unused variable.
10608
10609 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10610
10611         * LColor.C:
10612         * LaTeX.C:
10613         * LyXAction.C:
10614         * MenuBackend.C:
10615         * buffer.C:
10616         * exporter.C:
10617         * lyxfunc.C:
10618         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10619         and the like.
10620
10621 2003-01-05  John Levon  <levon@movementarian.org>
10622
10623         * BufferView.h:
10624         * BufferView.C: add getEncoding()
10625
10626         * kbsequence.h:
10627         * kbsequence.C: do not store last keypress
10628
10629         * lyxfunc.h:
10630         * lyxfunc.C: store last keypress here instead. Pass encoding
10631           to getISOEncoded()
10632
10633 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10634
10635         * lyx_main.C (init): remove annoying error message when following
10636         symbolic links (bug #780)
10637
10638 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * text.C (insertChar):
10641         * lyxrc.C (getDescription): remove extra spaces
10642
10643 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * lyxrc.C (getDescription): remove extra spaces
10646
10647 2002-12-20  John Levon  <levon@movementarian.org>
10648
10649         * text3.C: hack fix for page up/down across tall rows
10650
10651 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10652
10653         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10654         not been invoked
10655
10656 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10659         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10660         thesaurus is not compiled in
10661
10662 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10663
10664         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10665
10666 2002-12-16  Angus Leeming  <leeming@lyx.org>
10667
10668         * lyxrc.[Ch]:
10669         * lyx_main.C (init): remove override_x_deadkeys stuff.
10670
10671 2002-12-12  John Levon  <levon@movementarian.org>
10672
10673         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10674           insert. Only remove shift modifier under strict
10675           circumstances.
10676
10677 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10678
10679         * MenuBackend.C (expandToc): fix crash.
10680
10681 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10682
10683         * MenuBackend.C (expandToc): gettext on float names.
10684
10685 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10686
10687         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10688         implement bool empty() [bug 490]
10689
10690 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10691
10692         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10693
10694 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10695
10696         * several files: ws changes
10697
10698 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10699
10700         * text2.C (setCounter): clean up a bit, use boost.format.
10701         (updateCounters): initialize par upon declaration.
10702
10703         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10704         if the layout exists. We do not just store the layout any more.
10705         (SwitchLayoutsBetweenClasses): use boost.format
10706
10707 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10708
10709         * converter.C (convert): if from and to files are the same, use a
10710         temporary files as intermediary
10711
10712 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * commandtags.h:
10715         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10716
10717 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10720
10721 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10722
10723         * tabular.C (asciiPrintCell): use string(size, char) instead of
10724         explicit loop.
10725
10726         * sgml.C (openTag): fix order of arguments to string constructor
10727         (closeTag): ditto
10728
10729         * lyxfunc.C (dispatch): use boost.format
10730
10731         * lots of files: change "c" -> 'c'
10732
10733 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10736
10737 2002-11-25  Angus Leeming  <leeming@lyx.org>
10738
10739         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10740
10741         * lyx_main.C (init): compile fix.
10742
10743 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10744
10745         * lyx_cb.C (start): boost.formatify
10746         do not include <iostream>
10747
10748         * lengthcommon.C: ws only
10749
10750         * boost-inst.C,BoostFormat.h: add more explict instantations
10751
10752 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10753
10754         * lots of files: handle USE_BOOST_FORMAT
10755
10756 2002-11-21  John Levon  <levon@movementarian.org>
10757
10758         * pspell.C: fix compile
10759
10760 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10761
10762         * lyxfunc.C (dispatch): use boost::format
10763         (open): ditto
10764         (doImport): ditto
10765
10766         * lyxfont.C (stateText): use boost::format
10767
10768         * lyx_main.C (LyX): use boost::format
10769         (init): ditto
10770         (queryUserLyXDir): ditto
10771         (readRcFile): ditto
10772         (parse_dbg): ditto
10773         (typedef boost::function): use the recommened syntax.
10774
10775         * importer.C (Import): use boost::format
10776
10777         * debug.C (showLevel): use boost::format
10778
10779         * converter.C (view): use boost::format
10780         (convert): ditto
10781         (move): ditto
10782         (scanLog): ditto
10783
10784         * bufferview_funcs.C (currentState): use boost::format
10785
10786         * bufferlist.C (emergencyWrite): use boost::format
10787
10788         * buffer.C (readLyXformat2): use boost::format
10789         (parseSingleLyXformat2Token): ditto
10790
10791         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10792
10793         * LaTeX.C (run): use boost::format
10794
10795         * Chktex.C (scanLogFile): use boost::format
10796
10797         * BufferView_pimpl.C (savePosition): use boost::format
10798         (restorePosition): ditto
10799         (MenuInsertLyXFile): ditto
10800
10801         * BoostFormat.h: help file for explicit instation.
10802
10803 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10804
10805         * tabular.C (latex): Support for block alignment in fixed width
10806         columns.
10807
10808 2002-11-17  John Levon  <levon@movementarian.org>
10809
10810         * BufferView_pimpl.C:
10811         * lyx_cb.C:
10812         * lyxfunc.C: split filedialog into open/save
10813
10814 2002-11-08  Juergen Vigna  <jug@sad.it>
10815
10816         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10817         by my last patch (hopefully).
10818
10819 2002-11-08  John Levon  <levon@movementarian.org>
10820
10821         * iterators.h:
10822         * iterators.C:
10823         * buffer.h:
10824         * buffer.C:
10825         * paragraph.h:
10826         * paragraph.C:
10827         * toc.h:
10828         * toc.C: ParConstIterator, and use it (from Lars)
10829
10830 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10831
10832         * lyxtextclass.[Ch]: revise and add doxygen comments
10833
10834 2002-11-07  John Levon  <levon@movementarian.org>
10835
10836         * text.C: fix progress value for spellchecker
10837
10838         * toc.C: fix navigate menu for insetwrap inside minipage
10839
10840         * paragraph_funcs.C: added FIXME for suspect code
10841
10842 2002-11-07  John Levon  <levon@movementarian.org>
10843
10844         * BufferView_pimpl.C: fix redrawing of insets
10845           on buffer switch
10846
10847 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10848
10849         * text2.C (updateCounters): fix bug 668
10850
10851 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10852
10853         * text3.C (dispatch): Do not make the buffer dirty when moving the
10854         cursor.
10855
10856 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10857
10858         * vc-backend.C: STRCONV
10859         (scanMaster): ditto
10860
10861         * text2.C (setCounter): STRCONV
10862
10863         * paragraph.C (asString): STRCONV
10864
10865         * lyxlength.C (asString): STRCONV
10866         (asLatexString): ditto
10867
10868         * lyxgluelength.C (asString): STRCONV
10869         (asLatexString): ditto
10870
10871         * lyxfunc.C (dispatch): STRCONV
10872         (open): ditto
10873
10874         * lyxfont.C (stateText): STRCONV
10875
10876         * importer.C (Import): STRCONV
10877
10878         * counters.C (labelItem): STRCONV
10879         (numberLabel): ditto
10880         (numberLabel): remove unused ostringstream o
10881
10882         * chset.C: STRCONV
10883         (loadFile): ditto
10884
10885         * bufferview_funcs.C (currentState): STRCONV
10886
10887         * buffer.C (readFile): STRCONV
10888         (asciiParagraph): ditto
10889         (makeLaTeXFile): ditto
10890
10891         * Spacing.C (writeEnvirBegin): STRCONV
10892
10893         * LaTeXFeatures.C (getLanguages): STRCONV
10894         (getPackages): ditto
10895         (getMacros): ditto
10896         (getBabelOptions): ditto
10897         (getTClassPreamble): ditto
10898         (getLyXSGMLEntities): ditto
10899         (getIncludedFiles): ditto
10900
10901         * LaTeX.C: STRCONV
10902         (run): ditto
10903         (scanAuxFile): ditto
10904         (deplog): ditto
10905
10906         * LString.h: add the STRCONV macros
10907
10908         * BufferView_pimpl.C (savePosition): STRCONV
10909         (restorePosition): ditto
10910         (MenuInsertLyXFile): ditto
10911
10912         * vc-backend.C (scanMaster): change from submatch[...] to
10913         submatch.str(...)
10914
10915         * funcrequest.C: include config.h
10916
10917         * factory.C: include config.h
10918
10919         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10920
10921         * box.C: include config.h
10922
10923         * LaTeX.C (scanAuxFile): change from submatch[...] to
10924         submatch.str(...)
10925         (deplog): ditto
10926
10927 2002-10-25  Angus Leeming  <leeming@lyx.org>
10928
10929         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10930
10931         * ispell.[Ch] (setError): new method.
10932         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10933         Use setError() insetead of goto END.
10934
10935         * lyx_cb.C (AutoSave): move out child process into new class
10936         AutoSaveBuffer.
10937
10938 2002-10-30  John Levon  <levon@movementarian.org>
10939
10940         * text3.C: make start appendix undoable
10941
10942 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * lyxlength.C (inPixels): Fix returned value.
10945
10946         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10947         environment.
10948
10949 2002-10-24  Angus Leeming  <leeming@lyx.org>
10950
10951         * lyxgluelength.h: no need to forward declare BufferParams
10952         or BufferView, so don't.
10953
10954 2002-10-21  John Levon  <levon@movementarian.org>
10955
10956         * BufferView.C: menuUndo ->undo, redo
10957
10958         * BufferView.h: document, remove dead, make some methods private
10959
10960         * paragraph_funcs.h:
10961         * paragraph_funcs.C:
10962         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10963
10964         * buffer.h:
10965         * buffer.C:
10966         * sgml.h:
10967         * sgml.C: move sgml open/close tag into sgml.C
10968
10969         * bufferview_funcs.h: unused prototype
10970
10971         * lyxfunc.h:
10972         * lyxfunc.C: remove unused
10973
10974         * lyxtext.h:
10975         * text.C: remove unused
10976
10977 2002-10-21  John Levon  <levon@movementarian.org>
10978
10979         * BufferView.h:
10980         * BufferView.C:
10981         * BufferView_pimpl.h:
10982         * BufferView_pimpl.C: fix mouse wheel handling based on
10983           patch from Darren Freeman
10984
10985 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10986
10987         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10988
10989 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10990
10991         * lyxlength.C (inPixels): Fix hanfling of negative length.
10992         Fix LyXLength::MU case.
10993
10994 2002-10-16  John Levon  <levon@movementarian.org>
10995
10996         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10997
10998 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10999
11000         * converter.C (view): add support for $$i (file name) and $$p
11001         (file path) for the viewer command. If $$i is not specified, then
11002         it is appended to the command (for compatibility with old syntax)
11003
11004 2002-10-14  Juergen Vigna  <jug@sad.it>
11005
11006         * undo_funcs.C (textHandleUndo): alter the order in which the
11007         new undopar is added to the LyXText, as we have to set first
11008         the right prev/next and then add it as otherwise the rebuild of
11009         LyXText is not correct. Also reset the cursor to the right paragraph,
11010         with this IMO we could remove the hack in "redoParagraphs()".
11011
11012 2002-10-09  Angus Leeming  <leeming@lyx.org>
11013
11014         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11015         to turn off an optimisation if a new inset is to be inserted.
11016
11017 2002-10-11 André Pönitz <poenitz@gmx.net>
11018
11019         * lyxtext.h: make some functions public to allow access
11020         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11021
11022 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11023
11024         * text3.C (dispatch): when changing layout, avoid an infinite loop
11025         [bug #652]
11026
11027 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11028
11029         * lyxrc.C (read): treat a viewer or converter command of "none" as
11030         if it were empty.
11031
11032         * MenuBackend.C (expandFormats): for an update, also allow the
11033         formats that are not viewable
11034
11035         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11036         script if it is newer than the lyxrc.defaults in user directory
11037
11038 2002-10-07 André Pönitz <poenitz@gmx.net>
11039
11040         * text.C: Vitaly Lipatov's small i18n fix
11041
11042 2002-09-25  Angus Leeming  <leeming@lyx.org>
11043
11044         * ispell.h: doxygen fix.
11045
11046 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11047
11048         * buffer.h (readFile): Add a new argument to the method, to allow
11049         reading of old-format templates.
11050
11051 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11052
11053         * toc.C (getTocList): Get TOC from InsetWrap.
11054
11055 2002-09-16  John Levon  <levon@movementarian.org>
11056
11057         * lyxfunc.C: check tabular for cut/copy too
11058
11059 2002-09-12  John Levon  <levon@movementarian.org>
11060
11061         * LyXAction.C: tidy
11062
11063         * factory.h:
11064         * factory.C: add header
11065
11066         * paragraph_funcs.h:
11067         * paragraph_funcs.C: cleanup
11068
11069 2002-09-11  John Levon  <levon@movementarian.org>
11070
11071         * PrinterParams.h: odd/even default to true
11072
11073 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11074
11075         * PrinterParams.h: update printer parameters for new xforms dialog
11076
11077 2002-09-11  Angus Leeming  <leeming@lyx.org>
11078
11079         * lyxserver.C (read_ready): re-write to make it more transparent
11080         and to make it work in coherent fashion under Tru64 Unix.
11081
11082 2002-09-11  André Pönitz <poenitz@gmx.net>
11083
11084         * commandtags.h:
11085         * LyXAction.C:
11086         * text3.C: implement LFUN_WORDSEL
11087
11088 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11089
11090         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11091         make floatlist_ a boost::shared_ptr<FloatList>
11092
11093         * lyxtextclass.C: include FloatList.h
11094         (LyXTextClass): initialize floatlist_
11095         (TextClassTags): add TC_NOFLOAT
11096         (Read): match "nofloat" to TC_NOFLOAT and use it.
11097         (readFloat): modify call to floatlist_
11098         (floats): ditto
11099         (floats): ditto
11100
11101         * FloatList.[Ch] (FloatList): remove commented out float
11102         initialization.
11103         (erase): new function
11104
11105 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11106
11107         * MenuBackend.C (expandToc): fix crash when there is no document
11108         open
11109
11110 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * many files: Add insetwrap.
11113
11114 2002-09-09  John Levon  <levon@movementarian.org>
11115
11116         * text2.C: remove confusing and awkward depth wraparound
11117
11118 2002-09-09  John Levon  <levon@movementarian.org>
11119
11120         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11121
11122         * buffer.h:
11123         * buffer.C: remove getIncludeonlyList()
11124
11125         * paragraph.C:
11126         * lyxfunc.C: remove headers
11127
11128 2002-09-09  Juergen Vigna  <jug@sad.it>
11129
11130         * text.C (getColumnNearX): fix form Michael this is most
11131         probably a cut&paste bug.
11132
11133 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11134
11135         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11136
11137         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11138         references, ws changes.
11139
11140         * text2.C (init): update counters after init
11141         (insertParagraph): no need to set counter on idividual paragraphs.
11142         (setCounter): access the counters object in the textclass object
11143         on in the buffer object.
11144         (updateCounters): ditto
11145
11146         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11147         shared_ptr<Counters> to avoid loading counters.h in all
11148         compilation units.
11149         (LyXTextClass): initialize ctrs_
11150         (TextClassTags): add TC_COUNTER, and ...
11151         (Read): use it here.
11152         (CounterTags): new tags
11153         (readCounter): new function
11154         (counters): new funtion
11155         (defaultLayoutName): return a const reference
11156
11157         * counters.C (Counters): remove contructor
11158         (newCounter): remove a couple of unneeded statements.
11159         (newCounter): simplify a bit.
11160         (numberLabel): some small formatting changes.
11161
11162         * buffer.[Ch]: remove all traces of counters, move the Counters
11163         object to the LyXTextClass.
11164
11165 2002-09-06  Alain Castera  <castera@in2p3.fr>
11166
11167         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11168         package to set the horizontal alignment on fixed width columns.
11169
11170         * lyx_sty.C:
11171         * lyx_sty.h: added tabularnewline macro def.
11172
11173         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11174
11175 2002-09-06  John Levon  <levon@movementarian.org>
11176
11177         * LyXAction.C: tooltips for sub/superscript
11178
11179         * MenuBackend.C: a bit more verbose
11180
11181         * lyxfunc.C: tiny clean
11182
11183         * undo_funcs.C: document undo_frozen
11184
11185 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11186
11187         * counters.C (Counters): add missing algorithm counter.
11188
11189         * text2.C (setCounter): lookup the counter with layouts latexname
11190         instead of by section number.
11191         (setCounter): use a hackish way to lookup the correct enum
11192         counter.
11193         a float name->type change
11194         reset enum couners with counter name directly instead of depth value.
11195
11196         * counters.C (Counters): remove the push_backs, change to use the
11197         float type not the float name.
11198         (labelItem): remove unused string, float name->type change
11199
11200         * counters.h: don't include vector, loose the enums and sects vectors
11201
11202 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11203
11204         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11205         (Read): add float->TC_FLOAT to textclassTags
11206         (Read): and handle it in the switch
11207         (readFloat): new function
11208
11209         * FloatList.C (FloatList): comment out the hardcoded float
11210         definitions.
11211
11212         * lyxlayout.h: ws change.
11213
11214 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11215
11216         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11217
11218 2002-09-03  Angus Leeming  <leeming@lyx.org>
11219
11220         * BufferView_pimpl.h: qualified name is not allowed in member
11221         declaration: WorkArea & Pimpl::workarea() const;
11222
11223         * factory.C: added using std::endl directive.
11224
11225         * text3.C: added using std::find and std::vector directives.
11226
11227 2002-08-29  André Pönitz <poenitz@gmx.net>
11228
11229         * lyxtext.h:
11230         * text2.C: remove unused member number_of_rows
11231
11232         * Makefile.am:
11233         * BufferView2.C: remove file, move contents to...
11234         * BufferView.C: ... here
11235
11236         * BufferView_pimpl.C:
11237         * factory.C: move more inset creation to factory
11238
11239         * vspace.C: avoid direct usage of LyXText, ws changes
11240
11241         * BufferView.[Ch]:
11242                 don't provide direct access to WorkArea, use two simple
11243                 acessors haveSelction() and workHeight() instead
11244
11245
11246 2002-08-29  John Levon  <levon@movementarian.org>
11247
11248         * BufferView_pimpl.C (dispatch): do not continue when
11249           no buffer
11250
11251 2002-08-28  André Pönitz <poenitz@gmx.net>
11252
11253         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11254
11255         * BufferView.h:
11256         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11257
11258 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11259
11260         * buffer.C: increment LYX_FORMAT to 221
11261
11262         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11263         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11264
11265         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11266
11267         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11268
11269 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * factory.C (createInset): use LyXTextClass::floats
11272
11273         * MenuBackend.C (expandFloatListInsert):
11274         (expandFloatInsert):
11275         (expandToc):
11276
11277         * text2.C (setCounter):
11278
11279         * LaTeXFeatures.C (useFloat):
11280         (getFloatDefinitions):
11281
11282         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11283
11284         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11285         floatlist_, with accessor floats().
11286
11287         * FloatList.h: remove global FloatList
11288
11289 2002-08-26  André Pönitz <poenitz@gmx.net>
11290
11291         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11292
11293         * BufferView.h:
11294         * BufferView2.C:
11295         * BufferView_pimpl.C:
11296         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11297
11298 2002-08-25  John Levon  <levon@movementarian.org>
11299
11300         * LyXAction.C: fix margin note description
11301
11302 2002-08-24  John Levon  <levon@movementarian.org>
11303
11304         * buffer.C:
11305         * bufferlist.C:
11306         * bufferview_funcs.C:
11307         * lyxfont.C:
11308         * undo_funcs.C: cleanups
11309
11310         * lyxfunc.C: disable CUT/COPY when no selection
11311
11312 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11313
11314         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11315         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11316
11317         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11318         Add backward compatibility to "mono", "gray" and "no".
11319
11320 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11321
11322         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11323         (and file_format >= 200).
11324
11325 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11326
11327         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11328
11329 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11332
11333 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11334
11335         * BufferView_pimpl.C:
11336         * LyXAction.C:
11337         * buffer.C:
11338         * commandtags.h:
11339         * lyxfunc.C:
11340         * paragraph.[Ch]:
11341         * text2.C:
11342         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11343         inset and code to make it  work with the paragraph code. The inset
11344         can be anywhere in the paragraph, but will only do the expected
11345         thing in LaTeX if the layout file contains the parameter line
11346                         OptionalArgs    1
11347         (or more generally, a nonzero value) for that layout.
11348
11349 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11350
11351         * paragraph.h: remove the declaration of undefined counters class
11352         function.
11353
11354 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11355
11356         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11357         Dr. Richard Hawkins.
11358
11359 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * paragraph_funcs.h: remove some unneeded includes
11362
11363         * text.C (backspace): pasteParagraph now in global scipe
11364
11365         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11366         (pasteSelection): ditto
11367
11368         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11369         * paragraph_funcs.C (pasteParagraph): ... here
11370
11371 2002-08-20  André Pönitz <poenitz@gmx.net>
11372
11373         * commandtags.h: new LFUNs for swapping/copying table row/colums
11374
11375         * LyXAction.C:
11376         * lyxfunc.C: support for new lfuns
11377
11378 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11379
11380         * tabular.C:
11381         * buffer.[Ch]: remove NO_COMPABILITY stuff
11382
11383 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11384
11385         * boost.C (throw_exception): new file, with helper function for
11386         boost compiled without exceptions.
11387
11388         * paragraph.h:
11389         * lyxlength.C:
11390         * buffer.C:
11391         * ParameterStruct.h:
11392         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11393
11394         * bufferlist.C (emergencyWriteAll): use boost bind
11395
11396         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11397
11398         * text.C: include paragraph_funcs.h
11399         (breakParagraph): breakParagraph is now in global scope
11400
11401         * paragraph_funcs.[Ch]: new files
11402
11403         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11404         global scope
11405
11406         * buffer.C: include paragraph_funcs.h
11407         (insertStringAsLines): breakParagraph is now in global scope
11408
11409         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11410         paragraph_funcs.C
11411
11412         * CutAndPaste.C: include paragraph_funcs.h
11413         (cutSelection): breakParagraphConservative is now in global scope
11414         (pasteSelection): ditto
11415
11416         * buffer.h: declare oprator== and operator!= for
11417         Buffer::inset_iterator
11418
11419         * bufferlist.C (emergencyWrite): don't use fmt(...)
11420
11421         * text3.C: add using std::endl
11422
11423         * BufferView.C (moveCursorUpdate): remove default arg
11424
11425 2002-08-20  André Pönitz <poenitz@gmx.net>
11426
11427         * buffer.[Ch]: move inline functions to .C
11428
11429         * BufferView2.C:
11430         * BufferView_pimpl.C:
11431         * text.C:
11432         * buffer.[Ch]: use improved inset_iterator
11433
11434         * buffer.C:
11435         * paragraph.[Ch]: write one paragraph at a time
11436
11437 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11438
11439         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11440         style if style is not specified.
11441
11442 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * text2.C (setCounter): when searching for right label for a
11445         caption, make sure to recurse to parent insets (so that a caption
11446         in a minipage in a figure float works) (bug #568)
11447
11448 2002-08-20  André Pönitz <poenitz@gmx.net>
11449
11450         * text3.C: new file for LyXText::dispatch() and helpers
11451
11452         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11453
11454         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11455
11456 2002-08-19  André Pönitz <poenitz@gmx.net>
11457
11458         * lyxtext.h:
11459         * text.C: new LyXText::dispatch()
11460
11461         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11462
11463 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11464
11465         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11466
11467         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11468         Hebrew text.
11469
11470 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * Makefile.am: use $(variables) instead of @substitutions@
11473
11474 2002-08-15  André Pönitz <poenitz@gmx.net>
11475
11476         * lyxfunc.C:
11477         * BufferView_pimpl.C: streamlining mathed <-> outer world
11478         interaction
11479
11480         * commandtags.h:
11481         * LyXAction.C: remove unused LFUN_MATH
11482
11483 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11484
11485         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11486
11487 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11488
11489         * paragraph.C (Paragraph): reformat a bit
11490         (cutIntoMinibuffer): use builtin InsetList function instad of
11491         doing it manually.
11492         (getInset): ditto
11493
11494         * buffer.C: include boost/bind.hpp, add using std::for_each
11495         (writeFileAscii): use ParagraphList iterators
11496         (validate): use for_each for validate traversal of paragraphs
11497         (getBibkeyList): use ParagraphList iterators
11498         (resizeInsets): use for_each to resizeInsetsLyXText for all
11499         paragraphs.
11500         (getParFromID): use ParagraphList iterators
11501
11502         * BufferView2.C (lockInset): use paragraph list and iterators
11503
11504 2002-08-14  John Levon  <levon@movementarian.org>
11505
11506         * lyxserver.C: remove spurious xforms include
11507
11508 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11511
11512 2002-08-13  André Pönitz <poenitz@gmx.net>
11513
11514         * LyXAction.[Ch]:
11515         * lyxfunc.C: further cleaning
11516
11517 2002-08-13  André Pönitz <poenitz@gmx.net>
11518
11519         * funcrequest.h: new constructor
11520
11521         * funcrequest.C: move stuff here from .h
11522
11523         * Makefile.am:
11524         * BufferView_pimpl.C:
11525         * LyXAction.C:
11526         * toc.C:
11527         * lyxfunc.C: subsequent changes
11528
11529         * lyxfunc.h: new view() member function
11530
11531         * lyxfunc.C: subsequent changes
11532
11533 2002-08-13  Angus Leeming  <leeming@lyx.org>
11534
11535         * BufferView2.C:
11536         * BufferView_pimpl.C:
11537         * buffer.C:
11538         * converter.C:
11539         * importer.C:
11540         * lyxfunc.C:
11541         * lyxvc.C:
11542         * toc.C:
11543         * vc-backend.C:
11544         changes due to the changed LyXView interface that now returns references
11545         to member variables not pointers.
11546
11547 2002-08-13  Angus Leeming  <leeming@lyx.org>
11548
11549         * WordLangTuple (word, lang_code): return references to strings,
11550         not strings.
11551
11552         * BufferView.h:
11553         * SpellBase.h:
11554         * lyxtext.h: forward-declare WordLangTuple.
11555
11556         * BufferView2.C:
11557         * ispell.C:
11558         * pspell.C:
11559         * text.C: #include "WordLangTuple.h".
11560
11561         * lyxtext.h:
11562         * text.C: (selectNextWordToSpellcheck): constify return type.
11563
11564 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11565
11566         * buffer.C:
11567         * buffer.h:
11568         * lyxtext.h:
11569         * paragraph.C:
11570         * paragraph_pimpl.h:
11571         * text.C:
11572         * text2.C:
11573         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11574         suggested by Angus.
11575         Made updateCounter always count from start of buffer, and removed
11576         second argument (par).
11577         Reverted floats number display to '#'. Perhaps I'll try again when the
11578         code base is sanitized a bit.
11579
11580 2002-08-12  Angus Leeming  <leeming@lyx.org>
11581
11582         * buffer.[Ch] (getLabelList): constify.
11583
11584 2002-08-07  André Pönitz <poenitz@gmx.net>
11585
11586         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11587
11588         * funcrequest.h: extension to keep mouse (x,y) position
11589
11590 2002-08-12  Juergen Vigna  <jug@sad.it>
11591
11592         * BufferView2.C (insertErrors): forbid undo when inserting error
11593         insets.
11594
11595         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11596
11597 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11598
11599         * ParagraphList.[Ch]: new files
11600
11601         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11602
11603         * BufferView2.C (lockInset): ParagraphList changes
11604         * toc.C: ditto
11605         * text2.C: ditto
11606         * bufferlist.C: ditto
11607         * buffer.h: ditto
11608         * buffer.C: ditto
11609
11610 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11611
11612         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11613         unused class variable counter_,
11614
11615         * paragraph.[Ch] (getFirstCounter): delete unused function
11616
11617         * counters.C: include LAssert.h
11618         (reset): add a new function with no arg, change other version to
11619         not have def. arg and to not allow empty arg.
11620
11621         * text2.C (setCounter): remove empty arg from call to Counters::reset
11622
11623 2002-08-11  John Levon  <levon@movementarian.org>
11624
11625         * Makefile.am: add WordLangTuple.h
11626
11627 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11628
11629         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11630         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11631
11632         * insets/insettext.C: InsetList changes
11633
11634         * graphics/GraphicsSupport.C (operator()): InsetList changes
11635
11636         * toc.C (getTocList): InsetList changes
11637
11638         * paragraph_pimpl.[Ch]: InsetList changes
11639
11640         * paragraph.[Ch]: InsetList changes
11641
11642         * buffer.C (inset_iterator): InsetList changes
11643         (setParagraph): ditto
11644         * buffer.h (inset_iterator): ditto
11645         * iterators.C (operator++): ditto
11646         * iterators.h: ditto
11647
11648         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11649
11650         * InsetList.[Ch]: new files, most InsetList handling moved out of
11651         paragraph.C.
11652
11653         * BufferView2.C (removeAutoInsets): InsetList changes
11654         (lockInset): ditto
11655         (ChangeInsets): ditto
11656
11657 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11658
11659         * paragraph_pimpl.h (empty): new function
11660
11661         * paragraph.[Ch] (empty): new function
11662
11663         * other files: use the new Paragraph::empty function
11664
11665 2002-08-09  John Levon  <levon@movementarian.org>
11666
11667         * lyxtext.h: remove unused refresh_height
11668
11669 2002-08-09  John Levon  <levon@movementarian.org>
11670
11671         * Makefile.am:
11672         * sgml.h:
11673         * sgml.C:
11674         * buffer.C:
11675         * paragraph.h:
11676         * paragraph.C: move sgml char escaping out of paragraph
11677
11678         * paragraph.h:
11679         * paragraph.C: remove id setter
11680
11681         * buffer.C:
11682         * paragraph.C:
11683         * paragraph_pimpl.C: remove dead tex_code_break_column
11684
11685         * bufferview_funcs.C: small cleanup
11686
11687         * lyxfunc.C: remove dead proto
11688
11689         * lyxtext.h: make some stuff private. Remove some dead stuff.
11690
11691         * lyxgluelength.C: make as[LyX]String() readable
11692
11693 2002-08-08  John Levon  <levon@movementarian.org>
11694
11695         * LyXAction.h:
11696         * LyXAction.C:
11697         * MenuBackend.C:
11698         * ToolbarDefaults.C:
11699         * lyxfunc.C:
11700         * lyxrc.C:
11701         * toc.C: lyxaction cleanup
11702
11703 2002-08-08  John Levon  <levon@movementarian.org>
11704
11705         * BufferView2.C: small cleanup
11706
11707         * lyxfind.h:
11708         * lyxfind.C: move unnecessary header into the .C
11709
11710 2002-08-08  John Levon  <levon@movementarian.org>
11711
11712         * funcrequest.h: just tedious nonsense
11713
11714         * lyx_main.h:
11715         * lyx_main.C: cleanups
11716
11717         * buffer.C:
11718         * vspace.C: remove dead header lyx_main.h
11719
11720 2002-08-07  Angus Leeming  <leeming@lyx.org>
11721
11722         * Paragraph.[Ch]:
11723         * paragraph_pimpl.h:
11724         Forward declare class Counters in paragraph.h by moving the ctrs member
11725         variable into Paragraph::Pimpl.
11726         (counters): new method, returning a reference to pimpl_->ctrs.
11727
11728         * text2.C: ensuing changes.
11729
11730 2002-08-07  John Levon  <levon@movementarian.org>
11731
11732         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11733
11734         * BufferView_pimpl.C: announce X selection on double/triple
11735           click
11736
11737         * lyx_main.C: use correct bool in batch dispatch
11738
11739         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11740
11741 2002-08-07  André Pönitz <poenitz@gmx.net>
11742
11743         * funcrequest.h: new class to wrap a kb_action and its argument
11744
11745         * BufferView.[Ch]:
11746         * BufferView_pimpl[Ch]:
11747         * LaTeX.C:
11748         * LyXAction.[Ch]:
11749         * lyxfunc.[Ch]:
11750         * lyxrc.C: subsequent changes
11751
11752
11753 2002-08-07  John Levon  <levon@movementarian.org>
11754
11755         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11756           document options change.
11757
11758 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11759
11760         * counters.[Ch]
11761         * text2.C
11762         * paragraph.[Ch]
11763         * makefile.am: move counters functionality over from
11764         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11765
11766 2002-08-06  John Levon  <levon@movementarian.org>
11767
11768         * WordLangTuple.h: new file for word + language code tuple
11769
11770         * SpellBase.h:
11771         * pspell.h:
11772         * pspell.C:
11773         * ispell.h:
11774         * ispell.C:
11775         * lyxtext.h:
11776         * text.C:
11777         * text2.C:
11778         * BufferView.h:
11779         * BufferView2.C: use WordLangTuple
11780
11781         * layout.h:
11782         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11783
11784 2002-08-06  John Levon  <levon@movementarian.org>
11785
11786         * lyx_main.C: fix cmdline batch handling
11787
11788 2002-08-06  André Pönitz <poenitz@gmx.net>
11789
11790         * lyxrc.C: set default for show_banner to true
11791
11792 2002-08-06  John Levon  <levon@movementarian.org>
11793
11794         * pspell.C: fix a crash, and allow new aspell to work
11795
11796 2002-08-06  John Levon  <levon@movementarian.org>
11797
11798         * lyxfunc.C:
11799         * kbmap.C: small cleanup
11800
11801         * vspace.h:
11802         * vspace.C: add const
11803
11804 2002-08-05  John Levon  <levon@movementarian.org>
11805
11806         * LyXAction.C: back to tabular-insert
11807
11808 2002-08-04  John Levon  <levon@movementarian.org>
11809
11810         * BufferView.h:
11811         * BufferView.C: cosmetic change
11812
11813         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11814
11815         * bufferlist.C:
11816         * buffer.h:
11817         * buffer.C:
11818         * lyxcb.h:
11819         * lyxcb.C:
11820         * lyxserver.C:
11821         * lyxvc.C:
11822         * vc-backend.C:
11823         * BufferView2.C: purge all "Lyx" not "LyX" strings
11824
11825         * lyxcursor.h:
11826         * lyxcursor.C: attempt to add some documentation
11827
11828         * lyxfunc.C:
11829         * commandtags.h:
11830         * LyXAction.C:
11831         * ToolbarDefaults.C:
11832         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11833           merge with LFUN_TABULAR_INSERT
11834
11835         * Makefile.am:
11836         * SpellBase.h:
11837         * ispell.h:
11838         * ispell.C:
11839         * pspell.h:
11840         * pspell.C: split up i/pspell implementations into separate
11841           files, many cleanups
11842
11843         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11844
11845         * text2.C: some cleanup
11846
11847         * lyxfunc.C: don't check for isp_command == "none" any more, it
11848           didn't make any sense
11849
11850 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11851
11852         * counters.[Ch]
11853         * text2.C
11854         * paragraph.[Ch]
11855         * makefile.am: move counters functionality over
11856         from text2.C/paragraph.[Ch] to counters.[Ch], and
11857         make proper C++.
11858 2002-08-02  John Levon  <levon@movementarian.org>
11859
11860         * buffer.C: s/lyxconvert/lyx2lyx/
11861
11862 2002-08-02  Angus Leeming  <leeming@lyx.org>
11863
11864         * lyxlex.C: revert John's change as it breaks reading of the user
11865         preamble.
11866
11867 2002-08-02  Angus Leeming  <leeming@lyx.org>
11868
11869         * importer.C (Import):
11870         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11871         changes due to LyXView::view() now returning a boost::shared_ptr.
11872
11873 2002-08-02  John Levon  <levon@movementarian.org>
11874
11875         * lyxlex.C: small cleanup
11876
11877 2002-08-02  John Levon  <levon@movementarian.org>
11878
11879         * text2.C (status): small cleanup, no logic change
11880
11881 2002-08-01  John Levon  <levon@movementarian.org>
11882
11883         * buffer.h:
11884         * buffer.C (writeFile): don't output alerts, caller
11885           handles this
11886
11887         * bufferlist.C:
11888         * lyx_cb.C: from above
11889
11890         * lyxfunc.C: allow to open non-existent files
11891
11892 2002-07-31  John Levon  <levon@movementarian.org>
11893
11894         * lyxserver.C: don't let incidental errors get
11895           in the way (errno)
11896
11897 2002-07-30  John Levon  <levon@movementarian.org>
11898
11899         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11900
11901 2002-07-30  John Levon  <levon@movementarian.org>
11902
11903         * lyxserver.h:
11904         * lyxserver.C: remove I/O callback too
11905
11906 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11907
11908         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11909         log.
11910
11911 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11912
11913         * many files: strip,frontStrip -> trim,ltrim,rtrim
11914
11915 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11916
11917         * PrinterParams.h: remove extern containsOnly, and include
11918         support/lstrings.h instead.
11919
11920         * LaTeX.C (scanAuxFile): modify because of strip changes
11921         (deplog): ditto
11922         * buffer.C (makeLaTeXFile): ditto
11923         * bufferparams.C (writeFile): ditt
11924         * lyxfont.C (stateText): ditto
11925         * lyxserver.C (read_ready): ditto
11926         * vc-backend.C (scanMaster): ditto
11927
11928         * BufferView_pimpl.h: ws changes
11929
11930         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11931
11932 2002-07-26  André Pönitz <poenitz@gmx.net>
11933
11934         * kb_sequence.C: remove unnedred usings
11935
11936 2002-07-26  Juergen Vigna  <jug@sad.it>
11937
11938         * lyxfind.C (LyXReplace): we have to check better if the returned
11939         text is not of theLockingInset()->getLockingInset().
11940
11941 2002-07-25  Juergen Vigna  <jug@sad.it>
11942
11943         * lyxfind.C (LyXReplace): don't replace if we don't get the
11944         right LyXText.
11945
11946         * undo_funcs.C (createUndo): remove debugging code.
11947
11948 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11949
11950         * buffer.C (parseSingleLyXformat2Token): Use default placement
11951         when reading old floats.
11952
11953         * FloatList.C (FloatList): Change the default placement of figure
11954         and tables to "tbp".
11955
11956 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * MenuBackend.C: using std::max
11959
11960 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * MenuBackend.C (expandToc):
11963         (expandToc2): code moved from xforms menu frontend. It is now
11964         generic and TOCs are transparent to menu frontends.
11965
11966 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11967
11968         * toc.C (getTocList): protect against buf=0
11969
11970         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11971         Menu as first parameter. Now, this calls itself recursively to
11972         expand a whole tree (this will be useful for TOC handling)
11973         (expandFloatInsert): remove 'wide' version of floats
11974
11975         * MenuBackend.h (submenuname): returns the name of the submenu.
11976         (submenu): returns the submenu itself, provided it has been
11977         created by MenuBackend::expand
11978
11979 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11982         insets which have noFontChange == true. (bug #172)
11983
11984 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * BufferView_pimpl.C: add connection objects and use them...
11987         (Pimpl): here.
11988
11989 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11990
11991         * MenuBackend.C (expandLastfiles):
11992         (expandDocuments):
11993         (expandFormats):
11994         (expandFloatListInsert):
11995         (expandFloatInsert):
11996         (expand): split expand in parts
11997
11998 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * lyx_gui.C: use lyx_gui::exit()
12001
12002 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * LyXAction.C: show the failing pseudo action
12005
12006 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12007
12008         * buffer.C (readFile): Run the lyxconvert script in order to read
12009         old files.
12010
12011 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * LyXAction.C:
12014         * commandtags.h:
12015         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12016
12017 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * LyXAction.C:
12020         * commandtags.h:
12021         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12022
12023 2002-07-22  Herbert Voss  <voss@lyx.org>
12024
12025         * lengthcommon.C:
12026         * lyxlength.[Ch]: add support for the vertical lengths
12027
12028 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12029
12030         * toc.[Ch]: std:: fixes
12031
12032 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12033
12034         * lyxrc.C: do not include lyx_main.h
12035
12036         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12037         for layouts
12038
12039         * lyxrc.C:
12040         * encoding.C:
12041         * bufferlist.C:
12042         * BufferView2.C: include "lyxlex.h"
12043
12044         * tabular.h:
12045         * bufferparams.h: do not #include "lyxlex.h"
12046
12047         * lyxtextclasslist.C (Add): remove method
12048         (classlist): renamed to classlist_
12049
12050         * paragraph_pimpl.C:
12051         * paragraph.C:
12052         * text2.C:
12053         * CutAndPaste.C:
12054         * bufferview_funcs.C:
12055         * bufferlist.C:
12056         * text.C:
12057         * LaTeXFeatures.C:
12058         * buffer.C:
12059         * toc.C (getTocList): use BufferParams::getLyXTextClass
12060
12061         * toc.C (getTocList): use InsetFloat::addToToc
12062
12063         * toc.[Ch]: new files, containing helper functions to handle table
12064         of contents
12065
12066         * lyxfunc.C (dispatch): no need to remove spaces around command
12067         given as a string
12068         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12069         first command of the sequence; it is not very clever, but I do not
12070         have a better idea, actually
12071
12072         * LyXAction.C (LookupFunc): make sure to remove space at the
12073         beginning and end of the command
12074
12075 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * MenuBackend.C (getMenubar): new method: return the menubar of
12078         this menu set
12079         (read): treat differently reading of menu and menubar (in
12080         particular, the menubar has no name now)
12081         (Menu::menubar): remove
12082
12083         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12084         saving is finished
12085
12086 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12087
12088         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12089         a bibitem inset in a RTL paragraph.
12090
12091 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * paragraph_pimpl.C: constify
12094
12095         * BufferView_pimpl.C:
12096         * LaTeX.C:
12097         * lyxfunc.C: fix dispatch in a nicer way
12098
12099 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12100
12101         * lyxfunc.C (dispatch):
12102         * BufferView_pimpl.C:
12103         * BufferView_pimpl.h:
12104         * BufferView.C:
12105         * BufferView.h: rename Dispatch() to dispatch()
12106
12107         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12108
12109         * lyxlayout.C (Read): honor DependsOn tag
12110
12111         * lyxlayout.[Ch] (depends_on): new method
12112
12113         * version.C.in: update lyx_docversion
12114
12115         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12116
12117         * paragraph.C (validate): remove from here...
12118         * paragraph_pimpl.C (validate): ... and move here
12119         (isTextAt): make it const
12120
12121         * buffer.C (getLists): ws cleanup
12122
12123 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12124
12125         * language.C (read): Use iso8859-1 encoding in latex_lang
12126         (this prevents LyX from crashing when using iso10646-1 encoding).
12127
12128 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * text2.C (toggleInset): if cursor is inside an inset, close the
12131         inset and leave cursor _after_ it
12132
12133 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * lyxfunc.C: move minibuffer completion handling out of here
12136
12137 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * BufferView_pimpl.C:
12140         * LaTeX.C: fix dispatch calls
12141
12142 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12143
12144         * text.C (drawChars): Fix Arabic text rendering.
12145
12146 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * LyXAction.C:
12149         * commandtags.h:
12150         * lyxfunc.C: remove message-push/pop
12151
12152         * lyxserver.C:
12153         * lyxfunc.h:
12154         * lyxfunc.C: rationalise some code by removing verboseDispatch
12155           in favour of a bool argument to dispatch()
12156
12157 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * lyx_main.C (init): make sure to read symlinks as absolute paths
12160
12161 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * lyxfunc.h:
12164         * lyxfunc.C: no need for commandshortcut to be a member
12165
12166 2002-07-15  André Pönitz <poenitz@gmx.net>
12167
12168         * converter.C: add support for $$s (scripts from lib/scripts dir)
12169         * lyx_main.C: white space
12170
12171 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * bufferlist.C:
12174         * lyxrc.h:
12175         * lyxrc.C: remove second exit confirmation
12176
12177 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * BufferView.h:
12180         * BufferView.C:
12181         * BufferView2.C:
12182         * BufferView_pimpl.h:
12183         * BufferView_pimpl.C:
12184         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12185
12186 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12187
12188         * MenuBackend.C (expand): add numeric shortcuts to document menu
12189
12190         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12191
12192 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * lyxfont.C (setLyXFamily):
12195         (setLyXSeries):
12196         (setLyXShape):
12197         (setLyXSize):
12198         (setLyXMisc):
12199         (lyxRead):
12200         * debug.C (value):
12201         * buffer.C (asciiParagraph): use ascii_lowercase
12202
12203 2002-07-15  Mike Fabian  <mfabian@suse.de>
12204
12205         * lyxlex_pimpl.C (search_kw):
12206         * lyxlex.C (getLongString):
12207         * converter.h (operator<):
12208         * converter.C (operator<):
12209         * buffer.C (parseSingleLyXformat2Token):
12210         (asciiParagraph):
12211         * ToolbarDefaults.C (read):
12212         * MenuBackend.C (checkShortcuts):
12213         (read):
12214         * LColor.C (getFromGUIName):
12215         (getFromLyXName): use the compare_ascii_no_case instead of
12216         compare_no_case, because in turkish, 'i' is not the lowercase
12217         version of 'I', and thus turkish locale breaks parsing of tags.
12218
12219 2002-07-16  Angus Leeming  <leeming@lyx.org>
12220
12221         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12222         now takes a Buffer const & argument.
12223
12224 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * BufferView.C (resize): check there's a buffer to resize
12227
12228 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * lyxfunc.C: remove dead code
12231
12232         * lyxserver.h:
12233         * lyxserver.C: use lyx_guii::set_read_callback
12234
12235 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12236
12237         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12238         an inset in a RTL paragraph.
12239
12240 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * lyxfunc.C: repaint after a font size update
12243
12244 2002-07-15  André Pönitz <poenitz@gmx.net>
12245
12246         * lyxlength.C: inBP should be able to return negative values
12247
12248 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * lyxfunc.C: use lyx_gui::update_fonts()
12251
12252 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * lyxfunc.C: use lyx_gui::update_color()
12255
12256 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * bufferlist.C:
12259         * lyxfunc.h:
12260         * lyxfunc.C:
12261         * lyxrc.h:
12262         * lyxrc.C: remove file->new asks for name option, and let
12263           buffer-new take an argument
12264
12265 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * BufferView_pimpl.C: remove unneeded extra repaint()
12268
12269 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * LyXAction.C: allow command-sequence with NoBuffer
12272
12273         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12274
12275 2002-07-10  Angus Leeming  <leeming@lyx.org>
12276
12277         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12278
12279 2002-07-09  Angus Leeming  <leeming@lyx.org>
12280
12281         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12282
12283 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * lengthcommon.h: whitespace
12286
12287         * lyxfunc.C: update scrollbar after goto paragraph
12288
12289         * lyxtext.h: factor out page break drawing, and fix it so
12290           page break/added space paints as selected nicely
12291
12292 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * BufferView_pimpl.C: add FIXMEs, clean up a little
12295
12296 2002-07-09  André Pönitz <poenitz@gmx.net>
12297
12298         * lyxfont.[Ch]: support for wasy symbols
12299
12300 2002-07-08  André Pönitz <poenitz@gmx.net>
12301
12302         * BufferView_pimpl.C: apply John's patch for #93.
12303
12304 2002-07-05  Angus Leeming  <leeming@lyx.org>
12305
12306         * BufferView_pimpl.C (buffer): generate previews if desired.
12307
12308         * LColor.h: add "preview" to the color enum.
12309
12310         * LColor.C (LColor): add a corresponding entry to the items array.
12311
12312         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12313         with this buffer.
12314
12315 2002-07-05  Angus Leeming  <leeming@lyx.org>
12316
12317         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12318         The body of the code is now in the method that is passed an ostream &
12319         rather than a file name.
12320         Pass an additional only_preamble parameter, useful for the forthcoming
12321         preview stuff.
12322
12323 2002-07-03  André Pönitz <poenitz@gmx.net>
12324
12325         * lyxfunc.C: simplify getStatus() a bit for math stuff
12326
12327 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12330
12331 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * text.C (changeRegionCase): do not change case of all the
12334         document when region ends at paragraph end (bug #461)
12335
12336 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * paragraph.C (startTeXParParams):
12339         (endTeXParParams): add \protect when necessary
12340
12341 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * BufferView_pimpl.C (workAreaExpose): remove warning
12344
12345 2002-06-27  Angus Leeming  <leeming@lyx.org>
12346
12347         * Makefile.am: add lyxlayout_ptr_fwd.h.
12348
12349 2002-06-26  André Pönitz <poenitz@gmx.net>
12350
12351         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12352
12353 2002-06-25  Angus Leeming  <leeming@lyx.org>
12354
12355         * lyxfunc.C (dispatch): Comment out the call to
12356         grfx::GCache::changeDisplay. The method no longer exists now that the
12357         pixmap generation part of the graphics loader has been moved into
12358         InsetGraphics.
12359
12360 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12361
12362         * text2.C: layout as layout
12363
12364         * text.C: layout as layout
12365
12366         * tabular.C (OldFormatRead): layout as layout
12367
12368         * paragraph_pimpl.C (TeXDeeper): layout as layout
12369         (realizeFont): layout as layout
12370
12371         * paragraph.C (writeFile): layout as layout
12372         (validate): layout as layout
12373         (getFont): layout as layout
12374         (getLabelFont): layout as layout
12375         (getLayoutFont): layout as layout
12376         (breakParagraph): layout as layout
12377         (stripLeadingSpaces): layout as layout
12378         (getEndLabel): layout as layout
12379         (getMaxDepthAfter): layout as layout
12380         (applyLayout): layout as layout
12381         (TeXOnePar): layout as layout
12382         (simpleTeXOnePar): layout as layout
12383         (TeXEnvironment): layout as layout
12384         (layout): layout as layout
12385         (layout): layout as layout
12386
12387         * lyxtextclass.C (compare_name): new functor to work with
12388         shared_ptr, layout as layout
12389         (Read): layout as layout
12390         (hasLayout): layout as layout
12391         (operator): layout as layout
12392         (delete_layout): layout as layout
12393         (defaultLayout): layout as layout
12394
12395         * lyxlayout_ptr_fwd.h: new file
12396
12397         * lyxlayout.C (Read): layout as layout
12398
12399         * lyx_cb.C (MenuInsertLabel): layout as layout
12400
12401         * bufferlist.C (newFile): layout as layout
12402
12403         * buffer.C (readLyXformat2): layout as layout
12404         (parseSingleLyXformat2Token): layout as layout
12405         (insertStringAsLines): layout as layout
12406         (asciiParagraph): layout as layout
12407         (latexParagraphs): layout as layout
12408         (makeLinuxDocFile): layout as layout
12409         (simpleLinuxDocOnePar): layout as layout
12410         (makeDocBookFile): layout as layout
12411         (simpleDocBookOnePar): layout as layout
12412         (getLists): layout as layout
12413
12414         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12415
12416         * CutAndPaste.C (cutSelection): layout as layout
12417         (pasteSelection): layout as layout
12418         (SwitchLayoutsBetweenClasses): layout as layout
12419
12420         * BufferView_pimpl.C (Dispatch): layout as layout
12421         (smartQuote): layout as layout
12422
12423         * BufferView2.C (unlockInset): layout as layout
12424
12425 2002-06-24  André Pönitz <poenitz@gmx.net>
12426
12427         * lyxfunc.C: fix #487
12428
12429 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxrc.h:
12432         * lyxrc.C:
12433         * lyxfunc.C: remove display_shortcuts, show_banner
12434
12435 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * Buffer_pimpl.C: oops, update on resize
12438
12439 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * buffer.C:
12442         * converter.C:
12443         * exporter.C:
12444         * lyxfunc.C:
12445         * BufferView.h:
12446         * BufferView.C: use repaint()
12447
12448         * BufferView_pimpl.h:
12449         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12450           as it's a clearer description. Remove superfluous
12451           redraws.
12452
12453 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12454
12455         * text.C: fix bug 488. Not ideal, but getting
12456           getWord() to work properly for the insets that
12457           matter is more difficult ...
12458
12459 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12460
12461         * BufferView_pimpl.C:
12462         * LyXAction.C:
12463         * commandtags.h:
12464         * lyxfunc.C: remove the six million index lyxfuncs to just
12465           one, and DTRT (bug 458)
12466
12467 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12468
12469         * BufferView.h:
12470         * BufferView.C:
12471         * BufferView_pimpl.h:
12472         * BufferView_pimpl.C: clean up resize() stuff,
12473           and unnecessary updateScreen()s
12474
12475 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * BufferView.h:
12478         * BufferView.C:
12479         * BufferView_pimpl.h:
12480         * BufferView_pimpl.C:
12481         * lyxfind.h:
12482         * lyxfind.C:
12483         * minibuffer.C: remove focus management of workarea,
12484           not needed. Use screen's greyOut()
12485
12486 2002-06-17  Herbert Voss  <voss@lyx.org>
12487
12488         * converter.C: (convert) do not post a message, when converting
12489         fails, let the calling function decide what to do in this case
12490
12491 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * lyxfunc.C: tidy up a little
12494
12495 2002-06-16    <alstrup@diku.dk>
12496
12497         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12498         Got rid of FORMS_H_LOCATION include. Now we are
12499         GUII.
12500
12501 2002-06-15  LyX Development team  <lyx@rilke>
12502
12503         * buffer.[Ch] (sgmlOpenTag):
12504         (sgmlCloseTag): Added support for avoiding pernicious mixed
12505         content. Return number of lines written.
12506
12507         (makeLinuxDocFile):
12508         (makeDocBookFile): Fixed calls to sgml*Tag.
12509         Simple white space clean.
12510
12511         (simpleDocBookOnePar): Simple white space clean.
12512
12513         * tabular.[Ch] (docBook): Renamed to docbook and got another
12514         argument to related with the pernicious mixed content.
12515
12516         (docbookRow): Fixed calls for docbook inset method.
12517
12518 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12519
12520         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12521         so it's X11 independent.
12522
12523         * kb*.[Ch]: ditto.
12524
12525         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12526
12527 2002-06-15  Lyx Development team  <lyx@electronia>
12528
12529         * intl.h: Renamed getTrans to getTransManager.
12530
12531 2002-06-14  Angus Leeming  <leeming@lyx.org>
12532
12533         * Makefile.am: nuke forgotten stl_string_fwd.h.
12534
12535 2002-06-12  Angus Leeming  <leeming@lyx.org>
12536
12537         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12538
12539 2002-06-13  Angus Leeming  <leeming@lyx.org>
12540
12541         * LaTeX.C:
12542         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12543
12544 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12545
12546         * kbmap.C (getiso): add support for cyrillic and greek
12547
12548 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * BufferView.h:
12551         * BufferView.C:
12552         * BufferView_pimpl.h:
12553         * BufferView_pimpl.C: move bogus scrolling logic
12554           to xforms
12555
12556 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * lyxfunc.C:
12559         * BufferView_pimpl.C: view->resize() change
12560
12561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * BufferView_pimpl.C: topCursorVisible
12564           prototype change
12565
12566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * Makefile.am:
12569         * lyx_gui.h:
12570         * lyx_gui.C: move to frontends/
12571
12572         * main.C:
12573         * lyx_main.h:
12574         * lyx_main.C: changes from above
12575
12576 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * intl.C:
12579         * intl.h:
12580         * kbmap.C:
12581         * kbsequence.C:
12582         * lyx_cb.C:
12583         * lyx_main.C: minor tidy
12584
12585 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * BufferView_pimpl.h:
12588         * BufferView_pimpl.C:
12589         * BufferView.h:
12590         * BufferView.C: make painter() const,
12591           remove dead code
12592
12593         * BufferView2.C: use screen() accessor
12594
12595         * lyx_main.h:
12596         * lyx_main.C: some minor cleanup
12597
12598 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * BufferView_pimpl.h:
12601         * BufferView_pimpl.C: remove enter/leaveView,
12602           use workHeight()
12603
12604 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * BufferView.h:
12607         * BufferView.C:
12608         * BufferView2.C:
12609         * BufferView_pimpl.h:
12610         * BufferView_pimpl.C: only construct screen once,
12611           rename
12612
12613         * lyxrc.C: remove pointless comment
12614
12615 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * BufferView.h:
12618         * BufferView.C: remove active() and belowMouse()
12619
12620         * BufferView_pimpl.h:
12621         * BufferView_pimpl.C: use workarea() not workarea_,
12622           and make it use a scoped_ptr instead
12623
12624 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * lyx_gui.C: add debug message on BadWindow
12627
12628 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * sp_spell.C: fdopen is not part of the C++ standard.
12631
12632         * paragraph.C (InsetIterator): use >= instead of ==
12633
12634 2002-06-07  Angus Leeming  <leeming@lyx.org>
12635
12636         Fixes needed to compile with Compaq cxx 6.5.
12637         * BufferView_pimpl.C:
12638         * DepTable.C:
12639         * buffer.C:
12640         * converter.C:
12641         * encoding.C:
12642         * lyx_gui.C:
12643         * lyx_main.C:
12644         * lyxtextclasslist.C:
12645         * minibuffer.C:
12646         * sp_spell.C:
12647         * tabular_funcs.C:
12648         * vc-backend.C:
12649         all c-library variables have been moved into namespace std. Wrap
12650         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12651
12652         * lyxlength.C:
12653         * tabular-old.C:
12654         * tabular.C:
12655         Add a using std::abs declaration.
12656
12657         * kbmap.h (modifier_pair):
12658         * paragraph.h (InsetTable, InsetList):
12659         * lyxfont.h (FontBits):
12660         type definition made public.
12661
12662         * bufferlist.C (emergencyWriteAll): the compiler complains that
12663         there is more than one possible lyx::class_fun template to choose from.
12664         I re-named the void specialisation as lyx::void_class_fun.
12665
12666         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12667
12668         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12669         the compiler is is unable to find tostr in write_attribute.
12670
12671 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12672
12673         * buffer.C (sgmlError): hide #warning
12674
12675 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12676
12677         * xtl/*: get rid of xtl, which is not in use anyway
12678
12679         * LyXAction.C (init):
12680         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12681         were unimplemented xtl experimentation
12682
12683 2002-06-04  André Pönitz <poenitz@gmx.net>
12684
12685         * lyxfunc.C: disable array operation on simple formulae
12686
12687 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * converter.C: constify a bit
12690
12691 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * lyx_gui.C: check xforms version correctly
12694
12695 2002-04-30  Herbert Voss  <voss@lyx.org>
12696
12697         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12698         "keep" option
12699
12700 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12703           attempt to register it with a VCS)
12704
12705 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12706
12707         * lyx_main.C (init): honor variables LYX_DIR_13x and
12708         LYX_USERDIR_13x
12709
12710 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * buffer.h:
12713         * buffer.C:
12714         * lyx_main.C: fix a crash on bad command line,
12715           and give a useful exit status on error
12716
12717         * lyxfunc.C (doImport): allow -i lyx to work
12718
12719 2002-03-30  André Pönitz <poenitz@gmx.net>
12720
12721         * lyxfunc.C: mathed font changes
12722
12723 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * LaTeX.C:
12726         * importer.h:
12727         * importer.C:
12728         * lyx_sty.h:
12729         * lyx_sty.C:
12730         * lyxlex.C:
12731         * lyxrow.h:
12732         * lyxtext.h:
12733         * paragraph.h:
12734         * paragraph.C:
12735         * texrow.h:
12736         * texrow.C:
12737         * text.C:
12738         * trans_mgr.h: srcdocs, and some minor cleanups
12739
12740 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12743         call getFont all the time)
12744
12745 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * switch from SigC signals to boost::signals
12748
12749 2002-05-29  André Pönitz <poenitz@gmx.net>
12750
12751         * paragraph_pimpl.C (getChar): don't call size() too often...
12752
12753 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12754
12755         * paragraph_pimpl.C (insertChar): do not try to update tables when
12756         appending (pos == size())
12757
12758         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12759         in order to reduce drastically the number of comparisons needed to
12760         parse a large document
12761
12762 2002-05-29  André Pönitz <poenitz@gmx.net>
12763
12764         * text.C:
12765         * text2.C:
12766         * lyxtextclass.C:
12767         * sp_pspell.h:
12768         * textclasslist.[Ch]:
12769         * sp_ispell.h: whitespace change
12770
12771 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12774         lyxaction directly now.
12775
12776 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * trans.C:
12779         * lyxfont.C:
12780         * lyxvc.C: remove unused headers
12781
12782 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * Makefile.am:
12785         * buffer.h:
12786         * undostack.h:
12787         * undostack.C:
12788         * undo_funcs.h:
12789         * undo_funcs.C: some cleanups. Use shared_ptr
12790           and a template for the undo stacks.
12791
12792 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * BufferView_pimpl.h:
12795         * BufferView_pimpl.C:
12796         * kbmap.h:
12797         * kbmap.C:
12798         * kbsequence.h:
12799         * kbsequence.C:
12800         * lyxfunc.h:
12801         * lyxfunc.C:
12802         * text2.C: use key_state/mouse_state
12803
12804 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12807         and LSubstring
12808
12809         * chset.C: change include order
12810         (loadFile): use boost regex and get rid of LRegex and LSubstring
12811
12812         * Makefile.am (BOOST_LIBS): new variable
12813         (lyx_LDADD): use it
12814
12815         * LaTeX.C: change include order.
12816         (scanAuxFile): use boost regex and get rid of LRegex and
12817         LSubstring
12818         (deplog): ditto
12819
12820 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12821
12822         * ColorHandler.h:
12823         * ColorHandler.C:
12824         * FontInfo.h:
12825         * FontInfo.C: moved to frontends/xforms/
12826
12827         * FontLoader.h:
12828         * FontLoader.C: moved into frontends for GUIIzation
12829
12830         * Makefile.am:
12831         * lyx_gui.C:
12832         * lyxfont.C:
12833         * lyxfunc.C: changes from above
12834
12835 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12836
12837         * LColor.C: remove spurious X include
12838
12839         * BufferView_pimpl.C:
12840         * Makefile.am:
12841         * font.h:
12842         * font.C:
12843         * text.C:
12844         * text2.C: move font metrics to frontends/
12845
12846 2002-05-24  Juergen Vigna  <jug@sad.it>
12847
12848         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12849         setting the undo_cursor.
12850
12851         * ParagraphParameters.h: include local includes first.
12852
12853 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * BufferView_pimpl.C:
12856         * BufferView_pimpl.h:
12857         * Makefile.am:
12858         * WorkArea.h:
12859         * WorkArea.C:
12860         * screen.C: move WorkArea into frontends/
12861
12862         * lyxscreen.h:
12863         * screen.C:
12864         * text.C:
12865         * BufferView.C:
12866         * BufferView2.C: move LyXScreen into frontends/
12867
12868         * lyxlookup.h:
12869         * lyxlookup.C:
12870         * lyx_gui.C: move lyxlookup into frontends/xforms/
12871
12872 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * BufferView2.C:
12875         * BufferView_pimpl.C:
12876         * FontLoader.C:
12877         * LyXView.h:
12878         * LyXView.C:
12879         * Makefile.am:
12880         * WorkArea.C:
12881         * XFormsView.h:
12882         * XFormsView.C:
12883         * buffer.C:
12884         * bufferlist.C:
12885         * bufferview_funcs.C:
12886         * converter.C:
12887         * importer.C:
12888         * lyx_cb.C:
12889         * lyx_gui.C:
12890         * lyx_main.C:
12891         * lyx_find.C:
12892         * lyxfunc.C:
12893         * lyxvc.C:
12894         * minibuffer.C:
12895         * text.C:
12896         * text2.C:
12897         * trans.C:
12898         * vc-backend.C: move LyX/XFormsView into frontends/
12899
12900 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * Makefile.am:
12903         * PainterBase.C:
12904         * PainterBase.h:
12905         * Painter.C:
12906         * Painter.h:
12907         * WorkArea.C:
12908         * WorkArea.h:
12909         * screen.C:
12910         * tabular.C:
12911         * text.C:
12912         * text2.C: move Painter to frontends/
12913
12914 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * buffer.C: comment out some some code that depend upon lyx_format
12917         < 220
12918
12919         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12920         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12921
12922         * buffer.h (NO_COMPABILITY): turn off compability
12923
12924         * ColorHandler.C: include scoped_array.hpp
12925
12926         * font.C: Use more specific smart_ptr header.
12927         * Painter.C: ditto
12928         * gettext.C: ditto
12929         * ShareContainer.h: ditto
12930         * lyx_main.h: ditto
12931         * kbmap.h: ditto
12932         * FontInfo.h: ditto
12933         * BufferView_pimpl.h: ditto
12934         * ColorHandler.h: ditto
12935
12936         * kbmap.C (defkey): change call to shared_ptr::reset
12937
12938 2002-05-21  Juergen Vigna  <jug@sad.it>
12939
12940         * buffer.C (insertErtContents): fix to insert ert asis if it is
12941         non empty. Skip it completely if it contains only whitespaces.
12942
12943 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * BufferView_pimpl.C:
12946         * BufferView2.C: clear selection on paste (bug 393)
12947
12948 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * DepTable.C: include ctime
12951
12952 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12953
12954         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12955
12956 2002-05-14  Juergen Vigna  <jug@sad.it>
12957
12958         * text.C (breakParagraph): fixed function to honor the keepempty
12959         layout in the right maner and also to permit the right breaking
12960         algorithm on empty or non empyt keepempty paragraphs.
12961
12962         * paragraph.C (breakParagraph): we have to check also if the par
12963         is really empty (!size()) for isempty otherwise we do the wrong
12964         paragraph break.
12965
12966 2002-05-10  Juergen Vigna  <jug@sad.it>
12967
12968         * buffer.[Ch] : The following are only changes to the ert
12969         compatibility read reading old LaTeX layout and font stuff and
12970         convert it to ERTInsets.
12971
12972         * buffer.h: added isErtInset().
12973
12974         * buffer.C (struct ErtComp): add a fromlayout bool to check
12975         if we're inside a LaTeX layout.
12976         (isErtInset): new helper function.
12977         (insertErtContents): look for other ert insets before this one
12978         and insert the contents there, so that we don't have subsequent
12979         ERT insets with nothing between them. This way we create only one
12980         inset with multiple paragraphs. Also check if we don't insert only
12981         spaces ' ' as they are ignored anyway afterwards in the .tex file
12982         so if we have only spaces we will ignore this latex part in the
12983         new file.
12984         (parseSingleLyXformat2Token \\layout): better compatibility when
12985         reading layout-latex stuff.
12986         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12987         language tag.
12988         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12989         stuff after reading the inset only get the information back from
12990         the stack.
12991
12992 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12993
12994         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12995
12996         * LaTeXFeatures.C (getBabelOptions): New method.
12997
12998 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * BufferView_pimpl.C (Dispatch): work around missing argument for
13001         'layout'
13002
13003 2002-05-08  Juergen Vigna  <jug@sad.it>
13004
13005         * text.C (leftMargin): handle paragraph leftindent.
13006
13007         * paragraph.C (writeFile): write the new \\leftindent tag.
13008         (validate): handle leftindent code.
13009         (TeXEnvironment): handle paragraphleftindent code again.
13010
13011         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13012
13013         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13014         for paragrap_extra indent code and new token \\leftindent.
13015         (latexParagraphs): handle the leftindent as environment.
13016
13017         * ParameterStruct.h: added leftindent support.
13018
13019         * ParagraphParameters.C (leftIndent): added support functions for
13020         the paragraph left indent.
13021
13022         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13023         more appropriate.
13024
13025 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13026
13027         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13028         inside insetERT.
13029
13030         * text.C (computeBidiTables): No bidi in insetERT.
13031
13032         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13033         in RTL documents.
13034
13035 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * version.C.in: pre 5
13038
13039 2002-05-02  José Matos  <jamatos@fep.up.pt>
13040         * buffer.C (makeDocBookFile): white space changes, add newline to
13041         command styles.
13042         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13043
13044         * tabular.C (docBook): fix typo.
13045
13046 2002-05-03  Juergen Vigna  <jug@sad.it>
13047
13048         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13049         change in LyXText as we can not be sure it was not freed.
13050         (drawOneRow): remove unused code.
13051
13052         * text.C (drawInset): redo the calculation of the need_break_row as
13053         it could have a row which was already freed.
13054         (draw): look at the return value of drawInset and return false if
13055         it also returned false.
13056         (paintRowText): look at the return value of draw and return false if
13057         it also returned false.
13058
13059         * lyxtext.h: added bool return type to drawInset() and draw() so that
13060         if we have a change in the row so that the rowbreak has to be redone
13061         we abort drawing as it will be called again.
13062
13063 2002-05-02  Juergen Vigna  <jug@sad.it>
13064
13065         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13066         a change in the maintext also if we're inside an inset.
13067         (Dispatch): set the cursor again after a break line and after the
13068         screen has been updated as it could be we're in a different row.
13069
13070         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13071         to set the cursor behind the pargraph with > size().
13072         (setCursor): check also for the same paragraph when checking where
13073         to put the cursor if we have a NFR inset.
13074
13075         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13076         parts of layout read further up as it still was in the wrong
13077         position.
13078
13079 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * screen.C (drawFromTo): change sine fullRebreak always return
13082         true.
13083
13084         * buffer.C (parseSingleLyXformat2Token): reindent some
13085
13086         * BufferView_pimpl.C (update): change since fullRebreak always
13087         return true.
13088         (Dispatch): git rid of the last hardcoded "Standard"s.
13089
13090 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * text2.[Ch] (fullRebreak): make it return void now that we always
13093         returned true.
13094
13095 2002-04-30  Juergen Vigna  <jug@sad.it>
13096
13097         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13098         ert compatibility check for "latex" layout.
13099
13100 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13101
13102         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13103         minipages: use col% instead of p%, and also use the current font.
13104         (makeLaTeXFile): Fix use babel condition.
13105         (parseSingleLyXformat2Token): Correct font when reading old floats.
13106
13107 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13110         inserting list of floats.
13111
13112 2002-04-25  Herbert Voss  <voss@lyx.org>
13113
13114         * MenuBackend.C (expand): don't add the graphics extensions to the
13115         export menu
13116
13117 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13118
13119         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13120         non-existing layout, do not complain if it was the default layout
13121         of the original class (bug #342)
13122
13123 2002-04-24  Juergen Vigna  <jug@sad.it>
13124
13125         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13126         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13127
13128 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * buffer.C (getBibkeyList): If using \bibliography, return the
13131         option field with the reference itself. Enables us to provide natbib
13132         support when using \bibliography.
13133
13134 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13135
13136         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13137
13138         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13139         natbib is provided by the LaTeX class.
13140
13141 2002-04-23  Juergen Vigna  <jug@sad.it>
13142
13143         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13144         Wakeup functions.
13145
13146         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13147
13148 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13151
13152         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13153         ensuremath around textordmasculine, textordfeminine and
13154         textdegree.
13155
13156 2002-04-19  Juergen Vigna  <jug@sad.it>
13157
13158         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13159         reinitializing the buffer otherwise row-dimensions may be wrong.
13160         (update): reset also the selection cursors if they do exits otherwise
13161         their x/y positions may be wrong.
13162
13163         * text2.C (cursorDown): don't enter the inset if we came from a row
13164         above and are one row over the inset.
13165
13166         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13167         really leaving an inset.
13168
13169 2002-04-18  Juergen Vigna  <jug@sad.it>
13170
13171         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13172         of the selected paragraph does not have the selected layout also if
13173         the last one had!
13174
13175         * text2.C (setLayout): fixed bug which did not change last selected
13176         paragraph.
13177
13178         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13179         changed the read and substituted \\end_float with \\end_inset!
13180
13181         * BufferView_pimpl.C (cursorPrevious):
13182         (cursorNext): fixed to make it work with rows heigher than the work
13183         area without moving the cursor only the draw of the row.
13184         (workAreaMotionNotify): fix jumping over high rows.
13185
13186 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13189         Ressler.
13190
13191 2002-04-16  Juergen Vigna  <jug@sad.it>
13192
13193         * text2.C (setCursor): set also the irow().
13194         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13195         (cursorUp):
13196         (cursorDown): support for locking an inset if the x_fix value goes
13197         inside it. That way I can transverse insets too with cursor up/down.
13198
13199         * lyxrow.h: added irow helper function same as other (i) functions.
13200
13201         * BufferView_pimpl.C (cursorPrevious):
13202         (cursorNext): fixed for insets!
13203
13204 2002-04-15  Juergen Vigna  <jug@sad.it>
13205
13206         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13207         position otherwise it is wrong in some cases.
13208
13209         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13210         inside the inset before the call.
13211
13212 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13213
13214         * buffer.[Ch] (getBibkeyList): make it const.
13215
13216 2002-04-12  Juergen Vigna  <jug@sad.it>
13217
13218         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13219
13220         * text2.C (getCursorX): new helper function
13221         (setCursor): compute also ix_
13222         (setCursorFromCoordinates): set also ix.
13223
13224         * lyxcursor.h: added ix_ and helper functions.
13225
13226         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13227
13228         * buffer.C (insertStringAsLines): dont break paragraph if the this
13229         paragraph is inside an inset which does not permit it!
13230
13231         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13232         also with no chars on this paragraph.
13233         (paintRowText): only paint stuff if it's inside the workarea!
13234
13235         * paragraph.C (breakParagraph): honor keepempty flag and break the
13236         paragraph always below not above.
13237
13238         * BufferView2.C (unlockInset): update the paragraph layout on inset
13239         unlock as we changed paragraph in such a case.
13240
13241         * lyxfind.C (LyXFind): clear the former selection if not found!
13242
13243         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13244         again called in insertChar().
13245
13246         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13247         an inset which uses the whole row!
13248         (rightMargin): ditto.
13249         (insertChar): force a rebreak if we inserted an inset!
13250
13251 2002-03-28  Herbert Voss  <voss@lyx.org>
13252
13253         * lyxlength.[Ch]: add inBP() to get the right PS-point
13254         units (BigPoint). With inPixels we have rounding errors
13255
13256 2002-04-11  Juergen Vigna  <jug@sad.it>
13257
13258         * text2.C (setCursorFromCoordinates): set iy to the right value.
13259         (setCursor): add check if row->previous exists!
13260
13261         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13262         an old float_type as this was the case in the old code!
13263
13264         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13265
13266         * BufferView2.C (showLockedInsetCursor): use iy
13267         (fitLockedInsetCursor): ditto
13268
13269         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13270         locked insets as there we have the right value now.
13271
13272         * lyxcursor.C: added iy_ variable and iy functions to set to the
13273         baseline of cursor-y of the locked inset.
13274
13275         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13276         (setCursor): fixed for insets which need a full row.
13277
13278         * text.C (rowLastPrintable): don't ignore the last space when before
13279         an inset which needs a full row.
13280         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13281         as last character of a row when before a inset which needs a full row.
13282
13283 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * version.C.in: update date
13286
13287         * text2.C (fullRebreak): try to always return true and see what
13288         happens...
13289
13290 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13291
13292         * MenuBackend.C (expand): use Floating::listName
13293
13294         * FloatList.C (FloatList): add listName argument to the built-in
13295         floats
13296
13297         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13298         text associated with the float.
13299
13300 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13303
13304 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * ShareContainer.h: add a couple of missing typenames.
13307
13308 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13309
13310         * lyxrc.C (getDescription): use _() correctly rather than N_().
13311
13312 2002-03-28  Herbert Voss  <voss@lyx.org>
13313
13314         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13315         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13316
13317 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13320         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13321
13322 2002-03-29  Juergen Vigna  <jug@sad.it>
13323
13324         * lyxfunc.C (dispatch): add a missing fitCursor call.
13325
13326         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13327         it was scrolled by a cursor move, so return the bool status.
13328
13329         * BufferView.C (fitCursor): return the bool flag also to the outside
13330         world as this is needed.
13331
13332         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13333
13334         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13335         call the edit() as it is not needed (and wrong) IMO.
13336         (workAreaButtonPress): set the screen_first variable before evt.
13337         unlock the inset as this may change screen_first and then we have
13338         a wrong y position for the click!
13339
13340 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * MenuBackend.C (expand): another translation that I missed
13343
13344 2002-03-28  Juergen Vigna  <jug@sad.it>
13345
13346         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13347
13348         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13349
13350 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13353
13354         * MenuBackend.C (expand): fix export/view/update when there is no
13355         document open.
13356
13357 2002-03-27  Herbert Voss  <voss@lyx.org>
13358
13359         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13360         and text%
13361
13362 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * bufferview_funcs.C (currentState): only show paragraph number
13365         for is DEVEL_VERSION is set.
13366
13367         * lyxfunc.C (dispatch): put warning in INFO channel
13368
13369         * MenuBackend.C (expand): translate the name of floats
13370
13371         * FloatList.C (FloatList): mark the float names for translation
13372
13373         * converter.C (convert): use LibScriptSearch
13374
13375 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13376
13377         * MenuBackend.C (defaults): fix default menu (we might as well get
13378         rid of it...)
13379
13380 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13383         directory.
13384
13385 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13386
13387         * lyxvc.C: reorder includes.
13388
13389 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13390
13391         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13392           properly
13393
13394 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * CutAndPaste.C: change layouts earlier on paste
13397           to avoid crashing when calling getFont()
13398
13399 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13400
13401         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13402         irritating #error.
13403
13404 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * WorkArea.C: remove 'Pending' debug message.
13407
13408         * most files: ws cleanup
13409
13410         * buffer.[Ch]: ws changes
13411
13412         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13413
13414 2002-03-21  Juergen Vigna  <jug@sad.it>
13415
13416         * tabular.C (SetMultiColumn): collapse also the contents of the
13417         cells and set the last border right. Added a Buffer const * param.
13418
13419 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13422         linking or not.
13423
13424 2002-03-19  Juergen Vigna  <jug@sad.it>
13425
13426         * text2.C (clearSelection): reset also xsel_cache.
13427
13428         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13429         where it needs to be called (John tells us to do so too :)
13430         (selectionLost): reset sel_cache.
13431
13432         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13433
13434 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13435
13436         * text2.C (setCursorIntern): put debuging code in INSETS channel
13437
13438 2002-03-19  André Pönitz <poenitz@gmx.net>
13439
13440         * lyxfunc.C: tiny whitespace change
13441
13442 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * ToolbarDefaults.C (init):
13445         * LyXAction.C (init):
13446         * commandtags.h:
13447         * BufferView_pimpl.C (Dispatch):
13448         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13449
13450 2002-03-19  Allan Rae  <rae@lyx.org>
13451
13452         * exporter.C (Export): removeAutoInsets before doing anything else.
13453         While I've just introduced a dependency on BufferView this really is
13454         the best place to clean the buffer otherwise you need to cleanup in
13455         a dozen places before calling export or cleanup in a dozen functions
13456         that export calls.
13457
13458         * converter.C (runLaTeX):
13459         (scanLog): Better handling of removeAutoInsets and screen updates.
13460
13461         * lyxfunc.C (dispatch): small whitespace changes
13462
13463 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13464
13465         * WorkArea.C (C_WorkAreaEvent): return a value.
13466         (event_cb): return 1 if we handled the event, 0 otherwise.
13467
13468         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13469
13470 2002-03-18  Juergen Vigna  <jug@sad.it>
13471
13472         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13473         (GetAdditionalWidth): ditto.
13474         (RightLine): ditto.
13475         (LeftLine): ditto.
13476
13477         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13478         inset if we're there actually (probably not used right now but this
13479         is the direction to go for unifying code).
13480         (paste): disable code to clear the selection.
13481
13482         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13483         inside an InsetText and move the check further up as it is in the
13484         wrong place.
13485
13486         * text2.C (pasteSelection): set a selection over the pasted text.
13487
13488 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13489
13490         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13491         and libgraphics to build on Cygwin.
13492
13493 2002-03-15  Juergen Vigna  <jug@sad.it>
13494
13495         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13496         inserting an Inset into the paragraph. I know this is not the best
13497         fix but we already use current_view in CutAndPaste so we will remove
13498         all of it's using at the same time.
13499
13500         * buffer.C (sgmlError): deactivated function till it is rewritten in
13501         the right mode, now it can create problems.
13502
13503         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13504         before accessing it.
13505
13506 2002-03-14  Juergen Vigna  <jug@sad.it>
13507
13508         * undo_funcs.C (textHandleUndo): do the right thing when updating
13509         the inset after the undo/redo.
13510
13511         * text2.C (setCursor): just some testcode for #44 not ready yet.
13512
13513         * undo_funcs.C (textHandleUndo): set the next() and previous()
13514         pointers of the paragraph to 0 before deleting otherwise we have
13515         problems with the Paragraph::[destructor].
13516
13517         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13518         on a paragraph insertion.
13519
13520 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * buffer.C (asciiParagraph): use += operator for char append to
13523         string.
13524
13525         * paragraph.C (getFontSettings): compare >= not just >
13526         (highestFontInRange): ditto
13527         (setFont): ditto
13528
13529 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * paragraph.C: change several algorithm to be more appripriate for
13532         the problem domain. This is lookip in FontList and in the InsetList.
13533
13534 2002-03-13  André Pönitz <poenitz@gmx.net>
13535
13536         * commandtags.h:
13537         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13538
13539 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13540
13541         * commandtags.h:
13542         * LyXAction.C:
13543         * lyxfunc.C:
13544         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13545
13546 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * Painter.C (display): anon helper function, adjust code for this
13549         change.
13550         (pixmap): remove function.
13551
13552         * Painter.h: remove private display variable.
13553
13554         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13555
13556 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13557
13558         * WorkArea.[Ch]: remove figinset_canvas cruft.
13559
13560 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * lyxtextclass.C (operator): add one item cache optimization.
13563
13564         * bufferlist.h: doxy changes
13565
13566         * bufferlist.C: ws changes
13567
13568         * DepTable.[Ch] (ext_exist): place const in the right spot.
13569
13570         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13571         call resizeInsets.
13572         (workAreaExpose): call resizeInsets when the with BufferView changes.
13573         (Dispatch): adjust for protectedBlank removal
13574         (specialChar): call updateInset if the insert went ok.
13575
13576         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13577         specialChar instead.
13578
13579         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13580
13581         * BufferView.h: doxy change
13582
13583         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13584
13585         * lyxtextclass.C (operator[]): remove non-const version
13586         (defaultLayout): remove non-const version
13587
13588 2002-03-12  Juergen Vigna  <jug@sad.it>
13589
13590         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13591         did resize the LyXText too.
13592
13593         * buffer.C (readLyXformat2): set layout information on newly allocated
13594         paragraphs.
13595
13596         * tabular.C (OldFormatRead): set layout information on the paragraph.
13597
13598 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13599
13600         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13601
13602 2002-03-11  Juergen Vigna  <jug@sad.it>
13603
13604         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13605         plainly wrong.
13606         (resizeCurrentBuffer): force also the insets to resize themselfes.
13607         (moveCursorUpdate): fixed up for InsetText.
13608
13609 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13610
13611         * commandtags.h:
13612         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13613         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13614         value of Dialogs::tooltipsEnabled().
13615         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13616
13617 2002-03-08  Juergen Vigna  <jug@sad.it>
13618
13619         * BufferView_pimpl.C (updateInset): update inset inside inset also
13620         if it isn't inside theLockingInset().
13621
13622 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * buffer.C (asciiParagraph): redo some of the word and line length
13625         handling.
13626         (getLists): look for Caption instead of caption.
13627
13628 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13629
13630         * buffer.C (Buffer): initialize niceFile to true
13631         (makeLaTeXFile):
13632         (makeLinuxDocFile):
13633         (makeDocBookFile): make sure niceFile is true on exit
13634
13635 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13636
13637         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13638
13639 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13640
13641         * LyXSendto.C: remove.
13642         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13643         * lyx_gui.C: remove now-redundant comment.
13644         * ColorHandler.h: remove forward declaration of class WorkArea.
13645         * lyxfunc.C: remove #include "WorkArea.h".
13646
13647 2002-03-07  Juergen Vigna  <jug@sad.it>
13648
13649         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13650         got moved away with the DEPM and also set the inset_owner always
13651         right which before could have been omitted.
13652
13653 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13656         wanted layout is not found.
13657
13658 2002-03-07  Juergen Vigna  <jug@sad.it>
13659
13660         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13661
13662 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * paragraph.C (breakParagraph): use default layout not layout of
13665         prev paragraph.
13666         (Paragraph): clear ParagraphParameters.
13667
13668 2002-03-06  Juergen Vigna  <jug@sad.it>
13669
13670         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13671         otherwise it would not be a valid lenght. Fixed a special case in
13672         the minipage compatibility read where we end the document with a
13673         minipage.
13674
13675         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13676         was set as it could be 0 for InsetTexts first entry.
13677
13678 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * paragraph.C (writeFile): if layout is empty write out
13681         defaultLayoutName().
13682
13683         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13684         file without named layout we set layout to defaultLayoutName().
13685
13686 2002-03-06  Juergen Vigna  <jug@sad.it>
13687
13688         * CutAndPaste.C (copySelection): set layout for new paragraph.
13689
13690         * text.C (prepareToPrint): leave ERT inset left aligned
13691         (leftMargin): don't indent paragraphs inside ERT insets
13692
13693 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * paragraph.C (breakParagraph): dont call clear do the work manually
13696
13697         * paragraph.[Ch] (clear): remove function
13698
13699 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * paragraph.C (Paragraph): dont call clear, the work has already
13702         been done.
13703
13704         * lyxtextclass.C (operator): assert if n is empty
13705
13706         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13707         work manually instead.
13708
13709 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * BufferView_pimpl.C: protect selectionLost against text == 0
13712
13713 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * text.C (breakParagraph): fix a setting layout to '0' problem.
13716
13717 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13718
13719         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13720         final location of file, for the included files, and graphics.
13721
13722 2002-03-05  Juergen Vigna  <jug@sad.it>
13723
13724         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13725
13726 2002-03-04  Juergen Vigna  <jug@sad.it>
13727
13728         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13729
13730         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13731         last column of multicolumn cells.
13732         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13733
13734 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13735
13736         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13737         file if it doesn't go to a temporary file.
13738
13739         * buffer.C (sgmlOpenTag):
13740         (sgmlCloseTag):  remove extra newline insertion.
13741
13742 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * text.C (getRowNearY): comment out debug msg
13745
13746 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * text2.C: first -> first_y
13749
13750         * text.C (getRowNearY): add some attemts at a possible
13751         optimization, not working.
13752
13753         * tabular.[Ch]: add BufferParams to several function so that newly
13754         created paragraph can be initialized to he default layotu for the
13755         buffers textclass.
13756
13757         * tabular-old.C (ReadOld): add buf->params to call of Init
13758
13759         * screen.C: rename text->first to text->first_y
13760
13761         * paragraph.C (breakParagraph): always set layout in the broken
13762         paragraph
13763
13764         * lyxtextclass.C (Read): remove lowercase
13765         (hasLayout): ditto
13766         (operator): ditto
13767         (delete_layout): ditto
13768
13769         * lyxtext.h: rename first -> first_y
13770
13771         * lyxlayout.C (Read): remove lowercase
13772         (name): ditto
13773         (setName): ditto
13774         (obsoleted_by): ditto
13775
13776         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13777
13778         * buffer.C (insertErtContents): add params are to InsetERT
13779         (parseSingleLyXformat2Token): add code to check if a paragraphs
13780         layout really exist.
13781         (parseSingleLyXformat2Token): add params to several inset
13782         constructors
13783         (asciiParagraph): remove lowercase, do the layout comparisons with
13784         no_case
13785
13786         * BufferView_pimpl.C (cursorNext): first -> first_y
13787         (resizeCurrentBuffer): first -> first_y
13788         (updateScrollbar): first -> first_y
13789         (scrollCB): first -> first_y
13790         (workAreaMotionNotify): first -> first_y
13791         (workAreaButtonPress): first -> first_y
13792         (checkInsetHit): first -> first_y
13793         (cursorPrevious): first -> first_y
13794         (cursorNext): first -> first_y
13795         (Dispatch): add buffer_->params to severl inset contructors
13796
13797 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13798
13799         * lyxlayout.C (Read): remove some debug info that I forgot.
13800
13801         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13802         clean up the code slightly.
13803         (makeLinuxDocFile): ditto
13804         (makeDocBookFile): ditto
13805
13806         * text2.C: layout as string
13807
13808         * text.C: layout as string
13809
13810         * paragraph_pimpl.C: layout as string
13811
13812         * paragraph.[Ch]: layout as string
13813
13814         * lyxtextclasslist.[Ch]: layout as string
13815
13816         * lyxtextclass.[Ch]: layout as string
13817
13818         * lyxtext.h: layout as string
13819
13820         * lyxlayout.[Ch]: layout as string
13821
13822         * lyx_cb.C: layout as string
13823
13824         * bufferview_funcs.C: layout as string
13825
13826         * bufferparams.C: layout as string
13827
13828         * buffer.C: layout as string
13829
13830         * LyXView.[Ch]: layout as string
13831
13832         * LaTeXFeatures.[Ch]: layout as string
13833
13834         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13835
13836         * BufferView_pimpl.C: change current_layout to string, remove
13837         lyx::layout_type.
13838         (Dispatch):
13839         (smartQuote):
13840         (insertInset):
13841         (workAreaButtonRelease): layout as string
13842
13843         * BufferView2.C (unlockInset): adjust
13844
13845         * vspace.C (asLatexCommand): use an explict temp variable.
13846
13847 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * Makefile.am: use FRONTEND_*
13850
13851 2002-03-01  Juergen Vigna  <jug@sad.it>
13852
13853         * tabular.C (SetWidthOfMulticolCell): changed to something better
13854         I hope but still work in progress.
13855         (recalculateMulticolumnsOfColumn): renamed function from
13856         recalculateMulticolCells as it is more appropriate now.
13857         (SetWidthOfCell): calculate multicols better.
13858
13859 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13860
13861         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13862
13863         * lyxfunc.C (processKeySym): print sequence also if it is
13864         `deleted' (complete)
13865
13866         * kbsequence.C (print): print sequence even if it is deleted
13867         (complete would be a better word, actually).
13868
13869         * lyxfunc.C (dispatch): print complete options after a prefix key
13870
13871         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13872
13873 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13874
13875         * text2.C (setCharFont): eliminate setCharFont code duplication.
13876
13877 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13878
13879         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13880         LFUN_TABULAR_FEATURE (bug #177)
13881
13882 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13883
13884         * Makefile.am: remove figure.h
13885
13886 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13887
13888         * Bufferview_pimpl.C:
13889         * CutAndPasteC:
13890         * LaTeX.C:
13891         * LyXSendto.C:
13892         * buffer.C:
13893         * bufferlist.C:
13894         * converter.C:
13895         * language.C:
13896         * lyxfunc.C:
13897         * lyxvc.C:
13898         * paragraph.C:
13899         * text.C:
13900         * text2.C: remove #include "lyx_gui_misc.h".
13901
13902         * LaTeX.C: added #include <cstdio>
13903
13904 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13905
13906         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13907         that the paragraph following this one can have.
13908
13909         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13910
13911         * vspace.C (asLatexCommand): fix bogus gcc warning
13912
13913         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13914
13915 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13916
13917         * text2.C (setLayout): get rid of redundant code
13918
13919 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13920
13921         * text2.C (incDepth): make sure depth cannot be increased beyond
13922         reasonable values.
13923
13924 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13925
13926         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13927         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13928
13929         * PainterBase.h (image):
13930         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13931         a LyXImage const *.
13932
13933 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13934
13935         * BufferView.C:
13936         * BufferView.h:
13937         * BufferView_pimpl.C:
13938         * BufferView_pimpl.h:
13939         * LaTeXFeatures.C:
13940         * LyXAction.C:
13941         * LyXView.C:
13942         * Makefile.am:
13943         * UpdateList.h:
13944         * UpdateList.C:
13945         * buffer.C:
13946         * figure.h:
13947         * figureForm.C:
13948         * figureForm.h:
13949         * figure_form.C:
13950         * figure_form.h:
13951         * lyx_cb.C:
13952         * lyx_gui.C:
13953         * lyx_gui_misc.C:
13954         * lyxfunc.C:
13955         * sp_base.h:
13956         * sp_ispell.h:
13957         * sp_pspell.h:
13958         * sp_spell.C: remove fig inset, and the crap house of
13959           cards that follows it
13960
13961 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13962
13963         * Makefile.am:
13964         * lyxserver.C:
13965         * os2_defines.h:
13966         * os2_errortable.h:
13967         * nt_defines.h: move .h into support/
13968
13969         * vms_defines.h: remove
13970
13971         * WorkArea.C: add space in debug output
13972
13973         * text2.C:
13974         * paragraph.C:
13975         * buffer.C: add WITH_WARNINGS
13976
13977         * vc-backend.h:
13978         * vc-backend.C:
13979         * bufferlist.C: s/retrive/retrieve/, add docs
13980
13981         * vspace.h:
13982         * vspace.C:
13983         * kbmap.h:
13984         * lyxlength.h:
13985         * lyxgluelength.h:
13986         * length_common.h:
13987         * chset.h:
13988         * chset.C: add docs
13989
13990         * lyxgui.C: add ID to X error handler
13991
13992         * lyxtestclass.c: fix typo
13993
13994 2002-02-26  Juergen Vigna  <jug@sad.it>
13995
13996         * tabular_funcs.C (write_attribute): changed so that some default
13997         attributes are not written at all.
13998         (getTokenValue): set default values before trying to read the
13999         value so we have the return value always set as default if we don't
14000         find the token we search for.
14001
14002         * tabular.C (Write): write bools as bools not as strings!
14003
14004 2002-02-22  Juergen Vigna  <jug@sad.it>
14005
14006         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14007         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14008
14009         * text.C (leftMargin): don't add an indent for paragraphs inside
14010         tabular cells (fix #208).
14011
14012 2002-02-21  José Matos  <jamatos@fep.up.pt>
14013
14014         * tabular.C (docBook): fixed support for long tables.
14015
14016 2002-02-20  Juergen Vigna  <jug@sad.it>
14017
14018         * text2.C (getFont): get the drawing font of the Inset if this
14019         paragraph is inside an inset (only important for InsetERT for now).
14020
14021         * buffer.C (insertErtContents): use new lanugage params in ERT
14022         constructor.
14023
14024         * CutAndPaste.C: commenting out seemingly uneeded code.
14025
14026 2002-02-19  Allan Rae  <rae@lyx.org>
14027
14028         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14029         Iterators might be simple to use but they also get invalidated.
14030         (removeAutoInsets): renamed saved cursor tracking variables and added
14031         some comments to clarify what everything does.
14032
14033 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * Chktex.C:
14036         * LaTeX.C:
14037         * LyXSendto.C:
14038         * converter.C:
14039         * lyx_cb.C:
14040         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14041         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14042
14043         * lyxfunc.C:
14044         * vc-backend.h: remove #include "support/syscall.h"
14045
14046         * LaTeX.C:
14047         * LyXSendto.C:
14048         * converter.C: rearrange #includes in Lars' approved fashion.
14049
14050         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14051         forward declare class Timeout in the header file.
14052
14053         * XFormsView.C: changes due to the above.
14054
14055         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14056         similar to LyXView.
14057
14058         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14059         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14060
14061 2002-02-18  José Matos  <jamatos@fep.up.pt>
14062
14063         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14064         insets contents.
14065
14066 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14067
14068         * a lot of small ws changes
14069         * add a lot of using std::XXX
14070         * use std construcs some places where approp.
14071         * use some exisint stuff from lyxfunctional where approp.
14072         * Make file changes to use partial linking (lets test this now...)
14073
14074 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14075
14076         * Chktex.C:
14077         * buffer.C:
14078         remove #include "support/syscontr.h" as it's redundant. Always has been.
14079
14080         * Chktex.C:
14081         * LaTeX.C:
14082         * LyXSendto.C:
14083         * converter.C:
14084         * lyx_cb.C:
14085         * vc-backend.C:
14086         change Systemcalls::System to Systemcalls::Wait and
14087         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14088         No change of functionality, just reflects the stripped down Systemcalls
14089         class.
14090
14091 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14092
14093         * debug.[Ch]: add a GRAPHICS type to the enum.
14094
14095 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14096
14097         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14098
14099         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14100         there is an inset.
14101
14102 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14105         match the changes below.
14106
14107         * text2.C (toggleInset): if there is not editable inset at cursor
14108         position, try to see if cursor is _inside_ a collapsable inset
14109         and close it.
14110
14111 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14112
14113         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14114         document menu has a nice checkbox
14115
14116 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14117
14118         * lyxlength.C (asLatexString): change PW to output as percent of
14119         \textwidth.
14120
14121         * lengthcommon.C: change '%' to 't%'
14122
14123         * lyxfunc.C (dispatch): a few comments from Martin
14124
14125 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * WorkArea.h:
14128         * WorkArea.C:
14129         * BufferView_pimpl.h:
14130         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14131           the X selection.
14132
14133 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * vspace.C (inPixels): fix compiler warning
14136
14137 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14138
14139         * lyxfunc.C (getStatus): fix status message for disabled commands.
14140
14141 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * BufferView_pimpl.C: fix crash on close buffer
14144         during selection (#227)
14145
14146 2002-01-27  Herbert Voss  <voss@lyx.org>
14147
14148         * buffer.C: link old Figure to new graphic inset
14149
14150 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14151
14152         * FontLoader.C (getFontinfo): Change the latex font names in order
14153         to match the names of type1inst.
14154
14155 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14158
14159         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14160         (extchanged): ditto
14161         (ext_exist): ditto
14162         (remove_files_with_extension): ditto
14163         (remove_file): ditto
14164         (write): ditto
14165
14166         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14167         document is smaller than the work area height. Do not initialize
14168         static variables to 0.
14169
14170 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14171
14172         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14173
14174         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14175         LFUN_LAYOUT_PARAGRAPHS.
14176
14177         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14178         tabular. It is possible to provide a possible cell, which will
14179         typically be the actcell from the corresponding insettabular
14180
14181         * lyxfunc.C (getStatus): small cleanup; disable
14182         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14183         true
14184
14185 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14186
14187         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14188
14189         * paragraph.C (startTeXParParams):
14190         (endTeXParParams): new methods. The LaTeX code to
14191         start/end paragraph formatting
14192         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14193         empty (fixes bug #200)
14194
14195         * vspace.C (inPixels): adapt to the change below
14196         (inPixels): [later] more cleanups (remove unused variables)
14197
14198         * lyxlength.C (inPixels): change to use a width and a height as
14199         parameter.
14200
14201 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14202
14203         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14204         Replaced with \paperwidth
14205
14206         * DepTable.C (insert): add std:: qualifier
14207
14208 2002-01-18  Allan Rae  <rae@lyx.org>
14209
14210         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14211         updated also?
14212
14213         * text.C (drawInset): Turned out I didn't know enough about how
14214         rebreaking worked.  This fixes most of the redraw problems.  I see
14215         an occasional cursor trail when a line is broken now and the cursor
14216         placement can seem out by a few pixels also after a rebreak.
14217
14218 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * buffer.C (parseSingleLyXformat2Token): update because minipage
14221         width is now a LyXLength
14222
14223         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14224
14225         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14226         math insets
14227
14228 2002-01-17  Juergen Vigna  <jug@sad.it>
14229
14230         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14231
14232         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14233         is set correctly and the inset is updated correctly.
14234
14235 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14236
14237         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14238         the beginning of the loop.
14239
14240 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * lyxrc.C: improve help for use_scalable_fonts
14243
14244 2002-01-17  Allan Rae  <rae@lyx.org>
14245
14246         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14247
14248 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14249
14250         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14251         make sure to set their inset_owner to the right value (bug #171)
14252
14253 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14254
14255         * DepTable.h
14256         * DepTable.C: Implement mtime checking to reduce time spent doing
14257         CRCs.
14258
14259 2002-01-16  Juergen Vigna  <jug@sad.it>
14260
14261         * tabular.C (GetAdditionalHeight): one of error fixed.
14262
14263         * lyxrc.C (output): small fix in writing use_pspell.
14264
14265 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * sp_base.h: #include LString.h
14268
14269 2002-01-16  Allan Rae  <rae@lyx.org>
14270
14271         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14272         Can someone check this please?
14273
14274         * text.C (drawInset): It was possible that p.row would be removed by
14275         breakAgainOneRow upsetting a few other settings.  There may be another
14276         small tweak possible by setting need_break_row = 0 when p.row has been
14277         removed but I don't know enough about the logic here.
14278
14279 2002-01-15  Allan Rae  <rae@lyx.org>
14280
14281         * text.C (insertChar): removed conditional truism.
14282
14283         * BufferView2.C (removeAutoInsets): More tweaks.
14284         cur_par_prev could be a stray pointer.  Check for trailing empty line
14285         in case last line was cur_par and only had an error inset on it.
14286
14287 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14288
14289         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14290         absolute
14291
14292         * vc-backend.C (most methods):
14293         * exporter.C (Export):
14294         * converter.C (convert):
14295         (runLaTeX):
14296         * LyXSendto.C (SendtoApplyCB):
14297         * lyxfunc.C (dispatch):
14298         (menuNew):
14299         (open):
14300         (doImport):
14301         * lyx_cb.C (AutoSave):
14302         (InsertAsciiFile):
14303         * BufferView_pimpl.C (MenuInsertLyXFile):
14304         * buffer.C (runChktex): use Buffer::filePath().
14305
14306         * buffer.h: rename filename to filename_; rename filepath to
14307         filepath_ and make it private
14308         (filePath): new method
14309
14310         * buffer.C (writeFile): use fileName()
14311         (getLatexName):
14312
14313         * lyx_main.C (init): fix starting  of LyX when the binary is a
14314         link from so,ewhere else.
14315
14316         * minibuffer.C: include <cctype> for isprint
14317
14318 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14319
14320         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14321         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14322         name clash with InsetCollapsable's width function.
14323
14324 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * lastfiles.C: include <iterator>
14327
14328 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14329
14330         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14331         std::count.
14332
14333         * buffer.C (makeLaTeXFile): ditto.
14334         Also make loop operation more transparent.
14335
14336 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * ToolbarDefaults.C: remove trailing comma closing namespace.
14339
14340         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14341
14342         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14343         as in WorkArea.
14344
14345         * trans.C (Load): comment out unused variable, allowed.
14346
14347 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * minibuffer.[Ch] (append_char): new method to recieve input from the
14350         drop-down completion browser. If a key was pressed, then recieve this
14351         char and append it to the existing string.
14352         (peek_event): modify the positioning data passed to the completion
14353         browser so that it can be placed above the minibuffer rather than below.
14354 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * LyXAction.C (init): alloe error-next for readonly documents.
14357
14358         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14359         count.
14360
14361 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14362
14363         * bufferlist.C (readFile): create the buffer _after_ checking that
14364         the file exists.
14365
14366         * lyxfunc.C (verboseDispatch): fix handling of arguments
14367
14368         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14369
14370         * lyxrc.C: use string::erase() instead of initializing to "".
14371
14372
14373 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * BufferView_pimpl.h:
14376         * BufferView_pimpl.C:
14377         * WorkArea.h:
14378         * WorkArea.C:
14379         * text2.C: tell X when we have made a selection for copying
14380
14381 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14382
14383         * BufferView_pimpl.C (MenuInsertLyXFile):
14384         * lyxfunc.C (menuNew):
14385         (open):
14386         (doImport): add shortcuts to directory buttons
14387
14388         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14389         open a float)
14390
14391         * lyxfunc.C (setStatusMessage):
14392         (getStatusMessage): new methods
14393         (getStatus):use setStatusMessage instead of setErrorMessage
14394         (dispatch): when function is disabled, set error message here
14395         [instead of in getStatus previously]
14396
14397         * BufferView_pimpl.C (workAreaButtonRelease): update
14398         toolbar/menubar here too.
14399
14400 2002-01-13  Allan Rae  <rae@lyx.org>
14401
14402         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14403         Now seems indestructible.  Remaining task is to audit all other
14404         code affected by deleteEmptyParagraphMechanism.  One small quirk
14405         left is that an empty document with an error in the preamble can
14406         be made to report an error but no error box appears.  I don't know
14407         where it goes.
14408         (removeAutoInsets): Improved comments.
14409
14410 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14411
14412         * Thesaurus.h:
14413         * Thesaurus.C: update for Aiksaurus 0.14
14414
14415 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * text2.C (firstParagraph): removed member function, all uses
14418         replaces with ownerParagraph
14419         (redoParagraphs): here
14420         (updateInset): here
14421         (toggleAppendix): here
14422         * BufferView2.C (insertErrors): here
14423         (setCursorFromRow): here
14424
14425 2002-01-13  Allan Rae  <rae@lyx.org>
14426
14427         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14428         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14429         There is still a way to segfault this although you may have to do this
14430         multiple times: Have an InsetERT with an unknown command in it.
14431         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14432         <down-arrow>, <Enter> again, View->DVI, BANG!
14433
14434         * text2.C (setCursor):
14435         (deleteEmptyParagraphMechanism):
14436         * lyxtext.h (setCursor):
14437         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14438         Making use of the return value may help fix other bugs.
14439
14440 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14441
14442         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14443
14444         * LyXView.C (updateMenubar): call MenuBar::update here
14445         (updateToolbar): but not here
14446         (showState): do not update toolbar/menubar
14447
14448         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14449         should need to care about that.
14450
14451         * lyxfunc.C (verboseDispatch): simplify a bit
14452         (getStatus): have a version which takes a pseudoaction, and
14453         another which requires a (kb_action,string).
14454
14455         * LyXAction.C (retrieveActionArg): make it work also when action
14456         is not a pseudo-action.
14457         (getActionName): simplify a bit
14458         (helpText):
14459
14460 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14461
14462         * lyxfunc.C (verboseDispatch): new families of methods with
14463         several ways to specify a command and a bool to indicate whether
14464         the command name and shortcut should be displayed in minibuffer
14465         (eventually, we could extend that to a finer bitmask like
14466         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14467         (dispatch): the pristine dispatch command which just, well,
14468         dispatchs! Note it still sets its result to minibuffer; I'm not
14469         sure we want that.
14470
14471         * lyxfunc.h: remove setHintMessage
14472
14473         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14474
14475 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14476
14477         * BufferView_pimpl.C (specialChar): delete new inset if we have
14478         not been able to insert it.
14479
14480         * kbmap.C: revert to using int instead of kb_action, since all we
14481         are dealing with is pseudo-actions.
14482
14483         * LyXAction.C (searchActionArg): change to return int instead of
14484         kb_action, since the result is a pseudoaction.
14485
14486 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14487
14488         * buffer.C (insertErtContents): Fix (partially) the font bug.
14489
14490 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14491
14492         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14493         as the other one is broken on my machine!
14494
14495 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14496
14497         * commandtags.h:
14498         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14499
14500 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14501
14502         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14503         reflect their actual use. Provide compatibility code for older lyxrc
14504         files.
14505
14506         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14507         FL_NORMAL_STYLE.
14508         change names of popup font variables in line with the changes to lyxrc.C
14509
14510 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14511
14512         * buffer.C (asciiParagraph): avoid outputing a word twice after
14513         an inset.
14514
14515         * lyxrc.C (getDescription): document that document_path and
14516         template_path can be empty.
14517
14518 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14519
14520         * LaTeXFeatures.C (getMacros):
14521         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14522
14523         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14524
14525         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14526         getPackages.
14527         (getPackages): rename feature "floats" to "float". Use an array to
14528         iterate over 'simple' features (i.e. just a \usepackage). Add
14529         handling of "amsmath" (renamed from "amsstyle").
14530
14531 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14532
14533         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14534         features list.
14535
14536 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14537
14538         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14539         FuncStaus::FuncStatus & FuncStaus::some_method().
14540
14541 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14542
14543         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14544         of the func_satus stuff. Edited and massaged in various ways by
14545         JMarc.
14546
14547         * lyxfunc.C (getStatus): use FuncStatus
14548
14549 2002-01-08  Juergen Vigna  <jug@sad.it>
14550
14551         * text.C (nextBreakPoint): use function Inset::isChar().
14552
14553         * paragraph.C (TeXOnePar): use function
14554         Inset::forceDefaultParagraphs.
14555
14556         * buffer.C (latexParagraphs): use function
14557         Inset::forceDefaultParagraphs.
14558
14559 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14560
14561         * lyx_gui.C (init): set the style of the menu popups to
14562         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14563
14564 2002-01-07  Juergen Vigna  <jug@sad.it>
14565
14566         * text.C (setHeightOfRow): small fix
14567         (prepareToPrint): don't look at alignment if we don't have the place
14568         for doing it.
14569
14570 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14571
14572         * box.C: New file. Move the Box methods and functions out of box.h,
14573         following Lars' suggestion.
14574
14575 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14576
14577         * box.h: #include "support/LOstream.h", needed for inlined function.
14578
14579         * lyxtextclass.C:
14580         * lyxtextclasslist.C: added some using std declarations.
14581
14582 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * box.h: make signed dimensions to allow insets wider than
14585           the screen (bug #162)
14586
14587         * BufferView_pimpl.C: add some insetHit debug
14588
14589 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * vc-backend.C: add FIXME
14592
14593 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14594
14595         * lyxfunc.C (getStatus): enable code for showing math font status
14596         in toolbar/menu.
14597
14598 2002-01-07  Juergen Vigna  <jug@sad.it>
14599
14600         * text.C (nextBreakPoint): removed debug output not needed anymore.
14601
14602 2002-01-06  Juergen Vigna  <jug@sad.it>
14603
14604         * text.C (nextBreakPoint): fixed up this function we had this bug
14605         since ever but now hopefully we break row better.
14606         (insertChar): we have to check if an inset is the next char as it
14607         could now happen that a large inset is causing a break.
14608
14609 2002-01-05  Juergen Vigna  <jug@sad.it>
14610
14611         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14612         if it doesn't like to be drawed.
14613
14614 2002-01-04  Juergen Vigna  <jug@sad.it>
14615
14616         * BufferView2.C (lockInset): forgot to set a cursor.
14617
14618         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14619
14620 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14621
14622         * FormMathsPanel.C:
14623         * FormMathsPanel.h
14624         * MathsSymbols.C:
14625         * form_maths_panel.C:
14626         * form_maths_panel.h:
14627         * form_maths_panel.fd: implemented sub- and super- buttons in math
14628         panel.
14629
14630         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14631         (or ^ space) to be used as in TeX (req'd by Andr�.
14632
14633         * lyxfunc.C: Allow ^ and _ again to be used both as
14634         super/subscript (mathed) and as themselves (in text).
14635
14636 2002-01-03  Allan Rae  <rae@lyx.org>
14637
14638         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14639         "LyX" or the filename of the current buffer if it has one.  This is a
14640         modified form of John Levon's patch.
14641
14642         * XFormsView.C (setWindowTitle): also set icon title.
14643
14644         * LyXView.h (setWindowTitle): signature changed.
14645         * XFormsView.h (setWindowTitle): ditto.
14646
14647 2002-01-02  Juergen Vigna  <jug@sad.it>
14648
14649         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14650
14651 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * screen.C (topCursorVisible): introduce a temp var for
14654         text->cursor.row(), handle the case where this row is null. (kindo
14655         hachish)
14656
14657         * text2.C (setCursor): add a couple of asserts.
14658
14659         * paragraph.h (inset_iterator): add -> operator
14660
14661         * paragraph.[Ch] (autoDeleteInsets): remove member function
14662
14663         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14664         cursor pos correctly and handle inset deletion by itself.
14665         (insertErrors): move iterator declaration out of for expression
14666
14667         * lyxtextclass.C: add <algorithm>
14668
14669         * Makefile.am: added the new files to sources, removed layout.C
14670
14671         * layout.C: removed file
14672
14673         * layout.h: remove LYX_DUMMY_LAYOUT
14674
14675         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14676         layout.
14677
14678         * lyxlayout.[Ch]:
14679         * lyxtextclass.[Ch]:
14680         * lyxtextclasslist.[Ch]: new files
14681
14682         * include order changes to a lot of files, also changes because of
14683         the six new files.
14684
14685 2001-12-27  Juergen Vigna  <jug@sad.it>
14686
14687         * buffer.C (asciiParagraph): more fixes.
14688
14689         * tabular.C (ascii): make ascii export support export of only the
14690         data separated by a column-delimiter.
14691         (ascii): better support for ascii export.
14692
14693         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14694
14695 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * tabular_funcs.C: use a "using std::getline" instead of the
14698         previous fix from Angus (necessary for cxx + lyxstring)
14699
14700 2001-12-24  Juergen Vigna  <jug@sad.it>
14701
14702         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14703
14704         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14705         problems. First check a minipage also if we have some ert-contents
14706         (not only on par->size(), second set the right depth of the paragraph
14707         on the relink to the root-paragraph-list!
14708
14709         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14710         which then did not anymore update the main paragraphs on undo/redo!
14711
14712 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14713
14714         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14715         code. Support all font-changing funcs (even those which are not in
14716         menu currently). Support for reporting font settings in
14717         mathed (disabled until Andre provides a function on mathed's side).
14718
14719         * func_status.h (toggle): small helper function to set toggle
14720         state on a flag.
14721
14722 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         * tabular_funcs.C: getline -> std::getline
14725
14726 2001-12-21  Juergen Vigna  <jug@sad.it>
14727
14728         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14729         accessed and could be 0 (I couldn't generate this but it seems
14730         Michael could!).
14731
14732 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14735         * tabular_funcs.h: here and include iosfwd
14736
14737 2001-12-20  Juergen Vigna  <jug@sad.it>
14738
14739         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14740         inside inset but undo_par was.
14741
14742 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14743
14744         * Thesaurus.C: always include <config.h> in sources.
14745
14746         * Painter.h:
14747         * lyxlookup.h:
14748         * box.h: do not include <config.h> in header files
14749
14750         * text.C (paintLastRow): remove unused variable
14751
14752         * text.C (transformChar):
14753         (insertChar):
14754         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14755
14756         * Painter.C (text):
14757         * font.C (width): rewrite to use uppercase() instead of
14758         islower/toupper.
14759
14760         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14761
14762 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * lyxfind.C: clean up of find failure position change
14765
14766 2001-12-20  Juergen Vigna  <jug@sad.it>
14767
14768         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14769
14770         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14771         (TeXRow): added to LaTeX a single tabular row.
14772         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14773         (Latex): simplified and finally good LT-h/f support.
14774         (various_functions): just small adaptions for LT-h/f support.
14775
14776         * tabular_funcs.[hC]: added and moved here all not classfunctions
14777         of LyXTabular.
14778
14779 2001-12-19  Juergen Vigna  <jug@sad.it>
14780
14781         * tabular.[Ch]: better support for longtabular options (not finished
14782         yet!)
14783
14784 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14785
14786         * text.C (paintLastRow): use the label font instead of the font of
14787         the last character to compute the size of *_BOX. This makes more
14788         sense and avoids a crash with empty paragraphs.
14789         Use Painter::rectangle to draw EMPTY_BOX.
14790
14791 2001-12-19  Juergen Vigna  <jug@sad.it>
14792
14793         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14794         the paragraphs if the replaced paragraph is not the first one!
14795         Tried to delete not used paragraphs but does not work yet so for
14796         now it's inside #ifdef's and by default off!
14797
14798 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14799
14800         * MenuBackend.C: include "lyx_main.h" instead of declaring
14801         lastfiles (actually was declared as LastFiles* instead of a
14802         scoped_ptr).
14803
14804 2001-12-17  Juergen Vigna  <jug@sad.it>
14805
14806         * tabular.C (AppendColumn): applied John's fix
14807
14808 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * BufferView.h:
14811         * BufferView.C:
14812         * BufferView_pimpl.h:
14813         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14814
14815         * Makefile.am:
14816         * box.h: new start of class for above
14817
14818         * lyxfunc.C: ignore space-only minibuffer dispatches.
14819           Show the command name when it doesn't exist
14820
14821         * minibuffer.C: don't add empty lines to the history
14822
14823         * minibuffer.C: add a space on dropdown completion
14824
14825 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14826
14827         * text.C: fix line above/below drawing in insets
14828
14829 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * lyxlength.C (LyXLength): Initialize private variables.
14832
14833 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14834
14835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14836         when inserting error insets.
14837
14838 2001-12-13  Juergen Vigna  <jug@sad.it>
14839
14840         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14841         actually sometimes the before-paragraph.
14842         (setUndo): don't clear the redostack if we're not actually undoing!
14843
14844 2001-12-06  Juergen Vigna  <jug@sad.it>
14845
14846         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14847         and fixed redoing of main paragraph, so we can use it now ;)
14848
14849         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14850
14851 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14852
14853         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14854         Juergen's request
14855
14856 2001-12-13  André Pönitz <poenitz@gmx.net>
14857
14858         * undostack.[Ch]:
14859         * undo_func.C: minor cleanup
14860
14861 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14862
14863         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14864         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14865         font in urw-fonts package which is marked as -urw-fontspecific and
14866         does not work (incidentally, changing the encoding in the
14867         fonts.dir of this package to -adobe-fontspecific fixes the
14868         problem).
14869
14870         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14871         is a crash when undoing first paragraph (Juergen, please take a
14872         look). THis does not mean the undo fix is wrong, just that it
14873         uncovers problems.
14874
14875         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14876         the (Paragraph*) version when needed instead of duplicating the
14877         code.
14878
14879         * text.C (workWidth): use Inset::parOwner to find out where the
14880         inset has been inserted. This is a huge performance gain for large
14881         documents with lots of insets. If Inset::parOwner is not set, fall
14882         back on the brute force method
14883
14884         * paragraph_pimpl.C (insertInset):
14885         * paragraph.C (Paragraph):
14886         (cutIntoMinibuffer): set parOwner of insets when
14887         inserting/removing them
14888
14889         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14890
14891 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14892
14893         * commandtags.h:
14894         * LyXAction.C:
14895         * lyx_main.C:
14896         * lyxfunc.C:
14897         * mathed/formulabase.C:
14898         * mathed/math_cursor.[Ch]:
14899         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14900
14901
14902 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * lyxlength.[Ch] (operator!=): new function
14905
14906 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14907
14908         * text.C (workWidth): use Inset::parOwner to find out where the
14909         inset has been inserted. This is a huge performance gain for large
14910         documents with lots of insets. If Inset::parOwner is not set, fall
14911         back on the brute force method
14912
14913         * paragraph_pimpl.C (insertInset):
14914         * paragraph.C (Paragraph):
14915         (cutIntoMinibuffer): set parOwner of insets when
14916         inserting/removing them
14917
14918         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14919
14920 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14921
14922         * tabular-old.C (getTokenValue):
14923         * tabular.C (getTokenValue):
14924         (write_attribute): new versions for LyXLength
14925         (everywhere): adjust the use of widths
14926
14927         * tabular.h: change the type of widths from string to LyXLength
14928
14929 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14930
14931         * paragraph.C: fixed missing line number count when exporting
14932         Environments to LaTeX file
14933
14934         * buffer.C: added informational message for checking line numbers.
14935
14936 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14937
14938         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14939         paragraph, do the 'double space' part, but not the 'empty
14940         paragraph' one.
14941
14942         * text.C (workWidth): small optimization
14943         (getLengthMarkerHeight): use minimal size for negative lengths.
14944
14945 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14946
14947         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14948
14949         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14950
14951 2001-12-11  André Pönitz <poenitz@gmx.net>
14952
14953         * FontLoader.C:
14954         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14955
14956 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * text2.C: keep selection on a setFont()
14959
14960 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * lyx_cb.C: another bv->text misuse, from insert label
14963
14964 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * kbsequence.h:
14967         * kbsequence.C: re-instate nmodifier mask
14968
14969 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14970
14971         * lyx_main.h: make lyxGUI private.
14972
14973 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * lyxfind.C: place the cursor correctly on failed search
14976
14977 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14978
14979         * text.C (getLengthMarkerHeight): for small heights, the arrows
14980         are not always on top/bottom of the text
14981         (drawLengthMarker): smaller arrows; take the left margin in
14982         account; draw also vfills.
14983         (paintFirstRow):
14984         (paintLastRow): remove special code for vfill and standard spaces,
14985         since everything is handled in drawLengthMarker now.
14986
14987 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * buffer.C (insertErtContents): try to handle font and language
14990         interaction a bit better.g
14991
14992         * ColorHandler.C (updateColor): change the hash to cover the whole
14993         LColor enum, ws cleanup
14994         (getGCLinepars): ditto
14995         (getGCLinepars): only lookup in the linecache once.
14996
14997 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14998
14999         * iterators.C (operator++): Make the iterator more robust
15000
15001         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15002         (John's patch)
15003         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15004
15005 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * lyxtext.h:
15008         * text.C: better added space drawing
15009
15010 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15011
15012         * LyXView.C:
15013         * BufferView2.C: fix layout combo update on inset unlock
15014
15015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15016
15017         * Makefile.am: don't compile unused files
15018
15019 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15020
15021         * lyxfunc.C:
15022         * commandtags.h:
15023         * LyXAction.C: remove old LFUN_LAYOUTNO
15024
15025 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * paragraph_pimpl.h:
15028         * paragraph_pimpl.C: isTextAt() doesn't need font param
15029
15030 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * lyxlex.h:
15033         * lyxlex.C: little cleanup
15034
15035 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * BufferView_pimpl.C: fix insertAscii for insets
15038
15039 2001-12-05  Juergen Vigna  <jug@sad.it>
15040
15041         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15042         set the right font on the "multi" paragraph paste!
15043
15044 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * trans_decl.h:
15047         * trans_mgr.[Ch]:
15048         * trans.[Ch]:
15049         * lyxgluelength.C:
15050         * lyxlength.C: remove out-commented code.
15051
15052         * BufferView_pimpl:
15053         * CutAndPaste.C:
15054         * DepTable.C:
15055         * buffer.C:
15056         * chset.C:
15057         * lastfiles.C:
15058         * lyxlex.C:
15059         * lyxlex_pimpl.C:
15060         * lyxserver.C:
15061         * screen.C:
15062         * tabular-old.C:
15063         * tabular.C:
15064         * text.C:
15065         * trans_mgr.C:
15066         * vc-backend.C: change "while(" to "while ("
15067
15068         * lyxlength.[Ch]: add zero function to check if length is zero or
15069         not
15070         * lyxgluelength.C: use it
15071
15072 2001-12-05  Allan Rae  <rae@lyx.org>
15073
15074         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15075         Works for 2.95.3, from what I understand of Garst's reports this should
15076         work for other g++ versions.  We're screwed if the abs(int) definition
15077         changed between bugfix releases of gcc.
15078
15079 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * text.C: fix chapter label offset !
15082
15083 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * lyxtext.h:
15086         * text.C: fix hfill at end of line, clean up
15087
15088 2001-12-04  Juergen Vigna  <jug@sad.it>
15089
15090         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15091         that we force an update of the inset and it's owners if neccessary.
15092
15093 2001-12-03  Juergen Vigna  <jug@sad.it>
15094
15095         * text.C (rowLast): simplified code
15096
15097 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * lyxfunc.C: fix show options on timeout
15100
15101 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * screen.C (topCursorVisible): scroll half a page when the cursor
15104         reached top of bottom of screen
15105
15106 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * minibuffer.C: deactivate on loss of focus
15109
15110 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15111
15112         * vspace.[Ch] (operator!=): add operator.
15113
15114 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * BufferView_pimpl.C: refuse to open an inset when
15117         there's a selection.
15118
15119 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15120
15121         * BufferView_pimpl.C: allow to click on RHS of full row insets
15122
15123 2001-11-30  Juergen Vigna  <jug@sad.it>
15124
15125         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15126         insets for undo reasons.
15127
15128 2001-11-28  André Pönitz <poenitz@gmx.net>
15129
15130         * vspace.[Ch]: cosmetical changes
15131
15132 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * LyXAction.h:
15135         * LyXAction.C:
15136         * lyxfunc.h:
15137         * lyxfunc.C:
15138         * kbmap.h:
15139         * kbmap.C:
15140         * lyxrc.C:
15141         * kbsequence.h:
15142         * kbsequence.C: part re-write of old kb code
15143
15144         * Painter.C:
15145         * WorkArea.C: remove Lgb_bug_find_hack
15146
15147 2001-11-30  José Matos <jamatos@fep.up.pt>
15148
15149         * buffer.C (makeDocBookFile): add a comment to point a hack.
15150         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15151         Fixed a double write of labels.
15152
15153 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15154
15155         * LaTeX.C:
15156         * LaTeX.h Fixed bug in LaTeX class where it would not
15157         re-run latex if no depfiles were changed, but the .dvi was removed.
15158
15159 2001-11-28  André Pönitz <poenitz@gmx.net>
15160
15161         * all the files from the change on 2001/11/26:
15162         use lyx::layout_type instead of LyXTextClass::size_type
15163         use lyx::textclass_type instead of LyXTextClassList::size_type
15164
15165 2001-11-29  Juergen Vigna  <jug@sad.it>
15166
15167         * text.C: added support for paragraph::isFreeSpacing()
15168
15169         * buffer.C: same as above
15170
15171         * paragraph.h: inserted isFreeSpacing() function to enable
15172         FreeSpacing inside InsetERT.
15173
15174         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15175         of the paragraph's in the cut/copy buffer to 0!
15176
15177         * text2.C (removeRow): remove the assert as it can!
15178
15179         * lyxtext.h: added helper function firstRow returning firstrow and
15180         made firstrow private again.
15181
15182         * BufferView2.C (lockInset): don't relock if we're already locked!
15183
15184         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15185         the only paragraph.
15186         (removeRow): added Assert::(firstrow)
15187
15188         * debug.C: forgot to add INSETTEXT here.
15189
15190 2001-11-28  Juergen Vigna  <jug@sad.it>
15191
15192         * sp_spell.C (initialize): changed error text to more general
15193         spellchecker command use (not only ispell!)
15194
15195         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15196
15197         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15198
15199 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * vspace.C: initialise lyxgluelength on failure
15202
15203 2001-11-28  Allan Rae  <rae@lyx.org>
15204
15205         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15206         declaration & definition that looks like a function declaration.
15207
15208 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15209
15210         * BufferView2.C (copy):
15211         (copyEnvironment): do not clear the selection when doing a copy.
15212
15213         * text.C (paintFirstRow): compilation fix
15214
15215 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15216
15217         * tabular.C (Latex): correct line count when writing latex.
15218
15219 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15220
15221         * paragraph_pimpl.h:
15222         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15223           bug a bit
15224
15225 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15226
15227         * text.C:
15228         * LColor.h:
15229         * LColor.C: change vfillline->added_space
15230
15231         * text.C: add markers and text for added space
15232
15233         * vspace.C: fix comment
15234
15235 2001-11-28  André Pönitz <poenitz@gmx.net>
15236
15237         * paragraph.C: whitespace changes
15238         * all the other files from the change on 2001/11/26:
15239         change *::pos_type into lyx::pos_type
15240
15241 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15242
15243         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15244         language of the document when inserting error insets.
15245
15246 2001-11-26  André Pönitz <poenitz@gmx.net>
15247
15248         * BufferView_pimpl.[Ch]:
15249         *       CutAndPaste.C:
15250         * buffer.[Ch]:
15251         * lyxcursor.[Ch]:
15252         * lyxfind.C:
15253         * lyxfunc.C:
15254         * lyxrow.[Ch]:
15255         * paragraph.[Ch]:
15256         * paragraph_pimpl.[Ch]:
15257         * sp_spell.C:
15258         * text.C:
15259         * text2.C: reduce header dependencies, introduce type for positions
15260
15261 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15262
15263         * <various>: change to use Alert.h
15264
15265 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15266
15267         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15268         when encountering an unknown token.
15269         (readLyXformat2): Show an error message if there were unknown tokens.
15270
15271 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * BufferView2.C:
15274         * BufferView_pimpl.C:
15275         * buffer.C:
15276         * paragraph.h:
15277         * text.C:
15278         * text2.C: use par->isInset()
15279
15280 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15281
15282         * paragraph_pimpl.h:
15283         * paragraph_pimpl.C: cleanup
15284
15285 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * text2.C (removeRow):
15288         * text.C (setHeightOfRow): remove useless (and costly) call to
15289         getRow.
15290
15291 2001-11-20  Allan Rae  <rae@lyx.org>
15292
15293         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15294         Now need Inset*::checkInsertChar() to return true for appropriate
15295         cases so that the characters in the minibuffer will actually be
15296         inserted.
15297
15298 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * text.C: change the order of the includes.
15301         (workWidth): initialize it at once.
15302         (workWidth): make maxw unsigned
15303         (setHeightOfRow): remove unused variable (inset)
15304         (selectSelectedWord): remove unused variable (inset)
15305         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15306
15307 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15310         server is not running.
15311         (openConnection):
15312         (closeConnection): add debug info when server is disabled.
15313
15314         * ColorHandler.C (getGCForeground): send debug message to GUI
15315         channel.
15316
15317         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15318
15319         * kbmap.C (bind): modify because return conventions of
15320         kb_sequence::parse have changed.
15321
15322         * kbsequence.C (parse): only ignore spaces and not any stupid
15323         control character. This avoids tests like s[i] <= ' ', which are
15324         guaranteed to fail with 8bit characters and signed chars.
15325         Change return code to string::npos when there have been no error
15326         (0 was a bad idea when error is at first character)
15327
15328 2001-11-14  José Matos  <jamatos@fep.up.pt>
15329
15330         * buffer.h:
15331         * buffer.C (simpleDocBookOnePar): removed unused argument.
15332
15333 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15336         insets which are part of a word. Paragraph::isLetter takes care of
15337         that now. Use Paragraph::isInset to identify insets.
15338         (selectSelectedWord): do not test for hyphenation break.
15339
15340         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15341         that protected spaces are considered as spaces.
15342
15343         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15344         Inset::isLetter.
15345
15346 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15347
15348         * lyxserver.h:
15349         * lyxserver.C: fix it. and small cleanup.
15350
15351 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15352
15353         * BufferView_pimpl.C: use inline helpers
15354
15355         * LaTeXFeatures.h:
15356         * LaTeXFeatures.C: fix typos
15357
15358         * Spacing.h:
15359         * Spacing.C: move spacing_string into class
15360
15361         * ToolbarDefaults.C: move stuff into namespace anon
15362
15363         * layout.h: update enum
15364
15365         * lyxfunc.C: use better debug
15366
15367         * minibuffer.h: fix typo
15368
15369         * debug.h:
15370         * debug.C:
15371         * WorkArea.C: add and use Debug::WORKAREA
15372
15373         * lyxtext.h:
15374         * text.C:
15375         * text2.C: code re-organisation, inline helpers
15376
15377 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15378
15379         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15380         std::vector.empty().
15381
15382 2001-11-09  Allan Rae  <rae@lyx.org>
15383
15384         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15385         '\n's after tables.  Tabular and ERT inset work now makes this no
15386         longer necessary.
15387
15388 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * minibuffer.h:
15391         * minibuffer.C: fix crash, improve drop-down completion
15392
15393 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * lyxserver.h:
15396         * lyxserver.C: invalidate fd's when doing endPipe()
15397
15398 2001-11-08  José Matos  <jamatos@fep.up.pt>
15399
15400         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15401         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15402
15403         * paragraph.h:
15404         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15405
15406 2001-11-07  José Matos  <jamatos@fep.up.pt>
15407
15408         * buffer.h:
15409         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15410         const qualifier.
15411
15412         * buffer.C (sgmlOpenTag):
15413         * buffer.C (sgmlCloseTag): removed debug info.
15414
15415         * buffer.h (sgmlOpenTag):
15416         * buffer.h (sgmlCloseTag): made public.
15417
15418 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * buffer.C (saveParamsAsDefaults):
15421         * lyx_cb.C (MenuLayoutSave): remove
15422
15423         * LyXAction.C (init):
15424         * commandtags.h:
15425         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15426
15427 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15428
15429         * buffer.C (setPaperStuff): removed from here...
15430
15431         * bufferparams.C (setPaperStuff): ... and moved there.
15432
15433 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15434
15435         * minibuffer.h:
15436         * minibuffer.C:
15437         * XFormsView.C: add support for drop-down completion
15438
15439 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15440
15441         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15442         commands.
15443
15444 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15447         disabled.
15448
15449 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15450
15451         * lyx_main.C: change ref to known bugs
15452
15453 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15454
15455         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15456         to work around older babel problems.
15457
15458 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15459
15460         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15461
15462 2001-10-24  Juergen Vigna  <jug@sad.it>
15463
15464         * tabular-old.C (ReadOld): below variable changes reflected.
15465
15466         * tabular.[Ch]: added ltType struct for longtable header/footer
15467         defines and changed all instances where they are used. Added
15468         future support for double top/bottom rows.
15469
15470 2001-10-24  José Matos  <jamatos@fep.up.pt>
15471
15472         * buffer.h (docbookHandleCaption):
15473         * buffer.C (docbookHandleCaption): removed unused function.
15474         (makeDocBookFile): moved docbook supported version to v4.1.
15475
15476 2001-10-24  José Matos  <jamatos@fep.up.pt>
15477
15478         * tabular.h:
15479         * tabular.C (docbookRow): new function to export docbook code of a row.
15480         (DocBook): now honors the longtable flags.
15481
15482 2001-10-23  José Matos  <jamatos@fep.up.pt>
15483
15484         * LaTeXFeatures.h:
15485         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15486         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15487
15488         * buffer.C (makeLinuxDocFile):
15489         (makeDocBookFile): reworked the preamble, more clean, and with
15490         support for lyx defined entities. Changed the document declaration
15491         to be more XML friendly.
15492
15493         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15494         if we need to output XML that should be done with a filter.
15495
15496 2001-10-22  Juergen Vigna  <jug@sad.it>
15497
15498         * sp_pspell.h (class PSpell): add alive function needed in the
15499         controller to see if the spellchecker could be started.
15500
15501 2001-10-22  Juergen Vigna  <jug@sad.it>
15502
15503         * buffer.C (insertStringAsLines): modify the font for inserting
15504         chars in certain conditions by calling checkInsertChar(font).
15505
15506 2001-10-19  Juergen Vigna  <jug@sad.it>
15507
15508         * text.C (workWidth): use getRow instead of wrong algorithm.
15509         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15510
15511 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15512
15513         * lyxserver.h:
15514         * lyxserver.C:
15515         * lyx_main.h:
15516         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15517
15518 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * text.C (workWidth): do not search for the exact row when
15521         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15522         optimization for big documents.
15523
15524 2001-10-18  Juergen Vigna  <jug@sad.it>
15525
15526         * text.C (workWidth): new function with added Inset * parameter.
15527
15528 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15531
15532         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15533         change return type of getColumnNearX.
15534
15535
15536         * text.C (changeRegionCase): use uppercase/lowercase instead of
15537         toupper/tolower.
15538         (leftMargin):
15539         (rightMargin): simplify code by factoring out the uses of
15540         textclasslist.
15541         (labelFill):
15542         (numberOfHfills):
15543         (setHeightOfRow):
15544         (appendParagraph): use Paragraph::size_type
15545
15546 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * vspace.C (asLatexString): add a missing break
15549
15550 2001-10-15  Herbert Voss  <voss@perce.de>
15551
15552         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15553
15554 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15557         is not available.
15558
15559 2001-10-10  André Pönitz <poenitz@gmx.net>
15560
15561         * lyxfunc.C: removed greek_kb_flag.
15562
15563 2001-10-10  Herbert Voss  <voss@perce.de>
15564
15565         * lyx_main.C: delete global string help_lyxdir.
15566
15567 2001-10-09  Herbert Voss  <voss@perce.de>
15568
15569         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15570
15571         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15572
15573         * lyx_main.C: added global string help_lyxdir.
15574
15575         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15576
15577 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15578
15579         * lyxrc.C (set_font_norm_type): support iso8859-4
15580
15581 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15582
15583         * LaTeX.C (deplog): add another regex for MikTeX
15584
15585 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15586
15587         * lyxrc.C (set_font_norm_type): support iso8859-3
15588
15589 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15592
15593         * LaTeXFeatures.C: remove special case of french and index
15594
15595         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15596         before \begin{document}). This solves several incompatibilities.
15597
15598 2001-10-03  Garst Reese  <reese@isn.net>
15599
15600         * lyx_cb.C: change CheckTex error msg.
15601
15602 2001-10-03  José Matos  <jamatos@fep.up.pt>
15603
15604         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15605
15606 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15607
15608         * .cvsignore: update
15609
15610         * lyx_main.C (commandLineVersionInfo): use new style version info.
15611
15612         * buffer.C (writeFile):
15613         (makeLaTeXFile):
15614         (makeLinuxDocFile):
15615         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15616
15617         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15618
15619         * version.h: update to use stuff in version.C
15620
15621         * version.C.in: new file. Contains version information determined
15622         at compile time. This is a merging of version.h and
15623         version_info.h.in.
15624
15625 2001-10-03  Juergen Vigna  <jug@sad.it>
15626
15627         * BufferView_pimpl.C (update): don't change "dirty" status in
15628         updateInset call.
15629
15630 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15631
15632         * WorkArea.C (c-tor): re-position version string slightly.
15633
15634 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15635
15636         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15637         revert to previous code.
15638
15639         WorkArea.[Ch]: (show, destroySplash): methods removed.
15640
15641         WorkArea.C: rework code so that it's an amalgam of the codes before and
15642         after the splash screen was moved to WorkArea.
15643
15644 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * lyxrc.C (read):
15647         * vspace.C (inPixels):
15648         (lyx_advance):
15649         * kbmap.C (bind):
15650         * buffer.C (insertStringAsLines):
15651         (asciiParagraph): fix types to be large enough
15652
15653         * lyxlex_pimpl.h: change member status from short to int
15654
15655         * layout.h: fix type of endlabeltype
15656
15657         * kbmap.C (bind):
15658         * kbsequence.C (parse): change return type to string::size_type
15659
15660         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15661         variable
15662
15663         * Bullet.C (bulletSize):
15664         (bulletEntry): do not use short ints as parameters
15665
15666         * BufferView2.C (insertLyXFile): change a char to an int.
15667
15668         * WorkArea.C (WorkArea): remove unneeded floats in computation
15669
15670 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15671
15672         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15673
15674         * paragraph.C (asString): Do not ignore newline/hfill chars when
15675         copying to the clipboard.
15676
15677 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15680         after a multi-line inset.
15681
15682 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15683
15684         * paragraph.C (validate): Set NeedLyXFootnoteCode
15685
15686 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15687
15688         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15689         and decrease-error to decrease.
15690
15691 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15694         it more readable (should be equivalent)
15695
15696 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15697
15698         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15699
15700 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15701
15702         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15703         of a cursor (row, etc.) after a character has been deleted
15704         (deleteEmptyParagraphMechanism): call the method above on _all_
15705         cursors held by the LyXText when a double space has been
15706         detected/deleted.
15707
15708 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15709
15710         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15711         pixmap.
15712         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15713
15714         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15715         background. Use greyOut() and the new show() methods to toggle between
15716         the foreground and background. Add code to remove the splash after
15717         its initial showing.
15718
15719         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15720         (create_forms): no longer call Dialogs::showSplash.
15721
15722 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * .cvsignore: add version_info.h
15725
15726 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * version_info.h.in: new file
15729
15730         * Makefile.am: add version_info.h.in
15731
15732         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15733         version_info.h instead of VERSION_INFO
15734
15735 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15738         The ERT inset now returns string().
15739
15740 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15741
15742         * lyxtext.h, text.C (selectNextWord): renamed as
15743         selectNextWordToSpellcheck.
15744
15745         * text.C (selectNextWordToSpellcheck): Modified to not select
15746         words inside an ERT inset.
15747
15748 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * lyx_cb.C (MenuLayoutSave): change a bit the question
15751
15752         * sp_base.h: include <sys/types.h>
15753
15754 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15757
15758 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15759
15760         * several files: fix typos in user-visible strings
15761
15762 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15763
15764         * text2.C (pasteSelection): do not set the selection, since it
15765         will be cleared later. Actually, the intent was to fix the way the
15766         selection was set, but I figured rmoving the code was just as good.
15767
15768 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15769
15770         * FontLoader.C (available): Check if font is available without
15771         loading the font.
15772
15773 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15774
15775         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15776
15777 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15778
15779         * lyxrc.[Ch]: added display_graphics variable and associated code.
15780
15781 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15782
15783         * bufferparams.C (hasClassDefaults): new method. Returns true if
15784         the buffer parameters correspond to known class defaults
15785
15786 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15787
15788         * XFormsView.C (show): set minimum size to the main window.
15789
15790 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15791
15792         * text2.C (copySelection):
15793         (cutSelection):
15794         * lyxfind.C (LyXReplace):
15795         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15796         LyXText::selectionAsString.
15797
15798         * paragraph.C (asString): add "label" argument to the second form
15799
15800         * text2.C (selectionAsString): add "label" argument and pass it to
15801         Paragraph::asString.
15802
15803 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15804
15805         * lyx_main.C (commandLineHelp): remove version information
15806
15807 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15808
15809         * lyx_main.C: add -version commandline option
15810
15811 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * paragraph.h: make the optional constructor arg required instead.
15814         some modifications to other files because of this.
15815
15816         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15817
15818         * lyxserver.C (C_LyXComm_callback): make it static
15819
15820         * lyx_main.C (error_handler): make it static
15821
15822         * lyx_gui.C (LyX_XErrHandler): make it static
15823
15824         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15825
15826         * WorkArea.C: make the extern "C" methods static.
15827
15828         * Makefile.am (lyx_LDADD): simplify
15829
15830 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15831
15832         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15833         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15834
15835         * LyXAction.C (init):
15836         * lyxfunc.C (dispatch): associated code removal.
15837
15838 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * lyxfont.h (isSymbolFont): shut off warning
15841
15842         * text.C (setHeightOfRow):
15843         (getVisibleRow): fix crash with empty paragraphs which have a
15844         bottom line
15845
15846 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15847
15848         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15849         code.
15850
15851 2001-09-04  José Matos  <jamatos@fep.up.pt>
15852         * buffer.C
15853         * buffer.h
15854         * tabular.C (docbook): rename docBook method to docbook.
15855
15856 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15857
15858         * Makefile.am: add dependencies to main.o.
15859
15860 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15861
15862         * FontLoader.C (available): Return false if !lyxrc.use_gui
15863
15864 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15865
15866         * FontInfo.C (query):
15867         * converter.C (view):
15868         * importer.C (Import):
15869         * exporter.C (Export): Can not -> cannot.
15870
15871 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15872
15873         * BufferView_pimpl.C: allow to create index inset even if
15874           string is empty
15875
15876 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15877
15878         * buffer.C (getLists): replace boost::tie code with an explicit pair
15879         as boost::tie can break some compilers.
15880
15881         * iterators.h: Added a std:: declaration to the return type of
15882         ParIterator::size.
15883
15884 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15885
15886         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15887           case.
15888
15889 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15890
15891         * iterators.[Ch]: New files. Provide paragraph iterators.
15892
15893         * buffer.C (changeLanguage): Use paragraph iterators.
15894         (isMultiLingual): ditto
15895
15896         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15897
15898 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15899
15900         * FontLoader.C: Support for cmr font.
15901
15902 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15903
15904         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15905         (available): New method.
15906
15907         * FontInfo.C (getFontname): Use scalable fonts even when
15908         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15909         found.
15910
15911 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15912
15913         * converter.C (Formats::view): reverted! Incorrect fix.
15914
15915 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15916
15917         * converter.C (Formats::view): only output the -paper option
15918         if the dvi viewer is xdvi, thereby fixing bug #233429.
15919
15920 2001-08-23  Herbert Voss  <voss@perce>
15921
15922         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15923
15924 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15925
15926         * Spacing.h (Spacing): Set space to Default on in the default
15927         constructor.
15928
15929 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15930
15931         * vc-backend.h (RCS::versionString): add RCS to version
15932         (CVS::versionString): add CVS to version
15933
15934         * vc-backend.C (scanMaster): do not add CVS to version.
15935         (scanMaster): do not add RCS to version
15936
15937         * lyxvc.C (versionString): new method
15938
15939         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15940
15941 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * Spacing.C (set): initialize fval
15944
15945 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15946
15947         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15948         " or \.
15949
15950 2001-08-16  Juergen Vigna  <jug@sad.it>
15951
15952         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15953
15954 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15955
15956         * BufferView_pimpl.C:
15957         * figureForm.C:
15958         * lyxtext.h:
15959         * text2.C: setParagraph takes linespacing now
15960
15961 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15962
15963         * LyxAction.C: add internal LFUN_CITATION_INSERT
15964
15965         * LyXView.C: actually apply fix
15966
15967         * bufferlist.C: fix open non-existent file
15968
15969         * lyxfind.C: fix indentation
15970
15971         * lyxfunc.C: remove unneeded assert, fix typo
15972
15973 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15974
15975         * MenuBackend.C: use "Floatname List"
15976
15977 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15978
15979         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15980         when converting LaTeX layout to insetERT.
15981         Generate a non-collapsed float when reading old float
15982
15983 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15984
15985         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15986         ERT insets.
15987
15988 2001-08-13  Juergen Vigna  <jug@sad.it>
15989
15990         * text.C (fill): return 0 instead of 20 as this seems to be the more
15991         correct value.
15992
15993 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15994
15995         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15996         lyxrc.font_norm.
15997
15998 2001-08-13  Juergen Vigna  <jug@sad.it>
15999
16000         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16001         casesensitive off.
16002         (SearchBackward): comment out the unlocking of the inset_owner this
16003         should not be needed!
16004
16005 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16006
16007         * Many files: Remove inherit_language, and add latex_language
16008
16009         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16010         collapsible insets.
16011
16012 2001-08-10  Juergen Vigna  <jug@sad.it>
16013
16014         * text.C (prepareToPrint): fixed hfill-width in draw!
16015
16016         * BufferView2.C (selectLastWord): save the selection cursor as this
16017         now is cleared in the function LyXText::clearSelection!
16018
16019 2001-08-08  Juergen Vigna  <jug@sad.it>
16020
16021         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16022         BACKSPACE type functions.
16023
16024         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16025         is only cutted from the document but not put in the cut-buffer, where
16026         still the old stuff should be.
16027
16028         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16029
16030         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16031
16032         * tabular.C (SetWidthOfCell): fixed special case where the width
16033         was not updated!
16034         (LeftLine): handle '|' in align_special.
16035         (RightLine): ditto
16036         (LeftAlreadyDrawed): ditto
16037         (SetWidthOfCell): ditto
16038
16039 2001-08-07  Juergen Vigna  <jug@sad.it>
16040
16041         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16042
16043 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16046         * lyxlex.[hC]: ditto
16047
16048 2001-08-06  Juergen Vigna  <jug@sad.it>
16049
16050         * text.C (getVisibleRow): fix up row clearing a bit.
16051
16052 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16053
16054         * minibuffer.C: make sure the X server sees the changes in the input.
16055
16056 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * paragraph.C (getFont): split into...
16059         (getLabelFont): this
16060         (getLayoutFont): and this
16061         * paragraph_pimpl.C (realizeFont): calling this
16062
16063         * text2.C (getFont): split into...
16064         (getLayoutFont): this
16065         (getLabelFont): and this
16066         (realizeFont): all three calling this
16067
16068         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16069         files where used.
16070
16071 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16072
16073         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16074
16075 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16076
16077         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16078         layouts from the Quote inset insertion.
16079
16080 2001-08-03  Juergen Vigna  <jug@sad.it>
16081
16082         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16083
16084         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16085         only if status not is already CHANGED_IN_DRAW (second level).
16086
16087         * text.C (draw): don't set the need_break_row when inside an
16088         InsetText LyXText.
16089
16090 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16091
16092         * buffer.C (parseSingleLyXformat2Token): handle more latex
16093         conversion cases.
16094
16095         * bufferview_funcs.[hC]: change function names to
16096         begin with small char, adjust other files.
16097
16098 2001-08-02  André Pönitz <poenitz@gmx.net>
16099
16100         * lyxfunc.C:
16101         BufferView_pimpl.C: remove broken special code for math-greek
16102
16103 2001-08-02  Juergen Vigna  <jug@sad.it>
16104
16105         * BufferView_pimpl.C (update): redone this function so that we
16106         update the text again if there was a CHANGE_IN_DRAW.
16107
16108         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16109         (drawFromTo): added a new internal bool which is used by draw() and
16110         redraw() function.
16111         (general): some cursor drawing problems fixed.
16112
16113 2001-08-01  Juergen Vigna  <jug@sad.it>
16114
16115         * lyxfind.C (LyXFind): fixed
16116         (SearchForward): ditto
16117         (SearchBackward): ditto
16118
16119         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16120         spurius drawing of the cursor in the main area.
16121
16122         * text2.C (status): small fix which could lead to a segfault!
16123         (clearSelection): remove unneeded BufferView param.
16124
16125 2001-08-01  André Pönitz <poenitz@gmx.net>
16126
16127         * lyxfunc.C: small change due to changed mathed interface
16128
16129 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16130
16131         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16132
16133 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16134
16135         * lyxfunc.c: fail gracefully if file doesn't exist
16136
16137         * LyXSendto.C:
16138         * buffer.C:
16139         * lyxfunc.C:
16140         * BufferView_pimpl.C: IsDirWriteable() proto changed
16141
16142         * LyXView.C: fix updateWindowTitle() to store the last title
16143
16144 2001-07-31  Juergen Vigna  <jug@sad.it>
16145
16146         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16147         the font (wrong since using of Paragraph::highestFontInRange).
16148
16149         * paragraph.C (highestFontInRange): added a default_size parameter.
16150
16151         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16152         (setHeightOfRow): reformat
16153
16154 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16155
16156         * converter.[hC] + affected files: move to (inital-char)lowercase
16157         function names.
16158
16159         * ParagraphParameters.C (ParagraphParameters): remove commented code
16160
16161         * PainterBase.[Ch]: remove commented code
16162
16163         * LaTeXFeatures.h: add "bool floats" for float.sty
16164
16165         * LaTeXFeatures.C (LaTeXFeatures): init floats
16166         (require): handle float
16167         (getPackages): do it with floats
16168
16169 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16170
16171         * BufferView_pimpl.C (Dispatch): improve handling of
16172         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16173
16174         * commandtags.h: #include lyxfont.h here temporarily to avoid
16175         keybinding bug.
16176
16177         * bufferlist.h: include LString.h here.
16178
16179 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16180
16181         * text2.C (getStringToIndex): new method.
16182
16183 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16184
16185         * *: Reduced header file dependencies all over.
16186
16187 2001-07-30  Baruch Even  <baruch@lyx.org>
16188
16189         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16190
16191 2001-07-29  Baruch Even  <baruch@lyx.org>
16192
16193         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16194
16195 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16196
16197         * ParameterStruct.h (endif): add a default constructor to make
16198         sure that all variables is initialized.
16199
16200         * ParagraphParameters.C (ParagraphParameters): adjust
16201
16202 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16203
16204         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16205         index; also, check that there is something to index, and that it
16206         does not span over several paragraphs.
16207         (doubleClick): use WHOLE_WORD_STRICT for double click.
16208
16209         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16210
16211         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16212         scheme.
16213
16214 2001-07-26  Baruch Even  <baruch@lyx.org>
16215
16216         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16217         an InsetFig figure, backwards compatible reading of old figure code.
16218
16219 2001-07-27  Juergen Vigna  <jug@sad.it>
16220
16221         * text2.C: font.realize function adaption.
16222
16223         * text.C (draw): add a warnings lyxerr text if needed.
16224
16225         * layout.C: font.realize function adaption.
16226
16227         * language.C: add inherit_language and implement it's handlings
16228
16229         * bufferview_funcs.C (StyleReset): remove language parameter from
16230         font creation (should be language_inherit now).
16231
16232         * bufferparams.C (writeFile): handle ignore_language.
16233
16234         * paragraph.C (getFontSettings): the language has to be resolved
16235         otherwise we have problems in LyXFont!
16236
16237         * lyxfont.C (lyxWriteChanges): added document_language parameter
16238         (update): removed unneeded language parameter
16239
16240         * paragraph.C (validate): fixed wrong output of color-package when
16241         using interface colors for certain fonts in certain environments,
16242         which should not seen as that on the final output.
16243
16244 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16245
16246         * BufferView_pimpl.C:
16247         * Thesaurus.h:
16248         * Thesaurus.C:
16249         * Makefile.am:
16250         * commandtags.h:
16251         * LyXAction.C: add thesaurus support
16252
16253         * lyxfind.h:
16254         * lyxfind.C: add "once" parameter, for thesaurus, to not
16255           move to the next match
16256
16257 2001-07-26  Juergen Vigna  <jug@sad.it>
16258
16259         * lyxfont.C (realize): honor ignore_language too!
16260         (resolved): ditto.
16261
16262         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16263
16264         * text.C (draw): one place more for ignore_language to not draw
16265         itself!
16266
16267 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16268
16269         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16270
16271 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16272
16273         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16274         the minipage conversion problem.
16275
16276 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16279         insert an inset.
16280
16281 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * BufferView.h: don't forward declare WorkArea
16284
16285         * BufferView.C: don't include WorkArea.h
16286
16287 2001-07-25  André Pönitz <poenitz@gmx.net>
16288
16289         * commandtags.h:
16290         * LyXAction.C:
16291         * lyxfunc.C:  new LFUN 'math-space'
16292
16293         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16294
16295 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16296
16297         * text2.C (toggleInset): call open/close
16298
16299 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16300
16301         * lyxfunc.C (dispatch): add debug for the disabled case
16302
16303         * font.C (buttonText): make similar to rectText
16304
16305         * buffer.C (readInset): comment out parsing of insetlist and
16306         insttheorem
16307
16308         * PainterBase.C (rectText): small correction
16309
16310         * BufferView_pimpl.C: comment out insettheorem and insetlist
16311         * LyXAction.C: ditto
16312         * commandtags.h: ditto
16313
16314 2001-07-24  Juergen Vigna  <jug@sad.it>
16315
16316         * text.C (draw): honor the ignore_language.
16317
16318         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16319
16320 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16323         char inset.
16324
16325 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16326
16327         * lyxtext.h: remove unused (and unimplemented) methods
16328
16329 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16330
16331         * text.C (getVisibleRow): honor background color
16332
16333         * PainterBase.h:
16334         * Painter.h: remove default color argument for fillRectangle
16335
16336         * text.C (backgroundColor): new method
16337
16338 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16339
16340         * text.C (getVisibleRow): adjust
16341
16342         * font.[Ch] (rectText): new method, metrics
16343         (buttonText): new method, metrics
16344
16345         * PainterBase.[hC]: make rectText and buttonText always draw and take
16346         fewer paramteres.
16347
16348 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16349
16350         * ToolbarDefaults.C (read):
16351         * MenuBackend.C (read): allow escaping in all strings
16352
16353         * BufferView_pimpl.C (insertAndEditInset): new method.
16354         (Dispatch): use insertAndEditInset whenever appropriate.
16355
16356         * BufferView_pimpl.C (insertNote): removed
16357
16358         * BufferView_pimpl.C (smartQuote): new method, moved from
16359         BufferView; if an insetquote cannot be inserted, insert a '"'
16360         character instead.
16361
16362         * BufferView2.C: remove insertCorrectQuote();
16363
16364         * lyxfunc.C (getStatus): Add support for all remaingin
16365         inset-insert lfuns.
16366
16367         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16368
16369         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16370         command (necessary to pass " as parameter of self-insert.
16371
16372         * text.C (selectWordWhenUnderCursor):
16373         (selectWord): add word_location parameter
16374         (selectWordWhenUnderCursor): same + remove special code for word
16375         boundary.
16376         (selectNextWord): use kind() to guess type of insetspecialchar,
16377         not latex().
16378
16379         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16380         (insertErtContents): create ert insets as collapsed.
16381         (readInset): better compatibility code for Info inset.
16382
16383 2001-07-20  Juergen Vigna  <jug@sad.it>
16384
16385         * lyxfunc.C (dispatch): use always LyXFind now!
16386
16387         * text2.C (init): add a reinit flag so that the LyXText can be
16388         reinited instead of deleted and reallocated (used in InsetText).
16389
16390         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16391
16392         * text.C: ditto
16393
16394         * text2.C: ditto
16395
16396 2001-07-18  Juergen Vigna  <jug@sad.it>
16397
16398         * text.C (selectNextWord): handle insets inside inset by calling
16399         always the bv->text functions so that we can go up the_locking_inset!
16400
16401         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16402         in strange locations when inside an inset!
16403
16404         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16405         handling to include insets.
16406
16407         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16408
16409 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16410
16411         * LyXAction.C (init):
16412         * commandtags.h:
16413         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16414         LIGATURE_BREAK, since the name is so stupid.
16415
16416 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16417
16418         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16419         InsetInfos.
16420
16421         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16422
16423         * sp_form.[Ch]: remove.
16424
16425         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16426
16427         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16428         InsetInfo.
16429
16430         * src/buffer.C (readInset): ditto.
16431
16432 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16433
16434         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16435         menuSeparator(), endOfSentenceDot(), ldots() and
16436         hyphenationPoint(), which are therefore removed.
16437         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16438
16439         * LyXAction.C (init):
16440         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16441
16442         * paragraph.C (getWord): removed.
16443
16444         * BufferView_pimpl.C (Dispatch): use last word or selection for
16445         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16446
16447         * lyx_main.C (queryUserLyXDir): do not ask before creating
16448         user_dir, except if it has been named explicitely.
16449
16450 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16451
16452         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16453         a document of zero size.
16454
16455 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16456
16457         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16458         approriately in the c-tor and in require().
16459         (getPackages): output the appropriate LaTeX for natbib support.
16460
16461         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16462         variables "use_natbib" and "use_numerical_citations" when reading the
16463         LyX file.
16464         (readInset): read the various natbib cite commands.
16465         (validate): white-space change.
16466
16467         * bufferparams.[Ch]: new variables "bool use_natbib" and
16468         "bool use_numerical_citations".
16469         (writeFile): output them in the LyX file.
16470
16471 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16472
16473         * lyxfunc.C (getStatus): add support for all the inset insertion
16474         commands.
16475
16476         * text2.C (insertInset):
16477         * paragraph.C (insetAllowed):
16478         * BufferView_pimpl.C (insertInset): update to take in account the
16479         renaming of insertInsetAllowed
16480
16481         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16482
16483         * text2.C (getInset): new method. returns inset at cursor position.
16484
16485         * BufferView_pimpl.C (Dispatch): changes because of this.
16486
16487         * LyXAction.C (init): rename open-stuff to inset-toggle.
16488
16489         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16490
16491         * text2.C (toggleInset): renamed from openStuff; use
16492         Inset::open().
16493
16494 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16495
16496         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16497
16498         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16499
16500 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16501
16502         * buffer.C (readLyXformat2): Add filename to the error dialog
16503
16504 2001-07-18  Juergen Vigna  <jug@sad.it>
16505
16506         * tabular.C (GetCellNumber): put an assert here instead of the check!
16507
16508 2001-07-17  Juergen Vigna  <jug@sad.it>
16509
16510         * BufferView_pimpl.C (toggleSelection): adapted too.
16511
16512         * text.C (selectNextWord): adapted for use with insets.
16513         (selectSelectedWord): ditto
16514
16515 2001-07-17  Juergen Vigna  <jug@sad.it>
16516
16517         * sp_spell.C (PSpell): fix initialitation order.
16518
16519 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16520
16521         * paragraph.C: spacing
16522
16523 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16524
16525         * sp_spell.C: repair language selection for pspell
16526
16527 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16528
16529         * lyxfunc.h: change more methods to begin with lower char.
16530
16531 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16534         for unknown layouts.
16535
16536 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16537
16538         * buffer.C (readLyXformat2): Generate an error dialog if there are
16539         unknown layouts.
16540
16541 2001-07-16  Juergen Vigna  <jug@sad.it>
16542
16543         * sp_spell.C: always compile ISpell part.
16544
16545         * lyxrc.C: added use_pspell entry and it's handling.
16546
16547 2001-07-13  Juergen Vigna  <jug@sad.it>
16548
16549         * sp_spell.C: removed double includes.
16550
16551 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16552
16553         Consistent use of Lsstream.h:
16554         * Lsstream.h: added using std::stringstream for consistencies sake.
16555
16556         * buffer.C: removed using std::stringstream
16557
16558         * lyxfont.C (stateText):
16559         * paragraph.C (asString):
16560         * text.C (selectNextWord, selectSelectedWord):
16561         * text2.C (setCounter):
16562         * vspace.C (asString, asLatexString):
16563         std::ostringstream -> ostringstream.
16564
16565 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16566
16567         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16568         * commandtags.h: add LFUN_HELP_ABOUTLYX
16569         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16570
16571 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16572
16573         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16574         cursorToggle()
16575         * lyx_gui_misc.C: remove spellchecker
16576         * lyxfunc.C: showSpellchecker
16577         * sp_base.h: added
16578         * sp_ispell.h: added
16579         * sp_pspell.h: added
16580         * sp_spell.C: added
16581         * sp_form.[Ch]: removed
16582         * spellchecker.[Ch]: removed
16583
16584 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16585
16586         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16587         is set.
16588         (simpleTeXSpecialChars): Simply print the input character without
16589         any special translation if pass_thru is set.
16590
16591         * layout.h: Added bool pass_thru to layout class for being able to
16592         implement pass through of a paragraph for Literate Programming.
16593
16594         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16595         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16596         * layout.C (Read): add "passthru" to list of layout tags and add
16597         code to set the pass_thru boolean when it is read.
16598
16599 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * trans_decl.h: remove allowed from KmodInfo
16602
16603         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16604         remove allowed code
16605         (Load): adjust
16606
16607         * paragraph_pimpl.C (erase): use boost::prior
16608
16609         * Painter.C (text): use data() instead of c_str() when length is
16610         also provided.
16611         * WorkArea.C (putClipboard): ditto
16612         * font.h (width): ditto
16613
16614         * BufferView2.C: use it-> instead of (*it). for iterators
16615         * texrow.C: ditto
16616         * paragraph_pimpl.C: ditto
16617         * paragraph.C: ditto
16618         * minibuffer.C: ditto
16619         * language.C: ditto
16620         * kbmap.C: ditto
16621         * encoding.C: ditto
16622         * counters.C: ditto
16623         * converter.C: ditto
16624         * chset.C: ditto
16625         * Variables.C: ditto
16626         * TextCache.C: ditto
16627         * MenuBackend.C: ditto
16628         * LyXAction.C: ditto
16629         * LColor.C: ditto
16630         * FloatList.C: ditto
16631         * DepTable.C: ditto
16632         * ColorHandler.C (LyXColorHandler): ditto
16633
16634 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16635
16636         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16637
16638         * text2.C (openStuff): reintroduce this method (which had been
16639         nuked in NEW_INSETS frenzy).
16640
16641         * lyxfunc.C (Dispatch): when an action has not been handled, use
16642         its name in the error message, not its number.
16643
16644         * paragraph.C (inInset): change method name to begin with lowercase.
16645
16646         * undo_funcs.C:
16647         * text2.C: updates because of this.
16648
16649 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * ToolbarDefaults.C (add): add spaces in error message
16652
16653 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16654
16655         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16656         (readLyXformat2): rename return_par to first_par, use lyxlex's
16657         pushToken and remove the manual push handling.
16658         (parseSingleLyXformat2Token): add another ert comp. variable:
16659         in_tabular, rename return_par to first_par. handle newlines better
16660
16661 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16662
16663         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16664
16665 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16666
16667         * text2.C (getParFromID): removed
16668
16669         * buffer.C (getParFromID): new method moved form lyxtext.
16670         * BufferView2.C (insertErrors): adjust
16671         (setCursorFromRow): adjust
16672         * BufferView_pimpl.C (restorePosition): adjust
16673         * lyxfunc.C (Dispatch): adjust
16674         * undo_funcs.C (textUndo): adjust
16675         (textRedo): adjust
16676         (textHandleUndo): adjust
16677         (textHandleUndo): adjust
16678
16679 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16680
16681         * buffer.C: up' the LYX_FORMAT
16682
16683         * lyxfont.h: turn NO_LATEX on as default
16684
16685         * buffer.C (insertErtContents): new methods of tex style compability.
16686         (parseSingleLyXformat2Token): use it several places.
16687         * tabular.C (OldFormatRead): and here
16688
16689 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16690
16691         * text2.C: remove some commented code.
16692         reindent file.
16693
16694         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16695         * trans.C: changes because of the above.
16696
16697 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16698
16699         * text2.C (setCounter): Fix counters bug with bibliography layout.
16700
16701 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16702
16703         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16704         own member functions
16705         (simpleTeXSpecialChars): ditto
16706
16707 2001-07-06  Juergen Vigna  <jug@sad.it>
16708
16709         * a lot of files: changed the access to LyXText::status and the
16710         call of undo-functions.
16711
16712         * undo.[Ch]: added a inset_id to the undo informations.
16713
16714         * undo_funcs.[Ch]: added and moved here all undo functions.
16715
16716         * lyxtext.h: give the status enum a weight, made status_ a private
16717         variable and made accessor functions for it, removed the whole bunch
16718         of undo-functions as they are now in their own file, make some
16719         functions publically available. Added function ownerParagraph with
16720         int parameter.
16721
16722         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16723         made InInset() a const function, added getParFromID() function.
16724
16725         * buffer.[Ch]: added const version for inset_iterator functions,
16726         added getInsetFromID() function.
16727
16728         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16729         changed undo functions for new version.
16730
16731 2001-07-05  Juergen Vigna  <jug@sad.it>
16732
16733         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16734         unknow mechanism does not call the proper constructor but only this
16735         one also if I request the other!?
16736
16737 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16740
16741         * text2.C (LyXText): use initialization lists.
16742
16743         * lyxtext.h (Selection): initialize set_ and mark_
16744         (init): remove method
16745
16746 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16747
16748         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16749
16750 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16751
16752         * screen.[Ch]: change method names to begin with lowercase
16753
16754         * BufferView_pimpl.C (updateScrollbar): simplify further and
16755         hopefully make it a bit faster.
16756
16757 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16758
16759         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16760         calling directly xforms functions.
16761
16762         * Painter.C (Painter):
16763         * lyx_cb.C (MenuWrite):
16764         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16765         fl_display.
16766
16767         * lyx_gui.C: remove bogus guiruntime extern declaration.
16768
16769 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16770
16771         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16772         in NEW_INSETS
16773         (redoDrawingOfParagraph): ditto
16774         (redoParagraphs): ditto
16775         (cutSelection): don't create a object for CutAndPaste use the
16776         static method directly
16777         (pasteSelection): ditto
16778
16779         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16780         LyXview (+ rename)
16781
16782 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16783
16784         * modifications to some other files because of this.
16785
16786         * Makefile.am (lyx_SOURCES): add XFormsView
16787
16788         * XFormsView.[Ch]: new files
16789
16790         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16791         the main window. Move the gui dependent stuff to XFormsView
16792
16793 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * tabular.C (GetCellInset): update cur_cell also in the row/col
16796         version of this function.
16797
16798         * lyxfunc.C: no need to include figure_form.h here.
16799
16800         * FontLoader.h:
16801         * lyxfunc.h:
16802         * lyxscreen.h:
16803         * text2.C:
16804         * lyxvc.C: no need to include forms.h here.
16805
16806 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16807
16808         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16809
16810         * lyxfunc.C (Dispatch):
16811         * Spacing.C (set):
16812         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16813         constructor argument.
16814
16815 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16816
16817         * paragraph.C (Paragraph): dont't clear, and just set layout.
16818         (makeSameLayout): use params's copy contructor.
16819
16820         * ParagraphParameters.[Ch] (makeSame): delete method
16821
16822 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16823
16824         * Variables.[Ch]: fix indentation, rename set to isSet
16825
16826 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16827
16828         * lyxfunc.C (Dispatch): fix typo
16829
16830 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16831
16832         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16833         upper_bound.
16834
16835         * bufferlist.C: include assert.h for emergencyWrite().
16836
16837 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16838
16839         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16840           give up at last (bug #425202) !
16841
16842 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16843
16844         * lyx_gui_misc.C:
16845         * sp_form.h:
16846         * sp_form.C:
16847         * spellchecker.h:
16848         * spellchecker.C: strip spellchecker options and bring up
16849           preferences tab instead
16850
16851 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16852
16853         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16854         the istringstream constructor
16855
16856 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16857
16858         * paragraph.C (getLayout): fix return value
16859
16860         * paragraph.h: do not declare getLayout as inline.
16861
16862         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16863
16864 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16865
16866         * lyxcursor.h (operator<): new func
16867         (operator>): new func
16868         (operator>=): new func
16869         (operator<=): new func
16870
16871         * text.C (changeCase): use selection.start and selection.end
16872         (changeRegionCase): require from to be <= to. Require par to be a
16873         valid paragraph.
16874
16875         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16876
16877 2001-06-27  Juergen Vigna  <jug@sad.it>
16878
16879         * text.C (cursorLeftOneWord): changed to return the cursor and added
16880         overlay with BufferView * parameter which calls this one.
16881         (getWord): added
16882         (selectWord): use new getWord function.
16883         (changeCase): renamed from changeWordCase as and extended to work
16884         also on selections.
16885
16886         * lyxtext.h: added enum word_location
16887
16888         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16889         changeCase as this operates now also on selections.
16890
16891 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16892
16893         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16894
16895         * many files: send debug output to Debug::INFO instead of
16896         Debug::ANY.
16897
16898         * converter.C (View):
16899         (Convert):
16900         (Move): send debug output to Debug::FILES instead of console.
16901
16902 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16903
16904         * lyxfunc.C (getStatus): use func_status
16905
16906         * func_status.h: new header, describing the results of
16907         LyXFunc::getStatus;
16908
16909         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16910         LFUN_MATH_HALIGN.
16911
16912 2001-06-25  The LyX Project  <jug@sad.it>
16913
16914         * buffer.C (sgmlOpenTag):
16915         (sgmlCloseTag):
16916         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16917
16918 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16919
16920         * text2.C: remove some dead code
16921
16922         * tabular.C (GetCellInset): store the last cell checked (gotten)
16923
16924         * tabular.h: add the helper for the speedup
16925
16926         * lyxtext.h: remove some dead code
16927
16928 2001-06-26  The LyX Project  <Asger>
16929
16930         * paragraph.C: Change export to LaTeX of alignment to
16931         \begin{center} and family for better roundtrip work with reLyX.
16932
16933         * Tune the math drawing a bit.
16934
16935 2001-06-25  The LyX Project  <Asger>
16936
16937         * LColor.C (LColor): New color for math background. New color
16938         for buttons.
16939
16940 2001-06-25  The LyX Project  <jug@sad.it>
16941
16942         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16943
16944         * lyxfunc.C (Open):
16945         * bufferlist.C (newFile): do not restrict to files ending with
16946         .lyx
16947
16948         * BufferView_pimpl.C (MenuInsertLyXFile):
16949
16950 2001-06-24  The LyX Project  <jug@sad.it>
16951
16952         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16953         of compare_no_case
16954
16955 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16956
16957         * lyxtext.h: rename most methods to begin with a small char.
16958         Lots of changes because of this.
16959
16960         * paragraph.C (Paragraph): do not call fitToSize
16961         (erase): call Pimpl::erase
16962         (insertChar): call Pimpl::insertChar
16963         (insertInset): call Pipl::insertInset
16964         (breakParagraph): do not call fitToSize
16965         (breakParagraphConservative): do not call fitToSize
16966         (fitToSize): remove method
16967
16968         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16969
16970 2001-06-24  The LyX Project  <Asger>
16971
16972         * Fix Qt compilation^2
16973
16974 2001-06-24  The LyX Project  <jug@sad.it>
16975
16976         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16977         depthHook(getDepth()-1).
16978
16979         * paragraph.h:
16980         * ParagraphParameters.h:
16981         * ParameterStruct.h: change type of depth to unsigned int ==
16982         depth_type. Many adaptations to other files before of that.
16983
16984 2001-06-24  The LyX Project  <Asger>
16985
16986         * Fix Qt compilation.
16987
16988 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16989
16990         * paragraph.h: renamed several methods to begin with small letter.
16991         several changes to many parts of the code because of this.
16992
16993 2001-06-23  The LyX Project  <jug@sad.it>
16994
16995         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16996         rewritten to discard all double spaces when KeepEmpty is off
16997         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16998         to only handle newlines but not fiddle with spaces and friends.
16999
17000         * lyxfunc.C (MenuNew): when doing 'new from template', use
17001         template_path as default directory
17002
17003 2001-06-23  The LyX Project  <Asger>
17004
17005         * Clean-up of header file includes all over
17006         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17007
17008 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17009
17010         * paragraph.h: renamed from lyxparagraph.h
17011
17012 2001-06-23  Asger  <lyx@violet.home.sad.it>
17013
17014         * Buffer.h: Removed Buffer::resize
17015         * BufferList.h: Removed BufferList::resize
17016         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17017         the document lazily when we change the width, or the font settings.
17018
17019 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17020
17021         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17022
17023 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17024
17025         * buffer.h: remove out of date comment
17026
17027 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17028
17029         * lyxscreen.h:
17030         * screen.C: fix "theoretical" GC leak
17031
17032 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17033
17034         * LaTeX.C (scanAuxFile):
17035         (deplog): remove trailing \r when reading stream (useful under
17036         win32)
17037
17038 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17039
17040         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17041         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17042         and BufferView::theLockingInset(Inset*), so should use them and not
17043         access bv_->text->the_locking_inset directly.
17044
17045         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17046
17047 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17048
17049         * Makefile.am:
17050         * tex-defs.h: remove old unused file
17051
17052 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17053
17054         * BufferView_pimpl.C: fix typo, remove minibuffer message
17055           when buffer has loaded
17056
17057 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17058
17059         * lyxfunc.C (Dispatch): use stringstream
17060         (MenuNew): use stringstream
17061         (Open): use stringstream
17062
17063         * importer.C (Import): use stringstream
17064
17065         * bufferview_funcs.C (CurrentState): use stringstream
17066
17067         * LaTeX.C (run): use stringstream
17068
17069         * BufferView_pimpl.C (savePosition): use stringstream
17070         (restorePosition): use stringstream
17071         (MenuInsertLyXFile): use stringstream
17072
17073 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17074
17075         * BufferView.C:
17076         * Bullet.C:
17077         * ColorHandler.C:
17078         * FontInfo.C:
17079         * FontLoader.C:
17080         * LColor.C:
17081         * LaTeXFeatures.C:
17082         * Painter.C:
17083         * gettext.C:
17084         * lyx_gui_misc.C:
17085         * lyxserver.C:
17086         * vspace.C: removed // -*- C++ -*- as first line.
17087
17088         * lyxfind.h:
17089         * version.h: added // -*- C++ -*- as first line.
17090
17091 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17092
17093         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17094
17095         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17096         of string
17097
17098 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17099
17100         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17101         of floats.
17102
17103 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17104
17105         * gettext.C: include LString.h even when --disable-nls is on.
17106
17107 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17108
17109         * converter.h (Get): changed argument type from int to
17110         FormatList::size_type to avoid unnecessary conversion.
17111
17112         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17113         before using it.
17114
17115 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17116
17117         * gettext.h: include LString.h even when --disable-nls is on.
17118
17119 2001-06-07  Juergen Vigna  <jug@sad.it>
17120
17121         * text.C (BreakAgain): subst spaces with tabs.
17122
17123         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17124         (resizeInsetsLyXText): set force on resizeLyXText.
17125
17126 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17127
17128         * gettext.h (gettext_init):
17129         (locale_init): use a real definition instead of a macro
17130
17131 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17132
17133         * Bufferview_pimpl.C:
17134         * LColor.h:
17135         * LColor.C: further lcolor tidies
17136
17137 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17138
17139         * BufferView_pimpl.C (updateScrollbar): simplify.
17140
17141         * BufferView2.C: don't include insets/insetinfo.h, change
17142         prototype for insertInset and call the Pimpl version. let
17143         updateInset call Pimpl version.
17144
17145         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17146         gotoInset to BufferView::Pimpl
17147
17148 2001-06-01  Juergen Vigna  <jug@sad.it>
17149
17150         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17151         inside a LockingInset (is the update needed at all?).
17152
17153 2001-05-31  Juergen Vigna  <jug@sad.it>
17154
17155         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17156         here not the old one otherwise how should we compare it afterwards
17157         if it's the same!
17158
17159 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17160
17161         * lyxfont.C:
17162         * tabular.C:
17163         * tabular-old.C:
17164         * FontInfo.C: bring C functions into global namespace when
17165         necessary
17166
17167 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17168
17169         * LString.h: make sure config.h has been loaded before LString.h.
17170
17171         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17172         (one for each char read by EatLine!).
17173
17174         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17175         variables.
17176
17177 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17178
17179         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17180         to the same as the par we break from
17181
17182 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17183
17184         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17185
17186         * MenuBackend.C (expand): also create menu entries for wide
17187         versions of the floats.
17188
17189         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17190
17191         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17192
17193         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17194         frontends/Makefile.am
17195
17196         * text2.C: adjust
17197         * text.C: adjust
17198
17199
17200         * tabular.C (getTokenValue): add std::
17201
17202         * tabular-old.C (getTokenValue): add std::
17203         (getTokenValue): ditto
17204         (getTokenValue): ditto
17205
17206         * screen.C (ToggleSelection): adjust
17207
17208         * lyxtext.h: put selection cursors inside a Selection struct.
17209
17210         * lyxfunc.C (moveCursorUpdate): adjust
17211
17212         * lyxfont.C (latexWriteStartChanges): add std::
17213
17214         * lyxfind.C: adjust
17215
17216         * font.h: delete with(char const *, LyXFont const &)
17217
17218         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17219
17220         * FontInfo.C (getFontname): add std::
17221
17222         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17223         (workAreaButtonPress): adjust
17224         (tripleClick): adjust
17225         (update): adjust
17226         (moveCursorUpdate): adjust
17227         (Dispatch): adjust
17228
17229         * BufferView2.C (gotoInset): adjust
17230
17231 2001-05-30  Juergen Vigna  <jug@sad.it>
17232
17233         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17234         to check pspell I add this as default as I now have new pspell
17235         libraries and they seem to use this.
17236
17237 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17238
17239         * text2.C (CutSelection): make the cursor valid before the call to
17240         ClearSelection.
17241
17242 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17243
17244         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17245         relied on 0 terminated strings and other horrors. Bug found due to
17246         the new assert in lyxstring!
17247
17248         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17249         KP_ keys.
17250
17251 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17252
17253         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17254         to latinkeys.bind.
17255
17256         * lyxfunc.C (processKeySym): change method of getting to the
17257         self-insert char.
17258
17259         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17260         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17261         * BufferView_pimpl.[Ch]: here as private methods.
17262
17263 2001-05-28  Juergen Vigna  <jug@sad.it>
17264
17265         * text.C (SetHeightOfRow): added the update() call again as it is
17266         needed to initialize inset dimensions!
17267
17268 2001-05-16  Juergen Vigna  <jug@sad.it>
17269
17270         * text2.C (SetCharFont): Add new function with BufferView * and
17271         bool toggleall parameters for setting insets internal fonts.
17272         (SetFont): Freeze the undo as we may change fonts in Insets and
17273         all this change should be inside only one Undo!
17274
17275         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17276         setting font's in insets as for them we have the SetFont function!
17277
17278 2001-05-15  Juergen Vigna  <jug@sad.it>
17279
17280         * text2.C (ClearSelection): to be sure we REALLY don't have any
17281         selection anymore!
17282
17283         * tabular.C (TeXCellPreamble): fixed the left border problem for
17284         multicolumn cells.
17285
17286 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17287
17288         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17289         dependancy file
17290
17291 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17292
17293         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17294         LFUN_BREAKPARAGRAPH.
17295
17296         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17297         help test to "internal only", similar for LFUN_INSERT_URL
17298
17299         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17300         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17301         auto_region_delete and deadkeys.
17302
17303 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17304
17305         * LColor.h:
17306         * LColor.C: remove some dead entries, tidy a little
17307
17308 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17309
17310         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17311         commented code.
17312         (Dispatch): implement LFUN_ESCAPE
17313
17314         * commandtags.h: add LFUN_ESCAPE
17315
17316         * LyXAction.C (init): add entry for LFUN_ESCAPE
17317
17318         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17319         Remove commented code.
17320         (insertNote): moved here
17321         (open_new_inset): moved here
17322
17323         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17324         BufferView_pimpl
17325
17326 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17327
17328         * kbmap.C (findbinding): clean it up and make it work correctly.
17329
17330         * lyx_main.C (init): do not pass argc and argv as parameters
17331
17332 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17333
17334         * buffer.C: fix path for OS/2 & Win32
17335
17336         * lyx_gui.C:
17337         * lyx_main:
17338         * lyx_main.C: Added os:: class.
17339
17340         * os2_defines.h: update
17341
17342 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17343
17344         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17345         better by trying again with reduced state.
17346
17347 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17348
17349         * lyxrc.C (read): print error about invalid key sequence only when
17350         debugging (because not all latinX keysyms are known to some X
17351         servers)
17352
17353         * kbsequence.C (getiso): add a few std:: qualifiers
17354         (getiso): comment out extra return statement.
17355
17356 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17357
17358         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17359         handling.
17360         (Dispatch): enhance the accent inset a bit. (not perfect)
17361
17362 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17363
17364         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17365
17366 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17367
17368         * bufferlist.C (emergencyWrite): fix assert() call
17369
17370 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17371
17372         * text.C (InsertChar): Added trivial patch to only send the "you
17373         can not do multiple spaces this way" message once during a
17374         session.
17375
17376 2001-05-08  Baruch Even  <baruch@lyx.org>
17377
17378         * Makefile.am: Changed order of libraries to get LyX to link properly
17379         with the gnome frontend.
17380
17381 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17382
17383         * LaTeXFeatures.h: add a std:: qualifier
17384
17385 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17386
17387         * paragraph.C (String): use stringstream
17388
17389 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17390
17391         * paragraph.C (writeFile): remove footflag arg
17392
17393         * buffer.C (makeLaTeXFile): use stringstream
17394         (latexParagraphs): remove footnot gurba
17395
17396         * LaTeXFeatures.C (getPackages): use stringstream
17397         (getMacros): likewise
17398         (getTClassPreamble): likewise
17399         (getFloatDefinitions): new method
17400
17401         * paragraph.C (writeFile): reindent
17402         (Erase): reindent
17403
17404         * WorkArea.h: revert the xpos + etc changes.
17405
17406         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17407
17408         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17409
17410         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17411         (pasteSelection): likewise
17412         * text2.C (CreateUndo): likewise
17413
17414 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17415
17416         * minibuffer.C (peek_event): temporarily reduce the functionality
17417         of the minibuffer (to allow args on lfuns)
17418
17419         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17420         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17421
17422         * buffer.C (readInset): add compability reading of old float
17423         lists, add reading of new style float list.
17424         (readInset): avoid reevaluation of inscmd.getCmdName()
17425         (getLists): reindent
17426
17427         * MenuBackend.C (MenuItem): implement parsing of
17428         md_floatlistinsert and md_floatinsert.
17429         (expand::LastFiles): move initalizaton of iterators out of loop,
17430         avoid reevaluation.
17431         (expand::Documents): introduce typdedef vector<string> Strings,
17432         and use it.
17433         (expand::ExportFormats): introduce typedef vector<Format const *>
17434         Formats, and use it.
17435         (expand): implement FloatListInsert and FloatInsert.
17436
17437         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17438         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17439         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17440
17441         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17442         handling.
17443         (Dispatch::LFUN_FLOAT_LIST): implement
17444
17445 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17446
17447         * LaTeX.C (run): Fix problem with --export code.
17448
17449 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17450
17451         * BufferView.[Ch] (workarea): removed.
17452         (getClipboard) new method; wrapper for workarea()->getClipboard()
17453
17454         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17455         bug.
17456
17457         * WorkArea.h (width, height, xpos, ypos): These methods all
17458         returned the dimensions of the work_area sub-area of WorkArea,
17459         resulting in a position error if the WorkArea were resized. Now
17460         return the dimensions of the entire WorkArea.
17461
17462         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17463
17464 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17465
17466         * LaTeX.C (deplog): correct the syntax of regex reg1
17467
17468 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17469
17470         * undo.C: remove !NEW_INSETS cruft
17471
17472 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17473
17474         * text2.C: remove !NEW_INSETS cruft
17475
17476         * text.C: remove !NEW_INSETS cruft
17477
17478         * tabular.C: remove !NEW_INSETS cruft
17479
17480         * spellchecker.C: remove !NEW_INSETS cruft
17481
17482         * lyxtext.h: remove !NEW_INSETS cruft
17483
17484         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17485
17486         * lyxfunc.C: remove !NEW_INSETS cruft
17487
17488         * lyxfind.C: remove !NEW_INSETS cruft
17489
17490         * lyx_cb.C: remove !NEW_INSETS cruft
17491
17492         * figureForm.C: remove  !NEW_INSETS cruft
17493
17494         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17495
17496         * buffer.[Ch]: remove !NEW_INSETS cruft
17497
17498         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17499
17500         * CutAndPaste.C: remove !NEW_INSETS cruft
17501
17502         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17503
17504         * BufferView2.C: remove !NEW_INSETS cruft
17505
17506         * BufferView.h: remove !NEW_INSETS cruft
17507
17508 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17509
17510         * Lsstream.h: include LString.h before the sstream headers to
17511         fix problem with gcc 2.95.3 and lyxstring
17512
17513 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17514
17515         * lyx_main.C: add using directives when needed for C functions
17516         declared in std:: namespace.
17517
17518 2001-04-27  Juergen Vigna  <jug@sad.it>
17519
17520         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17521         (SetHeightOfRow): comment out the update call should not be needed!
17522
17523 2001-04-13  Juergen Vigna  <jug@sad.it>
17524
17525         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17526         (LyXTabular): tried to minimize operator= operations (and realized
17527         hopfully Lars wish).
17528
17529 2001-04-27  Juergen Vigna  <jug@sad.it>
17530
17531         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17532
17533 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17534
17535         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17536
17537         * buffer.C (readInset): hack to make listof algorithm work
17538
17539         * BufferView_pimpl.C: hack to make listof algorithm work
17540
17541 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17542
17543         * LyXAction.C: removed all !NEW_INSETS cruft
17544         (init): moved lfun_item in method
17545
17546         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17547
17548 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17549
17550         * BufferView2.C (theLockingInset): white space.
17551
17552 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17553
17554         * minibuffer.C: include <iostream>
17555
17556         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17557
17558         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17559
17560         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17561
17562         * text.[Ch] (TransposeChars): new method
17563
17564 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17565
17566         * call message directly through LyXView instead of through LyXFunc
17567         * BufferView2.C: adjust
17568         * BufferView_pimpl.C: adjust
17569         * FontLoader.C: adjust
17570         * buffer.C: adjust
17571         * bufferview_funcs.C: adjust
17572         * converter.C: adjust
17573         * figureForm.C: adjust
17574         * importer.C: adjust
17575         * lyx_cb.C: adjust
17576         * lyx_gui_misc.C: adjust
17577         * lyxfunc.C: adjust
17578         * lyxvc.C: adjust
17579         * text2.C: adjust
17580         + more files in subdirs
17581
17582         * lyxparagraph.h (size): move up int file
17583         (GetLayout): ditto
17584
17585         * adjust all uses of Assert to lyx::Assert.
17586
17587         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17588         lyxfunctional in namespace lyx
17589         * layout.C (hasLayout): ditto
17590         (GetLayout): ditto
17591         (GetLayout): ditto
17592         (delete_layout): ditto
17593         (NumberOfClass): ditto
17594         * converter.C (GetFormat): ditto
17595         (GetNumber): ditto
17596         (Add): ditto
17597         (Delete): ditto
17598         (SetViewer): ditto
17599         * bufferlist.C (getFileNames): ditto
17600         (emergencyWriteAll): ditto
17601         (exists): ditto
17602         (getBuffer): ditto
17603         * MenuBackend.C (hasSubmenu): ditto
17604         (hasMenu): ditto
17605         (getMenu): ditto
17606         * BufferView_pimpl.C (getInsetByCode): ditto
17607
17608 2001-04-18  Juergen Vigna  <jug@sad.it>
17609
17610         * vspace.C (asLatexString): fixed the 100% problem.
17611
17612 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17613
17614         * lyxfunc.C (Dispatch):
17615         * minibuffer.C:
17616         * minibuffer.h: add a few std:: qualifiers
17617
17618 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17619
17620         * minibuffer.[Ch]: reimplement so that commands is initiated and
17621         run from lyxfunc, simplified som handling, and made the completion
17622         and history code for complete. wip.
17623
17624         * lyxfunc.C (processKeySym): call message
17625         (miniDispatch): new temporary method
17626         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17627         (LFUN_MESSAGE): implement
17628         (LFUN_MESSAGE_PUSH): implement
17629         (LFUN_MESSAGE_POP): implement
17630         (initMiniBuffer): the initial/defualt minibuffer message.
17631
17632         * lyxfont.[Ch]: inline some more getters
17633
17634         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17635
17636         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17637
17638         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17639         (AutoSave): use LFUN_MESSAGE
17640         (Reconfigure): ditto
17641
17642         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17643
17644         * figureForm.C: use LFUN_MESSAGE
17645
17646         * converter.C (runLaTeX): use LFUN_MESSAGE
17647
17648         * bufferview_funcs.C: use LFUN_MESSAGE
17649         (Melt): ditto
17650         (changeDepth): ditto
17651
17652         * bufferparams.h: use boost::
17653
17654         * bufferlist.h: inherit privately from noncopyable
17655
17656         * bufferlist.C (loadLyXFile): remove some commented code.
17657
17658         * buffer.C (runChktex): use LFUN_MESSAGE
17659
17660         * ShareContainer.h: inherit privately from noncopyable
17661
17662         * ParagraphParameters.[hC] (depth): inline it.
17663
17664         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17665         methods.
17666         (message): new method
17667         (messagePush): ditto
17668         (messagePop): ditto
17669         (show): init minibuffer
17670         (showState): direct call
17671
17672         * LaTeX.[Ch]: inherit privately from noncopyable
17673         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17674         instead of WriteStatus.
17675
17676         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17677
17678         * BufferView_pimpl.C (buffer): don't init minibuffer
17679         (workAreaButtonPress): use LFUN_MESSAGE
17680         (workAreaButtonRelease): ditto
17681         (savePosition): ditto
17682         (restorePosition): ditto
17683         (MenuInsertLyXFile): ditto
17684         (workAreaExpose): don't init minibuffer
17685         (update): remove commented code, simplify
17686
17687         * BufferView2.C (openStuff): use LFUN_MESSAGE
17688         (toggleFloat): ditto
17689         (menuUndo): ditto
17690         (menuRedo): ditto
17691         (copyEnvironment): ditto
17692         (pasteEnvironment): ditto
17693         (copy): ditto
17694         (cut): ditto
17695         (paste): ditto
17696         (gotoInset): ditto
17697         (updateInset): remove some commented code
17698
17699         * lastfiles.h: inherit privately from noncopyable
17700         * layout.h: ditto
17701         * lyx_gui.h: ditto
17702         * lyx_main.h: ditto
17703         * lyxlex.h: ditto
17704         * lyxlex_pimpl.h: ditto
17705
17706         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17707         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17708         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17709
17710         * LyXAction.h: inherit privately from noncopyable, add methods
17711         func_begin, func_end, returning iterators to the func map.
17712
17713         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17714         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17715         (func_begin): new method
17716         (func_end): new method
17717
17718         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17719         and not)
17720         (copySelection): ditto
17721         (pasteSelection): ditto
17722
17723         * BufferView.C: whitespace change
17724         * BufferView.h: inherit privately from noncopyable
17725
17726 2001-04-16  Allan Rae  <rae@lyx.org>
17727
17728         * tabular-old.C (l_getline):
17729         * spellchecker.C (sc_check_word):
17730         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17731         an unrecognised preprocessor directive.  So ensure they're wrapped.
17732
17733 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17734
17735         * src/exporter.C (Export): Give an error message when path to file
17736         contains spaces.
17737
17738 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17739
17740         * LaTeX.C (deplog): Always check that foundfile exists.
17741
17742 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17743
17744         * lyx_main.h:
17745         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17746
17747 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17748
17749         * tabular.[Ch] (getLabelList): implement new method
17750
17751         * minibuffer.h: comment ouf setTiimer
17752
17753         * minibuffer.C (ExecutingCB): constify res
17754         (peek_event): constify s
17755         (Set): constify ntext
17756         (Init): constify nicename
17757
17758         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17759
17760         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17761         (savePosition): use two params to Minibuffer::Set
17762         (restorePosition): ditto
17763
17764 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17765
17766         * lyx_main.C: include language.h
17767
17768         * Makefile.am (lyx_main.o): add language.h
17769
17770 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17771
17772         * exporter.C:
17773         * paragraph.C:
17774         * screen.C:
17775         * tabular.C:
17776         * CutAndPaste.C: include gettext.h
17777
17778         * lyxfont.h: remove old hack with ON and OFF.
17779
17780         * lyxparagraph.h:
17781         * lyxfont.h: do not include language.h...
17782
17783         * BufferView2.C:
17784         * LaTeXFeatures.C:
17785         * Painter.C:
17786         * bufferview_funcs.C:
17787         * font.C:
17788         * lyxfont.C:
17789         * text.C:
17790         * text2.C:
17791         * trans_mgr.C:
17792         * paragraph.C: ... but do it here instead
17793
17794 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17795
17796         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17797
17798         * tabular.C: small reformat
17799
17800         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17801         NEW_INSETS version
17802         (GetChar): ditto
17803         (BreakParagraph): ditto
17804         (SetOnlyLayout): ditto
17805         (SetLayout): ditto
17806
17807         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17808         with one arg less.
17809
17810         * lastfiles.C: removed most using decl, add std:: where needed
17811
17812         * buffer.C: ws changes
17813
17814         * MenuBackend.C (class compare_format): put into anon namespace
17815         (expand): constify label, names, action, action2
17816         (expand):
17817
17818         * text.C (SingleWidth): constify font
17819         (IsBoundary): constify rtl2
17820         (GetVisibleRow): constify ww
17821
17822         * LaTeX.C (deplog): constify logfile
17823
17824         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17825         start_x, end_x
17826         (workAreaExpose): constify widthChange, heightChange
17827
17828         * lyxrow.C (par): moved
17829         (height): moved
17830         (next): moved
17831         * lyxrow.h: as inlines here
17832
17833         * lyxfont.h (shape): moved from lyxfont.C
17834         (emph): moved from lyxfont.C
17835
17836         * lyxfont.C (LyXFont): use initialization list for all
17837         constructors
17838         (shape): move to lyxfont.h as inline
17839         (emph): move to lyxfont.h as inline
17840
17841
17842 2001-04-04  Juergen Vigna  <jug@sad.it>
17843
17844         * vspace.C: had to include stdio.h for use of sscanf
17845
17846 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17847
17848         * BufferView.h:
17849         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17850         independent of xforms.
17851
17852 2001-04-02  Juergen Vigna  <jug@sad.it>
17853
17854         * spellchecker.C: fixed namespace placing!
17855
17856 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17857
17858         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17859         the LyXParagraph * is 0.
17860
17861 2001-03-29  Juergen Vigna  <jug@sad.it>
17862
17863         * vspace.C: added support for %, c%, p%, l%.
17864         (stringFromUnit): added helper function.
17865         (asLatexString): changed to give right results for the %-values.
17866
17867         * buffer.C: convert the widthp in a width%.
17868
17869 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17870
17871         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17872         figureForm.[Ch].
17873
17874         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17875         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17876
17877         * lyx_cb.[Ch]: see above.
17878
17879         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17880         form1.[Ch].
17881
17882         * form1.[Ch]:
17883         * lyx.[Ch]: replaced by figure_form.[Ch].
17884
17885         * lyx_gui.C:
17886         * lyx_gui_misc.C:
17887         * lyxfunc.C: changed headers associated with above changes.
17888
17889 2001-03-27  Juergen Vigna  <jug@sad.it>
17890
17891         * BufferView_pimpl.C: set the temporary cursor right!
17892
17893 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17894
17895         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17896
17897 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17898
17899         * LString.h: removed "using std::getline"!
17900
17901         * BufferView_pimpl.C (Dispatch): changes due to changes in
17902         InsetInclude::Params.
17903
17904         * buffer.C (tag_name): removed redundant break statements as they were
17905         producing lots of warnings with my compiler.
17906
17907 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17908
17909         * LString.h: add "using std::getline" when using the real <string>.
17910
17911 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17912
17913         * buffer.C: removed bitset usage.
17914         PAR_TAG moved to an anonymous name space.
17915         (tag_name): new funtion, also in the anonymous namespace.
17916         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17917         (makeDocBookFile): clean code. Completed transition from string arrays
17918         to string vectors.
17919         (SimpleDocBookOnePar): code clean.
17920
17921 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17922
17923         * tabular.C: add some comments.
17924
17925 2001-03-22  Juergen Vigna  <jug@sad.it>
17926
17927         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17928         compatibility read a bit and fixed bug with minipage in different
17929         depth.
17930
17931 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17932
17933         * buffer.C (pop_tag): removed.
17934         (push_tag): removed.
17935         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17936         array replaced with vector. Added support for CDATA sections.
17937         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17938         at any nest level.
17939         (makeDocBookFile): XML conformant declaration of CDATA section,
17940         fixed bug related to <emphasis> in the first paragraph char.
17941         (sgmlOpenTag): exclude empty tags.
17942         (sgmlCloseTag): ditto.
17943
17944         * buffer.h (pop_tag): removed.
17945         (push_tag): removed.
17946
17947 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17948
17949         * language.h (Languages): added size_type and size().
17950
17951 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17952
17953         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17954         response on compability reading of minipages. One probliem is that
17955         the old usage of minipages was flertydig
17956
17957         * several files here and in subdirs: don't use static at file
17958         scope use anon namespaces instead.
17959
17960 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17961
17962         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17963         LaTeX output. This is necessary for Literate document
17964         processing.
17965
17966 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17967
17968         * buffer.C: insert hfill when needed.
17969
17970         * tabular.C (l_getline): use string::erase, small whitespace change.
17971
17972         * BufferView_pimpl.C: try the anon namespace.
17973         * WorkArea.C: ditto
17974
17975 2001-03-16  Juergen Vigna  <jug@sad.it>
17976
17977         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17978         otherwise it won't open options-dialogs.
17979
17980         * buffer.C: honor pextraWidth(p) on converting minipages.
17981
17982         * tabular.C (l_getline): changed the functions to strip trailing \r.
17983
17984 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17985
17986         * BufferView_pimpl.C:
17987         * minibuffer..C: added "using SigC::slot" declaration.
17988
17989 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17990
17991         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17992
17993         * text2.C: ditto
17994
17995         * text.C: ditto
17996
17997         * paragraph.C: ditto
17998
17999         * lyxtext.h: NO_PEXTRA
18000
18001         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18002
18003         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18004         * ParameterStruct.h: ditto
18005         * ParagraphParameters.h: ditto
18006         * lyxparagraph.h: ditto
18007
18008 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18009
18010         * buffer.C: add compability for minipage alignment.
18011         (latexParagraphs): remove unwanted pextra check.
18012
18013         * several files: remove CXX_WORKING_NAMESPACES
18014
18015         * buffer.C (pop_tag): tie is in namespace boost
18016
18017         * BufferView.h: noncopyable is in namespace boost
18018         * lyxlex.h: ditto
18019         * lyx_main.h: ditto
18020         * lyx_gui.h: ditto
18021         * layout.h: ditto
18022         * lastfiles.h: ditto
18023         * bufferlist.h: ditto
18024         * ShareContainer.h: ditto
18025         * LyXView.h: ditto
18026         * LyXAction.h: ditto
18027         * LaTeX.h: ditto
18028
18029 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18030
18031         * Merging changes from BRANCH_MVC back into HEAD.
18032
18033         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18034
18035 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18036
18037         * BufferView_pimpl.C: change from intl.C
18038
18039         * combox.h:
18040         * combox.C:
18041         * Makefile.am: move combox.*
18042
18043         * form1.h:
18044         * form1.C:
18045         * lyx_gui.C:
18046         * intl.h:
18047         * intl.C: remove dialog (covered by prefs)
18048
18049 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18050
18051         * lyxfunc.C (Dispatch): removed redundant break statement.
18052
18053 2001-03-14  Juergen Vigna  <jug@sad.it>
18054
18055         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18056
18057 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18058
18059         * buffer.C: add hack to fix compability reading of minipages.
18060
18061 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18062
18063         * buffer.C (getLists): Cleanup.
18064
18065 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18066
18067         * lyxfont.C (update): don't honor toggleall on font size.
18068
18069 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18070
18071         * bmtable.c:
18072         * bmtable.h:
18073         * Makefile.am: moved to frontends/xforms/
18074
18075         * lyx_gui_misc.C:
18076         * lyxfunc.C:
18077         * BufferView_pimpl.C: changes for moved mathpanel
18078
18079 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18080
18081         * gettext.h: fix gettext_init() in --disable-nls
18082
18083 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18084
18085         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18086
18087 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18088
18089         * lyx.C:
18090         * lyx.h: strip external form
18091
18092 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18093
18094         * BufferView_pimpl.C: add comment, destroySplash()
18095
18096 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18097
18098         * BufferView_pimpl.C:
18099         * LyXAction.C:
18100         * buffer.C:
18101         * commandtags.h:
18102         * lyxfunc.C: use re-worked insetinclude
18103
18104 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18105
18106         * buffer.C: add using std::stringstream.
18107
18108         * lyx_cb.C: readd using std::ios.
18109
18110         * buffer.C: add using std::map.
18111
18112         * BufferView_pimpl.C: add using std::vector.
18113
18114         * ShareContainer.h: add std:: to swap.
18115
18116         * buffer.h: add some typedefs
18117         * buffer.C (getLists): use them
18118         (getLists): renamed from getTocList.
18119         add a counter for the different float types and use it in the
18120         generated string.
18121         (getLists): use the same counter for the NEW_INSETS and the "non"
18122         NEW_INSETS
18123
18124         * lyx_cb.h: remove unused items, includes, using etc.
18125
18126         * ShareContainer.h: remove some commented code, add more comments
18127         and "documentation".
18128
18129 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18130
18131         * buffer.C (getTocList): make the list also when NEW_INSETS is
18132         defined.
18133
18134         * buffer.h: remove TocType
18135
18136         * buffer.C (getTocList): change to return a map<string,
18137         vector<TocItem> >, implement for dynamic number of list.
18138
18139         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18140         * text2.C (PasteSelection): adjust
18141         * CutAndPaste.C (pasteSelection): adjust
18142
18143         * FloatList.C (FloatList): update from the new_insets branch.
18144         * Floating.[Ch]: ditto
18145         * LaTeXFeatures.C: ditto
18146         * buffer.C: ditto
18147         * lyxlex_pimpl.C: ditto
18148
18149         * paragraph.C (Last): remove when NEW_INSETS is defined.
18150
18151         * other file: changes because of the above.
18152
18153 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18154
18155         * lyxparagraph.h: rename next to next_, previous to previous_,
18156         make them private for NEW_INSETS. Rename Next() to next(),
18157         Previous() to previous().
18158
18159         * other files: changes because of the above.
18160
18161 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18162
18163         * BufferView.h:
18164         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18165         problem.
18166
18167 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18168
18169         * main.C (main): pass lyx_localedir to gettext_init().
18170
18171         * gettext.h: remove locale_init and gettext_init macros
18172
18173         * gettext.C (locale_init): new function
18174         (gettext_init): new function
18175
18176         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18177         setlocale().
18178
18179 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18180
18181         * Moved credits to frontends:
18182         * credits.[Ch]: removed
18183         * credits_form.[Ch]: removed
18184         * lyx_gui_misc.C: remove credits stuff
18185         * Makefile.am:
18186
18187 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18188
18189         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18190
18191         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18192         unneeded destructor.
18193
18194         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18195         a standalone pointer again.
18196
18197         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18198
18199 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18200
18201         * Makefile.am:
18202         * filedlg.h:
18203         * filedlg.C:
18204         * LyXAction.C:
18205         * ToolbarDefaults.C:
18206         * bufferlist.C:
18207         * commandtags.h:
18208         * form1.C:
18209         * form1.h:
18210         * lyx_cb.C:
18211         * lyx_cb.h:
18212         * lyxfunc.h:
18213         * lyxfunc.C:
18214         * BufferView_pimpl.C: use new file dialog in GUII
18215
18216         * lyx_cb.h:
18217         * lyx_cb.C: remove LayoutsCB to Toolbar
18218
18219 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18220
18221         * ShareContainer.h (get): add std:: qualifier
18222
18223 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18224
18225         * ShareContainer.h: define a proper ShareContainer::value_type
18226         type (and use typename to please compaq cxx)
18227
18228 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18229
18230         * lyxparagraph.h: move serveral local vars to
18231         ParameterStruct/ParagraphParameters., use ShareContainer in
18232         FontTable., make vars in FontTable private and add getter and
18233         setter.
18234
18235         * paragraph.C: changes because of the above.
18236
18237         * lyxfont.h: remove copy constructor and copy assignment. (the
18238         default ones is ok), move number inside FontBits. move inlines to
18239         lyxfont.C
18240
18241         * lyxfont.C: add number to initializaton of statics, move several
18242         inlines here. constify several local vars. some whitespace
18243         cleanup. Dont hide outerscope variables.
18244
18245         * Spacing.h: add two new constructors to match the set methods.
18246
18247         * ShareContainer.h: new file, will perhaps be moved to support
18248
18249         * ParameterStruct.h: new file
18250
18251         * ParagraphParameters.h: new file
18252
18253         * ParagraphParameters.C: new file
18254
18255         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18256         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18257
18258         * BufferView_pimpl.C: ParagraphParameter changes.
18259         * buffer.C: Likewise.
18260         * bufferview_funcs.C: Likewise.
18261         * text.C: Likewise.
18262         * text2.C: Likewise.
18263
18264 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18265
18266         * lyxfind.C (LyXReplace): do not redefine default argument in
18267         implementation.
18268         (IsStringInText): ditto
18269         (SearchForward): ditto
18270         (SearchBackward): ditto
18271
18272 2001-03-06  Juergen Vigna  <jug@sad.it>
18273
18274         * lyxfind.C (IsStringInText): put parentes around expressions.
18275
18276 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18277
18278         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18279
18280 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18281
18282         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18283
18284         * stl_string_fwd.h: add comment
18285
18286         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18287
18288         * tabular.h:
18289         * tabular.C: remove unused DocBook methods
18290
18291         * intl.C:
18292         * language.C:
18293         * paragraph.C:
18294         * buffer.C:
18295         killed DO_USE_DEFAULT_LANGUAGE
18296
18297 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18298
18299         * lyx_gui.C: do not include language.h.
18300
18301         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18302         arguments in function implementation.
18303
18304 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18305
18306         * BufferView_pimpl.C: add <ctime>
18307
18308 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18309
18310         * BufferView_pimpl.C: add using std::find_if
18311
18312 2001-02-27  José Matos  <jamatos@fep.up.pt>
18313
18314         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18315         by OnlyPath.
18316
18317 2001-02-11  José Matos  <jamatos@fep.up.pt>
18318
18319         * buffer.C (makeDocBookFile): command styles now have a parameter as
18320         "title" by default.
18321
18322 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18323
18324         * layout_forms.[Ch]: removed
18325         * lyx_cb.[Ch]: out character
18326         * lyx_gui.C: out character
18327         * lyx_gui_misc.C: out character
18328         * bufferview_funcs.C: : out character,
18329         added toggleall as parameter in ToggleAndShow
18330
18331 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18332
18333         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18334
18335         * text2.C (SetCurrentFont): Disable number property at boundary.
18336
18337 2001-02-26  Juergen Vigna  <jug@sad.it>
18338
18339         * lyxfunc.C (getStatus): added a string argument override function so
18340         that this is correctly called from LyXFunc::Dispatch if it contains a
18341         do_not_use_argument which is used!
18342         (Dispatch): added check for "custom" export and call appropriate func.
18343
18344 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * lyxrc.C: Add language_command_local, language_use_babel and
18347         language_global_options.
18348
18349         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18350
18351         * buffer.C (makeLaTeXFile): Use language_use_babel and
18352         language_global_options.
18353
18354 2001-02-23  Juergen Vigna  <jug@sad.it>
18355
18356         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18357         which works with LyXText and putted it inside BufferView. Here now we
18358         only call for that part the BufferView::Dispatch() function.
18359
18360         * BufferView.C (Dispatch): added.
18361
18362         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18363         functions which needs to use a LyXText over from LyXFunc.
18364         (MenuInsertLyXFile): added
18365         (getInsetByCode): added
18366         (moveCursorUpdate): added
18367         (static TEXT): added
18368
18369 2001-02-22  Juergen Vigna  <jug@sad.it>
18370
18371         * BufferView_pimpl.C (update): call a status update to see if LyXText
18372         needs it.
18373
18374 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18375
18376         * vc-backend.C (revert): implement for CVS
18377         (getLog): implement for CVS
18378
18379 2001-02-20  Juergen Vigna  <jug@sad.it>
18380
18381         * text2.C (ClearSelection): added BufferView param for inset_owner call
18382
18383         * lyxfunc.C (TEXT): added this function and use it instead of
18384         directly owner->view()-text of getLyXText().
18385
18386 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18387
18388         * src/layout_forms.C: out preamble
18389         * src/layout_forms.h: out preamble
18390         * src/lyx_cb.C: out preamble
18391         * src/lyx_cb.h: out preamble
18392         * src/lyx_gui.C: out preamble
18393         * src/lyx_gui_misc.C: out preamble
18394         * src/lyxfunc.C: connect with guii preamble
18395
18396 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18397
18398         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18399
18400 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18401
18402         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18403         whether to run bibtex.
18404
18405 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18406
18407         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18408
18409 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18410
18411         * Makefile.am (lyx_SOURCES): removed bibforms.h
18412
18413         * vspace.h: doxygen
18414
18415         * text.C (GetVisibleRow): make several local vars const
18416
18417         * tabular.C: small cleanup.
18418
18419         * lyxserver.C (callback): use compare instead of strncmp
18420
18421         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18422         inlines to after class or to paragraph.C
18423
18424         * lyxfont.h: remove friend operator!=
18425
18426         * converter.h: move friend bool operator< to non friend and after
18427         class def.
18428
18429         * combox.h: small cleanup
18430
18431         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18432         to inlines after class def.
18433
18434         * buffer.C (pop_tag): use string operations instead of strcmp
18435
18436         * bmtable.c: doxygen, small cleanup
18437
18438         * LaTeX.h: remove friend operator==
18439
18440 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18441
18442         * screen.C:
18443         * lyxrc.[Ch]:
18444         * lyxfunc.C:
18445         * lyxfont.[Ch]:
18446         * lyx_cb.C:
18447         * intl.[Ch]:
18448         * commandtags.h:
18449         * buffer.C:
18450         * WorkArea.[Ch]:
18451         * LyXAction.C:
18452         * BufferView_pimpl.C:
18453         * BufferView.[Ch]: remove cruft
18454
18455 2001-02-14  Juergen Vigna  <jug@sad.it>
18456
18457         * lyxfunc.C: removed #if 0 unused code
18458
18459         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18460
18461         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18462
18463         * text2.C (SetSelection): added a BufferView * parameter
18464
18465 2001-02-13  Juergen Vigna  <jug@sad.it>
18466
18467         * lyxfunc.C (Dispatch): fixed protected blank problem.
18468         * BufferView2.C (protectedBlank): added LyxText * parameter.
18469
18470         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18471         (AppendColumn): same as above for column_info.
18472
18473         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18474         (moveCursorUpdate): use a LyXText param for support of InsetText.
18475
18476         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18477         (tripleClick): ditto
18478
18479         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18480
18481         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18482
18483         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18484
18485         * text2.C (SetSelection): set correct update status if inset_owner
18486         (ToggleFree): ditto
18487
18488 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18489
18490         * tabular.C: remove some commented code.
18491
18492 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18493
18494         * BufferView_pimpl.C: call hideSplash()
18495
18496         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18497
18498         * include_form.h:
18499         * bibforms.h: remove
18500
18501         * lyxfunc.C:
18502         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18503           add LFUN_CHILD_CREATE
18504
18505         * counters.h: fix tiny typo
18506
18507         * lyx_cb.C:
18508         * lyx.h:
18509         * lyx_gui.C:
18510         * lyx.C: move splash to frontends/xforms/
18511
18512         * lyx_gui_misc.C: move Include and Bibform to frontends
18513
18514         * lyxvc.h: clarify comment
18515
18516         * vspace.C: tiny housekeeping
18517
18518 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18519
18520         * text.C (PrepareToPrint): RTL Fix.
18521
18522         * paragraph.C (GetUChar): New method.
18523         (String):  Use GetUChar.
18524
18525         * buffer.C (asciiParagraph): Use GetUChar.
18526
18527 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18528
18529         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18530
18531 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18532
18533         * buffer.h:
18534         * buffer.C: rename to getLogName(), handle
18535           build log / latex log nicely
18536
18537 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18538
18539         * MenuBackend.C:
18540         * MenuBackend.h: remove support for reference menuitem type.
18541
18542 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18543
18544         * BufferView_pimpl.C: housekeeping
18545         * BufferView_pimpl.h:
18546         * LyXView.h:
18547         * Makefile.am:
18548         * Timeout.C:
18549         * Timeout.h:
18550         * minibuffer.h: move Timeout GUI-I
18551
18552 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18553
18554         * lyxrc.C (read): Update converters data-structures.
18555
18556 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18557
18558         * LaTeX.h (operator!=): add operator != for Aux_Info
18559
18560 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18561
18562         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18563
18564         * LaTeXLog.C: deleted, useful code moved to Buffer
18565
18566         * buffer.h:
18567         * buffer.C: new function getLatexLogName()
18568
18569         * lyx_gui_misc.C:
18570         * lyx_gui.C:
18571         * lyxvc.C:
18572         * lyxvc.h:
18573         * lyxfunc.C: use frontends for LaTeX and VC logs
18574
18575 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18576
18577         * LaTeX.h: yet another std:: that Allan forgot.
18578
18579         * Variables.C (set): renamed from isset(), because this clashes
18580         with some HP-UX macros (grr).
18581
18582 2001-02-06  Allan Rae  <rae@lyx.org>
18583
18584         * LaTeX.h: Another bug fix.  Missing std:: this time.
18585
18586 2001-02-04  Allan Rae  <rae@lyx.org>
18587
18588         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18589         floats problem. I've left it commented out because it's not quite
18590         correct.  It should also test that the current object is a table or
18591         figure inset.  But I haven't gotten around to figuring out how to do
18592         that.  I *think* it'll be something like: "table" == inset.type()
18593
18594         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18595         bool.
18596
18597 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18598
18599         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18600         all the citation/databases/styles in the auxilary file.
18601         (run): Rerun latex if there was a babel language error.
18602
18603 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18604
18605         * text.C (Backspace): Preserve the font when changing newline char
18606         with a space.
18607         (BreakParagraph): If the cursor is before a space, delete the space.
18608
18609         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18610
18611 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18612
18613         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18614         new argument (code).
18615         (ChangeCitationsIfUnique): New method.
18616
18617         * paragraph.C (GetPositionOfInset): Handle bibkey.
18618
18619 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18620
18621         * BufferView_pimpl.h: change type of Position::par_pos to
18622         LyXParagraph::size_type.
18623
18624 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18625
18626         * BufferView_pimpl.C (savePosition, restorePosition): Write
18627         messages to minibuffer.
18628
18629 2001-01-28  José Matos  <jamatos@fep.up.pt>
18630
18631         * buffer.C (makeDocBookFile): adds support for document language.
18632         A silly restriction on the name of LatexCommand types where removed.
18633         Added support for CDATA sections, allows to chars unescaped, used
18634         among others in code, to avoid escape < and >.
18635
18636 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18637
18638         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18639         saved positions instrad of a stack. Furthermore, a position is
18640         stored using paragraph id/paragraph position.
18641
18642         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18643         Remove LFUN_REF_BACK.
18644
18645 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18646
18647         * converter.C (dvipdfm_options): New method.
18648
18649 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18650
18651         * vspace.C (isValidLength): Fix for empty input string.
18652
18653 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18654
18655         * LyXAction.C (init): change description of LFUN_FIGURE to
18656         "Insert Graphics"
18657
18658 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18659
18660         * LaTeX.C: add using directive
18661
18662 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18663
18664         * MenuBackend.C (expand): Fix the sorting of the formats.
18665
18666 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18667
18668         * lyx_main.C: tiny error message fix
18669
18670 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18671
18672         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18673         calling fl_initialize(). This fixes the problem with ',' as
18674         decimal separator in text files.
18675
18676 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18677
18678         * trans.C (process): Fix the keymap bug.
18679
18680 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18681
18682         * LaTeX.C (scanAuxFiles): New method. Provides support for
18683         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18684         (scanLogFile) Scan for "run BibTeX" messages.
18685
18686         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18687         OT1 font encoding. Also, load the aecompl package if the ae
18688         package is loaded.
18689
18690         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18691
18692 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18693
18694         * texrow.C (increasePos): turn two error messages into debug
18695         messages.
18696
18697 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18698
18699         * LaTeX.C (scanAux): Handle the \@input macro.
18700         (runBibTeX): Use scanAux().
18701
18702         * language.C (latex_options_): New field.
18703
18704         * LaTeXFeatures.C (getMacros): Add language macros.
18705
18706         * buffer.C (makeLaTeXFile): Small fix.
18707
18708 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18709
18710         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18711
18712         * text2.C: add a using directive.
18713
18714 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18715
18716         * BufferView2.C:
18717         * lyx_gui_misc.h:
18718         * lyxfr1.C:
18719         * lyxfunc.C: kill LyXBell.
18720
18721 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18722
18723         * text.C (IsBoundary): Remove the error message
18724
18725         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18726
18727         * lyxrc.C (setDefaults): Correct initialization value for
18728         font_norm_type.
18729
18730 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18731
18732         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18733         gotoError().
18734
18735         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18736         and GotoNextNote().
18737
18738         * src/LyXAction.C: Added reference-next.
18739
18740         * text.C (InsertChar): Use contains instead of strchr.
18741
18742         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18743
18744 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18745
18746         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18747         alignment commands (when needed).
18748
18749         * text.C (InsertChar): Add ':' to number separator chars.