]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8f5e741b9c19262992a28bf520d3e28757a6eed5
[lyx.git] / src / ChangeLog
1 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * exporter.C (Backends): Add "lyx" backend
4         * exporter.C (Export): Handle "lyx" backend
5         * graph.C (getReachable): Don't exclude "lyx"
6         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
7
8 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
9
10         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
11         for correct in-mathed positioning
12
13 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
14
15         * rowpainter.C (paintForeignMark): fix foreign blue line under
16         insets
17
18 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
19
20         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
21         pit of the uno range (bug 2022).
22
23 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
24
25         * messages.C (get): Only warn once if setlocale fails (bug 2177)
26
27 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * text2.C (setCharFont): take inset's own font settings into account
30         when defining the font to reduce to, fixes 2019
31
32 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * bufferview_funcs.C (coordOffset): remove the check for
35         collapsed collapsables (fix for bug 2094). This is now done
36         on a more general level (cursor.C).
37
38         * dociterator.[Ch] (forwardPos): add an optional argument
39         bool "ignorecollapsed" (default false), which lets forwardPos
40         skip collapsed insets.
41
42         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
43         (fixes bug 2241 and 2094).
44
45 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * buffer.C: change tracking (dvipost) doesn't require
48         color.sty anymore.
49
50         * LaTeXFeatures.C (getPackages): no need for the color
51         option "usenames" (bug 2169).
52
53 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
54         * buffer_funcs.C: Trivial fix - added {} around
55         the statements to be affected by a if-test. Now
56         label in a minipage in a float looks ok on screen again.
57
58 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * text2.C: fix bug 2015: on screen fonts in nested environments 
61         can be wrong
62
63 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * converter.C (convert): handle unknown formats
66
67 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * cursor.C (goUpDown): comment out some debug messages.
70
71         * counters.C (newCounter): make error messages more explicit
72         (these appear with some textclasses like beamer)
73
74 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * kbmap.C (defkey): 
77         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
78         have origin set to KEYBOARD. (bug 2221)
79
80 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * rowpainter.C (isCursorOnRow): do not exclude endpos().
83
84 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * cursor.C (macroModeClose): returns true if an inset actually got
87         inserted; revert faulty fix to bug 2034.
88
89 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * tabular.C (getLabelList): remove (not used anymore).
92
93 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
94
95         * outputparams.[Ch]: add new flag inComment
96
97 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * text2.C (deleteEmptyParagraphMechanism): since we delete a
100         paragraph, recordUndo should span two paragraphs (bug 2155).
101
102 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * rowpainter.C (paintPar): always repaint the row with the
105         cursor in it
106
107 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
108
109         * MenuBackend.h: 
110         * bufferlist.h: 
111         * lyxtext.h: 
112         * paragraph.h:
113         * vspace.h: fix syntax error
114
115 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * text3.C (dispatch): Force refresh if typing into inset changes its
118                               metrics
119
120 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * RowList_fwd.h:
123         * paragraph.C:
124         * paragraph.h:
125         * rowpainter.C: Speed up rendering by only re-painting rows that
126         have changed. When selection or whole-screen update active, all rows
127         are repainted, as are all rows within insets.
128
129 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * version.C.in: Use PACKAGE_VERSION instead of VERSION
132
133 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * tabular.C (toggleFixedWidth): Use default layout of text class
136         instead of hardcoded "Standard"
137
138 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * lyxfunc.C (dispatch): do not call getStatus again to determine
141         whether a lfun is disabled (bug 2172).
142
143 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * cursor.C (macroModeClose): set the cursor inside the new math
146         atom if relevant (think \frac{}{}) (bug 2034)
147
148 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * lyxtext.h:
151         * text.C:
152         * text3.C (Delete, backspace): force update when merging paragraphs
153
154 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * BufferView.C (mouseSetCursor): clear the selection properly (bug
157         2163). 
158
159 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * text.C (redoParagraph): honor inset->noFontChange()
162         * rowpainter.C (paintInset): ditto
163
164 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * lyx_main.C (priv_exec): don't initialize Math on startup 
167         (initMath() has been moved to math_hullinset).
168
169 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
170
171         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
172         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
173         * paper.h: dispose dead PAPER_PACKAGES enum.
174
175 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
178         without X support.
179
180 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
181
182         * exporter.C (Export): Don't try to copy a file if it does not exist
183         (bug 1888)
184
185 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * text2.C (makeFontEntriesLayoutSpecific): remove.
188         (setLayout): adapt.
189
190         * text.C (insertChar): remove bogus caching of fonts (did not do
191         anything). 
192
193         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
194         ALL_SANE). (bug 2146)
195
196 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * rowpainter.C (paintFirst): fix centering of
199         LABEL_CENTERED_TOP_ENVIRONMENT. 
200
201 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * BufferView.C (mouseSetCursor): new method. Calls
204         deleteEmptyParagraphMechanism if necessary.
205
206         * lyxtext.h: make deleteEmptyParagraphMechanism public.
207
208         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
209         BufferView::mouseSetCursor (bug 2109).
210         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
211
212 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
213
214         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
215         do not remove it (this inset behaves differently from the others).
216
217 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         Fix bug 2096.
220         
221         * BufferView_pimpl.C (getStatus): it is only possible to insert a
222         file in a text inset.
223
224         * buffer.C (readDocument): remove pit argument and code releated
225         to it; set the inset owner correctly (unrelated, but useful).
226         (readFile): get rid of pit argument.
227
228         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
229         textclass instead of a selection index.
230         (pasteParagraphList): new function.
231         (pasteSelection): make it a wrapper around pasteParagraphList.
232
233         * BufferView_pimpl.C (MenuInsertLyXFile): use
234         cap::pasteParagraphList to insert a file.
235
236 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
239
240 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
241
242         * exporter.C: fix typo in text message
243
244 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
245
246         * text2.C (setLayout): move recUndo call to other setLayout method
247         * tabular.C (toggleFixedWidth): new, handle cell width changes
248         * tabular.C (setColumnPWidth): move some code from insettabular.C here
249         and use toggleFixedWidth
250         * tabular.C (setMColumnPWidth): ditto
251
252 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
253
254         * paragraph.C (asString): use new inset->textString method (fix
255         bug 2089) 
256
257 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * CutAndPaste.C (numberOfSelections): new helper function.
260
261         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
262
263         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
264         LyXFunc::getStatus; implement LFUN_PASTE.
265
266 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
267
268         * dociterator.[Ch]: new member realInset() that returns the cell
269         for tabulars and the inset for the rest (bug 1952).
270         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
271         (bug 1952).
272
273 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
276
277 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * lyxfunc.C:
280         * paragraph.C:
281         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
282         argument.
283
284 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
285
286         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
287         line after typing ctrl-enter
288
289 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
290
291         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
292         math insets do not return a proper editable() state yet (bug 2124).
293
294 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
297         docs containing very large paragraphs.
298
299 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * cursor.C (selectionBegin, selectionEnd):
302         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
303         cursor at different depths.
304
305 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * bufferview_funcs.C (coordOffset): do not call cursorPos
308         for collapsed collapsables (fix bug 2094).
309
310 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * paragraph.C (fontSpan): make sure that the FontSpan does not
313         span across beginOfBody (bug 1947).
314
315 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
316
317         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
318
319 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
320
321         * messages.C: fix crash and localization on MinGW/Windows platform
322
323 2005-11-02  Angus Leeming  <leeming@lyx.org>
324
325         * Bidi.C:
326         * lyxtextclass.C: trivial fixes to some MSVS warnings.
327
328 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * text3.C (getStatus): re-enable disabled code. (bug 2081)
331
332         * BranchList.h (empty): constify.
333
334 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * text3.C (getStatus): 
337         * MenuBackend.C (expandBranches): take the branch list from the
338         master document (bug 2092).
339         
340         * MenuBackend.C (expandBranches): 
341         * bufferparams.C (writeFile): use BranchList type.
342
343 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * text3.C (dispatch, getStatus): 
346         * LyXAction.C (init): 
347         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
348
349 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
352
353 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * text.C (insertChar): do not reset boundary (bug 2061)
356
357 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * dociterator.C (updateInsets): new method. Updates the inset_
360         cache of all the slices of the iterator.
361
362         * text2.C (deleteEmptyParagraphMechanism): compare also containing
363         insets when comparing pit/pos; pass the right cursor to
364         recordUndo; when a paragraph has been deleted, compare `old.top()' to
365         the right cursor slice of `cur'; use updateInsets on cur to make
366         sure that the inset caches are correct; general cleanup.
367
368 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
371         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
372         containg inset. If this does not work, the same command will be
373         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
374
375         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
376         a dispatch.
377
378 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
379
380         * lyxtextclass.C (Read): convert layout file if the format is wrong
381         * lyxtextclass.C (layout2layout): new, needed for the above
382
383 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * messages.C: do not forget to include <cerrno>.
386
387 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * dociterator.h (StableDocIterator): add access to pos().
390         * undo.C (samePar): new method to check if two
391         iterators are in the same paragraph
392         * undo.C (recordUndo): check for samePar instead of cell identity
393         (which includes pos() and is too strict) (fixes bug 2097)
394
395 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * text.C (setCursorFromCoordinates): return a bool telling whether
398         dEPM triggered.
399
400         * text3.C (cursorPrevious): update if needed after
401         setCursorFromCoordinates (when dEPM triggered).
402
403         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
404         (otherwise the anchor may be completely wrong and make dEPM assert).
405
406 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
407
408         * buffer.C: version upgrade to 245.
409         * bufferparams.C: remove \quotes_times (bug 2090).
410         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
411         quotation marks as default.
412
413 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
414
415         * CutAndPaste.C (nrOfParagraphs): remove (unused)
416         * CutAndPaste.C (cutSelection): Remove debug message
417         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
418         undo information and only copy if this is a real cut
419         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
420         call
421         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
422         (bug 2059)
423         * CutAndPaste.C (eraseSelection): prevent cursor corruption
424         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
425         superflous cur.selection() setting
426         * CutAndPaste.[Ch] (grabSelection): take a const cursor
427         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
428
429 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
430
431         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
432         change anything.
433
434 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
435
436         * BufferView_pimpl.C: comment layout change
437
438 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
439
440         * LyXAction.C:
441         * lfuns.h:
442         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
443         by bibliography managers (bug 2071).
444
445 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * BufferView_pimpl.C (update): choose arguments to update call so
448         that single-par update works most times
449         * text3.C (dispatch): carefully tune updating separately for
450         whole-screen and current-paragraph
451         * rowpainter.C (paintText): 1) replace painting by caching for
452         the two extra paragraphs, because we can;
453         2) suppress greying out of areas below/above drawn area in case of
454         single-par refresh
455         * lyxfunc.C (dispatch): remove superfluous update
456         * LyXAction.[Ch]: introduce SingleParUpdate
457
458 2005-10-05  Angus Leeming  <leeming@lyx.org>
459
460         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
461         always initialised before use.
462
463         * text.C (setHeightOfRow): squash warning about comparison
464         of signed and unsigned types.
465
466 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
467
468         * text.C (cursorX): two fixes involving RtL text drawing
469
470 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
473         items, not only large ones (part of bug 2057)
474
475 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
478         argument, use "newcommand".
479
480 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
481
482         * cursor.C (setSelection): do not open collapsable insets;
483         the insets do by themselves now (autoopen).
484
485 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
486
487         * buffer.C: format is up to 244.
488
489 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
490
491         * text.C (redoParagraph): fix calcultation of inset width wrt 
492         leftMargin (bug 1957).
493
494         * text3.C (dispatch): leave inset to the right when hitting ESC 
495         (bug 2034).
496
497 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * text2.C: 
500         * text.C: 
501         * factory.C:
502         * messages.C: include <boost/current_function.hpp> 
503
504 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
507         when command is internal. (bug 1941)
508
509 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * text2.C (cursorRight): do not honor boundary when at the end of
512         a paragraph. (bug 2010 again)
513
514 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
517
518 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
519
520         * rowpainter.C (paintText): fix RtL space width display bug (2029)
521
522 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * text2.C (setCursor): remove the unused 'boundary' parameter for
525         the CursorSlice version; adapt the LCursor version.
526
527         * lyxrc.C (write): 
528         * paragraph_pimpl.C (markErased): 
529         * cursor.C (bruteFind2, bruteFond3): fix warnings.
530
531 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
534         as is already done for "chapter".
535
536 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
539         textclass; do not record undo if nothing is changed.
540
541 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
544
545 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
546
547         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
548
549 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
552         combox, it is necessary to search for the topmost paragraph in the
553         cursor stack (bug 1926)
554
555 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
558         end of paragraph. (bug 2010)
559
560 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
561
562         * text.C (leftMargin): check for inInset == 0
563
564 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * text.C (leftMargin): test for insetbase's new neverIndent()
567         bool instead of listing each and every inset that does not
568         wish par indendation.
569
570 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * buffer_funcs.C (setCounter): put the code to compute enum label
573         here (where it belongs).
574
575         * counters.C (enumLabel): move code to buffer_funcs.C.
576
577 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
578
579         * outputparams.[Ch]: store local_font instead of local_language
580         * paragraph.C (simpleTeXOnePar): adapt to the change above
581
582 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
583
584         * buffer_funcs.C:
585         * counters.[Ch]: clean up special code for Hebrew.
586
587 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
590         than 2.
591
592 2005-09-08  Angus Leeming  <leeming@lyx.org>
593
594         * ispell.C:
595         * lyxrc.C: correct grammar describing invocation of the
596         spellchecker.
597
598 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * text.C (read): remove unused variable.
601         (readParToken): remove static Change variable (never good in
602         recursive settings...); add it as a parameter instead.
603
604         * paragraph_pimpl.C (acceptChange): make debug info conditional.
605
606         * metricsinfo.C (PainterInfo): add new member erased_.
607
608         * rowpainter.C (RowPainter): add erased_ member, initialized from
609         PainterInfo. 
610         (paintInset): pass erased_ to Inset::draw.
611
612         * lyxfunc.C (lookupChange): new function. Tells whether change 
613         tracking is disabled at a given postion.
614         (getStatus): disable some actions when in deleted text with change
615         tracking. 
616
617 2005-08-03  John Levon  <levon@movementarian.org>
618         
619         * tabular.C (appendColumn, setMultiColumn): adapt to change to
620         InsetText::clear().
621
622         * paragraph_pimpl.C (markErased): add bool argument and handle it.
623         Also make sure to mark insets recursively.
624         (rejectChange, erase): be recursive
625
626         * paragraph.C (markErased): add bool argument.
627 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * lyxfind.C (findNextChange): tiny cleanup.
630
631         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
632         change tracking with the cursor in an inset; make sure the first
633         change is not skipped.
634
635 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
636
637         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
638         tabularStackDirty to work around bug 1919 (tabular needs
639         to know whether its own cell paste buffer or the one of 
640         texted is newer.
641         * CutAndPaste.C: mark tabular_stack_ clean after copy.
642
643 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
644
645         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
646
647 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
648
649         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
650         use old deleteion algorithm when changetracking is on.
651
652 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
653
654         * messages.C (get): add debug output.
655
656 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
657
658         * text.C (cursorX): fix bug 1965: cursor movement at
659         line end broken in RtL.
660         (drawSelection): fix bug 1970: drawing of single-line 
661         selection broken for RtL.
662
663 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         bug 465.
666
667         * dociterator.h (clear, push_back, pop_back): change from
668         protected to public.
669
670         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
671         and changed to just return the value of the item depth; take a
672         ParIterator as argument; take the itemdepth at outer nesting level
673         in account if necessary; cleanup and comment the code.
674         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
675         and changed to just return true if reset is needed; take a
676         ParIterator as argument; cleanup and comment the code.
677         (setCounter): adapt to above changes.
678
679 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * text3.C (dispatch): make debug message optional
682
683 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
686         inset. (bug 1963)
687
688 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
689
690         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
691
692 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
693
694         * text.C (insertChar):
695         * text2.C (deleteEmptyParagraphMechanism): take care whether 
696         a blank has been deleted (in change tracking mode) (bug 1254).
697
698 2005-07-20  John Levon  <levon@movementarian.org>
699
700         * text2.C (insertStringAsLines): remove old dubious code,
701         fixing bug 1939.
702
703 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * MenuBackend.C (expandToc): use Floating::listName() as title of
706         the floats submenus.
707
708 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
709
710         * toc.[Ch]: Do not use translatable strings (bug 1870).
711
712 2005-07-20  John Levon  <levon@movementarian.org>
713
714         * tabular.C: fix 1748 - setting multicolumn adds
715           left line to the first cell
716
717 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
718
719         bug 1920
720         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
721         pars in one go.
722
723 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
724
725         * messages.C: supress some lyxerr messages
726
727 2005-07-18  Juergen Vigna  <jug@lyx.org>
728
729         * text.C (drawSelection): honor boundary when asking for cursorX.
730
731 2005-07-17  José Matos  <jamatos@fc.up.pt>
732
733         * tabular.C (recalculateMulticolumns): fix handling of one column
734         tables.
735
736 2005-07-17  Juergen Vigna  <jug@lyx.org>
737
738         * text.C (Delete, backspace): fixed so that paragraph with the
739         same layout can be merged by Delete/Backspace.
740
741 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
742
743         * text.C (readParToken): fix spelling.
744
745 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
746
747         * text2.C: fix counter update for DEPM problem reported by
748         Georg Baum
749
750 2005-07-17  Juergen Vigna  <jug@lyx.org>
751
752         * BufferView_pimpl.C (setBuffer): save/restore the
753         cursor/selection when switching buffers
754
755         * buffer.h: 
756         * buffer.C (saveCursor): add saveDocumentIterators to save the
757         cursor when switching buffer.
758
759 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
760
761         * debug.C: fix typo
762         * buffer.C: clarify message
763         
764 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
765
766         * dociterator.C (DocIterator): fix initialization order
767
768 2005-07-17  Juergen Vigna  <jug@lyx.org>
769
770         * text2.C (cursorHome): 
771         * text.C (drawSelection, cursorX): 
772         * dociterator.C (textRow): add boundary to getRow() call
773
774         * paragraph.C (getRow): implementation of below
775
776         * paragraph.h: add parameter boundary for getRow() function
777
778 2005-07-17  José Matos  <jamatos@fc.up.pt>
779
780         * buffer.C:
781         * bufferparams.[Ch]:
782         * tex-strings.[Ch]: new file format, remove support for a4.sty,
783         a4wide.sty and a4widemargins.
784
785 2005-07-17  Juergen Vigna  <jug@lyx.org>
786
787         * text2.C (cursorLeft): fix one of error
788
789 2005-07-17  Juergen Vigna  <jug@lyx.org>
790
791         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
792                    cursorEnd):
793         more fixes for boundary handling
794
795         * text3.C (dispatch): don't reset cursor if boundary has changed
796         on cursor movement.
797
798 2005-07-16  Juergen Vigna  <jug@lyx.org>
799
800         * text2.C (getColumnNearX): hopefully got it right now,
801         check if we are on column 0 for special case.
802
803 2005-07-16  Juergen Vigna  <jug@lyx.org>
804
805         * text2.C (getColumnNearX): handle special case Newline Inset
806
807         * text.C (singleWidth): Just remove bogus check
808
809 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
810
811         * funcrequest.C (split): avoid reading uninitialized char c
812
813 2005-07-16  José Matos  <jamatos@fc.up.pt>
814
815         * buffer.C:
816         * converter.C:
817         * lyxrc.C:
818         * paper.h:
819         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
820         single papersize variable.
821
822 2005-07-16  Juergen Vigna  <jug@lyx.org>
823
824         * text3.C (dispatch): honor boundary when checking if a cursor
825         movement has been done
826
827         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
828         (setCursor, setCursorIntern): fix cursor movement with boundary
829
830 2005-07-16  Juergen Vigna  <jug@lyx.org>
831
832         * text.C (currentState): output the actual Boundary
833
834 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
835
836         * factory.C (createInset): fix bad logic for tabular creation
837
838 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
839
840         * lyx_main.C (init): change some reLyX reference to tex2lyx
841
842 2005-07-16  Juergen Vigna  <jug@lyx.org>
843
844         * dociterator.C (DocIterator): initialize boundary
845
846 2005-07-16  Juergen Vigna  <jug@lyx.org>
847
848         * text2.C (getColumnNearX): Consider rows without trailing blank.  
849
850 2005-07-16  André Pönitz  <poenitz@gmx.net>
851
852         * lyxfont.h: Change order of declarations to give the compiler
853         a better chance to inline things
854
855         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
856         questions on unsaved docs for better scritability
857
858 2005-07-16  André Pönitz  <poenitz@gmx.net>
859
860         * paragraph.h (getChar): remove asserts as the same kind of security
861         can be achieved by using a suitable standard library implementation
862         and the function was in the critical path (25.9% in profiler)
863
864 2005-07-16  Juergen Vigna  <jug@lyx.org>
865
866         * cursor.C (bruteFind2):
867         * bufferview_funcs.C (coordOffset): 
868         * text.C (cursorX,cursorY): Handle cursor position after last char
869         in row before a inset which uses a whole row.
870
871 2005-07-15  José Matos <jamatos@lyx.org>
872
873         * output_plaintext.[Ch] (writeFileAscii): control reference title
874         printing.
875         (asciiParagraph): noparbreak was already deal and was incorrectly
876         used.
877
878 2005-07-15  Juergen Vigna <jug@lyx.org>
879
880         * lyxfunc.C (dispatch): save and restore the cursor after a
881         textclass switch.
882
883 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
884
885         * text.C (backspace): bug 806 for empty keepempty paragraphs we
886         change the layout to default before letting DEPM do its thing.
887
888         * paragraph_funcs.C (breakParagraph): dont reset the layout on
889         keepEmpty paragraphs
890
891         * text.C (setCursorFromCoordinates): add a debug statement
892
893         * text2.C (getColumnNearX): bug 1825 make sure that we don't
894         return a pos that is not on the row
895
896         * output_latex.C (TeXDeeper): get rid of potential dereferencing
897         of past the end iterator
898
899 2005-07-14  André Pönitz  <poenitz@gmx.net>
900
901         * undo.C (recordUndoFullBuffer): implement undo for
902         textclass switches
903
904 2005-07-14  André Pönitz  <poenitz@gmx.net>
905
906         * cursor.C (setSelection): open insets when selection is set there
907         to avoid crashs with cold coord cache
908
909 2005-07-14  André Pönitz  <poenitz@gmx.net>
910
911         * trans_mgr.C (insert): move cursor to the right after inserting
912         a char.
913
914 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
915
916         * BufferView_pimpl.C (update): dampen some of the debug blabbering
917         * factory.C (readInset): ditto
918         * text.C, text2.C: ditto
919
920 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
921
922         * buffer.C: format incremented to 242. There is no file format per
923         se, but the "frenchb" language has been removed from lib/language
924         and has to be translated to "french" by lyx2lyx.
925
926 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
927
928         * cursor_slice.h, dociterator.h: add some documentation
929         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
930
931 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
932
933         * text.C (leftMargin): do not add identation to display() style
934         insets, because they are always centered (bug 1293).
935
936 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
937
938         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
939         formatted_time methods in support/lyxtime.
940
941 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
942
943         * toc.[Ch]: new method getGuiName, which is used by the frontends 
944         to set the toc combo (fixes bug 1870). Make TOC string translatable.
945
946 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
947
948         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
949         StableDocIterator const &)
950         * undo.C (recordUndo): use the above instead of cell.size() comparison
951         (fixes bug 1808; instructed by Andr�.
952
953 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * cursor_slice.h: 
956         * dociterator.h: Fix the assert when copying rows/cols in math
957
958 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
959
960         * BufferView_pimpl.C:
961         * LyXAction.C:
962         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
963
964         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
965         (findInset): new functions, refactored from goto Inset that return 
966         the position of a certain inset without setting the buffer's cursor
967         (by Jean-Marc); 
968         (gotoInset): rewrite to call findInset and then set the cursor
969         (by Jean-Marc).
970
971 2005-06-16  Angus Leeming  <leeming@lyx.org>
972
973         * lyxrc.C (output, read): wrap all input and output of paths with
974         calls to os::internal_path and os::external_path, respectively.
975         (output): wrap bind_file inside quotes.
976
977         * format.C (view): enable the viewer to use the '$$s' placeholder.
978
979 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
980
981         * LColor.[Ch] (getFromLaTeXName): new
982
983 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
984
985         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
986
987 2005-06-14  Angus Leeming  <leeming@lyx.org>
988
989         * lyx_main.C (init): ensure that the LyX binary dir is the first
990         element in the PATH on non-POSIX builds.
991
992 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
993
994         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
995
996 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * rowpainter.C (paintInset, paintHebrewComposeChar)
999         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1000         (paintChars): use getFontSpan to reduce calls to getFont to a
1001         minimum; use Paragraph::lookupChange instead of isXXXText.
1002         (paintForeignMark): rename LyXFont argument.
1003         (paintFromPos): pass a LyXFont object to the various paintXXX
1004         methods.
1005
1006         * FontIterator.C (FontIterator, operator++): use
1007         Paragraph::getFontSpan
1008
1009         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1010         version that returns the font span as a pair.
1011
1012 2005-06-09  Angus Leeming  <leeming@lyx.org>
1013
1014         * converter.C (convert): Don't forget "outfile = real_outfile" as
1015         the final step in a conversion where the input and output file names
1016         are the same. Otherwise, future conversion steps won't work...
1017
1018 2005-06-09  Angus Leeming  <leeming@lyx.org>
1019
1020         * lyxsocket.C: remove stub code as it isn't needed by
1021         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1022
1023 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1024
1025         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1026         effectively disabled -x
1027
1028 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1029
1030         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1031         when it actually makes sense.
1032
1033 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * BufferView_pimpl.C: revert to showCursor in connection with
1036         Lars's front-end stack
1037
1038 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1039
1040         * text.C (redoParagraph): move cursor right after a bibitem
1041         has been inserted.
1042
1043         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1044
1045 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1048         error range.
1049
1050 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1051
1052         * BufferView.[Ch] (update):
1053         * BufferView_pimpl.[Ch] (update, metrics):
1054         * dimension.h (operator==):
1055         * lyxfunc.C (dispatch):
1056         * metricsinfo.h (ViewMetricsInfo):
1057         * rowpainter.C (paintText):
1058         * lyxtext.h:
1059         * text.C (redoParagraph):
1060         * text3.C (dispatch): Make LyX only repaint current paragraph in
1061         case of character insert --> speedup. Also fix cursor draw
1062         artifacts
1063
1064 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1065
1066         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1067         avoid a crash (bug 1891)
1068
1069 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         Fix bug 1892:
1072
1073         * text2.C (getStringToIndex): constify cur argument.
1074
1075         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1076         argument has been given
1077         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1078         try to invoke LFUN_INSET_APPLY).
1079
1080         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1081         if no inset was created by doInsertInset
1082         (doInsertInset): return true if an inset has been inserted.
1083
1084 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1085
1086         * vspace.C (asGUIName): new method. A version of the space
1087         suitable for showing on screen.
1088
1089 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1090
1091         * MenuBackend.C:
1092         * lyxrc.C: rename "ASCII" to "Plain Text"
1093
1094 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1095
1096         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1097         translate the labelstring.
1098         (setCounter): translate labelstring as needed.
1099
1100         * output_docbook.C (makeCommand): fix expandLabel invokation
1101
1102 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1103
1104         * BufferView.C: fix dialog title
1105
1106 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1107
1108         * lyx_main.C (priv_exec): fix logic error with help from Angus
1109         * lyx_main.C (parse_execute): set is_gui = false and remove now
1110         obsolete comment about a segfault
1111
1112 2005-05-18  Angus Leeming  <leeming@lyx.org>
1113
1114         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1115
1116 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1117
1118         * tabular.[hC]: added setCellInset to fix tabular paste.
1119
1120 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1121
1122         * buffer.C (save): check if destination is writable before trying
1123         to copy a file
1124
1125 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1126
1127         * BufferView_pimpl.C (update): fix processEvents -caused update
1128         recursion bug
1129
1130 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1131
1132         * buffer_funcs.C (setCounter): fix test for numbering of
1133         environments.
1134
1135         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1136         depth correctly; use optional argument when it exists
1137
1138         * lyxtextclass.C: remove unused MaxCounterTags enum
1139         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1140         (max_toclevel, min_toclevel): new methods.
1141
1142         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1143         the smallest depth in toc.
1144
1145         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1146         layouts that should not appear in a table of contents.
1147
1148 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1149
1150         * cursor.h (undispatched, noUpdate): add comments from Andr�
1151 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1152
1153         * lfuns.h:
1154         * LyXAction.C:
1155         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1156
1157 2005-05-07  André Pönitz  <poenitz@gmx.net>
1158
1159         * cursor.[Ch] (leaveInset): new function
1160
1161 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1162
1163         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1164
1165 2005-05-04  Angus Leeming  <leeming@lyx.org>
1166
1167         * lyxfunc.C (getStatus): disable the spell checker dialog if
1168         none of USE_[AIP]SPELL are defined.
1169
1170 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1171
1172         * tabular.C (setWidthOfCell): remove obsolete comment
1173
1174 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1175
1176         * paragraph.C (bibitem):
1177         * buffer_funcs.C (setCounter):
1178         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1179
1180 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1181
1182         * text3.C (getStatus): immediately return after setOnOff
1183
1184         * rowpainter.C: fix drawing of appendix start
1185
1186 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1187
1188         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1189         SwitchBetweenClasses and remove the unused return value.
1190         Handle character styles, too
1191
1192 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * factory.C (createInset): handle undefined character styles
1195
1196 2005-05-02  Angus Leeming  <leeming@lyx.org>
1197
1198         * buffer.C: protect the #include of utime.h with a preprocessor
1199         guard.
1200
1201 2005-05-02  Angus Leeming  <leeming@lyx.org>
1202
1203         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1204         function so that auto-saving works, albeit in a blocking manner.
1205
1206         * Makefile.am: make compilation of the client sub directory, of
1207         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1208         on conditionals set at configure time.
1209
1210         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1211         it can be compiled in its own right but has no-op functionality.
1212
1213         * aspell.C, pspell.C: remove preprocessor guards. The files should
1214         be compiled only if the necessary functionality exists.
1215
1216         * lyxserver.C, lyxsocket.C: disable on Windows.
1217
1218 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1219
1220         * text.C (leftMargin): Fix the parindent use bug (1764)
1221         by dirty trick
1222
1223 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1224
1225         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1226         argument.
1227
1228 2005-04-25  Angus Leeming  <leeming@lyx.org>
1229
1230         * Bidi.[Ch]:
1231         * coordcache.[Ch]:
1232         * ispell.C:
1233         * lyxserver.C:
1234         * mover.C:
1235         * pch.h:
1236         include <config.h> in .C files, not .h ones.
1237         add licence blurb.
1238         protect headers inside preprocessor guards.
1239
1240 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1241
1242         * FuncStatus.h (StatusCodes): document
1243
1244 2005-04-21  André Pönitz  <poenitz@gmx.net>
1245
1246         * FuncStatus.h (enabled, onoff): document
1247
1248 2005-04-19  Angus Leeming  <leeming@lyx.org>
1249
1250         * BufferView_pimpl.C (cursorToggle): no longer test whether
1251         any child processes have been reaped before calling
1252         handleCompletedProcesses().
1253
1254 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1255
1256         * text3.C (dispatch): fix, finally fix, the language problem in
1257         new lyxtexts, without disabling on-the-fly font changes (Helge's
1258         bug report)
1259
1260 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1261
1262         * text3.C (dispatch): set cursor on double/triple click events
1263         (bug 1811)
1264
1265 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1268         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1269
1270         * rowpainter.C (paintFirst): simplify the code a little bit. In
1271         particular, remove the test for secnumdepth.
1272         * text.C (setHeightOfRow): only allocate space for chapter number
1273         when updateCounters provided an actual label, instead of looking
1274         at secnumdepth directly.
1275
1276         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1277
1278         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1279         paragraphs when secnumdepth is large enough or, for environments,
1280         when they are not the first in a sequence.
1281
1282 2005-04-17  Angus Leeming  <leeming@lyx.org>
1283
1284         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1285         containing space and '~' characters with a call to latex_path().
1286
1287 2005-04-17  Angus Leeming  <leeming@lyx.org>
1288
1289         * converter.C (convert): protect all args of convertDefault.sh
1290         script with quotes.
1291
1292 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1293
1294         * text3.C (dispatch): change the layout to "Caption" after inserting
1295         a float.
1296
1297 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1298
1299         * text3.C (dispatch): fix language problem in newly created
1300         textinsets (and main text) in non-english docs
1301
1302 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1303
1304         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1305         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1306         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1307
1308 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1309
1310         * lyxtext.h:
1311         * text.C (metrics):
1312         * text2.C (getFont):
1313         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1314         fonts fix
1315
1316 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1317
1318         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1319         output of \item arguments without trailing text.
1320
1321 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * FontIterator.C (operator*): avoid a copy of the font.
1324
1325 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1326
1327         * rowpainter.C (getFont): fix language bug from previous fix
1328
1329 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1330
1331         * rowpainter.C (RowPainter, getFont): fix font inside inset
1332         (bugs 1766, 1809)
1333
1334 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1335
1336         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1337         preventing inserted font, deco, delim insets jumping to start of
1338         surrounding inset.
1339
1340 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * lyxfunc.C (dispatch): translate message before sending it to the
1343         minibuffer.
1344
1345 2005-03-29  Angus Leeming  <leeming@lyx.org>
1346
1347         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1348         to LyX on the command line.
1349
1350 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1351
1352         * vc-backend.C: use QuoteName to protect file names wherever
1353         necessary.
1354
1355 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1356
1357         * buffer.[Ch]:
1358         * BranchList.h: fix bugs 1844,1845: document settings don't
1359         stick
1360
1361 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * lyxrc.C (setDefaults, read, output, getDescription): add support
1364         for tex_allows_spaces.
1365
1366         * exporter.C (Export): allows files in directory containing spaces
1367         if tex_allows_spaces is true.
1368
1369         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1370         output it in double quotes.
1371
1372 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1373
1374         * rowpainter.C: use default text height for drawing change tracker
1375         strikeout lines.
1376
1377 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1378
1379         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1380
1381 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1384         directory is missing.
1385
1386 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1387
1388         * text2.C: fixed the fix, extended to other case.
1389
1390 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1391
1392         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1393
1394 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * text2.C (cursorUp): get rid of a crash
1397         * text.C (x2pos): add an assert
1398
1399 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1402
1403         * text3.C:
1404         * lyxfunc.C:
1405         * dociterator.C: include <boost/current_function.hpp>, which is
1406         needed when assertions are disabled.
1407
1408 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1409
1410         * text2.C: fix for stuck cursor when traversing two
1411         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1412
1413 2005-02-25  Andreas Vox  <avox@arcor.de>
1414
1415         * output_docbook.C (makeParagraph): suppress trailing newline
1416         after a run of paragraphs
1417
1418 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1419
1420         * paragraph.C: fix for confused change tracker when pasting
1421         text that begins with a lineseparator. [bug 1827]
1422         (setChange(0, Change::INSERTED);)
1423
1424         * paragraph_funcs.C: fix for lost changes on triple-paste
1425         in change tracking mode [bug 1827] (par.setChange()).
1426
1427 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * text2.C (updateCounters, setCounter, expandLabel): move to
1430         buffer_funcs.
1431
1432         * buffer_funcs.C (updateCounters): turn into a free standing
1433         function and add a buffer parameter. Remove dead code for tracking
1434         labelstring change.
1435         (setCounter): change into a free-standing function which gets a
1436         dociterator as argument. Use this iterator to fix captions in a
1437         simple way. When no float is found above the caption, use the
1438         labelstring of the caption layout as default.
1439
1440         * text.C (breakParagraph, backspace):
1441         * text2.C (init, setLayout, changeDepth):
1442         * text3.C (dispatch):
1443         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1444         updateCounters.
1445
1446         * dociterator.C (forwardPar): make it much faster by calling
1447         forwardPos() only when really necessary.
1448
1449         * output_docbook.C (makeCommand): adapt to expandLabel move.
1450
1451         * cursor.C: remove unused variable
1452
1453 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1454
1455         * paragraph_funcs.C: fix crash when pasting insets in change
1456         tracking mode [bug 1277] (honour change type in moveItem).
1457
1458 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1459
1460         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1461
1462 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463
1464         * BufferView.C (setCursor): change to use a DocIterator.
1465         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1466         (putSelectionAt): adapt to BufferView::setCursor change.
1467
1468         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1469         moved here from LyXText and rewritten to use proper cursor
1470         methods. Fixes bug 1787, 616 and 835.
1471
1472         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1473         when inside an inset (part of bug 781).
1474         (dispatch): adapt to change of BufferView::setCursor.
1475         (getStatus, dispatch): handle LFUN_GOTOERROR,
1476         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1477
1478         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1479         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1480         * text3.C (gotoNextInset, gotoInset): removed.
1481
1482 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1485
1486 2005-02-15  Angus Leeming  <leeming@lyx.org>
1487
1488         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1489         can be used meaningfully in a comparison.
1490
1491 2005-02-13  André Pönitz  <poenitz@gmx.net>
1492
1493         * bufferview_funcs.C (coordOffset): improve cursor drawing
1494
1495 2005-02-13  André Pönitz  <poenitz@gmx.net>
1496
1497         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1498         * Cursor.C (dispatch): use fixIfBroken
1499         * lyxfunc.C (getStatus): use fixIfBroken
1500
1501 2005-02-15  Angus Leeming  <leeming@lyx.org>
1502
1503         * lyx_main.C (error_handler):
1504         * lyxfunc.C:
1505         * lyxrc.C (setDefaults):
1506         s/GetEnv/getEnv/.
1507         #include "environment.h".
1508
1509         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1510
1511 2005-02-15  Angus Leeming  <leeming@lyx.org>
1512
1513         * lyxserver.C (startPipe): squash MSVC warning "local variable
1514         'fd' used without having been initialized".
1515
1516 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1517
1518         * BufferView_pimpl.C: revert accidental commit.
1519
1520 2005-02-14  André Pönitz  <poenitz@gmx.net>
1521
1522         * dociterator.[Ch]: new member forwardPosNoDescent(),
1523         which doesn't enter nested insets.
1524         * text2.C (setFont): use forwardPosNoDescent() instead
1525         of ForwardPos() (fixes crash on font change).
1526
1527 2005-02-13  Angus Leeming  <leeming@lyx.org>
1528
1529         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1530         only if lyxrc.path_prefix is not empty.
1531
1532 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1533
1534         * bufferparams.C (readGraphicsDriver): prevent crash
1535
1536 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1537
1538         * text2.C (setCounter): check for inInset() == 0
1539
1540 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1543         but use update() to get correct screen display; use convert
1544         instead of istringstream.
1545         (getStatus): handle LFUN_GOTO_PARAGRAPH
1546
1547         * lyxfunc.C (dispatch, getStatus): do not handle
1548         LFUN_GOTO_PARAGRAPH here.
1549
1550 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1551
1552         * text3.C (dispatch): size() -> depth()
1553
1554         * text2.C: remove some debug output
1555
1556         * paragraph.C: ws changes only
1557
1558         * lyxfunc.C (getStatus): size() -> depth()
1559
1560         * dociterator.h (clear, push_back, pop_back, internalData,
1561         operator[], resize, empty): new functions
1562         Make StableDocIterator and operator== be friends. Don't inherit
1563         from std::vector use a privat class variable slices_ instead.
1564         Modify to fit.
1565
1566         * dociterator.C: update because of not inheriting from std::vector
1567         anymore. Call explictly to slices_ instead. Use depth() instead of
1568         size() and top() instead of back()
1569
1570         * cursor.C: chagne size() -> depth and back() -> top(). Also
1571         remove some direct operator[](i) calls in favour of foo[i]
1572         (getFont): remove some dead code
1573
1574         * bufferview_funcs.C (coordOffset): size() -> depth()
1575
1576         * buffer.C: ws changes only
1577
1578         * CutAndPaste.C (eraseSelection): back() -> top()
1579
1580         * BufferView_pimpl.C (selectionRequested): back() -> top()
1581
1582         * BufferView.C (setCursor): size() -> depth()
1583
1584 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1585
1586         * text3.C (cursorPrevious): return true if depm changed something
1587         (cursorNext): ditto
1588         (dispatch): rename sl to oldTopSlice, remove moving use the new
1589         NoUpdate func attrib instead. Make sure that needsUpdate is set
1590         for function that have NoUpdate, but where depm might have changed
1591         the buffer anyway.
1592
1593         * text2.C (cursorLeft): make us return true if depm changed
1594         something
1595         (cursorRight): ditto
1596         (cursorUpParagraph): ditto
1597         (curosrDownParagraph): ditto
1598         (cursorUp, cursorDown): ditto, make sure to read comments in code
1599         (deleteEmptyParagraphMechanism): remove an assert, also return
1600         true if just a single char was deleted.
1601
1602         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1603         cursor that we modify, to avoid modifying an active cursor before
1604         we call setCursor. This allows depm to run. Also return true if
1605         depm deleted something.
1606
1607         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1608         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1609         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1610         something was changed in the buffer because of them (ie. depm run)
1611
1612         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1613         debug messages. Make update by default be false. Make sure that
1614         the result of update is retained throught several calls down to
1615         dispatch.
1616
1617         * LyXAction.h: add a new func_attrib: NoUpdate
1618
1619         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1620         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1621         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1622         and LFUN_WORDLEFT
1623         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1624
1625 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1628         bv_->owner(), bv_->buffer() by direct references to the private
1629         members.
1630         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1631         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1632         (fitCursor): center() is in BufferView::Pimpl.
1633         (getStatus, trackChanges, dispatch): no need for a temporary buf
1634         variable
1635         (fitCursor, workAreaDispatch): use workarea().workheight()
1636
1637 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1638
1639         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1640
1641 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1642
1643         * buffer.C: format up to 241.
1644         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1645         break if pasting into ERT
1646         * lyxfunc.C (getStatus): suppress mathpanel and
1647         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1648
1649 2005-02-01  Angus Leeming  <leeming@lyx.org>
1650
1651         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1652
1653 2005-02-01  Angus Leeming  <leeming@lyx.org>
1654
1655         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1656         calling fs::is_directory().
1657
1658 2005-01-31  Angus Leeming  <leeming@lyx.org>
1659
1660         * lyx_main.C (priv_exec): specify explicitly the relative location
1661         of the top level build directory when run in-place.
1662
1663 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1664
1665         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1666         LyXText containing the cursor, not the top-level one.
1667
1668         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1669         true.
1670         (insertStringAsLines): rename par to pit; use temporary variable
1671         par to hold a Paragraph; do not store par.layout() in a variable,
1672         since the pointer may die when breaking paragraphs; pass pars to
1673         breakParagraph() instead of Buffer::paragraphs().
1674
1675 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1676
1677         * lyxlex_pimpl.h: #include <fstream>.
1678
1679         * BufferView.[Ch] (getLyXText): add a const version.
1680
1681         * BufferView_pimpl.C: add debug aids.
1682
1683         * RowList_fwd.h:
1684         * buffer.h:
1685         * lyxrow.h:
1686         * paragraph_funcs.h: add commentary explaining what the class does.
1687
1688
1689         * coordcache.[Ch]: add lots of commentary.
1690         (startUpdating, doneUpdating): debug aids.
1691         (arrays, insets, parPos, getParPos): accessors to private data.
1692
1693         * cursor_slice.[Ch] (text): add a const version.
1694         * dociterator.[Ch] (text, innerText): add const versions.
1695
1696         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1697         bool.
1698
1699         * paragraph.C (getRow, pos2ros): add asserts.
1700
1701         * paragraph.h: add commentary. Lots of.
1702
1703         * paragraph.[Ch] (metrucs, draw): removed.
1704
1705         * cursor.C:
1706         * rowpainter.[Ch]: const-correct changes.
1707
1708         * text.C: various obvious clean-ups. Removal of ancient cruft.
1709         Bug fixes, even.
1710
1711 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * vc-backend.C (find_file): rewrite to use boost.filesystem
1714         (scanMaster): ditto
1715
1716         * main.C (main): set default name check for boost.filesystem to
1717         no check
1718
1719         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1720         (open): ditto
1721         (doImport): ditto
1722         (actOnUpdatedPrefs): ditto
1723
1724         * lyx_main.C (init): rewrite to use boost.filesystem
1725         (queryUserLyXDir): ditto
1726
1727         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1728         (getContentsOfAsciiFile): ditto
1729
1730         * lastfiles.C (readFile): rewrite to use boost.filesystem
1731
1732         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1733
1734         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1735         (loadLyXFile): ditto
1736
1737         * buffer.C (Buffer): adjust for destroydir
1738         (getLogName): rewrite to use boost.filesystem
1739         (setFileName): ditto
1740         (save): use fs::copy_file (from fs_extras)
1741
1742         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1743
1744         * LaTeX.C (run): rewrite to use boost.filesystem
1745         (scanAuxFiles): ditto
1746         (handleFoundFile): ditto
1747
1748 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1749
1750         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1751
1752         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1753
1754 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1755
1756         * lyxlayout.[Ch]: change some vars from float to double
1757
1758         * buffer.C (readFile): make a local var const
1759
1760         * Several files: use convert<> instead of atoi,strToXXX and friends
1761
1762 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1763
1764         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1765         holds the contents of packages.lst. New functions getAvailable
1766         and isAvailable to parse and check that list, resp.
1767
1768         * LyXAction.C:
1769         * lfuns.h:
1770         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1771
1772         * bufferparams.[Ch]: new param output_changes.
1773
1774         * Buffer.C: increase file format to 240.
1775         Use output_changes and isVailable.
1776
1777         * changes.[Ch]:
1778         * paragraph.C:
1779         * paragraph_pimpl.C: Use output_changes and isVailable.
1780
1781 2005-01-23  Angus Leeming  <leeming@lyx.org>
1782
1783         * output_latex.C: #include "insetbibitem.h", rather than
1784         forward declare function bibitemWidest.
1785
1786 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1787
1788         * lyx_main.C (init): make it compile on the Mac.
1789
1790 2005-01-20  Angus Leeming  <leeming@lyx.org>
1791
1792         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1793         (setLyXMisc): (char string literal) != (char string literal) is
1794         performing a comparison on the addresses. Convert one operand
1795         explicitly to string to guarantee expected behaviour.
1796         From MSVC warning.
1797
1798 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1799
1800         * buffer.C:
1801         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1802
1803         * output_plaintext.C: remove unneeded #include gzstream.h.
1804
1805 2005-01-20  Angus Leeming  <leeming@lyx.org>
1806
1807         * SpellBase.h: rename some of the elements of the Result enum.
1808
1809         * aspell_local.h:
1810         * ispell.h:
1811         * pspell.h:
1812         * aspell.C (check):
1813         * ispell.C (check):
1814         * pspell.C (check): ditto
1815
1816 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1817
1818         * buffer.C: add #include <fstream>.
1819
1820         * lyx_main.C (init): Compile fix.
1821
1822         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1823
1824 2005-01-20  Angus Leeming  <leeming@lyx.org>
1825
1826         * mover.h: change commentary to reflect the changed meaning of
1827         the $$s placeholder.
1828
1829 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1830
1831         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1832
1833         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1834
1835 2005-01-20  Angus Leeming  <leeming@lyx.org>
1836
1837         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1838         printing diagnostic data by not dereferecing an iterator past the
1839         end.
1840
1841 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1842
1843         * buffer.C (readHeader): use "&&" rather than "and".
1844
1845         * lyxserver.h (inPipeName, outPipeName): make these const.
1846
1847 2005-01-19  Angus Leeming  <leeming@lyx.org>
1848
1849         * lyx_main.C (error_handler, init): protect SIGHUP with
1850         #ifdef SIGHUP guards.
1851
1852 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1853
1854         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1855
1856 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1857
1858         * text.C (setHeightOfRow): add a margin at the top and bottom of
1859         the document (bug 1761)
1860
1861 2005-01-17  Angus Leeming  <leeming@lyx.org>
1862
1863         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1864         with "python ". Workaround for a brain-dead Windows.
1865
1866 2005-01-16  Angus Leeming  <leeming@lyx.org>
1867
1868         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1869         for MacOSX and Windows to use prependEnvPath.
1870         Strip out the hard-coded block to add elements to the PATH for
1871         MacOSX and replace it with a call to prependEnvPath using the
1872         contents of LyXRC::path_prefix.
1873         (queryUserLyXDir): strip out the code to run reconfigure, instead
1874         returning a boolean indicating the necessity to do so.
1875         (reconfigureUserLyXDir): contains the code to reconfigure the
1876         user support directory. Is now called after the various LyXRC data
1877         files have been read.
1878
1879         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1880
1881 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1882
1883         * converter.[Ch] (convert): take a new parameter try_default. Use
1884         a default converter (imagemagick) if try_default is true.
1885
1886 2005-01-13  Angus Leeming  <leeming@lyx.org>
1887
1888         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1889         os::cygwin_path_fix.
1890         (write): output LyXRC::cygwin_path_fix as necessary.
1891
1892 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1893
1894         * lyxrc.h:
1895         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1896
1897 2005-01-12  Angus Leeming  <leeming@lyx.org>
1898
1899         * lyx_main.C (init): set the PATH variable to include the
1900         directory containing the LyX binary when running on Mac or Windows.
1901
1902 2005-01-12  Angus Leeming  <leeming@lyx.org>
1903
1904         * lyx_main.C (init): remove cruft that purports to set the locale
1905         dir. It doesn't and is not needed anyway.
1906
1907 2005-01-10  Angus Leeming  <leeming@lyx.org>
1908
1909         * Makefile.am: remove the lyx_main.C special casing.
1910
1911         * BufferView_pimpl.C:
1912         * bufferlist.C:
1913         * exporter.C:
1914         * lyx_cb.C:
1915         * lyx_main.C:
1916         * lyxfunc.C:
1917         * messages.C: use support/package.h to provide the paths to the
1918         various directories used by LyX.
1919
1920 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1921
1922         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1923         layout if pasting into an empty paragraph)
1924
1925 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * tex-accent.C: add <string>
1928
1929 2005-01-06  José Matos  <jamatos@lyx.org>
1930
1931         * ParagraphParameters.C (write): put every parameter in its own line.
1932         * paragraph.C (write): reduce number of consecutive empty lines exported.
1933         * buffer.C (LYX_FORMAT): increase file format to 239.
1934
1935 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1936
1937         * everywhere: change support/tostr.h -> support/convert.h
1938
1939         * tabular.C: make all write_attributes templates, tostr -> convert
1940
1941         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1942         (emptyTag): and -> &&, and fix type for ret from getChar
1943         (getFirstWord): fix type for ret from getChar
1944         (onlyText): and -> &&
1945         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1946         getChar
1947
1948         * toc.C (goTo, action):
1949         * text3.C (dispatch):
1950         * text.C (currentState):
1951         * tex-accent.C (DoAccent):
1952         * sgml.C:
1953         * lyxrc.C:
1954         * lyxfunc.C (menuNew):
1955         * lyxfinc.C (replace):
1956         * counters.C (laberItem):
1957         * bufferview_funcs.C (font2string):
1958         * bufferparams.C (writeFile):
1959         * buffer.C (readFile):
1960         * Spacing.C (set):
1961         * MenuBackend.C: tostr -> convert
1962
1963         * LaTeX.C (runMessage): fix format
1964         (scanAuxFiles): tostr -> convert
1965
1966         * BufferView_pimpl.C (savePosition): fix format
1967         (restorePosition): ditto
1968         (dispatch): ditto
1969
1970 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1971
1972         * Spacing.[Ch]: New method getValueAsString().
1973
1974         * Spacing.[Ch]:
1975         * bufferparams.C:
1976         * ParagraphParameters.C:
1977         * lyxlayout.C:
1978         * text.C:
1979         * text3.C: store/read spacing value as string.
1980
1981         * rowpainter.C: change float value (spacing_val) to double.
1982
1983         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1984         broken custom document spacing).
1985
1986 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1987
1988         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1989         namespace, also more use of temp references and const
1990
1991         * cursor.[Ch] (getStatus): move to lyxfunc.C
1992
1993         * bufferparams.C: reformat slightly
1994
1995         * bufferview_funcs.C (font2string): constify arg
1996
1997         * changes.C:
1998         * converter.C:
1999         * counters.C:
2000         * bufferlist.C:
2001         * buffer_funcs.C: (many funcs): constify arg on function
2002         definitions, also make more local vars const, also add ASSERTS on
2003         pointer args.
2004
2005         * buffer.C (LYX_FORMAT): put const in correct place
2006         (many funcs): constify arg on function definitions, also make
2007         more local vars const
2008
2009         * aspell_local.h: remove "struct" from typdef setup
2010
2011         * aspell.C (check): make word_ok const
2012         (nextMiss): simplify slightly
2013         (error): ditto
2014
2015 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2016
2017         * lyxrc.[Ch]: store all float values as strings.
2018         use int (not float) for lyxrc.dpi.
2019
2020 2005-01-04  Angus Leeming  <leeming@lyx.org>
2021
2022         * lyx_cb.C (Reconfigure):
2023         * lyx_main.C (queryUserLyXDir):
2024         to run the <system_lyxdir>/configure correctly on Windows, prefix
2025         the path to the script with "sh " when generating the string that
2026         is passed to system().
2027
2028 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2029
2030         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2031
2032 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2033
2034         * lyxlength.C (asLatexString): get rid of setprecision
2035
2036 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2037
2038         * text2.C (setLayout): remove unused variable endpit.
2039         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2040
2041         * paragraph.C (onlyText): remove unused variable style.
2042
2043         * cursor.C (bruteFind): remove unused variables beg and end.
2044
2045         * Makefile.am (dist_noinset_DATA): not needed anymore
2046
2047         * cheaders/*: remove.
2048
2049 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2050
2051         * text3.C: fix LFUN_MATH_MODE.
2052
2053 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2054
2055         * buffer_funcs.C (countWords): new function. Counts words between
2056         two iterators.
2057
2058         * BufferView_pimpl.C (getStatus, dispatch): handle
2059         LFUN_WORDS_COUNT.
2060
2061         * LyXAction.C (init):
2062         * lfuns.h: add LFUN_WORDS_COUNT.
2063
2064 2004-12-19  Angus Leeming  <leeming@lyx.org>
2065
2066         * buffer.C (save): s/slashify_path/internal_path/.
2067
2068 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2069
2070         * lyxfind.C (findChange): do not search for end of pars, because
2071         the change tracker cannot handle this (fixes bug 1719).
2072
2073 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2074
2075         * paragraph.[Ch] (autoBreakRows): remove
2076
2077         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2078
2079         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2080         avoid using the paragraph one
2081
2082         * text2.C (LyXText, insertStringAsLines): adjust
2083
2084 2004-12-16  Angus Leeming  <leeming@lyx.org>
2085
2086         * bufferlist.C:
2087         * lyx_main.C:
2088         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2089
2090 2004-12-14  Angus Leeming  <leeming@lyx.org>
2091
2092         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2093
2094         * bufferlist.C (emergencyWrite):
2095         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2096         GetEnvPath("HOME").
2097
2098 2004-12-14  Angus Leeming  <leeming@lyx.org>
2099
2100         * main.C: (main): no longer pass pointers to os::init.
2101
2102 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2103
2104         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2105         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2106
2107 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2108
2109         * lyxfunc.C:
2110         * text3.C: remove selection_possible global flag
2111
2112 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2113
2114         * text2.C (getSelectionSpan): remove
2115         (changeDepth, changeDepthAllowed): adjust
2116
2117 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2118
2119         * Makefile.am (BOOST_LIBS): use boost variables
2120
2121 2004-12-03  José Matos  <jamatos@lyx.org>
2122
2123         * buffer.C: format up to 238.
2124
2125 2004-12-03  José Matos  <jamatos@lyx.org>
2126
2127         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2128
2129 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * cursor.C (goUpDown): remove call to idxUpDown2
2132
2133 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2134
2135         * tabular.[Ch]: use size_t-like types for cell, row and column
2136         indices
2137
2138 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2139
2140         * lyxfunc.C (getStatus): do not lose previous information when
2141         calling BufferView::getStatus; do not set a default "Command
2142         disabled" message at the beginning, but just before returning.
2143
2144 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2145
2146         * cursor.h (getStatus): add better comment from src/cursor.C
2147
2148 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2149
2150         * text3.C (getStatus): return false when the lfun is not handled
2151
2152 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * broken_headers.h: remove
2155
2156         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2157
2158 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2159
2160         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2161         offset_ref accessors
2162
2163         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2164         top_y_, merge fitcursor with update
2165         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2166         coord scheme
2167         (metrics): introduce
2168         (workAreaDispatch): adapt to new coord scheme
2169         (redoCurrentBuffer): remove
2170
2171         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2172
2173         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2174         CurStatus enum.
2175
2176         * coordcache.[Ch]: add paragraph cache and helpers
2177
2178         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2179         adjust everywhere
2180
2181         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2182         (targetX, setTargetX): introduce
2183
2184         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2185         baseline -> ascent, as the rest of lyx
2186
2187         * lyxtext.h: remove redoParagraphs, updateParPositions,
2188         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2189         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2190         have ascent/descent (ascent is ascent of first par)
2191
2192         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2193         step of BufferView
2194
2195         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2196
2197         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2198
2199         * pariterator.C: fix infinite loop introduced in par->pit renaming
2200
2201         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2202         in insets and LyXText, draw two off-screen paragraphs using
2203         NullPainter, and adapt to new coord scheme
2204
2205         * text.C:
2206         * text2.C:
2207         * text3.C: adapt lfun handlers to the new coord scheme, which
2208         means: there's only guaranteed coord information for onscreen pars
2209         plus one above and one below. This implies that one can do search
2210         from y coordinates in the range [-1,workHeight]
2211
2212 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * rename a lot of InsetOld to InsetBase
2215
2216 2004-11-25  Angus Leeming  <leeming@lyx.org>
2217
2218         * BufferView_pimpl.C:
2219         * lyx_cb.C:
2220         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2221
2222 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2223
2224         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2225         call BufferView::getStatus if LCursor::getStatus did nothing
2226         (setStatusMessage, getStatusMessage): removed.
2227
2228         * FuncStatus.C (message): new methods. Used to provide an error
2229         message indicating why a command is disabled.
2230         (clear, |=, FuncStatus): update for message.
2231
2232 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2233
2234         * lyxfunc.C (dispatch): always call sendDispatchMessage
2235
2236 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * BufferView.C:
2239         * BufferView_pimpl.C:
2240         * CutAndPaste.C:
2241         * FontIterator.C:
2242         * buffer.C:
2243         * cursor.C:
2244         * cursor_slice.[Ch]:
2245         * dociterator.[Ch]:
2246         * lyxfind.C:
2247         * paragraph_funcs.C:
2248         * pariterator.C:
2249         * rowpainter.C:
2250         * text.C:
2251         * text2.C:
2252         * text3.C:
2253         * undo.C: par->pit renaming
2254
2255 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2256
2257         * tabular.C (cellstruct): use initialization, store a shared_ptr
2258         to insettext instead of the insettext directly, adjust to fit.
2259         (operator=):  new function
2260         (swap): new function
2261         (rowstruct): use initialization
2262         (columnstruct): use initialization
2263         (ltType): use initialization
2264
2265
2266         * lyxlength.h (swap): new function
2267
2268         * LColor.[Ch] (operator=): use the common semantics
2269
2270 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * lyxfind.C (findNextChange): update the bufferview after setting
2273         the selection.
2274
2275 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2278         number of InsetOptArgs has already been inserted.
2279
2280         * output_latex.C (latexOptArgInsets): new method. This outputs all
2281         the optarg insets, up to the limit defined in the layout file.
2282         (optArgInset): removed
2283         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2284
2285 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * paragraph.C (isLetter): remove special spellchecker-related
2288         code; return true also for digits
2289         (isWord, isKomma): remove
2290
2291         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2292         * lyxfind.C (MatchString()): use isLetter instead of isWord
2293
2294 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * pariterator.h (operatir=): comment out un-implemented member
2297         function.
2298
2299         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2300         static cast.
2301
2302 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * lyxfont.h: include LColor.h to satisfy concept checks.
2305
2306 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * pariterator.h: add typdefs for value_type, difference_type,
2309         pointer and reference to satisfy concept checks. Also add default
2310         constructor for same reason.
2311
2312         * pariterator.C (operator++): add post-increment operator to
2313         satisfy concept checks.
2314
2315         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2316         checks.
2317
2318         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2319
2320         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2321         checks. Also rename base_type to BaseType to follow naming
2322         standard better.
2323
2324         * FloatList.h: include Floating.h to satisfy concept checks.
2325
2326 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2327
2328         * lyxfunc.C (getStatus): when the origin of the request is menu or
2329         toolbar, and the LyXView does not have focus, do as if there was
2330         no buffer (bug 1720)
2331
2332         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2333         FuncRequest to individual entries of LFUN_SEQUENCE
2334
2335 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * output_latex.C (TeXOnePar): override runparams.moving_arg
2338         according to the needprotect value of the current paragraph (bug
2339         1739)
2340
2341         * paragraph.C (simpleTeXOnePar): no need to override
2342         runparams.moving_args here
2343
2344 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2345
2346         * vspace.C: fix off-by-one-error, related to fix #1682
2347
2348 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2349
2350         * lengthcommon.C: a more general fix for bug 1682
2351
2352 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2353
2354         * text.C (backspace): fix crash
2355
2356 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2357
2358         * format.[Ch] (getFormatFromFile): new method
2359         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2360
2361 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2362
2363         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2364
2365 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2366
2367         * lyxfunc.C (dispatch): remove the verbose argument
2368         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2369         instead
2370
2371         * kbmap.C (defkey): set the origin of func to KEYBOARD
2372
2373         * MenuBackend.C (MenuItem):
2374         * ToolbarBackend.C (add): set the origin of func to UI
2375
2376         * funcrequest.[Ch]: add origin member, which indicates which part
2377         of LyX requests an action
2378
2379 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2380
2381         * converter.C (move): don't lie in the error message
2382         * converter.h (isReachable, move): document
2383
2384 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * buffer.C: remove unused using lyx::support::atoi
2387         * paragraph_funcs.C: ditto
2388
2389 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2390
2391         * bufferlist.C (exists): use bind and equal_to instead of
2392         compare_memfun
2393         (getBuffer): ditto
2394         * lyxtextclasslist.C (NumberOfClass): ditto
2395
2396         * cursor.C (insert): use for_each instead of explicit for loop
2397
2398         * bufferlist.C (getFileNames): use std::transform and
2399         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2400
2401         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2402         for loop
2403
2404         * buffer.C (changeLanguage): use for_each instead of explicit for
2405         loop
2406         (hasParWithID): implement using getParFromID
2407
2408         * LaTeXFeatures.C: ws change only
2409
2410         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2411         to cleanup a bit.
2412
2413         * BufferView_pimpl.C (trackChanges): use for_each instead of
2414         expilicit for loop
2415
2416 2004-11-04  André Pönitz  <poenitz@gmx.net>
2417
2418         * undo.h:
2419         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2420
2421         * dociterator.C (asDocIterator): use hard assert again.
2422
2423 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2424
2425         * lyxlength.C (asLatexString): rewrite so that it does not use
2426         snprintf anymore
2427
2428 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * text3.C (specialChar, dispatch): make sure cursor moves to the
2431         right after inserting an inset
2432
2433 2004-11-02  José Matos  <jamatos@lyx.org>
2434
2435         * output_docbook.C (docbook):
2436         * paragraph.C (getID):
2437         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2438         garantee that the output is always legal.
2439
2440         * tabular.C (docbook):
2441         * outputprams.[Ch]: remove mixed contents.
2442
2443 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2444
2445         * text2.C (setCounter): prevent endless loop
2446
2447 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2448
2449         * exporter.C (copyFile): use the mover instead of support::copy()
2450         * exporter.C (Export): pass format and latex name to copyFile()
2451         * exporter.h (addExternalFile): document
2452         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2453
2454 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2455
2456         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2457
2458 2004-10-30  José Matos  <jamatos@lyx.org>
2459
2460         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2461         text and no inset or font change. This allows to use CDATA
2462         sections just for the whole paragraph.
2463
2464 2004-10-30  José Matos  <jamatos@lyx.org>
2465
2466         * paragraph.C (getFirstWord): remove unused variable.
2467
2468 2004-10-30  José Matos  <jamatos@lyx.org>
2469
2470         * paragraph.C (getFirstWord): the content should always be escaped
2471         there.
2472         (simpleDocBookOnePar):
2473         * output_docbook.C (makeEnvironment): replace reference to CDATA
2474         to style pass_thru.
2475
2476 2004-10-30  José Matos  <jamatos@lyx.org>
2477
2478         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2479
2480 2004-10-30  José Matos  <jamatos@lyx.org>
2481
2482         * output_docbook.C (makeParagraphs):
2483         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2484         standard paragraph has only a given type of content drop the wrapper.
2485
2486 2004-10-29  José Matos  <jamatos@lyx.org>
2487
2488         * output_docbook.C (makeEnvironment):
2489         * sgml.C (openTag):
2490         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2491
2492 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2493
2494         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2495         (cleanID): sanitize any id.
2496
2497 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2498
2499         * buffer.C, lyxlex_pimpl.C:
2500         * lyxlex_pimpl.C (setFile):
2501         s/getExtFromContents/getFormatFromContents/
2502
2503 2004-10-28  José Matos  <jamatos@lyx.org>
2504
2505         * output_docbook.C (makeEnvironment): move id to broadest possible
2506         scope.
2507
2508         * sgml.C (openTag): apply substitution of <> for all attributes.
2509
2510 2004-10-28  José Matos  <jamatos@lyx.org>
2511
2512         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2513         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2514         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2515
2516         * sgml.[Ch]: new version for open and closeTag for paragraph and
2517         for strings. Now they handle the ids of paragraphs.
2518
2519 2004-10-26  Angus Leeming  <leeming@lyx.org>
2520
2521         * Makefile.am: add mover.[Ch].
2522
2523         * converter.C (convert, move): use the new Movers to move external
2524         files to the temp directory.
2525
2526         * lyx_main.C (init): ensure that the global system_movers data
2527         is initialised.
2528
2529         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2530         preferences file.
2531
2532         * mover.[Ch]: new files, defining a Mover as a utility to move an
2533         external file between directories and, if necessary, manipulate this
2534         file using a helper script.
2535
2536 2004-10-25  José Matos  <jamatos@lyx.org>
2537
2538         * output_docbook.C (makeCommand): merge two if's that tested the
2539         same condition.
2540
2541 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * sgml.C (escapeString): fix warning in a better way
2544
2545 2004-10-25  José Matos  <jamatos@lyx.org>
2546
2547         * sgml.C (escapeString): import the require boosts header file for
2548         tie, and avoid a signed unsigned comparison.
2549
2550 2004-10-25  José Matos  <jamatos@lyx.org>
2551
2552         * sgml.h: add #include <string>
2553
2554 2004-10-25  José Matos  <jamatos@lyx.org>
2555
2556         * sgml.[Ch] (escapeString): new function to escape all the string.
2557
2558 2004-10-24  José Matos  <jamatos@lyx.org>
2559
2560         * paragraph.[Ch] (getFirstWord): new function to get the first
2561         word. Useful for description.
2562         (simpleDocBookOnePar): remove depth argument, add another that
2563         says where to start the paragraph.
2564
2565         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2566         use the new functions to fix cleanly the support for descriptions.
2567
2568 2004-10-24  José Matos  <jamatos@lyx.org>
2569
2570         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2571         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2572         * output_linuxdoc.C (linuxdocParagraphs):
2573         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2574         add buffer as argument.
2575
2576 2004-10-24  José Matos  <jamatos@lyx.org>
2577
2578         * output_docbook.C (makeEnvironment, searchEnvironment): place
2579         CDATA inside paragraphs and fix scope for listitems.
2580
2581 2004-10-24  José Matos  <jamatos@lyx.org>
2582
2583         * output_docbook.C: remove using statement for stack.
2584
2585 2004-10-23  José Matos  <jamatos@lyx.org>
2586
2587         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2588         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2589         docbook. The new scheme is recursive and makes use of iterators, the
2590         same as latex export works.
2591         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2592         directly with the paragraph contents. This code was moved up to
2593         output_docbook.C (docbookParagraphs).
2594         * sgml.C (openTag, closeTag): removed unneeded newlines.
2595         (closeEnvTags) removed.
2596
2597 2004-10-23  André Pönitz  <poenitz@gmx.net>
2598
2599         * undo.C (textUndoOrRedo):
2600         * dociterator.C (asDocIterator): work around crash
2601
2602         * cursor.C (getStatus): replace ASSERT by more verbose error message
2603           and manual correction of the problem. Should increase stability
2604           while providing more sensible information.
2605
2606 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2607
2608         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2609
2610         * bufferlist.C (previous, next): new methods
2611
2612         * lfuns.h:
2613         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2614
2615 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2616
2617         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2618         entities to preamble.
2619
2620 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2621
2622         * messages.C (Pimpl): strip off translation context information
2623
2624 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2625
2626         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2627         the cursor is correct (bug 1694)
2628
2629 2004-10-13  José Matos  <jamatos@lyx.org>
2630
2631         * output_docbook.C (docbookParagraphs): fix closing tags in the
2632         end of the document.
2633
2634 2004-10-09  José Matos  <jamatos@lyx.org>
2635
2636         * buffer.C: format up to 237.
2637         * bufferparams.C (write): use tostr to convert booleans to strings.
2638
2639 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2640
2641         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2642
2643 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2644
2645         * LaTeX.C: implement use of babel language in xindy.
2646
2647 2004-10-05  José Matos  <jamatos@lyx.org>
2648
2649         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2650         Add new translators to help reading and writing the lyx file.
2651
2652 2004-10-05  José Matos  <jamatos@lyx.org>
2653
2654         * ParagraphParameters.C (read):
2655         * text.C (readParToken): replace nexToken by more appropriate lex
2656         methods.
2657
2658 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2659
2660         * LaTeX.C (runMakeIndex):
2661         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2662         (usually 'makeindex') configurable.
2663
2664         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2665         with a variable rather than with a number.
2666
2667 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2668
2669         * output_latex.C (TeXOnePar): make sure font setting is the first
2670         thing that gets output (and the last at the end). Should fix bug
2671         1404.
2672
2673 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * pch.h: use proper signal include
2676
2677         * LaTeX.h: Use preferred calling of Boost.Signal
2678         * buffer.h: ditto
2679
2680 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * pch.h: dont include <boost/function/function0.hpp>
2683
2684         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2685
2686         * paragraph_pimpl.h: remove usage of ShareContainer
2687
2688         * paragraph_pimpl.C: remove initialization of ShareContainer.
2689
2690 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2691
2692         Fix bug #1666
2693
2694         * BufferView.C (putSelectionAt): change the semantics when
2695         backwards == true: now, this just swaps cursor and anchor wrt the
2696         forward case
2697
2698         * BufferView.h (putSelectionAt): add some documentation
2699
2700         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2701         make sure backwardChar is done at least once (to avoid getting
2702         stuck)
2703         (findNextChange): use putSelectionAt in the forward direction
2704         (operator()): use Paragraph::isWord
2705
2706 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2707
2708         * Spacing.C (set): c_str fix
2709
2710 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * lyx_cb.C (Reconfigure): quote the name of configure script in
2713         case it contains spaces
2714
2715 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * client: new dir
2718
2719         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2720         (BOOST_LIBS): use top_buildir when looking for the file
2721
2722 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2723
2724         * pch.h: do not use include boost/format.hpp, multiple symbols
2725                 will result (gcc bug)
2726
2727
2728 2004-08-23  José Matos  <jamatos@lyx.org>
2729
2730         * bufferparams.C (readToken): fix reading of the author field.
2731
2732 2004-08-20  José Matos  <jamatos@lyx.org>
2733
2734         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2735
2736 2004-08-20  José Matos  <jamatos@lyx.org>
2737
2738         * lyxlex.[Ch] (findToken): remove function.
2739
2740         * ParagraphParameters.C (findToken):
2741         * bufferparams.C (findToken): replace call for previous function
2742         with local copy. This local function has one more argument, the
2743         read string argument.
2744
2745 2004-08-16  José Matos  <jamatos@lyx.org>
2746
2747         * ParagraphParameters.C (write):
2748         * Spacing.C (writeFile):
2749         * bufferparams.C (writeLaTeX):
2750         * lyx_cb.C (Reconfigure):
2751         * paragraph.C (write):
2752         * tabular.C (write): remove unnecessary space at end of line.
2753
2754
2755 2004-08-16  José Matos  <jamatos@lyx.org>
2756
2757         * text.C (readParagraph): remove debug message.
2758
2759 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2762         crash
2763
2764         * output_plaintext.C (asciiParagraph): set depth correctly
2765
2766         * outputparams.h: add member depth
2767
2768         * paragraph_funcs.C (ownerPar): remove.
2769
2770         * text2.C (setCounter): remove first_pit; comment out some
2771         non-working code that uses ownerPar
2772
2773         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2774         uses ownerPar
2775
2776 2004-08-16  José Matos  <jamatos@lyx.org>
2777
2778         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2779         For the same level of importance use the same chanel to report problems.
2780         (read): add code to deal with \begin_body and \end_body.
2781
2782
2783 2004-08-15  José Matos  <jamatos@lyx.org>
2784
2785         * lyxlex.C (getString): fix comment, buffer::readBody is now
2786         buffer:readDocument.
2787
2788         * tex-strings.C (string_papersize): Default -> default,
2789         Custom -> custom, for consistency with other options.
2790
2791 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2792
2793         * pch.h: new file
2794
2795         * Makefile.am: support pch
2796
2797 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2798
2799         * text.C (readParToken): remove the static LyXFont variable and
2800         pass it as a parameter instead. This fixes a nasty bug where an
2801         inset will be inserted with a bad font in some situations
2802         (readParagraph): adapt
2803
2804         * text2.C (setCounter): reduce number of calls to pars_[pit]
2805
2806         * text.C (singleWidth): add an assert, fix a test
2807
2808         * rowpainter.C (paintText): reduce number of calls to singleWidth
2809
2810         * paragraph.C (isHfill):
2811         (isNewline): ws only
2812
2813 2004-08-14  André Pönitz  <poenitz@gmx.net>
2814
2815         * text.C:
2816         * text2.C:
2817         * rowpainter.C:
2818         * lyxtext.h (several functions): use a Paragraph & argument
2819         instead of par_type
2820
2821 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2822
2823         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2824
2825         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2826
2827         * text.C (singleWidth): remove useless test
2828
2829 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * tabular.h: remove bogus comments
2832
2833         * tabular.C (getDescentOfRow):
2834         (isPartOfMultiColumn): add assertions
2835
2836         * lyxlength.C (inPixels): remove #warning
2837
2838 2004-08-14  André Pönitz  <poenitz@gmx.net>
2839
2840         * paragraph.h: inline getChar()
2841
2842         * BufferView.h: remove unused declarations
2843
2844 2004-08-14  José Matos  <jamatos@lyx.org>
2845
2846         * Buffer.[Ch] (readDocument): new name for old readBody.
2847         * Buffer.C: new file format, new keywords: \begin_document,
2848         \begin_header, \begin_body, \end_body.
2849
2850         * bufferparams.C (readToken): replace all calls to lex.nextToken
2851         by lex.next(). Do the same to eatLine except where really needed.
2852
2853         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2854         line when writing to the lyx file.
2855
2856         * output_plaintext.C (asciiParagraph): fix Bibliography style
2857         handling.
2858
2859         * text.C (read): fix end of file handling.
2860
2861 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2862
2863         * MenuBackend.C (Menu::operator[]): new method to access
2864         individual menu items
2865         (Menu::hasFunc): new method. search for an item that corresponds
2866         to a given func
2867         (MenuBackend::specialMenu): new method
2868         (MenuBackend::expand): if a special menu has been set, skip
2869         entries whose func() appears in this menu
2870
2871 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2872
2873         * text3.C: use Debug::DEBUG a bit more
2874
2875         * text.C (leftMargin): try to simplify a tiny bit change var x to
2876         l_margin. Dont output the wide margins always.
2877         (rightMargin): no margin in inner texts
2878
2879         * rowpainter.h (nestMargin): new func
2880         (changebarMargin): new func
2881         (rightMargin): new func
2882
2883         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2884         now functions.
2885         (paintLast): ditto
2886
2887         * factory.C (createInset): modify setDrawFrame
2888
2889         * cursor.C: use Debug::DEBUG a bit more
2890
2891 2004-08-14  André Pönitz  <poenitz@gmx.net>
2892
2893         * coordcache.[Ch]:
2894         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2895         cache for all insets in (at least partially) visible (top-level)
2896         paragraphs.
2897
2898         * BufferView_pimpl.C: reset external coord cache before every update.
2899         This means the coord cache only contains valid entries.
2900
2901 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2902
2903         bug 1096
2904         * BufferView_pimpl.C (getInsetByCode): move function out of class
2905         and change in to a template in anon namespace. Also fix to do what
2906         suits us better.
2907
2908 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2909
2910         bug 1305
2911         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2912         of char
2913         (breakParagraph): rename par to par_offset and use a local
2914         reference. Add code to keep the language over a rebreak.
2915         (breakParagraphConservative): rename par to par_offset, use a
2916         local reference
2917         (mergeParagraph): ditto
2918         (outerHook): ditto
2919         (isFirstInSequence): ditto
2920         (outerFont): rename pit to par_offset
2921
2922         * paragraph.C: ws change
2923         * paragraph.h: ditto
2924         * text3.C: ditto
2925         * text.C: ditto
2926
2927 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2930         treatment for ']'
2931
2932         * paragraph.C (simpleTeXOnePar): when we have a \item with
2933         optional argument, enclose the argument with curly brackets (in
2934         case it contains a closing square bracket)
2935
2936         * text2.C (editXY):
2937         * text2.C (editXY):
2938         * text3.C (checkInsetHit): constify
2939
2940 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2941
2942         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2943         documents (bug 1629)
2944
2945 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2946
2947         Fix toggling of collapsable insets with the mouse (bug 1558)
2948
2949         * lyxfunc.C (dispatch): adapt to LCursor changes
2950
2951         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2952         make sure that dispatch is not invoked twice
2953
2954         * cursor.C (needsUpdate): new method
2955         (dispatch): return void
2956         (result): new method, to access the DispatchResult of the cursor.
2957
2958 2004-08-13  José Matos  <jamatos@lyx.org>
2959
2960         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2961
2962 2004-08-13  André Pönitz  <poenitz@gmx.net>
2963
2964         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2965
2966         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2967           multiple cells
2968
2969 2004-08-12  André Pönitz  <poenitz@gmx.net>
2970
2971         * text3.C: take out the 'cursor right' form insertInset and only
2972         do it in those places when it is really needed. Fixes crash on
2973         C-m...
2974
2975 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2978
2979         * BufferView_pimpl.C (setBuffer): initialize the current font of
2980         the underlying LyXText
2981
2982 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2983
2984         * kbsequence.C (print): use UI native formatting for menu
2985         shortcuts
2986
2987         * text.C (insertChar): call Paragraph::insertChar with a font
2988         argument (cosmetic)
2989
2990         * paragraph.C (insertInset, insertChar): the version that takes a
2991         LyXFont argument is now a wrapper around the other one (the
2992         opposite used to be true).
2993
2994         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2995         argument. Font setting is done in Paragraph now.
2996
2997 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2998
2999         * outputparams.h: add new members intitle and lang.
3000
3001         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3002         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3003
3004 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3005
3006         * text3.C (dispatch): remove special handling of button 4 and 5,
3007         it is now taken care of in the frontend code.
3008
3009 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3010
3011         * Spacing.h: add <string> (STLPort compile fix)
3012
3013 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3014
3015         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3016
3017 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3020         to bool.
3021
3022         * converter.C (showMessage): inherit from unary_function, make
3023         operator() const.
3024
3025         * buffer.C (writeFile): initialize retval
3026
3027         * InsetList.h: rename private variable list to list_
3028         * InsetList.[Ch]: adjust accordingly.
3029
3030 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3033         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3034         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3035         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3036         * ParagraphParameters.C, LaTeXFeatures.C: replace
3037         "support/std_sstream.h" with <sstream>
3038
3039 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3042         * lyxsocket.C (LyXServerSocket): ditto
3043         (serverCallback): ditto
3044
3045 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3046
3047         * LaTeXFeatures.C: check release date when loading jurabib.
3048
3049 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * lyxserver.C (startPipe): call register_socket_callback
3052         (endPipe): call unregister_socket_callback
3053
3054 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3055
3056         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3057         (LyXServerSocket): register the callback
3058         (LyXServerSocket): unregister the callback
3059         (fd): delete function
3060         (serverCallback): improve error checking and setup the callbacks.
3061         (dataCallback): change arg to fd.
3062         (writeln): new func (copied fro the client socket) used for server
3063         write to client.
3064         (LyXDataSocket): simplify
3065         (~LyXDataSocket): close ann unregiser callback
3066         (server): delete function
3067         (fd): delete function
3068         (readln): small changes, improve some std::string usage
3069         (writeln): constify a bit
3070
3071 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3072
3073         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3074         Qt frontend
3075
3076 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3077
3078         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3079         after it has been populated
3080
3081 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3082
3083         * text2.C (insertInset): move cursor when inserting inset.
3084
3085 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3086
3087         * kbmap.C (findbindings): a couple of new methods. returns a
3088         container of kb_sequence objects. The real work is done by the
3089         private recursive version
3090         (printbindings): uses findbindings to print out a bracketed list
3091         of bindings (renamed from findbinding).
3092
3093         * MenuBackend.C (binding): use kb_keymap::findbindings
3094
3095         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3096
3097 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3098
3099         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3100
3101 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3102
3103         * paragraph.C (isWord): return true on insets that report
3104         isLetter().
3105
3106         * text.C (getWord): use Paragraph::isWord to decide what is in a
3107         word and what is not; fix bug 1609.
3108
3109 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3110
3111         * tex-strings.C: add "none" to string_paperpackages[], fixes
3112         off-by-one-error in the paperpackage selection.
3113
3114         * lyxlex.[Ch]:
3115         * tex-strings.[Ch]: char const * string[n]
3116         -> char const * const string[]
3117
3118 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3119
3120         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3121         command, return early.
3122
3123 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * debug.h: add DEBUG to enum and fix size of ANY.
3126
3127         * debug.C: add support for Debug::DEBUG
3128         (showTags): cast errorTags.level to unsigned int
3129
3130         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3131         (redoCurrentBuffer): ditto
3132         (updateScrollbar): ditto
3133         * cursor.C (dispatch): ditto
3134         * text2.C (setLayout): ditto
3135         (setFont): ditto
3136         (updateCounters): ditto
3137         (editXY): ditto
3138         (deleteEmptyParagraphMechanism): ditto
3139
3140 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3143         annotations to cleanup the Makefile slightly.
3144
3145 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3146
3147         * lyxrc.C: do not set user_email to a default value but use empty
3148         instead. The entry used to be translated, which does not work
3149         since at the point where lyxrc is constructed there is no
3150         translation service available
3151
3152         * messages.C (getLocaleDir): remove and use directly
3153         lyx_localedir() instead
3154
3155 2004-06-02  Angus Leeming  <leeming@lyx.org>
3156
3157         Fix crash caused by dereferencing null pointer 'exportdata' in
3158         OutputParams by creating a new ExportData variable on the heap,
3159         storing it in a boost::shared_ptr.
3160         The crash was triggered when generating an Instant Preview
3161         of an external inset.
3162
3163         * Makefile.am: add outputparams.C
3164
3165         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3166         (c-tor): allocate memory to it.
3167
3168         * exporter.C (c-tor): associated changes.
3169
3170 2004-06-01  Angus Leeming  <leeming@lyx.org>
3171
3172         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3173         contains data before calling isInset(0). (Bug 1513.)
3174
3175 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3176
3177         * exporter.C (checkOverwrite): new method
3178         * exporter.C (copyFile): new method
3179         * exporter.C (Export): copy referenced files to the document dir
3180         * exporter.[Ch]: new class ExportedFile
3181         * exporter.[Ch]: new class ExportData. Contains currently the
3182         names of referenced external files
3183         * outputparams.h: add exportdata member.
3184
3185 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3188         version.C-tmp
3189
3190 2004-05-19  Angus Leeming  <leeming@lyx.org>
3191
3192         * LaTeXFeatures.C:
3193         * ToolbarBackend.C:
3194         * bufferparams.C:
3195         * lyxfunc.C: small changes due to the introduction of namespace
3196         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3197
3198 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * text3.C (dispatch): supress update when only moving the cursor
3201         * cursor.C (selHandle): remove commented code
3202
3203 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3204
3205         * paragraph.C (startTeXParParams): correct column count
3206         * CutAndPaste.C (pasteSelection): remove const_cast
3207         * output_docbook.C (docbookParagraphs): remove const_cast
3208         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3209         const_cast and return ParagraphList::const_iterator
3210         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3211         * output_plaintext.C (writeFileAscii): remove const_cast
3212         * paragraph.[Ch] (simpleTeXOnePar): make const
3213         * paragraph_funcs.C (outerPar): use const iterators
3214         * paragraph_pimpl.C (validate): use const iterators
3215         * text.C (setHeightOfRow): use const iterators
3216
3217 2004-05-17  Angus Leeming  <leeming@lyx.org>
3218
3219         * lfuns.h:
3220         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3221
3222         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3223         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3224         if the citation engine has changed.
3225
3226 2004-05-14  José Matos  <jamatos@lyx.org>
3227
3228         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3229         if the textclass does not provide it. Have it different for sgml and
3230         xml.
3231         support the language of document.
3232         * output_docbook.C (docbookParagraphs):
3233         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3234         first anchor as the id of the paragraph, remove special case code.
3235         * sgml.C (escapeChar): escape only < & >.
3236
3237 2004-05-14  Angus Leeming  <leeming@lyx.org>
3238
3239         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3240         dependencies on src/frontends/controllers/biblio.h. Define a
3241         CiteEngine_enum wrapper class to enable the enum to be forward
3242         declared.
3243
3244 2004-05-12  Angus Leeming  <leeming@lyx.org>
3245
3246         * buffer.C: up LYX_FORMAT to 234.
3247         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3248         use_numerical_citations with a single biblio::CiteEngine cite_engine
3249         variable.
3250         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3251
3252 2004-05-13  José Matos  <jamatos@lyx.org>
3253
3254         * converter.h:
3255         * converter.C (Converter, readFlags): add xml member.
3256         * outputparams.h: add XML flavor.
3257         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3258
3259 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3260
3261         * lyxfunc.C (dispatch):
3262         (getStatus): fix handling of LFUN_SEQUENCE
3263
3264 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3265
3266         * debug.C (showLevel): do not forget the end-of-line marker
3267
3268 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3269
3270         * kbmap.C (read): do not stop parsing a bind file when an error
3271         occurs (bug 1575)
3272
3273 2004-04-29  Angus Leeming  <leeming@lyx.org>
3274
3275         * cursor.C:
3276         * factory.C:
3277         * pariterator.C:
3278         * text2.C: wrap a bunch of #warning statements
3279         inside #ifdef WITH_WARNINGS blocks.
3280
3281 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3282
3283         * buffer.C: increment format to 233.
3284
3285 2004-04-28  Angus Leeming  <leeming@lyx.org>
3286
3287         * BufferView_pimpl.C:
3288         * lyxfunc.C:
3289         * text3.C:
3290         s/updateToolbar()/updateToolbars()/
3291         s/Toolbar.h/Toolbars.h/
3292
3293 2004-04-28  Angus Leeming  <leeming@lyx.org>
3294
3295         * BufferView.[Ch] (c-tor):
3296         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3297         No longer passes these data to the WorkArea generator.
3298
3299 2004-04-28  Angus Leeming  <leeming@lyx.org>
3300
3301         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3302
3303 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3304
3305         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3306
3307 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3308
3309         * output_latex.C (TeXEnvironment): make sure that there is a line
3310         break before \end{foo} for the last paragraph of a document
3311         (TeXOnePar): if the paragraph is at the end of the document (or
3312         inset) and the language has to be reset, then make sure that the
3313         line break is _before_ the language command, not after (fixes bug
3314         1225); also make sure that the language reset command is the first
3315         thing after the paragraph (to ensure proper nesting of
3316         environments and thus fix bug 1404)
3317
3318 2004-04-21  John Levon  <levon@movementarian.org>
3319
3320         * ToolbarBackend.h:
3321         * ToolbarBackend.C: make "name" be a programmatic name
3322         and a gui_name field.
3323
3324         * lyxfunc.C: display the minibuffer on M-x
3325
3326 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3327
3328         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3329         (bug 1526)
3330
3331 2004-04-19  Angus Leeming  <leeming@lyx.org>
3332
3333         * BufferView_pimpl.C (setBuffer): changed preview interface.
3334
3335         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3336         possible values.
3337
3338 2004-04-19  John Levon  <levon@movementarian.org>
3339
3340         * BufferView_pimpl.C:
3341         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3342
3343 2004-04-05  Angus Leeming  <leeming@lyx.org>
3344
3345         * text.C (redoParagraphs): add call to updateCounters(), thereby
3346         fixing the missing "Figure #:" label from the caption of a
3347         figure float.
3348
3349 2004-04-13  Angus Leeming  <leeming@lyx.org>
3350
3351         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3352         cursor is clicked out of an inset.
3353
3354 2004-04-13  Angus Leeming  <leeming@lyx.org>
3355
3356         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3357         than an InsetOld one.
3358
3359 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3360
3361         * format.[Ch]: add editor to Format
3362         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3363         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3364
3365 2004-04-08  André Pönitz  <poenitz@gmx.net>
3366
3367         * metricsinfo.h: remove PainterInfo::width member
3368
3369 2004-04-08  Angus Leeming  <leeming@lyx.org>
3370
3371         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3372         "\providecommand" rather than "\newcommand", thereby preventing
3373         clashes with packages that define "\boldsymbol" themselves.
3374         Eg, beamer.
3375
3376 2004-04-08  Angus Leeming  <leeming@lyx.org>
3377
3378         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3379         thereby squashing an unnecessary warning.
3380
3381 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3382
3383         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3384         setBuffer()
3385
3386 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * BufferView.C (setCursor): call redoParagraph (some insets could
3389         have been opened)
3390         (putSelectionAt): remove the 'double update' trick
3391
3392         * BufferView_pimpl.C (fitCursor): call refreshPar
3393         (workAreaDispatch): remove an uneeded update call
3394         (dispatch): remove some manual update calls
3395
3396         * cursor.[Ch]: remove cached_y_, updatePos
3397         (selHandle): set noUpdate when appropriate
3398
3399         * lyxfunc.C (dispatch): track if we need an update
3400
3401         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3402
3403         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3404         (paintSelection): cheap optimization, do not call cursorX when not
3405         needed
3406         (paintPars): change signature
3407         (refreshPar): add
3408         (paintText): adjust
3409         (paintTextInset): adjust
3410
3411         * text.C: adjust
3412
3413 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3414
3415         * lengthcommon.C: compilation fix: remove explicit array size from
3416         unit_name[] and friends
3417
3418 2004-04-05  Angus Leeming  <leeming@lyx.org>
3419
3420         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3421
3422         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3423         present only for the preferences dialog.
3424         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3425
3426 2004-04-05  Angus Leeming  <leeming@lyx.org>
3427
3428         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3429         to enable the frontends to export changes to lyxrc correctly.
3430
3431         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3432
3433 2004-04-07  André Pönitz  <poenitz@gmx.net>
3434
3435         * cursor.[Ch] (selClear, adjust): remove math
3436
3437         * cursor_slice.C: more agressive assert
3438
3439         * lyxfunc.C:
3440         * BufferView_pimpl.C: rework mouse event dispatch
3441
3442         * dociterator.C:
3443         * paragraph.C:
3444         * text2.C:
3445         * text3.C: adjust
3446
3447 2004-04-05  André Pönitz  <poenitz@gmx.net>
3448
3449         * cursor.[Ch] (valign, halign...): remove unneeded functions
3450
3451 2004-04-05  Angus Leeming  <leeming@lyx.org>
3452
3453         * lyxlength.[Ch] (unit_name et al.): const-correct.
3454
3455 2004-04-05  Angus Leeming  <leeming@lyx.org>
3456
3457         * BufferView_pimpl.C:
3458         * buffer.C:
3459         * counters.C:
3460         * cursor.C:
3461         * lyxfunc.C
3462         * paragraph.C:
3463         * pariterator.C:
3464         * text.C:
3465         * text2.C:
3466         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3467
3468 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3471
3472 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3473
3474         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3475         * BufferView_pimpl.[Ch] (getStatus)
3476         * BufferView.[Ch] (getStatus): add
3477         * lyxfunc.C (getStatus): move lfuns handled in
3478         BufferView::dispatch to te function above
3479         * Cursor.C (setSelection): set selection() = true
3480
3481 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3482
3483         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3484
3485 2004-03-31  Angus Leeming  <leeming@lyx.org>
3486
3487         * lyxfunc.C (dispatch): Fall through to the generic
3488         Dialogs::show("preamble").
3489
3490 2004-03-31  Angus Leeming  <leeming@lyx.org>
3491
3492         * lyxfunc.C (dispatch): Fall through to the generic
3493         Dialogs::show("spellchecker").
3494
3495 2004-03-31  Angus Leeming  <leeming@lyx.org>
3496
3497         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3498         preferences dialog.
3499
3500 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * BufferView.C
3503         * cursor.[Ch]
3504         * dociterator.[Ch]:
3505         * insetiterator.[Ch]:
3506         * lyxfind.C:
3507         * lyxfunc.C:
3508         * pariterator.[Ch]:
3509         * text2.C:
3510         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3511
3512 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3513
3514         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3515         insets where we are putting the cursor.
3516
3517 2004-03-31  Angus Leeming  <leeming@lyx.org>
3518
3519         * lfuns.h:
3520         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3521
3522         * lyxrc.[Ch] (read, write): overloaded member functions taking
3523         a std::[io]stream arguments.
3524
3525         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3526
3527 2004-03-31  Angus Leeming  <leeming@lyx.org>
3528
3529         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3530         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3531
3532         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3533         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3534
3535 2004-03-31  Angus Leeming  <leeming@lyx.org>
3536
3537         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3538         the LFUN_ALL_INSETS_TOGGLE code.
3539
3540 2004-03-30  Angus Leeming  <leeming@lyx.org>
3541
3542         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3543         has died. Fall through to the generic Dialogs::show("document").
3544
3545 2004-03-30  Angus Leeming  <leeming@lyx.org>
3546
3547         * lfuns.h:
3548         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3549         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3550
3551         * lyxfunc.C (getStatus, dispatch): define the actions for these
3552         lfuns. Little more than a cut and pste job from ControlDocument.C
3553
3554         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3555
3556 2004-03-30  Angus Leeming  <leeming@lyx.org>
3557
3558         * lfuns.h:
3559         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3560         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3561
3562         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3563         open/closed state of ollapsable insets. Usage:
3564
3565         all-inset-toggle <state> <name>, where
3566         <state> == "open" || "closed" || "toggle" and
3567         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3568
3569         * lyxtext.h, text2.C (toggleInset): removed.
3570
3571         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3572         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3573         now passes LFUN_INSET_TOGGLE to the found inset.
3574
3575         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3576         is now invoked as "all-insets-toggle toggle branch".
3577
3578 2004-03-30  Angus Leeming  <leeming@lyx.org>
3579
3580         * dociterator.C:
3581         * insetiterator.C:
3582         * pariterator.[Ch]: added/corrected header blurb.
3583
3584 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3585
3586         * dociterator.[Ch]: add an inset_ member
3587         (backwardPos): implemented
3588         (backwardPos, forwardPos): use inset_ when the stack is empty.
3589         (doc_iterator_begin, doc_iterator_end): implemented
3590         * pariterator.[Ch]: adjust, add begin, end
3591         * insetiterator.[Ch]: adjust, add begin, end
3592         * cursor.C:
3593         * document.C:
3594         * BufferView.C:
3595         * BufferView_pimpl.C:
3596         * CutAndPaste.C: adjust
3597
3598 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3599
3600         * buffer.C: increment file format to 232.
3601         * LaTeXFeatures.C: add bibtopic package.
3602         * bufferparams.[Ch]: param \use_bibtopic.
3603
3604         * lyxrc.[Ch]: add lyxrc bibtex_command
3605         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3606
3607         * buffer.C: increment file format to 231.
3608
3609 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * dociterator.C: implement forwardPar
3612         * iterators.[Ch]: remove, replaced by
3613         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3614         * BufferView.C:
3615         * BufferView_pimpl.C:
3616         * CutAndPaste.C:
3617         * buffer.C:
3618         * bufferview_funcs.C:
3619         * cursor.C:
3620         * lyxfind.C
3621         * lyxfunc.C
3622         * paragraph_funcs.C
3623         * toc.C:
3624         * Makefile.am: adjust
3625
3626 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3627
3628         * CutAndPaste.C (pasteSelection): fix 2 crashes
3629         (eraseSelection): fix a crash
3630         * paragraph_funcs.C: remove a warning
3631
3632 2004-03-28  Angus Leeming  <leeming@lyx.org>
3633
3634         * lfuns.h:
3635         * LyXAction.C (init): new LFUN_PRINT.
3636
3637         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3638
3639 2004-03-27  Angus Leeming  <leeming@lyx.org>
3640
3641         * lfuns.h:
3642         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3643
3644         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3645
3646 2004-03-27  Angus Leeming  <leeming@lyx.org>
3647
3648         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3649         insetlist always contains non-null pointers to insets.
3650
3651 2004-03-26  Angus Leeming  <leeming@lyx.org>
3652
3653         * src/BufferView_pimpl.C:
3654         * src/CutAndPaste.C:
3655         * src/buffer.C:
3656         * src/iterators.C:
3657         * src/output_plaintext.C:
3658         * src/outputparams.h:
3659         * src/paragraph_funcs.C:
3660         * src/rowpainter.C:
3661         * src/text.C:
3662         * src/text2.C:
3663         * src/frontends/controllers/ControlErrorList.C:
3664         * src/frontends/gtk/FileDialogPrivate.C:
3665         * src/frontends/gtk/GPainter.C:
3666         * src/frontends/gtk/GToolbar.C:
3667         * src/frontends/qt2/QRef.C:
3668         * src/mathed/math_scriptinset.C: squash compiler warnings.
3669
3670 2004-03-26  Angus Leeming  <leeming@lyx.org>
3671
3672         * ispell.C (LaunchIspell::start):
3673         * lyx_cb.C (AutoSaveBuffer::start):
3674         invoke run(DontWait) rather than runNonBlocking().
3675
3676 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3677
3678         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3679
3680 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3681
3682         * kbsequence.C (print): adjust
3683
3684         * kbmap.C (printKeySym): rename and change signature
3685         (printKey): use LyXKeySym::print()
3686
3687 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3688
3689         * undo.C: add using std::advance to compile for stlport
3690
3691 2004-03-24  Angus Leeming  <leeming@lyx.org>
3692
3693         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3694         it leads to a crash when no buffer is present.
3695
3696 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3697             Martin Vermeer  <martin.vermeer@hut.fi>
3698
3699         * lyxfunc.C (dispatch):
3700         * bufferparams.C (readToken): use the new LColor::setColor
3701
3702         * LColor.[Ch] (setColor): new version that takes two strings as
3703         argument and creates a new color entry if necessary
3704
3705 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3706
3707         * buffer.C (makeLaTeXFile): if the main latex file that is
3708         processed is usually a subdocument of some master, then pretend
3709         for a while that it is actually the master
3710
3711 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3712
3713         * buffer.C (getLabelList):
3714         (getBibkeyList): use getMasterBuffer()
3715         (getMasterBuffer): new method. Returns the main document in the
3716         case where one is using included documents.
3717
3718 2004-03-25  André Pönitz  <poenitz@gmx.net>
3719
3720         * Makefile.am:
3721         * iterators.[Ch]:
3722         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3723
3724         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3725
3726         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3727         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3728
3729         * ParameterStruct.h: merge with ParagraphParameters
3730
3731         * lyxtext.h: remove LyXText::parOffset() and getPar()
3732
3733         * text3.C: Remove all 'manual' update calls. We do now one per user
3734         interaction which is completely sufficient.
3735
3736         * Bidi.C:
3737         * BufferView.[Ch]:
3738         * BufferView_pimpl.C:
3739         * FontIterator.[Ch]:
3740         * MenuBackend.C:
3741         * ParagraphParameters.[Ch]:
3742         * buffer.C:
3743         * buffer.h:
3744         * bufferlist.C:
3745         * cursor.[Ch]:
3746         * cursor_slice.[Ch]:
3747         * dociterator.[Ch]:
3748         * errorlist.[Ch]:
3749         * factory.C:
3750         * lfuns.h:
3751         * lyxfind.C:
3752         * lyxfunc.C:
3753         * output_docbook.[Ch]:
3754         * output_latex.[Ch]:
3755         * output_linuxdoc.[Ch]:
3756         * output_plaintext.[Ch]:
3757         * paragraph.[Ch]:
3758         * paragraph_funcs.[Ch]:
3759         * paragraph_pimpl.[Ch]:
3760         * rowpainter.C:
3761         * tabular.[Ch]:
3762         * text.C:
3763         * text2.C:
3764         * toc.C:
3765         * undo.[Ch]: adjust
3766
3767         * frontends/controllers/ControlDocument.C:
3768         * frontends/controllers/ControlErrorList.C:
3769         * frontends/controllers/ControlSpellchecker.C:
3770         * insets/inset.C:
3771         * insets/inset.h:
3772         * insets/insetbase.h:
3773         * insets/insetbibitem.C:
3774         * insets/insetbox.C:
3775         * insets/insetbranch.C:
3776         * insets/insetcaption.C:
3777         * insets/insetcharstyle.C:
3778         * insets/insetcharstyle.h:
3779         * insets/insetcollapsable.C:
3780         * insets/insetcollapsable.h:
3781         * insets/insetert.C:
3782         * insets/insetfloat.C:
3783         * insets/insetfoot.C:
3784         * insets/insetmarginal.C:
3785         * insets/insetnote.C:
3786         * insets/insetoptarg.C:
3787         * insets/insettabular.C:
3788         * insets/insettext.C:
3789         * insets/insettext.h:
3790         * insets/insetwrap.C:
3791         * mathed/math_mboxinset.C:
3792         * mathed/math_nestinset.C:
3793         * mathed/math_scriptinset.C:
3794         * mathed/math_scriptinset.h:
3795         * support/types.h:
3796
3797 2004-03-24  Angus Leeming  <leeming@lyx.org>
3798
3799         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3800         deal with any child processes that have finished but are waiting to
3801         communicate this fact to the rest of LyX.
3802
3803 2004-03-24  Angus Leeming  <leeming@lyx.org>
3804
3805         64-bit compile fixes.
3806
3807         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3808         (c-tor): pass lyx::pos_types rather than ints.
3809
3810         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3811         lyx::pos_type.
3812
3813         * text.C (Delete): compile fix.
3814         (getPar): ensure that function declaration is the same as that in
3815         the header file.
3816
3817 2004-03-23  Angus Leeming  <leeming@lyx.org>
3818
3819         * ispell.C (LaunchIspell):
3820         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3821         a boost::shred_ptr rather than a std::auto_ptr.
3822
3823 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3824
3825         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3826         handle LFUN_FILE_INSERT_*
3827
3828         * lyxrc.C (setDefaults, getDescription, output, read):
3829         * lyxrc.h: remove ps_command
3830
3831 2004-03-22  Angus Leeming  <leeming@lyx.org>
3832
3833         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3834         Ensure that error_handler is processed once only and that all data
3835         is saved before attempting to output any warning messages.
3836
3837         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3838
3839 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3840
3841         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3842
3843 2004-03-19  André Pönitz  <poenitz@gmx.net>
3844
3845         * cursor.[Ch] (reset): take main text inset as argument
3846
3847         * BufferView: adjust
3848         * BufferView_pimpl.C: adjust
3849
3850         * paragraph.[Ch]: fix completely broken operator=()
3851
3852 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3853
3854         * LColor.C (getFromLyXName): make sure that the color name is used
3855         as lowercase.
3856
3857 2004-03-17  Angus Leeming  <leeming@lyx.org>
3858
3859         * lfuns.h:
3860         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3861
3862         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3863         dialog and to kill a forked process.
3864
3865 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3866
3867         * text2.C (setCursorFromCoordinates): fix font problem
3868
3869 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3870
3871         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3872         bogus "rebuild cursor" code
3873
3874 2004-03-11  André Pönitz  <poenitz@gmx.net>
3875
3876         * buffer.[Ch]: use InsetText instead of LyXText as container for
3877         the main lyx text.
3878
3879         * dociterator.[Ch]: drop the BufferView * member which is not needed
3880         anymore after the change to buffer.C
3881
3882         * paragraph_funcs.C:
3883         * text.C:
3884         * text2.C:
3885         * BufferView.[Ch]:
3886         * BufferView_pimpl.[Ch]:
3887         * cursor.[Ch]:
3888         * cursor_slice.[Ch]: adjust
3889
3890         * text3.C: fix bug in mathDispatch
3891
3892 2004-03-08  André Pönitz  <poenitz@gmx.net>
3893
3894         * undo.[Ch]: use 'StableDocumentIterator' as base for
3895         the Undo struct.
3896
3897 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3898
3899         * LaTeXFeatures.C:
3900         * bufferparams.[Ch]: add jurabib support and param.
3901
3902         * LaTeX.C: add FIXME/comment.
3903
3904 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3905
3906         * buffer.C: increment file format to 230.
3907
3908 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * cursor.C (dispatch): avoid infinite loops
3911
3912 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * rowpainter.C (paintSelection): fix x coordinates
3915
3916 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3917
3918         * text.C (rowBreakPoint): fix breaking before displayed insets
3919
3920 2004-03-01  André Pönitz  <poenitz@gmx.net>
3921
3922         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3923
3924         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3925
3926         * Makefile.am:
3927         * BufferView.C:
3928         * BufferView_pimpl.C:
3929         * buffer.C:
3930         * lyxfind.C:
3931         * lyxfunc.C:
3932         * text.C:
3933         * text2.C:
3934         * text3.C: adjust
3935
3936 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3937
3938         * lyxtext.h:
3939         * text.C:
3940         * text2.C:
3941         * rowpainter.C:
3942         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3943         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3944
3945 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3946
3947         * Bidi.[Ch] (computeTables): const correctness
3948         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3949         fill_hfill, fill_label_hfill and x from Row
3950         * lyxtext.h: prepareToPrint returns a RowMetrics
3951         * rowPainter.C: adjust
3952         * text.C (prepareToPrint): use width, not textWidth. adjust
3953         (redoParagraphInternal, cursorX): adjust
3954         * text2.C (getColumnNearX): adjust
3955         (init): put a default value to the top LyXText::width
3956
3957 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3958
3959         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3960
3961 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3962
3963         * lyxtext.h: add FontIterator class
3964
3965         * text.C (FontIterator, operator*, operator->, operator++): add
3966         (rowBreakPoint, setRowWidth): adjust (fixing a
3967         rebreaking bug)
3968
3969 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3970
3971         * BufferView_pimpl.C (workAreaDispatch): allow also
3972         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3973
3974 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3975
3976         * text.C (rowBreakPoint): fix a bug showing with very large insets
3977
3978 2004-02-25  André Pönitz  <poenitz@gmx.net>
3979
3980         * text3.C:
3981         * cursor.[Ch]: move some mathed specific code to mathed
3982
3983 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3984
3985         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3986         use_tempdir in preferences
3987         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3988         tempfile creation
3989         * lyx_main.C: ensure that tempdir is valid
3990         * lyxlex.h: correct typo
3991         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3992         * paragraph.[Ch] (isMultiLingual): make const
3993         * cursor.[Ch] (openable): make const
3994
3995 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3996
3997         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3998
3999 2004-02-20  André Pönitz  <poenitz@gmx.net>
4000
4001         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4002
4003         * cursor.[Ch]: prepare for localized getStatus()
4004
4005         * lyxtext.h:
4006         * tabular.C:
4007         * text.C:
4008         * text2.C:
4009         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4010
4011 2004-02-20  André Pönitz  <poenitz@gmx.net>
4012
4013         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4014
4015 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4016
4017         * text2.C (setCursorFromCoordinates): switch to absolute coords
4018         (cursorUp): adjust
4019         (cursorDown): adjust
4020         * text3.C (dispatch): adjust
4021
4022 2004-02-16  André Pönitz  <poenitz@gmx.net>
4023
4024         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4025           insets/ChangeLog)
4026
4027         * cursor_slice.[Ch]: remove unneeded acessor function
4028
4029         * lyxtext.h: rename rtl() to isRTL()
4030
4031         * rowpainter.C:
4032         * tabular.C:
4033         * text.C:
4034         * text2.C:
4035         * text3.C: adjust
4036
4037 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * rowpainter.C (paintSelection): coord fix
4040
4041 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4042
4043         * Spacing.C: compile fix
4044
4045 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4046
4047         * cursor.C (dispatch): restore current_ before returning
4048
4049 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4050
4051         * text2.C (cursorUp, cursorDown): fix coords
4052         (moveUp): fix crash
4053
4054 2004-02-12  André Pönitz  <poenitz@gmx.net>
4055
4056         * lyxtext.h:
4057         * text.C:
4058         * text2.C:
4059         * text3.C: add LCursor & parameter to most cursor movement functions
4060           remove usage of LyXText::cursorRow() and cursorPar()
4061
4062         * cursor.[Ch]: add textRow() needed members
4063
4064         * BufferView.C:
4065         * BufferView_pimpl.C:
4066         * paragraph.[Ch]:
4067         * BufferView.C:
4068         * BufferView_pimpl.C: adjust
4069
4070 2004-02-11  André Pönitz  <poenitz@gmx.net>
4071
4072         * lyxfunc.C:
4073         * BufferView.[Ch]:
4074         * BufferView_pimpl.C: shift undo/redo handling
4075
4076         * cursor.[Ch]: fix mathed crash
4077
4078         * lyxfind.C:
4079         * lyxtext.h: move selectionAsText to LCursor
4080
4081         * output_latex.C:
4082         * paragraph.C:
4083         * text.C:
4084         * text2.C:
4085         * text3.C: adjust
4086
4087         * rowpainter.C: fix excessive drawing
4088
4089 2004-02-06  André Pönitz  <poenitz@gmx.net>
4090
4091         * BufferView.[Ch]:
4092         * BufferView_pimpl.[Ch]:
4093         * text3.C: move some text specific LFUN handling
4094
4095 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4096
4097         * text3.C (checkInsetHit): adjust coords
4098         * text2.C (getColumnNearX): adjust coords
4099         (edit): adjust coords
4100         * text.C (getRowNearY): add two asserts
4101
4102 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4103
4104         * converter.C:
4105         * format.C: add using std::distance to compile on gcc 2.95/stlport
4106
4107 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4110
4111 2004-02-04  André Pönitz  <poenitz@gmx.net>
4112
4113         * BufferView.[Ch] (insertInset):
4114         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4115
4116         * text2.C:
4117         * text3.C: adjust
4118
4119 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4120
4121         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4122         on the default clause of the switch
4123         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4124         wasn't catched by LCursor::dispatch
4125
4126 2004-02-03  André Pönitz  <poenitz@gmx.net>
4127
4128         * BufferView.C:
4129         * cursor.[Ch]: some additional asserts
4130
4131         * undo.[Ch]: remove LyXText dependency in interface
4132
4133         * lyxfunc.C: adjust
4134
4135         * lyxtext.h (firstPar, lastPar): remove dead functions
4136
4137         * text.C:
4138         * text2.C:
4139         * text3.C:
4140         * paragraph.[Ch]: adjust
4141
4142 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4143
4144         * lyxfind.C (find): fix argument order in call to ::find
4145
4146 2004-02-02  André Pönitz  <poenitz@gmx.net>
4147
4148         * cursor.[Ch]: remove direct access to anchor
4149
4150         * text.C: remove findText() hack
4151
4152 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * iterators.[Ch] (lockPath): remove in favour of...
4155         * BufferView.[Ch] (setCursor): this addition
4156         * BufferView.C (putSelectionAt): adjust
4157         * undo.C (performUndoOrRedo): adjust
4158         * lyxfunc.C (dispatch): adjust
4159
4160 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * iterators.C (lockPath): add a missing slice
4163         * undo.C (performUndoOrRedo): remove redundant positioning code
4164
4165 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4166
4167         * vc-backend.C (scanMaster): ";" -> ';'
4168
4169 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4170
4171         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4172         std::binary_function
4173
4174         * lyxtextclass.C (compare_name): rename to...
4175         (LayoutNamesEqual): ...this
4176
4177         * lyxlex_pimpl.C (compare_tags): inherit from
4178         std::binary_function, put back into anon namespace
4179
4180         * lyxfind.C (MatchString): inherig from std::binary_function
4181         (findChange): use empty() istead of !size()
4182
4183         * format.C (FormatNamesEqual): new functor
4184         (getFormat): use it
4185         (getNumber): use it
4186         (add): use it
4187         (erase): use it
4188         (setViewer): use it
4189
4190         * converter.C (compare_Converter): rename to...
4191         (ConverterEqual): ...this, and fixup a bit.
4192         (getConverter): use it, and make function const
4193         (getNumber): use it, and make function const
4194         (add): use it
4195         (erase): use it:
4196
4197         * bufferlist.C: add using boost::bind
4198
4199         * MenuBackend.C (MenuNamesEqual): new functor
4200         (hasMenu): use it, and make function const
4201         (hasSubmenu): use nested bind to get rid of compare_memfun.
4202
4203 2004-01-30  André Pönitz  <poenitz@gmx.net>
4204
4205         * BufferView_pimpl.C:
4206         * cursor.C:
4207         * cursor.h:
4208         * cursor_slice.[Ch]:
4209         * lyxfunc.C:
4210         * lyxtext.h:
4211         * paragraph_funcs.C:
4212         * paragraph_funcs.h:
4213         * rowpainter.C:
4214         * text.C:
4215         * text2.C:
4216         * text3.C: move some of the edit(x,y) handling to the insets
4217         some coordinate changes.
4218
4219 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * text.C: add using statements for std::advance and std::distance
4222
4223         * paragraph.C: add using statement for std::distance
4224
4225         * lyxfind.C: add using statement for std::advance
4226
4227         * cursor.C (region): remove std:: from swap
4228         (openable): use nucleus in stead of operator->
4229
4230         * BufferView.C: add using statements for std::distance and std::swap
4231
4232 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * iterators.C: Remove the pimple, move the needed structures to
4235         the header file. Create accessor for the positions stack.
4236         (asPosIterator): remove function
4237
4238         * PosIterator.C (PosIterator): move constructors to top of file
4239         (PosIterator): reimplement the constructor taking a ParIterator in
4240         terms of setFrom.
4241         (setFrom): new function
4242         (operator!=): inline it
4243
4244 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * lyxfind.C (replaceAll): use std::advance
4247
4248         * iterators.h: inherit from std::iterator.
4249
4250         * PosIterator.C (advance, distance): remove
4251         * PosIterator.h: interit from std::iterator.
4252
4253 2004-01-26  André Pönitz  <poenitz@gmx.net>
4254
4255         * BufferView.[Ch]:
4256         * BufferView_pimpl.[Ch]:
4257         * InsetList.[Ch]:
4258         * PosIterator.[Ch]:
4259         * buffer.h:
4260         * bufferview_funcs.C:
4261         * cursor.[Ch]:
4262         * cursor_slice.h:
4263         * factory.[Ch]:
4264         * iterators.[Ch]:
4265         * lyxfind.C:
4266         * lyxfunc.C:
4267         * lyxtext.h:
4268         * output_docbook.C:
4269         * output_latex.C:
4270         * output_linuxdoc.C:
4271         * output_plaintext.C:
4272         * paragraph.[Ch]:
4273         * paragraph_funcs.[Ch]:
4274         * paragraph_pimpl.[Ch]:
4275         * rowpainter.C:
4276         * tabular.C:
4277         * tabular.h:
4278         * text.C:
4279         * text2.C:
4280         * text3.C: more IU:  dumps most of the rest of the mathcursor
4281     implementation into cursor.[Ch]; "globalize" a bit of it.
4282
4283 2004-01-25  Angus Leeming  <leeming@lyx.org>
4284
4285         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4286
4287 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4288
4289         * LaTeXFeatures.h: add nice_ and nice() const
4290         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4291
4292 2004-01-20  André Pönitz  <poenitz@gmx.net>
4293
4294         * BufferView.[Ch]:
4295         * BufferView_pimpl.C:
4296         * PosIterator.C:
4297         * bufferview_funcs.C:
4298         * cursor.[Ch]:
4299         * cursor_slice.[Ch]:
4300         * factory.C:
4301         * iterators.C:
4302         * lyx_cb.C:
4303         * lyxfind.C:
4304         * lyxfunc.C:
4305         * lyxtext.h:
4306         * rowpainter.C:
4307         * text.C:
4308         * text2.C:
4309         * text3.C:
4310         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4311           LCursor and mathcursor parts to LCursor and InsetBase.
4312
4313 2004-01-15  André Pönitz  <poenitz@gmx.net>
4314
4315         * cursor_slice.[Ch]: add a few covienience functions
4316
4317         * funcrequest.[Ch]: remove BufferView * member
4318
4319         * BufferView_pimpl.C:
4320         * cursor.C:
4321         * factory.[Ch]:
4322         * lyxfind.[Ch]:
4323         * lyxfunc.C:
4324         * lyxtext.h:
4325         * text3.C:
4326         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4327
4328 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4329
4330         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4331         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4332
4333 2004-01-13  André Pönitz  <poenitz@gmx.net>
4334
4335         * textcursor.[Ch]:
4336         * lyxtext.h: hide cursor and selection anchor behind accessor function
4337
4338         * BufferView.C:
4339         * BufferView_pimpl.[Ch]:
4340         * PosIterator.C:
4341         * bufferview_funcs.C:
4342         * cursor.h:
4343         * lyxfind.C:
4344         * lyxfunc.C:
4345         * text.C:
4346         * text2.C:
4347         * text3.C:
4348         * undo.C: adjust
4349
4350         * cursor.h:
4351         * cursor_slice.[Ch]: some integer type changes for inset unification
4352
4353         * lyxcursor.[hC]: remove, it's CursorSlice now.
4354
4355         * Makefile.am:
4356         * BufferView_pimpl.[Ch]:
4357         * bufferview_funcs.C:
4358         * cursor_slice.C:
4359         * lyxtext.h:
4360         * text.C:
4361         * text2.C:
4362         * text3.C:
4363         * textcursor.[Ch]: adjust
4364
4365 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4366
4367         * text2.C (undoSpan): add and use
4368         * text.C (breakParagraph): use undoSpan (fix bug 578)
4369         * lyxtext.h: adjust
4370
4371 2004-01-08  Angus Leeming  <leeming@lyx.org>
4372
4373         * BufferView_pimpl.C (MenuInsertLyXFile):
4374         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4375         * lyxfunc.C (menuNew, open, doImport):
4376         FileFilterList change to the FileDialog open and save functions.
4377
4378 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * ShareContainer.h: make isEqual and isUnique adaptable
4381
4382         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4383
4384 2004-01-07  Angus Leeming  <leeming@lyx.org>
4385
4386         * LyXAction.C:
4387         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4388
4389         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4390
4391         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4392         functions replacing find, replace and replaceAll.
4393
4394         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4395         LFUN_WORDFIND(FORWARD|BACKWARD).
4396
4397 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4398
4399         * text.C (breakParagraph): remove an outdated #warning
4400
4401 2004-01-07  André Pönitz  <poenitz@gmx.net>
4402
4403         * lyxfind.C: somewhat clearer logic
4404
4405         * text.C: prevent crash in cursorX on unitialized row cache
4406
4407 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4408
4409         * lyxcursor.[Ch] (operator>): add
4410         * textcursor.C (selStart, selEnd): use std::min and std::max
4411
4412 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * Chktex.C: include boost/format.hpp
4415
4416 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * InsetList.C: replace functor MathcIt with adaptable functor
4419         InsetTablePosLess
4420         (insetIterator): modify accordingly
4421
4422         * BranchList.h: move the BranchNamesEqual functor here from...
4423         * BranchList.C: ... to here
4424
4425         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4426         SameName and match.
4427         (add): replace a finding loop with std::find_if.
4428
4429 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4430
4431         * output_docbook.C: moving LatexParam functionality into
4432         .layout files
4433
4434 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4435
4436         * buffer.C: increment format to 229.
4437
4438 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4439
4440         * LaTeXFeatures.C:
4441         * lyx_sty.[Ch]: remove minipageindent_def
4442
4443         * LyXAction.C:
4444         * factory.C:
4445         * lfuns.h:
4446         * lyxfunc.C:
4447         * text3.C: remove LFUN_INSET_MINIPAGE
4448
4449 2003-12-28  Angus Leeming  <leeming@lyx.org>
4450
4451         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4452
4453 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4454
4455         * text2.C (setParagraph): fix off-by-one crash
4456
4457 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4458
4459         * output_docbook.C: header stuff for AGU
4460
4461 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4462
4463         * text2.C (redoCursor): remove
4464         * text.C:
4465         * text3.C:
4466         * BufferView_pimpl.C: remove calls to redoCursor and
4467         setCursor(cursor.par(), cursor.pos()) all around
4468
4469 2003-12-15  Angus Leeming  <leeming@lyx.org>
4470
4471         * buffer.C: up the format to 228.
4472
4473 2003-12-15  André Pönitz  <poenitz@gmx.net>
4474
4475         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4476         slices
4477
4478         * Makefile.am:
4479
4480         * BufferView_pimpl.C:
4481         * cursor.[Ch]:
4482         * lyxcursor.[Ch]:
4483         * rowpainter.[Ch]:
4484         * lyxtext.h:
4485         * text.C:
4486         * text2.C:
4487         * text3.C: adjust
4488
4489 2003-12-15  Angus Leeming  <leeming@lyx.org>
4490
4491         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4492         than getFromGUIName to manipulate the color.
4493
4494 2003-12-14  Angus Leeming  <leeming@lyx.org>
4495
4496         * BranchList.[Ch]: minimize the API.
4497         (Branch::getBranch, getColor): now return a 'const &'.
4498         (Branch::setSelected) now returns a bool set to true if the
4499         selection status changes.
4500         (BranchList::clear, size, getColor, setColor, setSelected,
4501         allBranches, allSelected, separator): removed.
4502         (BranchList::find): new functions, returning the Branch with
4503         the given name.
4504         (BranchList::add, remove): return a bool indicating that
4505         the operation was successful.
4506
4507         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4508         new InsetBranch::isBranchSlected member function.
4509
4510         * LColor.[Ch]: mimimize the API.
4511         (fill): renamed as addColor and made private.
4512         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4513         versions of these functions taking a string arg have been removed.
4514
4515         * bufferparams.C (readToken):
4516         * lyxfunc.C (dispatch):
4517         * lyxrc.C (read): changes due to the altered BranchList and
4518         LColor APIs.
4519
4520         * factory.C (createInset, readInset): changes due to altered
4521         InsetBranch c-tor.
4522
4523 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4524
4525         * factory.C:
4526         * lyxfunc.C: remove insetminipage. "minipage-insert"
4527         now produces a frameless minipage box inset.
4528
4529 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4530
4531         * textcursor.[Ch] (selStart,selEnd): add new methods
4532         remove selection::start, end, use LyXCursor::operator<
4533         * lyxcursor.[Ch] (operator<): add
4534         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4535         * BufferView.[Ch] (unsetXSel): add
4536         * text2.C (clearSelection): use unsetXSel,adjust
4537         * text.C: adjust
4538         * text3.C: adjust
4539         * rowpainter.C: adjust
4540         * bufferview_funcs.C (put_selection_at): adjust
4541
4542 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4543
4544         * BufferView_pimpl.C: small coord. correction
4545
4546 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4547
4548         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4549         dragging over the splash screen.
4550
4551 2003-12-11  Angus Leeming  <leeming@lyx.org>
4552
4553         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4554         as it is now handled in LyXText::dispatch.
4555
4556         * text3.C (doInsertInset): remove a level of nesting.
4557
4558 2003-12-11  Angus Leeming  <leeming@lyx.org>
4559
4560         * factory.C (createInset): changes due to the changed interface to
4561         InsetCommandMailer::string2params.
4562
4563 2003-12-10  Angus Leeming  <leeming@lyx.org>
4564
4565         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4566         'dialog-show-new-inset <inset name>'
4567
4568 2003-12-10  Angus Leeming  <leeming@lyx.org>
4569
4570         * buffer.C: up the format to 227.
4571
4572         * factory.C: the box inset is now identified simply by 'Box'.
4573
4574 2003-12-10  Angus Leeming  <leeming@lyx.org>
4575
4576         * buffer.C: up the format to 226.
4577
4578         * factory.C: the note inset is now identified simply by 'Note'.
4579
4580 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4581
4582         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4583         when a pit is enough. Standarize a couple of loops.
4584
4585 2003-12-05  Angus Leeming  <leeming@lyx.org>
4586
4587         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4588         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4589         data to the re-worked "log" dialog.
4590
4591 2003-12-03  André Pönitz  <poenitz@gmx.net>
4592
4593         * PosIterator.C:
4594         * iterators.C:
4595         * lyxtext.h:
4596         * output_latex.C:
4597         * paragraph_funcs.C:
4598         * text.C:
4599         * text2.C: use Inset::getText instead of Inset::getParagraph
4600
4601 2003-12-03  André Pönitz  <poenitz@gmx.net>
4602
4603         * buffer.[Ch]:
4604         * lyxtext.h:
4605         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4606         InsetText::read() as LyXText::read()
4607
4608 2003-12-02  Angus Leeming  <leeming@lyx.org>
4609
4610         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4611         type. Add a comment in the implementation that the function uses
4612         the stream's bad() function rather than fail() as the std::streams
4613         would do.
4614
4615 2003-12-02  André Pönitz  <poenitz@gmx.net>
4616
4617         * lyxlex.[Ch]: make interface more similar to std::stream
4618
4619         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4620
4621 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4622
4623         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4624
4625 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4626
4627         * vspace.[Ch]: remove VSpace::NONE
4628
4629 2003-12-01  André Pönitz  <poenitz@gmx.net>
4630
4631         * buffer.[Ch]:
4632         * lyxtext.h: move ParagraphList member to LyXText
4633         rename LyXText::ownerParagraphs to LyXText::paragraph
4634
4635         * CutAndPaste.C:
4636         * bufferview_funcs.C:
4637         * iterators.[Ch]:
4638         * lyx_cb.C:
4639         * paragraph.C:
4640         * rowpainter.C:
4641         * tabular.C:
4642         * text.C:
4643         * text2.C:
4644         * text3.C: adjust
4645
4646         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4647
4648         * undo.C: fix cursor positioning
4649
4650 2003-12-01  John Levon  <levon@movementarian.org>
4651
4652         * BufferView_pimpl.C: fix a crash on exit with
4653         a buffer open
4654
4655 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4656
4657         * BranchList.C: fix setSelected() method.
4658
4659 2003-11-28  André Pönitz  <poenitz@gmx.net>
4660
4661         * ParagraphParameters.[Ch]:
4662         * ParameterStruct.h: remove space above/below from Paragraph to
4663          InsetVSpace
4664
4665         * BufferView_pimpl.C:
4666         * factory.C:
4667         * lyxfunc.C:
4668         * lyxtext.h:
4669         * output_latex.C:
4670         * paragraph.C:
4671         * paragraph_funcs.C:
4672         * rowpainter.[Ch]:
4673         * text.C:
4674         * text2.C:
4675         * text3.C: adjust
4676
4677 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4678
4679         * factory.C: Syntax change for CharStyles
4680
4681 2003-11-28  André Pönitz  <poenitz@gmx.net>
4682
4683         * BufferView.[Ch]:
4684         * BufferView.[Ch]:
4685         * buffer.[Ch]:
4686         * buffer.[Ch]: move LyXText member
4687
4688 2003-11-28  André Pönitz  <poenitz@gmx.net>
4689
4690         * BufferView.[Ch]: make LyXText * text a private member
4691
4692         * BufferView_pimpl.C:
4693         * cursor.C:
4694         * iterators.C:
4695         * lyx_cb.C:
4696         * lyxfind.C:
4697         * lyxtext.h:
4698         * rowpainter.[Ch]:
4699         * text.C:
4700         * text2.C:
4701         * undo.C: adjust
4702
4703         * output_plaintext.C: cleanup
4704
4705 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4706
4707         * buffer.C:
4708         * lyxtextclass.[Ch]: parametrize SGML document header
4709
4710 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * converter.[Ch]:
4713         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4714         getFlavor().
4715
4716 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4717
4718         * text2.C (setFont): rework using PosIterator (no more recursive)
4719         (setCharFont): no more needed
4720         (setLayout): no more selection cursors fiddling (done by redoCursor)
4721         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4722         destroy remaining ones)
4723
4724 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4725
4726         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4727         * lyxtext.h: ditto
4728         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4729         selection cursors
4730         * lyxfunc.C: adjust
4731         * text3.C: adjust + re-allow multi par depth changes
4732         * textcursor.C: simplify a bit
4733
4734 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4735
4736         * src/buffer.C:
4737         * src/lyxlayout.C:
4738         * src/lyxlayout.h:
4739         * src/lyxtext.h:
4740         * src/output_docbook.C:
4741         * src/output_latex.C:
4742         * src/paragraph.C:
4743         * src/paragraph.h:
4744         * src/sgml.C:
4745         * src/sgml.h:
4746         * src/text2.C: Introducing a number of tags parametrizing various
4747         XML formats that we may want to support
4748
4749 2003-11-25  André Pönitz  <poenitz@gmx.net>
4750
4751         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4752
4753         * lyxtext.h (leftMargin/rightMargin): simplify interface
4754
4755         * rowpainter.C:
4756         * text.C:
4757         * text2.C:
4758         * text3.C: adjust
4759
4760 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4761
4762         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4763         master file to any child files. Fixes bug 546.
4764
4765 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4766
4767         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4768
4769 2003-11-24  André Pönitz  <poenitz@gmx.net>
4770
4771         * rowpainter.C: simplification
4772
4773         * text2.C (updateCounters): remove call to redoParagraph on
4774         changed labels as this is far too expensive.
4775
4776 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4777
4778         * converter.C (convert): fix a crash: this function gets
4779         called with buffer == 0 from importer code.
4780
4781 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * text3.C (cursorPrevious): make sure that we do not compare
4784         iterators form different containers.
4785         (cursorNext): ditto
4786
4787         * rowpainter.C (paintSelection): make sure that we do not compare
4788         iterators from different containers.
4789
4790         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4791         iterators from different ParagraphList containers.
4792         [NEXT] ditto
4793
4794         * text2.C (LyXText): change order of initialization slightly
4795         (operator=): new function. copy all variables except cache_par_
4796         (moveUp): make sure that we do not compare iterators from
4797         different ParagraphList constainers.
4798         (moveDown): ditto
4799
4800         * text.C (firstPar): new function
4801         (lastPar): new function
4802         (endPar): new function
4803
4804         * lyxtext.h: move things around and group public functions, public
4805         variables, private functions, private variables
4806
4807 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4808
4809         * factory.C: change call to InsetERT constructor to avoid
4810         additional invocation of method status
4811         * text2.C (toggleInset): remove redundant update() call
4812         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4813         instead of a Bufferview pointer
4814
4815 2003-11-21  André Pönitz  <poenitz@gmx.net>
4816
4817         * rowpainter.C: simplification
4818
4819 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4820
4821         * text3.C (dispatch): make possible to extend a word/row selection
4822         with the mouse
4823
4824 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4825
4826         * lyxtext.h: x0_,y0_ -> xo_,yo_
4827         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4828         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4829         * rowpainter.C (paintRows): paint full paragraphs
4830
4831 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4832
4833         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4834         screen coordinates)
4835
4836 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4837
4838         * lyxtext.h: add x0_, y0_
4839         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4840         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4841
4842 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4843
4844         * text2.C (setCursorIntern): move the x_target update here *
4845         * text3.C: change some bv() to true/false in calls to
4846         cursorUp/Down/Right/Left
4847         * cursor.C: use helper function.
4848
4849 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4850
4851         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4852         * paragraph_funcs.[Ch]: correct comment
4853         * rowpainter.C: do not paint selections away from bv->cursor()
4854         Fix a long standing selection painting bug.
4855         * text3.C: generalize mouse-selection code to LyXTexts other that
4856         top one
4857         * textcursor.C: do not use y coords if we can use par offsets
4858
4859 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4860
4861         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4862         cursor position after e.g. inset insert)
4863
4864 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4865
4866         * lyxfind.C (replace): adjust to locking removal + some
4867         code simplification
4868
4869 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4870
4871         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4872         of the path
4873
4874 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4875
4876         * lyxlayout.[Ch]:
4877         * output_docbook.C: XML sanitation: new layout
4878         parameters InnerTag and CommandDepth
4879
4880 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4881
4882         * BufferView_pimpl.C:
4883         * factory.C:
4884         * text3.C: Fix the insertion and modification of button-style
4885         insets
4886
4887 2003-11-13  André Pönitz  <poenitz@gmx.net>
4888
4889         * InsetList.[Ch]: remove deleteLyXText
4890
4891         * paragraph.[Ch]: cache beginOfBody position
4892
4893         * Bidi.C:
4894         * text.C:
4895         * text2.C:
4896         * text3.C: remove superfluous update() calls
4897
4898         * vspace.C: cleanup
4899
4900 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4901
4902         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4903         * BufferView.C (fitLockedInsetCursor): remove
4904         * cursor.[Ch] (getDim): add
4905         * text.C (getRowNearY): add faster version
4906         * text3.C: remove some update calls
4907
4908 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4909
4910         * LaTeXFeatures.C:
4911         * LyXAction.C:
4912         * MenuBackend.C:
4913         * MenuBackend.h:
4914         * dispatchresult.h:
4915         * factory.C:
4916         * lfuns.h:
4917         * lyxfunc.C:
4918         * lyxtextclass.C:
4919         * lyxtextclass.h:
4920         * text3.C: The Character Style /XML short element patch.
4921
4922 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4923
4924         * text3.C:
4925         * factory.C: Small step to solving 'unable to insert some insets'
4926         problem
4927
4928 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4929
4930         * cursor.[Ch] (updatePos): new function for updating the y
4931         position of the tip inset
4932         * bufferview_funcs.C (put_selection_at):
4933         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4934
4935 2003-11-11  André Pönitz  <poenitz@gmx.net>
4936
4937         * text.C: remove big comment on invalid Paragraph pointers as it is
4938         not valid anymore
4939
4940 2003-11-11  André Pönitz  <poenitz@gmx.net>
4941
4942         * text_funcs.[Ch]: merge with ...
4943
4944         * text.C: ... this
4945
4946         * lyxtext.h:
4947         * text2.C:
4948         * text3.C: adjust
4949
4950         * Makefile.am: remove text_funcs.[Ch]
4951
4952 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * cursor.C (getPos): return absolute cached y coord
4955
4956         * BufferView_pimpl.C (fitCursor): new simplistic code
4957         (workAreaDispatch): add a fitCursor call
4958
4959 2003-11-10  André Pönitz  <poenitz@gmx.net>
4960
4961         * BufferView.[Ch]:
4962         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4963
4964 2003-11-10  André Pönitz  <poenitz@gmx.net>
4965
4966         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4967         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4968         indicate that the cursor needs to leave an inset
4969
4970         * lyxtext.h: remove inset locking
4971
4972         * cursor.[Ch]: re-implement functionality provided by inset locking
4973
4974         * BufferView.[Ch]:
4975         * BufferView_pimpl.[Ch]:
4976         * LyXAction.C:
4977         * bufferview_funcs.[Ch]:
4978         * factory.C:
4979         * funcrequest.[Ch]:
4980         * iterators.C:
4981         * lyx_cb.C:
4982         * lyxfind.C:
4983         * lyxfunc.C:
4984         * text.C:
4985         * text2.C:
4986         * text3.C:
4987         * undo.C: adjust
4988
4989 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * PosIterator.[Ch]: replace the stack with a vector, add inset
4992         accesor
4993         * iterators.[C]: adjust
4994
4995 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4998         replaced
4999         * paragraph_funcs.C (readParToken): put the correct id in the
5000         error item, not the id of the top paragraph
5001
5002 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5005         * bufferview_funcs.C (put_selection_at): use the above
5006
5007 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5010
5011 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5012
5013         * output_linuxdoc.h:
5014         * output_plaintext.h:
5015         * output.h:
5016         * output_docbook.h: add #include statements
5017
5018 2003-11-05  José Matos  <jamatos@lyx.org>
5019
5020         * output_docbook.[Ch]:
5021         * output_latex.[Ch]:
5022         * output_linuxdoc.[Ch]:
5023         * output_plaintext.[Ch]: New files for output formats.
5024         * output.[Ch]: New file for helper functions.
5025
5026         * buffer.[Ch]:
5027         * paragraph_funcs.[Ch]: output functions moved to new files.
5028
5029         * outputparams.h: rename of latexrunparams.h
5030
5031         * LaTeX.[Ch]:
5032         * buffer.[Ch]:
5033         * bufferlist.[Ch]:
5034         * converter.[Ch]:
5035         * exporter.C:
5036         * paragraph.[Ch]:
5037         * paragraph_funcs.[Ch]:
5038         * paragraph_pimpl.[Ch]:
5039         * tabular.[Ch]: rename ascii to plaintext
5040         and LatexRunParams to OutputParams.
5041
5042 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * iterators.[Ch] (text): require bv argument
5045         * undo.C (recordUndo):
5046         * lyxfunc.C (dispatch):
5047         * bufferview_funcs.C (put_selection_at): adjust
5048
5049 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5050
5051         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5052
5053 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5056         nestings
5057
5058 2003-11-04  André Pönitz  <poenitz@gmx.net>
5059
5060         * cursor.[Ch]: restructure
5061
5062         * BufferView.[Ch]:
5063         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5064
5065         * iterators.[Ch] (asCursor): remove
5066
5067         * lfuns.h: remove LFUN_INSET_EDIT
5068
5069         * lyxfunc.C:
5070         * tabular.C:
5071         * text.C:
5072         * text2.C:
5073         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5074
5075 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * lyxfind.[Ch]: complete overhaul
5078         * BufferView_pimpl.C:
5079         * lyxfunc.C: adjust
5080         * paragraph.[Ch] (insert): add
5081
5082 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * BufferView.[Ch]:
5085         * lyxtext.h:
5086         * text.C: remove dead spellcheck code
5087
5088 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * dispatchresult.h: add a val setter
5091
5092         * cursor.C (dispatch): use a tempvar for data_[i]
5093
5094 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * PosIterator.[Ch]: compile fix
5097
5098 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * text.C (cursorPar): deactivate the cursor cache
5101
5102 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5103
5104         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5105
5106 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * text3.C (dispatch): adjust for new DisptchResult semantics.
5109
5110         * lyxfunc.C (dispatch): handle update when return from
5111         Cursor::dispatch, adjust for new DispatchResult semantics.
5112
5113         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5114         DispatchResult(true) mean to not update. Add class functions for
5115         setting dispatched and update, as well as reading.
5116
5117         * cursor.C (dispatch): don't handle update here
5118
5119 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5122         * trans_mgr.C: adjust
5123
5124         * paragraph_funcs.C (readParToken): exception safety
5125
5126         * lyxvc.h: store the vcs pointer in a scoped_ptr
5127         * lyxvc.C: adjust
5128
5129         * lyxsocket.C (serverCallback): exception safety
5130
5131         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5132
5133         * ispell.C (clone): make it return a auto_ptr
5134
5135         * factory.C (createInset): exception safety
5136         (readInset): exception safety
5137
5138         * bufferlist.C (newBuffer): exception safety
5139
5140         * Thesaurus.C (Thesaurus): use initialization for aik_
5141
5142         * MenuBackend.C (expandToc): exception safety.
5143
5144 2003-11-03  André Pönitz  <poenitz@gmx.net>
5145
5146         * buffer.C:
5147         * buffer.h:
5148         * bufferview_funcs.C: remove getInsetFromId()
5149
5150         * lyxcursor.[Ch]:
5151         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5152
5153         * lyxfunc.C:
5154         * text2.C:
5155         * text3.C: adjust
5156
5157 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5158
5159         * PosIterator.C (distance, advance): new
5160         * bufferview_funcs.[Ch] (put_selection_at): new
5161         * iterators.[Ch] (lockPath): new
5162
5163 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5164
5165         * iterators.[Ch] (asPosIterator): added
5166         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5167         * PosIterator.[Ch]: added
5168
5169 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * text3.C:
5172         * lyxfunc.C:
5173         * cursor.C (dispatch):
5174         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5175
5176         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5177         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5178         contructor, add a class function dispatched. Remove operator>=
5179
5180 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * debug.C: only use the default constructor for debugstream
5183         (lyxerr) here.
5184
5185         * main.C (main): include debug.h and setup the lyxerr streambuf
5186         here.
5187
5188 2003-10-31  José Matos  <jamatos@lyx.org>
5189
5190         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5191
5192         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5193         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5194         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5195         * paragraph_pimpl.C (simpleTeXSpecialC):
5196         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5197         add LatexRunParams argument.
5198
5199         * exporter.C (Export): change call accordingly.
5200
5201         * latexrunparams.h: add new member to take care of the other backends.
5202 2003-10-30  José Matos  <jamatos@lyx.org>
5203
5204         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5205         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5206         factorise code for paragraph output.
5207         * buffer.[Ch]:
5208         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5209         move functions.
5210
5211 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text3.C (dispatch):
5214         * lyxfunc.C (dispatch):
5215         * cursor.C (dispatch):
5216         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5217
5218         * dispatchresult.h: make the dispatch_result_t ctor explicit
5219
5220 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5221
5222         * sgml.[Ch]:
5223         * buffer.C: small refactoring of docbook stuff
5224
5225 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5228         meaning.
5229
5230 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5233         operator dispatch_result_t, and operators for == != and >=
5234
5235         * cursor.C (dispatch): adjust for operator dispatch_result_t
5236         removal. comment out call to update
5237
5238         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5239
5240 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5241
5242         * text3.C:
5243         * text2.C:
5244         * text.C:
5245         * lyxtext.h:
5246         * lyxfunc.C:
5247         * cursor.C:
5248         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5249         (dispatch):
5250
5251         * dispatchresult.h: new file, DispatchResult broken out of
5252         insets/insetbase.h
5253
5254         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5255
5256 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5257
5258         * text.C (rowBreakPoint): put a hack inside #if 0
5259
5260 2003-10-28  André Pönitz  <poenitz@gmx.net>
5261
5262         * lyxtext.h:
5263         * metricsinfo.C:
5264         * paragraph_funcs.C:
5265         * rowpainter.C:
5266         * text.C:
5267         * text2.C: general cleanup (lots of small stuff)
5268
5269 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * text2.C (cursorEnd): simple fix to the "end key goes to one
5272         before the end on last row" bug
5273
5274 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5275
5276         * text.C (backspace): fix the "zombie characters"
5277
5278 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5281
5282 2003-10-27  André Pönitz  <poenitz@gmx.net>
5283
5284         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5285
5286         * factory.C: handle new InsetPagebreak, InsetLine
5287
5288         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5289         and move handling into new InsetPagebreak, InsetLine
5290
5291         * BufferView_pimpl.C:
5292         * LyXAction.C:
5293         * ParagraphParameters.C:
5294         * ParameterStruct.h:
5295         * lyxfunc.C:
5296         * lyxtext.h:
5297         * paragraph.C:
5298         * paragraph.h:
5299         * paragraph_funcs.C:
5300         * paragraph_pimpl.C:
5301         * rowpainter.C:
5302         * text.C:
5303         * text2.C:
5304         * text3.C: adjust
5305
5306 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * text.C:
5309         * lyxrow_funcs.[Ch]:
5310         * Bidi.C:
5311         * paragraph.C:
5312         * lyxtext.h:
5313         * rowpainter.C:
5314         * text2.C:
5315         * text3.C: remove lastPos uses in favour of Row::endpos
5316
5317 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5318
5319         * undo.C (performUndoOrRedo): fix two crashes by setting a
5320         cursor by hand and reordering some calls. Use bv->lockInset instead
5321         of inset->edit because the latter loses cursor information
5322
5323 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5326         by Martin
5327         (rowBreakPoint): fix width. change point to point + 1.
5328         Add a missing check.
5329
5330 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5331
5332         * MenuBackend.C:
5333         * lyxfunc.C: fix (at least partly) the problems
5334         with the Nav menu and headers inside branch insets
5335         reported by Kayvan
5336
5337 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * paragraph.C (getChar): add strong asserts
5340
5341         * lyxrow_funcs.C (lastPos): remove hideous hack
5342
5343         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5344         (fill): adjust to that (avoid an infinite loop)
5345
5346 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5349
5350 2003-10-23  André Pönitz  <poenitz@gmx.net>
5351
5352         * RowList_fwd.h: change list<> to vector<> to gain speed
5353         after suggestion from Alfredo
5354
5355 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyxtext.h: move the bidi stuff from here...
5358         * text.C: and here
5359         * text2.C: and here
5360         * Bidi.[Ch]: ... to here
5361
5362 2003-10-23  André Pönitz  <poenitz@gmx.net>
5363
5364         * lyxtext.h:
5365         * text.C (isLastRow, isFirstRow): new functions
5366
5367         * paragraph.h: new width cache member
5368
5369         * rowpainter.C: replace RowList::iterator with Row & where possible
5370
5371         * lyxfunc.C: replace several view()->text with a single call
5372
5373         * toc.C: fix 'unused' warning
5374
5375 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5378         when woring with stream::pos_type
5379         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5380
5381 2003-10-22  André Pönitz  <poenitz@gmx.net>
5382
5383         * lyxtext.h:
5384         * text.C: use Row & instead of RowList::iterator
5385
5386         * lyxrow.h: rename end() to endpos()
5387
5388         * rowpainter.C:
5389         * text.C:
5390         * text2.C: adjust
5391
5392 2003-10-22  Angus Leeming  <leeming@lyx.org>
5393
5394         * buffer.[Ch] (fully_loaded): new member function, returning true
5395         only when the file has been loaded fully.
5396         Used to prevent the premature generation of previews and by the
5397         citation inset to prevent computation of the natbib-style label.
5398
5399         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5400         templates are all set up.
5401
5402         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5403
5404 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5405
5406         * text.C: fixed an "oops" in the "is a bit silly"
5407         bug fix
5408
5409 2003-10-21  André Pönitz  <poenitz@gmx.net>
5410
5411         * FuncStatus.[Ch]: small stuff, whitespace
5412
5413         * lyxfont.[Ch]: operator<<() for debug reasons
5414
5415         * lyxfunc.C:
5416         * lyxrow_funcs.C:
5417         * lyxtext.h: whitespace, spelling
5418
5419         * paragraph.C: naming of variables
5420
5421         * text.C:
5422         * text2.C: small stuff
5423
5424
5425 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5426
5427         * text.C: (1) finish off the inset display() work;
5428         (2) fix the "is a bit silly" bug (accessing char
5429         past end of par).
5430
5431 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5432
5433         * text.C: re-introduce display() for insets, fixing the
5434         various bugs (stretch of line above, math inset
5435         positioning, ...)
5436
5437 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5438
5439         * text.C (rightMargin): remove spurious semicolon
5440
5441         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5442         1415)
5443
5444 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5445
5446         * text3.C: fix one crash due to wrong cursor def
5447
5448 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * vc-backend.C (scanMaster): make the regex static
5451
5452         * LaTeX.C (scanAuxFile): make the regexs static
5453
5454         * text3.C (doInsertInset, dispatch, dispatch):
5455         * text2.C (cursorUp, cursorDown):
5456         * text.C (selectNextWordToSpellcheck):
5457         * BufferView_pimpl.C (dispatch):
5458         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5459
5460 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5461
5462         * lyxsocket.C: include <cerrno>
5463
5464 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * lyxfunc.C (dispatch): remove textcache stuff
5467
5468         * bufferlist.C (release): remove textcache stuff
5469         (closeAll): ditto
5470
5471         * TextCache.C: delete file
5472         * TextCache.h: delete file
5473
5474         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5475
5476         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5477         delete of the bv_->text.
5478         (resizeCurrentBuffer): remove texcache stuff
5479         (workAreaResize): ditto
5480
5481 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5482
5483         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5484         action.
5485
5486 2003-10-16  André Pönitz  <poenitz@gmx.net>
5487
5488         * lyxrow.[Ch]:
5489         * paragraph.h:
5490         * rowpainter.C:
5491         * text.C:
5492         * text2.C:
5493         * text3.C: speed up by storing y positions per paragraph plus per-row
5494         offset instead of having a 'full' y position in the row.
5495
5496 2003-10-15  André Pönitz  <poenitz@gmx.net>
5497
5498         * iterators.[Ch]:
5499         * iterators.[Ch]:
5500         * undo.[Ch]: make undo aware of inner insets
5501
5502 2003-10-14  Angus Leeming  <leeming@lyx.org>
5503
5504         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5505         static member functions LyX::ref() and LyX::cref.
5506         (lastfiles): new accessor functions for the new lastfiles_ member var.
5507         (addLyXView, views_): add a new LyXView to the list of views_.
5508         (updateInset): loop over all LyXViews to call their own updateInset
5509         member function, returning a pointer to the Buffer owning the inset.
5510
5511         * BufferView_pimpl.C (loadLyXFile):
5512         * MenuBackend.C (expandLastfiles):
5513         * bufferlist.C (MenuWrite, QuitLyX):
5514         lastfiles is no longer a global variable.
5515         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5516
5517         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5518         static function. Access through LyX::cref().emergencyCleanup().
5519
5520 2003-10-14  André Pönitz  <poenitz@gmx.net>
5521
5522         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5523
5524         * undo.[Ch]: restoring part of 'undo in insets'
5525
5526         * Makefile.am:
5527         * undo_funcs.[Ch]: merge with undo.[Ch]
5528
5529         * tabular.C: small cleansing stuff
5530
5531 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5532
5533         * paragraph_funcs.C (readParToken): report unknown insets as error
5534         boxes. Use the outer paragraph as location (also for unknown
5535         tokens).
5536
5537         * factory.C (readInset): do not abort on reading an unknown inset.
5538         Eat it and return 0.
5539
5540 2003-10-13  Angus Leeming  <leeming@lyx.org>
5541
5542         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5543
5544         * lyxrc.C: displayTranslator is now a function,
5545         declared in GraphicsTypes.h.
5546
5547 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5548
5549         * format.C: new placeholder $$a to pass the socket address.
5550
5551         * bufferlist.[Ch]: new function getBufferFromTmp.
5552
5553         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5554           files in the temporary dir.
5555
5556 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5557
5558         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5559
5560         * Makefile.am: add lyxsocket.[Ch].
5561
5562         * lyx_main.C (error_handler): handle SIGPIPE.
5563
5564 2003-10-13  André Pönitz  <poenitz@gmx.net>
5565
5566         * BufferView_pimpl.C:
5567         * lyxtext.h:
5568         * text.C:
5569         * text2.C:
5570         * text3.C:
5571         * undo_funcs.[Ch]: use paroffset_type instead of
5572           ParagraphList::iterators to prevent multiple conversion
5573           (and get a more robust interface)
5574
5575 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5578         * lyxtext.h: ditto
5579         * text3.C (dispatch): ditto
5580
5581 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5584         move the onlyfile, use onlyfile instead of foundfile in a couple
5585         of places.
5586
5587         * DepTable.C (update): flush the error stream a bit more
5588
5589 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * lyxserver.C (callback): adjust
5592
5593         * lyxfunc.C (getStatus): add a missing brace in commented code
5594         (ensureBufferClean): reindent
5595         (dispatch): delete version taking a string
5596
5597 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5598
5599         * LaTeX.C (deplog): move found file handlig from here...
5600         (handleFoundFile): .. to new function here.
5601         (deplog): make sure to discover several files mentioned on the
5602         same log line.
5603
5604 2003-10-10  André Pönitz  <poenitz@gmx.net>
5605
5606         * lyxfunc.C:
5607         * lyxtext.h:
5608         * tabular.C:
5609         * text.C:
5610         * text2.C:
5611         * text3.C: fix some of the tabular crashes
5612
5613 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5614
5615         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5616
5617         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5618
5619 2003-10-09  André Pönitz  <poenitz@gmx.net>
5620
5621         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5622
5623         * BufferView.C:
5624         * BufferView_pimpl.C:
5625         * bufferview_funcs.C:
5626         * lyx_cb.C:
5627         * lyxcursor.C:
5628         * lyxfind.C:
5629         * lyxfunc.C:
5630         * lyxtext.h:
5631         * text.C:
5632         * text2.C:
5633         * text3.C:
5634         * text_funcs.[Ch]:
5635         * textcursor.[Ch]:
5636         * undo_funcs.C: adjust
5637
5638 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * text2.C (incrementItemDepth): new function, use a backtracking
5641         algorithm to discover the correct item depth.
5642         (resetEnumCounterIfNeeded): new function, use a backtracking
5643         algorithm to discover if counter reset is needed.
5644         (setCounter): use them. Simplify a bit. Add different labels for
5645         different item depths for itemize.
5646
5647         * paragraph.C (Paragraph): remove initialization of enumdepth
5648         (operator=): ditto
5649
5650         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5651         enumerate and itemize. Change the type of itemdepth to signed char.
5652
5653 2003-10-08  André Pönitz  <poenitz@gmx.net>
5654
5655         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5656           thing assignable.
5657         * text.C:
5658         * text2.C: adjust
5659
5660         * tabular.[Ch]: fix crash after 'row-insert'
5661
5662 2003-10-08  Angus Leeming  <leeming@lyx.org>
5663
5664         Fix doxygen warnings.
5665
5666         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5667         Remove CutAndPaste:: prefix from header file declaration.
5668
5669         * LColor.h (fill): remove LColor:: prefix from declaration.
5670
5671         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5672         use lyx::depth_type rather than Paragraph::depth_type so that
5673         header file and .C file match.
5674
5675         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5676
5677         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5678         * aspell.C: \file aspell_local.C -> \file aspell.C
5679         * gettext.C: \file gettext.C -> \file src/gettext.C
5680         * gettext.h: \file gettext.h -> \file src/gettext.h
5681         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5682         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5683         * text.C: \file text.C -> \file src/text.C
5684
5685         * toc.C: move comment so that doxygen is not confused.
5686
5687 2003-10-07  Angus Leeming  <leeming@lyx.org>
5688
5689         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5690
5691 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5692
5693         * aspell.C:
5694         * aspell_local.h: add forgotten std::string's.
5695
5696 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5697
5698         * LaTeXFeatures.C:
5699         * LyXAction.C:
5700         * factory.C:
5701         * lfuns.h:
5702         * lyxfunc.C:
5703         * text3.C: The Box patch. Fancybox support, minipage, parbox
5704
5705 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5706
5707         * CutAndPaste.h:
5708         * DepTable.h:
5709         * FloatList.h:
5710         * LaTeXFeatures.h:
5711         * ParagraphParameters.h:
5712         * TextCache.h:
5713         * Thesaurus.h:
5714         * bufferlist.h:
5715         * exporter.h:
5716         * importer.h:
5717         * lastfiles.h:
5718         * lyxfind.h:
5719         * lyxfont.h:
5720         * lyxlex.h:
5721         * lyxtextclasslist.h:
5722         * messages.h:
5723         * paragraph.h:
5724         * paragraph_pimpl.C:
5725         * textcursor.h: add <string> and other small fixes to make Lars'
5726         std::string patch compile with STLport.
5727
5728 2003-10-06  Angus Leeming  <leeming@lyx.org>
5729
5730         * LColor.h: Add missing #include <string>.
5731
5732 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * All most all file in all subdirs: Make <string> be the prefered
5735         way of getting to std::string, add using declarations.
5736
5737 2003-10-06  André Pönitz  <poenitz@gmx.net>
5738
5739         * metricsinfo.C: initialize LyXFont before changing attribute.
5740         (fixes the 'math in \emph is upright' bug)
5741
5742 2003-10-06  André Pönitz  <poenitz@gmx.net>
5743
5744         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5745
5746 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5747
5748         * graph.C:
5749         * paragraph_pimpl.C: Small fixes to build using STLport
5750
5751 2003-10-02  André Pönitz  <poenitz@gmx.net>
5752
5753         * lyxfunc.C:
5754         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5755
5756 2003-10-01  André Pönitz  <poenitz@gmx.net>
5757
5758         * factory.C: assert early
5759
5760 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * lyx_main.C: remove the global debug object
5763
5764         * debug.h: adjust for new debugstream
5765
5766         * debug.C: adjust for new debugstream and keep the global debug
5767         object here.
5768
5769 2003-09-22  Angus Leeming  <leeming@lyx.org>
5770
5771         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5772         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5773         an incomplete class LyXFont.
5774
5775 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5776
5777         * factory.C: bug fix in branches
5778
5779 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * lyxfunc.C (processKeySym): adjust
5782         (dispatch): adjust
5783         (dispatch): change arg name from ev to func, adjust
5784         (sendDispatchMessage): ditto
5785
5786         * lyx_main.C (defaultKeyBindings): adjust keybindings
5787         (deadKeyBindings): ditto
5788
5789         * kbsequence.C (addkey): return a FuncRequest
5790
5791         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5792
5793         * kbmap.C (bind): take a FuncRequest as arg, adjust
5794         (read): adjust
5795         (lookup): adjust
5796         (defkey): change to take a FuncRequest as arg, adjust
5797         (findbinding): take a FuncRequest as arg, adjust.
5798
5799         * funcrequest.h (operator=): added
5800
5801         * funcrequest.C (FuncRequest): default kb_action changed from
5802         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5803
5804         * buffer.C (dispatch): simplify
5805         (dispatch): adjust to take a FuncRequest as arg, adjust
5806
5807         * boost.C (assertion_failed): change assertion message slightly
5808
5809         * ToolbarBackend.C (read): simplify
5810
5811         * MenuBackend.C (binding): adjust call to findbinding, add a
5812         message if no binding is found.
5813         (read): simplify
5814         (expandToc): correct by adding a empty FuncRequest
5815
5816         * LyXAction.C: include <boost/assert.hpp>
5817         (isPseudoAction): delete function
5818         (LookupFunc): change name to...
5819         (lookupFunc): this. change return type to FuncRequest.
5820         (getActionName): take kb_action as arg, simplify
5821         (funcHasFlag): add an assert, simplify.
5822
5823 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5824
5825         * toc.C (action): return a FuncRequest, simplify
5826
5827         * lyxfunc.C (processKeySym): adjust
5828         (getStatus): delete version that takes an int.
5829         (getStatus): adjust
5830         (dispatch): delete version that takes action as int
5831         (dispatch): adjust
5832         (sendDispatchMessage): simplify and adjust
5833
5834         * funcrequest.C (getArg): take unsigned int as arg
5835
5836         * ToolbarBackend.C (read): adjust
5837         (add): delete version that takes func as a string.
5838         (getIton): take a FuncRequest as arg
5839
5840         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5841         action.
5842
5843         * MenuBackend.C (MenuItem): add a new construct that only takes a
5844         Kind, simplify the constructor use for submenus.
5845         (add): adjust
5846         (expandLastfiles): adjust
5847         (expandDocuments): adjust
5848         (expandFormats): adjust
5849         (expandFloatListInsert): adjust
5850         (expandFloatInsert): adjust
5851         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5852
5853         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5854         Remove class variables lyx_pseudo_map and lyx_arg_map
5855
5856         * LyXAction.C (searchActionArg): delete function
5857         (getPseudoAction): delete function
5858         (retrieveActionArg): delete function
5859         (LookupFunc): make it return kb_action, simplify.
5860         (getActionName): simplify
5861
5862         * factory.C (createInset): fix new bug
5863
5864 2003-09-19  Angus Leeming  <leeming@lyx.org>
5865
5866         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5867         masterFilename_ parameter in the include inset.
5868
5869         * factory.C (createInset): changes due to the changes to InsetInclude.
5870
5871 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5872
5873         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5874
5875 2003-09-18  Angus Leeming  <leeming@lyx.org>
5876
5877         * buffer.C:
5878         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5879         Inset::fillWithBibKeys.
5880         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5881
5882 2003-09-18  Angus Leeming  <leeming@lyx.org>
5883
5884         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5885         variables.
5886         (ctor): pass and store a 'Buffer const &'
5887         (buffer): new member function.
5888
5889         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5890         '*this' to the LaTeXFeatures ctor.
5891
5892 2003-09-18  Angus Leeming  <leeming@lyx.org>
5893
5894         * LColor.h:
5895         * lyxfont.C:
5896         * lyxfont.h:
5897         * lyxtext.h:
5898         * text.C: rename EnumLColor as LColor_color.
5899
5900 2003-09-18  Angus Leeming  <leeming@lyx.org>
5901
5902         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5903         remove #include "insets/insetbase.h" from cursor.h.
5904
5905 2003-09-18  Angus Leeming  <leeming@lyx.org>
5906
5907         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5908         InsetOld_code to remove #include "inset.h".
5909
5910         * iterators.C: add #include "insets/inset.h"
5911
5912 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5913
5914         * BufferView.C: remove more locking stuff that apparently doesn't
5915         do anything sensible.
5916
5917 2003-09-16  André Pönitz  <poenitz@gmx.net>
5918
5919         * paragraph.[Ch]:
5920         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5921           performance boost.
5922
5923 2003-09-16  Angus Leeming  <leeming@lyx.org>
5924
5925         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5926
5927         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5928         arg/return type.
5929
5930         * paragraph.h: remove #include "lyxfont.h". Forward declare
5931         LyXFont_size.
5932
5933 2003-09-16  Angus Leeming  <leeming@lyx.org>
5934
5935         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5936         of support/textutils.h.
5937         (isWord): move the contents of support/textutils.h's IsWordChar here.
5938
5939         * buffer.C:
5940         * lyxfind.C:
5941         * rowpainter.C:
5942         * text.C:
5943         * text2.C: add #include "paragraph.h".
5944
5945         * rowpainter.C:
5946         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5947
5948 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * main.C:
5951         * lyx_main.C:
5952         * lyx_cb.C:
5953         * buffer.C:
5954         * LaTeX.C: use namespace alias for lyx::support::os
5955
5956 2003-09-16  Angus Leeming  <leeming@lyx.org>
5957
5958         * bufferparams.C:
5959         * bufferview_funcs.C:
5960         * factory.C:
5961         * lyxfunc.C:
5962         * paragraph_pimpl.C:
5963         * rowpainter.C:
5964         * text.C: add #include "LColor.h".
5965
5966 2003-09-16  Angus Leeming  <leeming@lyx.org>
5967
5968         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5969         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5970         return LyXFont &.
5971         Store the FontBits::color variable as an int rather than as an
5972         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5973         file.
5974
5975         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5976         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5977         string calls together.
5978
5979         * lyxrc.C: add #include "LColor.h".
5980
5981 2003-09-15  Angus Leeming  <leeming@lyx.org>
5982
5983         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5984         a cow_ptr.
5985
5986 2003-09-15  Angus Leeming  <leeming@lyx.org>
5987
5988         * LColor.h: add an EnumLColor wrapper for LColor::color.
5989
5990         * lyxfont.[Ch] (color, setColor, realColor):
5991         * lyxtext.h, text.C (backgroundColor):
5992         pass EnumLColor args to/from the functions, rather than LColor::color
5993         ones.
5994
5995         * lyxfont.h:
5996         * lyxtext.h: forward declare EnumLColor.
5997
5998         * lyx_main.C: add #include "LColor.h".
5999
6000 2003-09-15  Angus Leeming  <leeming@lyx.org>
6001
6002         * .cvsignore: add lyx-gtk.
6003
6004 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * Chktex.C
6007         * LaTeX.C
6008         * LaTeXFeatures.C
6009         * ParagraphParameters.C
6010         * Spacing.C
6011         * buffer.C
6012         * bufferparams.C
6013         * bufferview_funcs.C
6014         * chset.C
6015         * counters.C
6016         * funcrequest.C
6017         * lyxfont.C
6018         * lyxgluelength.C
6019         * lyxlength.C
6020         * paragraph.C
6021         * paragraph_funcs.C
6022         * text3.C
6023         * vc-backend.C: remove usage of STRCONV
6024
6025 2003-09-15  Angus Leeming  <leeming@lyx.org>
6026
6027         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6028         explicitly define the color passed to the painter.
6029
6030 2003-09-15  Angus Leeming  <leeming@lyx.org>
6031
6032         * bufferparams.C (BufferParams): reorder member initializers to avoid
6033         compiler warning.
6034
6035 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6038         * text.C (updateRowPositions): remove an unusual nop
6039
6040 2003-09-12  André Pönitz  <poenitz@gmx.net>
6041
6042         * BufferView_pimpl.C:
6043         * Bullet.C:
6044         * layout.h:
6045         * lyxfunc.C:
6046         * lyxlayout.[Ch]:
6047         * lyxtextclass.C:
6048         * rowpainter.C:
6049         * text.C:
6050         * text2.C:
6051         * Counters.[Ch]: finish the 'automatic counters' job
6052
6053 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6054
6055         * aspell.C: include <boost/assert.cpp> (compile fix)
6056
6057 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6058
6059         * boost.C (assertion_failed): use lyx::support::abort instead of
6060         assert.
6061
6062 2003-09-10  Angus Leeming  <leeming@lyx.org>
6063
6064         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6065         with their _fwd progeny.
6066
6067 2003-09-09  Angus Leeming  <leeming@lyx.org>
6068
6069         134 files throughtout the source tree: replace 'using namespace abc;'
6070         directives with the appropriate 'using abc::xyz;' declarations.
6071
6072 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6073
6074         * boost.C (emergencyCleanup): moved here from LAssert.c
6075         (assertion_failed): new function, called by BOOST_ASSERT
6076
6077         * several files: change Assert to BOOST_ASSERT
6078
6079 2003-09-09  Angus Leeming  <leeming@lyx.org>
6080
6081         * buffer.[Ch]: Add an Impl class and move Buffer's member
6082         variables into it. As a result move several header files out of
6083         buffer.h.
6084
6085         Add header files to lots of .C files all over the tree as a result.
6086
6087 2003-09-09  Angus Leeming  <leeming@lyx.org>
6088
6089         * buffer.[Ch]: make Buffer's member variables private. Add
6090         accessor functions.
6091
6092         Lots of changes all over the tree as a result.
6093
6094 2003-09-08  Angus Leeming  <leeming@lyx.org>
6095
6096         * graph.C: #include <config.h>.
6097
6098 2003-09-08  Angus Leeming  <leeming@lyx.org>
6099
6100         * BranchList.C:
6101         * BufferView.C:
6102         * BufferView_pimpl.C:
6103         * CutAndPaste.C:
6104         * DepTable.C:
6105         * LaTeX.C:
6106         * LaTeXFeatures.C:
6107         * LyXAction.C:
6108         * MenuBackend.C:
6109         * TextCache.C:
6110         * aspell.C:
6111         * buffer.C:
6112         * bufferlist.C:
6113         * changes.C:
6114         * chset.C:
6115         * converter.C:
6116         * counters.C:
6117         * debug.C:
6118         * graph.C:
6119         * ispell.C:
6120         * lyx_cb.C:
6121         * lyxfind.C:
6122         * lyxfunc.C:
6123         * lyxlex_pimpl.C:
6124         * lyxrc.C:
6125         * lyxrow.C:
6126         * paragraph.C:
6127         * rowpainter.C:
6128         * texrow.C:
6129         * text.C:
6130         * text2.C:
6131         * toc.C: remove redundant using directives.
6132
6133 2003-09-07  Angus Leeming  <leeming@lyx.org>
6134
6135         * LaTeXFeatures.h: remove #include "support/types.h".
6136         * ToolbarBackend.h: remove #include <algorithm>.
6137         * changes.h: remove #include <ctime>.
6138         * debug.h: remove #include <iosfwd>.
6139         * graph.h: remove #include "support/std_string.h".
6140         * lyx_main.h: remove #include <csignal>.
6141         * lyxlex_pimpl.h: remove #include <fstream>.
6142         * sgml.h: remove #include <algorithm>, <utility>.
6143         * toc.h: remove #include "support/std_ostream.h".
6144         Add #include <iosfwd>.
6145
6146 2003-09-07  Angus Leeming  <leeming@lyx.org>
6147
6148         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6149
6150         * converter.h: forward declare LatexRunParams.
6151         * encoding.h: remove #include "lyxrc.h".
6152         * lyxtext.h: remove #include "LColor.h".
6153         * lyxtextclass.h: remove #include "support/types.h".
6154         * trans.h: remove #include "tex-accent.h".
6155         * trans_mgr.h: remove #include "tex-accent.h".
6156         * insets/inset.h: remove #include "support/types.h", <vector>.
6157         * insets/insetcollapsable.h: remove #include "LColor.h".
6158         * insets/insetinclude.h: remove #include "dimension.h".
6159         * insets/insetlatexaccent.h: remove #include "dimension.h".
6160         * insets/insetoptarg.h:: remove #include "insettext.h".
6161         * insets/insettext.h: remove #include "dimension.h",
6162         <boost/shared_ptr.hpp>
6163
6164         * insets/renderers.h: add #include "dimension.h".
6165         * insets/updatableinset.h: add #include "support/types.h".
6166
6167         * many .C files: Associated changes.
6168
6169 2003-09-06  Angus Leeming  <leeming@lyx.org>
6170
6171         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6172         one, inside testInvariant.
6173
6174         * PrinterParams.C: new file.
6175         * PrinterParams.[Ch]: move the function bodies out of line.
6176
6177 2003-09-06  Angus Leeming  <leeming@lyx.org>
6178
6179         * ParagraphParameters.h: forward declare ParameterStruct rather than
6180         including its header file.
6181         (depth): moved out-of-line.
6182
6183 2003-09-06  Angus Leeming  <leeming@lyx.org>
6184
6185         * BufferView_pimpl.h:
6186         * kbmap.h:
6187         * kbsequence.h:
6188         * lyxfunc.h: forward declare LyXKeySym rather than
6189         #include "frontends/LyXKeySym.h".
6190
6191         * BufferView_pimpl.C:
6192         * kbmap.C:
6193         * kbsequence.C:
6194         * lyxfunc.C: associated changes.
6195
6196 2003-09-06  Angus Leeming  <leeming@lyx.org>
6197
6198         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6199         As a result, can remove the #include "insets/inset.h" from BufferView.h
6200
6201 2003-09-06  Angus Leeming  <leeming@lyx.org>
6202
6203         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6204         As a result, can remove the #include "insets/inset.h" from BufferView.h
6205
6206 2003-09-06  Angus Leeming  <leeming@lyx.org>
6207
6208         * buffer_funcs.C:
6209         * buffer.h:
6210         * bufferlist.C:
6211         * BufferView.C:
6212         * bufferview_funcs.C:
6213         * BufferView_pimpl.C:
6214         * CutAndPaste.C:
6215         * lyx_cb.C:
6216         * lyxfunc.C:
6217         * paragraph.h:
6218         * ParagraphParameters.C:
6219         * tabular.C:
6220         * text3.C:
6221         * toc.C:
6222         * undo_funcs.C:
6223         * frontends/controllers/ControlDocument.C:
6224         * insets/insetcaption.C: rearrange the #includes into some sort of
6225         coherent order.
6226
6227         * buffer.h: remove #includes ErrorList.h, undo.h
6228
6229 2003-09-06  Angus Leeming  <leeming@lyx.org>
6230
6231         * support/types.h: add a 'depth_type' typedef, used to store the
6232         nesting depth of a paragraph.
6233
6234         * paragraph.h:
6235         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6236         defining explicitly.
6237
6238         * buffer.h:
6239         * paragraph_funcs.h:
6240         * ParagraphParameters.h:
6241         * sgml.h: use lyx::depth_type rather than Paragraph or
6242         ParameterStruct's depth_type.
6243
6244         * buffer.h
6245         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6246
6247         * BufferView.C:
6248         * BufferView_pimpl.C:
6249         * CutAndPaste.C:
6250         * ParagraphParameters.C:
6251         * buffer_funcs.C:
6252         * bufferlist.C:
6253         * bufferview_funcs.C:
6254         * lyx_cb.C:
6255         * lyxfunc.C:
6256         * tabular.C:
6257         * text3.C:
6258         * toc.C:
6259         * undo_funcs.C:
6260         * frontends/LyXView.C:
6261         * frontends/controllers/ControlDocument.C:
6262         * frontends/controllers/ControlErrorList.C:
6263         * insets/insetbibitem.C:
6264         * insets/insetbranch.C:
6265         * insets/insetcaption.C:
6266         * insets/insetcollapsable.C:
6267         * insets/insetenv.C:
6268         * insets/insetert.C:
6269         * insets/insetfloat.C:
6270         * insets/insetfoot.C:
6271         * insets/insetfootlike.C:
6272         * insets/insetnewline.C:
6273         * insets/insetquotes.C:
6274         * insets/insettabular.C:
6275         * insets/insettext.C:
6276         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6277
6278         * frontends/controllers/ControlChanges.C: #include "changes.h".
6279
6280 2003-09-06  Angus Leeming  <leeming@lyx.org>
6281
6282         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6283         than #including paragraph.h.
6284
6285         * ParagraphList.h:
6286         * RowList.h: deleted. Superfluous.
6287
6288         * CutAndPaste.h:
6289         * iterators.h:
6290         * lyxcursor.h:
6291         * lyxtext.h:
6292         * text_funcs.h:
6293         * undo.h:
6294         * undo_funcs.h:
6295         * insets/inset.h:
6296         * insets/insettext.h: use ParagraphList_fwd.h rather than
6297         ParagraphList.h.
6298
6299         * paragraph.h: don't forward declare ParagraphList.
6300
6301         * buffer.h:
6302         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6303         rather than ParagraphList.h. paragraph.h is still needed for the
6304         Paragraph::depth_type parameters.
6305
6306         * textcursor.h: enable it to compile stand-alone in light of the
6307         above changes.
6308
6309         * bufferview_funcs.C:
6310         * iterators.C:
6311         * lyxfunc.C:
6312         * lyxrow_funcs.C:
6313         * paragraph.C:
6314         * rowpainter.C:
6315         * text.C:
6316         * text2.C:
6317         * text3.C:
6318         * text_funcs.C:
6319         * textcursor.C:
6320         * undo.C:
6321         * frontends/controllers/ControlParagraph.C:
6322         * frontends/controllers/ControlTabular.C:
6323         * insets/insetmarginal.C:
6324         * insets/insetminipage.C:
6325         * insets/insetnote.C:
6326         * insets/insetoptarg.C: add header files needed to compile again.
6327
6328 2003-09-06  Angus Leeming  <leeming@lyx.org>
6329
6330         * RowList_fwd.h: new file, forward-declaring Row rather than
6331         #including lyxrow.h.
6332
6333         * lyxrow_funcs.h:
6334         * lyxtext.h:
6335         * paragraph.h:
6336         * insets/insettext.h: use it instead of RowList.h
6337
6338         * bufferview_funcs.C:
6339         * lyxfunc.C:
6340         * lyxrow_funcs.C:
6341         * paragraph.C:
6342         * rowpainter.C:
6343         * text.C:
6344         * text2.C:
6345         * text3.C: #include "RowList.h".
6346
6347 2003-09-05  Angus Leeming  <leeming@lyx.org>
6348
6349         * factory.C (createInset):
6350         * vspace.C (c-tor): replace sscanf call with an istringstream.
6351         * ispell.C: re-add missing HP/UX headers.
6352         * lyxserver.C: re-add missing  os2 headers.
6353
6354 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6355
6356         * BranchList.C:
6357         * graph.C:
6358         * ispell.C:
6359         * lastfiles.C:
6360         * lyx_cb.C:
6361         * lyxserver.C:
6362         * texrow.C:
6363         * text3.C: re-add missing system headers, needed for 2.95.2.
6364
6365 2003-09-05  Angus Leeming  <leeming@lyx.org>
6366
6367         Changes most place everywhere due to the removal of using directives
6368         from support/std_sstream.h.
6369
6370 2003-09-05  Angus Leeming  <leeming@lyx.org>
6371
6372         Replace LString.h with support/std_string.h,
6373         Lsstream.h with support/std_sstream.h,
6374         support/LIstream.h with support/std_istream.h,
6375         support/LOstream.h with support/std_ostream.h.
6376
6377         Changes resulting throughout the tree.
6378
6379 2003-09-05  Angus Leeming  <leeming@lyx.org>
6380
6381         * sgml.h: ensure that the header file can be compiled stand-alone.
6382         * *.C: strip out redundant #includes. (320 in total.)
6383
6384 2003-09-04  Angus Leeming  <leeming@lyx.org>
6385
6386         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6387         here (from getPackages).
6388
6389         * debug.[Ch]: add a new EXTERNAL tag.
6390
6391 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6392
6393         * text2.C (cursorEnd): simplify
6394         (setCursor): adjust
6395         (getColumnNearX): adjust
6396
6397         * text.C (computeBidiTables): adjust
6398         (fill): adjust
6399
6400         * rowpainter.C (paintChars): adjust
6401         (paintSelection): adjust
6402         (paintChangeBar): adjust
6403         (paintText): adjust
6404
6405         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6406         lastPos instead.
6407         (numberOfSeparators): adjust
6408
6409 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6410
6411         * LyXAction.C:
6412         * box.[Ch]:
6413         * lfuns.h:
6414         * lyxfunc.C:
6415         * text3.C: Restricts the mouse click functionality
6416         of insets like bibtex, include, toc and floatlist to the visible
6417         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6418         up the dialogs. Cursor has to be in front of the inset (i.e.
6419         start of row) for this to function.
6420
6421 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6422
6423         * bufferview_funcs.C (currentState): output row information
6424
6425 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6426
6427         * bufferview_funcs.C (currentState): output paragraph position
6428
6429 2003-09-04  Angus Leeming  <leeming@lyx.org>
6430
6431         * FloatList.h: move out #include "Floating.h".
6432         * LaTeX.h: move out #include "DepTable.h".
6433         * LyXAction.h: move out #include "funcrequest.h".
6434         * buffer.h: move out #include "author.h", "iterators.h".
6435         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6436         * lyx_main.h: move out #include "errorlist.h".
6437         * lyxfunc.h: move out #include "FuncStatus.h".
6438         * lyxtext: move out #include "lyxcursor.h".
6439         * paragraph_pimpl.h: move out #include "counters.h".
6440
6441 2003-09-03  Angus Leeming  <leeming@lyx.org>
6442
6443         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6444         preamble_snippets list, enabling us to add snippets to the preamble
6445         only if the snippet was not there already.
6446
6447 2003-09-04  Angus Leeming  <leeming@lyx.org>
6448
6449         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6450
6451 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6454         update
6455
6456 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6457
6458         * BranchList.C: point fix, earlier forgotten
6459
6460 2003-09-02  Angus Leeming  <leeming@lyx.org>
6461
6462         * box.C (contains): renamed from 'contained' after a fantastic
6463         amount of hot air.
6464
6465 2003-09-02  John Levon  <levon@movementarian.org>
6466
6467         * BufferView.C:
6468         * lyxcursor.h:
6469         * lyxcursor.C:
6470         * lyxfunc.C:
6471         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6472
6473 2003-09-02  John Levon  <levon@movementarian.org>
6474
6475         * text2.C: simplification of cursorEnd(), including partial
6476         fix for bug 1376
6477
6478 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * buffer.C (readFile): add a space
6481
6482 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6483
6484         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6485
6486 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * buffer.C (readFile): new function, take a filename and a
6489         ParagraphList::iterator
6490         (readFile): adjust
6491         (readFile): adjust, make it private. don't use setStream, make
6492         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6493         always contain the filename.
6494
6495         * BufferView.C (insertLyXFile): simplify and make it work for
6496         gzipped files.
6497
6498 2003-08-30  John Levon  <levon@movementarian.org>
6499
6500         * Makefile.am: fix dist (from Kayvan)
6501
6502 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * most files: change to use const Buffer refs
6505
6506 2003-08-27  André Pönitz  <poenitz@gmx.net>
6507
6508         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6509         on top of ownerPar().
6510
6511 2003-08-27  John Levon  <levon@movementarian.org>
6512
6513         * funcrequest.C: properly initialise POD members
6514
6515 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6516
6517         * lyxtext.h (top_y): move top_y from here
6518         * text.C:
6519         * text2.C:
6520         * text3.C:
6521         * BufferView.[Ch]:
6522         * BufferView_pimpl.[Ch]: to here
6523         * frontends/screen.C:
6524         * insets/insettabular.C:
6525         * insets/insettext.C: adjust
6526         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6527
6528 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6529
6530         * BufferView.[Ch]:
6531         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6532
6533 2003-08-26  André Pönitz  <poenitz@gmx.net>
6534
6535         * paragraph_func.[Ch] (outerPar): new function
6536
6537         * paragraph.C:
6538         * paragraph_funcs.C:
6539         * paragraph_funcs.h:
6540         * paragraph_pimpl.C:
6541         * text2.C: remove Inset::par_owner
6542
6543 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6544
6545         * lyxrow_funcs.C:
6546         * lyxtext.h:
6547         * text.C:
6548         * text2.C: eliminates the needFullRow/display() stuff
6549         altogether, putting the logic in metrics/draw in the insets.
6550
6551 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6552
6553         * text2.C (redoParagraphInternal, redoParagraphs):
6554         * text.C (redoParagraph): add a call to updateRowPositions at the
6555         end of each 'metrics-like' call. Remove all others.
6556         (getRow): remove the 'y-computing' version.
6557         (getRowNearY): do not compute nor return the real y. Solve the
6558         'y < 0' problem and simplify.
6559
6560 2003-08-22  Angus Leeming  <leeming@lyx.org>
6561
6562         * *.[Ch]: clean-up of licence and author blurbs.
6563         Also move config.h out of a few .h files and into a few .C files.
6564
6565 2003-08-22  André Pönitz  <poenitz@gmx.net>
6566
6567         * lyxrow.[Ch]: add x_ and *fill_ members
6568
6569         * lyxtext.h:
6570         * text.C:
6571         * rowpainter.C:
6572         * text2.C: adjust/remove prepareToPrint() calls
6573
6574 2003-08-22  André Pönitz  <poenitz@gmx.net>
6575
6576         * lyxrow.[Ch]: add  end_ member
6577
6578         * lyxrow_funcs.C: use LyXRow::end_
6579
6580         * lyxtext.h (singleWidth): add LyXFont parameter
6581
6582         * rowpainter.C:
6583         * text2.C: adjust LyXText::singleWidth() calls
6584
6585         * text.C (redoParagraph): simplify row breaking logic
6586
6587
6588 2003-08-19  André Pönitz  <poenitz@gmx.net>
6589
6590         * funcrequest.C: initialize button_ member
6591
6592         * text3.C:
6593         * rowpainter.[Ch]: interface consolidation
6594
6595 2003-08-18  André Pönitz  <poenitz@gmx.net>
6596
6597         * BufferView.C:
6598         * BufferView_pimpl.C:
6599         * lyxfind.C:
6600         * paragraph_funcs.C:
6601         * rowpainter.C:
6602         * text3.C: remove LyXScreen::draw() and fitCursor calls
6603
6604         * BranchList.h: remove spurious semicolons
6605
6606         * MenuBackend.C: fix branchlist related crash
6607
6608 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6609
6610         * BranchList.[Ch]:
6611         * InsetList.[Ch]:
6612         * LColor.[Ch]:
6613         * LyXAction.C:
6614         * Makefile.am:
6615         * MenuBackend.[Ch]:
6616         * bufferparams.[Ch]:
6617         * factory.C:
6618         * lfuns.h:
6619         * lyxfunc.C:
6620         * text3.C: implements the 'branch inset'
6621         idea. This allows the output of various versions of a document
6622         from a single source version, selectively outputing or suppressing
6623         output of parts of the text.
6624         This implementation contains a 'branch list editor' in a separate
6625         tab of the document settings dialog. Branches are user definable
6626         and have a "display colour" to distinguish them on-screen.
6627
6628         ColorHandler was somewhat cleaned up.
6629         (1) make possible a dynamically growing LColor list by allowing
6630         the graphic context cache to grow along (vector);
6631         (2) eliminate an IMHO unnecessary step in colour allocation.
6632
6633 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6634
6635         * BufferView_pimpl.C: compile fix
6636
6637 2003-08-15  André Pönitz  <poenitz@gmx.net>
6638
6639         * rowpainter.C: remove extra metrics calls
6640
6641         * lyxtext.h: merge the two constructors into a single one,
6642           pass reference to owner's par list
6643
6644         * BufferView_pimpl.C:
6645         * text.C:
6646         * text2.C: adjust
6647
6648 2003-08-15  André Pönitz  <poenitz@gmx.net>
6649
6650         * lyxrow_funcs.[Ch]:
6651         * lyxtext.h:
6652         * paragraph.h:
6653         * paragraph_funcs.C:
6654         * rowpainter.C:
6655         * text.C:
6656         * text2.C:
6657         * text3.C:
6658         * text_funcs.C: split LyXText::rowlist_ into individual
6659         Paragraph::rows_ chunks
6660
6661         * BufferView.[Ch]:
6662         * BufferView_pimpl.[Ch]:
6663         * lyxfind.C:
6664         * lyxtext.h:
6665         * text3.C: remove toggleSelection()
6666
6667 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6668
6669         * bufferlist.C: beautify two alerts (shorter text of buttons)
6670         * buffer.C: Remove redundant ' ' from message
6671         * tabular.h:
6672         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6673         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6674         rename VALIGN_CENTER to VALIGN_MIDDLE
6675
6676 2003-08-11  André Pönitz  <poenitz@gmx.net>
6677
6678         * lyxtext.h (getPar):
6679         * text.C: new function
6680
6681 2003-08-11  André Pönitz  <poenitz@gmx.net>
6682
6683         * Makefile.am:
6684         * tracer.[Ch]: remove unneeded files
6685
6686         * InsetList.[Ch]: remove resizeInsetsLyXText()
6687
6688         * lyxtext.h:
6689         * text.C:
6690         * text2.C:
6691         * text3.C: merge insertParagraphs() and appendParagraph()
6692         remove breakAgain(), update()
6693
6694         * BufferView_pimpl.[Ch]:
6695         * bufferview_funcs.[Ch]:
6696         * lyxfunc.C:
6697         * paragraph.[Ch]:
6698         * rowpainter.C:
6699         * tabular.C: adjust after text & InsetList changes.
6700
6701 2003-08-08  André Pönitz  <poenitz@gmx.net>
6702
6703         * text.C (insertChar, backspace): replace rowlist fiddling
6704         with rebreak of full par
6705
6706         * lyxtext.h:
6707         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6708         checkParagraph, updateInset): removed
6709
6710 2003-08-07  André Pönitz  <poenitz@gmx.net>
6711
6712         * paragraph.C:
6713         * text3.C: merge some LFUN handlers, remove dead code
6714
6715 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6716
6717         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6718
6719 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6720
6721         * text2.C (DEPM): fix part of bug 1255 and 1256
6722
6723 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6724
6725         * BufferView_pimpl.C (workAreaDispatch): change to use
6726         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6727         that are no mouse related.
6728
6729 2003-08-05  André Pönitz  <poenitz@gmx.net>
6730
6731         * BufferView.[Ch]:
6732         * BufferView_pimpl.[Ch]:
6733         * bufferview_funcs.C:
6734         * text2.C:
6735         * text3.C: rip out "deep update"
6736
6737         * textcursor.[Ch] (last_sel_cursor): remove unused member
6738
6739 2003-08-04  André Pönitz  <poenitz@gmx.net>
6740
6741         * BufferView.[Ch]:
6742         * BufferView_pimpl.[Ch]:
6743         * ParagraphParameters.C:
6744         * bufferview_funcs.C:
6745         * lyx_cb.C:
6746         * lyxfind.C:
6747         * lyxfunc.C:
6748         * text.C:
6749         * text2.C:
6750         * text3.C: replace "complicated" BufferView::update(...) calls with
6751         simpler ones.
6752
6753         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6754
6755 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6756
6757         * Makefile.am (lyx_SOURCES): add paper.h
6758
6759 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6760
6761         * Makefile.am: move things around so that both lyx-qt and
6762         lyx-xforms can be built (according to --with-frontend). Then lyx
6763         is a symbolic link to lyx-[firstfrontend]
6764
6765 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6766
6767         * Always use std::endl with lyxerr
6768
6769 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6770
6771         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6772
6773 2003-08-01  André Pönitz  <poenitz@gmx.net>
6774
6775         * BufferView.[Ch]:
6776         * BufferView_pimpl.[Ch]:
6777         * lyxfunc.C:
6778         * text3.C: merge BufferView::repaint() and BufferView::update()
6779
6780 2003-08-01  José Matos  <jamatos@lyx.org>
6781
6782         * buffer.[Ch]: file_format is no longer a buffer data element.
6783
6784 2003-08-01  André Pönitz  <poenitz@gmx.net>
6785
6786         * BufferView.C:
6787         * lyxtext.h:
6788         * text.C:
6789         * text2.C: make redoParagraph more independent of current cursor
6790
6791         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6792         * text.C:
6793         * text2.C: remove unneeded members
6794
6795 2003-07-30  André Pönitz  <poenitz@gmx.net>
6796
6797         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6798
6799         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6800           create a single function...
6801
6802         * paragraph_funcs.C (moveItem): ... here.
6803
6804         * text.C:
6805           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6806
6807 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6808
6809         * LColor.[Ch]: Add comment and greyedout logical colors.
6810
6811 2003-07-30  André Pönitz  <poenitz@gmx.net>
6812
6813         * tabular.C: don't use Assert too heavily. This crashes where it
6814           shouldn't
6815
6816 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6817
6818         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6819         is disabled (bug 1232)
6820
6821 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6822
6823         * factory.C: limited 'arg' scope
6824
6825 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6826
6827         * factory.C: fixed Note submenu issues
6828
6829 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6830
6831         * factory.C: submenu for Note/Comment/Greyedout
6832
6833 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6834
6835         * lyx_main.C (LyX):
6836         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6837
6838 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6839
6840         * LaTeXFeatures.C:
6841         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6842         greyedout. Patch provided by Jürgen Spitzmüller.
6843
6844 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6845
6846         * kbmap.C (read): fix error message when reading bind files
6847
6848 2003-07-29  Angus Leeming  <leeming@lyx.org>
6849
6850         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6851         certainly does not do what it purports to do. I am doing it, and
6852         us, a favour by killing it.
6853
6854 2003-07-28  José Matos  <jamatos@lyx.org>
6855
6856         * buffer.C (readBody, do_writeFile):
6857         * paragraph.C(readParagraph): \end_document replaces \the_end.
6858
6859 2003-07-29  André Pönitz  <poenitz@gmx.net>
6860
6861         * BufferView.[Ch]:
6862         * BufferView_pimpl.[Ch]:
6863         * lyxfunc.C:
6864         * text2.C:
6865         * text3.C:
6866         * textcursor.[Ch]: remove toggleToggle & Co
6867
6868 2003-07-28  José Matos  <jamatos@fep.up.pt>
6869
6870         * buffer.C (readParagraph):
6871         * params_func (readParToken, readParagraph):
6872         * paragraph.C (write): \layout -> \begin_layout.
6873
6874 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * lyxlex_pimpl.C (setFile): clean up slightly.
6877
6878         * bufferparams.h: add compressed var
6879
6880         * buffer_funcs.C (readFile): adjust for LyXLex change
6881         (newFile): ditto + simplify
6882
6883         * buffer.C (writeFile): handle writing of compressed files
6884
6885         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6886         Check if the file is compressed and set a bufferparm if so.
6887
6888         * Makefile.am (lyx_LDADD): remove explicit -lz
6889
6890 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6891
6892         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6893         makeDocBookFile): put the real LyX version in the first line of
6894         the file
6895
6896         * version.h:
6897         * version.C.in: remove lyx_docversion
6898
6899         * tabular.C (write_attribute): add a template-based version to
6900         write enums properly
6901
6902 2003-07-28  André Pönitz  <poenitz@gmx.net>
6903
6904         * lyxtext.h:
6905         * text.C:
6906         * text2.C:
6907         * text3.C: use doubles again for x-coordinates. They are needed.
6908
6909 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * messages.C (getLocaleDir): use lyx_localedir()
6912
6913         * lyxlex_pimpl.C (setFile): compress stuff
6914
6915         * buffer.C (writeFile): add some compression stuff
6916         (do_writeFile): new func, dont call expliti close... will this
6917         breake anything?
6918
6919         * Makefile.am (lyx_LDADD): add -lz
6920
6921 2003-07-28  José Matos  <jamatos@fep.up.pt>
6922
6923         * buffer.C: increment file format.
6924         * paragraph_funcs (readParagraph, readParToken):
6925         * paragraph.C (readParagraph): add \end_layout.
6926
6927 2003-07-27  Angus Leeming  <leeming@lyx.org>
6928
6929         * Makefile.am: remove special casing for configure-time setting of
6930         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6931
6932         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6933         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6934
6935 2003-07-26  André Pönitz  <poenitz@gmx.net>
6936
6937         * paragraph_func.[Ch]:
6938         * paragraph.C (realizeFont): inline it whereever it is used
6939
6940         * rowpainter.C:
6941         * text.C:
6942         * text2.C:
6943         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6944
6945
6946 2003-07-26  André Pönitz  <poenitz@gmx.net>
6947
6948         *       lyxtext.h:
6949         * text.C:
6950         * text2.C: get rid of LyXText::need_break_row
6951
6952 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * toc.[Ch]: put namespace toc inside namespace lyx
6955
6956         * MenuBackend.C (expandToc2): adjust for lyx::toc
6957         (expandToc): ditto
6958
6959         * lyxfunc.C (dispatch): adjust for lyx::find
6960
6961         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6962         lyx::find instead. Reorganize a bit.
6963         (LyXReplace): rename to replace
6964         (LyXFind): rename to find
6965
6966         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6967         (dispatch): ditto
6968
6969 2003-07-26  André Pönitz  <poenitz@gmx.net>
6970
6971         * text.C (setHeightOfRow): restrict scope of temporary variable
6972
6973         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6974           code (never has been used?)
6975
6976 2003-07-27  Asger Alstrup  <alstrup@local>
6977
6978         * text.C (fill): Optimise algorithm to exploit that we can reuse
6979         the LyXFont for many characters.
6980         (setHeightOfRow): Same thing.
6981         (rowBreakPoint): Same thing.
6982
6983 2003-07-26  Asger Alstrup  <alstrup@local>
6984
6985         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6986
6987         * text.C (singleWidth): Spurious font copying in hot-spot
6988         singleWidth avoided. Reorder tests for arabic for efficiency.
6989
6990         * text.C (fill): handle empty paragraphs better.
6991
6992 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6993
6994         * ispell.C:
6995         * encoding.h: add includes
6996
6997         * lyxrc.C: remove reading of bind files
6998
6999         * lyx_main.C (init): setup bindings and menus only if we have a
7000         gui.
7001
7002         * kbmap.C (read): new method. Do the actual reading of bind
7003         files.
7004
7005         * converter.C (dvipdfm_options):
7006         * bufferparams.C:
7007         * lyxrc.C (read):
7008         (output): adapt PAPER_* enums.
7009
7010         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7011
7012         * bufferparams.h: remove paper-related enums from there
7013
7014         * paper.h: New file. A trivial header file to hold paper-related
7015         enums. It should later expand to contain many paper-related
7016         horrors access.
7017
7018         * lyxrc.C: declare extern displayTranslator
7019
7020 2003-07-27  José Matos  <jamatos@fep.up.pt>
7021
7022         * tabular.[Ch] (linuxdoc): add support for tables and figures
7023         (linuxdoc).
7024
7025 2003-07-27  José Matos  <jamatos@fep.up.pt>
7026
7027         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7028         consistency in both functions.
7029         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7030
7031 2003-07-26  Asger Alstrup  <alstrup@local>
7032
7033         * rowpainter.C (paintRows): Change algorithm to work directly on
7034         the insets rather than asking every character in the document
7035         whether its an inset.
7036
7037 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7038
7039         * buffer.C (openFileWrite): factorize some code
7040
7041 2003-07-26  Angus Leeming  <leeming@lyx.org>
7042
7043         * lyx_cb.C:
7044         * lyx_main.[Ch]: replace occurances of system_tempdir with
7045         os::getTmpDir().
7046
7047 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * rename Inset to InsetOld
7050
7051 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7052
7053         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7054         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7055         which I think is a bit clearer. EDIT is gone, since it was
7056         premature optimisation, and broken for mathed anyway.
7057         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7058         with cursor positioning in insets as well (math insets still do not
7059         work, but that's a different story anyway.) It mysteriously
7060         crashes sometimes with undo in the first paragraph, but I'm fairly
7061         confident that this is a compiler bug.
7062
7063 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * paragraph.C (Paragraph): adjust for new clone return type
7066         (operator==): ditto
7067         (copyIntoMinibuffer): ditto
7068
7069 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7070
7071         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7072         by not having a special case, and always doing a full rebreak of
7073         the document after undo.
7074
7075 2003-07-23  Angus Leeming  <leeming@lyx.org>
7076
7077         * factory.C (createInset): InsetExternal::setParams now takes a
7078         Buffer const * arg.
7079
7080 2003-07-23  Angus Leeming  <leeming@lyx.org>
7081
7082         * factory.C (createInset): changed interface to the external and
7083         graphics mailers' string2params functions.
7084
7085 2003-07-23  Angus Leeming  <leeming@lyx.org>
7086
7087         * factory.C (createInset): pass a
7088         Buffer const * parameter to InsetExternalMailer's string2params.
7089
7090 2003-07-22  John Levon  <levon@movementarian.org>
7091
7092         * Thesaurus.h: include the right aiksaurus header
7093
7094 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7095
7096         * MenuBackend.C (expand): check menu shortcuts unconditionally
7097
7098 2003-07-21  Angus Leeming  <leeming@lyx.org>
7099
7100         * factory.C (createInset): pass a
7101         buffer_path parameter to InsetGraphicsMailer's string2params.
7102
7103 2003-07-21  Angus Leeming  <leeming@lyx.org>
7104
7105         * BufferView_pimpl.C (buffer):
7106         * buffer.C (d-tor):
7107         * lyx_main.C (LyX):
7108         * lyxfunc.C (dispatch):
7109         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7110         rather than the grfx shortcut.
7111
7112 2003-07-21  André Pönitz  <poenitz@gmx.net>
7113
7114         * rowpainter.C: remove unused variables
7115
7116         * tabular_funcs.C:
7117         * tabular_funcs.h: move to tabular.C
7118         * Makefile.am: adjust
7119
7120         * tabular.[Ch]: basic optical cleaning
7121
7122         * author.h: pass references, not values
7123
7124 2003-07-18  André Pönitz  <poenitz@gmx.net>
7125
7126         * lyxtext.h:
7127         * metricsinfo.C:
7128         * metricsinfo.h:
7129         * rowpainter.C:
7130         * text.C:
7131         * text2.C:
7132         * text3.C: two-phase drawing for InsetText and InsetTabular
7133         some float -> int changes.
7134
7135 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * lyx_main.C: fix the fix
7138
7139 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7140
7141         * lyx_main.C: fix a crash in batch mode if no files specified
7142         * converter.C: ws
7143
7144 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7145
7146         * format.[Ch] (papersize): moved to BufferParams
7147         * converter.[Ch] (dvips_options): moved to BufferParams
7148         (dvipdfm_options): moved to anon namespace
7149         * bufferparams.[Ch]: added above functions.
7150
7151 2003-07-17  André Pönitz  <poenitz@gmx.net>
7152
7153         * lyxtext.h:
7154         * rowpainter.C:
7155         * text2.C: don't call inset->update() anymore
7156
7157         * metricsinfo.[Ch]: add convenience constructor
7158
7159 2003-07-16  André Pönitz  <poenitz@gmx.net>
7160
7161         * lyxcursor.[Ch]:
7162         * lyxfunc.[Ch]:
7163         * text.C:
7164         * text2.C: replace the LyXCursor::irow_ member with
7165          on-demand computation of the value
7166
7167 2003-07-16  John Levon  <levon@movementarian.org>
7168
7169         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7170
7171 2003-07-15  André Pönitz  <poenitz@gmx.net>
7172
7173         * text.C:
7174         * text2.C: remove no more needed refresh_row
7175
7176 2003-07-15  André Pönitz  <poenitz@gmx.net>
7177
7178         * lyxtext.h:
7179         * rowpainter.C:
7180         * text2.C:
7181         * text3.C: refresh_status tristate -> need_update bool
7182
7183 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7184
7185         * lyxtext.h (init): remove reinit argument (act as if always true)
7186         * text2.C: adjust to that
7187
7188 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7189
7190         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7191         * text3.C: use it to delete selections in some cases
7192         (bugs 441, 673, 702, 954).
7193
7194 2003-07-14  André Pönitz  <poenitz@gmx.net>
7195
7196         * rowpainter.[Ch]: reduce interface
7197
7198 2003-07-14  André Pönitz  <poenitz@gmx.net>
7199
7200         * BufferView_pimpl.C:
7201         * text2.C: adjust after removing unused BufferView * argument
7202
7203 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * text2.C (init): fix a crash fired on resize
7206
7207 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * buffer.[Ch]: added new closing signal
7210         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7211         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7212         BufferView::Pimpl via the closing the signal
7213
7214 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7215
7216         * buffer.[Ch]: take out all bv-related from buffer
7217         * BufferView.C:
7218         * BufferView_pimpl.[Ch]: connect to new signals
7219         * CutAndPaste.C: removed useless asserts
7220         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7221         * lyxvc.[Ch]:
7222         * vc-backend.[Ch]:
7223         * lyxfunc.C: moved view-related funciontality from vc here
7224         * paragraph.C: removed outdated comments
7225         * text.C: ws
7226
7227 2003-07-10  André Pönitz  <poenitz@gmx.net>
7228
7229         * BufferView_pimpl.C:
7230         * tabular.h:
7231         * tabular_funcs.C:
7232         * text.C:
7233         * text2.C: remove InsetText::InnerCache, clean up consequences
7234
7235 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7236
7237         * ispell.C: fix two typos in error messages
7238
7239 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7240
7241         * Extend Note inset to other forms of annotation like Comment
7242         and Greyedout. Right button click gives dialog.
7243
7244         Files modified or added (+):
7245
7246         * insetnote.[Ch]
7247         * FormNote.[Ch]      +
7248         * ControlNote.[Ch]   +
7249         * form_note.fd       +
7250         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7251         frontends/controllers
7252         * xforms/Dialogs.C
7253         * factory.C
7254
7255 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7256
7257         * aspell.C: add missing namespace lyx::support
7258
7259 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7260
7261         * BufferView.[Ch] (newFile): Add
7262         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7263         * LaTeX.[Ch] (message): added this signal and use it
7264         * buffer.[Ch] (busy, message): added these signals and use them
7265         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7266         * converter.C:
7267         * exporter.C:
7268         * format.C:
7269         * importer.C: use buffer signals instead of direct bv calling
7270         * lyx_cb.[Ch] (ShowMessage): removed
7271         * lyx_main.C:
7272         * lyxfunc.C:
7273         * paragraph_funcs.C:
7274         * text2.C: use buffer signals
7275
7276 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * introduce namespace lyx::graphics
7279
7280 2003-07-02  André Pönitz  <poenitz@gmx.net>
7281
7282         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7283
7284 2003-07-01  André Pönitz  <poenitz@gmx.net>
7285
7286         * text.C:
7287         * text2.C:
7288         * text3.C:
7289         * text_funcs.[Ch]:
7290         * textcursor.h:
7291         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7292           text*.C to text_func.C
7293
7294 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * introduce namespace lyx::support
7297
7298 2003-06-30  André Pönitz  <poenitz@gmx.net>
7299
7300         * Chktex.C:
7301         * funcrequest.C:
7302         * lyxtext.h:
7303         * text.C: re-enable --with-included-string
7304
7305 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7306
7307         * textcursor.C: add <config.h>
7308
7309         * text.C (getWord): remove const from word_location arg
7310
7311         * lyxvc.C (getLogFile): fix const type order
7312
7313         * lyxtext.h: remove const from word_location arg, add arg name
7314
7315         * lyxlayout.h: currect type on labeltype.
7316
7317         * importer.C: correct \file
7318
7319         * converter.C (intToFormat): use std:: on ret val, ws changes
7320
7321         * bufferlist.h: correct \file
7322
7323         * buffer.C (makeLinuxDocFile): fix const type order
7324         (makeDocBookFile): ditto
7325         (fillWithBibKeys): use std:: on stdlib args.
7326
7327         * CutAndPaste.C: fix authors.
7328         (availableSelections): use std:: on return vector
7329
7330 2003-06-27  André Pönitz  <poenitz@gmx.net>
7331
7332         * BufferView_pimpl.C:
7333         * bufferview_funcs.C:
7334         * lyxcursor.C:
7335         * lyxcursor.h:
7336         * lyxfunc.C:
7337         * lyxtext.h:
7338         * rowpainter.C:
7339         * text.C:
7340         * text2.C:
7341         * text3.C: remove LyXCursor::row_ member
7342
7343         * lyxtext.h:
7344         * text.C: rename fullRebreak() to partialRebreak() and implement
7345           a fullRebreak() that really bereks fully
7346
7347         * textcursor.h: new struct for cursor-related data
7348
7349 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7350
7351         * lyx_main.C (LyX): get full path of document loaded on the
7352         command line
7353
7354 2003-06-26  André Pönitz  <poenitz@gmx.net>
7355
7356         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7357           remove unused/broken operator>,<,>=.
7358
7359         *       text.C: remove only use of broken operator<= in an Assert().
7360
7361 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7362
7363         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7364         moved errorlist_.clear to showErrorList
7365
7366 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7367
7368         * converter.C (scanLog, runLaTeX):
7369         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7370         move the bv->showErrorList call to the callers
7371         * lyxfunc.C: i.e. here...
7372         * text2.C: and here
7373         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7374         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7375         namespace, the second to...
7376         * buffer_funcs (BufferFormat, parseErrors): added
7377         * errorlist.C (ErrorList(TeXErrors const &)): removed
7378
7379 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7380
7381         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7382
7383 2003-06-24  "Garst R. Reese" <reese@isn.net>
7384
7385         * debug.C: fix typo
7386
7387 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7388
7389         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7390
7391         * version.C.in: change docversion to 1.4
7392
7393 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7394
7395         * buffer.C: fix a bug just introduced
7396
7397 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7398
7399         * buffer.[Ch]: added the parseError signal and use it, removed
7400         sgmlError
7401         * BufferView.[Ch] (addError): moved to ...
7402         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7403         to the Buffer::parseError signal to catch (guess what) parse errors
7404         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7405
7406 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7407
7408         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7409         ability to create a buffer and to return an existing one from
7410         the list. Moved these functions to...
7411         * buffer_funcs.[Ch]: added
7412         * BufferView.[Ch] (loadLyXFile): added
7413         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7414         job removed from bufferlist::loadLyXFile.
7415         * buffer.C (setReadOnly): make it work without view
7416         (i.e added an if (users))
7417
7418 2003-06-19  Angus Leeming  <leeming@lyx.org>
7419
7420         * lfuns.h:
7421         * LyXAction.C (init):
7422         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7423         with LFUN_DIALOG_SHOW <name> <data>.
7424
7425 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7426
7427         * CutAndPaste.C (availableSelections): small compilation fix for
7428         ancient (gcc 2.9x) compilers
7429
7430 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * text3.C (cursorNext): add tmp var
7433
7434         * text2.C (updateCounters): for function calling out of for clause
7435         (replaceSelectionWithString): ditto
7436         (insertStringAsParagraphs): ditto
7437         (getColumnNearX): add tmp var
7438         (setCursorFromCoordinates): add tmp var
7439         (cursorDownParagraph): add tmp var
7440         (deleteEmptyParagraphMechanism): add tmp var
7441
7442         * text.C (insertChar): add tmp var
7443
7444         * rowpainter.C (paintDepthBar): add tmp var
7445
7446         * CutAndPaste.C (availableSelections): potentially check all
7447         paragraphs in a cut to fill the shown strings.
7448
7449 2003-06-18  André Pönitz  <poenitz@gmx.net>
7450
7451         * kbmap.[Ch]: use vector<> instead of list<>
7452
7453 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7454
7455         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7456         pasteSelection with index
7457
7458         * text2.C (pasteSelection): modify, call pasteSelection with index
7459
7460         * paragraph.C (asString): reimplement version with no interval to
7461         call the one with interval.
7462
7463         * lyxtext.h: add index arg to pasteSelection
7464
7465         * MenuBackend.C (MenuItem): handle PasteRecent
7466         (Menu::read::Menutags): add md_pasterecent
7467         (read): handle it
7468         (expandPasteRecent): new function
7469         (expand): use it
7470
7471         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7472
7473         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7474         the limited stack
7475         (availableSelections): new function
7476
7477 2003-06-17  Angus Leeming  <leeming@lyx.org>
7478
7479         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7480
7481 2003-06-17  Angus Leeming  <leeming@lyx.org>
7482
7483         * lfuns.h:
7484         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7485
7486         * lyxfunc.C (dispatch): invoke it.
7487
7488 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7489
7490         * iterators.C (operator++, ParPosition): reintroduce some
7491         const_cast for the benefit of older compilers.
7492
7493 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7494
7495         * text3.C (dispatch): do not modify clipboard when doing
7496         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7497         LFUN_DELETE_SKIP on a selection selection
7498
7499 2003-06-16  André Pönitz  <poenitz@gmx.net>
7500
7501         * BufferView.C:
7502         * buffer.C:
7503         * buffer.h:
7504         * paragraph.C:
7505         * tabular.[Ch]: IU of clone() and getLabelList();
7506
7507 2003-06-13  André Pönitz  <poenitz@gmx.net>
7508
7509         * tabular.h: compactification
7510
7511 2003-06-12  André Pönitz  <poenitz@gmx.net>
7512
7513         * tabular.C:
7514         * tabular.h:
7515         * tabular_funcs.h: some renaming plus whitespace
7516
7517 2003-06-12  André Pönitz  <poenitz@gmx.net>
7518
7519         * BufferView.C:
7520         * BufferView_pimpl.C:
7521         * CutAndPaste.C:
7522         * buffer.C:
7523         * iterators.[Ch]:
7524         * lyxfunc.C:
7525         * text.C:
7526         * toc.C: Return a Paragraph & for ParIterator::operator*()
7527
7528 2003-06-11  John Levon  <levon@movementarian.org>
7529
7530         * lyx_main.C:
7531         * ToolbarBackend.h:
7532         * ToolbarBackend.C: add "Toolbars" section and
7533         put the flags there
7534
7535 2003-06-10  Angus Leeming  <leeming@lyx.org>
7536
7537         * lfuns.h:
7538         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7539
7540         * lyxfunc.C (dispatch): invoke it.
7541
7542 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * main.C: protect <ios> with HAVE_IOS
7545         (main): protect sync_with_stdio with HAVE_IOS
7546
7547 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7548
7549         * text2.C (cutSelection): adjust
7550         (pasteSelection): adjust
7551
7552         * messages.C: handle get of empty string
7553
7554         * main.C (main): use sync_with_stdio(false)
7555
7556         * lyxfunc.C (dispatch): adjust
7557
7558         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7559         (WriteAs): remove unneeded BufferView arg.
7560
7561         * bufferparams.h: use correct types on papersize, papersize2 and
7562         paperpackage.
7563
7564         * bufferparams.C (readToken): adjust for type
7565         (writeLaTeX): add missing cases to switch.
7566
7567         * bufferlist.C (quitWriteBuffer): adjust
7568         (close): adjust
7569
7570         * buffer.C (asciiParagraph): remove some commented code.
7571
7572         * CutAndPaste.C: remove current_view extern variable.
7573         (cutSelection): add BufferParams arg.
7574         (eraseSelection): add BufferParams arg.
7575         (pasteSelection): add Buffer const & arg
7576
7577 2003-06-07  John Levon  <levon@movementarian.org>
7578
7579         * buffer.C:
7580         * paragraph_funcs.C:
7581         * paragraph_pimpl.C:
7582         * text.C:
7583         * text2.C:
7584         * paragraph.h:
7585         * paragraph.C: allow InsetERT to freely space lines,
7586         and some consolidation of code
7587
7588 2003-06-06  José Matos  <jamatos@fep.up.pt>
7589
7590         * buffer.C (makeDocBookFile): fix bug #821
7591
7592 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7593
7594         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7595
7596 2003-06-04  Angus Leeming  <leeming@lyx.org>
7597
7598         * buffer.C: bump format to 224.
7599
7600 2003-06-05  André Pönitz  <poenitz@gmx.net>
7601
7602         * text2.C (redoParagraphs): remove two const_cast<>
7603
7604 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7605
7606         * ParagraphList.h: remove last remnants of NO_STD_LIST
7607
7608 2003-06-03  Angus Leeming  <leeming@lyx.org>
7609
7610         * factory.C (createInset): small change to the way InsetExternal's params
7611         are set.
7612
7613 2003-06-04  André Pönitz  <poenitz@gmx.net>
7614
7615         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7616
7617         * paragraph_pimpl.h:
7618         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7619
7620         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7621
7622         * undo_funcs.C: make some simple cases of undo work again
7623
7624 2003-06-03  John Levon  <levon@movementarian.org>
7625
7626         * ispell.C: HPUX doesn't have sys/select.h
7627         (from Albert Chin)
7628
7629 2003-06-03  John Levon  <levon@movementarian.org>
7630
7631         * CutAndPaste.C: update tabular and include inset
7632         buffer references
7633
7634         * buffer.h:
7635         * paragraph.h:
7636         * paragraph.C: remove owningBuffer(), don't pass Buffer
7637         to clone()
7638
7639         * factory.C: insetGraphicsParams changed
7640
7641 2003-06-02  John Levon  <levon@movementarian.org>
7642
7643         * LyXAction.C:
7644         * factory.C:
7645         * lfuns.h:
7646         * lyxfunc.C:
7647         * text3.C: remove insetparent
7648
7649 2003-06-02  John Levon  <levon@movementarian.org>
7650
7651         * buffer.h:
7652         * buffer.C: fix inset_iterator.end(), move out of line
7653         (bug 1149)
7654
7655 2003-06-01  John Levon  <levon@movementarian.org>
7656
7657         * text3.C: use a proper cut/paste when doing inset
7658         insert (from Jürgen Spitzmüller)
7659
7660 2003-06-01  John Levon  <levon@movementarian.org>
7661
7662         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7663
7664 2003-05-30  André Pönitz  <poenitz@gmx.net>
7665
7666         * rowpainter.C: unify second drawing phase
7667
7668 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * trans_mgr.C: remove one case of current_view
7671
7672         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7673
7674         * paragraph_funcs.h: remove paragraph.h include
7675
7676         * paragraph.h: delete NO_STD_LIST stuff
7677
7678         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7679
7680         * buffer.h: remove paragraph.h include
7681
7682         * ParagraphList.C: delete file
7683
7684         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7685
7686         * toc.C (getTocList): adjust
7687
7688         * paragraph_pimpl.C (validate): adjust
7689
7690         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7691
7692         * paragraph.C (Paragraph): adjust
7693         (getPositionOfInset): use const_iterator, adjust
7694         (bibitem): use const_iterator, adjust
7695         (setInsetOwner): adjust
7696
7697         * iterators.C (operator++): adjust
7698
7699         * InsetList.[Ch]: Replace selfmade iterator with standard
7700         vector::iterator also introduce const_iterator. Remove getPos,
7701         getInset and setInset from InsetTable. Adjust accordingly.
7702
7703         * BufferView.C (lockInset): adjust
7704         (ChangeInsets): adjust
7705
7706         * tabular.[Ch]: delete commented same_id functions
7707
7708 2003-05-28  John Levon  <levon@movementarian.org>
7709
7710         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7711
7712 2003-05-28  André Pönitz  <poenitz@gmx.net>
7713
7714         * metricsinfo.[Ch]: remove 'fullredraw' member
7715
7716 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7717
7718         * lyxtextclass.C (operator): remove caching.
7719
7720 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * text3.C: adjust
7723
7724         * text2.C (cursorBottom): adjust
7725         (setCounter): use ParagraphList::find, adjust
7726
7727         * text.C (workWidth): use ParagraphList::find, adjust
7728
7729         * lyxcursor.C (LyXCursor): adjust
7730
7731         * buffer.C (inset_iterator): adjust
7732
7733         * ParagraphList.h: make iterator(value_type) private, make
7734         ParagraphList a friend of iterator.
7735
7736         * ParagraphList.C (find): new function
7737
7738         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7739
7740 2003-05-27  André Pönitz  <poenitz@gmx.net>
7741
7742         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7743
7744 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7745
7746         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7747
7748 2003-05-26  John Levon  <levon@movementarian.org>
7749
7750         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7751
7752 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * remove same_id from function signatures, adjust.
7755
7756 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7759
7760         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7761
7762         * paragraph.C (Paragraph): get rid of same_ids parameter
7763
7764         * ParagraphList.C (insert): adjust
7765         (push_back): adjust
7766
7767 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * paragraph_funcs.C (breakParagraph): adjust
7770         (breakParagraphConservative): adjust
7771
7772         * buffer.C (readParagraph): adjust
7773
7774         * ParagraphList.C (insert): take a reference instead of a pointer
7775         (insert): adjust
7776
7777         * paragraph.[Ch] (id): new function
7778
7779         * bufferlist.C (newFile): adjust
7780
7781         * ParagraphList.C (ParagraphList): adjust
7782         (assign): adjust
7783         (push_back): take a reference instead of a pointer.
7784
7785         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7786
7787         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7788         instead.
7789
7790         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7791         set else use old code.
7792
7793         * ParagraphList.C: remove all NO_NEXT code and only compile this
7794         code of NO_STD_LIST is set.
7795
7796 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7797
7798         * BufferView_pimpl.C:
7799         * TextCache.C:
7800         * TextCache.h:
7801         * bufferlist.C:
7802         * errorlist.h:
7803         * format.C:
7804         * format.h:
7805         * graph.C:
7806         * lyxfunc.C:
7807         * lyxrc.C:
7808         * graphics/GraphicsConverter.C:
7809         * graphics/PreviewLoader.C: header adjustment
7810
7811 2003-05-23  Angus Leeming  <leeming@lyx.org>
7812
7813         * LaTeXFeatures.[Ch] (useBabel): new method.
7814         * bufferparams.C (writeLaTeX): use it.
7815
7816 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * ParagraphList.h (set): remove unused function.
7819
7820 2003-05-23  André Pönitz  <poenitz@gmx.net>
7821
7822         * BufferView.C:
7823         * BufferView_pimpl.C:
7824         * buffer.C:
7825         * buffer.h:
7826         * lyxfunc.C:
7827         * undo_funcs.C: setUndo reworked
7828
7829         * iterators.[Ch]: add access to topmost ParagraphList
7830
7831         * lyxtext.[Ch] (workWidth): add a const
7832
7833 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7834
7835         * texrow.[Ch] (increasePos): remove function
7836         * exporter.C (export): removed unused var and outdated comment
7837
7838 2003-05-23  Angus Leeming  <leeming@lyx.org>
7839
7840         * latexrunparams.h: rename fragile as moving_arg.
7841         * paragraph.C (simpleTeXOnePar): ditto.
7842         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7843
7844 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7847         (createUndo): ditto
7848         (textUndoOrRedo): comment out a currently unused var.
7849
7850         * paragraph.h (NO_NEXT): enable NO_NEXT
7851
7852         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7853
7854         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7855
7856         * exporter.C (Export): adjust for removeAutoInsets removal.
7857
7858         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7859
7860         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7861
7862         * BufferView.[Ch] (removeAutoInsets): delete function
7863
7864 2003-05-22  Angus Leeming  <leeming@lyx.org>
7865
7866         * latexrunparams.h: add a free_spacing variable.
7867
7868         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7869         to pass moving_arg, as the data is stored in runparams.fragile.
7870
7871         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7872         to Inset::latexOptional or to simpleTeXOnePar.
7873
7874         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7875         free_spacing arg to Inset::latexOptional.
7876
7877         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7878         free_spacing arg.
7879
7880 2003-05-22  Angus Leeming  <leeming@lyx.org>
7881
7882         * latexrunparams.h: add fragile and use_babel variables.
7883
7884         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7885         * buffer.C (makeLaTeXFile): store this returned value in
7886         runparams.use_babel, thus passing it to the inset::latex methods.
7887
7888         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7889         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7890
7891         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7892         longer has a fragile arg, as it is stored in runparams.fragile.
7893
7894         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7895         moving_arg parameter as the data is stored in runparams.fragile.
7896
7897         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7898         a fragile parameter as the data is stored in runparams.fragile.
7899
7900 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7903
7904 2003-05-22  Angus Leeming  <leeming@lyx.org>
7905
7906         * latexrunparams.h: add a 'bool nice' which defaults to false.
7907
7908         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7909         now encapsulated within runparams.
7910
7911         * bufferlist.C (updateIncludedTeXfiles):
7912         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7913
7914 2003-05-22  Angus Leeming  <leeming@lyx.org>
7915
7916         * latexrunparams.h: new file containing struct LatexRunParams.
7917         * Makefile.am: add new file.
7918
7919         * LaTeX.[Ch] (c-tor, run):
7920         * buffer.[Ch] (makeLaTeXFile):
7921         * bufferlist.[Ch] (updateIncludedTeXfiles):
7922         * converter.C (convert, scanLog):
7923         * converter.[Ch] (runLaTeX):
7924         * exporter.C (Export):
7925         * paragraph.[Ch] (simpleTeXOnePar):
7926         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7927         * paragraph_funcs.[Ch] (latexParagraphs):
7928         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7929         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7930         pass around a LatexRunParams parameter.
7931
7932 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * paragraph.[Ch]: remove unused constructor
7935
7936         * ParagraphList.C (erase): new function, taking two iterators
7937
7938 2003-05-22  André Pönitz  <poenitz@gmx.net>
7939
7940         * undo_funcs.C: remove duplicated code
7941
7942         * iterator.[Ch]: operator=
7943
7944 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * tabular.C (SetMultiColumn): ws changes
7947
7948         * rowpainter.C (paintFirst): get rid of a ->previous
7949
7950         * lyx_cb.C (getPossibleLabel): parlist simplification
7951
7952         * BufferView.C (ChangeInsets): simplify slightly.
7953
7954 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7955
7956         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7957         * lfuns.h: new LFUN_SPACE
7958         * lyxfunc.C: protected space has a new lfun
7959         * paragraph_funcs.C: read new space insets
7960         * text3.C:
7961         * factory.C: handle new space insets
7962
7963 2003-05-22  André Pönitz  <poenitz@gmx.net>
7964
7965         * BufferView.C:
7966         * BufferView_pimpl.C:
7967         * buffer.[Ch]:
7968         * lyxfunc.C:
7969         * undo_funcs.C: return a ParIterator from getParFromID.
7970
7971         * iterators.[Ch]: add two const's
7972
7973 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * toc.C (getTocList): adjust
7976
7977         * iterators.[Ch]: rework for parlist
7978
7979         * buffer.C (par_iterator_begin): adjust
7980         (par_iterator_end): adjust
7981
7982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7983
7984         * BufferView.C (removeAutoInsets): adjust
7985         (ChangeInsets): adjust
7986
7987 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * text.C (top_y): fix bug 1110
7990
7991 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7992
7993         * errorlist.[Ch]: added
7994         * buffer.C:
7995         * BufferView.[Ch]:
7996         * BufferView_pimpl.C:
7997         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7998         instead
7999
8000 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * Makefile.am: ensure that lyx is relinked upon changes to the
8003         various "convenience" libs.
8004
8005 2003-05-20  Angus Leeming  <leeming@lyx.org>
8006
8007         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8008         files are compiled in alphabetical order again.
8009
8010         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8011
8012 2003-05-19  Angus Leeming  <leeming@lyx.org>
8013
8014         * gettext.[Ch]: remove "char const * _(char const *)".
8015
8016 2003-05-19  André Pönitz  <poenitz@gmx.net>
8017
8018         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8019
8020         * Makefile.am:
8021         * BufferView.C:
8022         * DepTable.h:
8023         * LaTeXFeatures.C:
8024         * buffer.C:
8025         * lyxfont.C:
8026         * lyxlex.h:
8027         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8028
8029 2003-05-19  André Pönitz  <poenitz@gmx.net>
8030
8031         * buffer.C:
8032         * lyxlayout.[Ch]:
8033         * lyxtextclass.[Ch]:
8034         * paragraph.C:
8035         * paragraph_funcs.[Ch]:
8036         * text2.C:
8037         * text3.C: more insetenv work
8038
8039 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8040
8041         * ParagraphParameters.C (params2string): small bug fixed
8042
8043 2003-05-16  André Pönitz  <poenitz@gmx.net>
8044
8045         * debug.C:
8046         * bufferview_funcs.C: patch from Kornel Benko to prevent
8047           crash when _(...) is called twice in a statement
8048
8049 2003-05-16  André Pönitz  <poenitz@gmx.net>
8050
8051         * BufferView.C:
8052         * lyxfunc.C:
8053         * text.C:
8054         * text2.C:
8055         * text3.C:
8056         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8057
8058 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8059
8060         * lyx_main.C (init): remove spurious static_cast
8061
8062 2003-05-14  André Pönitz  <poenitz@gmx.net>
8063
8064         * BufferView.C: fix format string
8065
8066 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8067
8068         * BufferView.[Ch] (insertErrors): removed
8069         * BufferView.[Ch] (showErrorList): added
8070         * buffer.C (runChkTeX):
8071         * converter.C (scanLog): call showErrorList instead of inserterrors
8072
8073 2003-05-13  André Pönitz  <poenitz@gmx.net>
8074
8075         * BufferView_pimpl.C:
8076         * buffer.C:
8077         * bufferview_func.C:
8078         * MenuBackend.C:
8079         * lyxfunc.C:
8080         * lyxrc.C:
8081         * tex-accent.C:
8082         * text3.C:
8083         * toc.C:
8084         * tabular_funcs.h: tostr() from its own header
8085
8086         * ParagraphParameters.C:
8087         * ToolbarBackend.C:
8088         * bufferparams.C:
8089         * format.C:
8090         * lyxlex_pimpl.C:
8091         * text3.C: STRCONV()
8092
8093 2003-05-12  André Pönitz  <poenitz@gmx.net>
8094
8095         * BufferView.C:
8096         * BufferView_pimpl.C:
8097         * CutAndPaste.C:
8098         * LaTeX.C:
8099         * LaTeXFeatures.C:
8100         * ParagraphParameters.C:
8101         * buffer.C:
8102         * bufferlist.C:
8103         * bufferparams.C:
8104         * bufferview_funcs.C:
8105         * converter.C:
8106         * counters.C:
8107         * debug.C:
8108         * exporter.C:
8109         * format.C:
8110         * importer.C:
8111         * lyx_cb.C:
8112         * lyx_main.C:
8113         * lyxfont.C:
8114         * lyxfunc.C:
8115         * lyxvc.C:
8116         * paragraph.C:
8117         * paragraph_funcs.C:
8118         * tabular.C:
8119         * tabular_funcs.C:
8120         * text2.C:
8121         * text3.C:  boost::format -> bformat  all over the place
8122
8123
8124 2003-05-09  André Pönitz  <poenitz@gmx.net>
8125
8126         * LColor.[Ch]: Pimpl the #include <map> away
8127
8128 2003-05-09  John Levon  <levon@movementarian.org>
8129
8130         * bufferlist.C: never remove emergency saves
8131
8132 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * Makefile.am: better lib building
8135
8136 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8139         instead.
8140         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8141         (simpleTeXSpecialChars): adjust
8142         (simpleTeXSpecialChars): adjust
8143         * paragraph.C (simpleTeXOnePar): adjust
8144         * buffer.C (makeLaTeXFile): adjust
8145
8146         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8147
8148         * text2.C (changeDepth): parlist cleanup
8149         (getColumnNearX): ditto
8150
8151         * rowpainter.C (getLabelFont): parlist cleanup
8152
8153         * bufferlist.C (newFile): parlist cleanup
8154
8155         * CutAndPaste.C (eraseSelection): parlist cleanup
8156
8157         * BufferView_pimpl.C (trackChanges): parlist cleanup
8158         (dispatch): ditto
8159
8160         * BufferView.C (lockInset): parlist cleanup.
8161         (ChangeInsets): ditto
8162
8163 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * CutAndPaste.h: Update file header.
8166
8167         * CutAndPaste.C: Update file header.
8168         Store the parts cut out of the Document in a limited_stack.
8169         (copySelection): adjust
8170         (pasteSelection): new function, takes the index in the limited stack.
8171         (nrOfParagraphs): adjust
8172         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8173         simplify error inset insertion.
8174         (checkPastePossible): adjust
8175
8176 2003-05-06  John Levon  <levon@movementarian.org>
8177
8178         * text2.C: don't cast wrap inset to float
8179
8180 2003-05-05  André Pönitz  <poenitz@gmx.net>
8181
8182         * iterator.C:
8183         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8184
8185         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8186           few naked Paragraph *.
8187
8188 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8189
8190         * bufferparams.C: Output warning if a document with missing
8191         TeX document class is loaded
8192         * exporter.C: Disable TeX exports if the document class is missing
8193         * lyxtextclass.C:
8194         * lyxtextclass.h:
8195         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8196         isTeXClassAvailable()
8197
8198 2003-05-03  John Levon  <levon@movementarian.org>
8199
8200         * BufferView.h:
8201         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8202         explicit cursor show/hide
8203
8204         * BufferView_pimpl.h:
8205         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8206         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8207
8208         * lyxfunc.C: hide cursor before dispatching.
8209
8210         * lyx_cb.C:
8211         * lyxfind.C:
8212         * text.C:
8213         * text3.C: remove explicit cursor hides
8214
8215 2003-05-02  André Pönitz  <poenitz@gmx.net>
8216
8217         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8218
8219         * undo_funcs.C:
8220         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8221           linked lists
8222
8223         * text2.C: tiny whitespace
8224
8225 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * undo_funcs.C: almost only ws changes.
8228
8229         * ParagraphList.C (splice): just return if pl is empty.
8230
8231 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * ParagraphList.C (splice): new function.
8234
8235         * CutAndPaste.C (pasteSelection): use it
8236
8237 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * CutAndPaste.C (pasteSelection): remove the last next and
8240         previous from this file.
8241
8242 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8243
8244         * CutAndPaste.C (pasteSelection): more clean up, user proper
8245         ParagraphList functions for pasteing.
8246
8247         * ParagraphList.C (insert): new function, three arg insert
8248
8249 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * ParagraphList.C (insert): new function, three arg insert
8252
8253         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8254         not on paragraphs.
8255
8256 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8259
8260 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8261
8262         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8263
8264 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8267         (copySelection): clean up a bit.
8268         (pasteSelection): use make_pair
8269
8270         * ParagraphList.C (ParagraphList): implement copy constructor
8271         (operator=): implement, base on copy constructor.
8272         (assign): new func
8273
8274         * paragraph.C (erase): return a bool
8275
8276         * paragraph_pimpl.C (erasePos): remove function, move contents...
8277         (erase): ... here. Return a bool.
8278         (erase): call erase instead of erasePos.
8279
8280 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8281
8282         * ParagraphList.h: define PitPosPair
8283         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8284         ParagraphList, fix a bug on pasting multiple pars
8285         * text2.C: change interface to C&P
8286
8287 2003-04-30  André Pönitz  <poenitz@gmx.net>
8288
8289         * undo_func.C: revert part of yesterday's patch 2
8290
8291 2003-04-30  John Levon  <levon@movementarian.org>
8292
8293         * LColor.C: s/tabular/table/
8294
8295 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8296
8297         * text3.C (dispatch): do not convert iterator -> pointer
8298         * undo_funcs.C (setCursorParUndo): ditto
8299         * text_funcs.C (transposeChars): ditto
8300
8301         * text2.C (setLayout): ws changes only
8302
8303         * text.C (breakParagraph): do not convert iterator -> pointer
8304         (insertChar): ditto
8305         (acceptChange): ditto
8306         (rejectChange): ditto
8307         (changeCase): ditto
8308         (Delete): ditto
8309         (backspace): ditto
8310
8311         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8312         pointer
8313
8314 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8315
8316         * text3.C (gotoInset): YABG (yet another bad getChar)
8317
8318 2003-04-29  André Pönitz  <poenitz@gmx.net>
8319
8320         * paragraph.h: make operator= private unimplemented as long as
8321           it is unusable
8322
8323         * ParagraphList.C: whitespace
8324
8325         * paragraph.[Ch]:
8326         * paragraph_pimpl.[Ch]:
8327         * paragraph_funcs.C:
8328         * CutAndPaste.C:
8329         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8330
8331         * text2.C:
8332           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8333
8334 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8335
8336         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8337         * paragraph.[Ch] (erase):
8338         * paragraph_pimpl.[Ch] (erase): change return type and value
8339         * text2.C (cutSelection): some rework
8340
8341 2003-04-28  John Levon  <levon@movementarian.org>
8342
8343         * bufferlist.C: changes for unsaved changes dialog
8344
8345 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * bufferlist.C (newFile): set language (messages_) for new
8348         documents also.
8349
8350         * buffer.C (readFile): ws changes only.
8351
8352 2003-04-28  André Pönitz  <poenitz@gmx.net>
8353
8354         * undo_funcs.C:
8355         * lyxfunc.C:
8356         * buffer.[Ch]:
8357         * BufferView_pimpl.C:
8358         * BufferView.C: getParFromID related ParagraphList::iterator changes
8359
8360 2003-04-28  André Pönitz  <poenitz@gmx.net>
8361
8362         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8363           Changes
8364
8365 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * messages.C: remove one more localedir class variable.
8368
8369 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * messages.C (getLocaleDir): singleton generation function
8372         (Pimpl): use it.
8373         (Messages): add a default constructor.
8374
8375         * main.C (main): do not setup localedir here, do not call
8376         gettext_init.
8377
8378         * gettext.C (_): use it.
8379         (gettext_init): delete funciton
8380
8381 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * gettext.C (getLyXMessages): new singleton generating function.
8384
8385         * buffer.C (updateDocLang): adjust
8386
8387         * Makefile.am (messages.o): add target
8388         (main.o): remove target
8389
8390 2003-04-27  John Levon  <levon@movementarian.org>
8391
8392         * bufferlist.C:
8393         * lyx_cb.C:
8394         * lyxfunc.C:
8395         * lyxvc.C: specify cancel button in Alert::prompt
8396
8397 2003-04-26  John Levon  <levon@movementarian.org>
8398
8399         * text3.C:
8400         * lyxfunc.C:
8401         * lfuns.h:
8402         * LyXAction.C: add LFUN_INSET_SETTINGS
8403
8404         * lyxfunc.C: don't enable tabular-feature when there's
8405         just any locking inset
8406
8407 2003-04-26  John Levon  <levon@movementarian.org>
8408
8409         * bufferlist.C: re-add Cancel to buffer close question
8410
8411         * lyxfunc.C: fix import UI a bit
8412
8413 2003-04-25  John Levon  <levon@movementarian.org>
8414
8415         * gettext.C: remove the broken asserts for now
8416
8417 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8418
8419         * messages.C: make case where setlocale cannot comply work better.
8420
8421         * buffer.C (updateDocLang): new function
8422         (changeLanguage): use it
8423         (readFile): use it
8424
8425         * text2.C (setCounter): use B_ a bit.
8426
8427         * lyxlayout.C (Read): be sure to trim the label strings.
8428
8429         * messages.C (Messages): fix typo in comment
8430
8431         * buffer.C (readFile): set message_ after file is loaded.
8432         (makeDocBookFile): remove double return
8433         (changeLanguage): reset message_ upon language change.
8434         (B_): new func, use this to get translated buffer strings.
8435
8436         * main.C: add myself and Jean Marc as authors.
8437
8438 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * messages.[hC]: pimplify Messages, and three different pimpls to be
8441         used in different circumstances.
8442
8443         * gettext.[Ch]: change for use with new message code.
8444
8445 2003-04-24 André Pönitz <poenitz@gmx.net>
8446
8447         * factory.C: support for eqref
8448
8449 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8450
8451         * messages.[Ch]: add missing char
8452
8453         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8454
8455         * messages.[Ch]: New files
8456
8457 2003-04-18  John Levon  <levon@movementarian.org>
8458
8459         * BufferView.h:
8460         * BufferView.C:
8461         * BufferView_pimpl.C:
8462         * lfuns.h:
8463         * LyXAction.C:
8464         * lyxtext.h:
8465         * text2.C: remove layout-copy/paste (bug 778)
8466
8467 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8468
8469         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8470
8471 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8472
8473         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8474         if they succeed. Act accordingly.
8475
8476 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * text2.C (setCharFont): adjust
8479         (setCounter): adjust
8480         (insertStringAsLines): adjust
8481
8482         * text.C (leftMargin): adjust
8483         (setHeightOfRow): adjust
8484
8485         * rowpainter.C (paintFirst): adjust
8486         (paintLast): adjust
8487
8488         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8489         (outerHook): ditto
8490         (isFirstInSequence): ditto
8491         (getEndLabel): ditto
8492         (outerFont): adjust
8493
8494         * paragraph.C (getParLanguage): comment out some hard stuff.
8495
8496         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8497         (sgmlError): ditto
8498         (simpleDocBookOnePar): ditto
8499         (makeDocBookFile): use ParagraphList::iterator
8500
8501         * CutAndPaste.C (pasteSelection): adjust
8502
8503 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8504
8505         * text2.C (getFont): adjust
8506         (getLayoutFont): adjust
8507         (getLabelFont): adjust
8508
8509         * paragraph_funcs.C (TeXOnePar): adjust
8510
8511         * buffer.C (simpleLinuxDocOnePar): adjust
8512         (simpleDocBookOnePar): adjust
8513
8514         * CutAndPaste.C (pasteSelection): adjust
8515
8516         * BufferView.C (getEncoding): adjust
8517
8518         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8519
8520 2003-04-16  John Levon  <levon@movementarian.org>
8521
8522         * lyxfind.C: use parlist stuff for search/changes
8523
8524 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8527
8528         * text2.C (deleteEmptyParagraphMechanism): adjust
8529
8530         * text2.[Ch] (ownerParagraph): delete func (both of them
8531
8532 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8535
8536 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * ParagraphList.C: prepare for NO_NEXT
8539
8540 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * text2.C (getFont): adjust
8543         (getLayoutFont): adjust
8544         (getLabelFont): adjust
8545
8546         * paragraph.C (getFont): adjust
8547         (getLabelFont): adjust
8548         (getLayoutFont): adjust
8549
8550         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8551
8552 2003-04-15  John Levon  <levon@movementarian.org>
8553
8554         From Angus Leeming
8555
8556         * lyx_main.C: handle Include in .ui files
8557
8558 2003-04-15  John Levon  <levon@movementarian.org>
8559
8560         * MenuBackend.C: make the doc files length shorter
8561
8562         * ToolbarBackend.h:
8563         * ToolbarBackend.C: handle toolbar placement flags,
8564         Minibuffer
8565
8566 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8569         adjust
8570
8571         * paragraph_funcs.C (TeXOnePar): adjust
8572
8573         * paragraph.C (getLabelFont): add outerfont arg, adjust
8574         (getLayoutFont): ditto
8575         (simpleTeXOnePar): adjust
8576
8577         * paragraph_pimpl.C (realizeFont): delete func
8578
8579 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8580
8581         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8582         row argument, constify cur argument.
8583
8584 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * text2.C (getFont): adjust
8587         (getLayoutFont): adjust
8588         (getLabelFont): adjust
8589
8590         * paragraph_funcs.C (TeXOnePar): adjust
8591         (outerFont): new func...
8592         (realizeFont): ...moved out from here, changed this to facilitate
8593         transition
8594
8595         * paragraph.C (getFont): take outerfont as arg, adjust
8596         (simpleTeXOnePar): add outerfont arg, adjust
8597
8598         * buffer.C (simpleLinuxDocOnePar): adjust
8599         (simpleDocBookOnePar): adjust
8600
8601         * CutAndPaste.C (pasteSelection): adjust
8602
8603         * BufferView.C (getEncoding): adjust
8604
8605 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8606
8607         * text2.C (setCharFont): adjust
8608         (setCounter): adjust
8609
8610         * text.C (leftMargin): adjust
8611         (setHeightOfRow): adjust
8612
8613         * rowpainter.C (paintFirst): adjust
8614         (paintLast): adjust
8615
8616         * paragraph_pimpl.C (realizeFont): adjust
8617
8618         * paragraph.C (isFirstInSequence): move from here...
8619         * paragraph_funcs.C (isFirstInSequence): ...to here
8620
8621         * paragraph.C (outerHook): move from here...
8622         * paragraph_funcs.C (outerHook): ...to here
8623
8624         * paragraph.C (depthHook): move from here...
8625         * paragraph_funcs.C (depthHook): ...to here
8626
8627         * paragraph.C (getEndLabel): move from here...
8628         * paragraph_funcs.C (getEndLabel): ...to here
8629
8630         * text2.C (realizeFont): move from here...
8631         * paragraph_funcs.C (realizeFont): ...to here
8632
8633 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8634
8635         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8636
8637 2003-04-14  Angus Leeming  <leeming@lyx.org>
8638
8639         * LColor.[Ch]: scrap LColor mathcursor.
8640
8641 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * lyxlex.[Ch] (text): delete function
8644         * trans.C (Load): adjust
8645         * paragraph_funcs.C (readParToken): adjust
8646
8647 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8648
8649         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8650         vector<char> instead of a char[].
8651
8652         * lyxlex_pimpl.C (getString): adjust
8653         (next): adjust
8654         (lex): use getString
8655         (eatLine): adjust
8656         (nextToken): adjust
8657
8658         * lyxlex.C (text): use pimpl_->getString()
8659         (getBool): ditto
8660         (findToken): ditto
8661
8662 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8665         (makeFontEntriesLayoutSpecific): temp var for par.size()
8666         (setLayout): temp var for ownerParagraphs().end()
8667         (fullRebreak): temp var for rows().end()
8668         (selectionAsString): temp var for boost::next(startpit), realize
8669         that the while really is a regular for loop.
8670         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8671         setCursor in one place.
8672         (setParagraph): temp vr for ownerParagraphs().end()
8673         (updateCounters): make the while loop a for loop
8674         (cutSelection): temp var for ownerParagraphs().end()
8675         (updateInset): make the do {} while() a regular for loop
8676         (getCursorX): use temp vars
8677         (setCurrentFont): use temp vars
8678         (getColumnNearX): use temp vars
8679
8680 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * text.C (transformChar): use temp var for getChar
8683         (computeBidiTables): use temp var for row->par()
8684         (fill): move temp vars for row->par() and pit->layout() earlier in
8685         the function.
8686         (labelFill): use temp var for row->par()
8687         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8688         asc and desc, realize that pit never changes and that firstpit is
8689         just a duplicate and not needed. Exchange rit->par() with pit in a
8690         lot of places.
8691         (breakAgain): use a temp var for boost::next(rit)
8692         (breakAgainOneRow): ditto
8693         (breakParagraph): use a temp var for rows().begin()
8694         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8695         (cursorRightOneWord): use temp var for cursor.par() and
8696         cursor.pos(), remove usage of tmpcursor.
8697         (cursorLeftOneWord): use temp var for cursor.par() and
8698         cursor.pos() only set cur at end of function.
8699
8700 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * text.C, text2.C: exchange all usage of Paragraph::next with
8703         boost::next(ParagraphList::iterator)
8704
8705         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8706
8707         * text2.C (cursorTop): simplify implementation
8708         (cursorBottom): ditto
8709         (setParagraph): use ParagraphList::iterator
8710         (setCurrentFont): adjust
8711         (getColumnNearX): adjust
8712         (cursorRight): adjust
8713         (cursorLeft): remove usage of Paragraph::previous
8714         (cursorUpParagraph): ditto
8715         (deleteEmptyParagraphMechanism): slight cleanup
8716
8717         * text.C (isBoundary): take a Paragraph const & instead of a
8718         pointer as arg.
8719         (addressBreakPoint): ditto
8720         (leftMargin): remove usage of Paragraph::previous.
8721         (setHeightOfRow): ditto
8722         (cursorLeftOneWord): ditto
8723         (selectNextWordToSpellcheck): ditto
8724         (Delete): ditto
8725         (backspace): ditto
8726         (breakParagraph): remove one usage of Paragraph::next
8727         (redoParagraph): ditto
8728         (acceptChange): ditto
8729         (insertChar): adjust
8730         (rowBreakPoint): adjust
8731
8732         * bufferview_funcs.C (toggleAndShow): adjust
8733
8734 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8735
8736         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8737         methods to access it.
8738         * lyxtext.h:
8739         * text.C: Added updateRowPositions to compute all row positions.
8740         Make top_y and getRowNearY() to use the cached y position
8741
8742 2003-04-11  John Levon  <levon@movementarian.org>
8743
8744         * text.C (rowBreakPoint): reintroduce the labelEnd
8745         checks, code copied from the row fill stuff. Deep voodoo.
8746
8747         * text.C (fill): add a comment and debugging for the
8748         next poor soul.
8749
8750 2003-04-11  John Levon  <levon@movementarian.org>
8751
8752         * text.C: make sure fullrow insets get wrapped to the next line,
8753         even when they're in a manual label
8754
8755 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * text2.C (insertParagraph): make it take ParagraphList::iterator
8758         as arg.
8759         (setLayout): make it return ParagraphList::iterator
8760         (redoParagraphs): ditto
8761         (setCounter): ditto
8762         (checkParagraph): ditto
8763
8764         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8765
8766         * text2.C: adjust several funcs.
8767         (realizeFont): take a ParagraphList::iterator as arg.
8768         (getLayoutFont): ditto
8769         (getLabelFont): ditto
8770         (setCharFont): ditto
8771
8772         * text.C: adjust several funcs.
8773
8774 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8775
8776         * text.C (selectNextWordToSpellcheck): don't accidentally
8777         skip insets
8778
8779 2003-04-10  John Levon  <levon@movementarian.org>
8780
8781         * ToolbarBackend.C (getIcon): special handling for
8782         LFUN_MATH_DELIM
8783
8784 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8785
8786         * text2.C (cursorRight): a getChar assert fixed
8787
8788 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * text2.C (getFont): change to take a ParagraphList::iterator
8791         instead of Paragraph*
8792         Adjust several functions.
8793
8794         * text.C (transformChar): change to take a ParagraphList::iterator
8795         instead of Paragraph*
8796         (singleWidth): ditto
8797         Adjust several functions.
8798
8799         * rowpainter.C: adjust several functions
8800         * rowpainter.h:store a ParagraphList::iterator and not a
8801         Paragraph&.
8802
8803
8804 2003-04-09  John Levon  <levon@movementarian.org>
8805
8806         * lyxfunc.C:
8807         * lfuns.h:
8808         * LyXAction.h:
8809         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8810         and the "help" bits as well
8811
8812 2003-04-09  John Levon  <levon@movementarian.org>
8813
8814         * ToolbarBackend.h:
8815         * ToolbarBackend.C: allow multiple toolbars
8816
8817 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8818
8819         * undo_funcs.C (setCursorParUndo): adjust
8820
8821         * text_funcs.C (transposeChars): adjust
8822
8823         * text3.C (gotoNextInset): adjust
8824         (dispatch): adjust
8825
8826         * text2.C (setLayout): adjust
8827         (changeDepth): adjust
8828         (setFont): adjust
8829         (redoParagraphs): adjust
8830         (selectionAsString): adjust
8831         (setParagraph): adjust
8832         (insertInset): adjust
8833         (cutSelection): adjust
8834         (copySelection): adjust
8835         (pasteSelection): adjust
8836         (insertStringAsLines): adjust
8837         (updateInset): adjust
8838         (setCursor): change to take a ParagraphList::iterator parameter
8839         (setCursorIntern): change to take a ParagraphList::iterator parameter
8840         (setCurrentFont): adjust
8841         (cursorLeft): adjust
8842         (cursorRight): adjust
8843         (deleteEmptyParagraphMechanism): adjust
8844
8845         * text.C (breakParagraph): adjust
8846         (insertChar): adjust
8847         (acceptChange): adjust
8848         (rejectChange): adjust
8849         (selectNextWordToSpellcheck): adjust
8850         (changeCase): adjust
8851         (Delete): adjust
8852         (backspace): adjust
8853
8854         * lyxfind.C (SearchForward): adjust
8855         (SearchBackward): adjust
8856         (nextChange): adjust
8857
8858         * lyxcursor.C (par): adjust
8859
8860         * lyxcursor.h: store a ParagraphList::iterator instead of a
8861         Paragraph*
8862
8863         * lyx_cb.C (getPossibleLabel): adjust
8864
8865         * bufferview_funcs.C (toggleAndShow): adjust
8866
8867         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8868         (dispatch): adjust
8869
8870         * BufferView.C (removeAutoInsets): adjust
8871         (lockedInsetStoreUndo): adjust
8872
8873 2003-04-09  John Levon  <levon@movementarian.org>
8874
8875         * ToolbarBackend.C: try icon without argument
8876         if with argument fails
8877
8878 2003-04-08  John Levon  <levon@movementarian.org>
8879
8880         * ToolbarBackend.h:
8881         * ToolbarBackend.C: add getIcon(), handle tooltip,
8882         and change from "Icon" to "Item".
8883
8884 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8885
8886         * BufferView.C (lockInset): another bad getchar crunched
8887
8888 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8889
8890         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8891         again)
8892
8893 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8894
8895         * lyxfind.C (searchForward, searchBackwards): bug 782
8896
8897 2003-04-07  John Levon  <levon@movementarian.org>
8898
8899         * paragraph.C: remove dead comment
8900
8901         * text.C: remove troublesome depth-fiddling code
8902         in leftMargin() and rightMargin() (bug 1017)
8903
8904         * text.C: fix breaking of rows in nested lists
8905         (bug 1004)
8906
8907         * text2.C (updateCounters): fix up depth values
8908         (bug 1013)
8909
8910 2003-04-07  John Levon  <levon@movementarian.org>
8911
8912         * BufferView_pimpl.C: clear message when doc finishes resizing,
8913         and after a mouse event
8914
8915         * lyxfunc.C: clear message after exiting inset
8916
8917 2003-04-07  John Levon  <levon@movementarian.org>
8918
8919         * bufferview_funcs.C: show math status not outside
8920         status in the statusbar
8921
8922 2003-04-07  John Levon  <levon@movementarian.org>
8923
8924         * lyxfunc.C: note status changed after a depth change
8925
8926 2003-04-04  Angus Leeming  <leeming@lyx.org>
8927
8928         * LaTeX.h: move AuxInfo operator==, != out of line.
8929         Remove LaTeX virtual destructor; nothing derives from it.
8930         Move operator()() out of public area and rename it startscript().
8931         Change protected for private.
8932
8933 2003-04-04  Angus Leeming  <leeming@lyx.org>
8934
8935         * lyxfunc.C:
8936         * text2.C: remove unneeded #includes.
8937
8938 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8939
8940         * text2.C (dEPM): fix the heigth of the next row
8941
8942 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8943
8944         * text.C: squashed an invalid getChar requester + some ws changes
8945
8946 2003-04-03  John Levon  <levon@movementarian.org>
8947
8948         * bufferview_funcs.h:
8949         * bufferview_funcs.C:
8950         * lyxfunc.C:
8951         * lyxtext.h:
8952         * text2.C: make getStatus work for the env depth lfuns
8953
8954 2003-04-03  John Levon  <levon@movementarian.org>
8955
8956         * bufferview_funcs.h:
8957         * bufferview_funcs.C:
8958         * lyxfunc.C:
8959         * lyxtext.h:
8960         * text2.C: parlistize decDepth(), by merging it with incDepth()
8961
8962 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8963
8964         * lyxrow.h: store a ParagraphList::iterator instead of a
8965         Paragraph* and adjust other class functions to suit.
8966
8967         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8968         above.
8969
8970 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8971
8972         * text2.C (setCursor): do not anchor to cursor row for the time being
8973
8974 2003-04-02  John Levon  <levon@movementarian.org>
8975
8976         * LyXAction.C:
8977         * lfuns.h:
8978         * lyx_main.C:
8979         * lyxtext.h:
8980         * text.C:
8981         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8982
8983 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8984
8985         * paragraph.h: make ParagraphList and ParagraphList::iterator
8986         friends of Paragraph.
8987
8988         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8989
8990         * ParagraphList.C: Use the private next_ and previous_ from
8991         Paragraph.
8992
8993 2003-04-01  John Levon  <levon@movementarian.org>
8994
8995         * ToolbarBackend.h:
8996         * ToolbarBackend.C:
8997         * Makefile.am: rename, remove defaults gunk
8998
8999         * MenuBackend.h:
9000         * MenuBackend.C: remove defaults gunk
9001
9002         * Languages.h:
9003         * Languages.C: remove defaults gunk
9004
9005         * lyx_main.h:
9006         * lyx_main.C: error out if files couldn't be found.
9007
9008 2003-04-02  John Levon  <levon@movementarian.org>
9009
9010         * text2.C: make incDepth() use parlist
9011
9012 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9013
9014         * undo_funcs.C (firstUndoParagraph): adjust
9015
9016         * text3.C (gotoInset): adjust
9017         (dispatch): adjust, and rewrite loop.
9018
9019         * text2.C (init): adjust, and rewrite loop.
9020         (redoParagraphs): adjust
9021         (updateInset): adjust, and rewrite loop.
9022         (deleteEmptyParagraphMechanism): adjust
9023
9024         * tabular.C (LyXTabular): adjust
9025         (SetMultiColumn): adjust
9026         (TeXRow): adjust
9027
9028         * lyxtext.[Ch] (ownerParagraph): delete function
9029         (ownerParagraphs): new function returns a ParagraphList.
9030
9031         * BufferView.C (removeAutoInsets): adjust
9032         (insertErrors): adjust
9033         (setCursorFromRow): adjust
9034
9035 2003-04-01  Angus Leeming  <leeming@lyx.org>
9036
9037         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9038         in the frontends.
9039
9040 2003-04-02  John Levon  <levon@movementarian.org>
9041
9042         * lyxtext.h:
9043         * text.C:
9044         * Makefile.am:
9045         * text_funcs.h:
9046         * text_funcs.C: make transposeChars a free function
9047
9048         * lyxrow_funcs.C: remove wrong comment
9049
9050 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9051
9052         * lyxtext.h: adjust
9053         * rowpainter.C: adjust
9054         * text.C: adjust
9055         * text2.C: adjust
9056         * text3.C: adjust
9057
9058         * lyxrow_funcs. [Ch]: new files
9059
9060         * lyxrow.[Ch]: remove next and previous pointers
9061         (next,previous): remove accessor functions
9062         (isParEnd): move to lyxrow_funcs
9063         (lastPos): move to lyxrow_funcs
9064         (nextRowIsAllInset): move to lyxrow_funcs
9065         (lastPrintablePos): move to lyxrow_funcs
9066         (numberOfSeparators): move to lyxrow_funcs
9067         (numberOfHfills): move to lyxrow_funcs
9068         (numberOfLabelHfills): move to lyxrow_funcs
9069         (hfillExpansion): move to lyxrow_funcs
9070
9071         * lyxfunc.C: adjust
9072
9073         * bufferview_funcs.C (toggleAndShow): adjust
9074
9075         * RowList.h: Remove class RowList from file leave just a
9076         std::list<Row>.
9077
9078         * RowList.C: delete file
9079
9080         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9081         and lyxrow_funcs.h
9082
9083 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9084
9085         * text3.C (cursorPrevious): adjust
9086         (cursorNext): adjust
9087         (dispatch): adjust
9088
9089         * text2.C (redoHeightOfParagraph): adjust
9090         (redoDrawingOfParagraph): adjust
9091         (setCursor): adjust
9092
9093         * text.C (breakParagraph): adjust
9094         (insertChar): adjust
9095         (backspace): adjust
9096
9097         * rowpainter.C (RowPainter): adjust
9098         (leftMargin): simplify and adjust
9099         (most rowpainter functions): adjust.
9100
9101         * rowpainter.h: store the row as RowList::iterator not as Row*
9102
9103         * lyxcursor.C (row): taka RowList::iterator as arg
9104         (irow): ditto
9105
9106         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9107         of Row*.
9108
9109 2003-04-01  Angus Leeming  <leeming@lyx.org>
9110
9111         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9112         stuff like bool Bool.
9113
9114 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9115
9116         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9117         rewrite a loop
9118
9119 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9120
9121         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9122         RowList::iterator.
9123
9124         * lyxtext.h (rows): drop one version and leve a const variant that
9125         returns a RowList::iterator.
9126
9127 2003-03-31  Angus Leeming  <leeming@lyx.org>
9128
9129         * text.C (fill): ensure that the signature is the same as that in the
9130         header file.
9131
9132 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9133
9134         * text2.C (redoParagraphs): adjust
9135         (updateCounters): adjust
9136         (checkParagraph): adjust
9137         (getColumnNearX): adjust and reformat a bit.
9138
9139         * text.C (top_y): adjust
9140         (workWidth): adjust
9141         (leftMargin): adjust
9142         (prepareToPrint): adjust
9143         (getRow): adjust
9144         (getRowNearY): adjust
9145
9146         * lyxtext.h: make rowlist_ mutable.
9147
9148         * RowList.h: add const_iterator
9149         * RowList.C: adjust for RowList::const_iterator.
9150
9151         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9152         adjust.
9153
9154 2003-03-31  John Levon  <levon@movementarian.org>
9155
9156         * lyxrc.h:
9157         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9158
9159         * lyx_main.C: set default fonts from using lyx_gui funcs
9160
9161         * exporter.C: pdf_mode moved from lyxrc
9162
9163         * lyx_cb.C:
9164         * lyxfunc.C: changes from above
9165
9166 2003-03-31  John Levon  <levon@movementarian.org>
9167
9168         * lyx_main.C: fix to the last fix
9169
9170 2003-03-31  John Levon  <levon@movementarian.org>
9171
9172         * bufferlist.C: "Load original" -> "Load Original"
9173
9174         * converter.C:
9175         * exporter.C:
9176         * importer.C:
9177         * lyx_main.C:
9178         * format.C: more Alert cleanups
9179
9180 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9181
9182         * text2.C (removeParagraph): make it take a RowList::iterator as
9183         arg, adjust.
9184         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9185         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9186
9187         * text.C (anchor_row): make it take a RowList::iterator as arg,
9188         adjust.
9189         (computeBidiTables): make it take a const reference to Row instead
9190         of Row pointer, adjust.
9191         (leftMargin): make it take a RowList::iterator as arg, adjust.
9192         (rowBreakPoint): adjust
9193         (breakAgainOneRow): make it take a RowList::iterator as arg,
9194         adjust.
9195         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9196
9197         * bufferview_funcs.C (toggleAndShow): adjust
9198
9199 2003-03-30  John Levon  <levon@movementarian.org>
9200
9201         * Makefile.am:
9202         * BoostFormat.h:
9203         * boost-inst.C: moved to support
9204
9205         * several files: changes as a result
9206
9207 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * text2.C (LyXText): adjust.
9210         (init): adjust
9211         (removeRow): make it take a RowList::iterator as arg, adjust.
9212         (fullRebreak): adjust
9213         (deleteEmptyParagraphMechanism): adjust
9214         (clearPaint): adjust
9215         (postPaint): adjust
9216
9217         * text.C (top_y): adjust
9218         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9219         (breakAgain): make it take a RowList::iterator as arg, adjust.
9220         (breakParagraph): adjust
9221         (insertChar): adjust
9222         (backspace): adjust
9223
9224         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9225         need_break_row, and refresh_row.
9226
9227         * text3.C (dispatch): adjust
9228
9229         * text2.C (checkParagraph): adjust
9230         (setCursor): adjust
9231         (setCursorFromCoordinates): adjust
9232
9233         * text.C (top_y): adjust
9234         (workWidth): adjust
9235         (getRow): make it return a RowList::iterator, adjust
9236         (getRowNearY): make it return a RowList::iterator, adjust
9237
9238         * text2.C (init): adjust
9239         (insertRow): remove function
9240         (insertParagraph): adjust
9241         (redoParagraphs): adjust
9242         (fullRebreak): adjust
9243         (updateCounters): adjust
9244
9245         * text.C (top_y): rewrite to use RowList iterators.
9246         (top_y): adjust
9247         (setHeightOfRow): rewrite to sue RowList iterators.
9248         (appendParagraph): adjust
9249         (breakAgain): adjust
9250         (breakAgainOneRow): adjust
9251         (breakParagraph): adjust
9252         (getRow): adjust
9253         (getRowNearY): adjust, and remove commented code.
9254
9255         * lyxtext.h (firstRow): delete function
9256         (lastRow): delete function
9257         (rows): new function (const and non-const versions.)
9258         (insertRow): delete function
9259
9260         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9261
9262 2003-03-29  John Levon  <levon@movementarian.org>
9263
9264         * BufferView_pimpl.C: always update scrollbar top
9265         because pasting text when we're anchored could mean we
9266         miss an update altogether
9267
9268 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9269
9270         * text2.C (init): use rowlist_.end() and not 0.
9271         (insertRow): change to take a RowList::iterator as arg, adjust
9272         for this.
9273         (insertParagraph): change to take a RowList::iterator as arg,
9274         adjust for this.
9275         (redoParagraphs): remove some debug msgs.
9276
9277         * text.C (appendParagraph): change to take a RowList::iterator
9278         arg, adjust for this.
9279         (breakAgain): add an assert
9280         (breakAgainOneRow): ditto
9281
9282 2003-03-29  John Levon  <levon@movementarian.org>
9283
9284         * text2.C: do not clear selection after inc/decDepth
9285         (bug 550)
9286
9287 2003-03-29  John Levon  <levon@movementarian.org>
9288
9289         * BufferView.C:
9290         * buffer.C: fix broken strerrors according to Lars
9291
9292 2003-03-29  John Levon  <levon@movementarian.org>
9293
9294         * converters.C: more Alert cleanups
9295
9296 2003-03-29  John Levon  <levon@movementarian.org>
9297
9298         * bufferview_funcs.C: remove pointless Alert
9299
9300         * buffer.C: fix confusing error message when
9301         a template is chmoded 000
9302
9303 2003-03-29  John Levon  <levon@movementarian.org>
9304
9305         * BufferView.C:
9306         * BufferView.h:
9307         * BufferView_pimpl.C: Alert fixes
9308
9309         * Makefile.am:
9310         * tabular.C:
9311         * tabular-old.C: remove unused table compat reading
9312
9313 2003-03-29  John Levon  <levon@movementarian.org>
9314
9315         * BufferView.C:
9316         * buffer.C:
9317         * lyx_cb.h:
9318         * lyx_cb.C: more Alert cleanups
9319
9320         * lyxfunc.C: don't allow chktex if not latex document
9321
9322 2003-03-29  John Levon  <levon@movementarian.org>
9323
9324         * lyx_cb.C:
9325         * BufferView.C:
9326         * buffer.C: warnings pushed down from support/,
9327         kill err_alert
9328
9329 2003-03-29  John Levon  <levon@movementarian.org>
9330
9331         * lyxfunc.C: safety check for C-r (revert)
9332
9333 2003-03-29  John Levon  <levon@movementarian.org>
9334
9335         * bufferlist.h:
9336         * bufferlist.C: several UI fixes using Alert::prompt.
9337         Fix the pointless looping quit code. Fix stupid revert
9338         behaviour (bug 938)
9339
9340         * lyxvc.h:
9341         * lyxvc.C:
9342         * lyx_cb.C: use Alert::prompt
9343
9344         * lyx_main.C: remove a silly question
9345
9346         * lyxfunc.C: remove a couple of silly questions,
9347         use Alert::prompt
9348
9349 2003-03-28  John Levon  <levon@movementarian.org>
9350
9351         * text2.C: fix bug 974 (End on empty par)
9352
9353 2003-03-28  John Levon  <levon@movementarian.org>
9354
9355         * BufferView_pimpl.C:
9356         * LyXAction.C:
9357         * lfuns.h: remove do-nothing math greek lfuns
9358
9359 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9360
9361         * lyxgluelength.h (isValidGlueLength): add default arg on
9362         parameter 2. Remove default arg from friend in class.
9363
9364         * lyxlength.h (isValidLength): add default arg on parameter 2.
9365         Remove default arg from friend in class.
9366
9367         * text2.C (LyXText): adjust, initialize refresh_row.
9368         (init): adjust
9369         (removeRow): adjust
9370         (insertRow): adjust
9371         (insertParagraph): adjst
9372         (redoParagraphs): adjust
9373         (fullRebreak): adjust
9374         (updateCounters): adjust
9375         (deleteEmptyParagraphMechanism): first attempt at fixing a
9376         crashing bug.
9377
9378         * text.C (top_y): adjust
9379         (setHeightOfRow): adjust
9380         (getRow): adjust
9381         (getRowNearY): adjust
9382
9383         * lyxtext.h: include RowList.h
9384         (~LyXText): not needed anymore, deleted.
9385         (firstRow): modify for RowList
9386         (lastRow): new function
9387         Delete firstrow and lastrow class variables, add a Rowlist
9388         rowlist_ class variable.
9389
9390         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9391         paragraph is empty.
9392
9393         * RowList.C (insert): fix case where it == begin().
9394
9395 2003-03-26  Angus Leeming  <leeming@lyx.org>
9396
9397         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9398         the thesaurus dialog.
9399
9400 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9401
9402         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9403
9404         * RowList.[Ch]: new files
9405
9406         * ParagraphList.C (erase): handle the case where it == begin
9407         correctly.
9408
9409 2003-03-25  John Levon  <levon@movementarian.org>
9410
9411         * Makefile.am:
9412         * aspell_local.h:
9413         * aspell.C: add new aspell support
9414
9415         * lyxrc.h:
9416         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9417         have it accessible.
9418
9419 2003-03-25  Angus Leeming  <leeming@lyx.org>
9420
9421         * lfuns.h:
9422         * LyXAction.C (init): new LFUN_INSET_INSERT.
9423
9424         * BufferView_pimpl.C (dispatch): split out part of the
9425         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9426
9427         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9428         LFUN_INSET_APPLY.
9429
9430 2003-03-25  Angus Leeming  <leeming@lyx.org>
9431
9432         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9433
9434 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9435
9436         * text2.C:
9437         * text3.C: remove useless row->height(0)
9438
9439 2003-03-25  John Levon  <levon@movementarian.org>
9440
9441         * lyxtext.h:
9442         * text2.C:
9443         * text3.C: rename the refreshing stuff to better names
9444
9445 2003-03-24  John Levon  <levon@movementarian.org>
9446
9447         * BufferView_pimpl.h:
9448         * BufferView_pimpl.C: update layout choice on a mouse
9449         press/release
9450
9451 2003-03-23  John Levon  <levon@movementarian.org>
9452
9453         * Makefile.am: fix commandtags.h reference
9454
9455 2003-03-22  John Levon  <levon@movementarian.org>
9456
9457         * BufferView_pimpl.C:
9458         * lyxtext.h:
9459         * rowpainter.C:
9460         * rowpainter.h:
9461         * text.C:
9462         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9463
9464 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9465
9466         * lyxtext.h:
9467         * text.C: take the rtl methods out of line
9468
9469 2003-03-21 André Pönitz <poenitz@gmx.net>
9470
9471         * metricsinfo.[Ch]: new files containing structures to be passed around
9472         during the two-phase-drawing...
9473
9474 2003-03-21 André Pönitz <poenitz@gmx.net>
9475
9476         * lyxtextclass.C: read 'environment' tag.
9477
9478 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9479
9480         * text2.C (removeRow): fix bug 964
9481
9482 2003-03-20  John Levon  <levon@movementarian.org>
9483
9484         * rowpainter.C:
9485         * text.C:
9486         * text2.C: paint cleanups. Inset::update() dropped font
9487         parameter
9488
9489 2003-03-19  John Levon  <levon@movementarian.org>
9490
9491         * lyxfunc.C: only fitcursor/markDirty if available()
9492
9493 2003-03-19  John Levon  <levon@movementarian.org>
9494
9495         * commandtags.h: rename to ...
9496
9497         * lfuns.h: ... this, and renumber / cleanup
9498
9499 2003-03-19  John Levon  <levon@movementarian.org>
9500
9501         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9502         fit the cursor after an lfun
9503
9504         * BufferView.h:
9505         * BufferView.C:
9506         * BufferView_pimpl.h:
9507         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9508
9509         * LyXAction.C: layout-character should have ReadOnly
9510
9511         * ParagraphParameters.C:
9512         * buffer.C:
9513         * bufferview_funcs.C:
9514         * lyx_cb.C:
9515         * lyxfind.C:
9516         * lyxtext.h:
9517         * text.C:
9518         * text2.C:
9519         * text3.C:
9520         * undo_funcs.C: changes from above
9521
9522 2003-03-18  John Levon  <levon@movementarian.org>
9523
9524         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9525         remove it from update()
9526
9527         * lyxfunc.C: update layout choice after an lfun
9528
9529         * text3.C: remove extra updateLayoutChoice()s
9530
9531 2003-03-18  John Levon  <levon@movementarian.org>
9532
9533         * text.C: top_y change means full repaint, fix
9534         a drawing bug with cursor movement
9535
9536 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9537
9538         * lyxtext.h:
9539         * text.C:
9540         * text2.C: anchor row on setCursor
9541
9542 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9543
9544         * lyxtext.h: remove almost all mutable keywords
9545         * text.C:
9546         * text2.C:
9547         * text3.C: remove const keywords accordingly
9548
9549 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9552         anon namespace
9553         (TeXEnvironment): ditto
9554         (TeXOnePar): ditto
9555
9556 2003-03-17  John Levon  <levon@movementarian.org>
9557
9558         * text.C (rowBreakPoint): remove attempt to fix displayed
9559         math insets inside a manual label
9560
9561 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9562
9563         * lyxtext.h: remove BufferView* as first arg from almost all class
9564         functions.
9565         * other files: adjust.
9566
9567 2003-03-17  John Levon  <levon@movementarian.org>
9568
9569         * lyxtext.h:
9570         * undo_funcs.C:
9571         * text2.C: more paint cleanups
9572
9573         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9574
9575         * rowpainter.h:
9576         * rowpainter.C: remove "smart" background painting code
9577
9578 2003-03-16  John Levon  <levon@movementarian.org>
9579
9580         * lyxtext.h:
9581         * text.C:
9582         * text2.C:
9583         * text3.C: add helper functions for setting refresh_row/y
9584
9585 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9586
9587         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9588         newline inset which *can* get inserted in the pass_thru layouts.
9589         This is primarily for literate documents.
9590
9591 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9592
9593         * buffer.C: increment LYX_FORMAT to 223
9594
9595 2003-03-14 André Pönitz <poenitz@gmx.net>
9596
9597         * textclass.h: prepare for environment handling, ws changes
9598         * lyxlayout.C: read latexheader and latexfooter tags
9599
9600 2003-03-14  John Levon  <levon@movementarian.org>
9601
9602         * text2.C: rewrite ::status() a bit
9603
9604 2003-03-13  John Levon  <levon@movementarian.org>
9605
9606         * lyxtext.h: add some docs
9607
9608 2003-03-13  John Levon  <levon@movementarian.org>
9609
9610         * lyxtext.h:
9611         * text.C:
9612         * text2.C:
9613         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9614
9615 2003-03-13  John Levon  <levon@movementarian.org>
9616
9617         * text3.C: fix appendix redrawing
9618
9619 2003-03-13  John Levon  <levon@movementarian.org>
9620
9621         * text.C (setHeightOfRow):
9622         * rowpainter.h:
9623         * rowpainter.C: make appendix mark have the text
9624           "Appendix" so the user knows what it is
9625
9626         * LColor.h:
9627         * LColor.C: s/appendixline/appendix/ from above
9628
9629 2003-03-13  John Levon  <levon@movementarian.org>
9630
9631         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9632
9633         * text.C: fix a getChar(pos) bug properly
9634
9635 2003-03-13  Angus Leeming  <leeming@lyx.org>
9636
9637         * commandtags.h:
9638         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9639         Probably only temporary. Let's see how things pan out.
9640
9641         * BufferView.C (unlockInset):
9642         * BufferView_pimpl.C (fitCursor):
9643         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9644
9645         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9646         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9647
9648         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9649         new functions that convert ParagraphParameters to and from a string.
9650
9651         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9652         BufferView::Pimpl's dispatch.
9653         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9654
9655 2003-03-13 André Pönitz <poenitz@gmx.net>
9656
9657         * lyxfunc.C:
9658         * text3.C:
9659         * factory.C: make it aware of InsetEnv
9660
9661 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9662
9663         * text2.C (setCursor): never ask for one past last
9664         (setCursor): add some debugging messages.
9665
9666         * text.C (singleWidth): never ask for one past last
9667         (singleWidth): ditto
9668         (leftMargin): ditto
9669         (rightMargin): ditto
9670         (rowBreakPoint): ditto
9671         (setHeightOfRow): ditto
9672         (prepareToPrint): ditto
9673
9674         * rowpainter.C (paintBackground): never ask for one past last
9675         (paintText): never ask for one past last
9676
9677         * paragraph_pimpl.C (getChar): make the assert stricter, never
9678         allow the one past last pos to be taken
9679
9680         * paragraph.C (getChar): ws changes only
9681
9682         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9683         (numberOfSeparators): ditto
9684         (numberOfHfills): ditto
9685
9686 2003-03-12  John Levon  <levon@movementarian.org>
9687
9688         * author.h:
9689         * author.C:
9690         * bufferparams.h:
9691         * bufferparams.C:
9692         * paragraph_funcs.C: fix per-buffer authorlists
9693
9694 2003-03-12  John Levon  <levon@movementarian.org>
9695
9696         * text.C: fix newline in right address
9697
9698 2003-03-12  Angus Leeming  <leeming@lyx.org>
9699
9700         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9701         duplicate those in LyXFunc::dispatch.
9702
9703         * commandtags.h:
9704         * LyXAction.C:
9705         * ToolbarDefaults.C:
9706         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9707         Add LFUN_FONTFREE_UPDATE.
9708
9709         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9710         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9711
9712         * bufferview_func.[Ch]: several new functions to facilliate
9713         transfer of data to and from the character dialog.
9714
9715 2003-03-12  John Levon  <levon@movementarian.org>
9716
9717         * buffer.C:
9718         * paragraph.h:
9719         * paragraph.C:
9720         * paragraph_funcs.C:
9721         * paragraph_pimpl.C:
9722         * sgml.C:
9723         * tabular.C:
9724         * text.C:
9725         * text3.C: remove META_NEWLINE in favour of an inset
9726
9727         * rowpainter.h:
9728         * rowpainter.C: remove paintNewline (done by inset)
9729
9730 2003-03-12  John Levon  <levon@movementarian.org>
9731
9732         * paragraph_pimpl.C: complain about bad getChar()s
9733         for a while at least
9734
9735 2003-03-12  John Levon  <levon@movementarian.org>
9736
9737         * buffer.h:
9738         * buffer.C: move paragraph read into a separate function,
9739         a little renaming to reflect that.
9740
9741         * bufferparams.h:
9742         * bufferparams.C: remove the author_ids map, not necessary now
9743
9744         * factory.h:
9745         * factory.C: moved Buffer::readInset to here
9746
9747         * paragraph_funcs.h:
9748         * paragraph_funcs.C: readParagraph free function moved from
9749         buffer.C
9750
9751         * tabular.C: name change
9752
9753 2003-03-12  John Levon  <levon@movementarian.org>
9754
9755         * buffer.C:
9756         * ParagraphParameters.C: move par params input to
9757         a read() method
9758
9759         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9760         behave like a normal read from the stream wrt reading
9761         a line vs. a \\token
9762
9763 2003-03-12  John Levon  <levon@movementarian.org>
9764
9765         * paragraph.C:
9766         * ParagraphParameters.h:
9767         * ParagraphParameters.C: move output code to a
9768         ::write() method
9769
9770 2003-03-12  John Levon  <levon@movementarian.org>
9771
9772         * BufferView.C (insertLyXFile):
9773         * buffer.h:
9774         * buffer.C:
9775         * tabular.C: use a parlist iterator for creating the
9776           document.
9777
9778 2003-03-12  John Levon  <levon@movementarian.org>
9779
9780         * buffer.C: make current_change static local not
9781           static file-scope
9782
9783 2003-03-12  John Levon  <levon@movementarian.org>
9784
9785         * buffer.C: fix insertStringAsLines for change tracking
9786
9787 2003-03-12  John Levon  <levon@movementarian.org>
9788
9789         * BufferView.C:
9790         * tabular.C:
9791         * buffer.h:
9792         * buffer.C:
9793         * bufferparams.h:
9794         * bufferparams.C: move author list into params. Rename some
9795           functions. Move the header reading into a separate token
9796           loop. Move the header token reading into BufferParams.
9797
9798 2003-03-12  John Levon  <levon@movementarian.org>
9799
9800         * changes.C: put debug inside lyxerr.debugging() checks
9801
9802 2003-03-11 André Pönitz <poenitz@gmx.net>
9803
9804         * factory.C: make it aware of InsetHFill
9805
9806 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9807
9808         * buffer.C (latexParagraphs): move function from here...
9809         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9810         args.
9811
9812 2003-03-10  Angus Leeming  <leeming@lyx.org>
9813
9814         * LyXAction.C (init): fix bug in poplating array with multiple entries
9815         with the same LFUN (spotted by JMarc).
9816
9817 2003-03-10  John Levon  <levon@movementarian.org>
9818
9819         * text.C:
9820         * text2.C: move getColumnNearX() near its
9821         only call site
9822
9823 2003-03-10  John Levon  <levon@movementarian.org>
9824
9825         * text.C: fix break before a minipage
9826
9827 2003-03-10  John Levon  <levon@movementarian.org>
9828
9829         * text.C: fix the last commit
9830
9831 2003-03-09  John Levon  <levon@movementarian.org>
9832
9833         * lyxtext.h:
9834         * text.C:
9835         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9836         bug 365 (don't break before insets unless needed). Don't
9837         return a value > last under any circumstances.
9838
9839 2003-03-09  Angus Leeming  <leeming@lyx.org>
9840
9841         * BufferView_pimpl.C (trackChanges, dispatch): call
9842         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9843
9844 2003-03-09  Angus Leeming  <leeming@lyx.org>
9845
9846         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9847         than Dialogs::showAboutlyx().
9848
9849 2003-03-09  Angus Leeming  <leeming@lyx.org>
9850
9851         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9852         than Dialogs::showTabularCreate().
9853
9854 2003-03-09  John Levon  <levon@movementarian.org>
9855
9856         * lyxtext.h:
9857         * text.C:
9858         * text2.C: 3rd arg to nextBreakPoint was always the same.
9859           Use references.
9860
9861 2003-03-08  John Levon  <levon@movementarian.org>
9862
9863         * lyxrow.C:
9864         * paragraph.C:
9865         * paragraph.h:
9866         * rowpainter.C:
9867         * text.C:
9868         * text2.C: Remove the "main" bit from the "main body"
9869           notion.
9870
9871 2003-03-08  John Levon  <levon@movementarian.org>
9872
9873         * text.C (leftMargin): The left margin of an empty
9874         manual label paragraph should not include the label width
9875         string length.
9876
9877         * text.C (prepareToPrint): don't attempt to measure hfills
9878         for empty manual label paragraphs - the answer should be 0
9879
9880 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9881
9882         * CutAndPaste.C: remove commented code and reindent.
9883
9884 2003-03-08  John Levon  <levon@movementarian.org>
9885
9886         * lyxfunc.h:
9887         * lyxfunc.C: move reloadBuffer()
9888
9889         * BufferView.h:
9890         * BufferView.C: to here
9891
9892         * lyxvc.C: add comment
9893
9894         * vc-backend.h:
9895         * vc-backend.C: call bv->reload() to avoid
9896           getStatus() check on MENURELOAD
9897
9898 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9901         to an old format .dep file.
9902
9903 2003-03-07  Angus Leeming  <leeming@lyx.org>
9904
9905         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9906         when the LFUN_MOUSE_RELEASE should have been handled by
9907         inset->localDispatch.
9908
9909 2003-03-07  Angus Leeming  <leeming@lyx.org>
9910
9911         * BufferView_pimpl.C (dispatch):
9912         * LyXAction.C (init):
9913         * ToolbarDefaults.C (init):
9914         * commandtags.h:
9915         * lyxfunc.C (getStatus):
9916         remove LFUN_INSET_GRAPHICS.
9917
9918         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9919
9920 2003-03-07  Angus Leeming  <leeming@lyx.org>
9921
9922         * commandtags.h:
9923         * LyXAction.C (init):
9924         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9925
9926         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9927
9928         * commandtags.h:
9929         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9930
9931         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9932         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9933
9934 2003-03-07  Angus Leeming  <leeming@lyx.org>
9935
9936         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9937         remove "ert".
9938
9939 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9940
9941         * ParagraphList.C (front): new function
9942         (back): implement
9943
9944 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9945
9946         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9947         and top_row_offset_. removed var first_y.
9948         * text.C (top_y):
9949         * text2.C (LyXText, removeRow):
9950         * text3.C:
9951         * BufferView_pimpl.C:
9952         use these methods instead of using first_y
9953
9954 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9955
9956         * text2.C (pasteSelection): adjust for checkPastePossible
9957
9958         * CutAndPaste.C: remove Paragraph * buf and replace with
9959         ParagraphList paragraphs.
9960         (DeleteBuffer): delete
9961         (cutSelection): change the tc type to textclass_type
9962         (copySelection): change the tc type to textclass_type
9963         (copySelection): adjust for ParagraphList
9964         (pasteSelection): change the tc type to textclass_type
9965         (pasteSelection): adjust for Paragraphlist
9966         (nrOfParagraphs): simplify for ParagraphList
9967         (checkPastePossible): simplify for ParagraphList
9968         (checkPastePossible): remove unused arg
9969
9970         * ParagraphList.C (insert): handle the case where there are no
9971         paragraphs yet.
9972
9973         * CutAndPaste.h: make CutAndPaste a namespace.
9974
9975         * text3.C (dispatch): adjust
9976
9977         * text.C (breakParagraph): add a ParagraphList as arg
9978
9979         * paragraph_funcs.C (breakParagraph): change to take a
9980         BufferParams and a ParagraphList as args.
9981         (breakParagraphConservative): ditto
9982         (mergeParagraph): ditto
9983         (TeXDeeper): add a ParagraphList arg
9984         (TeXEnvironment): ditto
9985         (TeXOnePar): ditto
9986
9987         * buffer.C (readLyXformat2): adjust
9988         (insertStringAsLines): adjust
9989         (latexParagraphs): adjust
9990
9991         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9992         (cutSelection): adjust
9993         (pasteSelection): adjust
9994
9995         * BufferView_pimpl.C (insertInset): adjust
9996
9997 2003-03-05  Angus Leeming  <leeming@lyx.org>
9998
9999         * commandtags.h:
10000         * LyXAction.C (init):
10001         * BufferView_pimpl.C (dispatch):
10002         * lyxfunc.C (getStatus):
10003         remove LFUN_CHILD_INSERT.
10004
10005         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10006
10007 2003-03-05  Angus Leeming  <leeming@lyx.org>
10008
10009         * commandtags.h:
10010         * LyXAction.C (init):
10011         * src/factory.C (createInset):
10012         * lyxfunc.C (getStatus):
10013         * text3.C (dispatch):
10014         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10015
10016         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10017
10018 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10019
10020         * ParagraphList.C (insert): handle insert right before end()
10021         (erase): fix cases where it can be first or last paragraph.
10022
10023 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10024
10025         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10026         Paragraph::next and Paragraph::previous
10027         (TeXOnePar): ditto
10028
10029         * text.C (breakParagraph): adjust
10030
10031         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10032         BufferParams& as arg.
10033         (breakParagraph): use ParagraphList::insert
10034         (breakParagraphConservative): take a Buffer* instead of a
10035         BufferParams& as arg.
10036         (breakParagraphConservative): use ParagraphList::insert.
10037
10038         * buffer.C (insertStringAsLines): un-const it
10039         (insertStringAsLines): adjust
10040
10041         * ParagraphList.C (insert): new function
10042
10043         * CutAndPaste.C (pasteSelection): adjust
10044
10045         * text.C (backspace): adjust
10046
10047         * tabular.C (SetMultiColumn): adjust
10048
10049         * CutAndPaste.C (cutSelection): adjust
10050         (pasteSelection): adjust
10051
10052         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10053         Buffer const * as arg
10054
10055         * ParagraphList.C (erase): new function
10056         * paragraph_funcs.C (mergeParagraph): use it
10057         (mergeParagraph): make it take a Buffer* instead of a
10058         BufferParams* as arg
10059
10060         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10061         as arg
10062         (breakParagraphConservative): ditto
10063
10064         * paragraph.h: remove the breakParagraph friend
10065
10066         * paragraph.C (eraseIntern): new function
10067         (setChange): new function
10068
10069         * paragraph_funcs.C (mergeParagraph): make it take a
10070         ParagraphList::iterator instead of a Paragraph *, adjust
10071         accordingly.
10072
10073         * paragraph.h: move an #endif so that the change tracking stuff
10074         also works in the NO_NEXT case.
10075
10076 2003-03-04  Angus Leeming  <leeming@lyx.org>
10077
10078         * commandtags.h:
10079         * LyXAction.C: new LFUN_INSET_MODIFY.
10080
10081         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10082         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10083
10084 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10085
10086         * several files: ws changes only
10087
10088         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10089         (TeXEnvironment): ditto
10090         (TeXDeeper): ditto
10091
10092         * buffer.C (makeLaTeXFile): adjust
10093         (latexParagraphs): make it take ParagraphList::iterator as args
10094
10095 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10096
10097         * buffer.C (latexParagraphs): adjust
10098
10099         * paragraph.C (TeXOnePar): move function...
10100         (optArgInset): move function...
10101         (TeXEnvironment): move function...
10102         * paragraph_pimpl.C (TeXDeeper): move function...
10103         * paragraph_funcs.C: ...here
10104
10105         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10106
10107 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10108
10109         * buffer.C (readInset): remove compability code for old Figure and
10110         InsetInfo insets
10111
10112 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * buffer.C: ws changes
10115         (readInset):
10116
10117         * BufferView_pimpl.C: ditto
10118         * author.C: ditto
10119         * buffer.h: ditto
10120         * bufferlist.h: ditto
10121         * changes.h: ditto
10122         * lyxfunc.C: ditto
10123
10124 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10125
10126         * converter.[Ch]: split into itself +
10127         * graph.[Ch]
10128         * format.[Ch]
10129         * Makefile.am: += graph.[Ch] + format.[Ch]
10130         * MenuBackend.C
10131         * buffer.C
10132         * exporter.C
10133         * importer.C
10134         * lyx_main.C
10135         * lyxfunc.C
10136         * lyxrc.C: added #include "format.h"
10137
10138 2003-02-27  Angus Leeming  <leeming@lyx.org>
10139
10140         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10141           a label.
10142
10143         * factory.C (createInset): add "label" to the factory.
10144
10145         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10146           string and do no more.
10147
10148 2003-02-27  Angus Leeming  <leeming@lyx.org>
10149
10150         * commandtags.h:
10151         * LyXAction.C (init):
10152         * factory.C (createInset):
10153         * BufferView_pimpl.C (dispatch):
10154           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10155
10156         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10157
10158         * lyxfunc.C (dispatch):
10159         * text3.C (dispatch): pass name to params2string.
10160
10161 2003-02-26  Angus Leeming  <leeming@lyx.org>
10162
10163         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10164           blocks together.
10165           Rearrange the ~includes. Strip out the unnecessary ones.
10166
10167         * factory.C (createInset): reformat.
10168           create new insets for the various LFUN_XYZ_APPLY lfuns.
10169
10170 2003-02-26  John Levon  <levon@movementarian.org>
10171
10172         * lyxrow.h:
10173         * lyxrow.C: add isParStart,isParEnd helpers
10174
10175         * paragraph.h: make isInserted/DeletedText take refs
10176
10177         * paragraph_funcs.h:
10178         * paragraph_funcs.C: remove #if 0'd code
10179
10180         * lyxtext.h:
10181         * text3.C:
10182         * text2.C:
10183         * text.C: use lyxrow helpers above.
10184           Move draw and paint routines to RowPainter.
10185           Make several methods use refs not pointers.
10186           Make backgroundColor() const.
10187           Add markChangeInDraw(), isInInset().
10188           Merge changeRegionCase into changeCase.
10189           Make workWidth() shouldn't-happen code into an Assert.
10190
10191         * rowpainter.h:
10192         * rowpainter.C: new class for painting a row.
10193
10194         * vspace.h:
10195         * vspace.C: make inPixels take a ref
10196
10197 2003-02-26  Angus Leeming  <leeming@lyx.org>
10198
10199         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10200         LFUN_REF_APPLY.
10201
10202 2003-02-25  John Levon  <levon@movementarian.org>
10203
10204         * ispell.C: give the forked command a more accurate name
10205
10206 2003-02-22  John Levon  <levon@movementarian.org>
10207
10208         * toc.h:
10209         * toc.C: make TocItem store an id not a Paragraph *
10210           (bug #913)
10211
10212 2003-02-21  Angus Leeming  <leeming@lyx.org>
10213
10214         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10215           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10216           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10217           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10218           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10219           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10220
10221         * BufferView_pimpl.C (dispatch):
10222         * LyXAction.C (init):
10223         * factory.C (createInset):
10224         * lyxfunc.C (getStatus, dispatch):
10225         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10226
10227 2003-02-21  Angus Leeming  <leeming@lyx.org>
10228
10229         * BufferView_pimpl.C (MenuInsertLyXFile):
10230         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10231         * lyxfunc.C (menuNew, open, doImport):
10232           no longer pass a LyXView & to fileDlg.
10233
10234 2003-02-21  Angus Leeming  <leeming@lyx.org>
10235
10236         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10237         * LyXAction.C: change, BIBKEY to BIBITEM.
10238         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10239         Change InsetBibKey to InsetBibitem.
10240         Change BIBKEY_CODE to BIBITEM_CODE.
10241         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10242         * factory.C: replace insetbib.h with insetbibitem.h.
10243         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10244         * paragraph.C: replace insetbib.h with insetbibitem.h.
10245         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10246         Change bibkey() to bibitem().
10247         * text.C: remove insetbib.h.
10248         * text2.C: replace insetbib.h with insetbibitem.h.
10249         change bibkey() to bibitem().
10250         * text3.C: remove insetbib.h.
10251         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10252
10253 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * lyxrc.C (output): enclose user email in quotes (in case there are
10256         several words)
10257
10258 2003-02-18  John Levon  <levon@movementarian.org>
10259
10260         * buffer.h: add std::
10261
10262 2003-02-17  John Levon  <levon@movementarian.org>
10263
10264         * SpellBase.h:
10265         * ispell.h:
10266         * ispell.C:
10267         * pspell.h:
10268         * pspell.C: reworking. Especially in ispell, a large
10269           number of clean ups and bug fixes.
10270
10271         * lyxfunc.C: fix revert to behave sensibly
10272
10273 2003-02-17 André Pönitz <poenitz@gmx.net>
10274
10275         * LyXAction.C:
10276         * commandtags.h: new LFUN_INSERT_BIBKEY
10277
10278         * layout.h:
10279         * lyxlayout.C:
10280         * buffer.C:
10281         * factory.C:
10282         * text.C:
10283         * text2.C:
10284         * text3.C:
10285         * paragraph.[Ch]:
10286         * paragraph_func.C: remove special bibkey handling
10287
10288 2003-02-17  John Levon  <levon@movementarian.org>
10289
10290         * text.C (Delete): fix case where delete at the end of
10291           the very first paragraph would not merge the pars
10292
10293 2003-02-17  John Levon  <levon@movementarian.org>
10294
10295         * lyxrow.C: fix lastPrintablePos()
10296
10297 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * bufferparams.C (writeLaTeX): add a std:here
10300
10301         * buffer.C: and remove a using directive there
10302
10303 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * buffer.C (makeLaTeXFile): move the code that generates the
10306           preamble...
10307
10308         * bufferparams.C (writeLaTeX): ... in this new method
10309
10310         * LaTeXFeatures.C (getEncodingSet): make const
10311           (getLanguages): make const
10312
10313         * MenuBackend.C (binding): returns the binding associated to this
10314           action
10315           (add): sets the status of each item by calling getStatus. Adds
10316           some intelligence.
10317           (read): add support for OptSubMenu
10318           (expand): remove extra separator at the end of expanded menu
10319
10320 2003-02-15  John Levon  <levon@movementarian.org>
10321
10322         * BufferView.C:
10323         * BufferView_pimpl.C:
10324         * bufferlist.h:
10325         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10326           inset code that had no actual effect. Remove unneeded status
10327           code.
10328
10329 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10332           in preamble
10333
10334 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10335
10336         * text.C (drawLengthMarker): also draw an arrow marker for
10337           symbolic lengths (medskip...)
10338
10339 2003-02-14  John Levon  <levon@movementarian.org>
10340
10341         * tabular.h:
10342         * tabular.C: better method names
10343
10344 2003-02-14  John Levon  <levon@movementarian.org>
10345
10346         * BufferView_pimpl.C:
10347         * bufferlist.C:
10348         * buffer.C:
10349         * converter.C:
10350         * lyx_cb.C:
10351         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10352           it's a more accurate name. Remove some pointless uses.
10353
10354 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10355
10356         * text2.C (LyXText): change order of initilizers to shut off
10357           warnings
10358
10359 2003-02-14  John Levon  <levon@movementarian.org>
10360
10361         * buffer.C: use ParIterator for getParFromID()
10362
10363         * paragraph.h:
10364         * paragraph.C:
10365         * paragraph_pimpl.h:
10366         * paragraph_pimpl.C: remove unused getParFromID()
10367
10368 2003-02-14  John Levon  <levon@movementarian.org>
10369
10370         * buffer.C: remove some very old #if 0'd parse code
10371
10372 2003-02-13  John Levon  <levon@movementarian.org>
10373
10374         * text.h:
10375         * text.C:
10376         * text2.C: move hfillExpansion(), numberOfSeparators(),
10377           rowLast(), rowLastPrintable(), numberofHfills(),
10378           numberOfLabelHfills() ...
10379
10380         * lyxrow.h:
10381         * lyxrow.C: ... to member functions here.
10382
10383         * paragraph.h:
10384         * paragraph.C:
10385         * lyxtext.h:
10386         * text.C: remove LyXText::beginningOfMainBody(), and call
10387           p->beginningOfMainBody() directly. Move the check for
10388           LABEL_MANUAL into the latter.
10389
10390         * text.h:
10391         * text.C:
10392         * text2.C:
10393         * vspace.C:
10394         * BufferView.h:
10395         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10396
10397         * text.h:
10398         * text.C:
10399         * text2.C:
10400         * text3.C:
10401         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10402           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10403
10404 2003-02-13  John Levon  <levon@movementarian.org>
10405
10406         * CutAndPaste.C: remove debug
10407
10408 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * paragraph.C (asString): remove two unused variables
10411
10412         * lyxtextclass.C (readTitleType):
10413           (Read):
10414           (LyXTextClass): handle new members titletype_ and titlename_
10415
10416         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10417
10418 2003-02-09  John Levon  <levon@movementarian.org>
10419
10420         * buffer.h:
10421         * buffer.C: replace hand-coded list with a map for the dep clean
10422
10423 2003-02-08  John Levon  <levon@movementarian.org>
10424
10425         * LaTeX.C: consolidate code into showRunMessage() helper
10426
10427 2003-02-08  John Levon  <levon@movementarian.org>
10428
10429         * lyxfind.C:
10430         * lyxtext.h:
10431         * text2.C:
10432         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10433           and pass the size in explicitly
10434
10435         * BufferView_pimpl.h:
10436         * BufferView_pimpl.C:
10437         * BufferView.h:
10438         * BufferView.C: add getCurrentChange()
10439
10440         * BufferView_pimpl.h:
10441         * BufferView_pimpl.C: handle change lfuns
10442
10443         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10444           for changes. Mark pasted paragraphs as new.
10445
10446         * support/lyxtime.h:
10447         * support/lyxtime.C:
10448         * DepTable.C: abstract time_t as lyx::time_type
10449
10450         * LColor.h:
10451         * LColor.C: add colours for new text, deleted text, changebars
10452
10453         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10454           package use "usenames" option.
10455
10456         * commandtags.h:
10457         * lyxfunc.C:
10458         * LyXAction.C: add change lfuns
10459
10460         * Makefile.am:
10461         * author.h:
10462         * author.C: author handling
10463
10464         * buffer.h:
10465         * buffer.C: add a per-buffer author list, with first entry as
10466           current author. Handle new .lyx tokens for change tracking. Output
10467           author list to .lyx file. Output dvipost stuff to .tex preamble.
10468           Bump lyx format to 222.
10469
10470         * bufferlist.h:
10471         * bufferlist.C: add setCurrentAuthor() to reset current author details
10472           in all buffers.
10473
10474         * bufferparams.h:
10475         * bufferparams.C: add param for tracking
10476
10477         * bufferview_funcs.C: output change info in minibuffer
10478
10479         * Makefile.am:
10480         * changes.h:
10481         * changes.C: add change-tracking structure
10482
10483         * debug.h:
10484         * debug.C: add CHANGES debug flag
10485
10486         * lyxfind.h:
10487         * lyxfind.C: add code for finding the next change piece
10488
10489         * lyxrc.h:
10490         * lyxrc.C: add user_name and user_email
10491
10492         * lyxrow.h:
10493         * lyxrow.C: add a metric for the top of the text line
10494
10495         * lyxtext.h:
10496         * text.C: implement accept/rejectChange()
10497
10498         * lyxtext.h:
10499         * text.C: paint changebars. Paint new/deleted text in the chosen
10500         colours. Strike through deleted text.
10501
10502         * paragraph.h:
10503         * paragraph.C:
10504         * paragraph_pimpl.h:
10505         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10506           in the current change to the insert functions. Rework erase to
10507           mark text as deleted, adding an eraseIntern() and a range-based
10508           erase(). Implement per-paragraph change lookup and
10509           accept/reject.
10510
10511         * paragraph_funcs.C: Fixup paste for change tracking.
10512
10513         * tabular.C: mark added row/columns as new.
10514
10515         * text.C: fix rowLast() to never return -1. Don't allow
10516           spellchecking of deleted text. Track transpose changes. Don't
10517           allow paragraph break or merge where appropriate.
10518
10519         * text2.C: leave cursor at end of selection after a cut.
10520
10521 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10522
10523         * text.C (getLengthMarkerHeight):
10524         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10525         visible on screen too.
10526
10527 2003-02-07  John Levon  <levon@movementarian.org>
10528
10529         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10530
10531 2003-02-05  Angus Leeming  <leeming@lyx.org>
10532
10533         * lyxserver.C (read_ready): revert my patch of 11 September last year
10534         as it sends PC cpu through the roof. Presumably this means that
10535         the lyxserver will no longer run on an Alpha...
10536
10537 2003-01-30  Angus Leeming  <leeming@lyx.org>
10538
10539         * factory.C (createInset): create an InsetCommandParam of type "index"
10540         and use it to 'do the right thing'.
10541
10542         * text2.C (getStringToIndex): ensure that cursor position is always
10543         reset to the reset_cursor position.
10544
10545 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10546
10547         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10548         disabled.
10549
10550 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10551
10552         * bufferview.C:
10553         * lyxcb.C:
10554         * lyxfunc.C: Output messages with identical spelling, punctuation,
10555         and spaces
10556
10557 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10558
10559         * MenuBackend.C (expandFormats): List only viewable export formats
10560         in "View" menu
10561
10562         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10563         message
10564
10565         * lyxfunc.C (getStatus): Make sure that formats other than
10566         "fax" can also be disabled
10567
10568 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10569
10570         * text3.C (dispatch): put the lfuns that insert insets in 3
10571         groups, and call doInsertInset with appropriate arguments.
10572         (doInsertInset): new function, that creates an inset and inserts
10573         it according to some boolean parameters.
10574
10575 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10576
10577         * buffer.C (readFile): remember to pass on 'par' when calling
10578         readFile recursively.
10579
10580 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10581
10582         * MenuBackend.C (expandFormats): add "..." to import formats.
10583
10584 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10585
10586         * paragraph.C (asString): Remove XForms RTL hacks.
10587
10588 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10589         * buffer.C: fix typo
10590
10591 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10592
10593         * Makefile.am (LIBS): delete var
10594         (lyx_LDADD): add @LIBS@ here instead.
10595
10596 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10597
10598         * Clarify the meaning of "wheel mouse jump"
10599
10600 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10603         tabular in a float
10604
10605 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10606
10607         * importer.C (Loaders): do not preallocate 3 elements in the
10608         vector, since one ends up with 6 elements otherwise
10609
10610 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * DepTable.C (write): write the file name as last element of the
10613         .dep file (because it may contain spaces)
10614         (read): read info in the right order
10615
10616 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * paragraph_pimpl.C (simpleTeXBlanks):
10619         (simpleTeXSpecialChars):
10620         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10621
10622         * tabular.C (latex): add some missing case statements. Reindent.
10623
10624         * MenuBackend.C (expandToc): remove unused variable.
10625
10626 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10627
10628         * LColor.C:
10629         * LaTeX.C:
10630         * LyXAction.C:
10631         * MenuBackend.C:
10632         * buffer.C:
10633         * exporter.C:
10634         * lyxfunc.C:
10635         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10636         and the like.
10637
10638 2003-01-05  John Levon  <levon@movementarian.org>
10639
10640         * BufferView.h:
10641         * BufferView.C: add getEncoding()
10642
10643         * kbsequence.h:
10644         * kbsequence.C: do not store last keypress
10645
10646         * lyxfunc.h:
10647         * lyxfunc.C: store last keypress here instead. Pass encoding
10648           to getISOEncoded()
10649
10650 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10651
10652         * lyx_main.C (init): remove annoying error message when following
10653         symbolic links (bug #780)
10654
10655 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10656
10657         * text.C (insertChar):
10658         * lyxrc.C (getDescription): remove extra spaces
10659
10660 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10661
10662         * lyxrc.C (getDescription): remove extra spaces
10663
10664 2002-12-20  John Levon  <levon@movementarian.org>
10665
10666         * text3.C: hack fix for page up/down across tall rows
10667
10668 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10669
10670         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10671         not been invoked
10672
10673 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10674
10675         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10676         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10677         thesaurus is not compiled in
10678
10679 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10680
10681         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10682
10683 2002-12-16  Angus Leeming  <leeming@lyx.org>
10684
10685         * lyxrc.[Ch]:
10686         * lyx_main.C (init): remove override_x_deadkeys stuff.
10687
10688 2002-12-12  John Levon  <levon@movementarian.org>
10689
10690         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10691           insert. Only remove shift modifier under strict
10692           circumstances.
10693
10694 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10695
10696         * MenuBackend.C (expandToc): fix crash.
10697
10698 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10699
10700         * MenuBackend.C (expandToc): gettext on float names.
10701
10702 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10703
10704         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10705         implement bool empty() [bug 490]
10706
10707 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10708
10709         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10710
10711 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10712
10713         * several files: ws changes
10714
10715 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10716
10717         * text2.C (setCounter): clean up a bit, use boost.format.
10718         (updateCounters): initialize par upon declaration.
10719
10720         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10721         if the layout exists. We do not just store the layout any more.
10722         (SwitchLayoutsBetweenClasses): use boost.format
10723
10724 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10725
10726         * converter.C (convert): if from and to files are the same, use a
10727         temporary files as intermediary
10728
10729 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10730
10731         * commandtags.h:
10732         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10733
10734 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10735
10736         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10737
10738 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * tabular.C (asciiPrintCell): use string(size, char) instead of
10741         explicit loop.
10742
10743         * sgml.C (openTag): fix order of arguments to string constructor
10744         (closeTag): ditto
10745
10746         * lyxfunc.C (dispatch): use boost.format
10747
10748         * lots of files: change "c" -> 'c'
10749
10750 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10751
10752         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10753
10754 2002-11-25  Angus Leeming  <leeming@lyx.org>
10755
10756         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10757
10758         * lyx_main.C (init): compile fix.
10759
10760 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10761
10762         * lyx_cb.C (start): boost.formatify
10763         do not include <iostream>
10764
10765         * lengthcommon.C: ws only
10766
10767         * boost-inst.C,BoostFormat.h: add more explict instantations
10768
10769 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10770
10771         * lots of files: handle USE_BOOST_FORMAT
10772
10773 2002-11-21  John Levon  <levon@movementarian.org>
10774
10775         * pspell.C: fix compile
10776
10777 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10778
10779         * lyxfunc.C (dispatch): use boost::format
10780         (open): ditto
10781         (doImport): ditto
10782
10783         * lyxfont.C (stateText): use boost::format
10784
10785         * lyx_main.C (LyX): use boost::format
10786         (init): ditto
10787         (queryUserLyXDir): ditto
10788         (readRcFile): ditto
10789         (parse_dbg): ditto
10790         (typedef boost::function): use the recommened syntax.
10791
10792         * importer.C (Import): use boost::format
10793
10794         * debug.C (showLevel): use boost::format
10795
10796         * converter.C (view): use boost::format
10797         (convert): ditto
10798         (move): ditto
10799         (scanLog): ditto
10800
10801         * bufferview_funcs.C (currentState): use boost::format
10802
10803         * bufferlist.C (emergencyWrite): use boost::format
10804
10805         * buffer.C (readLyXformat2): use boost::format
10806         (parseSingleLyXformat2Token): ditto
10807
10808         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10809
10810         * LaTeX.C (run): use boost::format
10811
10812         * Chktex.C (scanLogFile): use boost::format
10813
10814         * BufferView_pimpl.C (savePosition): use boost::format
10815         (restorePosition): ditto
10816         (MenuInsertLyXFile): ditto
10817
10818         * BoostFormat.h: help file for explicit instation.
10819
10820 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10821
10822         * tabular.C (latex): Support for block alignment in fixed width
10823         columns.
10824
10825 2002-11-17  John Levon  <levon@movementarian.org>
10826
10827         * BufferView_pimpl.C:
10828         * lyx_cb.C:
10829         * lyxfunc.C: split filedialog into open/save
10830
10831 2002-11-08  Juergen Vigna  <jug@sad.it>
10832
10833         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10834         by my last patch (hopefully).
10835
10836 2002-11-08  John Levon  <levon@movementarian.org>
10837
10838         * iterators.h:
10839         * iterators.C:
10840         * buffer.h:
10841         * buffer.C:
10842         * paragraph.h:
10843         * paragraph.C:
10844         * toc.h:
10845         * toc.C: ParConstIterator, and use it (from Lars)
10846
10847 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10848
10849         * lyxtextclass.[Ch]: revise and add doxygen comments
10850
10851 2002-11-07  John Levon  <levon@movementarian.org>
10852
10853         * text.C: fix progress value for spellchecker
10854
10855         * toc.C: fix navigate menu for insetwrap inside minipage
10856
10857         * paragraph_funcs.C: added FIXME for suspect code
10858
10859 2002-11-07  John Levon  <levon@movementarian.org>
10860
10861         * BufferView_pimpl.C: fix redrawing of insets
10862           on buffer switch
10863
10864 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * text2.C (updateCounters): fix bug 668
10867
10868 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10869
10870         * text3.C (dispatch): Do not make the buffer dirty when moving the
10871         cursor.
10872
10873 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10874
10875         * vc-backend.C: STRCONV
10876         (scanMaster): ditto
10877
10878         * text2.C (setCounter): STRCONV
10879
10880         * paragraph.C (asString): STRCONV
10881
10882         * lyxlength.C (asString): STRCONV
10883         (asLatexString): ditto
10884
10885         * lyxgluelength.C (asString): STRCONV
10886         (asLatexString): ditto
10887
10888         * lyxfunc.C (dispatch): STRCONV
10889         (open): ditto
10890
10891         * lyxfont.C (stateText): STRCONV
10892
10893         * importer.C (Import): STRCONV
10894
10895         * counters.C (labelItem): STRCONV
10896         (numberLabel): ditto
10897         (numberLabel): remove unused ostringstream o
10898
10899         * chset.C: STRCONV
10900         (loadFile): ditto
10901
10902         * bufferview_funcs.C (currentState): STRCONV
10903
10904         * buffer.C (readFile): STRCONV
10905         (asciiParagraph): ditto
10906         (makeLaTeXFile): ditto
10907
10908         * Spacing.C (writeEnvirBegin): STRCONV
10909
10910         * LaTeXFeatures.C (getLanguages): STRCONV
10911         (getPackages): ditto
10912         (getMacros): ditto
10913         (getBabelOptions): ditto
10914         (getTClassPreamble): ditto
10915         (getLyXSGMLEntities): ditto
10916         (getIncludedFiles): ditto
10917
10918         * LaTeX.C: STRCONV
10919         (run): ditto
10920         (scanAuxFile): ditto
10921         (deplog): ditto
10922
10923         * LString.h: add the STRCONV macros
10924
10925         * BufferView_pimpl.C (savePosition): STRCONV
10926         (restorePosition): ditto
10927         (MenuInsertLyXFile): ditto
10928
10929         * vc-backend.C (scanMaster): change from submatch[...] to
10930         submatch.str(...)
10931
10932         * funcrequest.C: include config.h
10933
10934         * factory.C: include config.h
10935
10936         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10937
10938         * box.C: include config.h
10939
10940         * LaTeX.C (scanAuxFile): change from submatch[...] to
10941         submatch.str(...)
10942         (deplog): ditto
10943
10944 2002-10-25  Angus Leeming  <leeming@lyx.org>
10945
10946         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10947
10948         * ispell.[Ch] (setError): new method.
10949         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10950         Use setError() insetead of goto END.
10951
10952         * lyx_cb.C (AutoSave): move out child process into new class
10953         AutoSaveBuffer.
10954
10955 2002-10-30  John Levon  <levon@movementarian.org>
10956
10957         * text3.C: make start appendix undoable
10958
10959 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10960
10961         * lyxlength.C (inPixels): Fix returned value.
10962
10963         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10964         environment.
10965
10966 2002-10-24  Angus Leeming  <leeming@lyx.org>
10967
10968         * lyxgluelength.h: no need to forward declare BufferParams
10969         or BufferView, so don't.
10970
10971 2002-10-21  John Levon  <levon@movementarian.org>
10972
10973         * BufferView.C: menuUndo ->undo, redo
10974
10975         * BufferView.h: document, remove dead, make some methods private
10976
10977         * paragraph_funcs.h:
10978         * paragraph_funcs.C:
10979         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10980
10981         * buffer.h:
10982         * buffer.C:
10983         * sgml.h:
10984         * sgml.C: move sgml open/close tag into sgml.C
10985
10986         * bufferview_funcs.h: unused prototype
10987
10988         * lyxfunc.h:
10989         * lyxfunc.C: remove unused
10990
10991         * lyxtext.h:
10992         * text.C: remove unused
10993
10994 2002-10-21  John Levon  <levon@movementarian.org>
10995
10996         * BufferView.h:
10997         * BufferView.C:
10998         * BufferView_pimpl.h:
10999         * BufferView_pimpl.C: fix mouse wheel handling based on
11000           patch from Darren Freeman
11001
11002 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11003
11004         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11005
11006 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11007
11008         * lyxlength.C (inPixels): Fix hanfling of negative length.
11009         Fix LyXLength::MU case.
11010
11011 2002-10-16  John Levon  <levon@movementarian.org>
11012
11013         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11014
11015 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11016
11017         * converter.C (view): add support for $$i (file name) and $$p
11018         (file path) for the viewer command. If $$i is not specified, then
11019         it is appended to the command (for compatibility with old syntax)
11020
11021 2002-10-14  Juergen Vigna  <jug@sad.it>
11022
11023         * undo_funcs.C (textHandleUndo): alter the order in which the
11024         new undopar is added to the LyXText, as we have to set first
11025         the right prev/next and then add it as otherwise the rebuild of
11026         LyXText is not correct. Also reset the cursor to the right paragraph,
11027         with this IMO we could remove the hack in "redoParagraphs()".
11028
11029 2002-10-09  Angus Leeming  <leeming@lyx.org>
11030
11031         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11032         to turn off an optimisation if a new inset is to be inserted.
11033
11034 2002-10-11 André Pönitz <poenitz@gmx.net>
11035
11036         * lyxtext.h: make some functions public to allow access
11037         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11038
11039 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * text3.C (dispatch): when changing layout, avoid an infinite loop
11042         [bug #652]
11043
11044 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11045
11046         * lyxrc.C (read): treat a viewer or converter command of "none" as
11047         if it were empty.
11048
11049         * MenuBackend.C (expandFormats): for an update, also allow the
11050         formats that are not viewable
11051
11052         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11053         script if it is newer than the lyxrc.defaults in user directory
11054
11055 2002-10-07 André Pönitz <poenitz@gmx.net>
11056
11057         * text.C: Vitaly Lipatov's small i18n fix
11058
11059 2002-09-25  Angus Leeming  <leeming@lyx.org>
11060
11061         * ispell.h: doxygen fix.
11062
11063 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11064
11065         * buffer.h (readFile): Add a new argument to the method, to allow
11066         reading of old-format templates.
11067
11068 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11069
11070         * toc.C (getTocList): Get TOC from InsetWrap.
11071
11072 2002-09-16  John Levon  <levon@movementarian.org>
11073
11074         * lyxfunc.C: check tabular for cut/copy too
11075
11076 2002-09-12  John Levon  <levon@movementarian.org>
11077
11078         * LyXAction.C: tidy
11079
11080         * factory.h:
11081         * factory.C: add header
11082
11083         * paragraph_funcs.h:
11084         * paragraph_funcs.C: cleanup
11085
11086 2002-09-11  John Levon  <levon@movementarian.org>
11087
11088         * PrinterParams.h: odd/even default to true
11089
11090 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11091
11092         * PrinterParams.h: update printer parameters for new xforms dialog
11093
11094 2002-09-11  Angus Leeming  <leeming@lyx.org>
11095
11096         * lyxserver.C (read_ready): re-write to make it more transparent
11097         and to make it work in coherent fashion under Tru64 Unix.
11098
11099 2002-09-11  André Pönitz <poenitz@gmx.net>
11100
11101         * commandtags.h:
11102         * LyXAction.C:
11103         * text3.C: implement LFUN_WORDSEL
11104
11105 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11106
11107         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11108         make floatlist_ a boost::shared_ptr<FloatList>
11109
11110         * lyxtextclass.C: include FloatList.h
11111         (LyXTextClass): initialize floatlist_
11112         (TextClassTags): add TC_NOFLOAT
11113         (Read): match "nofloat" to TC_NOFLOAT and use it.
11114         (readFloat): modify call to floatlist_
11115         (floats): ditto
11116         (floats): ditto
11117
11118         * FloatList.[Ch] (FloatList): remove commented out float
11119         initialization.
11120         (erase): new function
11121
11122 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11123
11124         * MenuBackend.C (expandToc): fix crash when there is no document
11125         open
11126
11127 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11128
11129         * many files: Add insetwrap.
11130
11131 2002-09-09  John Levon  <levon@movementarian.org>
11132
11133         * text2.C: remove confusing and awkward depth wraparound
11134
11135 2002-09-09  John Levon  <levon@movementarian.org>
11136
11137         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11138
11139         * buffer.h:
11140         * buffer.C: remove getIncludeonlyList()
11141
11142         * paragraph.C:
11143         * lyxfunc.C: remove headers
11144
11145 2002-09-09  Juergen Vigna  <jug@sad.it>
11146
11147         * text.C (getColumnNearX): fix form Michael this is most
11148         probably a cut&paste bug.
11149
11150 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11151
11152         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11153
11154         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11155         references, ws changes.
11156
11157         * text2.C (init): update counters after init
11158         (insertParagraph): no need to set counter on idividual paragraphs.
11159         (setCounter): access the counters object in the textclass object
11160         on in the buffer object.
11161         (updateCounters): ditto
11162
11163         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11164         shared_ptr<Counters> to avoid loading counters.h in all
11165         compilation units.
11166         (LyXTextClass): initialize ctrs_
11167         (TextClassTags): add TC_COUNTER, and ...
11168         (Read): use it here.
11169         (CounterTags): new tags
11170         (readCounter): new function
11171         (counters): new funtion
11172         (defaultLayoutName): return a const reference
11173
11174         * counters.C (Counters): remove contructor
11175         (newCounter): remove a couple of unneeded statements.
11176         (newCounter): simplify a bit.
11177         (numberLabel): some small formatting changes.
11178
11179         * buffer.[Ch]: remove all traces of counters, move the Counters
11180         object to the LyXTextClass.
11181
11182 2002-09-06  Alain Castera  <castera@in2p3.fr>
11183
11184         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11185         package to set the horizontal alignment on fixed width columns.
11186
11187         * lyx_sty.C:
11188         * lyx_sty.h: added tabularnewline macro def.
11189
11190         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11191
11192 2002-09-06  John Levon  <levon@movementarian.org>
11193
11194         * LyXAction.C: tooltips for sub/superscript
11195
11196         * MenuBackend.C: a bit more verbose
11197
11198         * lyxfunc.C: tiny clean
11199
11200         * undo_funcs.C: document undo_frozen
11201
11202 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11203
11204         * counters.C (Counters): add missing algorithm counter.
11205
11206         * text2.C (setCounter): lookup the counter with layouts latexname
11207         instead of by section number.
11208         (setCounter): use a hackish way to lookup the correct enum
11209         counter.
11210         a float name->type change
11211         reset enum couners with counter name directly instead of depth value.
11212
11213         * counters.C (Counters): remove the push_backs, change to use the
11214         float type not the float name.
11215         (labelItem): remove unused string, float name->type change
11216
11217         * counters.h: don't include vector, loose the enums and sects vectors
11218
11219 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11220
11221         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11222         (Read): add float->TC_FLOAT to textclassTags
11223         (Read): and handle it in the switch
11224         (readFloat): new function
11225
11226         * FloatList.C (FloatList): comment out the hardcoded float
11227         definitions.
11228
11229         * lyxlayout.h: ws change.
11230
11231 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11232
11233         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11234
11235 2002-09-03  Angus Leeming  <leeming@lyx.org>
11236
11237         * BufferView_pimpl.h: qualified name is not allowed in member
11238         declaration: WorkArea & Pimpl::workarea() const;
11239
11240         * factory.C: added using std::endl directive.
11241
11242         * text3.C: added using std::find and std::vector directives.
11243
11244 2002-08-29  André Pönitz <poenitz@gmx.net>
11245
11246         * lyxtext.h:
11247         * text2.C: remove unused member number_of_rows
11248
11249         * Makefile.am:
11250         * BufferView2.C: remove file, move contents to...
11251         * BufferView.C: ... here
11252
11253         * BufferView_pimpl.C:
11254         * factory.C: move more inset creation to factory
11255
11256         * vspace.C: avoid direct usage of LyXText, ws changes
11257
11258         * BufferView.[Ch]:
11259                 don't provide direct access to WorkArea, use two simple
11260                 acessors haveSelction() and workHeight() instead
11261
11262
11263 2002-08-29  John Levon  <levon@movementarian.org>
11264
11265         * BufferView_pimpl.C (dispatch): do not continue when
11266           no buffer
11267
11268 2002-08-28  André Pönitz <poenitz@gmx.net>
11269
11270         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11271
11272         * BufferView.h:
11273         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11274
11275 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11276
11277         * buffer.C: increment LYX_FORMAT to 221
11278
11279         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11280         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11281
11282         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11283
11284         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11285
11286 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11287
11288         * factory.C (createInset): use LyXTextClass::floats
11289
11290         * MenuBackend.C (expandFloatListInsert):
11291         (expandFloatInsert):
11292         (expandToc):
11293
11294         * text2.C (setCounter):
11295
11296         * LaTeXFeatures.C (useFloat):
11297         (getFloatDefinitions):
11298
11299         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11300
11301         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11302         floatlist_, with accessor floats().
11303
11304         * FloatList.h: remove global FloatList
11305
11306 2002-08-26  André Pönitz <poenitz@gmx.net>
11307
11308         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11309
11310         * BufferView.h:
11311         * BufferView2.C:
11312         * BufferView_pimpl.C:
11313         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11314
11315 2002-08-25  John Levon  <levon@movementarian.org>
11316
11317         * LyXAction.C: fix margin note description
11318
11319 2002-08-24  John Levon  <levon@movementarian.org>
11320
11321         * buffer.C:
11322         * bufferlist.C:
11323         * bufferview_funcs.C:
11324         * lyxfont.C:
11325         * undo_funcs.C: cleanups
11326
11327         * lyxfunc.C: disable CUT/COPY when no selection
11328
11329 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11330
11331         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11332         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11333
11334         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11335         Add backward compatibility to "mono", "gray" and "no".
11336
11337 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11338
11339         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11340         (and file_format >= 200).
11341
11342 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11343
11344         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11345
11346 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11349
11350 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11351
11352         * BufferView_pimpl.C:
11353         * LyXAction.C:
11354         * buffer.C:
11355         * commandtags.h:
11356         * lyxfunc.C:
11357         * paragraph.[Ch]:
11358         * text2.C:
11359         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11360         inset and code to make it  work with the paragraph code. The inset
11361         can be anywhere in the paragraph, but will only do the expected
11362         thing in LaTeX if the layout file contains the parameter line
11363                         OptionalArgs    1
11364         (or more generally, a nonzero value) for that layout.
11365
11366 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11367
11368         * paragraph.h: remove the declaration of undefined counters class
11369         function.
11370
11371 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11372
11373         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11374         Dr. Richard Hawkins.
11375
11376 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * paragraph_funcs.h: remove some unneeded includes
11379
11380         * text.C (backspace): pasteParagraph now in global scipe
11381
11382         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11383         (pasteSelection): ditto
11384
11385         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11386         * paragraph_funcs.C (pasteParagraph): ... here
11387
11388 2002-08-20  André Pönitz <poenitz@gmx.net>
11389
11390         * commandtags.h: new LFUNs for swapping/copying table row/colums
11391
11392         * LyXAction.C:
11393         * lyxfunc.C: support for new lfuns
11394
11395 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11396
11397         * tabular.C:
11398         * buffer.[Ch]: remove NO_COMPABILITY stuff
11399
11400 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11401
11402         * boost.C (throw_exception): new file, with helper function for
11403         boost compiled without exceptions.
11404
11405         * paragraph.h:
11406         * lyxlength.C:
11407         * buffer.C:
11408         * ParameterStruct.h:
11409         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11410
11411         * bufferlist.C (emergencyWriteAll): use boost bind
11412
11413         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11414
11415         * text.C: include paragraph_funcs.h
11416         (breakParagraph): breakParagraph is now in global scope
11417
11418         * paragraph_funcs.[Ch]: new files
11419
11420         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11421         global scope
11422
11423         * buffer.C: include paragraph_funcs.h
11424         (insertStringAsLines): breakParagraph is now in global scope
11425
11426         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11427         paragraph_funcs.C
11428
11429         * CutAndPaste.C: include paragraph_funcs.h
11430         (cutSelection): breakParagraphConservative is now in global scope
11431         (pasteSelection): ditto
11432
11433         * buffer.h: declare oprator== and operator!= for
11434         Buffer::inset_iterator
11435
11436         * bufferlist.C (emergencyWrite): don't use fmt(...)
11437
11438         * text3.C: add using std::endl
11439
11440         * BufferView.C (moveCursorUpdate): remove default arg
11441
11442 2002-08-20  André Pönitz <poenitz@gmx.net>
11443
11444         * buffer.[Ch]: move inline functions to .C
11445
11446         * BufferView2.C:
11447         * BufferView_pimpl.C:
11448         * text.C:
11449         * buffer.[Ch]: use improved inset_iterator
11450
11451         * buffer.C:
11452         * paragraph.[Ch]: write one paragraph at a time
11453
11454 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11455
11456         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11457         style if style is not specified.
11458
11459 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11460
11461         * text2.C (setCounter): when searching for right label for a
11462         caption, make sure to recurse to parent insets (so that a caption
11463         in a minipage in a figure float works) (bug #568)
11464
11465 2002-08-20  André Pönitz <poenitz@gmx.net>
11466
11467         * text3.C: new file for LyXText::dispatch() and helpers
11468
11469         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11470
11471         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11472
11473 2002-08-19  André Pönitz <poenitz@gmx.net>
11474
11475         * lyxtext.h:
11476         * text.C: new LyXText::dispatch()
11477
11478         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11479
11480 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11481
11482         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11483
11484         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11485         Hebrew text.
11486
11487 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11488
11489         * Makefile.am: use $(variables) instead of @substitutions@
11490
11491 2002-08-15  André Pönitz <poenitz@gmx.net>
11492
11493         * lyxfunc.C:
11494         * BufferView_pimpl.C: streamlining mathed <-> outer world
11495         interaction
11496
11497         * commandtags.h:
11498         * LyXAction.C: remove unused LFUN_MATH
11499
11500 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11501
11502         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11503
11504 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11505
11506         * paragraph.C (Paragraph): reformat a bit
11507         (cutIntoMinibuffer): use builtin InsetList function instad of
11508         doing it manually.
11509         (getInset): ditto
11510
11511         * buffer.C: include boost/bind.hpp, add using std::for_each
11512         (writeFileAscii): use ParagraphList iterators
11513         (validate): use for_each for validate traversal of paragraphs
11514         (getBibkeyList): use ParagraphList iterators
11515         (resizeInsets): use for_each to resizeInsetsLyXText for all
11516         paragraphs.
11517         (getParFromID): use ParagraphList iterators
11518
11519         * BufferView2.C (lockInset): use paragraph list and iterators
11520
11521 2002-08-14  John Levon  <levon@movementarian.org>
11522
11523         * lyxserver.C: remove spurious xforms include
11524
11525 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11528
11529 2002-08-13  André Pönitz <poenitz@gmx.net>
11530
11531         * LyXAction.[Ch]:
11532         * lyxfunc.C: further cleaning
11533
11534 2002-08-13  André Pönitz <poenitz@gmx.net>
11535
11536         * funcrequest.h: new constructor
11537
11538         * funcrequest.C: move stuff here from .h
11539
11540         * Makefile.am:
11541         * BufferView_pimpl.C:
11542         * LyXAction.C:
11543         * toc.C:
11544         * lyxfunc.C: subsequent changes
11545
11546         * lyxfunc.h: new view() member function
11547
11548         * lyxfunc.C: subsequent changes
11549
11550 2002-08-13  Angus Leeming  <leeming@lyx.org>
11551
11552         * BufferView2.C:
11553         * BufferView_pimpl.C:
11554         * buffer.C:
11555         * converter.C:
11556         * importer.C:
11557         * lyxfunc.C:
11558         * lyxvc.C:
11559         * toc.C:
11560         * vc-backend.C:
11561         changes due to the changed LyXView interface that now returns references
11562         to member variables not pointers.
11563
11564 2002-08-13  Angus Leeming  <leeming@lyx.org>
11565
11566         * WordLangTuple (word, lang_code): return references to strings,
11567         not strings.
11568
11569         * BufferView.h:
11570         * SpellBase.h:
11571         * lyxtext.h: forward-declare WordLangTuple.
11572
11573         * BufferView2.C:
11574         * ispell.C:
11575         * pspell.C:
11576         * text.C: #include "WordLangTuple.h".
11577
11578         * lyxtext.h:
11579         * text.C: (selectNextWordToSpellcheck): constify return type.
11580
11581 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11582
11583         * buffer.C:
11584         * buffer.h:
11585         * lyxtext.h:
11586         * paragraph.C:
11587         * paragraph_pimpl.h:
11588         * text.C:
11589         * text2.C:
11590         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11591         suggested by Angus.
11592         Made updateCounter always count from start of buffer, and removed
11593         second argument (par).
11594         Reverted floats number display to '#'. Perhaps I'll try again when the
11595         code base is sanitized a bit.
11596
11597 2002-08-12  Angus Leeming  <leeming@lyx.org>
11598
11599         * buffer.[Ch] (getLabelList): constify.
11600
11601 2002-08-07  André Pönitz <poenitz@gmx.net>
11602
11603         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11604
11605         * funcrequest.h: extension to keep mouse (x,y) position
11606
11607 2002-08-12  Juergen Vigna  <jug@sad.it>
11608
11609         * BufferView2.C (insertErrors): forbid undo when inserting error
11610         insets.
11611
11612         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11613
11614 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11615
11616         * ParagraphList.[Ch]: new files
11617
11618         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11619
11620         * BufferView2.C (lockInset): ParagraphList changes
11621         * toc.C: ditto
11622         * text2.C: ditto
11623         * bufferlist.C: ditto
11624         * buffer.h: ditto
11625         * buffer.C: ditto
11626
11627 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11628
11629         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11630         unused class variable counter_,
11631
11632         * paragraph.[Ch] (getFirstCounter): delete unused function
11633
11634         * counters.C: include LAssert.h
11635         (reset): add a new function with no arg, change other version to
11636         not have def. arg and to not allow empty arg.
11637
11638         * text2.C (setCounter): remove empty arg from call to Counters::reset
11639
11640 2002-08-11  John Levon  <levon@movementarian.org>
11641
11642         * Makefile.am: add WordLangTuple.h
11643
11644 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11645
11646         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11647         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11648
11649         * insets/insettext.C: InsetList changes
11650
11651         * graphics/GraphicsSupport.C (operator()): InsetList changes
11652
11653         * toc.C (getTocList): InsetList changes
11654
11655         * paragraph_pimpl.[Ch]: InsetList changes
11656
11657         * paragraph.[Ch]: InsetList changes
11658
11659         * buffer.C (inset_iterator): InsetList changes
11660         (setParagraph): ditto
11661         * buffer.h (inset_iterator): ditto
11662         * iterators.C (operator++): ditto
11663         * iterators.h: ditto
11664
11665         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11666
11667         * InsetList.[Ch]: new files, most InsetList handling moved out of
11668         paragraph.C.
11669
11670         * BufferView2.C (removeAutoInsets): InsetList changes
11671         (lockInset): ditto
11672         (ChangeInsets): ditto
11673
11674 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11675
11676         * paragraph_pimpl.h (empty): new function
11677
11678         * paragraph.[Ch] (empty): new function
11679
11680         * other files: use the new Paragraph::empty function
11681
11682 2002-08-09  John Levon  <levon@movementarian.org>
11683
11684         * lyxtext.h: remove unused refresh_height
11685
11686 2002-08-09  John Levon  <levon@movementarian.org>
11687
11688         * Makefile.am:
11689         * sgml.h:
11690         * sgml.C:
11691         * buffer.C:
11692         * paragraph.h:
11693         * paragraph.C: move sgml char escaping out of paragraph
11694
11695         * paragraph.h:
11696         * paragraph.C: remove id setter
11697
11698         * buffer.C:
11699         * paragraph.C:
11700         * paragraph_pimpl.C: remove dead tex_code_break_column
11701
11702         * bufferview_funcs.C: small cleanup
11703
11704         * lyxfunc.C: remove dead proto
11705
11706         * lyxtext.h: make some stuff private. Remove some dead stuff.
11707
11708         * lyxgluelength.C: make as[LyX]String() readable
11709
11710 2002-08-08  John Levon  <levon@movementarian.org>
11711
11712         * LyXAction.h:
11713         * LyXAction.C:
11714         * MenuBackend.C:
11715         * ToolbarDefaults.C:
11716         * lyxfunc.C:
11717         * lyxrc.C:
11718         * toc.C: lyxaction cleanup
11719
11720 2002-08-08  John Levon  <levon@movementarian.org>
11721
11722         * BufferView2.C: small cleanup
11723
11724         * lyxfind.h:
11725         * lyxfind.C: move unnecessary header into the .C
11726
11727 2002-08-08  John Levon  <levon@movementarian.org>
11728
11729         * funcrequest.h: just tedious nonsense
11730
11731         * lyx_main.h:
11732         * lyx_main.C: cleanups
11733
11734         * buffer.C:
11735         * vspace.C: remove dead header lyx_main.h
11736
11737 2002-08-07  Angus Leeming  <leeming@lyx.org>
11738
11739         * Paragraph.[Ch]:
11740         * paragraph_pimpl.h:
11741         Forward declare class Counters in paragraph.h by moving the ctrs member
11742         variable into Paragraph::Pimpl.
11743         (counters): new method, returning a reference to pimpl_->ctrs.
11744
11745         * text2.C: ensuing changes.
11746
11747 2002-08-07  John Levon  <levon@movementarian.org>
11748
11749         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11750
11751         * BufferView_pimpl.C: announce X selection on double/triple
11752           click
11753
11754         * lyx_main.C: use correct bool in batch dispatch
11755
11756         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11757
11758 2002-08-07  André Pönitz <poenitz@gmx.net>
11759
11760         * funcrequest.h: new class to wrap a kb_action and its argument
11761
11762         * BufferView.[Ch]:
11763         * BufferView_pimpl[Ch]:
11764         * LaTeX.C:
11765         * LyXAction.[Ch]:
11766         * lyxfunc.[Ch]:
11767         * lyxrc.C: subsequent changes
11768
11769
11770 2002-08-07  John Levon  <levon@movementarian.org>
11771
11772         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11773           document options change.
11774
11775 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11776
11777         * counters.[Ch]
11778         * text2.C
11779         * paragraph.[Ch]
11780         * makefile.am: move counters functionality over from
11781         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11782
11783 2002-08-06  John Levon  <levon@movementarian.org>
11784
11785         * WordLangTuple.h: new file for word + language code tuple
11786
11787         * SpellBase.h:
11788         * pspell.h:
11789         * pspell.C:
11790         * ispell.h:
11791         * ispell.C:
11792         * lyxtext.h:
11793         * text.C:
11794         * text2.C:
11795         * BufferView.h:
11796         * BufferView2.C: use WordLangTuple
11797
11798         * layout.h:
11799         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11800
11801 2002-08-06  John Levon  <levon@movementarian.org>
11802
11803         * lyx_main.C: fix cmdline batch handling
11804
11805 2002-08-06  André Pönitz <poenitz@gmx.net>
11806
11807         * lyxrc.C: set default for show_banner to true
11808
11809 2002-08-06  John Levon  <levon@movementarian.org>
11810
11811         * pspell.C: fix a crash, and allow new aspell to work
11812
11813 2002-08-06  John Levon  <levon@movementarian.org>
11814
11815         * lyxfunc.C:
11816         * kbmap.C: small cleanup
11817
11818         * vspace.h:
11819         * vspace.C: add const
11820
11821 2002-08-05  John Levon  <levon@movementarian.org>
11822
11823         * LyXAction.C: back to tabular-insert
11824
11825 2002-08-04  John Levon  <levon@movementarian.org>
11826
11827         * BufferView.h:
11828         * BufferView.C: cosmetic change
11829
11830         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11831
11832         * bufferlist.C:
11833         * buffer.h:
11834         * buffer.C:
11835         * lyxcb.h:
11836         * lyxcb.C:
11837         * lyxserver.C:
11838         * lyxvc.C:
11839         * vc-backend.C:
11840         * BufferView2.C: purge all "Lyx" not "LyX" strings
11841
11842         * lyxcursor.h:
11843         * lyxcursor.C: attempt to add some documentation
11844
11845         * lyxfunc.C:
11846         * commandtags.h:
11847         * LyXAction.C:
11848         * ToolbarDefaults.C:
11849         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11850           merge with LFUN_TABULAR_INSERT
11851
11852         * Makefile.am:
11853         * SpellBase.h:
11854         * ispell.h:
11855         * ispell.C:
11856         * pspell.h:
11857         * pspell.C: split up i/pspell implementations into separate
11858           files, many cleanups
11859
11860         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11861
11862         * text2.C: some cleanup
11863
11864         * lyxfunc.C: don't check for isp_command == "none" any more, it
11865           didn't make any sense
11866
11867 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11868
11869         * counters.[Ch]
11870         * text2.C
11871         * paragraph.[Ch]
11872         * makefile.am: move counters functionality over
11873         from text2.C/paragraph.[Ch] to counters.[Ch], and
11874         make proper C++.
11875 2002-08-02  John Levon  <levon@movementarian.org>
11876
11877         * buffer.C: s/lyxconvert/lyx2lyx/
11878
11879 2002-08-02  Angus Leeming  <leeming@lyx.org>
11880
11881         * lyxlex.C: revert John's change as it breaks reading of the user
11882         preamble.
11883
11884 2002-08-02  Angus Leeming  <leeming@lyx.org>
11885
11886         * importer.C (Import):
11887         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11888         changes due to LyXView::view() now returning a boost::shared_ptr.
11889
11890 2002-08-02  John Levon  <levon@movementarian.org>
11891
11892         * lyxlex.C: small cleanup
11893
11894 2002-08-02  John Levon  <levon@movementarian.org>
11895
11896         * text2.C (status): small cleanup, no logic change
11897
11898 2002-08-01  John Levon  <levon@movementarian.org>
11899
11900         * buffer.h:
11901         * buffer.C (writeFile): don't output alerts, caller
11902           handles this
11903
11904         * bufferlist.C:
11905         * lyx_cb.C: from above
11906
11907         * lyxfunc.C: allow to open non-existent files
11908
11909 2002-07-31  John Levon  <levon@movementarian.org>
11910
11911         * lyxserver.C: don't let incidental errors get
11912           in the way (errno)
11913
11914 2002-07-30  John Levon  <levon@movementarian.org>
11915
11916         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11917
11918 2002-07-30  John Levon  <levon@movementarian.org>
11919
11920         * lyxserver.h:
11921         * lyxserver.C: remove I/O callback too
11922
11923 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11924
11925         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11926         log.
11927
11928 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11929
11930         * many files: strip,frontStrip -> trim,ltrim,rtrim
11931
11932 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11933
11934         * PrinterParams.h: remove extern containsOnly, and include
11935         support/lstrings.h instead.
11936
11937         * LaTeX.C (scanAuxFile): modify because of strip changes
11938         (deplog): ditto
11939         * buffer.C (makeLaTeXFile): ditto
11940         * bufferparams.C (writeFile): ditt
11941         * lyxfont.C (stateText): ditto
11942         * lyxserver.C (read_ready): ditto
11943         * vc-backend.C (scanMaster): ditto
11944
11945         * BufferView_pimpl.h: ws changes
11946
11947         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11948
11949 2002-07-26  André Pönitz <poenitz@gmx.net>
11950
11951         * kb_sequence.C: remove unnedred usings
11952
11953 2002-07-26  Juergen Vigna  <jug@sad.it>
11954
11955         * lyxfind.C (LyXReplace): we have to check better if the returned
11956         text is not of theLockingInset()->getLockingInset().
11957
11958 2002-07-25  Juergen Vigna  <jug@sad.it>
11959
11960         * lyxfind.C (LyXReplace): don't replace if we don't get the
11961         right LyXText.
11962
11963         * undo_funcs.C (createUndo): remove debugging code.
11964
11965 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11966
11967         * buffer.C (parseSingleLyXformat2Token): Use default placement
11968         when reading old floats.
11969
11970         * FloatList.C (FloatList): Change the default placement of figure
11971         and tables to "tbp".
11972
11973 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * MenuBackend.C: using std::max
11976
11977 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * MenuBackend.C (expandToc):
11980         (expandToc2): code moved from xforms menu frontend. It is now
11981         generic and TOCs are transparent to menu frontends.
11982
11983 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * toc.C (getTocList): protect against buf=0
11986
11987         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11988         Menu as first parameter. Now, this calls itself recursively to
11989         expand a whole tree (this will be useful for TOC handling)
11990         (expandFloatInsert): remove 'wide' version of floats
11991
11992         * MenuBackend.h (submenuname): returns the name of the submenu.
11993         (submenu): returns the submenu itself, provided it has been
11994         created by MenuBackend::expand
11995
11996 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11999         insets which have noFontChange == true. (bug #172)
12000
12001 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * BufferView_pimpl.C: add connection objects and use them...
12004         (Pimpl): here.
12005
12006 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12007
12008         * MenuBackend.C (expandLastfiles):
12009         (expandDocuments):
12010         (expandFormats):
12011         (expandFloatListInsert):
12012         (expandFloatInsert):
12013         (expand): split expand in parts
12014
12015 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * lyx_gui.C: use lyx_gui::exit()
12018
12019 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * LyXAction.C: show the failing pseudo action
12022
12023 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12024
12025         * buffer.C (readFile): Run the lyxconvert script in order to read
12026         old files.
12027
12028 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12029
12030         * LyXAction.C:
12031         * commandtags.h:
12032         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12033
12034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * LyXAction.C:
12037         * commandtags.h:
12038         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12039
12040 2002-07-22  Herbert Voss  <voss@lyx.org>
12041
12042         * lengthcommon.C:
12043         * lyxlength.[Ch]: add support for the vertical lengths
12044
12045 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * toc.[Ch]: std:: fixes
12048
12049 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12050
12051         * lyxrc.C: do not include lyx_main.h
12052
12053         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12054         for layouts
12055
12056         * lyxrc.C:
12057         * encoding.C:
12058         * bufferlist.C:
12059         * BufferView2.C: include "lyxlex.h"
12060
12061         * tabular.h:
12062         * bufferparams.h: do not #include "lyxlex.h"
12063
12064         * lyxtextclasslist.C (Add): remove method
12065         (classlist): renamed to classlist_
12066
12067         * paragraph_pimpl.C:
12068         * paragraph.C:
12069         * text2.C:
12070         * CutAndPaste.C:
12071         * bufferview_funcs.C:
12072         * bufferlist.C:
12073         * text.C:
12074         * LaTeXFeatures.C:
12075         * buffer.C:
12076         * toc.C (getTocList): use BufferParams::getLyXTextClass
12077
12078         * toc.C (getTocList): use InsetFloat::addToToc
12079
12080         * toc.[Ch]: new files, containing helper functions to handle table
12081         of contents
12082
12083         * lyxfunc.C (dispatch): no need to remove spaces around command
12084         given as a string
12085         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12086         first command of the sequence; it is not very clever, but I do not
12087         have a better idea, actually
12088
12089         * LyXAction.C (LookupFunc): make sure to remove space at the
12090         beginning and end of the command
12091
12092 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * MenuBackend.C (getMenubar): new method: return the menubar of
12095         this menu set
12096         (read): treat differently reading of menu and menubar (in
12097         particular, the menubar has no name now)
12098         (Menu::menubar): remove
12099
12100         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12101         saving is finished
12102
12103 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12104
12105         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12106         a bibitem inset in a RTL paragraph.
12107
12108 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * paragraph_pimpl.C: constify
12111
12112         * BufferView_pimpl.C:
12113         * LaTeX.C:
12114         * lyxfunc.C: fix dispatch in a nicer way
12115
12116 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12117
12118         * lyxfunc.C (dispatch):
12119         * BufferView_pimpl.C:
12120         * BufferView_pimpl.h:
12121         * BufferView.C:
12122         * BufferView.h: rename Dispatch() to dispatch()
12123
12124         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12125
12126         * lyxlayout.C (Read): honor DependsOn tag
12127
12128         * lyxlayout.[Ch] (depends_on): new method
12129
12130         * version.C.in: update lyx_docversion
12131
12132         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12133
12134         * paragraph.C (validate): remove from here...
12135         * paragraph_pimpl.C (validate): ... and move here
12136         (isTextAt): make it const
12137
12138         * buffer.C (getLists): ws cleanup
12139
12140 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12141
12142         * language.C (read): Use iso8859-1 encoding in latex_lang
12143         (this prevents LyX from crashing when using iso10646-1 encoding).
12144
12145 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12146
12147         * text2.C (toggleInset): if cursor is inside an inset, close the
12148         inset and leave cursor _after_ it
12149
12150 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * lyxfunc.C: move minibuffer completion handling out of here
12153
12154 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * BufferView_pimpl.C:
12157         * LaTeX.C: fix dispatch calls
12158
12159 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12160
12161         * text.C (drawChars): Fix Arabic text rendering.
12162
12163 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * LyXAction.C:
12166         * commandtags.h:
12167         * lyxfunc.C: remove message-push/pop
12168
12169         * lyxserver.C:
12170         * lyxfunc.h:
12171         * lyxfunc.C: rationalise some code by removing verboseDispatch
12172           in favour of a bool argument to dispatch()
12173
12174 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * lyx_main.C (init): make sure to read symlinks as absolute paths
12177
12178 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * lyxfunc.h:
12181         * lyxfunc.C: no need for commandshortcut to be a member
12182
12183 2002-07-15  André Pönitz <poenitz@gmx.net>
12184
12185         * converter.C: add support for $$s (scripts from lib/scripts dir)
12186         * lyx_main.C: white space
12187
12188 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * bufferlist.C:
12191         * lyxrc.h:
12192         * lyxrc.C: remove second exit confirmation
12193
12194 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * BufferView.h:
12197         * BufferView.C:
12198         * BufferView2.C:
12199         * BufferView_pimpl.h:
12200         * BufferView_pimpl.C:
12201         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12202
12203 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12204
12205         * MenuBackend.C (expand): add numeric shortcuts to document menu
12206
12207         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12208
12209 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12210
12211         * lyxfont.C (setLyXFamily):
12212         (setLyXSeries):
12213         (setLyXShape):
12214         (setLyXSize):
12215         (setLyXMisc):
12216         (lyxRead):
12217         * debug.C (value):
12218         * buffer.C (asciiParagraph): use ascii_lowercase
12219
12220 2002-07-15  Mike Fabian  <mfabian@suse.de>
12221
12222         * lyxlex_pimpl.C (search_kw):
12223         * lyxlex.C (getLongString):
12224         * converter.h (operator<):
12225         * converter.C (operator<):
12226         * buffer.C (parseSingleLyXformat2Token):
12227         (asciiParagraph):
12228         * ToolbarDefaults.C (read):
12229         * MenuBackend.C (checkShortcuts):
12230         (read):
12231         * LColor.C (getFromGUIName):
12232         (getFromLyXName): use the compare_ascii_no_case instead of
12233         compare_no_case, because in turkish, 'i' is not the lowercase
12234         version of 'I', and thus turkish locale breaks parsing of tags.
12235
12236 2002-07-16  Angus Leeming  <leeming@lyx.org>
12237
12238         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12239         now takes a Buffer const & argument.
12240
12241 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * BufferView.C (resize): check there's a buffer to resize
12244
12245 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * lyxfunc.C: remove dead code
12248
12249         * lyxserver.h:
12250         * lyxserver.C: use lyx_guii::set_read_callback
12251
12252 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12253
12254         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12255         an inset in a RTL paragraph.
12256
12257 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * lyxfunc.C: repaint after a font size update
12260
12261 2002-07-15  André Pönitz <poenitz@gmx.net>
12262
12263         * lyxlength.C: inBP should be able to return negative values
12264
12265 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * lyxfunc.C: use lyx_gui::update_fonts()
12268
12269 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * lyxfunc.C: use lyx_gui::update_color()
12272
12273 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * bufferlist.C:
12276         * lyxfunc.h:
12277         * lyxfunc.C:
12278         * lyxrc.h:
12279         * lyxrc.C: remove file->new asks for name option, and let
12280           buffer-new take an argument
12281
12282 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * BufferView_pimpl.C: remove unneeded extra repaint()
12285
12286 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * LyXAction.C: allow command-sequence with NoBuffer
12289
12290         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12291
12292 2002-07-10  Angus Leeming  <leeming@lyx.org>
12293
12294         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12295
12296 2002-07-09  Angus Leeming  <leeming@lyx.org>
12297
12298         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12299
12300 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * lengthcommon.h: whitespace
12303
12304         * lyxfunc.C: update scrollbar after goto paragraph
12305
12306         * lyxtext.h: factor out page break drawing, and fix it so
12307           page break/added space paints as selected nicely
12308
12309 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * BufferView_pimpl.C: add FIXMEs, clean up a little
12312
12313 2002-07-09  André Pönitz <poenitz@gmx.net>
12314
12315         * lyxfont.[Ch]: support for wasy symbols
12316
12317 2002-07-08  André Pönitz <poenitz@gmx.net>
12318
12319         * BufferView_pimpl.C: apply John's patch for #93.
12320
12321 2002-07-05  Angus Leeming  <leeming@lyx.org>
12322
12323         * BufferView_pimpl.C (buffer): generate previews if desired.
12324
12325         * LColor.h: add "preview" to the color enum.
12326
12327         * LColor.C (LColor): add a corresponding entry to the items array.
12328
12329         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12330         with this buffer.
12331
12332 2002-07-05  Angus Leeming  <leeming@lyx.org>
12333
12334         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12335         The body of the code is now in the method that is passed an ostream &
12336         rather than a file name.
12337         Pass an additional only_preamble parameter, useful for the forthcoming
12338         preview stuff.
12339
12340 2002-07-03  André Pönitz <poenitz@gmx.net>
12341
12342         * lyxfunc.C: simplify getStatus() a bit for math stuff
12343
12344 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12347
12348 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12349
12350         * text.C (changeRegionCase): do not change case of all the
12351         document when region ends at paragraph end (bug #461)
12352
12353 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * paragraph.C (startTeXParParams):
12356         (endTeXParParams): add \protect when necessary
12357
12358 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * BufferView_pimpl.C (workAreaExpose): remove warning
12361
12362 2002-06-27  Angus Leeming  <leeming@lyx.org>
12363
12364         * Makefile.am: add lyxlayout_ptr_fwd.h.
12365
12366 2002-06-26  André Pönitz <poenitz@gmx.net>
12367
12368         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12369
12370 2002-06-25  Angus Leeming  <leeming@lyx.org>
12371
12372         * lyxfunc.C (dispatch): Comment out the call to
12373         grfx::GCache::changeDisplay. The method no longer exists now that the
12374         pixmap generation part of the graphics loader has been moved into
12375         InsetGraphics.
12376
12377 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * text2.C: layout as layout
12380
12381         * text.C: layout as layout
12382
12383         * tabular.C (OldFormatRead): layout as layout
12384
12385         * paragraph_pimpl.C (TeXDeeper): layout as layout
12386         (realizeFont): layout as layout
12387
12388         * paragraph.C (writeFile): layout as layout
12389         (validate): layout as layout
12390         (getFont): layout as layout
12391         (getLabelFont): layout as layout
12392         (getLayoutFont): layout as layout
12393         (breakParagraph): layout as layout
12394         (stripLeadingSpaces): layout as layout
12395         (getEndLabel): layout as layout
12396         (getMaxDepthAfter): layout as layout
12397         (applyLayout): layout as layout
12398         (TeXOnePar): layout as layout
12399         (simpleTeXOnePar): layout as layout
12400         (TeXEnvironment): layout as layout
12401         (layout): layout as layout
12402         (layout): layout as layout
12403
12404         * lyxtextclass.C (compare_name): new functor to work with
12405         shared_ptr, layout as layout
12406         (Read): layout as layout
12407         (hasLayout): layout as layout
12408         (operator): layout as layout
12409         (delete_layout): layout as layout
12410         (defaultLayout): layout as layout
12411
12412         * lyxlayout_ptr_fwd.h: new file
12413
12414         * lyxlayout.C (Read): layout as layout
12415
12416         * lyx_cb.C (MenuInsertLabel): layout as layout
12417
12418         * bufferlist.C (newFile): layout as layout
12419
12420         * buffer.C (readLyXformat2): layout as layout
12421         (parseSingleLyXformat2Token): layout as layout
12422         (insertStringAsLines): layout as layout
12423         (asciiParagraph): layout as layout
12424         (latexParagraphs): layout as layout
12425         (makeLinuxDocFile): layout as layout
12426         (simpleLinuxDocOnePar): layout as layout
12427         (makeDocBookFile): layout as layout
12428         (simpleDocBookOnePar): layout as layout
12429         (getLists): layout as layout
12430
12431         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12432
12433         * CutAndPaste.C (cutSelection): layout as layout
12434         (pasteSelection): layout as layout
12435         (SwitchLayoutsBetweenClasses): layout as layout
12436
12437         * BufferView_pimpl.C (Dispatch): layout as layout
12438         (smartQuote): layout as layout
12439
12440         * BufferView2.C (unlockInset): layout as layout
12441
12442 2002-06-24  André Pönitz <poenitz@gmx.net>
12443
12444         * lyxfunc.C: fix #487
12445
12446 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * lyxrc.h:
12449         * lyxrc.C:
12450         * lyxfunc.C: remove display_shortcuts, show_banner
12451
12452 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * Buffer_pimpl.C: oops, update on resize
12455
12456 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * buffer.C:
12459         * converter.C:
12460         * exporter.C:
12461         * lyxfunc.C:
12462         * BufferView.h:
12463         * BufferView.C: use repaint()
12464
12465         * BufferView_pimpl.h:
12466         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12467           as it's a clearer description. Remove superfluous
12468           redraws.
12469
12470 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * text.C: fix bug 488. Not ideal, but getting
12473           getWord() to work properly for the insets that
12474           matter is more difficult ...
12475
12476 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12477
12478         * BufferView_pimpl.C:
12479         * LyXAction.C:
12480         * commandtags.h:
12481         * lyxfunc.C: remove the six million index lyxfuncs to just
12482           one, and DTRT (bug 458)
12483
12484 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * BufferView.h:
12487         * BufferView.C:
12488         * BufferView_pimpl.h:
12489         * BufferView_pimpl.C: clean up resize() stuff,
12490           and unnecessary updateScreen()s
12491
12492 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * BufferView.h:
12495         * BufferView.C:
12496         * BufferView_pimpl.h:
12497         * BufferView_pimpl.C:
12498         * lyxfind.h:
12499         * lyxfind.C:
12500         * minibuffer.C: remove focus management of workarea,
12501           not needed. Use screen's greyOut()
12502
12503 2002-06-17  Herbert Voss  <voss@lyx.org>
12504
12505         * converter.C: (convert) do not post a message, when converting
12506         fails, let the calling function decide what to do in this case
12507
12508 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * lyxfunc.C: tidy up a little
12511
12512 2002-06-16    <alstrup@diku.dk>
12513
12514         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12515         Got rid of FORMS_H_LOCATION include. Now we are
12516         GUII.
12517
12518 2002-06-15  LyX Development team  <lyx@rilke>
12519
12520         * buffer.[Ch] (sgmlOpenTag):
12521         (sgmlCloseTag): Added support for avoiding pernicious mixed
12522         content. Return number of lines written.
12523
12524         (makeLinuxDocFile):
12525         (makeDocBookFile): Fixed calls to sgml*Tag.
12526         Simple white space clean.
12527
12528         (simpleDocBookOnePar): Simple white space clean.
12529
12530         * tabular.[Ch] (docBook): Renamed to docbook and got another
12531         argument to related with the pernicious mixed content.
12532
12533         (docbookRow): Fixed calls for docbook inset method.
12534
12535 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12536
12537         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12538         so it's X11 independent.
12539
12540         * kb*.[Ch]: ditto.
12541
12542         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12543
12544 2002-06-15  Lyx Development team  <lyx@electronia>
12545
12546         * intl.h: Renamed getTrans to getTransManager.
12547
12548 2002-06-14  Angus Leeming  <leeming@lyx.org>
12549
12550         * Makefile.am: nuke forgotten stl_string_fwd.h.
12551
12552 2002-06-12  Angus Leeming  <leeming@lyx.org>
12553
12554         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12555
12556 2002-06-13  Angus Leeming  <leeming@lyx.org>
12557
12558         * LaTeX.C:
12559         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12560
12561 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12562
12563         * kbmap.C (getiso): add support for cyrillic and greek
12564
12565 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * BufferView.h:
12568         * BufferView.C:
12569         * BufferView_pimpl.h:
12570         * BufferView_pimpl.C: move bogus scrolling logic
12571           to xforms
12572
12573 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * lyxfunc.C:
12576         * BufferView_pimpl.C: view->resize() change
12577
12578 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * BufferView_pimpl.C: topCursorVisible
12581           prototype change
12582
12583 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * Makefile.am:
12586         * lyx_gui.h:
12587         * lyx_gui.C: move to frontends/
12588
12589         * main.C:
12590         * lyx_main.h:
12591         * lyx_main.C: changes from above
12592
12593 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * intl.C:
12596         * intl.h:
12597         * kbmap.C:
12598         * kbsequence.C:
12599         * lyx_cb.C:
12600         * lyx_main.C: minor tidy
12601
12602 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12603
12604         * BufferView_pimpl.h:
12605         * BufferView_pimpl.C:
12606         * BufferView.h:
12607         * BufferView.C: make painter() const,
12608           remove dead code
12609
12610         * BufferView2.C: use screen() accessor
12611
12612         * lyx_main.h:
12613         * lyx_main.C: some minor cleanup
12614
12615 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * BufferView_pimpl.h:
12618         * BufferView_pimpl.C: remove enter/leaveView,
12619           use workHeight()
12620
12621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * BufferView.h:
12624         * BufferView.C:
12625         * BufferView2.C:
12626         * BufferView_pimpl.h:
12627         * BufferView_pimpl.C: only construct screen once,
12628           rename
12629
12630         * lyxrc.C: remove pointless comment
12631
12632 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * BufferView.h:
12635         * BufferView.C: remove active() and belowMouse()
12636
12637         * BufferView_pimpl.h:
12638         * BufferView_pimpl.C: use workarea() not workarea_,
12639           and make it use a scoped_ptr instead
12640
12641 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * lyx_gui.C: add debug message on BadWindow
12644
12645 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * sp_spell.C: fdopen is not part of the C++ standard.
12648
12649         * paragraph.C (InsetIterator): use >= instead of ==
12650
12651 2002-06-07  Angus Leeming  <leeming@lyx.org>
12652
12653         Fixes needed to compile with Compaq cxx 6.5.
12654         * BufferView_pimpl.C:
12655         * DepTable.C:
12656         * buffer.C:
12657         * converter.C:
12658         * encoding.C:
12659         * lyx_gui.C:
12660         * lyx_main.C:
12661         * lyxtextclasslist.C:
12662         * minibuffer.C:
12663         * sp_spell.C:
12664         * tabular_funcs.C:
12665         * vc-backend.C:
12666         all c-library variables have been moved into namespace std. Wrap
12667         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12668
12669         * lyxlength.C:
12670         * tabular-old.C:
12671         * tabular.C:
12672         Add a using std::abs declaration.
12673
12674         * kbmap.h (modifier_pair):
12675         * paragraph.h (InsetTable, InsetList):
12676         * lyxfont.h (FontBits):
12677         type definition made public.
12678
12679         * bufferlist.C (emergencyWriteAll): the compiler complains that
12680         there is more than one possible lyx::class_fun template to choose from.
12681         I re-named the void specialisation as lyx::void_class_fun.
12682
12683         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12684
12685         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12686         the compiler is is unable to find tostr in write_attribute.
12687
12688 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12689
12690         * buffer.C (sgmlError): hide #warning
12691
12692 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * xtl/*: get rid of xtl, which is not in use anyway
12695
12696         * LyXAction.C (init):
12697         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12698         were unimplemented xtl experimentation
12699
12700 2002-06-04  André Pönitz <poenitz@gmx.net>
12701
12702         * lyxfunc.C: disable array operation on simple formulae
12703
12704 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * converter.C: constify a bit
12707
12708 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * lyx_gui.C: check xforms version correctly
12711
12712 2002-04-30  Herbert Voss  <voss@lyx.org>
12713
12714         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12715         "keep" option
12716
12717 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12720           attempt to register it with a VCS)
12721
12722 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12723
12724         * lyx_main.C (init): honor variables LYX_DIR_13x and
12725         LYX_USERDIR_13x
12726
12727 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * buffer.h:
12730         * buffer.C:
12731         * lyx_main.C: fix a crash on bad command line,
12732           and give a useful exit status on error
12733
12734         * lyxfunc.C (doImport): allow -i lyx to work
12735
12736 2002-03-30  André Pönitz <poenitz@gmx.net>
12737
12738         * lyxfunc.C: mathed font changes
12739
12740 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * LaTeX.C:
12743         * importer.h:
12744         * importer.C:
12745         * lyx_sty.h:
12746         * lyx_sty.C:
12747         * lyxlex.C:
12748         * lyxrow.h:
12749         * lyxtext.h:
12750         * paragraph.h:
12751         * paragraph.C:
12752         * texrow.h:
12753         * texrow.C:
12754         * text.C:
12755         * trans_mgr.h: srcdocs, and some minor cleanups
12756
12757 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12758
12759         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12760         call getFont all the time)
12761
12762 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * switch from SigC signals to boost::signals
12765
12766 2002-05-29  André Pönitz <poenitz@gmx.net>
12767
12768         * paragraph_pimpl.C (getChar): don't call size() too often...
12769
12770 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12771
12772         * paragraph_pimpl.C (insertChar): do not try to update tables when
12773         appending (pos == size())
12774
12775         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12776         in order to reduce drastically the number of comparisons needed to
12777         parse a large document
12778
12779 2002-05-29  André Pönitz <poenitz@gmx.net>
12780
12781         * text.C:
12782         * text2.C:
12783         * lyxtextclass.C:
12784         * sp_pspell.h:
12785         * textclasslist.[Ch]:
12786         * sp_ispell.h: whitespace change
12787
12788 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12789
12790         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12791         lyxaction directly now.
12792
12793 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * trans.C:
12796         * lyxfont.C:
12797         * lyxvc.C: remove unused headers
12798
12799 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * Makefile.am:
12802         * buffer.h:
12803         * undostack.h:
12804         * undostack.C:
12805         * undo_funcs.h:
12806         * undo_funcs.C: some cleanups. Use shared_ptr
12807           and a template for the undo stacks.
12808
12809 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * BufferView_pimpl.h:
12812         * BufferView_pimpl.C:
12813         * kbmap.h:
12814         * kbmap.C:
12815         * kbsequence.h:
12816         * kbsequence.C:
12817         * lyxfunc.h:
12818         * lyxfunc.C:
12819         * text2.C: use key_state/mouse_state
12820
12821 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12824         and LSubstring
12825
12826         * chset.C: change include order
12827         (loadFile): use boost regex and get rid of LRegex and LSubstring
12828
12829         * Makefile.am (BOOST_LIBS): new variable
12830         (lyx_LDADD): use it
12831
12832         * LaTeX.C: change include order.
12833         (scanAuxFile): use boost regex and get rid of LRegex and
12834         LSubstring
12835         (deplog): ditto
12836
12837 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12838
12839         * ColorHandler.h:
12840         * ColorHandler.C:
12841         * FontInfo.h:
12842         * FontInfo.C: moved to frontends/xforms/
12843
12844         * FontLoader.h:
12845         * FontLoader.C: moved into frontends for GUIIzation
12846
12847         * Makefile.am:
12848         * lyx_gui.C:
12849         * lyxfont.C:
12850         * lyxfunc.C: changes from above
12851
12852 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * LColor.C: remove spurious X include
12855
12856         * BufferView_pimpl.C:
12857         * Makefile.am:
12858         * font.h:
12859         * font.C:
12860         * text.C:
12861         * text2.C: move font metrics to frontends/
12862
12863 2002-05-24  Juergen Vigna  <jug@sad.it>
12864
12865         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12866         setting the undo_cursor.
12867
12868         * ParagraphParameters.h: include local includes first.
12869
12870 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * BufferView_pimpl.C:
12873         * BufferView_pimpl.h:
12874         * Makefile.am:
12875         * WorkArea.h:
12876         * WorkArea.C:
12877         * screen.C: move WorkArea into frontends/
12878
12879         * lyxscreen.h:
12880         * screen.C:
12881         * text.C:
12882         * BufferView.C:
12883         * BufferView2.C: move LyXScreen into frontends/
12884
12885         * lyxlookup.h:
12886         * lyxlookup.C:
12887         * lyx_gui.C: move lyxlookup into frontends/xforms/
12888
12889 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12890
12891         * BufferView2.C:
12892         * BufferView_pimpl.C:
12893         * FontLoader.C:
12894         * LyXView.h:
12895         * LyXView.C:
12896         * Makefile.am:
12897         * WorkArea.C:
12898         * XFormsView.h:
12899         * XFormsView.C:
12900         * buffer.C:
12901         * bufferlist.C:
12902         * bufferview_funcs.C:
12903         * converter.C:
12904         * importer.C:
12905         * lyx_cb.C:
12906         * lyx_gui.C:
12907         * lyx_main.C:
12908         * lyx_find.C:
12909         * lyxfunc.C:
12910         * lyxvc.C:
12911         * minibuffer.C:
12912         * text.C:
12913         * text2.C:
12914         * trans.C:
12915         * vc-backend.C: move LyX/XFormsView into frontends/
12916
12917 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * Makefile.am:
12920         * PainterBase.C:
12921         * PainterBase.h:
12922         * Painter.C:
12923         * Painter.h:
12924         * WorkArea.C:
12925         * WorkArea.h:
12926         * screen.C:
12927         * tabular.C:
12928         * text.C:
12929         * text2.C: move Painter to frontends/
12930
12931 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * buffer.C: comment out some some code that depend upon lyx_format
12934         < 220
12935
12936         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12937         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12938
12939         * buffer.h (NO_COMPABILITY): turn off compability
12940
12941         * ColorHandler.C: include scoped_array.hpp
12942
12943         * font.C: Use more specific smart_ptr header.
12944         * Painter.C: ditto
12945         * gettext.C: ditto
12946         * ShareContainer.h: ditto
12947         * lyx_main.h: ditto
12948         * kbmap.h: ditto
12949         * FontInfo.h: ditto
12950         * BufferView_pimpl.h: ditto
12951         * ColorHandler.h: ditto
12952
12953         * kbmap.C (defkey): change call to shared_ptr::reset
12954
12955 2002-05-21  Juergen Vigna  <jug@sad.it>
12956
12957         * buffer.C (insertErtContents): fix to insert ert asis if it is
12958         non empty. Skip it completely if it contains only whitespaces.
12959
12960 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * BufferView_pimpl.C:
12963         * BufferView2.C: clear selection on paste (bug 393)
12964
12965 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * DepTable.C: include ctime
12968
12969 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12970
12971         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12972
12973 2002-05-14  Juergen Vigna  <jug@sad.it>
12974
12975         * text.C (breakParagraph): fixed function to honor the keepempty
12976         layout in the right maner and also to permit the right breaking
12977         algorithm on empty or non empyt keepempty paragraphs.
12978
12979         * paragraph.C (breakParagraph): we have to check also if the par
12980         is really empty (!size()) for isempty otherwise we do the wrong
12981         paragraph break.
12982
12983 2002-05-10  Juergen Vigna  <jug@sad.it>
12984
12985         * buffer.[Ch] : The following are only changes to the ert
12986         compatibility read reading old LaTeX layout and font stuff and
12987         convert it to ERTInsets.
12988
12989         * buffer.h: added isErtInset().
12990
12991         * buffer.C (struct ErtComp): add a fromlayout bool to check
12992         if we're inside a LaTeX layout.
12993         (isErtInset): new helper function.
12994         (insertErtContents): look for other ert insets before this one
12995         and insert the contents there, so that we don't have subsequent
12996         ERT insets with nothing between them. This way we create only one
12997         inset with multiple paragraphs. Also check if we don't insert only
12998         spaces ' ' as they are ignored anyway afterwards in the .tex file
12999         so if we have only spaces we will ignore this latex part in the
13000         new file.
13001         (parseSingleLyXformat2Token \\layout): better compatibility when
13002         reading layout-latex stuff.
13003         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13004         language tag.
13005         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13006         stuff after reading the inset only get the information back from
13007         the stack.
13008
13009 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13010
13011         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13012
13013         * LaTeXFeatures.C (getBabelOptions): New method.
13014
13015 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * BufferView_pimpl.C (Dispatch): work around missing argument for
13018         'layout'
13019
13020 2002-05-08  Juergen Vigna  <jug@sad.it>
13021
13022         * text.C (leftMargin): handle paragraph leftindent.
13023
13024         * paragraph.C (writeFile): write the new \\leftindent tag.
13025         (validate): handle leftindent code.
13026         (TeXEnvironment): handle paragraphleftindent code again.
13027
13028         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13029
13030         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13031         for paragrap_extra indent code and new token \\leftindent.
13032         (latexParagraphs): handle the leftindent as environment.
13033
13034         * ParameterStruct.h: added leftindent support.
13035
13036         * ParagraphParameters.C (leftIndent): added support functions for
13037         the paragraph left indent.
13038
13039         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13040         more appropriate.
13041
13042 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13043
13044         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13045         inside insetERT.
13046
13047         * text.C (computeBidiTables): No bidi in insetERT.
13048
13049         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13050         in RTL documents.
13051
13052 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * version.C.in: pre 5
13055
13056 2002-05-02  José Matos  <jamatos@fep.up.pt>
13057         * buffer.C (makeDocBookFile): white space changes, add newline to
13058         command styles.
13059         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13060
13061         * tabular.C (docBook): fix typo.
13062
13063 2002-05-03  Juergen Vigna  <jug@sad.it>
13064
13065         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13066         change in LyXText as we can not be sure it was not freed.
13067         (drawOneRow): remove unused code.
13068
13069         * text.C (drawInset): redo the calculation of the need_break_row as
13070         it could have a row which was already freed.
13071         (draw): look at the return value of drawInset and return false if
13072         it also returned false.
13073         (paintRowText): look at the return value of draw and return false if
13074         it also returned false.
13075
13076         * lyxtext.h: added bool return type to drawInset() and draw() so that
13077         if we have a change in the row so that the rowbreak has to be redone
13078         we abort drawing as it will be called again.
13079
13080 2002-05-02  Juergen Vigna  <jug@sad.it>
13081
13082         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13083         a change in the maintext also if we're inside an inset.
13084         (Dispatch): set the cursor again after a break line and after the
13085         screen has been updated as it could be we're in a different row.
13086
13087         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13088         to set the cursor behind the pargraph with > size().
13089         (setCursor): check also for the same paragraph when checking where
13090         to put the cursor if we have a NFR inset.
13091
13092         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13093         parts of layout read further up as it still was in the wrong
13094         position.
13095
13096 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13097
13098         * screen.C (drawFromTo): change sine fullRebreak always return
13099         true.
13100
13101         * buffer.C (parseSingleLyXformat2Token): reindent some
13102
13103         * BufferView_pimpl.C (update): change since fullRebreak always
13104         return true.
13105         (Dispatch): git rid of the last hardcoded "Standard"s.
13106
13107 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * text2.[Ch] (fullRebreak): make it return void now that we always
13110         returned true.
13111
13112 2002-04-30  Juergen Vigna  <jug@sad.it>
13113
13114         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13115         ert compatibility check for "latex" layout.
13116
13117 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13120         minipages: use col% instead of p%, and also use the current font.
13121         (makeLaTeXFile): Fix use babel condition.
13122         (parseSingleLyXformat2Token): Correct font when reading old floats.
13123
13124 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13125
13126         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13127         inserting list of floats.
13128
13129 2002-04-25  Herbert Voss  <voss@lyx.org>
13130
13131         * MenuBackend.C (expand): don't add the graphics extensions to the
13132         export menu
13133
13134 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13137         non-existing layout, do not complain if it was the default layout
13138         of the original class (bug #342)
13139
13140 2002-04-24  Juergen Vigna  <jug@sad.it>
13141
13142         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13143         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13144
13145 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13146
13147         * buffer.C (getBibkeyList): If using \bibliography, return the
13148         option field with the reference itself. Enables us to provide natbib
13149         support when using \bibliography.
13150
13151 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13152
13153         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13154
13155         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13156         natbib is provided by the LaTeX class.
13157
13158 2002-04-23  Juergen Vigna  <jug@sad.it>
13159
13160         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13161         Wakeup functions.
13162
13163         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13164
13165 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13166
13167         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13168
13169         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13170         ensuremath around textordmasculine, textordfeminine and
13171         textdegree.
13172
13173 2002-04-19  Juergen Vigna  <jug@sad.it>
13174
13175         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13176         reinitializing the buffer otherwise row-dimensions may be wrong.
13177         (update): reset also the selection cursors if they do exits otherwise
13178         their x/y positions may be wrong.
13179
13180         * text2.C (cursorDown): don't enter the inset if we came from a row
13181         above and are one row over the inset.
13182
13183         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13184         really leaving an inset.
13185
13186 2002-04-18  Juergen Vigna  <jug@sad.it>
13187
13188         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13189         of the selected paragraph does not have the selected layout also if
13190         the last one had!
13191
13192         * text2.C (setLayout): fixed bug which did not change last selected
13193         paragraph.
13194
13195         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13196         changed the read and substituted \\end_float with \\end_inset!
13197
13198         * BufferView_pimpl.C (cursorPrevious):
13199         (cursorNext): fixed to make it work with rows heigher than the work
13200         area without moving the cursor only the draw of the row.
13201         (workAreaMotionNotify): fix jumping over high rows.
13202
13203 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13206         Ressler.
13207
13208 2002-04-16  Juergen Vigna  <jug@sad.it>
13209
13210         * text2.C (setCursor): set also the irow().
13211         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13212         (cursorUp):
13213         (cursorDown): support for locking an inset if the x_fix value goes
13214         inside it. That way I can transverse insets too with cursor up/down.
13215
13216         * lyxrow.h: added irow helper function same as other (i) functions.
13217
13218         * BufferView_pimpl.C (cursorPrevious):
13219         (cursorNext): fixed for insets!
13220
13221 2002-04-15  Juergen Vigna  <jug@sad.it>
13222
13223         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13224         position otherwise it is wrong in some cases.
13225
13226         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13227         inside the inset before the call.
13228
13229 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13230
13231         * buffer.[Ch] (getBibkeyList): make it const.
13232
13233 2002-04-12  Juergen Vigna  <jug@sad.it>
13234
13235         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13236
13237         * text2.C (getCursorX): new helper function
13238         (setCursor): compute also ix_
13239         (setCursorFromCoordinates): set also ix.
13240
13241         * lyxcursor.h: added ix_ and helper functions.
13242
13243         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13244
13245         * buffer.C (insertStringAsLines): dont break paragraph if the this
13246         paragraph is inside an inset which does not permit it!
13247
13248         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13249         also with no chars on this paragraph.
13250         (paintRowText): only paint stuff if it's inside the workarea!
13251
13252         * paragraph.C (breakParagraph): honor keepempty flag and break the
13253         paragraph always below not above.
13254
13255         * BufferView2.C (unlockInset): update the paragraph layout on inset
13256         unlock as we changed paragraph in such a case.
13257
13258         * lyxfind.C (LyXFind): clear the former selection if not found!
13259
13260         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13261         again called in insertChar().
13262
13263         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13264         an inset which uses the whole row!
13265         (rightMargin): ditto.
13266         (insertChar): force a rebreak if we inserted an inset!
13267
13268 2002-03-28  Herbert Voss  <voss@lyx.org>
13269
13270         * lyxlength.[Ch]: add inBP() to get the right PS-point
13271         units (BigPoint). With inPixels we have rounding errors
13272
13273 2002-04-11  Juergen Vigna  <jug@sad.it>
13274
13275         * text2.C (setCursorFromCoordinates): set iy to the right value.
13276         (setCursor): add check if row->previous exists!
13277
13278         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13279         an old float_type as this was the case in the old code!
13280
13281         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13282
13283         * BufferView2.C (showLockedInsetCursor): use iy
13284         (fitLockedInsetCursor): ditto
13285
13286         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13287         locked insets as there we have the right value now.
13288
13289         * lyxcursor.C: added iy_ variable and iy functions to set to the
13290         baseline of cursor-y of the locked inset.
13291
13292         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13293         (setCursor): fixed for insets which need a full row.
13294
13295         * text.C (rowLastPrintable): don't ignore the last space when before
13296         an inset which needs a full row.
13297         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13298         as last character of a row when before a inset which needs a full row.
13299
13300 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * version.C.in: update date
13303
13304         * text2.C (fullRebreak): try to always return true and see what
13305         happens...
13306
13307 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13308
13309         * MenuBackend.C (expand): use Floating::listName
13310
13311         * FloatList.C (FloatList): add listName argument to the built-in
13312         floats
13313
13314         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13315         text associated with the float.
13316
13317 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13320
13321 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13322
13323         * ShareContainer.h: add a couple of missing typenames.
13324
13325 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * lyxrc.C (getDescription): use _() correctly rather than N_().
13328
13329 2002-03-28  Herbert Voss  <voss@lyx.org>
13330
13331         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13332         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13333
13334 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13335
13336         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13337         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13338
13339 2002-03-29  Juergen Vigna  <jug@sad.it>
13340
13341         * lyxfunc.C (dispatch): add a missing fitCursor call.
13342
13343         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13344         it was scrolled by a cursor move, so return the bool status.
13345
13346         * BufferView.C (fitCursor): return the bool flag also to the outside
13347         world as this is needed.
13348
13349         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13350
13351         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13352         call the edit() as it is not needed (and wrong) IMO.
13353         (workAreaButtonPress): set the screen_first variable before evt.
13354         unlock the inset as this may change screen_first and then we have
13355         a wrong y position for the click!
13356
13357 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13358
13359         * MenuBackend.C (expand): another translation that I missed
13360
13361 2002-03-28  Juergen Vigna  <jug@sad.it>
13362
13363         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13364
13365         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13366
13367 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13370
13371         * MenuBackend.C (expand): fix export/view/update when there is no
13372         document open.
13373
13374 2002-03-27  Herbert Voss  <voss@lyx.org>
13375
13376         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13377         and text%
13378
13379 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13380
13381         * bufferview_funcs.C (currentState): only show paragraph number
13382         for is DEVEL_VERSION is set.
13383
13384         * lyxfunc.C (dispatch): put warning in INFO channel
13385
13386         * MenuBackend.C (expand): translate the name of floats
13387
13388         * FloatList.C (FloatList): mark the float names for translation
13389
13390         * converter.C (convert): use LibScriptSearch
13391
13392 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13393
13394         * MenuBackend.C (defaults): fix default menu (we might as well get
13395         rid of it...)
13396
13397 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13400         directory.
13401
13402 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * lyxvc.C: reorder includes.
13405
13406 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13407
13408         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13409           properly
13410
13411 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * CutAndPaste.C: change layouts earlier on paste
13414           to avoid crashing when calling getFont()
13415
13416 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13419         irritating #error.
13420
13421 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * WorkArea.C: remove 'Pending' debug message.
13424
13425         * most files: ws cleanup
13426
13427         * buffer.[Ch]: ws changes
13428
13429         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13430
13431 2002-03-21  Juergen Vigna  <jug@sad.it>
13432
13433         * tabular.C (SetMultiColumn): collapse also the contents of the
13434         cells and set the last border right. Added a Buffer const * param.
13435
13436 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13439         linking or not.
13440
13441 2002-03-19  Juergen Vigna  <jug@sad.it>
13442
13443         * text2.C (clearSelection): reset also xsel_cache.
13444
13445         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13446         where it needs to be called (John tells us to do so too :)
13447         (selectionLost): reset sel_cache.
13448
13449         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13450
13451 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13452
13453         * text2.C (setCursorIntern): put debuging code in INSETS channel
13454
13455 2002-03-19  André Pönitz <poenitz@gmx.net>
13456
13457         * lyxfunc.C: tiny whitespace change
13458
13459 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13460
13461         * ToolbarDefaults.C (init):
13462         * LyXAction.C (init):
13463         * commandtags.h:
13464         * BufferView_pimpl.C (Dispatch):
13465         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13466
13467 2002-03-19  Allan Rae  <rae@lyx.org>
13468
13469         * exporter.C (Export): removeAutoInsets before doing anything else.
13470         While I've just introduced a dependency on BufferView this really is
13471         the best place to clean the buffer otherwise you need to cleanup in
13472         a dozen places before calling export or cleanup in a dozen functions
13473         that export calls.
13474
13475         * converter.C (runLaTeX):
13476         (scanLog): Better handling of removeAutoInsets and screen updates.
13477
13478         * lyxfunc.C (dispatch): small whitespace changes
13479
13480 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * WorkArea.C (C_WorkAreaEvent): return a value.
13483         (event_cb): return 1 if we handled the event, 0 otherwise.
13484
13485         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13486
13487 2002-03-18  Juergen Vigna  <jug@sad.it>
13488
13489         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13490         (GetAdditionalWidth): ditto.
13491         (RightLine): ditto.
13492         (LeftLine): ditto.
13493
13494         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13495         inset if we're there actually (probably not used right now but this
13496         is the direction to go for unifying code).
13497         (paste): disable code to clear the selection.
13498
13499         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13500         inside an InsetText and move the check further up as it is in the
13501         wrong place.
13502
13503         * text2.C (pasteSelection): set a selection over the pasted text.
13504
13505 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13506
13507         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13508         and libgraphics to build on Cygwin.
13509
13510 2002-03-15  Juergen Vigna  <jug@sad.it>
13511
13512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13513         inserting an Inset into the paragraph. I know this is not the best
13514         fix but we already use current_view in CutAndPaste so we will remove
13515         all of it's using at the same time.
13516
13517         * buffer.C (sgmlError): deactivated function till it is rewritten in
13518         the right mode, now it can create problems.
13519
13520         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13521         before accessing it.
13522
13523 2002-03-14  Juergen Vigna  <jug@sad.it>
13524
13525         * undo_funcs.C (textHandleUndo): do the right thing when updating
13526         the inset after the undo/redo.
13527
13528         * text2.C (setCursor): just some testcode for #44 not ready yet.
13529
13530         * undo_funcs.C (textHandleUndo): set the next() and previous()
13531         pointers of the paragraph to 0 before deleting otherwise we have
13532         problems with the Paragraph::[destructor].
13533
13534         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13535         on a paragraph insertion.
13536
13537 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * buffer.C (asciiParagraph): use += operator for char append to
13540         string.
13541
13542         * paragraph.C (getFontSettings): compare >= not just >
13543         (highestFontInRange): ditto
13544         (setFont): ditto
13545
13546 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * paragraph.C: change several algorithm to be more appripriate for
13549         the problem domain. This is lookip in FontList and in the InsetList.
13550
13551 2002-03-13  André Pönitz <poenitz@gmx.net>
13552
13553         * commandtags.h:
13554         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13555
13556 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * commandtags.h:
13559         * LyXAction.C:
13560         * lyxfunc.C:
13561         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13562
13563 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * Painter.C (display): anon helper function, adjust code for this
13566         change.
13567         (pixmap): remove function.
13568
13569         * Painter.h: remove private display variable.
13570
13571         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13572
13573 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * WorkArea.[Ch]: remove figinset_canvas cruft.
13576
13577 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * lyxtextclass.C (operator): add one item cache optimization.
13580
13581         * bufferlist.h: doxy changes
13582
13583         * bufferlist.C: ws changes
13584
13585         * DepTable.[Ch] (ext_exist): place const in the right spot.
13586
13587         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13588         call resizeInsets.
13589         (workAreaExpose): call resizeInsets when the with BufferView changes.
13590         (Dispatch): adjust for protectedBlank removal
13591         (specialChar): call updateInset if the insert went ok.
13592
13593         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13594         specialChar instead.
13595
13596         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13597
13598         * BufferView.h: doxy change
13599
13600         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13601
13602         * lyxtextclass.C (operator[]): remove non-const version
13603         (defaultLayout): remove non-const version
13604
13605 2002-03-12  Juergen Vigna  <jug@sad.it>
13606
13607         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13608         did resize the LyXText too.
13609
13610         * buffer.C (readLyXformat2): set layout information on newly allocated
13611         paragraphs.
13612
13613         * tabular.C (OldFormatRead): set layout information on the paragraph.
13614
13615 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13616
13617         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13618
13619 2002-03-11  Juergen Vigna  <jug@sad.it>
13620
13621         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13622         plainly wrong.
13623         (resizeCurrentBuffer): force also the insets to resize themselfes.
13624         (moveCursorUpdate): fixed up for InsetText.
13625
13626 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13627
13628         * commandtags.h:
13629         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13630         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13631         value of Dialogs::tooltipsEnabled().
13632         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13633
13634 2002-03-08  Juergen Vigna  <jug@sad.it>
13635
13636         * BufferView_pimpl.C (updateInset): update inset inside inset also
13637         if it isn't inside theLockingInset().
13638
13639 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13640
13641         * buffer.C (asciiParagraph): redo some of the word and line length
13642         handling.
13643         (getLists): look for Caption instead of caption.
13644
13645 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13646
13647         * buffer.C (Buffer): initialize niceFile to true
13648         (makeLaTeXFile):
13649         (makeLinuxDocFile):
13650         (makeDocBookFile): make sure niceFile is true on exit
13651
13652 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13653
13654         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13655
13656 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13657
13658         * LyXSendto.C: remove.
13659         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13660         * lyx_gui.C: remove now-redundant comment.
13661         * ColorHandler.h: remove forward declaration of class WorkArea.
13662         * lyxfunc.C: remove #include "WorkArea.h".
13663
13664 2002-03-07  Juergen Vigna  <jug@sad.it>
13665
13666         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13667         got moved away with the DEPM and also set the inset_owner always
13668         right which before could have been omitted.
13669
13670 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13673         wanted layout is not found.
13674
13675 2002-03-07  Juergen Vigna  <jug@sad.it>
13676
13677         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13678
13679 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13680
13681         * paragraph.C (breakParagraph): use default layout not layout of
13682         prev paragraph.
13683         (Paragraph): clear ParagraphParameters.
13684
13685 2002-03-06  Juergen Vigna  <jug@sad.it>
13686
13687         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13688         otherwise it would not be a valid lenght. Fixed a special case in
13689         the minipage compatibility read where we end the document with a
13690         minipage.
13691
13692         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13693         was set as it could be 0 for InsetTexts first entry.
13694
13695 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13696
13697         * paragraph.C (writeFile): if layout is empty write out
13698         defaultLayoutName().
13699
13700         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13701         file without named layout we set layout to defaultLayoutName().
13702
13703 2002-03-06  Juergen Vigna  <jug@sad.it>
13704
13705         * CutAndPaste.C (copySelection): set layout for new paragraph.
13706
13707         * text.C (prepareToPrint): leave ERT inset left aligned
13708         (leftMargin): don't indent paragraphs inside ERT insets
13709
13710 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * paragraph.C (breakParagraph): dont call clear do the work manually
13713
13714         * paragraph.[Ch] (clear): remove function
13715
13716 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13717
13718         * paragraph.C (Paragraph): dont call clear, the work has already
13719         been done.
13720
13721         * lyxtextclass.C (operator): assert if n is empty
13722
13723         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13724         work manually instead.
13725
13726 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * BufferView_pimpl.C: protect selectionLost against text == 0
13729
13730 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13731
13732         * text.C (breakParagraph): fix a setting layout to '0' problem.
13733
13734 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13735
13736         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13737         final location of file, for the included files, and graphics.
13738
13739 2002-03-05  Juergen Vigna  <jug@sad.it>
13740
13741         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13742
13743 2002-03-04  Juergen Vigna  <jug@sad.it>
13744
13745         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13746
13747         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13748         last column of multicolumn cells.
13749         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13750
13751 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13752
13753         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13754         file if it doesn't go to a temporary file.
13755
13756         * buffer.C (sgmlOpenTag):
13757         (sgmlCloseTag):  remove extra newline insertion.
13758
13759 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * text.C (getRowNearY): comment out debug msg
13762
13763 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * text2.C: first -> first_y
13766
13767         * text.C (getRowNearY): add some attemts at a possible
13768         optimization, not working.
13769
13770         * tabular.[Ch]: add BufferParams to several function so that newly
13771         created paragraph can be initialized to he default layotu for the
13772         buffers textclass.
13773
13774         * tabular-old.C (ReadOld): add buf->params to call of Init
13775
13776         * screen.C: rename text->first to text->first_y
13777
13778         * paragraph.C (breakParagraph): always set layout in the broken
13779         paragraph
13780
13781         * lyxtextclass.C (Read): remove lowercase
13782         (hasLayout): ditto
13783         (operator): ditto
13784         (delete_layout): ditto
13785
13786         * lyxtext.h: rename first -> first_y
13787
13788         * lyxlayout.C (Read): remove lowercase
13789         (name): ditto
13790         (setName): ditto
13791         (obsoleted_by): ditto
13792
13793         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13794
13795         * buffer.C (insertErtContents): add params are to InsetERT
13796         (parseSingleLyXformat2Token): add code to check if a paragraphs
13797         layout really exist.
13798         (parseSingleLyXformat2Token): add params to several inset
13799         constructors
13800         (asciiParagraph): remove lowercase, do the layout comparisons with
13801         no_case
13802
13803         * BufferView_pimpl.C (cursorNext): first -> first_y
13804         (resizeCurrentBuffer): first -> first_y
13805         (updateScrollbar): first -> first_y
13806         (scrollCB): first -> first_y
13807         (workAreaMotionNotify): first -> first_y
13808         (workAreaButtonPress): first -> first_y
13809         (checkInsetHit): first -> first_y
13810         (cursorPrevious): first -> first_y
13811         (cursorNext): first -> first_y
13812         (Dispatch): add buffer_->params to severl inset contructors
13813
13814 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * lyxlayout.C (Read): remove some debug info that I forgot.
13817
13818         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13819         clean up the code slightly.
13820         (makeLinuxDocFile): ditto
13821         (makeDocBookFile): ditto
13822
13823         * text2.C: layout as string
13824
13825         * text.C: layout as string
13826
13827         * paragraph_pimpl.C: layout as string
13828
13829         * paragraph.[Ch]: layout as string
13830
13831         * lyxtextclasslist.[Ch]: layout as string
13832
13833         * lyxtextclass.[Ch]: layout as string
13834
13835         * lyxtext.h: layout as string
13836
13837         * lyxlayout.[Ch]: layout as string
13838
13839         * lyx_cb.C: layout as string
13840
13841         * bufferview_funcs.C: layout as string
13842
13843         * bufferparams.C: layout as string
13844
13845         * buffer.C: layout as string
13846
13847         * LyXView.[Ch]: layout as string
13848
13849         * LaTeXFeatures.[Ch]: layout as string
13850
13851         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13852
13853         * BufferView_pimpl.C: change current_layout to string, remove
13854         lyx::layout_type.
13855         (Dispatch):
13856         (smartQuote):
13857         (insertInset):
13858         (workAreaButtonRelease): layout as string
13859
13860         * BufferView2.C (unlockInset): adjust
13861
13862         * vspace.C (asLatexCommand): use an explict temp variable.
13863
13864 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13865
13866         * Makefile.am: use FRONTEND_*
13867
13868 2002-03-01  Juergen Vigna  <jug@sad.it>
13869
13870         * tabular.C (SetWidthOfMulticolCell): changed to something better
13871         I hope but still work in progress.
13872         (recalculateMulticolumnsOfColumn): renamed function from
13873         recalculateMulticolCells as it is more appropriate now.
13874         (SetWidthOfCell): calculate multicols better.
13875
13876 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13877
13878         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13879
13880         * lyxfunc.C (processKeySym): print sequence also if it is
13881         `deleted' (complete)
13882
13883         * kbsequence.C (print): print sequence even if it is deleted
13884         (complete would be a better word, actually).
13885
13886         * lyxfunc.C (dispatch): print complete options after a prefix key
13887
13888         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13889
13890 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13891
13892         * text2.C (setCharFont): eliminate setCharFont code duplication.
13893
13894 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13895
13896         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13897         LFUN_TABULAR_FEATURE (bug #177)
13898
13899 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13900
13901         * Makefile.am: remove figure.h
13902
13903 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13904
13905         * Bufferview_pimpl.C:
13906         * CutAndPasteC:
13907         * LaTeX.C:
13908         * LyXSendto.C:
13909         * buffer.C:
13910         * bufferlist.C:
13911         * converter.C:
13912         * language.C:
13913         * lyxfunc.C:
13914         * lyxvc.C:
13915         * paragraph.C:
13916         * text.C:
13917         * text2.C: remove #include "lyx_gui_misc.h".
13918
13919         * LaTeX.C: added #include <cstdio>
13920
13921 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13922
13923         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13924         that the paragraph following this one can have.
13925
13926         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13927
13928         * vspace.C (asLatexCommand): fix bogus gcc warning
13929
13930         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13931
13932 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13933
13934         * text2.C (setLayout): get rid of redundant code
13935
13936 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13937
13938         * text2.C (incDepth): make sure depth cannot be increased beyond
13939         reasonable values.
13940
13941 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13944         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13945
13946         * PainterBase.h (image):
13947         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13948         a LyXImage const *.
13949
13950 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * BufferView.C:
13953         * BufferView.h:
13954         * BufferView_pimpl.C:
13955         * BufferView_pimpl.h:
13956         * LaTeXFeatures.C:
13957         * LyXAction.C:
13958         * LyXView.C:
13959         * Makefile.am:
13960         * UpdateList.h:
13961         * UpdateList.C:
13962         * buffer.C:
13963         * figure.h:
13964         * figureForm.C:
13965         * figureForm.h:
13966         * figure_form.C:
13967         * figure_form.h:
13968         * lyx_cb.C:
13969         * lyx_gui.C:
13970         * lyx_gui_misc.C:
13971         * lyxfunc.C:
13972         * sp_base.h:
13973         * sp_ispell.h:
13974         * sp_pspell.h:
13975         * sp_spell.C: remove fig inset, and the crap house of
13976           cards that follows it
13977
13978 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13979
13980         * Makefile.am:
13981         * lyxserver.C:
13982         * os2_defines.h:
13983         * os2_errortable.h:
13984         * nt_defines.h: move .h into support/
13985
13986         * vms_defines.h: remove
13987
13988         * WorkArea.C: add space in debug output
13989
13990         * text2.C:
13991         * paragraph.C:
13992         * buffer.C: add WITH_WARNINGS
13993
13994         * vc-backend.h:
13995         * vc-backend.C:
13996         * bufferlist.C: s/retrive/retrieve/, add docs
13997
13998         * vspace.h:
13999         * vspace.C:
14000         * kbmap.h:
14001         * lyxlength.h:
14002         * lyxgluelength.h:
14003         * length_common.h:
14004         * chset.h:
14005         * chset.C: add docs
14006
14007         * lyxgui.C: add ID to X error handler
14008
14009         * lyxtestclass.c: fix typo
14010
14011 2002-02-26  Juergen Vigna  <jug@sad.it>
14012
14013         * tabular_funcs.C (write_attribute): changed so that some default
14014         attributes are not written at all.
14015         (getTokenValue): set default values before trying to read the
14016         value so we have the return value always set as default if we don't
14017         find the token we search for.
14018
14019         * tabular.C (Write): write bools as bools not as strings!
14020
14021 2002-02-22  Juergen Vigna  <jug@sad.it>
14022
14023         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14024         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14025
14026         * text.C (leftMargin): don't add an indent for paragraphs inside
14027         tabular cells (fix #208).
14028
14029 2002-02-21  José Matos  <jamatos@fep.up.pt>
14030
14031         * tabular.C (docBook): fixed support for long tables.
14032
14033 2002-02-20  Juergen Vigna  <jug@sad.it>
14034
14035         * text2.C (getFont): get the drawing font of the Inset if this
14036         paragraph is inside an inset (only important for InsetERT for now).
14037
14038         * buffer.C (insertErtContents): use new lanugage params in ERT
14039         constructor.
14040
14041         * CutAndPaste.C: commenting out seemingly uneeded code.
14042
14043 2002-02-19  Allan Rae  <rae@lyx.org>
14044
14045         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14046         Iterators might be simple to use but they also get invalidated.
14047         (removeAutoInsets): renamed saved cursor tracking variables and added
14048         some comments to clarify what everything does.
14049
14050 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * Chktex.C:
14053         * LaTeX.C:
14054         * LyXSendto.C:
14055         * converter.C:
14056         * lyx_cb.C:
14057         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14058         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14059
14060         * lyxfunc.C:
14061         * vc-backend.h: remove #include "support/syscall.h"
14062
14063         * LaTeX.C:
14064         * LyXSendto.C:
14065         * converter.C: rearrange #includes in Lars' approved fashion.
14066
14067         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14068         forward declare class Timeout in the header file.
14069
14070         * XFormsView.C: changes due to the above.
14071
14072         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14073         similar to LyXView.
14074
14075         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14076         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14077
14078 2002-02-18  José Matos  <jamatos@fep.up.pt>
14079
14080         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14081         insets contents.
14082
14083 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14084
14085         * a lot of small ws changes
14086         * add a lot of using std::XXX
14087         * use std construcs some places where approp.
14088         * use some exisint stuff from lyxfunctional where approp.
14089         * Make file changes to use partial linking (lets test this now...)
14090
14091 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14092
14093         * Chktex.C:
14094         * buffer.C:
14095         remove #include "support/syscontr.h" as it's redundant. Always has been.
14096
14097         * Chktex.C:
14098         * LaTeX.C:
14099         * LyXSendto.C:
14100         * converter.C:
14101         * lyx_cb.C:
14102         * vc-backend.C:
14103         change Systemcalls::System to Systemcalls::Wait and
14104         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14105         No change of functionality, just reflects the stripped down Systemcalls
14106         class.
14107
14108 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * debug.[Ch]: add a GRAPHICS type to the enum.
14111
14112 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14113
14114         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14115
14116         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14117         there is an inset.
14118
14119 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14120
14121         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14122         match the changes below.
14123
14124         * text2.C (toggleInset): if there is not editable inset at cursor
14125         position, try to see if cursor is _inside_ a collapsable inset
14126         and close it.
14127
14128 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14129
14130         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14131         document menu has a nice checkbox
14132
14133 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * lyxlength.C (asLatexString): change PW to output as percent of
14136         \textwidth.
14137
14138         * lengthcommon.C: change '%' to 't%'
14139
14140         * lyxfunc.C (dispatch): a few comments from Martin
14141
14142 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14143
14144         * WorkArea.h:
14145         * WorkArea.C:
14146         * BufferView_pimpl.h:
14147         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14148           the X selection.
14149
14150 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * vspace.C (inPixels): fix compiler warning
14153
14154 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14155
14156         * lyxfunc.C (getStatus): fix status message for disabled commands.
14157
14158 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14159
14160         * BufferView_pimpl.C: fix crash on close buffer
14161         during selection (#227)
14162
14163 2002-01-27  Herbert Voss  <voss@lyx.org>
14164
14165         * buffer.C: link old Figure to new graphic inset
14166
14167 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * FontLoader.C (getFontinfo): Change the latex font names in order
14170         to match the names of type1inst.
14171
14172 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14175
14176         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14177         (extchanged): ditto
14178         (ext_exist): ditto
14179         (remove_files_with_extension): ditto
14180         (remove_file): ditto
14181         (write): ditto
14182
14183         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14184         document is smaller than the work area height. Do not initialize
14185         static variables to 0.
14186
14187 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14188
14189         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14190
14191         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14192         LFUN_LAYOUT_PARAGRAPHS.
14193
14194         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14195         tabular. It is possible to provide a possible cell, which will
14196         typically be the actcell from the corresponding insettabular
14197
14198         * lyxfunc.C (getStatus): small cleanup; disable
14199         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14200         true
14201
14202 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14203
14204         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14205
14206         * paragraph.C (startTeXParParams):
14207         (endTeXParParams): new methods. The LaTeX code to
14208         start/end paragraph formatting
14209         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14210         empty (fixes bug #200)
14211
14212         * vspace.C (inPixels): adapt to the change below
14213         (inPixels): [later] more cleanups (remove unused variables)
14214
14215         * lyxlength.C (inPixels): change to use a width and a height as
14216         parameter.
14217
14218 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14221         Replaced with \paperwidth
14222
14223         * DepTable.C (insert): add std:: qualifier
14224
14225 2002-01-18  Allan Rae  <rae@lyx.org>
14226
14227         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14228         updated also?
14229
14230         * text.C (drawInset): Turned out I didn't know enough about how
14231         rebreaking worked.  This fixes most of the redraw problems.  I see
14232         an occasional cursor trail when a line is broken now and the cursor
14233         placement can seem out by a few pixels also after a rebreak.
14234
14235 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14236
14237         * buffer.C (parseSingleLyXformat2Token): update because minipage
14238         width is now a LyXLength
14239
14240         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14241
14242         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14243         math insets
14244
14245 2002-01-17  Juergen Vigna  <jug@sad.it>
14246
14247         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14248
14249         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14250         is set correctly and the inset is updated correctly.
14251
14252 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14253
14254         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14255         the beginning of the loop.
14256
14257 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * lyxrc.C: improve help for use_scalable_fonts
14260
14261 2002-01-17  Allan Rae  <rae@lyx.org>
14262
14263         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14264
14265 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14266
14267         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14268         make sure to set their inset_owner to the right value (bug #171)
14269
14270 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14271
14272         * DepTable.h
14273         * DepTable.C: Implement mtime checking to reduce time spent doing
14274         CRCs.
14275
14276 2002-01-16  Juergen Vigna  <jug@sad.it>
14277
14278         * tabular.C (GetAdditionalHeight): one of error fixed.
14279
14280         * lyxrc.C (output): small fix in writing use_pspell.
14281
14282 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14283
14284         * sp_base.h: #include LString.h
14285
14286 2002-01-16  Allan Rae  <rae@lyx.org>
14287
14288         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14289         Can someone check this please?
14290
14291         * text.C (drawInset): It was possible that p.row would be removed by
14292         breakAgainOneRow upsetting a few other settings.  There may be another
14293         small tweak possible by setting need_break_row = 0 when p.row has been
14294         removed but I don't know enough about the logic here.
14295
14296 2002-01-15  Allan Rae  <rae@lyx.org>
14297
14298         * text.C (insertChar): removed conditional truism.
14299
14300         * BufferView2.C (removeAutoInsets): More tweaks.
14301         cur_par_prev could be a stray pointer.  Check for trailing empty line
14302         in case last line was cur_par and only had an error inset on it.
14303
14304 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14305
14306         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14307         absolute
14308
14309         * vc-backend.C (most methods):
14310         * exporter.C (Export):
14311         * converter.C (convert):
14312         (runLaTeX):
14313         * LyXSendto.C (SendtoApplyCB):
14314         * lyxfunc.C (dispatch):
14315         (menuNew):
14316         (open):
14317         (doImport):
14318         * lyx_cb.C (AutoSave):
14319         (InsertAsciiFile):
14320         * BufferView_pimpl.C (MenuInsertLyXFile):
14321         * buffer.C (runChktex): use Buffer::filePath().
14322
14323         * buffer.h: rename filename to filename_; rename filepath to
14324         filepath_ and make it private
14325         (filePath): new method
14326
14327         * buffer.C (writeFile): use fileName()
14328         (getLatexName):
14329
14330         * lyx_main.C (init): fix starting  of LyX when the binary is a
14331         link from so,ewhere else.
14332
14333         * minibuffer.C: include <cctype> for isprint
14334
14335 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14336
14337         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14338         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14339         name clash with InsetCollapsable's width function.
14340
14341 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * lastfiles.C: include <iterator>
14344
14345 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14346
14347         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14348         std::count.
14349
14350         * buffer.C (makeLaTeXFile): ditto.
14351         Also make loop operation more transparent.
14352
14353 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14354
14355         * ToolbarDefaults.C: remove trailing comma closing namespace.
14356
14357         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14358
14359         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14360         as in WorkArea.
14361
14362         * trans.C (Load): comment out unused variable, allowed.
14363
14364 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14365
14366         * minibuffer.[Ch] (append_char): new method to recieve input from the
14367         drop-down completion browser. If a key was pressed, then recieve this
14368         char and append it to the existing string.
14369         (peek_event): modify the positioning data passed to the completion
14370         browser so that it can be placed above the minibuffer rather than below.
14371 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * LyXAction.C (init): alloe error-next for readonly documents.
14374
14375         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14376         count.
14377
14378 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14379
14380         * bufferlist.C (readFile): create the buffer _after_ checking that
14381         the file exists.
14382
14383         * lyxfunc.C (verboseDispatch): fix handling of arguments
14384
14385         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14386
14387         * lyxrc.C: use string::erase() instead of initializing to "".
14388
14389
14390 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14391
14392         * BufferView_pimpl.h:
14393         * BufferView_pimpl.C:
14394         * WorkArea.h:
14395         * WorkArea.C:
14396         * text2.C: tell X when we have made a selection for copying
14397
14398 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14399
14400         * BufferView_pimpl.C (MenuInsertLyXFile):
14401         * lyxfunc.C (menuNew):
14402         (open):
14403         (doImport): add shortcuts to directory buttons
14404
14405         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14406         open a float)
14407
14408         * lyxfunc.C (setStatusMessage):
14409         (getStatusMessage): new methods
14410         (getStatus):use setStatusMessage instead of setErrorMessage
14411         (dispatch): when function is disabled, set error message here
14412         [instead of in getStatus previously]
14413
14414         * BufferView_pimpl.C (workAreaButtonRelease): update
14415         toolbar/menubar here too.
14416
14417 2002-01-13  Allan Rae  <rae@lyx.org>
14418
14419         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14420         Now seems indestructible.  Remaining task is to audit all other
14421         code affected by deleteEmptyParagraphMechanism.  One small quirk
14422         left is that an empty document with an error in the preamble can
14423         be made to report an error but no error box appears.  I don't know
14424         where it goes.
14425         (removeAutoInsets): Improved comments.
14426
14427 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * Thesaurus.h:
14430         * Thesaurus.C: update for Aiksaurus 0.14
14431
14432 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * text2.C (firstParagraph): removed member function, all uses
14435         replaces with ownerParagraph
14436         (redoParagraphs): here
14437         (updateInset): here
14438         (toggleAppendix): here
14439         * BufferView2.C (insertErrors): here
14440         (setCursorFromRow): here
14441
14442 2002-01-13  Allan Rae  <rae@lyx.org>
14443
14444         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14445         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14446         There is still a way to segfault this although you may have to do this
14447         multiple times: Have an InsetERT with an unknown command in it.
14448         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14449         <down-arrow>, <Enter> again, View->DVI, BANG!
14450
14451         * text2.C (setCursor):
14452         (deleteEmptyParagraphMechanism):
14453         * lyxtext.h (setCursor):
14454         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14455         Making use of the return value may help fix other bugs.
14456
14457 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14458
14459         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14460
14461         * LyXView.C (updateMenubar): call MenuBar::update here
14462         (updateToolbar): but not here
14463         (showState): do not update toolbar/menubar
14464
14465         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14466         should need to care about that.
14467
14468         * lyxfunc.C (verboseDispatch): simplify a bit
14469         (getStatus): have a version which takes a pseudoaction, and
14470         another which requires a (kb_action,string).
14471
14472         * LyXAction.C (retrieveActionArg): make it work also when action
14473         is not a pseudo-action.
14474         (getActionName): simplify a bit
14475         (helpText):
14476
14477 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14478
14479         * lyxfunc.C (verboseDispatch): new families of methods with
14480         several ways to specify a command and a bool to indicate whether
14481         the command name and shortcut should be displayed in minibuffer
14482         (eventually, we could extend that to a finer bitmask like
14483         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14484         (dispatch): the pristine dispatch command which just, well,
14485         dispatchs! Note it still sets its result to minibuffer; I'm not
14486         sure we want that.
14487
14488         * lyxfunc.h: remove setHintMessage
14489
14490         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14491
14492 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14493
14494         * BufferView_pimpl.C (specialChar): delete new inset if we have
14495         not been able to insert it.
14496
14497         * kbmap.C: revert to using int instead of kb_action, since all we
14498         are dealing with is pseudo-actions.
14499
14500         * LyXAction.C (searchActionArg): change to return int instead of
14501         kb_action, since the result is a pseudoaction.
14502
14503 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14504
14505         * buffer.C (insertErtContents): Fix (partially) the font bug.
14506
14507 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14508
14509         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14510         as the other one is broken on my machine!
14511
14512 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14513
14514         * commandtags.h:
14515         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14516
14517 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14518
14519         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14520         reflect their actual use. Provide compatibility code for older lyxrc
14521         files.
14522
14523         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14524         FL_NORMAL_STYLE.
14525         change names of popup font variables in line with the changes to lyxrc.C
14526
14527 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14528
14529         * buffer.C (asciiParagraph): avoid outputing a word twice after
14530         an inset.
14531
14532         * lyxrc.C (getDescription): document that document_path and
14533         template_path can be empty.
14534
14535 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14536
14537         * LaTeXFeatures.C (getMacros):
14538         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14539
14540         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14541
14542         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14543         getPackages.
14544         (getPackages): rename feature "floats" to "float". Use an array to
14545         iterate over 'simple' features (i.e. just a \usepackage). Add
14546         handling of "amsmath" (renamed from "amsstyle").
14547
14548 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14549
14550         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14551         features list.
14552
14553 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14554
14555         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14556         FuncStaus::FuncStatus & FuncStaus::some_method().
14557
14558 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14559
14560         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14561         of the func_satus stuff. Edited and massaged in various ways by
14562         JMarc.
14563
14564         * lyxfunc.C (getStatus): use FuncStatus
14565
14566 2002-01-08  Juergen Vigna  <jug@sad.it>
14567
14568         * text.C (nextBreakPoint): use function Inset::isChar().
14569
14570         * paragraph.C (TeXOnePar): use function
14571         Inset::forceDefaultParagraphs.
14572
14573         * buffer.C (latexParagraphs): use function
14574         Inset::forceDefaultParagraphs.
14575
14576 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14577
14578         * lyx_gui.C (init): set the style of the menu popups to
14579         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14580
14581 2002-01-07  Juergen Vigna  <jug@sad.it>
14582
14583         * text.C (setHeightOfRow): small fix
14584         (prepareToPrint): don't look at alignment if we don't have the place
14585         for doing it.
14586
14587 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14588
14589         * box.C: New file. Move the Box methods and functions out of box.h,
14590         following Lars' suggestion.
14591
14592 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * box.h: #include "support/LOstream.h", needed for inlined function.
14595
14596         * lyxtextclass.C:
14597         * lyxtextclasslist.C: added some using std declarations.
14598
14599 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * box.h: make signed dimensions to allow insets wider than
14602           the screen (bug #162)
14603
14604         * BufferView_pimpl.C: add some insetHit debug
14605
14606 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * vc-backend.C: add FIXME
14609
14610 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14611
14612         * lyxfunc.C (getStatus): enable code for showing math font status
14613         in toolbar/menu.
14614
14615 2002-01-07  Juergen Vigna  <jug@sad.it>
14616
14617         * text.C (nextBreakPoint): removed debug output not needed anymore.
14618
14619 2002-01-06  Juergen Vigna  <jug@sad.it>
14620
14621         * text.C (nextBreakPoint): fixed up this function we had this bug
14622         since ever but now hopefully we break row better.
14623         (insertChar): we have to check if an inset is the next char as it
14624         could now happen that a large inset is causing a break.
14625
14626 2002-01-05  Juergen Vigna  <jug@sad.it>
14627
14628         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14629         if it doesn't like to be drawed.
14630
14631 2002-01-04  Juergen Vigna  <jug@sad.it>
14632
14633         * BufferView2.C (lockInset): forgot to set a cursor.
14634
14635         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14636
14637 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14638
14639         * FormMathsPanel.C:
14640         * FormMathsPanel.h
14641         * MathsSymbols.C:
14642         * form_maths_panel.C:
14643         * form_maths_panel.h:
14644         * form_maths_panel.fd: implemented sub- and super- buttons in math
14645         panel.
14646
14647         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14648         (or ^ space) to be used as in TeX (req'd by Andr�.
14649
14650         * lyxfunc.C: Allow ^ and _ again to be used both as
14651         super/subscript (mathed) and as themselves (in text).
14652
14653 2002-01-03  Allan Rae  <rae@lyx.org>
14654
14655         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14656         "LyX" or the filename of the current buffer if it has one.  This is a
14657         modified form of John Levon's patch.
14658
14659         * XFormsView.C (setWindowTitle): also set icon title.
14660
14661         * LyXView.h (setWindowTitle): signature changed.
14662         * XFormsView.h (setWindowTitle): ditto.
14663
14664 2002-01-02  Juergen Vigna  <jug@sad.it>
14665
14666         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14667
14668 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * screen.C (topCursorVisible): introduce a temp var for
14671         text->cursor.row(), handle the case where this row is null. (kindo
14672         hachish)
14673
14674         * text2.C (setCursor): add a couple of asserts.
14675
14676         * paragraph.h (inset_iterator): add -> operator
14677
14678         * paragraph.[Ch] (autoDeleteInsets): remove member function
14679
14680         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14681         cursor pos correctly and handle inset deletion by itself.
14682         (insertErrors): move iterator declaration out of for expression
14683
14684         * lyxtextclass.C: add <algorithm>
14685
14686         * Makefile.am: added the new files to sources, removed layout.C
14687
14688         * layout.C: removed file
14689
14690         * layout.h: remove LYX_DUMMY_LAYOUT
14691
14692         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14693         layout.
14694
14695         * lyxlayout.[Ch]:
14696         * lyxtextclass.[Ch]:
14697         * lyxtextclasslist.[Ch]: new files
14698
14699         * include order changes to a lot of files, also changes because of
14700         the six new files.
14701
14702 2001-12-27  Juergen Vigna  <jug@sad.it>
14703
14704         * buffer.C (asciiParagraph): more fixes.
14705
14706         * tabular.C (ascii): make ascii export support export of only the
14707         data separated by a column-delimiter.
14708         (ascii): better support for ascii export.
14709
14710         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14711
14712 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14713
14714         * tabular_funcs.C: use a "using std::getline" instead of the
14715         previous fix from Angus (necessary for cxx + lyxstring)
14716
14717 2001-12-24  Juergen Vigna  <jug@sad.it>
14718
14719         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14720
14721         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14722         problems. First check a minipage also if we have some ert-contents
14723         (not only on par->size(), second set the right depth of the paragraph
14724         on the relink to the root-paragraph-list!
14725
14726         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14727         which then did not anymore update the main paragraphs on undo/redo!
14728
14729 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14730
14731         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14732         code. Support all font-changing funcs (even those which are not in
14733         menu currently). Support for reporting font settings in
14734         mathed (disabled until Andre provides a function on mathed's side).
14735
14736         * func_status.h (toggle): small helper function to set toggle
14737         state on a flag.
14738
14739 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14740
14741         * tabular_funcs.C: getline -> std::getline
14742
14743 2001-12-21  Juergen Vigna  <jug@sad.it>
14744
14745         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14746         accessed and could be 0 (I couldn't generate this but it seems
14747         Michael could!).
14748
14749 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14752         * tabular_funcs.h: here and include iosfwd
14753
14754 2001-12-20  Juergen Vigna  <jug@sad.it>
14755
14756         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14757         inside inset but undo_par was.
14758
14759 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14760
14761         * Thesaurus.C: always include <config.h> in sources.
14762
14763         * Painter.h:
14764         * lyxlookup.h:
14765         * box.h: do not include <config.h> in header files
14766
14767         * text.C (paintLastRow): remove unused variable
14768
14769         * text.C (transformChar):
14770         (insertChar):
14771         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14772
14773         * Painter.C (text):
14774         * font.C (width): rewrite to use uppercase() instead of
14775         islower/toupper.
14776
14777         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14778
14779 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * lyxfind.C: clean up of find failure position change
14782
14783 2001-12-20  Juergen Vigna  <jug@sad.it>
14784
14785         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14786
14787         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14788         (TeXRow): added to LaTeX a single tabular row.
14789         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14790         (Latex): simplified and finally good LT-h/f support.
14791         (various_functions): just small adaptions for LT-h/f support.
14792
14793         * tabular_funcs.[hC]: added and moved here all not classfunctions
14794         of LyXTabular.
14795
14796 2001-12-19  Juergen Vigna  <jug@sad.it>
14797
14798         * tabular.[Ch]: better support for longtabular options (not finished
14799         yet!)
14800
14801 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14802
14803         * text.C (paintLastRow): use the label font instead of the font of
14804         the last character to compute the size of *_BOX. This makes more
14805         sense and avoids a crash with empty paragraphs.
14806         Use Painter::rectangle to draw EMPTY_BOX.
14807
14808 2001-12-19  Juergen Vigna  <jug@sad.it>
14809
14810         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14811         the paragraphs if the replaced paragraph is not the first one!
14812         Tried to delete not used paragraphs but does not work yet so for
14813         now it's inside #ifdef's and by default off!
14814
14815 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14816
14817         * MenuBackend.C: include "lyx_main.h" instead of declaring
14818         lastfiles (actually was declared as LastFiles* instead of a
14819         scoped_ptr).
14820
14821 2001-12-17  Juergen Vigna  <jug@sad.it>
14822
14823         * tabular.C (AppendColumn): applied John's fix
14824
14825 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14826
14827         * BufferView.h:
14828         * BufferView.C:
14829         * BufferView_pimpl.h:
14830         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14831
14832         * Makefile.am:
14833         * box.h: new start of class for above
14834
14835         * lyxfunc.C: ignore space-only minibuffer dispatches.
14836           Show the command name when it doesn't exist
14837
14838         * minibuffer.C: don't add empty lines to the history
14839
14840         * minibuffer.C: add a space on dropdown completion
14841
14842 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14843
14844         * text.C: fix line above/below drawing in insets
14845
14846 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * lyxlength.C (LyXLength): Initialize private variables.
14849
14850 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14853         when inserting error insets.
14854
14855 2001-12-13  Juergen Vigna  <jug@sad.it>
14856
14857         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14858         actually sometimes the before-paragraph.
14859         (setUndo): don't clear the redostack if we're not actually undoing!
14860
14861 2001-12-06  Juergen Vigna  <jug@sad.it>
14862
14863         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14864         and fixed redoing of main paragraph, so we can use it now ;)
14865
14866         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14867
14868 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14869
14870         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14871         Juergen's request
14872
14873 2001-12-13  André Pönitz <poenitz@gmx.net>
14874
14875         * undostack.[Ch]:
14876         * undo_func.C: minor cleanup
14877
14878 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14879
14880         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14881         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14882         font in urw-fonts package which is marked as -urw-fontspecific and
14883         does not work (incidentally, changing the encoding in the
14884         fonts.dir of this package to -adobe-fontspecific fixes the
14885         problem).
14886
14887         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14888         is a crash when undoing first paragraph (Juergen, please take a
14889         look). THis does not mean the undo fix is wrong, just that it
14890         uncovers problems.
14891
14892         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14893         the (Paragraph*) version when needed instead of duplicating the
14894         code.
14895
14896         * text.C (workWidth): use Inset::parOwner to find out where the
14897         inset has been inserted. This is a huge performance gain for large
14898         documents with lots of insets. If Inset::parOwner is not set, fall
14899         back on the brute force method
14900
14901         * paragraph_pimpl.C (insertInset):
14902         * paragraph.C (Paragraph):
14903         (cutIntoMinibuffer): set parOwner of insets when
14904         inserting/removing them
14905
14906         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14907
14908 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14909
14910         * commandtags.h:
14911         * LyXAction.C:
14912         * lyx_main.C:
14913         * lyxfunc.C:
14914         * mathed/formulabase.C:
14915         * mathed/math_cursor.[Ch]:
14916         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14917
14918
14919 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14920
14921         * lyxlength.[Ch] (operator!=): new function
14922
14923 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14924
14925         * text.C (workWidth): use Inset::parOwner to find out where the
14926         inset has been inserted. This is a huge performance gain for large
14927         documents with lots of insets. If Inset::parOwner is not set, fall
14928         back on the brute force method
14929
14930         * paragraph_pimpl.C (insertInset):
14931         * paragraph.C (Paragraph):
14932         (cutIntoMinibuffer): set parOwner of insets when
14933         inserting/removing them
14934
14935         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14936
14937 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14938
14939         * tabular-old.C (getTokenValue):
14940         * tabular.C (getTokenValue):
14941         (write_attribute): new versions for LyXLength
14942         (everywhere): adjust the use of widths
14943
14944         * tabular.h: change the type of widths from string to LyXLength
14945
14946 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14947
14948         * paragraph.C: fixed missing line number count when exporting
14949         Environments to LaTeX file
14950
14951         * buffer.C: added informational message for checking line numbers.
14952
14953 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14954
14955         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14956         paragraph, do the 'double space' part, but not the 'empty
14957         paragraph' one.
14958
14959         * text.C (workWidth): small optimization
14960         (getLengthMarkerHeight): use minimal size for negative lengths.
14961
14962 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14963
14964         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14965
14966         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14967
14968 2001-12-11  André Pönitz <poenitz@gmx.net>
14969
14970         * FontLoader.C:
14971         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14972
14973 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * text2.C: keep selection on a setFont()
14976
14977 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyx_cb.C: another bv->text misuse, from insert label
14980
14981 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14982
14983         * kbsequence.h:
14984         * kbsequence.C: re-instate nmodifier mask
14985
14986 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14987
14988         * lyx_main.h: make lyxGUI private.
14989
14990 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * lyxfind.C: place the cursor correctly on failed search
14993
14994 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14995
14996         * text.C (getLengthMarkerHeight): for small heights, the arrows
14997         are not always on top/bottom of the text
14998         (drawLengthMarker): smaller arrows; take the left margin in
14999         account; draw also vfills.
15000         (paintFirstRow):
15001         (paintLastRow): remove special code for vfill and standard spaces,
15002         since everything is handled in drawLengthMarker now.
15003
15004 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15005
15006         * buffer.C (insertErtContents): try to handle font and language
15007         interaction a bit better.g
15008
15009         * ColorHandler.C (updateColor): change the hash to cover the whole
15010         LColor enum, ws cleanup
15011         (getGCLinepars): ditto
15012         (getGCLinepars): only lookup in the linecache once.
15013
15014 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15015
15016         * iterators.C (operator++): Make the iterator more robust
15017
15018         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15019         (John's patch)
15020         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15021
15022 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * lyxtext.h:
15025         * text.C: better added space drawing
15026
15027 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15028
15029         * LyXView.C:
15030         * BufferView2.C: fix layout combo update on inset unlock
15031
15032 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * Makefile.am: don't compile unused files
15035
15036 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * lyxfunc.C:
15039         * commandtags.h:
15040         * LyXAction.C: remove old LFUN_LAYOUTNO
15041
15042 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * paragraph_pimpl.h:
15045         * paragraph_pimpl.C: isTextAt() doesn't need font param
15046
15047 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15048
15049         * lyxlex.h:
15050         * lyxlex.C: little cleanup
15051
15052 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * BufferView_pimpl.C: fix insertAscii for insets
15055
15056 2001-12-05  Juergen Vigna  <jug@sad.it>
15057
15058         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15059         set the right font on the "multi" paragraph paste!
15060
15061 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15062
15063         * trans_decl.h:
15064         * trans_mgr.[Ch]:
15065         * trans.[Ch]:
15066         * lyxgluelength.C:
15067         * lyxlength.C: remove out-commented code.
15068
15069         * BufferView_pimpl:
15070         * CutAndPaste.C:
15071         * DepTable.C:
15072         * buffer.C:
15073         * chset.C:
15074         * lastfiles.C:
15075         * lyxlex.C:
15076         * lyxlex_pimpl.C:
15077         * lyxserver.C:
15078         * screen.C:
15079         * tabular-old.C:
15080         * tabular.C:
15081         * text.C:
15082         * trans_mgr.C:
15083         * vc-backend.C: change "while(" to "while ("
15084
15085         * lyxlength.[Ch]: add zero function to check if length is zero or
15086         not
15087         * lyxgluelength.C: use it
15088
15089 2001-12-05  Allan Rae  <rae@lyx.org>
15090
15091         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15092         Works for 2.95.3, from what I understand of Garst's reports this should
15093         work for other g++ versions.  We're screwed if the abs(int) definition
15094         changed between bugfix releases of gcc.
15095
15096 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * text.C: fix chapter label offset !
15099
15100 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * lyxtext.h:
15103         * text.C: fix hfill at end of line, clean up
15104
15105 2001-12-04  Juergen Vigna  <jug@sad.it>
15106
15107         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15108         that we force an update of the inset and it's owners if neccessary.
15109
15110 2001-12-03  Juergen Vigna  <jug@sad.it>
15111
15112         * text.C (rowLast): simplified code
15113
15114 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * lyxfunc.C: fix show options on timeout
15117
15118 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15119
15120         * screen.C (topCursorVisible): scroll half a page when the cursor
15121         reached top of bottom of screen
15122
15123 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * minibuffer.C: deactivate on loss of focus
15126
15127 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * vspace.[Ch] (operator!=): add operator.
15130
15131 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15132
15133         * BufferView_pimpl.C: refuse to open an inset when
15134         there's a selection.
15135
15136 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * BufferView_pimpl.C: allow to click on RHS of full row insets
15139
15140 2001-11-30  Juergen Vigna  <jug@sad.it>
15141
15142         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15143         insets for undo reasons.
15144
15145 2001-11-28  André Pönitz <poenitz@gmx.net>
15146
15147         * vspace.[Ch]: cosmetical changes
15148
15149 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * LyXAction.h:
15152         * LyXAction.C:
15153         * lyxfunc.h:
15154         * lyxfunc.C:
15155         * kbmap.h:
15156         * kbmap.C:
15157         * lyxrc.C:
15158         * kbsequence.h:
15159         * kbsequence.C: part re-write of old kb code
15160
15161         * Painter.C:
15162         * WorkArea.C: remove Lgb_bug_find_hack
15163
15164 2001-11-30  José Matos <jamatos@fep.up.pt>
15165
15166         * buffer.C (makeDocBookFile): add a comment to point a hack.
15167         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15168         Fixed a double write of labels.
15169
15170 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15171
15172         * LaTeX.C:
15173         * LaTeX.h Fixed bug in LaTeX class where it would not
15174         re-run latex if no depfiles were changed, but the .dvi was removed.
15175
15176 2001-11-28  André Pönitz <poenitz@gmx.net>
15177
15178         * all the files from the change on 2001/11/26:
15179         use lyx::layout_type instead of LyXTextClass::size_type
15180         use lyx::textclass_type instead of LyXTextClassList::size_type
15181
15182 2001-11-29  Juergen Vigna  <jug@sad.it>
15183
15184         * text.C: added support for paragraph::isFreeSpacing()
15185
15186         * buffer.C: same as above
15187
15188         * paragraph.h: inserted isFreeSpacing() function to enable
15189         FreeSpacing inside InsetERT.
15190
15191         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15192         of the paragraph's in the cut/copy buffer to 0!
15193
15194         * text2.C (removeRow): remove the assert as it can!
15195
15196         * lyxtext.h: added helper function firstRow returning firstrow and
15197         made firstrow private again.
15198
15199         * BufferView2.C (lockInset): don't relock if we're already locked!
15200
15201         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15202         the only paragraph.
15203         (removeRow): added Assert::(firstrow)
15204
15205         * debug.C: forgot to add INSETTEXT here.
15206
15207 2001-11-28  Juergen Vigna  <jug@sad.it>
15208
15209         * sp_spell.C (initialize): changed error text to more general
15210         spellchecker command use (not only ispell!)
15211
15212         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15213
15214         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15215
15216 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * vspace.C: initialise lyxgluelength on failure
15219
15220 2001-11-28  Allan Rae  <rae@lyx.org>
15221
15222         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15223         declaration & definition that looks like a function declaration.
15224
15225 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * BufferView2.C (copy):
15228         (copyEnvironment): do not clear the selection when doing a copy.
15229
15230         * text.C (paintFirstRow): compilation fix
15231
15232 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15233
15234         * tabular.C (Latex): correct line count when writing latex.
15235
15236 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15237
15238         * paragraph_pimpl.h:
15239         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15240           bug a bit
15241
15242 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15243
15244         * text.C:
15245         * LColor.h:
15246         * LColor.C: change vfillline->added_space
15247
15248         * text.C: add markers and text for added space
15249
15250         * vspace.C: fix comment
15251
15252 2001-11-28  André Pönitz <poenitz@gmx.net>
15253
15254         * paragraph.C: whitespace changes
15255         * all the other files from the change on 2001/11/26:
15256         change *::pos_type into lyx::pos_type
15257
15258 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15259
15260         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15261         language of the document when inserting error insets.
15262
15263 2001-11-26  André Pönitz <poenitz@gmx.net>
15264
15265         * BufferView_pimpl.[Ch]:
15266         *       CutAndPaste.C:
15267         * buffer.[Ch]:
15268         * lyxcursor.[Ch]:
15269         * lyxfind.C:
15270         * lyxfunc.C:
15271         * lyxrow.[Ch]:
15272         * paragraph.[Ch]:
15273         * paragraph_pimpl.[Ch]:
15274         * sp_spell.C:
15275         * text.C:
15276         * text2.C: reduce header dependencies, introduce type for positions
15277
15278 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15279
15280         * <various>: change to use Alert.h
15281
15282 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15283
15284         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15285         when encountering an unknown token.
15286         (readLyXformat2): Show an error message if there were unknown tokens.
15287
15288 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15289
15290         * BufferView2.C:
15291         * BufferView_pimpl.C:
15292         * buffer.C:
15293         * paragraph.h:
15294         * text.C:
15295         * text2.C: use par->isInset()
15296
15297 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * paragraph_pimpl.h:
15300         * paragraph_pimpl.C: cleanup
15301
15302 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * text2.C (removeRow):
15305         * text.C (setHeightOfRow): remove useless (and costly) call to
15306         getRow.
15307
15308 2001-11-20  Allan Rae  <rae@lyx.org>
15309
15310         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15311         Now need Inset*::checkInsertChar() to return true for appropriate
15312         cases so that the characters in the minibuffer will actually be
15313         inserted.
15314
15315 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15316
15317         * text.C: change the order of the includes.
15318         (workWidth): initialize it at once.
15319         (workWidth): make maxw unsigned
15320         (setHeightOfRow): remove unused variable (inset)
15321         (selectSelectedWord): remove unused variable (inset)
15322         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15323
15324 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15327         server is not running.
15328         (openConnection):
15329         (closeConnection): add debug info when server is disabled.
15330
15331         * ColorHandler.C (getGCForeground): send debug message to GUI
15332         channel.
15333
15334         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15335
15336         * kbmap.C (bind): modify because return conventions of
15337         kb_sequence::parse have changed.
15338
15339         * kbsequence.C (parse): only ignore spaces and not any stupid
15340         control character. This avoids tests like s[i] <= ' ', which are
15341         guaranteed to fail with 8bit characters and signed chars.
15342         Change return code to string::npos when there have been no error
15343         (0 was a bad idea when error is at first character)
15344
15345 2001-11-14  José Matos  <jamatos@fep.up.pt>
15346
15347         * buffer.h:
15348         * buffer.C (simpleDocBookOnePar): removed unused argument.
15349
15350 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15353         insets which are part of a word. Paragraph::isLetter takes care of
15354         that now. Use Paragraph::isInset to identify insets.
15355         (selectSelectedWord): do not test for hyphenation break.
15356
15357         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15358         that protected spaces are considered as spaces.
15359
15360         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15361         Inset::isLetter.
15362
15363 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * lyxserver.h:
15366         * lyxserver.C: fix it. and small cleanup.
15367
15368 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15369
15370         * BufferView_pimpl.C: use inline helpers
15371
15372         * LaTeXFeatures.h:
15373         * LaTeXFeatures.C: fix typos
15374
15375         * Spacing.h:
15376         * Spacing.C: move spacing_string into class
15377
15378         * ToolbarDefaults.C: move stuff into namespace anon
15379
15380         * layout.h: update enum
15381
15382         * lyxfunc.C: use better debug
15383
15384         * minibuffer.h: fix typo
15385
15386         * debug.h:
15387         * debug.C:
15388         * WorkArea.C: add and use Debug::WORKAREA
15389
15390         * lyxtext.h:
15391         * text.C:
15392         * text2.C: code re-organisation, inline helpers
15393
15394 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15395
15396         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15397         std::vector.empty().
15398
15399 2001-11-09  Allan Rae  <rae@lyx.org>
15400
15401         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15402         '\n's after tables.  Tabular and ERT inset work now makes this no
15403         longer necessary.
15404
15405 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15406
15407         * minibuffer.h:
15408         * minibuffer.C: fix crash, improve drop-down completion
15409
15410 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15411
15412         * lyxserver.h:
15413         * lyxserver.C: invalidate fd's when doing endPipe()
15414
15415 2001-11-08  José Matos  <jamatos@fep.up.pt>
15416
15417         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15418         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15419
15420         * paragraph.h:
15421         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15422
15423 2001-11-07  José Matos  <jamatos@fep.up.pt>
15424
15425         * buffer.h:
15426         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15427         const qualifier.
15428
15429         * buffer.C (sgmlOpenTag):
15430         * buffer.C (sgmlCloseTag): removed debug info.
15431
15432         * buffer.h (sgmlOpenTag):
15433         * buffer.h (sgmlCloseTag): made public.
15434
15435 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15436
15437         * buffer.C (saveParamsAsDefaults):
15438         * lyx_cb.C (MenuLayoutSave): remove
15439
15440         * LyXAction.C (init):
15441         * commandtags.h:
15442         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15443
15444 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * buffer.C (setPaperStuff): removed from here...
15447
15448         * bufferparams.C (setPaperStuff): ... and moved there.
15449
15450 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15451
15452         * minibuffer.h:
15453         * minibuffer.C:
15454         * XFormsView.C: add support for drop-down completion
15455
15456 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15457
15458         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15459         commands.
15460
15461 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15464         disabled.
15465
15466 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15467
15468         * lyx_main.C: change ref to known bugs
15469
15470 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15471
15472         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15473         to work around older babel problems.
15474
15475 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15476
15477         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15478
15479 2001-10-24  Juergen Vigna  <jug@sad.it>
15480
15481         * tabular-old.C (ReadOld): below variable changes reflected.
15482
15483         * tabular.[Ch]: added ltType struct for longtable header/footer
15484         defines and changed all instances where they are used. Added
15485         future support for double top/bottom rows.
15486
15487 2001-10-24  José Matos  <jamatos@fep.up.pt>
15488
15489         * buffer.h (docbookHandleCaption):
15490         * buffer.C (docbookHandleCaption): removed unused function.
15491         (makeDocBookFile): moved docbook supported version to v4.1.
15492
15493 2001-10-24  José Matos  <jamatos@fep.up.pt>
15494
15495         * tabular.h:
15496         * tabular.C (docbookRow): new function to export docbook code of a row.
15497         (DocBook): now honors the longtable flags.
15498
15499 2001-10-23  José Matos  <jamatos@fep.up.pt>
15500
15501         * LaTeXFeatures.h:
15502         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15503         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15504
15505         * buffer.C (makeLinuxDocFile):
15506         (makeDocBookFile): reworked the preamble, more clean, and with
15507         support for lyx defined entities. Changed the document declaration
15508         to be more XML friendly.
15509
15510         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15511         if we need to output XML that should be done with a filter.
15512
15513 2001-10-22  Juergen Vigna  <jug@sad.it>
15514
15515         * sp_pspell.h (class PSpell): add alive function needed in the
15516         controller to see if the spellchecker could be started.
15517
15518 2001-10-22  Juergen Vigna  <jug@sad.it>
15519
15520         * buffer.C (insertStringAsLines): modify the font for inserting
15521         chars in certain conditions by calling checkInsertChar(font).
15522
15523 2001-10-19  Juergen Vigna  <jug@sad.it>
15524
15525         * text.C (workWidth): use getRow instead of wrong algorithm.
15526         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15527
15528 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15529
15530         * lyxserver.h:
15531         * lyxserver.C:
15532         * lyx_main.h:
15533         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15534
15535 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15536
15537         * text.C (workWidth): do not search for the exact row when
15538         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15539         optimization for big documents.
15540
15541 2001-10-18  Juergen Vigna  <jug@sad.it>
15542
15543         * text.C (workWidth): new function with added Inset * parameter.
15544
15545 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15546
15547         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15548
15549         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15550         change return type of getColumnNearX.
15551
15552
15553         * text.C (changeRegionCase): use uppercase/lowercase instead of
15554         toupper/tolower.
15555         (leftMargin):
15556         (rightMargin): simplify code by factoring out the uses of
15557         textclasslist.
15558         (labelFill):
15559         (numberOfHfills):
15560         (setHeightOfRow):
15561         (appendParagraph): use Paragraph::size_type
15562
15563 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * vspace.C (asLatexString): add a missing break
15566
15567 2001-10-15  Herbert Voss  <voss@perce.de>
15568
15569         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15570
15571 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15574         is not available.
15575
15576 2001-10-10  André Pönitz <poenitz@gmx.net>
15577
15578         * lyxfunc.C: removed greek_kb_flag.
15579
15580 2001-10-10  Herbert Voss  <voss@perce.de>
15581
15582         * lyx_main.C: delete global string help_lyxdir.
15583
15584 2001-10-09  Herbert Voss  <voss@perce.de>
15585
15586         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15587
15588         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15589
15590         * lyx_main.C: added global string help_lyxdir.
15591
15592         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15593
15594 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15595
15596         * lyxrc.C (set_font_norm_type): support iso8859-4
15597
15598 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15599
15600         * LaTeX.C (deplog): add another regex for MikTeX
15601
15602 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15603
15604         * lyxrc.C (set_font_norm_type): support iso8859-3
15605
15606 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15607
15608         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15609
15610         * LaTeXFeatures.C: remove special case of french and index
15611
15612         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15613         before \begin{document}). This solves several incompatibilities.
15614
15615 2001-10-03  Garst Reese  <reese@isn.net>
15616
15617         * lyx_cb.C: change CheckTex error msg.
15618
15619 2001-10-03  José Matos  <jamatos@fep.up.pt>
15620
15621         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15622
15623 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * .cvsignore: update
15626
15627         * lyx_main.C (commandLineVersionInfo): use new style version info.
15628
15629         * buffer.C (writeFile):
15630         (makeLaTeXFile):
15631         (makeLinuxDocFile):
15632         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15633
15634         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15635
15636         * version.h: update to use stuff in version.C
15637
15638         * version.C.in: new file. Contains version information determined
15639         at compile time. This is a merging of version.h and
15640         version_info.h.in.
15641
15642 2001-10-03  Juergen Vigna  <jug@sad.it>
15643
15644         * BufferView_pimpl.C (update): don't change "dirty" status in
15645         updateInset call.
15646
15647 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15648
15649         * WorkArea.C (c-tor): re-position version string slightly.
15650
15651 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15652
15653         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15654         revert to previous code.
15655
15656         WorkArea.[Ch]: (show, destroySplash): methods removed.
15657
15658         WorkArea.C: rework code so that it's an amalgam of the codes before and
15659         after the splash screen was moved to WorkArea.
15660
15661 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * lyxrc.C (read):
15664         * vspace.C (inPixels):
15665         (lyx_advance):
15666         * kbmap.C (bind):
15667         * buffer.C (insertStringAsLines):
15668         (asciiParagraph): fix types to be large enough
15669
15670         * lyxlex_pimpl.h: change member status from short to int
15671
15672         * layout.h: fix type of endlabeltype
15673
15674         * kbmap.C (bind):
15675         * kbsequence.C (parse): change return type to string::size_type
15676
15677         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15678         variable
15679
15680         * Bullet.C (bulletSize):
15681         (bulletEntry): do not use short ints as parameters
15682
15683         * BufferView2.C (insertLyXFile): change a char to an int.
15684
15685         * WorkArea.C (WorkArea): remove unneeded floats in computation
15686
15687 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15688
15689         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15690
15691         * paragraph.C (asString): Do not ignore newline/hfill chars when
15692         copying to the clipboard.
15693
15694 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15695
15696         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15697         after a multi-line inset.
15698
15699 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15700
15701         * paragraph.C (validate): Set NeedLyXFootnoteCode
15702
15703 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15704
15705         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15706         and decrease-error to decrease.
15707
15708 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15711         it more readable (should be equivalent)
15712
15713 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15714
15715         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15716
15717 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15720         of a cursor (row, etc.) after a character has been deleted
15721         (deleteEmptyParagraphMechanism): call the method above on _all_
15722         cursors held by the LyXText when a double space has been
15723         detected/deleted.
15724
15725 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15726
15727         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15728         pixmap.
15729         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15730
15731         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15732         background. Use greyOut() and the new show() methods to toggle between
15733         the foreground and background. Add code to remove the splash after
15734         its initial showing.
15735
15736         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15737         (create_forms): no longer call Dialogs::showSplash.
15738
15739 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * .cvsignore: add version_info.h
15742
15743 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15744
15745         * version_info.h.in: new file
15746
15747         * Makefile.am: add version_info.h.in
15748
15749         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15750         version_info.h instead of VERSION_INFO
15751
15752 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15753
15754         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15755         The ERT inset now returns string().
15756
15757 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15758
15759         * lyxtext.h, text.C (selectNextWord): renamed as
15760         selectNextWordToSpellcheck.
15761
15762         * text.C (selectNextWordToSpellcheck): Modified to not select
15763         words inside an ERT inset.
15764
15765 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15766
15767         * lyx_cb.C (MenuLayoutSave): change a bit the question
15768
15769         * sp_base.h: include <sys/types.h>
15770
15771 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15772
15773         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15774
15775 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15776
15777         * several files: fix typos in user-visible strings
15778
15779 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15780
15781         * text2.C (pasteSelection): do not set the selection, since it
15782         will be cleared later. Actually, the intent was to fix the way the
15783         selection was set, but I figured rmoving the code was just as good.
15784
15785 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15786
15787         * FontLoader.C (available): Check if font is available without
15788         loading the font.
15789
15790 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15791
15792         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15793
15794 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15795
15796         * lyxrc.[Ch]: added display_graphics variable and associated code.
15797
15798 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15799
15800         * bufferparams.C (hasClassDefaults): new method. Returns true if
15801         the buffer parameters correspond to known class defaults
15802
15803 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15804
15805         * XFormsView.C (show): set minimum size to the main window.
15806
15807 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * text2.C (copySelection):
15810         (cutSelection):
15811         * lyxfind.C (LyXReplace):
15812         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15813         LyXText::selectionAsString.
15814
15815         * paragraph.C (asString): add "label" argument to the second form
15816
15817         * text2.C (selectionAsString): add "label" argument and pass it to
15818         Paragraph::asString.
15819
15820 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15821
15822         * lyx_main.C (commandLineHelp): remove version information
15823
15824 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15825
15826         * lyx_main.C: add -version commandline option
15827
15828 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15829
15830         * paragraph.h: make the optional constructor arg required instead.
15831         some modifications to other files because of this.
15832
15833         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15834
15835         * lyxserver.C (C_LyXComm_callback): make it static
15836
15837         * lyx_main.C (error_handler): make it static
15838
15839         * lyx_gui.C (LyX_XErrHandler): make it static
15840
15841         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15842
15843         * WorkArea.C: make the extern "C" methods static.
15844
15845         * Makefile.am (lyx_LDADD): simplify
15846
15847 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15848
15849         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15850         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15851
15852         * LyXAction.C (init):
15853         * lyxfunc.C (dispatch): associated code removal.
15854
15855 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15856
15857         * lyxfont.h (isSymbolFont): shut off warning
15858
15859         * text.C (setHeightOfRow):
15860         (getVisibleRow): fix crash with empty paragraphs which have a
15861         bottom line
15862
15863 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15864
15865         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15866         code.
15867
15868 2001-09-04  José Matos  <jamatos@fep.up.pt>
15869         * buffer.C
15870         * buffer.h
15871         * tabular.C (docbook): rename docBook method to docbook.
15872
15873 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15874
15875         * Makefile.am: add dependencies to main.o.
15876
15877 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15878
15879         * FontLoader.C (available): Return false if !lyxrc.use_gui
15880
15881 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15882
15883         * FontInfo.C (query):
15884         * converter.C (view):
15885         * importer.C (Import):
15886         * exporter.C (Export): Can not -> cannot.
15887
15888 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15889
15890         * BufferView_pimpl.C: allow to create index inset even if
15891           string is empty
15892
15893 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15894
15895         * buffer.C (getLists): replace boost::tie code with an explicit pair
15896         as boost::tie can break some compilers.
15897
15898         * iterators.h: Added a std:: declaration to the return type of
15899         ParIterator::size.
15900
15901 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15902
15903         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15904           case.
15905
15906 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15907
15908         * iterators.[Ch]: New files. Provide paragraph iterators.
15909
15910         * buffer.C (changeLanguage): Use paragraph iterators.
15911         (isMultiLingual): ditto
15912
15913         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15914
15915 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * FontLoader.C: Support for cmr font.
15918
15919 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15920
15921         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15922         (available): New method.
15923
15924         * FontInfo.C (getFontname): Use scalable fonts even when
15925         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15926         found.
15927
15928 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15929
15930         * converter.C (Formats::view): reverted! Incorrect fix.
15931
15932 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15933
15934         * converter.C (Formats::view): only output the -paper option
15935         if the dvi viewer is xdvi, thereby fixing bug #233429.
15936
15937 2001-08-23  Herbert Voss  <voss@perce>
15938
15939         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15940
15941 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15942
15943         * Spacing.h (Spacing): Set space to Default on in the default
15944         constructor.
15945
15946 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15947
15948         * vc-backend.h (RCS::versionString): add RCS to version
15949         (CVS::versionString): add CVS to version
15950
15951         * vc-backend.C (scanMaster): do not add CVS to version.
15952         (scanMaster): do not add RCS to version
15953
15954         * lyxvc.C (versionString): new method
15955
15956         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15957
15958 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * Spacing.C (set): initialize fval
15961
15962 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15963
15964         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15965         " or \.
15966
15967 2001-08-16  Juergen Vigna  <jug@sad.it>
15968
15969         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15970
15971 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15972
15973         * BufferView_pimpl.C:
15974         * figureForm.C:
15975         * lyxtext.h:
15976         * text2.C: setParagraph takes linespacing now
15977
15978 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15979
15980         * LyxAction.C: add internal LFUN_CITATION_INSERT
15981
15982         * LyXView.C: actually apply fix
15983
15984         * bufferlist.C: fix open non-existent file
15985
15986         * lyxfind.C: fix indentation
15987
15988         * lyxfunc.C: remove unneeded assert, fix typo
15989
15990 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15991
15992         * MenuBackend.C: use "Floatname List"
15993
15994 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15995
15996         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15997         when converting LaTeX layout to insetERT.
15998         Generate a non-collapsed float when reading old float
15999
16000 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16003         ERT insets.
16004
16005 2001-08-13  Juergen Vigna  <jug@sad.it>
16006
16007         * text.C (fill): return 0 instead of 20 as this seems to be the more
16008         correct value.
16009
16010 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16011
16012         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16013         lyxrc.font_norm.
16014
16015 2001-08-13  Juergen Vigna  <jug@sad.it>
16016
16017         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16018         casesensitive off.
16019         (SearchBackward): comment out the unlocking of the inset_owner this
16020         should not be needed!
16021
16022 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16023
16024         * Many files: Remove inherit_language, and add latex_language
16025
16026         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16027         collapsible insets.
16028
16029 2001-08-10  Juergen Vigna  <jug@sad.it>
16030
16031         * text.C (prepareToPrint): fixed hfill-width in draw!
16032
16033         * BufferView2.C (selectLastWord): save the selection cursor as this
16034         now is cleared in the function LyXText::clearSelection!
16035
16036 2001-08-08  Juergen Vigna  <jug@sad.it>
16037
16038         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16039         BACKSPACE type functions.
16040
16041         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16042         is only cutted from the document but not put in the cut-buffer, where
16043         still the old stuff should be.
16044
16045         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16046
16047         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16048
16049         * tabular.C (SetWidthOfCell): fixed special case where the width
16050         was not updated!
16051         (LeftLine): handle '|' in align_special.
16052         (RightLine): ditto
16053         (LeftAlreadyDrawed): ditto
16054         (SetWidthOfCell): ditto
16055
16056 2001-08-07  Juergen Vigna  <jug@sad.it>
16057
16058         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16059
16060 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16063         * lyxlex.[hC]: ditto
16064
16065 2001-08-06  Juergen Vigna  <jug@sad.it>
16066
16067         * text.C (getVisibleRow): fix up row clearing a bit.
16068
16069 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * minibuffer.C: make sure the X server sees the changes in the input.
16072
16073 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * paragraph.C (getFont): split into...
16076         (getLabelFont): this
16077         (getLayoutFont): and this
16078         * paragraph_pimpl.C (realizeFont): calling this
16079
16080         * text2.C (getFont): split into...
16081         (getLayoutFont): this
16082         (getLabelFont): and this
16083         (realizeFont): all three calling this
16084
16085         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16086         files where used.
16087
16088 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16089
16090         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16091
16092 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16093
16094         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16095         layouts from the Quote inset insertion.
16096
16097 2001-08-03  Juergen Vigna  <jug@sad.it>
16098
16099         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16100
16101         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16102         only if status not is already CHANGED_IN_DRAW (second level).
16103
16104         * text.C (draw): don't set the need_break_row when inside an
16105         InsetText LyXText.
16106
16107 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16108
16109         * buffer.C (parseSingleLyXformat2Token): handle more latex
16110         conversion cases.
16111
16112         * bufferview_funcs.[hC]: change function names to
16113         begin with small char, adjust other files.
16114
16115 2001-08-02  André Pönitz <poenitz@gmx.net>
16116
16117         * lyxfunc.C:
16118         BufferView_pimpl.C: remove broken special code for math-greek
16119
16120 2001-08-02  Juergen Vigna  <jug@sad.it>
16121
16122         * BufferView_pimpl.C (update): redone this function so that we
16123         update the text again if there was a CHANGE_IN_DRAW.
16124
16125         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16126         (drawFromTo): added a new internal bool which is used by draw() and
16127         redraw() function.
16128         (general): some cursor drawing problems fixed.
16129
16130 2001-08-01  Juergen Vigna  <jug@sad.it>
16131
16132         * lyxfind.C (LyXFind): fixed
16133         (SearchForward): ditto
16134         (SearchBackward): ditto
16135
16136         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16137         spurius drawing of the cursor in the main area.
16138
16139         * text2.C (status): small fix which could lead to a segfault!
16140         (clearSelection): remove unneeded BufferView param.
16141
16142 2001-08-01  André Pönitz <poenitz@gmx.net>
16143
16144         * lyxfunc.C: small change due to changed mathed interface
16145
16146 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16147
16148         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16149
16150 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16151
16152         * lyxfunc.c: fail gracefully if file doesn't exist
16153
16154         * LyXSendto.C:
16155         * buffer.C:
16156         * lyxfunc.C:
16157         * BufferView_pimpl.C: IsDirWriteable() proto changed
16158
16159         * LyXView.C: fix updateWindowTitle() to store the last title
16160
16161 2001-07-31  Juergen Vigna  <jug@sad.it>
16162
16163         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16164         the font (wrong since using of Paragraph::highestFontInRange).
16165
16166         * paragraph.C (highestFontInRange): added a default_size parameter.
16167
16168         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16169         (setHeightOfRow): reformat
16170
16171 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16172
16173         * converter.[hC] + affected files: move to (inital-char)lowercase
16174         function names.
16175
16176         * ParagraphParameters.C (ParagraphParameters): remove commented code
16177
16178         * PainterBase.[Ch]: remove commented code
16179
16180         * LaTeXFeatures.h: add "bool floats" for float.sty
16181
16182         * LaTeXFeatures.C (LaTeXFeatures): init floats
16183         (require): handle float
16184         (getPackages): do it with floats
16185
16186 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * BufferView_pimpl.C (Dispatch): improve handling of
16189         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16190
16191         * commandtags.h: #include lyxfont.h here temporarily to avoid
16192         keybinding bug.
16193
16194         * bufferlist.h: include LString.h here.
16195
16196 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16197
16198         * text2.C (getStringToIndex): new method.
16199
16200 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16201
16202         * *: Reduced header file dependencies all over.
16203
16204 2001-07-30  Baruch Even  <baruch@lyx.org>
16205
16206         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16207
16208 2001-07-29  Baruch Even  <baruch@lyx.org>
16209
16210         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16211
16212 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16213
16214         * ParameterStruct.h (endif): add a default constructor to make
16215         sure that all variables is initialized.
16216
16217         * ParagraphParameters.C (ParagraphParameters): adjust
16218
16219 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16220
16221         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16222         index; also, check that there is something to index, and that it
16223         does not span over several paragraphs.
16224         (doubleClick): use WHOLE_WORD_STRICT for double click.
16225
16226         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16227
16228         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16229         scheme.
16230
16231 2001-07-26  Baruch Even  <baruch@lyx.org>
16232
16233         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16234         an InsetFig figure, backwards compatible reading of old figure code.
16235
16236 2001-07-27  Juergen Vigna  <jug@sad.it>
16237
16238         * text2.C: font.realize function adaption.
16239
16240         * text.C (draw): add a warnings lyxerr text if needed.
16241
16242         * layout.C: font.realize function adaption.
16243
16244         * language.C: add inherit_language and implement it's handlings
16245
16246         * bufferview_funcs.C (StyleReset): remove language parameter from
16247         font creation (should be language_inherit now).
16248
16249         * bufferparams.C (writeFile): handle ignore_language.
16250
16251         * paragraph.C (getFontSettings): the language has to be resolved
16252         otherwise we have problems in LyXFont!
16253
16254         * lyxfont.C (lyxWriteChanges): added document_language parameter
16255         (update): removed unneeded language parameter
16256
16257         * paragraph.C (validate): fixed wrong output of color-package when
16258         using interface colors for certain fonts in certain environments,
16259         which should not seen as that on the final output.
16260
16261 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16262
16263         * BufferView_pimpl.C:
16264         * Thesaurus.h:
16265         * Thesaurus.C:
16266         * Makefile.am:
16267         * commandtags.h:
16268         * LyXAction.C: add thesaurus support
16269
16270         * lyxfind.h:
16271         * lyxfind.C: add "once" parameter, for thesaurus, to not
16272           move to the next match
16273
16274 2001-07-26  Juergen Vigna  <jug@sad.it>
16275
16276         * lyxfont.C (realize): honor ignore_language too!
16277         (resolved): ditto.
16278
16279         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16280
16281         * text.C (draw): one place more for ignore_language to not draw
16282         itself!
16283
16284 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16285
16286         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16287
16288 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16291         the minipage conversion problem.
16292
16293 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16296         insert an inset.
16297
16298 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16299
16300         * BufferView.h: don't forward declare WorkArea
16301
16302         * BufferView.C: don't include WorkArea.h
16303
16304 2001-07-25  André Pönitz <poenitz@gmx.net>
16305
16306         * commandtags.h:
16307         * LyXAction.C:
16308         * lyxfunc.C:  new LFUN 'math-space'
16309
16310         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16311
16312 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * text2.C (toggleInset): call open/close
16315
16316 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16317
16318         * lyxfunc.C (dispatch): add debug for the disabled case
16319
16320         * font.C (buttonText): make similar to rectText
16321
16322         * buffer.C (readInset): comment out parsing of insetlist and
16323         insttheorem
16324
16325         * PainterBase.C (rectText): small correction
16326
16327         * BufferView_pimpl.C: comment out insettheorem and insetlist
16328         * LyXAction.C: ditto
16329         * commandtags.h: ditto
16330
16331 2001-07-24  Juergen Vigna  <jug@sad.it>
16332
16333         * text.C (draw): honor the ignore_language.
16334
16335         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16336
16337 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16338
16339         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16340         char inset.
16341
16342 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16343
16344         * lyxtext.h: remove unused (and unimplemented) methods
16345
16346 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16347
16348         * text.C (getVisibleRow): honor background color
16349
16350         * PainterBase.h:
16351         * Painter.h: remove default color argument for fillRectangle
16352
16353         * text.C (backgroundColor): new method
16354
16355 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * text.C (getVisibleRow): adjust
16358
16359         * font.[Ch] (rectText): new method, metrics
16360         (buttonText): new method, metrics
16361
16362         * PainterBase.[hC]: make rectText and buttonText always draw and take
16363         fewer paramteres.
16364
16365 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16366
16367         * ToolbarDefaults.C (read):
16368         * MenuBackend.C (read): allow escaping in all strings
16369
16370         * BufferView_pimpl.C (insertAndEditInset): new method.
16371         (Dispatch): use insertAndEditInset whenever appropriate.
16372
16373         * BufferView_pimpl.C (insertNote): removed
16374
16375         * BufferView_pimpl.C (smartQuote): new method, moved from
16376         BufferView; if an insetquote cannot be inserted, insert a '"'
16377         character instead.
16378
16379         * BufferView2.C: remove insertCorrectQuote();
16380
16381         * lyxfunc.C (getStatus): Add support for all remaingin
16382         inset-insert lfuns.
16383
16384         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16385
16386         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16387         command (necessary to pass " as parameter of self-insert.
16388
16389         * text.C (selectWordWhenUnderCursor):
16390         (selectWord): add word_location parameter
16391         (selectWordWhenUnderCursor): same + remove special code for word
16392         boundary.
16393         (selectNextWord): use kind() to guess type of insetspecialchar,
16394         not latex().
16395
16396         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16397         (insertErtContents): create ert insets as collapsed.
16398         (readInset): better compatibility code for Info inset.
16399
16400 2001-07-20  Juergen Vigna  <jug@sad.it>
16401
16402         * lyxfunc.C (dispatch): use always LyXFind now!
16403
16404         * text2.C (init): add a reinit flag so that the LyXText can be
16405         reinited instead of deleted and reallocated (used in InsetText).
16406
16407         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16408
16409         * text.C: ditto
16410
16411         * text2.C: ditto
16412
16413 2001-07-18  Juergen Vigna  <jug@sad.it>
16414
16415         * text.C (selectNextWord): handle insets inside inset by calling
16416         always the bv->text functions so that we can go up the_locking_inset!
16417
16418         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16419         in strange locations when inside an inset!
16420
16421         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16422         handling to include insets.
16423
16424         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16425
16426 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * LyXAction.C (init):
16429         * commandtags.h:
16430         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16431         LIGATURE_BREAK, since the name is so stupid.
16432
16433 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16434
16435         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16436         InsetInfos.
16437
16438         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16439
16440         * sp_form.[Ch]: remove.
16441
16442         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16443
16444         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16445         InsetInfo.
16446
16447         * src/buffer.C (readInset): ditto.
16448
16449 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16450
16451         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16452         menuSeparator(), endOfSentenceDot(), ldots() and
16453         hyphenationPoint(), which are therefore removed.
16454         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16455
16456         * LyXAction.C (init):
16457         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16458
16459         * paragraph.C (getWord): removed.
16460
16461         * BufferView_pimpl.C (Dispatch): use last word or selection for
16462         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16463
16464         * lyx_main.C (queryUserLyXDir): do not ask before creating
16465         user_dir, except if it has been named explicitely.
16466
16467 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16468
16469         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16470         a document of zero size.
16471
16472 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16473
16474         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16475         approriately in the c-tor and in require().
16476         (getPackages): output the appropriate LaTeX for natbib support.
16477
16478         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16479         variables "use_natbib" and "use_numerical_citations" when reading the
16480         LyX file.
16481         (readInset): read the various natbib cite commands.
16482         (validate): white-space change.
16483
16484         * bufferparams.[Ch]: new variables "bool use_natbib" and
16485         "bool use_numerical_citations".
16486         (writeFile): output them in the LyX file.
16487
16488 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16489
16490         * lyxfunc.C (getStatus): add support for all the inset insertion
16491         commands.
16492
16493         * text2.C (insertInset):
16494         * paragraph.C (insetAllowed):
16495         * BufferView_pimpl.C (insertInset): update to take in account the
16496         renaming of insertInsetAllowed
16497
16498         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16499
16500         * text2.C (getInset): new method. returns inset at cursor position.
16501
16502         * BufferView_pimpl.C (Dispatch): changes because of this.
16503
16504         * LyXAction.C (init): rename open-stuff to inset-toggle.
16505
16506         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16507
16508         * text2.C (toggleInset): renamed from openStuff; use
16509         Inset::open().
16510
16511 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16512
16513         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16514
16515         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16516
16517 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16518
16519         * buffer.C (readLyXformat2): Add filename to the error dialog
16520
16521 2001-07-18  Juergen Vigna  <jug@sad.it>
16522
16523         * tabular.C (GetCellNumber): put an assert here instead of the check!
16524
16525 2001-07-17  Juergen Vigna  <jug@sad.it>
16526
16527         * BufferView_pimpl.C (toggleSelection): adapted too.
16528
16529         * text.C (selectNextWord): adapted for use with insets.
16530         (selectSelectedWord): ditto
16531
16532 2001-07-17  Juergen Vigna  <jug@sad.it>
16533
16534         * sp_spell.C (PSpell): fix initialitation order.
16535
16536 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16537
16538         * paragraph.C: spacing
16539
16540 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16541
16542         * sp_spell.C: repair language selection for pspell
16543
16544 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16545
16546         * lyxfunc.h: change more methods to begin with lower char.
16547
16548 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16549
16550         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16551         for unknown layouts.
16552
16553 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16554
16555         * buffer.C (readLyXformat2): Generate an error dialog if there are
16556         unknown layouts.
16557
16558 2001-07-16  Juergen Vigna  <jug@sad.it>
16559
16560         * sp_spell.C: always compile ISpell part.
16561
16562         * lyxrc.C: added use_pspell entry and it's handling.
16563
16564 2001-07-13  Juergen Vigna  <jug@sad.it>
16565
16566         * sp_spell.C: removed double includes.
16567
16568 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16569
16570         Consistent use of Lsstream.h:
16571         * Lsstream.h: added using std::stringstream for consistencies sake.
16572
16573         * buffer.C: removed using std::stringstream
16574
16575         * lyxfont.C (stateText):
16576         * paragraph.C (asString):
16577         * text.C (selectNextWord, selectSelectedWord):
16578         * text2.C (setCounter):
16579         * vspace.C (asString, asLatexString):
16580         std::ostringstream -> ostringstream.
16581
16582 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16583
16584         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16585         * commandtags.h: add LFUN_HELP_ABOUTLYX
16586         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16587
16588 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16589
16590         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16591         cursorToggle()
16592         * lyx_gui_misc.C: remove spellchecker
16593         * lyxfunc.C: showSpellchecker
16594         * sp_base.h: added
16595         * sp_ispell.h: added
16596         * sp_pspell.h: added
16597         * sp_spell.C: added
16598         * sp_form.[Ch]: removed
16599         * spellchecker.[Ch]: removed
16600
16601 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16602
16603         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16604         is set.
16605         (simpleTeXSpecialChars): Simply print the input character without
16606         any special translation if pass_thru is set.
16607
16608         * layout.h: Added bool pass_thru to layout class for being able to
16609         implement pass through of a paragraph for Literate Programming.
16610
16611         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16612         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16613         * layout.C (Read): add "passthru" to list of layout tags and add
16614         code to set the pass_thru boolean when it is read.
16615
16616 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * trans_decl.h: remove allowed from KmodInfo
16619
16620         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16621         remove allowed code
16622         (Load): adjust
16623
16624         * paragraph_pimpl.C (erase): use boost::prior
16625
16626         * Painter.C (text): use data() instead of c_str() when length is
16627         also provided.
16628         * WorkArea.C (putClipboard): ditto
16629         * font.h (width): ditto
16630
16631         * BufferView2.C: use it-> instead of (*it). for iterators
16632         * texrow.C: ditto
16633         * paragraph_pimpl.C: ditto
16634         * paragraph.C: ditto
16635         * minibuffer.C: ditto
16636         * language.C: ditto
16637         * kbmap.C: ditto
16638         * encoding.C: ditto
16639         * counters.C: ditto
16640         * converter.C: ditto
16641         * chset.C: ditto
16642         * Variables.C: ditto
16643         * TextCache.C: ditto
16644         * MenuBackend.C: ditto
16645         * LyXAction.C: ditto
16646         * LColor.C: ditto
16647         * FloatList.C: ditto
16648         * DepTable.C: ditto
16649         * ColorHandler.C (LyXColorHandler): ditto
16650
16651 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16652
16653         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16654
16655         * text2.C (openStuff): reintroduce this method (which had been
16656         nuked in NEW_INSETS frenzy).
16657
16658         * lyxfunc.C (Dispatch): when an action has not been handled, use
16659         its name in the error message, not its number.
16660
16661         * paragraph.C (inInset): change method name to begin with lowercase.
16662
16663         * undo_funcs.C:
16664         * text2.C: updates because of this.
16665
16666 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16667
16668         * ToolbarDefaults.C (add): add spaces in error message
16669
16670 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16671
16672         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16673         (readLyXformat2): rename return_par to first_par, use lyxlex's
16674         pushToken and remove the manual push handling.
16675         (parseSingleLyXformat2Token): add another ert comp. variable:
16676         in_tabular, rename return_par to first_par. handle newlines better
16677
16678 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16681
16682 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16683
16684         * text2.C (getParFromID): removed
16685
16686         * buffer.C (getParFromID): new method moved form lyxtext.
16687         * BufferView2.C (insertErrors): adjust
16688         (setCursorFromRow): adjust
16689         * BufferView_pimpl.C (restorePosition): adjust
16690         * lyxfunc.C (Dispatch): adjust
16691         * undo_funcs.C (textUndo): adjust
16692         (textRedo): adjust
16693         (textHandleUndo): adjust
16694         (textHandleUndo): adjust
16695
16696 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * buffer.C: up' the LYX_FORMAT
16699
16700         * lyxfont.h: turn NO_LATEX on as default
16701
16702         * buffer.C (insertErtContents): new methods of tex style compability.
16703         (parseSingleLyXformat2Token): use it several places.
16704         * tabular.C (OldFormatRead): and here
16705
16706 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * text2.C: remove some commented code.
16709         reindent file.
16710
16711         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16712         * trans.C: changes because of the above.
16713
16714 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16715
16716         * text2.C (setCounter): Fix counters bug with bibliography layout.
16717
16718 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16719
16720         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16721         own member functions
16722         (simpleTeXSpecialChars): ditto
16723
16724 2001-07-06  Juergen Vigna  <jug@sad.it>
16725
16726         * a lot of files: changed the access to LyXText::status and the
16727         call of undo-functions.
16728
16729         * undo.[Ch]: added a inset_id to the undo informations.
16730
16731         * undo_funcs.[Ch]: added and moved here all undo functions.
16732
16733         * lyxtext.h: give the status enum a weight, made status_ a private
16734         variable and made accessor functions for it, removed the whole bunch
16735         of undo-functions as they are now in their own file, make some
16736         functions publically available. Added function ownerParagraph with
16737         int parameter.
16738
16739         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16740         made InInset() a const function, added getParFromID() function.
16741
16742         * buffer.[Ch]: added const version for inset_iterator functions,
16743         added getInsetFromID() function.
16744
16745         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16746         changed undo functions for new version.
16747
16748 2001-07-05  Juergen Vigna  <jug@sad.it>
16749
16750         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16751         unknow mechanism does not call the proper constructor but only this
16752         one also if I request the other!?
16753
16754 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16755
16756         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16757
16758         * text2.C (LyXText): use initialization lists.
16759
16760         * lyxtext.h (Selection): initialize set_ and mark_
16761         (init): remove method
16762
16763 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16764
16765         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16766
16767 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16768
16769         * screen.[Ch]: change method names to begin with lowercase
16770
16771         * BufferView_pimpl.C (updateScrollbar): simplify further and
16772         hopefully make it a bit faster.
16773
16774 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16777         calling directly xforms functions.
16778
16779         * Painter.C (Painter):
16780         * lyx_cb.C (MenuWrite):
16781         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16782         fl_display.
16783
16784         * lyx_gui.C: remove bogus guiruntime extern declaration.
16785
16786 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16787
16788         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16789         in NEW_INSETS
16790         (redoDrawingOfParagraph): ditto
16791         (redoParagraphs): ditto
16792         (cutSelection): don't create a object for CutAndPaste use the
16793         static method directly
16794         (pasteSelection): ditto
16795
16796         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16797         LyXview (+ rename)
16798
16799 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16800
16801         * modifications to some other files because of this.
16802
16803         * Makefile.am (lyx_SOURCES): add XFormsView
16804
16805         * XFormsView.[Ch]: new files
16806
16807         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16808         the main window. Move the gui dependent stuff to XFormsView
16809
16810 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16811
16812         * tabular.C (GetCellInset): update cur_cell also in the row/col
16813         version of this function.
16814
16815         * lyxfunc.C: no need to include figure_form.h here.
16816
16817         * FontLoader.h:
16818         * lyxfunc.h:
16819         * lyxscreen.h:
16820         * text2.C:
16821         * lyxvc.C: no need to include forms.h here.
16822
16823 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16824
16825         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16826
16827         * lyxfunc.C (Dispatch):
16828         * Spacing.C (set):
16829         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16830         constructor argument.
16831
16832 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16833
16834         * paragraph.C (Paragraph): dont't clear, and just set layout.
16835         (makeSameLayout): use params's copy contructor.
16836
16837         * ParagraphParameters.[Ch] (makeSame): delete method
16838
16839 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16840
16841         * Variables.[Ch]: fix indentation, rename set to isSet
16842
16843 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * lyxfunc.C (Dispatch): fix typo
16846
16847 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16850         upper_bound.
16851
16852         * bufferlist.C: include assert.h for emergencyWrite().
16853
16854 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16855
16856         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16857           give up at last (bug #425202) !
16858
16859 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16860
16861         * lyx_gui_misc.C:
16862         * sp_form.h:
16863         * sp_form.C:
16864         * spellchecker.h:
16865         * spellchecker.C: strip spellchecker options and bring up
16866           preferences tab instead
16867
16868 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16869
16870         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16871         the istringstream constructor
16872
16873 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16874
16875         * paragraph.C (getLayout): fix return value
16876
16877         * paragraph.h: do not declare getLayout as inline.
16878
16879         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16880
16881 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16882
16883         * lyxcursor.h (operator<): new func
16884         (operator>): new func
16885         (operator>=): new func
16886         (operator<=): new func
16887
16888         * text.C (changeCase): use selection.start and selection.end
16889         (changeRegionCase): require from to be <= to. Require par to be a
16890         valid paragraph.
16891
16892         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16893
16894 2001-06-27  Juergen Vigna  <jug@sad.it>
16895
16896         * text.C (cursorLeftOneWord): changed to return the cursor and added
16897         overlay with BufferView * parameter which calls this one.
16898         (getWord): added
16899         (selectWord): use new getWord function.
16900         (changeCase): renamed from changeWordCase as and extended to work
16901         also on selections.
16902
16903         * lyxtext.h: added enum word_location
16904
16905         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16906         changeCase as this operates now also on selections.
16907
16908 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16909
16910         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16911
16912         * many files: send debug output to Debug::INFO instead of
16913         Debug::ANY.
16914
16915         * converter.C (View):
16916         (Convert):
16917         (Move): send debug output to Debug::FILES instead of console.
16918
16919 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16920
16921         * lyxfunc.C (getStatus): use func_status
16922
16923         * func_status.h: new header, describing the results of
16924         LyXFunc::getStatus;
16925
16926         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16927         LFUN_MATH_HALIGN.
16928
16929 2001-06-25  The LyX Project  <jug@sad.it>
16930
16931         * buffer.C (sgmlOpenTag):
16932         (sgmlCloseTag):
16933         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16934
16935 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16936
16937         * text2.C: remove some dead code
16938
16939         * tabular.C (GetCellInset): store the last cell checked (gotten)
16940
16941         * tabular.h: add the helper for the speedup
16942
16943         * lyxtext.h: remove some dead code
16944
16945 2001-06-26  The LyX Project  <Asger>
16946
16947         * paragraph.C: Change export to LaTeX of alignment to
16948         \begin{center} and family for better roundtrip work with reLyX.
16949
16950         * Tune the math drawing a bit.
16951
16952 2001-06-25  The LyX Project  <Asger>
16953
16954         * LColor.C (LColor): New color for math background. New color
16955         for buttons.
16956
16957 2001-06-25  The LyX Project  <jug@sad.it>
16958
16959         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16960
16961         * lyxfunc.C (Open):
16962         * bufferlist.C (newFile): do not restrict to files ending with
16963         .lyx
16964
16965         * BufferView_pimpl.C (MenuInsertLyXFile):
16966
16967 2001-06-24  The LyX Project  <jug@sad.it>
16968
16969         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16970         of compare_no_case
16971
16972 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16973
16974         * lyxtext.h: rename most methods to begin with a small char.
16975         Lots of changes because of this.
16976
16977         * paragraph.C (Paragraph): do not call fitToSize
16978         (erase): call Pimpl::erase
16979         (insertChar): call Pimpl::insertChar
16980         (insertInset): call Pipl::insertInset
16981         (breakParagraph): do not call fitToSize
16982         (breakParagraphConservative): do not call fitToSize
16983         (fitToSize): remove method
16984
16985         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16986
16987 2001-06-24  The LyX Project  <Asger>
16988
16989         * Fix Qt compilation^2
16990
16991 2001-06-24  The LyX Project  <jug@sad.it>
16992
16993         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16994         depthHook(getDepth()-1).
16995
16996         * paragraph.h:
16997         * ParagraphParameters.h:
16998         * ParameterStruct.h: change type of depth to unsigned int ==
16999         depth_type. Many adaptations to other files before of that.
17000
17001 2001-06-24  The LyX Project  <Asger>
17002
17003         * Fix Qt compilation.
17004
17005 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17006
17007         * paragraph.h: renamed several methods to begin with small letter.
17008         several changes to many parts of the code because of this.
17009
17010 2001-06-23  The LyX Project  <jug@sad.it>
17011
17012         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17013         rewritten to discard all double spaces when KeepEmpty is off
17014         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17015         to only handle newlines but not fiddle with spaces and friends.
17016
17017         * lyxfunc.C (MenuNew): when doing 'new from template', use
17018         template_path as default directory
17019
17020 2001-06-23  The LyX Project  <Asger>
17021
17022         * Clean-up of header file includes all over
17023         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17024
17025 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17026
17027         * paragraph.h: renamed from lyxparagraph.h
17028
17029 2001-06-23  Asger  <lyx@violet.home.sad.it>
17030
17031         * Buffer.h: Removed Buffer::resize
17032         * BufferList.h: Removed BufferList::resize
17033         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17034         the document lazily when we change the width, or the font settings.
17035
17036 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17037
17038         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17039
17040 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17041
17042         * buffer.h: remove out of date comment
17043
17044 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17045
17046         * lyxscreen.h:
17047         * screen.C: fix "theoretical" GC leak
17048
17049 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17050
17051         * LaTeX.C (scanAuxFile):
17052         (deplog): remove trailing \r when reading stream (useful under
17053         win32)
17054
17055 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17056
17057         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17058         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17059         and BufferView::theLockingInset(Inset*), so should use them and not
17060         access bv_->text->the_locking_inset directly.
17061
17062         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17063
17064 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17065
17066         * Makefile.am:
17067         * tex-defs.h: remove old unused file
17068
17069 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17070
17071         * BufferView_pimpl.C: fix typo, remove minibuffer message
17072           when buffer has loaded
17073
17074 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17075
17076         * lyxfunc.C (Dispatch): use stringstream
17077         (MenuNew): use stringstream
17078         (Open): use stringstream
17079
17080         * importer.C (Import): use stringstream
17081
17082         * bufferview_funcs.C (CurrentState): use stringstream
17083
17084         * LaTeX.C (run): use stringstream
17085
17086         * BufferView_pimpl.C (savePosition): use stringstream
17087         (restorePosition): use stringstream
17088         (MenuInsertLyXFile): use stringstream
17089
17090 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17091
17092         * BufferView.C:
17093         * Bullet.C:
17094         * ColorHandler.C:
17095         * FontInfo.C:
17096         * FontLoader.C:
17097         * LColor.C:
17098         * LaTeXFeatures.C:
17099         * Painter.C:
17100         * gettext.C:
17101         * lyx_gui_misc.C:
17102         * lyxserver.C:
17103         * vspace.C: removed // -*- C++ -*- as first line.
17104
17105         * lyxfind.h:
17106         * version.h: added // -*- C++ -*- as first line.
17107
17108 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17109
17110         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17111
17112         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17113         of string
17114
17115 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17116
17117         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17118         of floats.
17119
17120 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17121
17122         * gettext.C: include LString.h even when --disable-nls is on.
17123
17124 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17125
17126         * converter.h (Get): changed argument type from int to
17127         FormatList::size_type to avoid unnecessary conversion.
17128
17129         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17130         before using it.
17131
17132 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17133
17134         * gettext.h: include LString.h even when --disable-nls is on.
17135
17136 2001-06-07  Juergen Vigna  <jug@sad.it>
17137
17138         * text.C (BreakAgain): subst spaces with tabs.
17139
17140         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17141         (resizeInsetsLyXText): set force on resizeLyXText.
17142
17143 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17144
17145         * gettext.h (gettext_init):
17146         (locale_init): use a real definition instead of a macro
17147
17148 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17149
17150         * Bufferview_pimpl.C:
17151         * LColor.h:
17152         * LColor.C: further lcolor tidies
17153
17154 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17155
17156         * BufferView_pimpl.C (updateScrollbar): simplify.
17157
17158         * BufferView2.C: don't include insets/insetinfo.h, change
17159         prototype for insertInset and call the Pimpl version. let
17160         updateInset call Pimpl version.
17161
17162         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17163         gotoInset to BufferView::Pimpl
17164
17165 2001-06-01  Juergen Vigna  <jug@sad.it>
17166
17167         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17168         inside a LockingInset (is the update needed at all?).
17169
17170 2001-05-31  Juergen Vigna  <jug@sad.it>
17171
17172         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17173         here not the old one otherwise how should we compare it afterwards
17174         if it's the same!
17175
17176 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * lyxfont.C:
17179         * tabular.C:
17180         * tabular-old.C:
17181         * FontInfo.C: bring C functions into global namespace when
17182         necessary
17183
17184 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17185
17186         * LString.h: make sure config.h has been loaded before LString.h.
17187
17188         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17189         (one for each char read by EatLine!).
17190
17191         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17192         variables.
17193
17194 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17195
17196         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17197         to the same as the par we break from
17198
17199 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17200
17201         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17202
17203         * MenuBackend.C (expand): also create menu entries for wide
17204         versions of the floats.
17205
17206         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17207
17208         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17209
17210         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17211         frontends/Makefile.am
17212
17213         * text2.C: adjust
17214         * text.C: adjust
17215
17216
17217         * tabular.C (getTokenValue): add std::
17218
17219         * tabular-old.C (getTokenValue): add std::
17220         (getTokenValue): ditto
17221         (getTokenValue): ditto
17222
17223         * screen.C (ToggleSelection): adjust
17224
17225         * lyxtext.h: put selection cursors inside a Selection struct.
17226
17227         * lyxfunc.C (moveCursorUpdate): adjust
17228
17229         * lyxfont.C (latexWriteStartChanges): add std::
17230
17231         * lyxfind.C: adjust
17232
17233         * font.h: delete with(char const *, LyXFont const &)
17234
17235         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17236
17237         * FontInfo.C (getFontname): add std::
17238
17239         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17240         (workAreaButtonPress): adjust
17241         (tripleClick): adjust
17242         (update): adjust
17243         (moveCursorUpdate): adjust
17244         (Dispatch): adjust
17245
17246         * BufferView2.C (gotoInset): adjust
17247
17248 2001-05-30  Juergen Vigna  <jug@sad.it>
17249
17250         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17251         to check pspell I add this as default as I now have new pspell
17252         libraries and they seem to use this.
17253
17254 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17255
17256         * text2.C (CutSelection): make the cursor valid before the call to
17257         ClearSelection.
17258
17259 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17260
17261         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17262         relied on 0 terminated strings and other horrors. Bug found due to
17263         the new assert in lyxstring!
17264
17265         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17266         KP_ keys.
17267
17268 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17269
17270         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17271         to latinkeys.bind.
17272
17273         * lyxfunc.C (processKeySym): change method of getting to the
17274         self-insert char.
17275
17276         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17277         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17278         * BufferView_pimpl.[Ch]: here as private methods.
17279
17280 2001-05-28  Juergen Vigna  <jug@sad.it>
17281
17282         * text.C (SetHeightOfRow): added the update() call again as it is
17283         needed to initialize inset dimensions!
17284
17285 2001-05-16  Juergen Vigna  <jug@sad.it>
17286
17287         * text2.C (SetCharFont): Add new function with BufferView * and
17288         bool toggleall parameters for setting insets internal fonts.
17289         (SetFont): Freeze the undo as we may change fonts in Insets and
17290         all this change should be inside only one Undo!
17291
17292         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17293         setting font's in insets as for them we have the SetFont function!
17294
17295 2001-05-15  Juergen Vigna  <jug@sad.it>
17296
17297         * text2.C (ClearSelection): to be sure we REALLY don't have any
17298         selection anymore!
17299
17300         * tabular.C (TeXCellPreamble): fixed the left border problem for
17301         multicolumn cells.
17302
17303 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17304
17305         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17306         dependancy file
17307
17308 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17309
17310         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17311         LFUN_BREAKPARAGRAPH.
17312
17313         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17314         help test to "internal only", similar for LFUN_INSERT_URL
17315
17316         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17317         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17318         auto_region_delete and deadkeys.
17319
17320 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17321
17322         * LColor.h:
17323         * LColor.C: remove some dead entries, tidy a little
17324
17325 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17326
17327         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17328         commented code.
17329         (Dispatch): implement LFUN_ESCAPE
17330
17331         * commandtags.h: add LFUN_ESCAPE
17332
17333         * LyXAction.C (init): add entry for LFUN_ESCAPE
17334
17335         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17336         Remove commented code.
17337         (insertNote): moved here
17338         (open_new_inset): moved here
17339
17340         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17341         BufferView_pimpl
17342
17343 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17344
17345         * kbmap.C (findbinding): clean it up and make it work correctly.
17346
17347         * lyx_main.C (init): do not pass argc and argv as parameters
17348
17349 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17350
17351         * buffer.C: fix path for OS/2 & Win32
17352
17353         * lyx_gui.C:
17354         * lyx_main:
17355         * lyx_main.C: Added os:: class.
17356
17357         * os2_defines.h: update
17358
17359 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17360
17361         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17362         better by trying again with reduced state.
17363
17364 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17365
17366         * lyxrc.C (read): print error about invalid key sequence only when
17367         debugging (because not all latinX keysyms are known to some X
17368         servers)
17369
17370         * kbsequence.C (getiso): add a few std:: qualifiers
17371         (getiso): comment out extra return statement.
17372
17373 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17374
17375         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17376         handling.
17377         (Dispatch): enhance the accent inset a bit. (not perfect)
17378
17379 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17380
17381         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17382
17383 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17384
17385         * bufferlist.C (emergencyWrite): fix assert() call
17386
17387 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17388
17389         * text.C (InsertChar): Added trivial patch to only send the "you
17390         can not do multiple spaces this way" message once during a
17391         session.
17392
17393 2001-05-08  Baruch Even  <baruch@lyx.org>
17394
17395         * Makefile.am: Changed order of libraries to get LyX to link properly
17396         with the gnome frontend.
17397
17398 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17399
17400         * LaTeXFeatures.h: add a std:: qualifier
17401
17402 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17403
17404         * paragraph.C (String): use stringstream
17405
17406 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17407
17408         * paragraph.C (writeFile): remove footflag arg
17409
17410         * buffer.C (makeLaTeXFile): use stringstream
17411         (latexParagraphs): remove footnot gurba
17412
17413         * LaTeXFeatures.C (getPackages): use stringstream
17414         (getMacros): likewise
17415         (getTClassPreamble): likewise
17416         (getFloatDefinitions): new method
17417
17418         * paragraph.C (writeFile): reindent
17419         (Erase): reindent
17420
17421         * WorkArea.h: revert the xpos + etc changes.
17422
17423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17424
17425         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17426
17427         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17428         (pasteSelection): likewise
17429         * text2.C (CreateUndo): likewise
17430
17431 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17432
17433         * minibuffer.C (peek_event): temporarily reduce the functionality
17434         of the minibuffer (to allow args on lfuns)
17435
17436         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17437         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17438
17439         * buffer.C (readInset): add compability reading of old float
17440         lists, add reading of new style float list.
17441         (readInset): avoid reevaluation of inscmd.getCmdName()
17442         (getLists): reindent
17443
17444         * MenuBackend.C (MenuItem): implement parsing of
17445         md_floatlistinsert and md_floatinsert.
17446         (expand::LastFiles): move initalizaton of iterators out of loop,
17447         avoid reevaluation.
17448         (expand::Documents): introduce typdedef vector<string> Strings,
17449         and use it.
17450         (expand::ExportFormats): introduce typedef vector<Format const *>
17451         Formats, and use it.
17452         (expand): implement FloatListInsert and FloatInsert.
17453
17454         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17455         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17456         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17457
17458         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17459         handling.
17460         (Dispatch::LFUN_FLOAT_LIST): implement
17461
17462 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17463
17464         * LaTeX.C (run): Fix problem with --export code.
17465
17466 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17467
17468         * BufferView.[Ch] (workarea): removed.
17469         (getClipboard) new method; wrapper for workarea()->getClipboard()
17470
17471         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17472         bug.
17473
17474         * WorkArea.h (width, height, xpos, ypos): These methods all
17475         returned the dimensions of the work_area sub-area of WorkArea,
17476         resulting in a position error if the WorkArea were resized. Now
17477         return the dimensions of the entire WorkArea.
17478
17479         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17480
17481 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17482
17483         * LaTeX.C (deplog): correct the syntax of regex reg1
17484
17485 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17486
17487         * undo.C: remove !NEW_INSETS cruft
17488
17489 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17490
17491         * text2.C: remove !NEW_INSETS cruft
17492
17493         * text.C: remove !NEW_INSETS cruft
17494
17495         * tabular.C: remove !NEW_INSETS cruft
17496
17497         * spellchecker.C: remove !NEW_INSETS cruft
17498
17499         * lyxtext.h: remove !NEW_INSETS cruft
17500
17501         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17502
17503         * lyxfunc.C: remove !NEW_INSETS cruft
17504
17505         * lyxfind.C: remove !NEW_INSETS cruft
17506
17507         * lyx_cb.C: remove !NEW_INSETS cruft
17508
17509         * figureForm.C: remove  !NEW_INSETS cruft
17510
17511         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17512
17513         * buffer.[Ch]: remove !NEW_INSETS cruft
17514
17515         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17516
17517         * CutAndPaste.C: remove !NEW_INSETS cruft
17518
17519         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17520
17521         * BufferView2.C: remove !NEW_INSETS cruft
17522
17523         * BufferView.h: remove !NEW_INSETS cruft
17524
17525 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17526
17527         * Lsstream.h: include LString.h before the sstream headers to
17528         fix problem with gcc 2.95.3 and lyxstring
17529
17530 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17531
17532         * lyx_main.C: add using directives when needed for C functions
17533         declared in std:: namespace.
17534
17535 2001-04-27  Juergen Vigna  <jug@sad.it>
17536
17537         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17538         (SetHeightOfRow): comment out the update call should not be needed!
17539
17540 2001-04-13  Juergen Vigna  <jug@sad.it>
17541
17542         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17543         (LyXTabular): tried to minimize operator= operations (and realized
17544         hopfully Lars wish).
17545
17546 2001-04-27  Juergen Vigna  <jug@sad.it>
17547
17548         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17549
17550 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17551
17552         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17553
17554         * buffer.C (readInset): hack to make listof algorithm work
17555
17556         * BufferView_pimpl.C: hack to make listof algorithm work
17557
17558 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17559
17560         * LyXAction.C: removed all !NEW_INSETS cruft
17561         (init): moved lfun_item in method
17562
17563         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17564
17565 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17566
17567         * BufferView2.C (theLockingInset): white space.
17568
17569 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17570
17571         * minibuffer.C: include <iostream>
17572
17573         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17574
17575         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17576
17577         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17578
17579         * text.[Ch] (TransposeChars): new method
17580
17581 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17582
17583         * call message directly through LyXView instead of through LyXFunc
17584         * BufferView2.C: adjust
17585         * BufferView_pimpl.C: adjust
17586         * FontLoader.C: adjust
17587         * buffer.C: adjust
17588         * bufferview_funcs.C: adjust
17589         * converter.C: adjust
17590         * figureForm.C: adjust
17591         * importer.C: adjust
17592         * lyx_cb.C: adjust
17593         * lyx_gui_misc.C: adjust
17594         * lyxfunc.C: adjust
17595         * lyxvc.C: adjust
17596         * text2.C: adjust
17597         + more files in subdirs
17598
17599         * lyxparagraph.h (size): move up int file
17600         (GetLayout): ditto
17601
17602         * adjust all uses of Assert to lyx::Assert.
17603
17604         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17605         lyxfunctional in namespace lyx
17606         * layout.C (hasLayout): ditto
17607         (GetLayout): ditto
17608         (GetLayout): ditto
17609         (delete_layout): ditto
17610         (NumberOfClass): ditto
17611         * converter.C (GetFormat): ditto
17612         (GetNumber): ditto
17613         (Add): ditto
17614         (Delete): ditto
17615         (SetViewer): ditto
17616         * bufferlist.C (getFileNames): ditto
17617         (emergencyWriteAll): ditto
17618         (exists): ditto
17619         (getBuffer): ditto
17620         * MenuBackend.C (hasSubmenu): ditto
17621         (hasMenu): ditto
17622         (getMenu): ditto
17623         * BufferView_pimpl.C (getInsetByCode): ditto
17624
17625 2001-04-18  Juergen Vigna  <jug@sad.it>
17626
17627         * vspace.C (asLatexString): fixed the 100% problem.
17628
17629 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17630
17631         * lyxfunc.C (Dispatch):
17632         * minibuffer.C:
17633         * minibuffer.h: add a few std:: qualifiers
17634
17635 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17636
17637         * minibuffer.[Ch]: reimplement so that commands is initiated and
17638         run from lyxfunc, simplified som handling, and made the completion
17639         and history code for complete. wip.
17640
17641         * lyxfunc.C (processKeySym): call message
17642         (miniDispatch): new temporary method
17643         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17644         (LFUN_MESSAGE): implement
17645         (LFUN_MESSAGE_PUSH): implement
17646         (LFUN_MESSAGE_POP): implement
17647         (initMiniBuffer): the initial/defualt minibuffer message.
17648
17649         * lyxfont.[Ch]: inline some more getters
17650
17651         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17652
17653         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17654
17655         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17656         (AutoSave): use LFUN_MESSAGE
17657         (Reconfigure): ditto
17658
17659         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17660
17661         * figureForm.C: use LFUN_MESSAGE
17662
17663         * converter.C (runLaTeX): use LFUN_MESSAGE
17664
17665         * bufferview_funcs.C: use LFUN_MESSAGE
17666         (Melt): ditto
17667         (changeDepth): ditto
17668
17669         * bufferparams.h: use boost::
17670
17671         * bufferlist.h: inherit privately from noncopyable
17672
17673         * bufferlist.C (loadLyXFile): remove some commented code.
17674
17675         * buffer.C (runChktex): use LFUN_MESSAGE
17676
17677         * ShareContainer.h: inherit privately from noncopyable
17678
17679         * ParagraphParameters.[hC] (depth): inline it.
17680
17681         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17682         methods.
17683         (message): new method
17684         (messagePush): ditto
17685         (messagePop): ditto
17686         (show): init minibuffer
17687         (showState): direct call
17688
17689         * LaTeX.[Ch]: inherit privately from noncopyable
17690         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17691         instead of WriteStatus.
17692
17693         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17694
17695         * BufferView_pimpl.C (buffer): don't init minibuffer
17696         (workAreaButtonPress): use LFUN_MESSAGE
17697         (workAreaButtonRelease): ditto
17698         (savePosition): ditto
17699         (restorePosition): ditto
17700         (MenuInsertLyXFile): ditto
17701         (workAreaExpose): don't init minibuffer
17702         (update): remove commented code, simplify
17703
17704         * BufferView2.C (openStuff): use LFUN_MESSAGE
17705         (toggleFloat): ditto
17706         (menuUndo): ditto
17707         (menuRedo): ditto
17708         (copyEnvironment): ditto
17709         (pasteEnvironment): ditto
17710         (copy): ditto
17711         (cut): ditto
17712         (paste): ditto
17713         (gotoInset): ditto
17714         (updateInset): remove some commented code
17715
17716         * lastfiles.h: inherit privately from noncopyable
17717         * layout.h: ditto
17718         * lyx_gui.h: ditto
17719         * lyx_main.h: ditto
17720         * lyxlex.h: ditto
17721         * lyxlex_pimpl.h: ditto
17722
17723         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17724         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17725         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17726
17727         * LyXAction.h: inherit privately from noncopyable, add methods
17728         func_begin, func_end, returning iterators to the func map.
17729
17730         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17731         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17732         (func_begin): new method
17733         (func_end): new method
17734
17735         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17736         and not)
17737         (copySelection): ditto
17738         (pasteSelection): ditto
17739
17740         * BufferView.C: whitespace change
17741         * BufferView.h: inherit privately from noncopyable
17742
17743 2001-04-16  Allan Rae  <rae@lyx.org>
17744
17745         * tabular-old.C (l_getline):
17746         * spellchecker.C (sc_check_word):
17747         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17748         an unrecognised preprocessor directive.  So ensure they're wrapped.
17749
17750 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17751
17752         * src/exporter.C (Export): Give an error message when path to file
17753         contains spaces.
17754
17755 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17756
17757         * LaTeX.C (deplog): Always check that foundfile exists.
17758
17759 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17760
17761         * lyx_main.h:
17762         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17763
17764 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17765
17766         * tabular.[Ch] (getLabelList): implement new method
17767
17768         * minibuffer.h: comment ouf setTiimer
17769
17770         * minibuffer.C (ExecutingCB): constify res
17771         (peek_event): constify s
17772         (Set): constify ntext
17773         (Init): constify nicename
17774
17775         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17776
17777         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17778         (savePosition): use two params to Minibuffer::Set
17779         (restorePosition): ditto
17780
17781 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17782
17783         * lyx_main.C: include language.h
17784
17785         * Makefile.am (lyx_main.o): add language.h
17786
17787 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17788
17789         * exporter.C:
17790         * paragraph.C:
17791         * screen.C:
17792         * tabular.C:
17793         * CutAndPaste.C: include gettext.h
17794
17795         * lyxfont.h: remove old hack with ON and OFF.
17796
17797         * lyxparagraph.h:
17798         * lyxfont.h: do not include language.h...
17799
17800         * BufferView2.C:
17801         * LaTeXFeatures.C:
17802         * Painter.C:
17803         * bufferview_funcs.C:
17804         * font.C:
17805         * lyxfont.C:
17806         * text.C:
17807         * text2.C:
17808         * trans_mgr.C:
17809         * paragraph.C: ... but do it here instead
17810
17811 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17812
17813         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17814
17815         * tabular.C: small reformat
17816
17817         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17818         NEW_INSETS version
17819         (GetChar): ditto
17820         (BreakParagraph): ditto
17821         (SetOnlyLayout): ditto
17822         (SetLayout): ditto
17823
17824         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17825         with one arg less.
17826
17827         * lastfiles.C: removed most using decl, add std:: where needed
17828
17829         * buffer.C: ws changes
17830
17831         * MenuBackend.C (class compare_format): put into anon namespace
17832         (expand): constify label, names, action, action2
17833         (expand):
17834
17835         * text.C (SingleWidth): constify font
17836         (IsBoundary): constify rtl2
17837         (GetVisibleRow): constify ww
17838
17839         * LaTeX.C (deplog): constify logfile
17840
17841         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17842         start_x, end_x
17843         (workAreaExpose): constify widthChange, heightChange
17844
17845         * lyxrow.C (par): moved
17846         (height): moved
17847         (next): moved
17848         * lyxrow.h: as inlines here
17849
17850         * lyxfont.h (shape): moved from lyxfont.C
17851         (emph): moved from lyxfont.C
17852
17853         * lyxfont.C (LyXFont): use initialization list for all
17854         constructors
17855         (shape): move to lyxfont.h as inline
17856         (emph): move to lyxfont.h as inline
17857
17858
17859 2001-04-04  Juergen Vigna  <jug@sad.it>
17860
17861         * vspace.C: had to include stdio.h for use of sscanf
17862
17863 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17864
17865         * BufferView.h:
17866         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17867         independent of xforms.
17868
17869 2001-04-02  Juergen Vigna  <jug@sad.it>
17870
17871         * spellchecker.C: fixed namespace placing!
17872
17873 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17874
17875         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17876         the LyXParagraph * is 0.
17877
17878 2001-03-29  Juergen Vigna  <jug@sad.it>
17879
17880         * vspace.C: added support for %, c%, p%, l%.
17881         (stringFromUnit): added helper function.
17882         (asLatexString): changed to give right results for the %-values.
17883
17884         * buffer.C: convert the widthp in a width%.
17885
17886 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17887
17888         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17889         figureForm.[Ch].
17890
17891         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17892         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17893
17894         * lyx_cb.[Ch]: see above.
17895
17896         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17897         form1.[Ch].
17898
17899         * form1.[Ch]:
17900         * lyx.[Ch]: replaced by figure_form.[Ch].
17901
17902         * lyx_gui.C:
17903         * lyx_gui_misc.C:
17904         * lyxfunc.C: changed headers associated with above changes.
17905
17906 2001-03-27  Juergen Vigna  <jug@sad.it>
17907
17908         * BufferView_pimpl.C: set the temporary cursor right!
17909
17910 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17911
17912         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17913
17914 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17915
17916         * LString.h: removed "using std::getline"!
17917
17918         * BufferView_pimpl.C (Dispatch): changes due to changes in
17919         InsetInclude::Params.
17920
17921         * buffer.C (tag_name): removed redundant break statements as they were
17922         producing lots of warnings with my compiler.
17923
17924 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17925
17926         * LString.h: add "using std::getline" when using the real <string>.
17927
17928 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17929
17930         * buffer.C: removed bitset usage.
17931         PAR_TAG moved to an anonymous name space.
17932         (tag_name): new funtion, also in the anonymous namespace.
17933         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17934         (makeDocBookFile): clean code. Completed transition from string arrays
17935         to string vectors.
17936         (SimpleDocBookOnePar): code clean.
17937
17938 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17939
17940         * tabular.C: add some comments.
17941
17942 2001-03-22  Juergen Vigna  <jug@sad.it>
17943
17944         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17945         compatibility read a bit and fixed bug with minipage in different
17946         depth.
17947
17948 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17949
17950         * buffer.C (pop_tag): removed.
17951         (push_tag): removed.
17952         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17953         array replaced with vector. Added support for CDATA sections.
17954         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17955         at any nest level.
17956         (makeDocBookFile): XML conformant declaration of CDATA section,
17957         fixed bug related to <emphasis> in the first paragraph char.
17958         (sgmlOpenTag): exclude empty tags.
17959         (sgmlCloseTag): ditto.
17960
17961         * buffer.h (pop_tag): removed.
17962         (push_tag): removed.
17963
17964 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17965
17966         * language.h (Languages): added size_type and size().
17967
17968 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17969
17970         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17971         response on compability reading of minipages. One probliem is that
17972         the old usage of minipages was flertydig
17973
17974         * several files here and in subdirs: don't use static at file
17975         scope use anon namespaces instead.
17976
17977 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17978
17979         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17980         LaTeX output. This is necessary for Literate document
17981         processing.
17982
17983 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17984
17985         * buffer.C: insert hfill when needed.
17986
17987         * tabular.C (l_getline): use string::erase, small whitespace change.
17988
17989         * BufferView_pimpl.C: try the anon namespace.
17990         * WorkArea.C: ditto
17991
17992 2001-03-16  Juergen Vigna  <jug@sad.it>
17993
17994         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17995         otherwise it won't open options-dialogs.
17996
17997         * buffer.C: honor pextraWidth(p) on converting minipages.
17998
17999         * tabular.C (l_getline): changed the functions to strip trailing \r.
18000
18001 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18002
18003         * BufferView_pimpl.C:
18004         * minibuffer..C: added "using SigC::slot" declaration.
18005
18006 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18007
18008         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18009
18010         * text2.C: ditto
18011
18012         * text.C: ditto
18013
18014         * paragraph.C: ditto
18015
18016         * lyxtext.h: NO_PEXTRA
18017
18018         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18019
18020         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18021         * ParameterStruct.h: ditto
18022         * ParagraphParameters.h: ditto
18023         * lyxparagraph.h: ditto
18024
18025 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18026
18027         * buffer.C: add compability for minipage alignment.
18028         (latexParagraphs): remove unwanted pextra check.
18029
18030         * several files: remove CXX_WORKING_NAMESPACES
18031
18032         * buffer.C (pop_tag): tie is in namespace boost
18033
18034         * BufferView.h: noncopyable is in namespace boost
18035         * lyxlex.h: ditto
18036         * lyx_main.h: ditto
18037         * lyx_gui.h: ditto
18038         * layout.h: ditto
18039         * lastfiles.h: ditto
18040         * bufferlist.h: ditto
18041         * ShareContainer.h: ditto
18042         * LyXView.h: ditto
18043         * LyXAction.h: ditto
18044         * LaTeX.h: ditto
18045
18046 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18047
18048         * Merging changes from BRANCH_MVC back into HEAD.
18049
18050         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18051
18052 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18053
18054         * BufferView_pimpl.C: change from intl.C
18055
18056         * combox.h:
18057         * combox.C:
18058         * Makefile.am: move combox.*
18059
18060         * form1.h:
18061         * form1.C:
18062         * lyx_gui.C:
18063         * intl.h:
18064         * intl.C: remove dialog (covered by prefs)
18065
18066 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18067
18068         * lyxfunc.C (Dispatch): removed redundant break statement.
18069
18070 2001-03-14  Juergen Vigna  <jug@sad.it>
18071
18072         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18073
18074 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18075
18076         * buffer.C: add hack to fix compability reading of minipages.
18077
18078 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18079
18080         * buffer.C (getLists): Cleanup.
18081
18082 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18083
18084         * lyxfont.C (update): don't honor toggleall on font size.
18085
18086 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18087
18088         * bmtable.c:
18089         * bmtable.h:
18090         * Makefile.am: moved to frontends/xforms/
18091
18092         * lyx_gui_misc.C:
18093         * lyxfunc.C:
18094         * BufferView_pimpl.C: changes for moved mathpanel
18095
18096 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18097
18098         * gettext.h: fix gettext_init() in --disable-nls
18099
18100 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18101
18102         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18103
18104 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18105
18106         * lyx.C:
18107         * lyx.h: strip external form
18108
18109 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18110
18111         * BufferView_pimpl.C: add comment, destroySplash()
18112
18113 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18114
18115         * BufferView_pimpl.C:
18116         * LyXAction.C:
18117         * buffer.C:
18118         * commandtags.h:
18119         * lyxfunc.C: use re-worked insetinclude
18120
18121 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18122
18123         * buffer.C: add using std::stringstream.
18124
18125         * lyx_cb.C: readd using std::ios.
18126
18127         * buffer.C: add using std::map.
18128
18129         * BufferView_pimpl.C: add using std::vector.
18130
18131         * ShareContainer.h: add std:: to swap.
18132
18133         * buffer.h: add some typedefs
18134         * buffer.C (getLists): use them
18135         (getLists): renamed from getTocList.
18136         add a counter for the different float types and use it in the
18137         generated string.
18138         (getLists): use the same counter for the NEW_INSETS and the "non"
18139         NEW_INSETS
18140
18141         * lyx_cb.h: remove unused items, includes, using etc.
18142
18143         * ShareContainer.h: remove some commented code, add more comments
18144         and "documentation".
18145
18146 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18147
18148         * buffer.C (getTocList): make the list also when NEW_INSETS is
18149         defined.
18150
18151         * buffer.h: remove TocType
18152
18153         * buffer.C (getTocList): change to return a map<string,
18154         vector<TocItem> >, implement for dynamic number of list.
18155
18156         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18157         * text2.C (PasteSelection): adjust
18158         * CutAndPaste.C (pasteSelection): adjust
18159
18160         * FloatList.C (FloatList): update from the new_insets branch.
18161         * Floating.[Ch]: ditto
18162         * LaTeXFeatures.C: ditto
18163         * buffer.C: ditto
18164         * lyxlex_pimpl.C: ditto
18165
18166         * paragraph.C (Last): remove when NEW_INSETS is defined.
18167
18168         * other file: changes because of the above.
18169
18170 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18171
18172         * lyxparagraph.h: rename next to next_, previous to previous_,
18173         make them private for NEW_INSETS. Rename Next() to next(),
18174         Previous() to previous().
18175
18176         * other files: changes because of the above.
18177
18178 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18179
18180         * BufferView.h:
18181         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18182         problem.
18183
18184 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18185
18186         * main.C (main): pass lyx_localedir to gettext_init().
18187
18188         * gettext.h: remove locale_init and gettext_init macros
18189
18190         * gettext.C (locale_init): new function
18191         (gettext_init): new function
18192
18193         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18194         setlocale().
18195
18196 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18197
18198         * Moved credits to frontends:
18199         * credits.[Ch]: removed
18200         * credits_form.[Ch]: removed
18201         * lyx_gui_misc.C: remove credits stuff
18202         * Makefile.am:
18203
18204 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18205
18206         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18207
18208         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18209         unneeded destructor.
18210
18211         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18212         a standalone pointer again.
18213
18214         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18215
18216 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18217
18218         * Makefile.am:
18219         * filedlg.h:
18220         * filedlg.C:
18221         * LyXAction.C:
18222         * ToolbarDefaults.C:
18223         * bufferlist.C:
18224         * commandtags.h:
18225         * form1.C:
18226         * form1.h:
18227         * lyx_cb.C:
18228         * lyx_cb.h:
18229         * lyxfunc.h:
18230         * lyxfunc.C:
18231         * BufferView_pimpl.C: use new file dialog in GUII
18232
18233         * lyx_cb.h:
18234         * lyx_cb.C: remove LayoutsCB to Toolbar
18235
18236 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18237
18238         * ShareContainer.h (get): add std:: qualifier
18239
18240 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18241
18242         * ShareContainer.h: define a proper ShareContainer::value_type
18243         type (and use typename to please compaq cxx)
18244
18245 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18246
18247         * lyxparagraph.h: move serveral local vars to
18248         ParameterStruct/ParagraphParameters., use ShareContainer in
18249         FontTable., make vars in FontTable private and add getter and
18250         setter.
18251
18252         * paragraph.C: changes because of the above.
18253
18254         * lyxfont.h: remove copy constructor and copy assignment. (the
18255         default ones is ok), move number inside FontBits. move inlines to
18256         lyxfont.C
18257
18258         * lyxfont.C: add number to initializaton of statics, move several
18259         inlines here. constify several local vars. some whitespace
18260         cleanup. Dont hide outerscope variables.
18261
18262         * Spacing.h: add two new constructors to match the set methods.
18263
18264         * ShareContainer.h: new file, will perhaps be moved to support
18265
18266         * ParameterStruct.h: new file
18267
18268         * ParagraphParameters.h: new file
18269
18270         * ParagraphParameters.C: new file
18271
18272         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18273         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18274
18275         * BufferView_pimpl.C: ParagraphParameter changes.
18276         * buffer.C: Likewise.
18277         * bufferview_funcs.C: Likewise.
18278         * text.C: Likewise.
18279         * text2.C: Likewise.
18280
18281 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18282
18283         * lyxfind.C (LyXReplace): do not redefine default argument in
18284         implementation.
18285         (IsStringInText): ditto
18286         (SearchForward): ditto
18287         (SearchBackward): ditto
18288
18289 2001-03-06  Juergen Vigna  <jug@sad.it>
18290
18291         * lyxfind.C (IsStringInText): put parentes around expressions.
18292
18293 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18294
18295         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18296
18297 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18298
18299         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18300
18301         * stl_string_fwd.h: add comment
18302
18303         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18304
18305         * tabular.h:
18306         * tabular.C: remove unused DocBook methods
18307
18308         * intl.C:
18309         * language.C:
18310         * paragraph.C:
18311         * buffer.C:
18312         killed DO_USE_DEFAULT_LANGUAGE
18313
18314 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18315
18316         * lyx_gui.C: do not include language.h.
18317
18318         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18319         arguments in function implementation.
18320
18321 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18322
18323         * BufferView_pimpl.C: add <ctime>
18324
18325 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18326
18327         * BufferView_pimpl.C: add using std::find_if
18328
18329 2001-02-27  José Matos  <jamatos@fep.up.pt>
18330
18331         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18332         by OnlyPath.
18333
18334 2001-02-11  José Matos  <jamatos@fep.up.pt>
18335
18336         * buffer.C (makeDocBookFile): command styles now have a parameter as
18337         "title" by default.
18338
18339 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18340
18341         * layout_forms.[Ch]: removed
18342         * lyx_cb.[Ch]: out character
18343         * lyx_gui.C: out character
18344         * lyx_gui_misc.C: out character
18345         * bufferview_funcs.C: : out character,
18346         added toggleall as parameter in ToggleAndShow
18347
18348 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18349
18350         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18351
18352         * text2.C (SetCurrentFont): Disable number property at boundary.
18353
18354 2001-02-26  Juergen Vigna  <jug@sad.it>
18355
18356         * lyxfunc.C (getStatus): added a string argument override function so
18357         that this is correctly called from LyXFunc::Dispatch if it contains a
18358         do_not_use_argument which is used!
18359         (Dispatch): added check for "custom" export and call appropriate func.
18360
18361 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18362
18363         * lyxrc.C: Add language_command_local, language_use_babel and
18364         language_global_options.
18365
18366         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18367
18368         * buffer.C (makeLaTeXFile): Use language_use_babel and
18369         language_global_options.
18370
18371 2001-02-23  Juergen Vigna  <jug@sad.it>
18372
18373         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18374         which works with LyXText and putted it inside BufferView. Here now we
18375         only call for that part the BufferView::Dispatch() function.
18376
18377         * BufferView.C (Dispatch): added.
18378
18379         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18380         functions which needs to use a LyXText over from LyXFunc.
18381         (MenuInsertLyXFile): added
18382         (getInsetByCode): added
18383         (moveCursorUpdate): added
18384         (static TEXT): added
18385
18386 2001-02-22  Juergen Vigna  <jug@sad.it>
18387
18388         * BufferView_pimpl.C (update): call a status update to see if LyXText
18389         needs it.
18390
18391 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18392
18393         * vc-backend.C (revert): implement for CVS
18394         (getLog): implement for CVS
18395
18396 2001-02-20  Juergen Vigna  <jug@sad.it>
18397
18398         * text2.C (ClearSelection): added BufferView param for inset_owner call
18399
18400         * lyxfunc.C (TEXT): added this function and use it instead of
18401         directly owner->view()-text of getLyXText().
18402
18403 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18404
18405         * src/layout_forms.C: out preamble
18406         * src/layout_forms.h: out preamble
18407         * src/lyx_cb.C: out preamble
18408         * src/lyx_cb.h: out preamble
18409         * src/lyx_gui.C: out preamble
18410         * src/lyx_gui_misc.C: out preamble
18411         * src/lyxfunc.C: connect with guii preamble
18412
18413 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18414
18415         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18416
18417 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18418
18419         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18420         whether to run bibtex.
18421
18422 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18423
18424         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18425
18426 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18427
18428         * Makefile.am (lyx_SOURCES): removed bibforms.h
18429
18430         * vspace.h: doxygen
18431
18432         * text.C (GetVisibleRow): make several local vars const
18433
18434         * tabular.C: small cleanup.
18435
18436         * lyxserver.C (callback): use compare instead of strncmp
18437
18438         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18439         inlines to after class or to paragraph.C
18440
18441         * lyxfont.h: remove friend operator!=
18442
18443         * converter.h: move friend bool operator< to non friend and after
18444         class def.
18445
18446         * combox.h: small cleanup
18447
18448         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18449         to inlines after class def.
18450
18451         * buffer.C (pop_tag): use string operations instead of strcmp
18452
18453         * bmtable.c: doxygen, small cleanup
18454
18455         * LaTeX.h: remove friend operator==
18456
18457 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18458
18459         * screen.C:
18460         * lyxrc.[Ch]:
18461         * lyxfunc.C:
18462         * lyxfont.[Ch]:
18463         * lyx_cb.C:
18464         * intl.[Ch]:
18465         * commandtags.h:
18466         * buffer.C:
18467         * WorkArea.[Ch]:
18468         * LyXAction.C:
18469         * BufferView_pimpl.C:
18470         * BufferView.[Ch]: remove cruft
18471
18472 2001-02-14  Juergen Vigna  <jug@sad.it>
18473
18474         * lyxfunc.C: removed #if 0 unused code
18475
18476         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18477
18478         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18479
18480         * text2.C (SetSelection): added a BufferView * parameter
18481
18482 2001-02-13  Juergen Vigna  <jug@sad.it>
18483
18484         * lyxfunc.C (Dispatch): fixed protected blank problem.
18485         * BufferView2.C (protectedBlank): added LyxText * parameter.
18486
18487         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18488         (AppendColumn): same as above for column_info.
18489
18490         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18491         (moveCursorUpdate): use a LyXText param for support of InsetText.
18492
18493         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18494         (tripleClick): ditto
18495
18496         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18497
18498         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18499
18500         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18501
18502         * text2.C (SetSelection): set correct update status if inset_owner
18503         (ToggleFree): ditto
18504
18505 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18506
18507         * tabular.C: remove some commented code.
18508
18509 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18510
18511         * BufferView_pimpl.C: call hideSplash()
18512
18513         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18514
18515         * include_form.h:
18516         * bibforms.h: remove
18517
18518         * lyxfunc.C:
18519         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18520           add LFUN_CHILD_CREATE
18521
18522         * counters.h: fix tiny typo
18523
18524         * lyx_cb.C:
18525         * lyx.h:
18526         * lyx_gui.C:
18527         * lyx.C: move splash to frontends/xforms/
18528
18529         * lyx_gui_misc.C: move Include and Bibform to frontends
18530
18531         * lyxvc.h: clarify comment
18532
18533         * vspace.C: tiny housekeeping
18534
18535 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18536
18537         * text.C (PrepareToPrint): RTL Fix.
18538
18539         * paragraph.C (GetUChar): New method.
18540         (String):  Use GetUChar.
18541
18542         * buffer.C (asciiParagraph): Use GetUChar.
18543
18544 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18545
18546         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18547
18548 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18549
18550         * buffer.h:
18551         * buffer.C: rename to getLogName(), handle
18552           build log / latex log nicely
18553
18554 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18555
18556         * MenuBackend.C:
18557         * MenuBackend.h: remove support for reference menuitem type.
18558
18559 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18560
18561         * BufferView_pimpl.C: housekeeping
18562         * BufferView_pimpl.h:
18563         * LyXView.h:
18564         * Makefile.am:
18565         * Timeout.C:
18566         * Timeout.h:
18567         * minibuffer.h: move Timeout GUI-I
18568
18569 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18570
18571         * lyxrc.C (read): Update converters data-structures.
18572
18573 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18574
18575         * LaTeX.h (operator!=): add operator != for Aux_Info
18576
18577 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18578
18579         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18580
18581         * LaTeXLog.C: deleted, useful code moved to Buffer
18582
18583         * buffer.h:
18584         * buffer.C: new function getLatexLogName()
18585
18586         * lyx_gui_misc.C:
18587         * lyx_gui.C:
18588         * lyxvc.C:
18589         * lyxvc.h:
18590         * lyxfunc.C: use frontends for LaTeX and VC logs
18591
18592 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18593
18594         * LaTeX.h: yet another std:: that Allan forgot.
18595
18596         * Variables.C (set): renamed from isset(), because this clashes
18597         with some HP-UX macros (grr).
18598
18599 2001-02-06  Allan Rae  <rae@lyx.org>
18600
18601         * LaTeX.h: Another bug fix.  Missing std:: this time.
18602
18603 2001-02-04  Allan Rae  <rae@lyx.org>
18604
18605         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18606         floats problem. I've left it commented out because it's not quite
18607         correct.  It should also test that the current object is a table or
18608         figure inset.  But I haven't gotten around to figuring out how to do
18609         that.  I *think* it'll be something like: "table" == inset.type()
18610
18611         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18612         bool.
18613
18614 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18615
18616         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18617         all the citation/databases/styles in the auxilary file.
18618         (run): Rerun latex if there was a babel language error.
18619
18620 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18621
18622         * text.C (Backspace): Preserve the font when changing newline char
18623         with a space.
18624         (BreakParagraph): If the cursor is before a space, delete the space.
18625
18626         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18627
18628 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18629
18630         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18631         new argument (code).
18632         (ChangeCitationsIfUnique): New method.
18633
18634         * paragraph.C (GetPositionOfInset): Handle bibkey.
18635
18636 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18637
18638         * BufferView_pimpl.h: change type of Position::par_pos to
18639         LyXParagraph::size_type.
18640
18641 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18642
18643         * BufferView_pimpl.C (savePosition, restorePosition): Write
18644         messages to minibuffer.
18645
18646 2001-01-28  José Matos  <jamatos@fep.up.pt>
18647
18648         * buffer.C (makeDocBookFile): adds support for document language.
18649         A silly restriction on the name of LatexCommand types where removed.
18650         Added support for CDATA sections, allows to chars unescaped, used
18651         among others in code, to avoid escape < and >.
18652
18653 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18654
18655         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18656         saved positions instrad of a stack. Furthermore, a position is
18657         stored using paragraph id/paragraph position.
18658
18659         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18660         Remove LFUN_REF_BACK.
18661
18662 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18663
18664         * converter.C (dvipdfm_options): New method.
18665
18666 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18667
18668         * vspace.C (isValidLength): Fix for empty input string.
18669
18670 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18671
18672         * LyXAction.C (init): change description of LFUN_FIGURE to
18673         "Insert Graphics"
18674
18675 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18676
18677         * LaTeX.C: add using directive
18678
18679 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18680
18681         * MenuBackend.C (expand): Fix the sorting of the formats.
18682
18683 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18684
18685         * lyx_main.C: tiny error message fix
18686
18687 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18688
18689         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18690         calling fl_initialize(). This fixes the problem with ',' as
18691         decimal separator in text files.
18692
18693 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18694
18695         * trans.C (process): Fix the keymap bug.
18696
18697 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18698
18699         * LaTeX.C (scanAuxFiles): New method. Provides support for
18700         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18701         (scanLogFile) Scan for "run BibTeX" messages.
18702
18703         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18704         OT1 font encoding. Also, load the aecompl package if the ae
18705         package is loaded.
18706
18707         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18708
18709 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18710
18711         * texrow.C (increasePos): turn two error messages into debug
18712         messages.
18713
18714 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18715
18716         * LaTeX.C (scanAux): Handle the \@input macro.
18717         (runBibTeX): Use scanAux().
18718
18719         * language.C (latex_options_): New field.
18720
18721         * LaTeXFeatures.C (getMacros): Add language macros.
18722
18723         * buffer.C (makeLaTeXFile): Small fix.
18724
18725 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18726
18727         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18728
18729         * text2.C: add a using directive.
18730
18731 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18732
18733         * BufferView2.C:
18734         * lyx_gui_misc.h:
18735         * lyxfr1.C:
18736         * lyxfunc.C: kill LyXBell.
18737
18738 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18739
18740         * text.C (IsBoundary): Remove the error message
18741
18742         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18743
18744         * lyxrc.C (setDefaults): Correct initialization value for
18745         font_norm_type.
18746
18747 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18748
18749         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18750         gotoError().
18751
18752         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18753         and GotoNextNote().
18754
18755         * src/LyXAction.C: Added reference-next.
18756
18757         * text.C (InsertChar): Use contains instead of strchr.
18758
18759         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18760
18761 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18762
18763         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18764         alignment commands (when needed).
18765
18766         * text.C (InsertChar): Add ':' to number separator chars.