]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b069f4e5e85a974edadb047ed3b926fdf102b5b2
[lyx.git] / src / ChangeLog
1 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
4         for correct in-mathed positioning
5
6 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * rowpainter.C (paintForeignMark): fix foreign blue line under
9         insets
10
11 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
14         pit of the uno range (bug 2022).
15
16 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * messages.C (get): Only warn once if setlocale fails (bug 2177)
19
20 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * text2.C (setCharFont): take inset's own font settings into account
23         when defining the font to reduce to, fixes 2019
24
25 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
26
27         * bufferview_funcs.C (coordOffset): remove the check for
28         collapsed collapsables (fix for bug 2094). This is now done
29         on a more general level (cursor.C).
30
31         * dociterator.[Ch] (forwardPos): add an optional argument
32         bool "ignorecollapsed" (default false), which lets forwardPos
33         skip collapsed insets.
34
35         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
36         (fixes bug 2241 and 2094).
37
38 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
39
40         * buffer.C: change tracking (dvipost) doesn't require
41         color.sty anymore.
42
43         * LaTeXFeatures.C (getPackages): no need for the color
44         option "usenames" (bug 2169).
45
46 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
47         * buffer_funcs.C: Trivial fix - added {} around
48         the statements to be affected by a if-test. Now
49         label in a minipage in a float looks ok on screen again.
50
51 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * text2.C: fix bug 2015: on screen fonts in nested environments 
54         can be wrong
55
56 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * converter.C (convert): handle unknown formats
59
60 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * cursor.C (goUpDown): comment out some debug messages.
63
64         * counters.C (newCounter): make error messages more explicit
65         (these appear with some textclasses like beamer)
66
67 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * kbmap.C (defkey): 
70         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
71         have origin set to KEYBOARD. (bug 2221)
72
73 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * rowpainter.C (isCursorOnRow): do not exclude endpos().
76
77 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * cursor.C (macroModeClose): returns true if an inset actually got
80         inserted; revert faulty fix to bug 2034.
81
82 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * tabular.C (getLabelList): remove (not used anymore).
85
86 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * outputparams.[Ch]: add new flag inComment
89
90 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * text2.C (deleteEmptyParagraphMechanism): since we delete a
93         paragraph, recordUndo should span two paragraphs (bug 2155).
94
95 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * rowpainter.C (paintPar): always repaint the row with the
98         cursor in it
99
100 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
101
102         * MenuBackend.h: 
103         * bufferlist.h: 
104         * lyxtext.h: 
105         * paragraph.h:
106         * vspace.h: fix syntax error
107
108 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * text3.C (dispatch): Force refresh if typing into inset changes its
111                               metrics
112
113 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
114
115         * RowList_fwd.h:
116         * paragraph.C:
117         * paragraph.h:
118         * rowpainter.C: Speed up rendering by only re-painting rows that
119         have changed. When selection or whole-screen update active, all rows
120         are repainted, as are all rows within insets.
121
122 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * version.C.in: Use PACKAGE_VERSION instead of VERSION
125
126 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * tabular.C (toggleFixedWidth): Use default layout of text class
129         instead of hardcoded "Standard"
130
131 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * lyxfunc.C (dispatch): do not call getStatus again to determine
134         whether a lfun is disabled (bug 2172).
135
136 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * cursor.C (macroModeClose): set the cursor inside the new math
139         atom if relevant (think \frac{}{}) (bug 2034)
140
141 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
142
143         * lyxtext.h:
144         * text.C:
145         * text3.C (Delete, backspace): force update when merging paragraphs
146
147 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * BufferView.C (mouseSetCursor): clear the selection properly (bug
150         2163). 
151
152 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
153
154         * text.C (redoParagraph): honor inset->noFontChange()
155         * rowpainter.C (paintInset): ditto
156
157 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
158
159         * lyx_main.C (priv_exec): don't initialize Math on startup 
160         (initMath() has been moved to math_hullinset).
161
162 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
165         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
166         * paper.h: dispose dead PAPER_PACKAGES enum.
167
168 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
171         without X support.
172
173 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * exporter.C (Export): Don't try to copy a file if it does not exist
176         (bug 1888)
177
178 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * text2.C (makeFontEntriesLayoutSpecific): remove.
181         (setLayout): adapt.
182
183         * text.C (insertChar): remove bogus caching of fonts (did not do
184         anything). 
185
186         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
187         ALL_SANE). (bug 2146)
188
189 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * rowpainter.C (paintFirst): fix centering of
192         LABEL_CENTERED_TOP_ENVIRONMENT. 
193
194 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * BufferView.C (mouseSetCursor): new method. Calls
197         deleteEmptyParagraphMechanism if necessary.
198
199         * lyxtext.h: make deleteEmptyParagraphMechanism public.
200
201         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
202         BufferView::mouseSetCursor (bug 2109).
203         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
204
205 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
206
207         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
208         do not remove it (this inset behaves differently from the others).
209
210 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         Fix bug 2096.
213         
214         * BufferView_pimpl.C (getStatus): it is only possible to insert a
215         file in a text inset.
216
217         * buffer.C (readDocument): remove pit argument and code releated
218         to it; set the inset owner correctly (unrelated, but useful).
219         (readFile): get rid of pit argument.
220
221         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
222         textclass instead of a selection index.
223         (pasteParagraphList): new function.
224         (pasteSelection): make it a wrapper around pasteParagraphList.
225
226         * BufferView_pimpl.C (MenuInsertLyXFile): use
227         cap::pasteParagraphList to insert a file.
228
229 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
232
233 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
234
235         * exporter.C: fix typo in text message
236
237 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * text2.C (setLayout): move recUndo call to other setLayout method
240         * tabular.C (toggleFixedWidth): new, handle cell width changes
241         * tabular.C (setColumnPWidth): move some code from insettabular.C here
242         and use toggleFixedWidth
243         * tabular.C (setMColumnPWidth): ditto
244
245 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
246
247         * paragraph.C (asString): use new inset->textString method (fix
248         bug 2089) 
249
250 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
251
252         * CutAndPaste.C (numberOfSelections): new helper function.
253
254         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
255
256         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
257         LyXFunc::getStatus; implement LFUN_PASTE.
258
259 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * dociterator.[Ch]: new member realInset() that returns the cell
262         for tabulars and the inset for the rest (bug 1952).
263         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
264         (bug 1952).
265
266 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
269
270 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
271
272         * lyxfunc.C:
273         * paragraph.C:
274         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
275         argument.
276
277 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
280         line after typing ctrl-enter
281
282 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
283
284         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
285         math insets do not return a proper editable() state yet (bug 2124).
286
287 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
290         docs containing very large paragraphs.
291
292 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
293
294         * cursor.C (selectionBegin, selectionEnd):
295         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
296         cursor at different depths.
297
298 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
299
300         * bufferview_funcs.C (coordOffset): do not call cursorPos
301         for collapsed collapsables (fix bug 2094).
302
303 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * paragraph.C (fontSpan): make sure that the FontSpan does not
306         span across beginOfBody (bug 1947).
307
308 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
311
312 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
313
314         * messages.C: fix crash and localization on MinGW/Windows platform
315
316 2005-11-02  Angus Leeming  <leeming@lyx.org>
317
318         * Bidi.C:
319         * lyxtextclass.C: trivial fixes to some MSVS warnings.
320
321 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * text3.C (getStatus): re-enable disabled code. (bug 2081)
324
325         * BranchList.h (empty): constify.
326
327 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * text3.C (getStatus): 
330         * MenuBackend.C (expandBranches): take the branch list from the
331         master document (bug 2092).
332         
333         * MenuBackend.C (expandBranches): 
334         * bufferparams.C (writeFile): use BranchList type.
335
336 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * text3.C (dispatch, getStatus): 
339         * LyXAction.C (init): 
340         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
341
342 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
345
346 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * text.C (insertChar): do not reset boundary (bug 2061)
349
350 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * dociterator.C (updateInsets): new method. Updates the inset_
353         cache of all the slices of the iterator.
354
355         * text2.C (deleteEmptyParagraphMechanism): compare also containing
356         insets when comparing pit/pos; pass the right cursor to
357         recordUndo; when a paragraph has been deleted, compare `old.top()' to
358         the right cursor slice of `cur'; use updateInsets on cur to make
359         sure that the inset caches are correct; general cleanup.
360
361 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
364         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
365         containg inset. If this does not work, the same command will be
366         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
367
368         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
369         a dispatch.
370
371 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * lyxtextclass.C (Read): convert layout file if the format is wrong
374         * lyxtextclass.C (layout2layout): new, needed for the above
375
376 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * messages.C: do not forget to include <cerrno>.
379
380 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
381
382         * dociterator.h (StableDocIterator): add access to pos().
383         * undo.C (samePar): new method to check if two
384         iterators are in the same paragraph
385         * undo.C (recordUndo): check for samePar instead of cell identity
386         (which includes pos() and is too strict) (fixes bug 2097)
387
388 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         * text.C (setCursorFromCoordinates): return a bool telling whether
391         dEPM triggered.
392
393         * text3.C (cursorPrevious): update if needed after
394         setCursorFromCoordinates (when dEPM triggered).
395
396         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
397         (otherwise the anchor may be completely wrong and make dEPM assert).
398
399 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * buffer.C: version upgrade to 245.
402         * bufferparams.C: remove \quotes_times (bug 2090).
403         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
404         quotation marks as default.
405
406 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
407
408         * CutAndPaste.C (nrOfParagraphs): remove (unused)
409         * CutAndPaste.C (cutSelection): Remove debug message
410         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
411         undo information and only copy if this is a real cut
412         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
413         call
414         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
415         (bug 2059)
416         * CutAndPaste.C (eraseSelection): prevent cursor corruption
417         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
418         superflous cur.selection() setting
419         * CutAndPaste.[Ch] (grabSelection): take a const cursor
420         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
421
422 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
423
424         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
425         change anything.
426
427 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
428
429         * BufferView_pimpl.C: comment layout change
430
431 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
432
433         * LyXAction.C:
434         * lfuns.h:
435         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
436         by bibliography managers (bug 2071).
437
438 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
439
440         * BufferView_pimpl.C (update): choose arguments to update call so
441         that single-par update works most times
442         * text3.C (dispatch): carefully tune updating separately for
443         whole-screen and current-paragraph
444         * rowpainter.C (paintText): 1) replace painting by caching for
445         the two extra paragraphs, because we can;
446         2) suppress greying out of areas below/above drawn area in case of
447         single-par refresh
448         * lyxfunc.C (dispatch): remove superfluous update
449         * LyXAction.[Ch]: introduce SingleParUpdate
450
451 2005-10-05  Angus Leeming  <leeming@lyx.org>
452
453         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
454         always initialised before use.
455
456         * text.C (setHeightOfRow): squash warning about comparison
457         of signed and unsigned types.
458
459 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
460
461         * text.C (cursorX): two fixes involving RtL text drawing
462
463 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
466         items, not only large ones (part of bug 2057)
467
468 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
471         argument, use "newcommand".
472
473 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
474
475         * cursor.C (setSelection): do not open collapsable insets;
476         the insets do by themselves now (autoopen).
477
478 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
479
480         * buffer.C: format is up to 244.
481
482 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
483
484         * text.C (redoParagraph): fix calcultation of inset width wrt 
485         leftMargin (bug 1957).
486
487         * text3.C (dispatch): leave inset to the right when hitting ESC 
488         (bug 2034).
489
490 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * text2.C: 
493         * text.C: 
494         * factory.C:
495         * messages.C: include <boost/current_function.hpp> 
496
497 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
500         when command is internal. (bug 1941)
501
502 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
503
504         * text2.C (cursorRight): do not honor boundary when at the end of
505         a paragraph. (bug 2010 again)
506
507 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
508
509         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
510
511 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * rowpainter.C (paintText): fix RtL space width display bug (2029)
514
515 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * text2.C (setCursor): remove the unused 'boundary' parameter for
518         the CursorSlice version; adapt the LCursor version.
519
520         * lyxrc.C (write): 
521         * paragraph_pimpl.C (markErased): 
522         * cursor.C (bruteFind2, bruteFond3): fix warnings.
523
524 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
527         as is already done for "chapter".
528
529 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
532         textclass; do not record undo if nothing is changed.
533
534 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
537
538 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
539
540         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
541
542 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
543
544         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
545         combox, it is necessary to search for the topmost paragraph in the
546         cursor stack (bug 1926)
547
548 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
551         end of paragraph. (bug 2010)
552
553 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
554
555         * text.C (leftMargin): check for inInset == 0
556
557 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
558
559         * text.C (leftMargin): test for insetbase's new neverIndent()
560         bool instead of listing each and every inset that does not
561         wish par indendation.
562
563 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * buffer_funcs.C (setCounter): put the code to compute enum label
566         here (where it belongs).
567
568         * counters.C (enumLabel): move code to buffer_funcs.C.
569
570 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
571
572         * outputparams.[Ch]: store local_font instead of local_language
573         * paragraph.C (simpleTeXOnePar): adapt to the change above
574
575 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
576
577         * buffer_funcs.C:
578         * counters.[Ch]: clean up special code for Hebrew.
579
580 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
583         than 2.
584
585 2005-09-08  Angus Leeming  <leeming@lyx.org>
586
587         * ispell.C:
588         * lyxrc.C: correct grammar describing invocation of the
589         spellchecker.
590
591 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
592
593         * text.C (read): remove unused variable.
594         (readParToken): remove static Change variable (never good in
595         recursive settings...); add it as a parameter instead.
596
597         * paragraph_pimpl.C (acceptChange): make debug info conditional.
598
599         * metricsinfo.C (PainterInfo): add new member erased_.
600
601         * rowpainter.C (RowPainter): add erased_ member, initialized from
602         PainterInfo. 
603         (paintInset): pass erased_ to Inset::draw.
604
605         * lyxfunc.C (lookupChange): new function. Tells whether change 
606         tracking is disabled at a given postion.
607         (getStatus): disable some actions when in deleted text with change
608         tracking. 
609
610 2005-08-03  John Levon  <levon@movementarian.org>
611         
612         * tabular.C (appendColumn, setMultiColumn): adapt to change to
613         InsetText::clear().
614
615         * paragraph_pimpl.C (markErased): add bool argument and handle it.
616         Also make sure to mark insets recursively.
617         (rejectChange, erase): be recursive
618
619         * paragraph.C (markErased): add bool argument.
620 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * lyxfind.C (findNextChange): tiny cleanup.
623
624         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
625         change tracking with the cursor in an inset; make sure the first
626         change is not skipped.
627
628 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
629
630         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
631         tabularStackDirty to work around bug 1919 (tabular needs
632         to know whether its own cell paste buffer or the one of 
633         texted is newer.
634         * CutAndPaste.C: mark tabular_stack_ clean after copy.
635
636 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
637
638         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
639
640 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
641
642         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
643         use old deleteion algorithm when changetracking is on.
644
645 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
646
647         * messages.C (get): add debug output.
648
649 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
650
651         * text.C (cursorX): fix bug 1965: cursor movement at
652         line end broken in RtL.
653         (drawSelection): fix bug 1970: drawing of single-line 
654         selection broken for RtL.
655
656 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         bug 465.
659
660         * dociterator.h (clear, push_back, pop_back): change from
661         protected to public.
662
663         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
664         and changed to just return the value of the item depth; take a
665         ParIterator as argument; take the itemdepth at outer nesting level
666         in account if necessary; cleanup and comment the code.
667         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
668         and changed to just return true if reset is needed; take a
669         ParIterator as argument; cleanup and comment the code.
670         (setCounter): adapt to above changes.
671
672 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
673
674         * text3.C (dispatch): make debug message optional
675
676 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
679         inset. (bug 1963)
680
681 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
684
685 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
686
687         * text.C (insertChar):
688         * text2.C (deleteEmptyParagraphMechanism): take care whether 
689         a blank has been deleted (in change tracking mode) (bug 1254).
690
691 2005-07-20  John Levon  <levon@movementarian.org>
692
693         * text2.C (insertStringAsLines): remove old dubious code,
694         fixing bug 1939.
695
696 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * MenuBackend.C (expandToc): use Floating::listName() as title of
699         the floats submenus.
700
701 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
702
703         * toc.[Ch]: Do not use translatable strings (bug 1870).
704
705 2005-07-20  John Levon  <levon@movementarian.org>
706
707         * tabular.C: fix 1748 - setting multicolumn adds
708           left line to the first cell
709
710 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
711
712         bug 1920
713         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
714         pars in one go.
715
716 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
717
718         * messages.C: supress some lyxerr messages
719
720 2005-07-18  Juergen Vigna  <jug@lyx.org>
721
722         * text.C (drawSelection): honor boundary when asking for cursorX.
723
724 2005-07-17  José Matos  <jamatos@fc.up.pt>
725
726         * tabular.C (recalculateMulticolumns): fix handling of one column
727         tables.
728
729 2005-07-17  Juergen Vigna  <jug@lyx.org>
730
731         * text.C (Delete, backspace): fixed so that paragraph with the
732         same layout can be merged by Delete/Backspace.
733
734 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
735
736         * text.C (readParToken): fix spelling.
737
738 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
739
740         * text2.C: fix counter update for DEPM problem reported by
741         Georg Baum
742
743 2005-07-17  Juergen Vigna  <jug@lyx.org>
744
745         * BufferView_pimpl.C (setBuffer): save/restore the
746         cursor/selection when switching buffers
747
748         * buffer.h: 
749         * buffer.C (saveCursor): add saveDocumentIterators to save the
750         cursor when switching buffer.
751
752 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
753
754         * debug.C: fix typo
755         * buffer.C: clarify message
756         
757 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
758
759         * dociterator.C (DocIterator): fix initialization order
760
761 2005-07-17  Juergen Vigna  <jug@lyx.org>
762
763         * text2.C (cursorHome): 
764         * text.C (drawSelection, cursorX): 
765         * dociterator.C (textRow): add boundary to getRow() call
766
767         * paragraph.C (getRow): implementation of below
768
769         * paragraph.h: add parameter boundary for getRow() function
770
771 2005-07-17  José Matos  <jamatos@fc.up.pt>
772
773         * buffer.C:
774         * bufferparams.[Ch]:
775         * tex-strings.[Ch]: new file format, remove support for a4.sty,
776         a4wide.sty and a4widemargins.
777
778 2005-07-17  Juergen Vigna  <jug@lyx.org>
779
780         * text2.C (cursorLeft): fix one of error
781
782 2005-07-17  Juergen Vigna  <jug@lyx.org>
783
784         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
785                    cursorEnd):
786         more fixes for boundary handling
787
788         * text3.C (dispatch): don't reset cursor if boundary has changed
789         on cursor movement.
790
791 2005-07-16  Juergen Vigna  <jug@lyx.org>
792
793         * text2.C (getColumnNearX): hopefully got it right now,
794         check if we are on column 0 for special case.
795
796 2005-07-16  Juergen Vigna  <jug@lyx.org>
797
798         * text2.C (getColumnNearX): handle special case Newline Inset
799
800         * text.C (singleWidth): Just remove bogus check
801
802 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
803
804         * funcrequest.C (split): avoid reading uninitialized char c
805
806 2005-07-16  José Matos  <jamatos@fc.up.pt>
807
808         * buffer.C:
809         * converter.C:
810         * lyxrc.C:
811         * paper.h:
812         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
813         single papersize variable.
814
815 2005-07-16  Juergen Vigna  <jug@lyx.org>
816
817         * text3.C (dispatch): honor boundary when checking if a cursor
818         movement has been done
819
820         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
821         (setCursor, setCursorIntern): fix cursor movement with boundary
822
823 2005-07-16  Juergen Vigna  <jug@lyx.org>
824
825         * text.C (currentState): output the actual Boundary
826
827 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * factory.C (createInset): fix bad logic for tabular creation
830
831 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
832
833         * lyx_main.C (init): change some reLyX reference to tex2lyx
834
835 2005-07-16  Juergen Vigna  <jug@lyx.org>
836
837         * dociterator.C (DocIterator): initialize boundary
838
839 2005-07-16  Juergen Vigna  <jug@lyx.org>
840
841         * text2.C (getColumnNearX): Consider rows without trailing blank.  
842
843 2005-07-16  André Pönitz  <poenitz@gmx.net>
844
845         * lyxfont.h: Change order of declarations to give the compiler
846         a better chance to inline things
847
848         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
849         questions on unsaved docs for better scritability
850
851 2005-07-16  André Pönitz  <poenitz@gmx.net>
852
853         * paragraph.h (getChar): remove asserts as the same kind of security
854         can be achieved by using a suitable standard library implementation
855         and the function was in the critical path (25.9% in profiler)
856
857 2005-07-16  Juergen Vigna  <jug@lyx.org>
858
859         * cursor.C (bruteFind2):
860         * bufferview_funcs.C (coordOffset): 
861         * text.C (cursorX,cursorY): Handle cursor position after last char
862         in row before a inset which uses a whole row.
863
864 2005-07-15  José Matos <jamatos@lyx.org>
865
866         * output_plaintext.[Ch] (writeFileAscii): control reference title
867         printing.
868         (asciiParagraph): noparbreak was already deal and was incorrectly
869         used.
870
871 2005-07-15  Juergen Vigna <jug@lyx.org>
872
873         * lyxfunc.C (dispatch): save and restore the cursor after a
874         textclass switch.
875
876 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
877
878         * text.C (backspace): bug 806 for empty keepempty paragraphs we
879         change the layout to default before letting DEPM do its thing.
880
881         * paragraph_funcs.C (breakParagraph): dont reset the layout on
882         keepEmpty paragraphs
883
884         * text.C (setCursorFromCoordinates): add a debug statement
885
886         * text2.C (getColumnNearX): bug 1825 make sure that we don't
887         return a pos that is not on the row
888
889         * output_latex.C (TeXDeeper): get rid of potential dereferencing
890         of past the end iterator
891
892 2005-07-14  André Pönitz  <poenitz@gmx.net>
893
894         * undo.C (recordUndoFullBuffer): implement undo for
895         textclass switches
896
897 2005-07-14  André Pönitz  <poenitz@gmx.net>
898
899         * cursor.C (setSelection): open insets when selection is set there
900         to avoid crashs with cold coord cache
901
902 2005-07-14  André Pönitz  <poenitz@gmx.net>
903
904         * trans_mgr.C (insert): move cursor to the right after inserting
905         a char.
906
907 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
908
909         * BufferView_pimpl.C (update): dampen some of the debug blabbering
910         * factory.C (readInset): ditto
911         * text.C, text2.C: ditto
912
913 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * buffer.C: format incremented to 242. There is no file format per
916         se, but the "frenchb" language has been removed from lib/language
917         and has to be translated to "french" by lyx2lyx.
918
919 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
920
921         * cursor_slice.h, dociterator.h: add some documentation
922         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
923
924 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
925
926         * text.C (leftMargin): do not add identation to display() style
927         insets, because they are always centered (bug 1293).
928
929 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
930
931         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
932         formatted_time methods in support/lyxtime.
933
934 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
935
936         * toc.[Ch]: new method getGuiName, which is used by the frontends 
937         to set the toc combo (fixes bug 1870). Make TOC string translatable.
938
939 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
940
941         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
942         StableDocIterator const &)
943         * undo.C (recordUndo): use the above instead of cell.size() comparison
944         (fixes bug 1808; instructed by Andr�.
945
946 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
947
948         * cursor_slice.h: 
949         * dociterator.h: Fix the assert when copying rows/cols in math
950
951 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
952
953         * BufferView_pimpl.C:
954         * LyXAction.C:
955         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
956
957         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
958         (findInset): new functions, refactored from goto Inset that return 
959         the position of a certain inset without setting the buffer's cursor
960         (by Jean-Marc); 
961         (gotoInset): rewrite to call findInset and then set the cursor
962         (by Jean-Marc).
963
964 2005-06-16  Angus Leeming  <leeming@lyx.org>
965
966         * lyxrc.C (output, read): wrap all input and output of paths with
967         calls to os::internal_path and os::external_path, respectively.
968         (output): wrap bind_file inside quotes.
969
970         * format.C (view): enable the viewer to use the '$$s' placeholder.
971
972 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
973
974         * LColor.[Ch] (getFromLaTeXName): new
975
976 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
979
980 2005-06-14  Angus Leeming  <leeming@lyx.org>
981
982         * lyx_main.C (init): ensure that the LyX binary dir is the first
983         element in the PATH on non-POSIX builds.
984
985 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
986
987         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
988
989 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * rowpainter.C (paintInset, paintHebrewComposeChar)
992         (paintArabicComposeChar, paintChars): add a LyXFont argument.
993         (paintChars): use getFontSpan to reduce calls to getFont to a
994         minimum; use Paragraph::lookupChange instead of isXXXText.
995         (paintForeignMark): rename LyXFont argument.
996         (paintFromPos): pass a LyXFont object to the various paintXXX
997         methods.
998
999         * FontIterator.C (FontIterator, operator++): use
1000         Paragraph::getFontSpan
1001
1002         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1003         version that returns the font span as a pair.
1004
1005 2005-06-09  Angus Leeming  <leeming@lyx.org>
1006
1007         * converter.C (convert): Don't forget "outfile = real_outfile" as
1008         the final step in a conversion where the input and output file names
1009         are the same. Otherwise, future conversion steps won't work...
1010
1011 2005-06-09  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyxsocket.C: remove stub code as it isn't needed by
1014         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1015
1016 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1017
1018         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1019         effectively disabled -x
1020
1021 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1022
1023         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1024         when it actually makes sense.
1025
1026 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1027
1028         * BufferView_pimpl.C: revert to showCursor in connection with
1029         Lars's front-end stack
1030
1031 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1032
1033         * text.C (redoParagraph): move cursor right after a bibitem
1034         has been inserted.
1035
1036         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1037
1038 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1041         error range.
1042
1043 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1044
1045         * BufferView.[Ch] (update):
1046         * BufferView_pimpl.[Ch] (update, metrics):
1047         * dimension.h (operator==):
1048         * lyxfunc.C (dispatch):
1049         * metricsinfo.h (ViewMetricsInfo):
1050         * rowpainter.C (paintText):
1051         * lyxtext.h:
1052         * text.C (redoParagraph):
1053         * text3.C (dispatch): Make LyX only repaint current paragraph in
1054         case of character insert --> speedup. Also fix cursor draw
1055         artifacts
1056
1057 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1060         avoid a crash (bug 1891)
1061
1062 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         Fix bug 1892:
1065
1066         * text2.C (getStringToIndex): constify cur argument.
1067
1068         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1069         argument has been given
1070         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1071         try to invoke LFUN_INSET_APPLY).
1072
1073         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1074         if no inset was created by doInsertInset
1075         (doInsertInset): return true if an inset has been inserted.
1076
1077 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * vspace.C (asGUIName): new method. A version of the space
1080         suitable for showing on screen.
1081
1082 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1083
1084         * MenuBackend.C:
1085         * lyxrc.C: rename "ASCII" to "Plain Text"
1086
1087 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1090         translate the labelstring.
1091         (setCounter): translate labelstring as needed.
1092
1093         * output_docbook.C (makeCommand): fix expandLabel invokation
1094
1095 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1096
1097         * BufferView.C: fix dialog title
1098
1099 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1100
1101         * lyx_main.C (priv_exec): fix logic error with help from Angus
1102         * lyx_main.C (parse_execute): set is_gui = false and remove now
1103         obsolete comment about a segfault
1104
1105 2005-05-18  Angus Leeming  <leeming@lyx.org>
1106
1107         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1108
1109 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1110
1111         * tabular.[hC]: added setCellInset to fix tabular paste.
1112
1113 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1114
1115         * buffer.C (save): check if destination is writable before trying
1116         to copy a file
1117
1118 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * BufferView_pimpl.C (update): fix processEvents -caused update
1121         recursion bug
1122
1123 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * buffer_funcs.C (setCounter): fix test for numbering of
1126         environments.
1127
1128         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1129         depth correctly; use optional argument when it exists
1130
1131         * lyxtextclass.C: remove unused MaxCounterTags enum
1132         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1133         (max_toclevel, min_toclevel): new methods.
1134
1135         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1136         the smallest depth in toc.
1137
1138         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1139         layouts that should not appear in a table of contents.
1140
1141 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1142
1143         * cursor.h (undispatched, noUpdate): add comments from Andr�
1144 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1145
1146         * lfuns.h:
1147         * LyXAction.C:
1148         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1149
1150 2005-05-07  André Pönitz  <poenitz@gmx.net>
1151
1152         * cursor.[Ch] (leaveInset): new function
1153
1154 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1155
1156         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1157
1158 2005-05-04  Angus Leeming  <leeming@lyx.org>
1159
1160         * lyxfunc.C (getStatus): disable the spell checker dialog if
1161         none of USE_[AIP]SPELL are defined.
1162
1163 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1164
1165         * tabular.C (setWidthOfCell): remove obsolete comment
1166
1167 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1168
1169         * paragraph.C (bibitem):
1170         * buffer_funcs.C (setCounter):
1171         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1172
1173 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * text3.C (getStatus): immediately return after setOnOff
1176
1177         * rowpainter.C: fix drawing of appendix start
1178
1179 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1180
1181         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1182         SwitchBetweenClasses and remove the unused return value.
1183         Handle character styles, too
1184
1185 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1186
1187         * factory.C (createInset): handle undefined character styles
1188
1189 2005-05-02  Angus Leeming  <leeming@lyx.org>
1190
1191         * buffer.C: protect the #include of utime.h with a preprocessor
1192         guard.
1193
1194 2005-05-02  Angus Leeming  <leeming@lyx.org>
1195
1196         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1197         function so that auto-saving works, albeit in a blocking manner.
1198
1199         * Makefile.am: make compilation of the client sub directory, of
1200         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1201         on conditionals set at configure time.
1202
1203         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1204         it can be compiled in its own right but has no-op functionality.
1205
1206         * aspell.C, pspell.C: remove preprocessor guards. The files should
1207         be compiled only if the necessary functionality exists.
1208
1209         * lyxserver.C, lyxsocket.C: disable on Windows.
1210
1211 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1212
1213         * text.C (leftMargin): Fix the parindent use bug (1764)
1214         by dirty trick
1215
1216 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1217
1218         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1219         argument.
1220
1221 2005-04-25  Angus Leeming  <leeming@lyx.org>
1222
1223         * Bidi.[Ch]:
1224         * coordcache.[Ch]:
1225         * ispell.C:
1226         * lyxserver.C:
1227         * mover.C:
1228         * pch.h:
1229         include <config.h> in .C files, not .h ones.
1230         add licence blurb.
1231         protect headers inside preprocessor guards.
1232
1233 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1234
1235         * FuncStatus.h (StatusCodes): document
1236
1237 2005-04-21  André Pönitz  <poenitz@gmx.net>
1238
1239         * FuncStatus.h (enabled, onoff): document
1240
1241 2005-04-19  Angus Leeming  <leeming@lyx.org>
1242
1243         * BufferView_pimpl.C (cursorToggle): no longer test whether
1244         any child processes have been reaped before calling
1245         handleCompletedProcesses().
1246
1247 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1248
1249         * text3.C (dispatch): fix, finally fix, the language problem in
1250         new lyxtexts, without disabling on-the-fly font changes (Helge's
1251         bug report)
1252
1253 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1254
1255         * text3.C (dispatch): set cursor on double/triple click events
1256         (bug 1811)
1257
1258 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1259
1260         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1261         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1262
1263         * rowpainter.C (paintFirst): simplify the code a little bit. In
1264         particular, remove the test for secnumdepth.
1265         * text.C (setHeightOfRow): only allocate space for chapter number
1266         when updateCounters provided an actual label, instead of looking
1267         at secnumdepth directly.
1268
1269         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1270
1271         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1272         paragraphs when secnumdepth is large enough or, for environments,
1273         when they are not the first in a sequence.
1274
1275 2005-04-17  Angus Leeming  <leeming@lyx.org>
1276
1277         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1278         containing space and '~' characters with a call to latex_path().
1279
1280 2005-04-17  Angus Leeming  <leeming@lyx.org>
1281
1282         * converter.C (convert): protect all args of convertDefault.sh
1283         script with quotes.
1284
1285 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * text3.C (dispatch): change the layout to "Caption" after inserting
1288         a float.
1289
1290 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * text3.C (dispatch): fix language problem in newly created
1293         textinsets (and main text) in non-english docs
1294
1295 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1296
1297         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1298         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1299         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1300
1301 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1302
1303         * lyxtext.h:
1304         * text.C (metrics):
1305         * text2.C (getFont):
1306         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1307         fonts fix
1308
1309 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1310
1311         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1312         output of \item arguments without trailing text.
1313
1314 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * FontIterator.C (operator*): avoid a copy of the font.
1317
1318 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1319
1320         * rowpainter.C (getFont): fix language bug from previous fix
1321
1322 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * rowpainter.C (RowPainter, getFont): fix font inside inset
1325         (bugs 1766, 1809)
1326
1327 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1330         preventing inserted font, deco, delim insets jumping to start of
1331         surrounding inset.
1332
1333 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1334
1335         * lyxfunc.C (dispatch): translate message before sending it to the
1336         minibuffer.
1337
1338 2005-03-29  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1341         to LyX on the command line.
1342
1343 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1344
1345         * vc-backend.C: use QuoteName to protect file names wherever
1346         necessary.
1347
1348 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * buffer.[Ch]:
1351         * BranchList.h: fix bugs 1844,1845: document settings don't
1352         stick
1353
1354 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * lyxrc.C (setDefaults, read, output, getDescription): add support
1357         for tex_allows_spaces.
1358
1359         * exporter.C (Export): allows files in directory containing spaces
1360         if tex_allows_spaces is true.
1361
1362         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1363         output it in double quotes.
1364
1365 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1366
1367         * rowpainter.C: use default text height for drawing change tracker
1368         strikeout lines.
1369
1370 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1371
1372         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1373
1374 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1375
1376         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1377         directory is missing.
1378
1379 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1380
1381         * text2.C: fixed the fix, extended to other case.
1382
1383 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1384
1385         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1386
1387 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1388
1389         * text2.C (cursorUp): get rid of a crash
1390         * text.C (x2pos): add an assert
1391
1392 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1395
1396         * text3.C:
1397         * lyxfunc.C:
1398         * dociterator.C: include <boost/current_function.hpp>, which is
1399         needed when assertions are disabled.
1400
1401 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1402
1403         * text2.C: fix for stuck cursor when traversing two
1404         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1405
1406 2005-02-25  Andreas Vox  <avox@arcor.de>
1407
1408         * output_docbook.C (makeParagraph): suppress trailing newline
1409         after a run of paragraphs
1410
1411 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1412
1413         * paragraph.C: fix for confused change tracker when pasting
1414         text that begins with a lineseparator. [bug 1827]
1415         (setChange(0, Change::INSERTED);)
1416
1417         * paragraph_funcs.C: fix for lost changes on triple-paste
1418         in change tracking mode [bug 1827] (par.setChange()).
1419
1420 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * text2.C (updateCounters, setCounter, expandLabel): move to
1423         buffer_funcs.
1424
1425         * buffer_funcs.C (updateCounters): turn into a free standing
1426         function and add a buffer parameter. Remove dead code for tracking
1427         labelstring change.
1428         (setCounter): change into a free-standing function which gets a
1429         dociterator as argument. Use this iterator to fix captions in a
1430         simple way. When no float is found above the caption, use the
1431         labelstring of the caption layout as default.
1432
1433         * text.C (breakParagraph, backspace):
1434         * text2.C (init, setLayout, changeDepth):
1435         * text3.C (dispatch):
1436         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1437         updateCounters.
1438
1439         * dociterator.C (forwardPar): make it much faster by calling
1440         forwardPos() only when really necessary.
1441
1442         * output_docbook.C (makeCommand): adapt to expandLabel move.
1443
1444         * cursor.C: remove unused variable
1445
1446 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1447
1448         * paragraph_funcs.C: fix crash when pasting insets in change
1449         tracking mode [bug 1277] (honour change type in moveItem).
1450
1451 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1452
1453         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1454
1455 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1456
1457         * BufferView.C (setCursor): change to use a DocIterator.
1458         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1459         (putSelectionAt): adapt to BufferView::setCursor change.
1460
1461         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1462         moved here from LyXText and rewritten to use proper cursor
1463         methods. Fixes bug 1787, 616 and 835.
1464
1465         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1466         when inside an inset (part of bug 781).
1467         (dispatch): adapt to change of BufferView::setCursor.
1468         (getStatus, dispatch): handle LFUN_GOTOERROR,
1469         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1470
1471         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1472         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1473         * text3.C (gotoNextInset, gotoInset): removed.
1474
1475 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1478
1479 2005-02-15  Angus Leeming  <leeming@lyx.org>
1480
1481         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1482         can be used meaningfully in a comparison.
1483
1484 2005-02-13  André Pönitz  <poenitz@gmx.net>
1485
1486         * bufferview_funcs.C (coordOffset): improve cursor drawing
1487
1488 2005-02-13  André Pönitz  <poenitz@gmx.net>
1489
1490         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1491         * Cursor.C (dispatch): use fixIfBroken
1492         * lyxfunc.C (getStatus): use fixIfBroken
1493
1494 2005-02-15  Angus Leeming  <leeming@lyx.org>
1495
1496         * lyx_main.C (error_handler):
1497         * lyxfunc.C:
1498         * lyxrc.C (setDefaults):
1499         s/GetEnv/getEnv/.
1500         #include "environment.h".
1501
1502         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1503
1504 2005-02-15  Angus Leeming  <leeming@lyx.org>
1505
1506         * lyxserver.C (startPipe): squash MSVC warning "local variable
1507         'fd' used without having been initialized".
1508
1509 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1510
1511         * BufferView_pimpl.C: revert accidental commit.
1512
1513 2005-02-14  André Pönitz  <poenitz@gmx.net>
1514
1515         * dociterator.[Ch]: new member forwardPosNoDescent(),
1516         which doesn't enter nested insets.
1517         * text2.C (setFont): use forwardPosNoDescent() instead
1518         of ForwardPos() (fixes crash on font change).
1519
1520 2005-02-13  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1523         only if lyxrc.path_prefix is not empty.
1524
1525 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1526
1527         * bufferparams.C (readGraphicsDriver): prevent crash
1528
1529 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1530
1531         * text2.C (setCounter): check for inInset() == 0
1532
1533 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1536         but use update() to get correct screen display; use convert
1537         instead of istringstream.
1538         (getStatus): handle LFUN_GOTO_PARAGRAPH
1539
1540         * lyxfunc.C (dispatch, getStatus): do not handle
1541         LFUN_GOTO_PARAGRAPH here.
1542
1543 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * text3.C (dispatch): size() -> depth()
1546
1547         * text2.C: remove some debug output
1548
1549         * paragraph.C: ws changes only
1550
1551         * lyxfunc.C (getStatus): size() -> depth()
1552
1553         * dociterator.h (clear, push_back, pop_back, internalData,
1554         operator[], resize, empty): new functions
1555         Make StableDocIterator and operator== be friends. Don't inherit
1556         from std::vector use a privat class variable slices_ instead.
1557         Modify to fit.
1558
1559         * dociterator.C: update because of not inheriting from std::vector
1560         anymore. Call explictly to slices_ instead. Use depth() instead of
1561         size() and top() instead of back()
1562
1563         * cursor.C: chagne size() -> depth and back() -> top(). Also
1564         remove some direct operator[](i) calls in favour of foo[i]
1565         (getFont): remove some dead code
1566
1567         * bufferview_funcs.C (coordOffset): size() -> depth()
1568
1569         * buffer.C: ws changes only
1570
1571         * CutAndPaste.C (eraseSelection): back() -> top()
1572
1573         * BufferView_pimpl.C (selectionRequested): back() -> top()
1574
1575         * BufferView.C (setCursor): size() -> depth()
1576
1577 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1578
1579         * text3.C (cursorPrevious): return true if depm changed something
1580         (cursorNext): ditto
1581         (dispatch): rename sl to oldTopSlice, remove moving use the new
1582         NoUpdate func attrib instead. Make sure that needsUpdate is set
1583         for function that have NoUpdate, but where depm might have changed
1584         the buffer anyway.
1585
1586         * text2.C (cursorLeft): make us return true if depm changed
1587         something
1588         (cursorRight): ditto
1589         (cursorUpParagraph): ditto
1590         (curosrDownParagraph): ditto
1591         (cursorUp, cursorDown): ditto, make sure to read comments in code
1592         (deleteEmptyParagraphMechanism): remove an assert, also return
1593         true if just a single char was deleted.
1594
1595         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1596         cursor that we modify, to avoid modifying an active cursor before
1597         we call setCursor. This allows depm to run. Also return true if
1598         depm deleted something.
1599
1600         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1601         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1602         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1603         something was changed in the buffer because of them (ie. depm run)
1604
1605         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1606         debug messages. Make update by default be false. Make sure that
1607         the result of update is retained throught several calls down to
1608         dispatch.
1609
1610         * LyXAction.h: add a new func_attrib: NoUpdate
1611
1612         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1613         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1614         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1615         and LFUN_WORDLEFT
1616         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1617
1618 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1621         bv_->owner(), bv_->buffer() by direct references to the private
1622         members.
1623         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1624         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1625         (fitCursor): center() is in BufferView::Pimpl.
1626         (getStatus, trackChanges, dispatch): no need for a temporary buf
1627         variable
1628         (fitCursor, workAreaDispatch): use workarea().workheight()
1629
1630 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1631
1632         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1633
1634 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1635
1636         * buffer.C: format up to 241.
1637         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1638         break if pasting into ERT
1639         * lyxfunc.C (getStatus): suppress mathpanel and
1640         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1641
1642 2005-02-01  Angus Leeming  <leeming@lyx.org>
1643
1644         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1645
1646 2005-02-01  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1649         calling fs::is_directory().
1650
1651 2005-01-31  Angus Leeming  <leeming@lyx.org>
1652
1653         * lyx_main.C (priv_exec): specify explicitly the relative location
1654         of the top level build directory when run in-place.
1655
1656 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1657
1658         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1659         LyXText containing the cursor, not the top-level one.
1660
1661         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1662         true.
1663         (insertStringAsLines): rename par to pit; use temporary variable
1664         par to hold a Paragraph; do not store par.layout() in a variable,
1665         since the pointer may die when breaking paragraphs; pass pars to
1666         breakParagraph() instead of Buffer::paragraphs().
1667
1668 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1669
1670         * lyxlex_pimpl.h: #include <fstream>.
1671
1672         * BufferView.[Ch] (getLyXText): add a const version.
1673
1674         * BufferView_pimpl.C: add debug aids.
1675
1676         * RowList_fwd.h:
1677         * buffer.h:
1678         * lyxrow.h:
1679         * paragraph_funcs.h: add commentary explaining what the class does.
1680
1681
1682         * coordcache.[Ch]: add lots of commentary.
1683         (startUpdating, doneUpdating): debug aids.
1684         (arrays, insets, parPos, getParPos): accessors to private data.
1685
1686         * cursor_slice.[Ch] (text): add a const version.
1687         * dociterator.[Ch] (text, innerText): add const versions.
1688
1689         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1690         bool.
1691
1692         * paragraph.C (getRow, pos2ros): add asserts.
1693
1694         * paragraph.h: add commentary. Lots of.
1695
1696         * paragraph.[Ch] (metrucs, draw): removed.
1697
1698         * cursor.C:
1699         * rowpainter.[Ch]: const-correct changes.
1700
1701         * text.C: various obvious clean-ups. Removal of ancient cruft.
1702         Bug fixes, even.
1703
1704 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1705
1706         * vc-backend.C (find_file): rewrite to use boost.filesystem
1707         (scanMaster): ditto
1708
1709         * main.C (main): set default name check for boost.filesystem to
1710         no check
1711
1712         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1713         (open): ditto
1714         (doImport): ditto
1715         (actOnUpdatedPrefs): ditto
1716
1717         * lyx_main.C (init): rewrite to use boost.filesystem
1718         (queryUserLyXDir): ditto
1719
1720         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1721         (getContentsOfAsciiFile): ditto
1722
1723         * lastfiles.C (readFile): rewrite to use boost.filesystem
1724
1725         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1726
1727         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1728         (loadLyXFile): ditto
1729
1730         * buffer.C (Buffer): adjust for destroydir
1731         (getLogName): rewrite to use boost.filesystem
1732         (setFileName): ditto
1733         (save): use fs::copy_file (from fs_extras)
1734
1735         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1736
1737         * LaTeX.C (run): rewrite to use boost.filesystem
1738         (scanAuxFiles): ditto
1739         (handleFoundFile): ditto
1740
1741 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1742
1743         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1744
1745         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1746
1747 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1748
1749         * lyxlayout.[Ch]: change some vars from float to double
1750
1751         * buffer.C (readFile): make a local var const
1752
1753         * Several files: use convert<> instead of atoi,strToXXX and friends
1754
1755 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1756
1757         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1758         holds the contents of packages.lst. New functions getAvailable
1759         and isAvailable to parse and check that list, resp.
1760
1761         * LyXAction.C:
1762         * lfuns.h:
1763         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1764
1765         * bufferparams.[Ch]: new param output_changes.
1766
1767         * Buffer.C: increase file format to 240.
1768         Use output_changes and isVailable.
1769
1770         * changes.[Ch]:
1771         * paragraph.C:
1772         * paragraph_pimpl.C: Use output_changes and isVailable.
1773
1774 2005-01-23  Angus Leeming  <leeming@lyx.org>
1775
1776         * output_latex.C: #include "insetbibitem.h", rather than
1777         forward declare function bibitemWidest.
1778
1779 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1780
1781         * lyx_main.C (init): make it compile on the Mac.
1782
1783 2005-01-20  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1786         (setLyXMisc): (char string literal) != (char string literal) is
1787         performing a comparison on the addresses. Convert one operand
1788         explicitly to string to guarantee expected behaviour.
1789         From MSVC warning.
1790
1791 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1792
1793         * buffer.C:
1794         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1795
1796         * output_plaintext.C: remove unneeded #include gzstream.h.
1797
1798 2005-01-20  Angus Leeming  <leeming@lyx.org>
1799
1800         * SpellBase.h: rename some of the elements of the Result enum.
1801
1802         * aspell_local.h:
1803         * ispell.h:
1804         * pspell.h:
1805         * aspell.C (check):
1806         * ispell.C (check):
1807         * pspell.C (check): ditto
1808
1809 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1810
1811         * buffer.C: add #include <fstream>.
1812
1813         * lyx_main.C (init): Compile fix.
1814
1815         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1816
1817 2005-01-20  Angus Leeming  <leeming@lyx.org>
1818
1819         * mover.h: change commentary to reflect the changed meaning of
1820         the $$s placeholder.
1821
1822 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1823
1824         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1825
1826         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1827
1828 2005-01-20  Angus Leeming  <leeming@lyx.org>
1829
1830         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1831         printing diagnostic data by not dereferecing an iterator past the
1832         end.
1833
1834 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1835
1836         * buffer.C (readHeader): use "&&" rather than "and".
1837
1838         * lyxserver.h (inPipeName, outPipeName): make these const.
1839
1840 2005-01-19  Angus Leeming  <leeming@lyx.org>
1841
1842         * lyx_main.C (error_handler, init): protect SIGHUP with
1843         #ifdef SIGHUP guards.
1844
1845 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1846
1847         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1848
1849 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1850
1851         * text.C (setHeightOfRow): add a margin at the top and bottom of
1852         the document (bug 1761)
1853
1854 2005-01-17  Angus Leeming  <leeming@lyx.org>
1855
1856         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1857         with "python ". Workaround for a brain-dead Windows.
1858
1859 2005-01-16  Angus Leeming  <leeming@lyx.org>
1860
1861         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1862         for MacOSX and Windows to use prependEnvPath.
1863         Strip out the hard-coded block to add elements to the PATH for
1864         MacOSX and replace it with a call to prependEnvPath using the
1865         contents of LyXRC::path_prefix.
1866         (queryUserLyXDir): strip out the code to run reconfigure, instead
1867         returning a boolean indicating the necessity to do so.
1868         (reconfigureUserLyXDir): contains the code to reconfigure the
1869         user support directory. Is now called after the various LyXRC data
1870         files have been read.
1871
1872         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1873
1874 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1875
1876         * converter.[Ch] (convert): take a new parameter try_default. Use
1877         a default converter (imagemagick) if try_default is true.
1878
1879 2005-01-13  Angus Leeming  <leeming@lyx.org>
1880
1881         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1882         os::cygwin_path_fix.
1883         (write): output LyXRC::cygwin_path_fix as necessary.
1884
1885 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1886
1887         * lyxrc.h:
1888         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1889
1890 2005-01-12  Angus Leeming  <leeming@lyx.org>
1891
1892         * lyx_main.C (init): set the PATH variable to include the
1893         directory containing the LyX binary when running on Mac or Windows.
1894
1895 2005-01-12  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyx_main.C (init): remove cruft that purports to set the locale
1898         dir. It doesn't and is not needed anyway.
1899
1900 2005-01-10  Angus Leeming  <leeming@lyx.org>
1901
1902         * Makefile.am: remove the lyx_main.C special casing.
1903
1904         * BufferView_pimpl.C:
1905         * bufferlist.C:
1906         * exporter.C:
1907         * lyx_cb.C:
1908         * lyx_main.C:
1909         * lyxfunc.C:
1910         * messages.C: use support/package.h to provide the paths to the
1911         various directories used by LyX.
1912
1913 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1914
1915         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1916         layout if pasting into an empty paragraph)
1917
1918 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1919
1920         * tex-accent.C: add <string>
1921
1922 2005-01-06  José Matos  <jamatos@lyx.org>
1923
1924         * ParagraphParameters.C (write): put every parameter in its own line.
1925         * paragraph.C (write): reduce number of consecutive empty lines exported.
1926         * buffer.C (LYX_FORMAT): increase file format to 239.
1927
1928 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * everywhere: change support/tostr.h -> support/convert.h
1931
1932         * tabular.C: make all write_attributes templates, tostr -> convert
1933
1934         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1935         (emptyTag): and -> &&, and fix type for ret from getChar
1936         (getFirstWord): fix type for ret from getChar
1937         (onlyText): and -> &&
1938         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1939         getChar
1940
1941         * toc.C (goTo, action):
1942         * text3.C (dispatch):
1943         * text.C (currentState):
1944         * tex-accent.C (DoAccent):
1945         * sgml.C:
1946         * lyxrc.C:
1947         * lyxfunc.C (menuNew):
1948         * lyxfinc.C (replace):
1949         * counters.C (laberItem):
1950         * bufferview_funcs.C (font2string):
1951         * bufferparams.C (writeFile):
1952         * buffer.C (readFile):
1953         * Spacing.C (set):
1954         * MenuBackend.C: tostr -> convert
1955
1956         * LaTeX.C (runMessage): fix format
1957         (scanAuxFiles): tostr -> convert
1958
1959         * BufferView_pimpl.C (savePosition): fix format
1960         (restorePosition): ditto
1961         (dispatch): ditto
1962
1963 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1964
1965         * Spacing.[Ch]: New method getValueAsString().
1966
1967         * Spacing.[Ch]:
1968         * bufferparams.C:
1969         * ParagraphParameters.C:
1970         * lyxlayout.C:
1971         * text.C:
1972         * text3.C: store/read spacing value as string.
1973
1974         * rowpainter.C: change float value (spacing_val) to double.
1975
1976         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1977         broken custom document spacing).
1978
1979 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1980
1981         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1982         namespace, also more use of temp references and const
1983
1984         * cursor.[Ch] (getStatus): move to lyxfunc.C
1985
1986         * bufferparams.C: reformat slightly
1987
1988         * bufferview_funcs.C (font2string): constify arg
1989
1990         * changes.C:
1991         * converter.C:
1992         * counters.C:
1993         * bufferlist.C:
1994         * buffer_funcs.C: (many funcs): constify arg on function
1995         definitions, also make more local vars const, also add ASSERTS on
1996         pointer args.
1997
1998         * buffer.C (LYX_FORMAT): put const in correct place
1999         (many funcs): constify arg on function definitions, also make
2000         more local vars const
2001
2002         * aspell_local.h: remove "struct" from typdef setup
2003
2004         * aspell.C (check): make word_ok const
2005         (nextMiss): simplify slightly
2006         (error): ditto
2007
2008 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2009
2010         * lyxrc.[Ch]: store all float values as strings.
2011         use int (not float) for lyxrc.dpi.
2012
2013 2005-01-04  Angus Leeming  <leeming@lyx.org>
2014
2015         * lyx_cb.C (Reconfigure):
2016         * lyx_main.C (queryUserLyXDir):
2017         to run the <system_lyxdir>/configure correctly on Windows, prefix
2018         the path to the script with "sh " when generating the string that
2019         is passed to system().
2020
2021 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2022
2023         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2024
2025 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * lyxlength.C (asLatexString): get rid of setprecision
2028
2029 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * text2.C (setLayout): remove unused variable endpit.
2032         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2033
2034         * paragraph.C (onlyText): remove unused variable style.
2035
2036         * cursor.C (bruteFind): remove unused variables beg and end.
2037
2038         * Makefile.am (dist_noinset_DATA): not needed anymore
2039
2040         * cheaders/*: remove.
2041
2042 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * text3.C: fix LFUN_MATH_MODE.
2045
2046 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * buffer_funcs.C (countWords): new function. Counts words between
2049         two iterators.
2050
2051         * BufferView_pimpl.C (getStatus, dispatch): handle
2052         LFUN_WORDS_COUNT.
2053
2054         * LyXAction.C (init):
2055         * lfuns.h: add LFUN_WORDS_COUNT.
2056
2057 2004-12-19  Angus Leeming  <leeming@lyx.org>
2058
2059         * buffer.C (save): s/slashify_path/internal_path/.
2060
2061 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2062
2063         * lyxfind.C (findChange): do not search for end of pars, because
2064         the change tracker cannot handle this (fixes bug 1719).
2065
2066 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2067
2068         * paragraph.[Ch] (autoBreakRows): remove
2069
2070         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2071
2072         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2073         avoid using the paragraph one
2074
2075         * text2.C (LyXText, insertStringAsLines): adjust
2076
2077 2004-12-16  Angus Leeming  <leeming@lyx.org>
2078
2079         * bufferlist.C:
2080         * lyx_main.C:
2081         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2082
2083 2004-12-14  Angus Leeming  <leeming@lyx.org>
2084
2085         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2086
2087         * bufferlist.C (emergencyWrite):
2088         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2089         GetEnvPath("HOME").
2090
2091 2004-12-14  Angus Leeming  <leeming@lyx.org>
2092
2093         * main.C: (main): no longer pass pointers to os::init.
2094
2095 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2096
2097         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2098         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2099
2100 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * lyxfunc.C:
2103         * text3.C: remove selection_possible global flag
2104
2105 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * text2.C (getSelectionSpan): remove
2108         (changeDepth, changeDepthAllowed): adjust
2109
2110 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2111
2112         * Makefile.am (BOOST_LIBS): use boost variables
2113
2114 2004-12-03  José Matos  <jamatos@lyx.org>
2115
2116         * buffer.C: format up to 238.
2117
2118 2004-12-03  José Matos  <jamatos@lyx.org>
2119
2120         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2121
2122 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * cursor.C (goUpDown): remove call to idxUpDown2
2125
2126 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2127
2128         * tabular.[Ch]: use size_t-like types for cell, row and column
2129         indices
2130
2131 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * lyxfunc.C (getStatus): do not lose previous information when
2134         calling BufferView::getStatus; do not set a default "Command
2135         disabled" message at the beginning, but just before returning.
2136
2137 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2138
2139         * cursor.h (getStatus): add better comment from src/cursor.C
2140
2141 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * text3.C (getStatus): return false when the lfun is not handled
2144
2145 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2146
2147         * broken_headers.h: remove
2148
2149         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2150
2151 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2154         offset_ref accessors
2155
2156         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2157         top_y_, merge fitcursor with update
2158         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2159         coord scheme
2160         (metrics): introduce
2161         (workAreaDispatch): adapt to new coord scheme
2162         (redoCurrentBuffer): remove
2163
2164         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2165
2166         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2167         CurStatus enum.
2168
2169         * coordcache.[Ch]: add paragraph cache and helpers
2170
2171         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2172         adjust everywhere
2173
2174         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2175         (targetX, setTargetX): introduce
2176
2177         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2178         baseline -> ascent, as the rest of lyx
2179
2180         * lyxtext.h: remove redoParagraphs, updateParPositions,
2181         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2182         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2183         have ascent/descent (ascent is ascent of first par)
2184
2185         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2186         step of BufferView
2187
2188         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2189
2190         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2191
2192         * pariterator.C: fix infinite loop introduced in par->pit renaming
2193
2194         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2195         in insets and LyXText, draw two off-screen paragraphs using
2196         NullPainter, and adapt to new coord scheme
2197
2198         * text.C:
2199         * text2.C:
2200         * text3.C: adapt lfun handlers to the new coord scheme, which
2201         means: there's only guaranteed coord information for onscreen pars
2202         plus one above and one below. This implies that one can do search
2203         from y coordinates in the range [-1,workHeight]
2204
2205 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * rename a lot of InsetOld to InsetBase
2208
2209 2004-11-25  Angus Leeming  <leeming@lyx.org>
2210
2211         * BufferView_pimpl.C:
2212         * lyx_cb.C:
2213         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2214
2215 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216
2217         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2218         call BufferView::getStatus if LCursor::getStatus did nothing
2219         (setStatusMessage, getStatusMessage): removed.
2220
2221         * FuncStatus.C (message): new methods. Used to provide an error
2222         message indicating why a command is disabled.
2223         (clear, |=, FuncStatus): update for message.
2224
2225 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2226
2227         * lyxfunc.C (dispatch): always call sendDispatchMessage
2228
2229 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * BufferView.C:
2232         * BufferView_pimpl.C:
2233         * CutAndPaste.C:
2234         * FontIterator.C:
2235         * buffer.C:
2236         * cursor.C:
2237         * cursor_slice.[Ch]:
2238         * dociterator.[Ch]:
2239         * lyxfind.C:
2240         * paragraph_funcs.C:
2241         * pariterator.C:
2242         * rowpainter.C:
2243         * text.C:
2244         * text2.C:
2245         * text3.C:
2246         * undo.C: par->pit renaming
2247
2248 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * tabular.C (cellstruct): use initialization, store a shared_ptr
2251         to insettext instead of the insettext directly, adjust to fit.
2252         (operator=):  new function
2253         (swap): new function
2254         (rowstruct): use initialization
2255         (columnstruct): use initialization
2256         (ltType): use initialization
2257
2258
2259         * lyxlength.h (swap): new function
2260
2261         * LColor.[Ch] (operator=): use the common semantics
2262
2263 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * lyxfind.C (findNextChange): update the bufferview after setting
2266         the selection.
2267
2268 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2269
2270         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2271         number of InsetOptArgs has already been inserted.
2272
2273         * output_latex.C (latexOptArgInsets): new method. This outputs all
2274         the optarg insets, up to the limit defined in the layout file.
2275         (optArgInset): removed
2276         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2277
2278 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * paragraph.C (isLetter): remove special spellchecker-related
2281         code; return true also for digits
2282         (isWord, isKomma): remove
2283
2284         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2285         * lyxfind.C (MatchString()): use isLetter instead of isWord
2286
2287 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * pariterator.h (operatir=): comment out un-implemented member
2290         function.
2291
2292         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2293         static cast.
2294
2295 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * lyxfont.h: include LColor.h to satisfy concept checks.
2298
2299 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2300
2301         * pariterator.h: add typdefs for value_type, difference_type,
2302         pointer and reference to satisfy concept checks. Also add default
2303         constructor for same reason.
2304
2305         * pariterator.C (operator++): add post-increment operator to
2306         satisfy concept checks.
2307
2308         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2309         checks.
2310
2311         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2312
2313         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2314         checks. Also rename base_type to BaseType to follow naming
2315         standard better.
2316
2317         * FloatList.h: include Floating.h to satisfy concept checks.
2318
2319 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         * lyxfunc.C (getStatus): when the origin of the request is menu or
2322         toolbar, and the LyXView does not have focus, do as if there was
2323         no buffer (bug 1720)
2324
2325         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2326         FuncRequest to individual entries of LFUN_SEQUENCE
2327
2328 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2329
2330         * output_latex.C (TeXOnePar): override runparams.moving_arg
2331         according to the needprotect value of the current paragraph (bug
2332         1739)
2333
2334         * paragraph.C (simpleTeXOnePar): no need to override
2335         runparams.moving_args here
2336
2337 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2338
2339         * vspace.C: fix off-by-one-error, related to fix #1682
2340
2341 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2342
2343         * lengthcommon.C: a more general fix for bug 1682
2344
2345 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * text.C (backspace): fix crash
2348
2349 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2350
2351         * format.[Ch] (getFormatFromFile): new method
2352         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2353
2354 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2355
2356         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2357
2358 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * lyxfunc.C (dispatch): remove the verbose argument
2361         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2362         instead
2363
2364         * kbmap.C (defkey): set the origin of func to KEYBOARD
2365
2366         * MenuBackend.C (MenuItem):
2367         * ToolbarBackend.C (add): set the origin of func to UI
2368
2369         * funcrequest.[Ch]: add origin member, which indicates which part
2370         of LyX requests an action
2371
2372 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2373
2374         * converter.C (move): don't lie in the error message
2375         * converter.h (isReachable, move): document
2376
2377 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * buffer.C: remove unused using lyx::support::atoi
2380         * paragraph_funcs.C: ditto
2381
2382 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2383
2384         * bufferlist.C (exists): use bind and equal_to instead of
2385         compare_memfun
2386         (getBuffer): ditto
2387         * lyxtextclasslist.C (NumberOfClass): ditto
2388
2389         * cursor.C (insert): use for_each instead of explicit for loop
2390
2391         * bufferlist.C (getFileNames): use std::transform and
2392         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2393
2394         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2395         for loop
2396
2397         * buffer.C (changeLanguage): use for_each instead of explicit for
2398         loop
2399         (hasParWithID): implement using getParFromID
2400
2401         * LaTeXFeatures.C: ws change only
2402
2403         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2404         to cleanup a bit.
2405
2406         * BufferView_pimpl.C (trackChanges): use for_each instead of
2407         expilicit for loop
2408
2409 2004-11-04  André Pönitz  <poenitz@gmx.net>
2410
2411         * undo.h:
2412         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2413
2414         * dociterator.C (asDocIterator): use hard assert again.
2415
2416 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * lyxlength.C (asLatexString): rewrite so that it does not use
2419         snprintf anymore
2420
2421 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2422
2423         * text3.C (specialChar, dispatch): make sure cursor moves to the
2424         right after inserting an inset
2425
2426 2004-11-02  José Matos  <jamatos@lyx.org>
2427
2428         * output_docbook.C (docbook):
2429         * paragraph.C (getID):
2430         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2431         garantee that the output is always legal.
2432
2433         * tabular.C (docbook):
2434         * outputprams.[Ch]: remove mixed contents.
2435
2436 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2437
2438         * text2.C (setCounter): prevent endless loop
2439
2440 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2441
2442         * exporter.C (copyFile): use the mover instead of support::copy()
2443         * exporter.C (Export): pass format and latex name to copyFile()
2444         * exporter.h (addExternalFile): document
2445         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2446
2447 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2448
2449         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2450
2451 2004-10-30  José Matos  <jamatos@lyx.org>
2452
2453         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2454         text and no inset or font change. This allows to use CDATA
2455         sections just for the whole paragraph.
2456
2457 2004-10-30  José Matos  <jamatos@lyx.org>
2458
2459         * paragraph.C (getFirstWord): remove unused variable.
2460
2461 2004-10-30  José Matos  <jamatos@lyx.org>
2462
2463         * paragraph.C (getFirstWord): the content should always be escaped
2464         there.
2465         (simpleDocBookOnePar):
2466         * output_docbook.C (makeEnvironment): replace reference to CDATA
2467         to style pass_thru.
2468
2469 2004-10-30  José Matos  <jamatos@lyx.org>
2470
2471         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2472
2473 2004-10-30  José Matos  <jamatos@lyx.org>
2474
2475         * output_docbook.C (makeParagraphs):
2476         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2477         standard paragraph has only a given type of content drop the wrapper.
2478
2479 2004-10-29  José Matos  <jamatos@lyx.org>
2480
2481         * output_docbook.C (makeEnvironment):
2482         * sgml.C (openTag):
2483         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2484
2485 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2486
2487         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2488         (cleanID): sanitize any id.
2489
2490 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2491
2492         * buffer.C, lyxlex_pimpl.C:
2493         * lyxlex_pimpl.C (setFile):
2494         s/getExtFromContents/getFormatFromContents/
2495
2496 2004-10-28  José Matos  <jamatos@lyx.org>
2497
2498         * output_docbook.C (makeEnvironment): move id to broadest possible
2499         scope.
2500
2501         * sgml.C (openTag): apply substitution of <> for all attributes.
2502
2503 2004-10-28  José Matos  <jamatos@lyx.org>
2504
2505         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2506         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2507         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2508
2509         * sgml.[Ch]: new version for open and closeTag for paragraph and
2510         for strings. Now they handle the ids of paragraphs.
2511
2512 2004-10-26  Angus Leeming  <leeming@lyx.org>
2513
2514         * Makefile.am: add mover.[Ch].
2515
2516         * converter.C (convert, move): use the new Movers to move external
2517         files to the temp directory.
2518
2519         * lyx_main.C (init): ensure that the global system_movers data
2520         is initialised.
2521
2522         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2523         preferences file.
2524
2525         * mover.[Ch]: new files, defining a Mover as a utility to move an
2526         external file between directories and, if necessary, manipulate this
2527         file using a helper script.
2528
2529 2004-10-25  José Matos  <jamatos@lyx.org>
2530
2531         * output_docbook.C (makeCommand): merge two if's that tested the
2532         same condition.
2533
2534 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2535
2536         * sgml.C (escapeString): fix warning in a better way
2537
2538 2004-10-25  José Matos  <jamatos@lyx.org>
2539
2540         * sgml.C (escapeString): import the require boosts header file for
2541         tie, and avoid a signed unsigned comparison.
2542
2543 2004-10-25  José Matos  <jamatos@lyx.org>
2544
2545         * sgml.h: add #include <string>
2546
2547 2004-10-25  José Matos  <jamatos@lyx.org>
2548
2549         * sgml.[Ch] (escapeString): new function to escape all the string.
2550
2551 2004-10-24  José Matos  <jamatos@lyx.org>
2552
2553         * paragraph.[Ch] (getFirstWord): new function to get the first
2554         word. Useful for description.
2555         (simpleDocBookOnePar): remove depth argument, add another that
2556         says where to start the paragraph.
2557
2558         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2559         use the new functions to fix cleanly the support for descriptions.
2560
2561 2004-10-24  José Matos  <jamatos@lyx.org>
2562
2563         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2564         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2565         * output_linuxdoc.C (linuxdocParagraphs):
2566         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2567         add buffer as argument.
2568
2569 2004-10-24  José Matos  <jamatos@lyx.org>
2570
2571         * output_docbook.C (makeEnvironment, searchEnvironment): place
2572         CDATA inside paragraphs and fix scope for listitems.
2573
2574 2004-10-24  José Matos  <jamatos@lyx.org>
2575
2576         * output_docbook.C: remove using statement for stack.
2577
2578 2004-10-23  José Matos  <jamatos@lyx.org>
2579
2580         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2581         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2582         docbook. The new scheme is recursive and makes use of iterators, the
2583         same as latex export works.
2584         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2585         directly with the paragraph contents. This code was moved up to
2586         output_docbook.C (docbookParagraphs).
2587         * sgml.C (openTag, closeTag): removed unneeded newlines.
2588         (closeEnvTags) removed.
2589
2590 2004-10-23  André Pönitz  <poenitz@gmx.net>
2591
2592         * undo.C (textUndoOrRedo):
2593         * dociterator.C (asDocIterator): work around crash
2594
2595         * cursor.C (getStatus): replace ASSERT by more verbose error message
2596           and manual correction of the problem. Should increase stability
2597           while providing more sensible information.
2598
2599 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2600
2601         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2602
2603         * bufferlist.C (previous, next): new methods
2604
2605         * lfuns.h:
2606         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2607
2608 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2609
2610         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2611         entities to preamble.
2612
2613 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2614
2615         * messages.C (Pimpl): strip off translation context information
2616
2617 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2618
2619         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2620         the cursor is correct (bug 1694)
2621
2622 2004-10-13  José Matos  <jamatos@lyx.org>
2623
2624         * output_docbook.C (docbookParagraphs): fix closing tags in the
2625         end of the document.
2626
2627 2004-10-09  José Matos  <jamatos@lyx.org>
2628
2629         * buffer.C: format up to 237.
2630         * bufferparams.C (write): use tostr to convert booleans to strings.
2631
2632 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2633
2634         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2635
2636 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2637
2638         * LaTeX.C: implement use of babel language in xindy.
2639
2640 2004-10-05  José Matos  <jamatos@lyx.org>
2641
2642         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2643         Add new translators to help reading and writing the lyx file.
2644
2645 2004-10-05  José Matos  <jamatos@lyx.org>
2646
2647         * ParagraphParameters.C (read):
2648         * text.C (readParToken): replace nexToken by more appropriate lex
2649         methods.
2650
2651 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2652
2653         * LaTeX.C (runMakeIndex):
2654         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2655         (usually 'makeindex') configurable.
2656
2657         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2658         with a variable rather than with a number.
2659
2660 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2661
2662         * output_latex.C (TeXOnePar): make sure font setting is the first
2663         thing that gets output (and the last at the end). Should fix bug
2664         1404.
2665
2666 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * pch.h: use proper signal include
2669
2670         * LaTeX.h: Use preferred calling of Boost.Signal
2671         * buffer.h: ditto
2672
2673 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * pch.h: dont include <boost/function/function0.hpp>
2676
2677         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2678
2679         * paragraph_pimpl.h: remove usage of ShareContainer
2680
2681         * paragraph_pimpl.C: remove initialization of ShareContainer.
2682
2683 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         Fix bug #1666
2686
2687         * BufferView.C (putSelectionAt): change the semantics when
2688         backwards == true: now, this just swaps cursor and anchor wrt the
2689         forward case
2690
2691         * BufferView.h (putSelectionAt): add some documentation
2692
2693         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2694         make sure backwardChar is done at least once (to avoid getting
2695         stuck)
2696         (findNextChange): use putSelectionAt in the forward direction
2697         (operator()): use Paragraph::isWord
2698
2699 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * Spacing.C (set): c_str fix
2702
2703 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * lyx_cb.C (Reconfigure): quote the name of configure script in
2706         case it contains spaces
2707
2708 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * client: new dir
2711
2712         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2713         (BOOST_LIBS): use top_buildir when looking for the file
2714
2715 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * pch.h: do not use include boost/format.hpp, multiple symbols
2718                 will result (gcc bug)
2719
2720
2721 2004-08-23  José Matos  <jamatos@lyx.org>
2722
2723         * bufferparams.C (readToken): fix reading of the author field.
2724
2725 2004-08-20  José Matos  <jamatos@lyx.org>
2726
2727         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2728
2729 2004-08-20  José Matos  <jamatos@lyx.org>
2730
2731         * lyxlex.[Ch] (findToken): remove function.
2732
2733         * ParagraphParameters.C (findToken):
2734         * bufferparams.C (findToken): replace call for previous function
2735         with local copy. This local function has one more argument, the
2736         read string argument.
2737
2738 2004-08-16  José Matos  <jamatos@lyx.org>
2739
2740         * ParagraphParameters.C (write):
2741         * Spacing.C (writeFile):
2742         * bufferparams.C (writeLaTeX):
2743         * lyx_cb.C (Reconfigure):
2744         * paragraph.C (write):
2745         * tabular.C (write): remove unnecessary space at end of line.
2746
2747
2748 2004-08-16  José Matos  <jamatos@lyx.org>
2749
2750         * text.C (readParagraph): remove debug message.
2751
2752 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2753
2754         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2755         crash
2756
2757         * output_plaintext.C (asciiParagraph): set depth correctly
2758
2759         * outputparams.h: add member depth
2760
2761         * paragraph_funcs.C (ownerPar): remove.
2762
2763         * text2.C (setCounter): remove first_pit; comment out some
2764         non-working code that uses ownerPar
2765
2766         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2767         uses ownerPar
2768
2769 2004-08-16  José Matos  <jamatos@lyx.org>
2770
2771         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2772         For the same level of importance use the same chanel to report problems.
2773         (read): add code to deal with \begin_body and \end_body.
2774
2775
2776 2004-08-15  José Matos  <jamatos@lyx.org>
2777
2778         * lyxlex.C (getString): fix comment, buffer::readBody is now
2779         buffer:readDocument.
2780
2781         * tex-strings.C (string_papersize): Default -> default,
2782         Custom -> custom, for consistency with other options.
2783
2784 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * pch.h: new file
2787
2788         * Makefile.am: support pch
2789
2790 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * text.C (readParToken): remove the static LyXFont variable and
2793         pass it as a parameter instead. This fixes a nasty bug where an
2794         inset will be inserted with a bad font in some situations
2795         (readParagraph): adapt
2796
2797         * text2.C (setCounter): reduce number of calls to pars_[pit]
2798
2799         * text.C (singleWidth): add an assert, fix a test
2800
2801         * rowpainter.C (paintText): reduce number of calls to singleWidth
2802
2803         * paragraph.C (isHfill):
2804         (isNewline): ws only
2805
2806 2004-08-14  André Pönitz  <poenitz@gmx.net>
2807
2808         * text.C:
2809         * text2.C:
2810         * rowpainter.C:
2811         * lyxtext.h (several functions): use a Paragraph & argument
2812         instead of par_type
2813
2814 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2815
2816         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2817
2818         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2819
2820         * text.C (singleWidth): remove useless test
2821
2822 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2823
2824         * tabular.h: remove bogus comments
2825
2826         * tabular.C (getDescentOfRow):
2827         (isPartOfMultiColumn): add assertions
2828
2829         * lyxlength.C (inPixels): remove #warning
2830
2831 2004-08-14  André Pönitz  <poenitz@gmx.net>
2832
2833         * paragraph.h: inline getChar()
2834
2835         * BufferView.h: remove unused declarations
2836
2837 2004-08-14  José Matos  <jamatos@lyx.org>
2838
2839         * Buffer.[Ch] (readDocument): new name for old readBody.
2840         * Buffer.C: new file format, new keywords: \begin_document,
2841         \begin_header, \begin_body, \end_body.
2842
2843         * bufferparams.C (readToken): replace all calls to lex.nextToken
2844         by lex.next(). Do the same to eatLine except where really needed.
2845
2846         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2847         line when writing to the lyx file.
2848
2849         * output_plaintext.C (asciiParagraph): fix Bibliography style
2850         handling.
2851
2852         * text.C (read): fix end of file handling.
2853
2854 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2855
2856         * MenuBackend.C (Menu::operator[]): new method to access
2857         individual menu items
2858         (Menu::hasFunc): new method. search for an item that corresponds
2859         to a given func
2860         (MenuBackend::specialMenu): new method
2861         (MenuBackend::expand): if a special menu has been set, skip
2862         entries whose func() appears in this menu
2863
2864 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2865
2866         * text3.C: use Debug::DEBUG a bit more
2867
2868         * text.C (leftMargin): try to simplify a tiny bit change var x to
2869         l_margin. Dont output the wide margins always.
2870         (rightMargin): no margin in inner texts
2871
2872         * rowpainter.h (nestMargin): new func
2873         (changebarMargin): new func
2874         (rightMargin): new func
2875
2876         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2877         now functions.
2878         (paintLast): ditto
2879
2880         * factory.C (createInset): modify setDrawFrame
2881
2882         * cursor.C: use Debug::DEBUG a bit more
2883
2884 2004-08-14  André Pönitz  <poenitz@gmx.net>
2885
2886         * coordcache.[Ch]:
2887         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2888         cache for all insets in (at least partially) visible (top-level)
2889         paragraphs.
2890
2891         * BufferView_pimpl.C: reset external coord cache before every update.
2892         This means the coord cache only contains valid entries.
2893
2894 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2895
2896         bug 1096
2897         * BufferView_pimpl.C (getInsetByCode): move function out of class
2898         and change in to a template in anon namespace. Also fix to do what
2899         suits us better.
2900
2901 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2902
2903         bug 1305
2904         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2905         of char
2906         (breakParagraph): rename par to par_offset and use a local
2907         reference. Add code to keep the language over a rebreak.
2908         (breakParagraphConservative): rename par to par_offset, use a
2909         local reference
2910         (mergeParagraph): ditto
2911         (outerHook): ditto
2912         (isFirstInSequence): ditto
2913         (outerFont): rename pit to par_offset
2914
2915         * paragraph.C: ws change
2916         * paragraph.h: ditto
2917         * text3.C: ditto
2918         * text.C: ditto
2919
2920 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2921
2922         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2923         treatment for ']'
2924
2925         * paragraph.C (simpleTeXOnePar): when we have a \item with
2926         optional argument, enclose the argument with curly brackets (in
2927         case it contains a closing square bracket)
2928
2929         * text2.C (editXY):
2930         * text2.C (editXY):
2931         * text3.C (checkInsetHit): constify
2932
2933 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2936         documents (bug 1629)
2937
2938 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2939
2940         Fix toggling of collapsable insets with the mouse (bug 1558)
2941
2942         * lyxfunc.C (dispatch): adapt to LCursor changes
2943
2944         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2945         make sure that dispatch is not invoked twice
2946
2947         * cursor.C (needsUpdate): new method
2948         (dispatch): return void
2949         (result): new method, to access the DispatchResult of the cursor.
2950
2951 2004-08-13  José Matos  <jamatos@lyx.org>
2952
2953         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2954
2955 2004-08-13  André Pönitz  <poenitz@gmx.net>
2956
2957         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2958
2959         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2960           multiple cells
2961
2962 2004-08-12  André Pönitz  <poenitz@gmx.net>
2963
2964         * text3.C: take out the 'cursor right' form insertInset and only
2965         do it in those places when it is really needed. Fixes crash on
2966         C-m...
2967
2968 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2969
2970         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2971
2972         * BufferView_pimpl.C (setBuffer): initialize the current font of
2973         the underlying LyXText
2974
2975 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * kbsequence.C (print): use UI native formatting for menu
2978         shortcuts
2979
2980         * text.C (insertChar): call Paragraph::insertChar with a font
2981         argument (cosmetic)
2982
2983         * paragraph.C (insertInset, insertChar): the version that takes a
2984         LyXFont argument is now a wrapper around the other one (the
2985         opposite used to be true).
2986
2987         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2988         argument. Font setting is done in Paragraph now.
2989
2990 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2991
2992         * outputparams.h: add new members intitle and lang.
2993
2994         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2995         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2996
2997 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * text3.C (dispatch): remove special handling of button 4 and 5,
3000         it is now taken care of in the frontend code.
3001
3002 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3003
3004         * Spacing.h: add <string> (STLPort compile fix)
3005
3006 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3007
3008         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3009
3010 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3013         to bool.
3014
3015         * converter.C (showMessage): inherit from unary_function, make
3016         operator() const.
3017
3018         * buffer.C (writeFile): initialize retval
3019
3020         * InsetList.h: rename private variable list to list_
3021         * InsetList.[Ch]: adjust accordingly.
3022
3023 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3026         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3027         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3028         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3029         * ParagraphParameters.C, LaTeXFeatures.C: replace
3030         "support/std_sstream.h" with <sstream>
3031
3032 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3035         * lyxsocket.C (LyXServerSocket): ditto
3036         (serverCallback): ditto
3037
3038 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3039
3040         * LaTeXFeatures.C: check release date when loading jurabib.
3041
3042 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * lyxserver.C (startPipe): call register_socket_callback
3045         (endPipe): call unregister_socket_callback
3046
3047 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3050         (LyXServerSocket): register the callback
3051         (LyXServerSocket): unregister the callback
3052         (fd): delete function
3053         (serverCallback): improve error checking and setup the callbacks.
3054         (dataCallback): change arg to fd.
3055         (writeln): new func (copied fro the client socket) used for server
3056         write to client.
3057         (LyXDataSocket): simplify
3058         (~LyXDataSocket): close ann unregiser callback
3059         (server): delete function
3060         (fd): delete function
3061         (readln): small changes, improve some std::string usage
3062         (writeln): constify a bit
3063
3064 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3065
3066         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3067         Qt frontend
3068
3069 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3072         after it has been populated
3073
3074 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3075
3076         * text2.C (insertInset): move cursor when inserting inset.
3077
3078 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3079
3080         * kbmap.C (findbindings): a couple of new methods. returns a
3081         container of kb_sequence objects. The real work is done by the
3082         private recursive version
3083         (printbindings): uses findbindings to print out a bracketed list
3084         of bindings (renamed from findbinding).
3085
3086         * MenuBackend.C (binding): use kb_keymap::findbindings
3087
3088         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3089
3090 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3091
3092         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3093
3094 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3095
3096         * paragraph.C (isWord): return true on insets that report
3097         isLetter().
3098
3099         * text.C (getWord): use Paragraph::isWord to decide what is in a
3100         word and what is not; fix bug 1609.
3101
3102 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3103
3104         * tex-strings.C: add "none" to string_paperpackages[], fixes
3105         off-by-one-error in the paperpackage selection.
3106
3107         * lyxlex.[Ch]:
3108         * tex-strings.[Ch]: char const * string[n]
3109         -> char const * const string[]
3110
3111 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3112
3113         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3114         command, return early.
3115
3116 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * debug.h: add DEBUG to enum and fix size of ANY.
3119
3120         * debug.C: add support for Debug::DEBUG
3121         (showTags): cast errorTags.level to unsigned int
3122
3123         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3124         (redoCurrentBuffer): ditto
3125         (updateScrollbar): ditto
3126         * cursor.C (dispatch): ditto
3127         * text2.C (setLayout): ditto
3128         (setFont): ditto
3129         (updateCounters): ditto
3130         (editXY): ditto
3131         (deleteEmptyParagraphMechanism): ditto
3132
3133 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3136         annotations to cleanup the Makefile slightly.
3137
3138 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3139
3140         * lyxrc.C: do not set user_email to a default value but use empty
3141         instead. The entry used to be translated, which does not work
3142         since at the point where lyxrc is constructed there is no
3143         translation service available
3144
3145         * messages.C (getLocaleDir): remove and use directly
3146         lyx_localedir() instead
3147
3148 2004-06-02  Angus Leeming  <leeming@lyx.org>
3149
3150         Fix crash caused by dereferencing null pointer 'exportdata' in
3151         OutputParams by creating a new ExportData variable on the heap,
3152         storing it in a boost::shared_ptr.
3153         The crash was triggered when generating an Instant Preview
3154         of an external inset.
3155
3156         * Makefile.am: add outputparams.C
3157
3158         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3159         (c-tor): allocate memory to it.
3160
3161         * exporter.C (c-tor): associated changes.
3162
3163 2004-06-01  Angus Leeming  <leeming@lyx.org>
3164
3165         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3166         contains data before calling isInset(0). (Bug 1513.)
3167
3168 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3169
3170         * exporter.C (checkOverwrite): new method
3171         * exporter.C (copyFile): new method
3172         * exporter.C (Export): copy referenced files to the document dir
3173         * exporter.[Ch]: new class ExportedFile
3174         * exporter.[Ch]: new class ExportData. Contains currently the
3175         names of referenced external files
3176         * outputparams.h: add exportdata member.
3177
3178 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3181         version.C-tmp
3182
3183 2004-05-19  Angus Leeming  <leeming@lyx.org>
3184
3185         * LaTeXFeatures.C:
3186         * ToolbarBackend.C:
3187         * bufferparams.C:
3188         * lyxfunc.C: small changes due to the introduction of namespace
3189         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3190
3191 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * text3.C (dispatch): supress update when only moving the cursor
3194         * cursor.C (selHandle): remove commented code
3195
3196 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3197
3198         * paragraph.C (startTeXParParams): correct column count
3199         * CutAndPaste.C (pasteSelection): remove const_cast
3200         * output_docbook.C (docbookParagraphs): remove const_cast
3201         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3202         const_cast and return ParagraphList::const_iterator
3203         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3204         * output_plaintext.C (writeFileAscii): remove const_cast
3205         * paragraph.[Ch] (simpleTeXOnePar): make const
3206         * paragraph_funcs.C (outerPar): use const iterators
3207         * paragraph_pimpl.C (validate): use const iterators
3208         * text.C (setHeightOfRow): use const iterators
3209
3210 2004-05-17  Angus Leeming  <leeming@lyx.org>
3211
3212         * lfuns.h:
3213         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3214
3215         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3216         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3217         if the citation engine has changed.
3218
3219 2004-05-14  José Matos  <jamatos@lyx.org>
3220
3221         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3222         if the textclass does not provide it. Have it different for sgml and
3223         xml.
3224         support the language of document.
3225         * output_docbook.C (docbookParagraphs):
3226         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3227         first anchor as the id of the paragraph, remove special case code.
3228         * sgml.C (escapeChar): escape only < & >.
3229
3230 2004-05-14  Angus Leeming  <leeming@lyx.org>
3231
3232         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3233         dependencies on src/frontends/controllers/biblio.h. Define a
3234         CiteEngine_enum wrapper class to enable the enum to be forward
3235         declared.
3236
3237 2004-05-12  Angus Leeming  <leeming@lyx.org>
3238
3239         * buffer.C: up LYX_FORMAT to 234.
3240         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3241         use_numerical_citations with a single biblio::CiteEngine cite_engine
3242         variable.
3243         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3244
3245 2004-05-13  José Matos  <jamatos@lyx.org>
3246
3247         * converter.h:
3248         * converter.C (Converter, readFlags): add xml member.
3249         * outputparams.h: add XML flavor.
3250         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3251
3252 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3253
3254         * lyxfunc.C (dispatch):
3255         (getStatus): fix handling of LFUN_SEQUENCE
3256
3257 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3258
3259         * debug.C (showLevel): do not forget the end-of-line marker
3260
3261 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3262
3263         * kbmap.C (read): do not stop parsing a bind file when an error
3264         occurs (bug 1575)
3265
3266 2004-04-29  Angus Leeming  <leeming@lyx.org>
3267
3268         * cursor.C:
3269         * factory.C:
3270         * pariterator.C:
3271         * text2.C: wrap a bunch of #warning statements
3272         inside #ifdef WITH_WARNINGS blocks.
3273
3274 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3275
3276         * buffer.C: increment format to 233.
3277
3278 2004-04-28  Angus Leeming  <leeming@lyx.org>
3279
3280         * BufferView_pimpl.C:
3281         * lyxfunc.C:
3282         * text3.C:
3283         s/updateToolbar()/updateToolbars()/
3284         s/Toolbar.h/Toolbars.h/
3285
3286 2004-04-28  Angus Leeming  <leeming@lyx.org>
3287
3288         * BufferView.[Ch] (c-tor):
3289         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3290         No longer passes these data to the WorkArea generator.
3291
3292 2004-04-28  Angus Leeming  <leeming@lyx.org>
3293
3294         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3295
3296 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3297
3298         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3299
3300 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3301
3302         * output_latex.C (TeXEnvironment): make sure that there is a line
3303         break before \end{foo} for the last paragraph of a document
3304         (TeXOnePar): if the paragraph is at the end of the document (or
3305         inset) and the language has to be reset, then make sure that the
3306         line break is _before_ the language command, not after (fixes bug
3307         1225); also make sure that the language reset command is the first
3308         thing after the paragraph (to ensure proper nesting of
3309         environments and thus fix bug 1404)
3310
3311 2004-04-21  John Levon  <levon@movementarian.org>
3312
3313         * ToolbarBackend.h:
3314         * ToolbarBackend.C: make "name" be a programmatic name
3315         and a gui_name field.
3316
3317         * lyxfunc.C: display the minibuffer on M-x
3318
3319 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3320
3321         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3322         (bug 1526)
3323
3324 2004-04-19  Angus Leeming  <leeming@lyx.org>
3325
3326         * BufferView_pimpl.C (setBuffer): changed preview interface.
3327
3328         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3329         possible values.
3330
3331 2004-04-19  John Levon  <levon@movementarian.org>
3332
3333         * BufferView_pimpl.C:
3334         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3335
3336 2004-04-05  Angus Leeming  <leeming@lyx.org>
3337
3338         * text.C (redoParagraphs): add call to updateCounters(), thereby
3339         fixing the missing "Figure #:" label from the caption of a
3340         figure float.
3341
3342 2004-04-13  Angus Leeming  <leeming@lyx.org>
3343
3344         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3345         cursor is clicked out of an inset.
3346
3347 2004-04-13  Angus Leeming  <leeming@lyx.org>
3348
3349         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3350         than an InsetOld one.
3351
3352 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3353
3354         * format.[Ch]: add editor to Format
3355         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3356         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3357
3358 2004-04-08  André Pönitz  <poenitz@gmx.net>
3359
3360         * metricsinfo.h: remove PainterInfo::width member
3361
3362 2004-04-08  Angus Leeming  <leeming@lyx.org>
3363
3364         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3365         "\providecommand" rather than "\newcommand", thereby preventing
3366         clashes with packages that define "\boldsymbol" themselves.
3367         Eg, beamer.
3368
3369 2004-04-08  Angus Leeming  <leeming@lyx.org>
3370
3371         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3372         thereby squashing an unnecessary warning.
3373
3374 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3375
3376         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3377         setBuffer()
3378
3379 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3380
3381         * BufferView.C (setCursor): call redoParagraph (some insets could
3382         have been opened)
3383         (putSelectionAt): remove the 'double update' trick
3384
3385         * BufferView_pimpl.C (fitCursor): call refreshPar
3386         (workAreaDispatch): remove an uneeded update call
3387         (dispatch): remove some manual update calls
3388
3389         * cursor.[Ch]: remove cached_y_, updatePos
3390         (selHandle): set noUpdate when appropriate
3391
3392         * lyxfunc.C (dispatch): track if we need an update
3393
3394         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3395
3396         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3397         (paintSelection): cheap optimization, do not call cursorX when not
3398         needed
3399         (paintPars): change signature
3400         (refreshPar): add
3401         (paintText): adjust
3402         (paintTextInset): adjust
3403
3404         * text.C: adjust
3405
3406 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3407
3408         * lengthcommon.C: compilation fix: remove explicit array size from
3409         unit_name[] and friends
3410
3411 2004-04-05  Angus Leeming  <leeming@lyx.org>
3412
3413         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3414
3415         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3416         present only for the preferences dialog.
3417         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3418
3419 2004-04-05  Angus Leeming  <leeming@lyx.org>
3420
3421         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3422         to enable the frontends to export changes to lyxrc correctly.
3423
3424         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3425
3426 2004-04-07  André Pönitz  <poenitz@gmx.net>
3427
3428         * cursor.[Ch] (selClear, adjust): remove math
3429
3430         * cursor_slice.C: more agressive assert
3431
3432         * lyxfunc.C:
3433         * BufferView_pimpl.C: rework mouse event dispatch
3434
3435         * dociterator.C:
3436         * paragraph.C:
3437         * text2.C:
3438         * text3.C: adjust
3439
3440 2004-04-05  André Pönitz  <poenitz@gmx.net>
3441
3442         * cursor.[Ch] (valign, halign...): remove unneeded functions
3443
3444 2004-04-05  Angus Leeming  <leeming@lyx.org>
3445
3446         * lyxlength.[Ch] (unit_name et al.): const-correct.
3447
3448 2004-04-05  Angus Leeming  <leeming@lyx.org>
3449
3450         * BufferView_pimpl.C:
3451         * buffer.C:
3452         * counters.C:
3453         * cursor.C:
3454         * lyxfunc.C
3455         * paragraph.C:
3456         * pariterator.C:
3457         * text.C:
3458         * text2.C:
3459         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3460
3461 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3462
3463         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3464
3465 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3466
3467         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3468         * BufferView_pimpl.[Ch] (getStatus)
3469         * BufferView.[Ch] (getStatus): add
3470         * lyxfunc.C (getStatus): move lfuns handled in
3471         BufferView::dispatch to te function above
3472         * Cursor.C (setSelection): set selection() = true
3473
3474 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3475
3476         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3477
3478 2004-03-31  Angus Leeming  <leeming@lyx.org>
3479
3480         * lyxfunc.C (dispatch): Fall through to the generic
3481         Dialogs::show("preamble").
3482
3483 2004-03-31  Angus Leeming  <leeming@lyx.org>
3484
3485         * lyxfunc.C (dispatch): Fall through to the generic
3486         Dialogs::show("spellchecker").
3487
3488 2004-03-31  Angus Leeming  <leeming@lyx.org>
3489
3490         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3491         preferences dialog.
3492
3493 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * BufferView.C
3496         * cursor.[Ch]
3497         * dociterator.[Ch]:
3498         * insetiterator.[Ch]:
3499         * lyxfind.C:
3500         * lyxfunc.C:
3501         * pariterator.[Ch]:
3502         * text2.C:
3503         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3504
3505 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3506
3507         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3508         insets where we are putting the cursor.
3509
3510 2004-03-31  Angus Leeming  <leeming@lyx.org>
3511
3512         * lfuns.h:
3513         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3514
3515         * lyxrc.[Ch] (read, write): overloaded member functions taking
3516         a std::[io]stream arguments.
3517
3518         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3519
3520 2004-03-31  Angus Leeming  <leeming@lyx.org>
3521
3522         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3523         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3524
3525         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3526         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3527
3528 2004-03-31  Angus Leeming  <leeming@lyx.org>
3529
3530         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3531         the LFUN_ALL_INSETS_TOGGLE code.
3532
3533 2004-03-30  Angus Leeming  <leeming@lyx.org>
3534
3535         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3536         has died. Fall through to the generic Dialogs::show("document").
3537
3538 2004-03-30  Angus Leeming  <leeming@lyx.org>
3539
3540         * lfuns.h:
3541         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3542         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3543
3544         * lyxfunc.C (getStatus, dispatch): define the actions for these
3545         lfuns. Little more than a cut and pste job from ControlDocument.C
3546
3547         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3548
3549 2004-03-30  Angus Leeming  <leeming@lyx.org>
3550
3551         * lfuns.h:
3552         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3553         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3554
3555         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3556         open/closed state of ollapsable insets. Usage:
3557
3558         all-inset-toggle <state> <name>, where
3559         <state> == "open" || "closed" || "toggle" and
3560         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3561
3562         * lyxtext.h, text2.C (toggleInset): removed.
3563
3564         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3565         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3566         now passes LFUN_INSET_TOGGLE to the found inset.
3567
3568         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3569         is now invoked as "all-insets-toggle toggle branch".
3570
3571 2004-03-30  Angus Leeming  <leeming@lyx.org>
3572
3573         * dociterator.C:
3574         * insetiterator.C:
3575         * pariterator.[Ch]: added/corrected header blurb.
3576
3577 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3578
3579         * dociterator.[Ch]: add an inset_ member
3580         (backwardPos): implemented
3581         (backwardPos, forwardPos): use inset_ when the stack is empty.
3582         (doc_iterator_begin, doc_iterator_end): implemented
3583         * pariterator.[Ch]: adjust, add begin, end
3584         * insetiterator.[Ch]: adjust, add begin, end
3585         * cursor.C:
3586         * document.C:
3587         * BufferView.C:
3588         * BufferView_pimpl.C:
3589         * CutAndPaste.C: adjust
3590
3591 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3592
3593         * buffer.C: increment file format to 232.
3594         * LaTeXFeatures.C: add bibtopic package.
3595         * bufferparams.[Ch]: param \use_bibtopic.
3596
3597         * lyxrc.[Ch]: add lyxrc bibtex_command
3598         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3599
3600         * buffer.C: increment file format to 231.
3601
3602 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3603
3604         * dociterator.C: implement forwardPar
3605         * iterators.[Ch]: remove, replaced by
3606         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3607         * BufferView.C:
3608         * BufferView_pimpl.C:
3609         * CutAndPaste.C:
3610         * buffer.C:
3611         * bufferview_funcs.C:
3612         * cursor.C:
3613         * lyxfind.C
3614         * lyxfunc.C
3615         * paragraph_funcs.C
3616         * toc.C:
3617         * Makefile.am: adjust
3618
3619 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3620
3621         * CutAndPaste.C (pasteSelection): fix 2 crashes
3622         (eraseSelection): fix a crash
3623         * paragraph_funcs.C: remove a warning
3624
3625 2004-03-28  Angus Leeming  <leeming@lyx.org>
3626
3627         * lfuns.h:
3628         * LyXAction.C (init): new LFUN_PRINT.
3629
3630         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3631
3632 2004-03-27  Angus Leeming  <leeming@lyx.org>
3633
3634         * lfuns.h:
3635         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3636
3637         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3638
3639 2004-03-27  Angus Leeming  <leeming@lyx.org>
3640
3641         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3642         insetlist always contains non-null pointers to insets.
3643
3644 2004-03-26  Angus Leeming  <leeming@lyx.org>
3645
3646         * src/BufferView_pimpl.C:
3647         * src/CutAndPaste.C:
3648         * src/buffer.C:
3649         * src/iterators.C:
3650         * src/output_plaintext.C:
3651         * src/outputparams.h:
3652         * src/paragraph_funcs.C:
3653         * src/rowpainter.C:
3654         * src/text.C:
3655         * src/text2.C:
3656         * src/frontends/controllers/ControlErrorList.C:
3657         * src/frontends/gtk/FileDialogPrivate.C:
3658         * src/frontends/gtk/GPainter.C:
3659         * src/frontends/gtk/GToolbar.C:
3660         * src/frontends/qt2/QRef.C:
3661         * src/mathed/math_scriptinset.C: squash compiler warnings.
3662
3663 2004-03-26  Angus Leeming  <leeming@lyx.org>
3664
3665         * ispell.C (LaunchIspell::start):
3666         * lyx_cb.C (AutoSaveBuffer::start):
3667         invoke run(DontWait) rather than runNonBlocking().
3668
3669 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3672
3673 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3674
3675         * kbsequence.C (print): adjust
3676
3677         * kbmap.C (printKeySym): rename and change signature
3678         (printKey): use LyXKeySym::print()
3679
3680 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3681
3682         * undo.C: add using std::advance to compile for stlport
3683
3684 2004-03-24  Angus Leeming  <leeming@lyx.org>
3685
3686         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3687         it leads to a crash when no buffer is present.
3688
3689 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3690             Martin Vermeer  <martin.vermeer@hut.fi>
3691
3692         * lyxfunc.C (dispatch):
3693         * bufferparams.C (readToken): use the new LColor::setColor
3694
3695         * LColor.[Ch] (setColor): new version that takes two strings as
3696         argument and creates a new color entry if necessary
3697
3698 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3699
3700         * buffer.C (makeLaTeXFile): if the main latex file that is
3701         processed is usually a subdocument of some master, then pretend
3702         for a while that it is actually the master
3703
3704 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3705
3706         * buffer.C (getLabelList):
3707         (getBibkeyList): use getMasterBuffer()
3708         (getMasterBuffer): new method. Returns the main document in the
3709         case where one is using included documents.
3710
3711 2004-03-25  André Pönitz  <poenitz@gmx.net>
3712
3713         * Makefile.am:
3714         * iterators.[Ch]:
3715         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3716
3717         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3718
3719         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3720         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3721
3722         * ParameterStruct.h: merge with ParagraphParameters
3723
3724         * lyxtext.h: remove LyXText::parOffset() and getPar()
3725
3726         * text3.C: Remove all 'manual' update calls. We do now one per user
3727         interaction which is completely sufficient.
3728
3729         * Bidi.C:
3730         * BufferView.[Ch]:
3731         * BufferView_pimpl.C:
3732         * FontIterator.[Ch]:
3733         * MenuBackend.C:
3734         * ParagraphParameters.[Ch]:
3735         * buffer.C:
3736         * buffer.h:
3737         * bufferlist.C:
3738         * cursor.[Ch]:
3739         * cursor_slice.[Ch]:
3740         * dociterator.[Ch]:
3741         * errorlist.[Ch]:
3742         * factory.C:
3743         * lfuns.h:
3744         * lyxfind.C:
3745         * lyxfunc.C:
3746         * output_docbook.[Ch]:
3747         * output_latex.[Ch]:
3748         * output_linuxdoc.[Ch]:
3749         * output_plaintext.[Ch]:
3750         * paragraph.[Ch]:
3751         * paragraph_funcs.[Ch]:
3752         * paragraph_pimpl.[Ch]:
3753         * rowpainter.C:
3754         * tabular.[Ch]:
3755         * text.C:
3756         * text2.C:
3757         * toc.C:
3758         * undo.[Ch]: adjust
3759
3760         * frontends/controllers/ControlDocument.C:
3761         * frontends/controllers/ControlErrorList.C:
3762         * frontends/controllers/ControlSpellchecker.C:
3763         * insets/inset.C:
3764         * insets/inset.h:
3765         * insets/insetbase.h:
3766         * insets/insetbibitem.C:
3767         * insets/insetbox.C:
3768         * insets/insetbranch.C:
3769         * insets/insetcaption.C:
3770         * insets/insetcharstyle.C:
3771         * insets/insetcharstyle.h:
3772         * insets/insetcollapsable.C:
3773         * insets/insetcollapsable.h:
3774         * insets/insetert.C:
3775         * insets/insetfloat.C:
3776         * insets/insetfoot.C:
3777         * insets/insetmarginal.C:
3778         * insets/insetnote.C:
3779         * insets/insetoptarg.C:
3780         * insets/insettabular.C:
3781         * insets/insettext.C:
3782         * insets/insettext.h:
3783         * insets/insetwrap.C:
3784         * mathed/math_mboxinset.C:
3785         * mathed/math_nestinset.C:
3786         * mathed/math_scriptinset.C:
3787         * mathed/math_scriptinset.h:
3788         * support/types.h:
3789
3790 2004-03-24  Angus Leeming  <leeming@lyx.org>
3791
3792         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3793         deal with any child processes that have finished but are waiting to
3794         communicate this fact to the rest of LyX.
3795
3796 2004-03-24  Angus Leeming  <leeming@lyx.org>
3797
3798         64-bit compile fixes.
3799
3800         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3801         (c-tor): pass lyx::pos_types rather than ints.
3802
3803         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3804         lyx::pos_type.
3805
3806         * text.C (Delete): compile fix.
3807         (getPar): ensure that function declaration is the same as that in
3808         the header file.
3809
3810 2004-03-23  Angus Leeming  <leeming@lyx.org>
3811
3812         * ispell.C (LaunchIspell):
3813         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3814         a boost::shred_ptr rather than a std::auto_ptr.
3815
3816 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3817
3818         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3819         handle LFUN_FILE_INSERT_*
3820
3821         * lyxrc.C (setDefaults, getDescription, output, read):
3822         * lyxrc.h: remove ps_command
3823
3824 2004-03-22  Angus Leeming  <leeming@lyx.org>
3825
3826         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3827         Ensure that error_handler is processed once only and that all data
3828         is saved before attempting to output any warning messages.
3829
3830         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3831
3832 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3833
3834         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3835
3836 2004-03-19  André Pönitz  <poenitz@gmx.net>
3837
3838         * cursor.[Ch] (reset): take main text inset as argument
3839
3840         * BufferView: adjust
3841         * BufferView_pimpl.C: adjust
3842
3843         * paragraph.[Ch]: fix completely broken operator=()
3844
3845 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3846
3847         * LColor.C (getFromLyXName): make sure that the color name is used
3848         as lowercase.
3849
3850 2004-03-17  Angus Leeming  <leeming@lyx.org>
3851
3852         * lfuns.h:
3853         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3854
3855         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3856         dialog and to kill a forked process.
3857
3858 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3859
3860         * text2.C (setCursorFromCoordinates): fix font problem
3861
3862 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3863
3864         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3865         bogus "rebuild cursor" code
3866
3867 2004-03-11  André Pönitz  <poenitz@gmx.net>
3868
3869         * buffer.[Ch]: use InsetText instead of LyXText as container for
3870         the main lyx text.
3871
3872         * dociterator.[Ch]: drop the BufferView * member which is not needed
3873         anymore after the change to buffer.C
3874
3875         * paragraph_funcs.C:
3876         * text.C:
3877         * text2.C:
3878         * BufferView.[Ch]:
3879         * BufferView_pimpl.[Ch]:
3880         * cursor.[Ch]:
3881         * cursor_slice.[Ch]: adjust
3882
3883         * text3.C: fix bug in mathDispatch
3884
3885 2004-03-08  André Pönitz  <poenitz@gmx.net>
3886
3887         * undo.[Ch]: use 'StableDocumentIterator' as base for
3888         the Undo struct.
3889
3890 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3891
3892         * LaTeXFeatures.C:
3893         * bufferparams.[Ch]: add jurabib support and param.
3894
3895         * LaTeX.C: add FIXME/comment.
3896
3897 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3898
3899         * buffer.C: increment file format to 230.
3900
3901 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3902
3903         * cursor.C (dispatch): avoid infinite loops
3904
3905 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * rowpainter.C (paintSelection): fix x coordinates
3908
3909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3910
3911         * text.C (rowBreakPoint): fix breaking before displayed insets
3912
3913 2004-03-01  André Pönitz  <poenitz@gmx.net>
3914
3915         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3916
3917         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3918
3919         * Makefile.am:
3920         * BufferView.C:
3921         * BufferView_pimpl.C:
3922         * buffer.C:
3923         * lyxfind.C:
3924         * lyxfunc.C:
3925         * text.C:
3926         * text2.C:
3927         * text3.C: adjust
3928
3929 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3930
3931         * lyxtext.h:
3932         * text.C:
3933         * text2.C:
3934         * rowpainter.C:
3935         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3936         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3937
3938 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3939
3940         * Bidi.[Ch] (computeTables): const correctness
3941         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3942         fill_hfill, fill_label_hfill and x from Row
3943         * lyxtext.h: prepareToPrint returns a RowMetrics
3944         * rowPainter.C: adjust
3945         * text.C (prepareToPrint): use width, not textWidth. adjust
3946         (redoParagraphInternal, cursorX): adjust
3947         * text2.C (getColumnNearX): adjust
3948         (init): put a default value to the top LyXText::width
3949
3950 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3951
3952         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3953
3954 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3955
3956         * lyxtext.h: add FontIterator class
3957
3958         * text.C (FontIterator, operator*, operator->, operator++): add
3959         (rowBreakPoint, setRowWidth): adjust (fixing a
3960         rebreaking bug)
3961
3962 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3963
3964         * BufferView_pimpl.C (workAreaDispatch): allow also
3965         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3966
3967 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * text.C (rowBreakPoint): fix a bug showing with very large insets
3970
3971 2004-02-25  André Pönitz  <poenitz@gmx.net>
3972
3973         * text3.C:
3974         * cursor.[Ch]: move some mathed specific code to mathed
3975
3976 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3977
3978         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3979         use_tempdir in preferences
3980         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3981         tempfile creation
3982         * lyx_main.C: ensure that tempdir is valid
3983         * lyxlex.h: correct typo
3984         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3985         * paragraph.[Ch] (isMultiLingual): make const
3986         * cursor.[Ch] (openable): make const
3987
3988 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3989
3990         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3991
3992 2004-02-20  André Pönitz  <poenitz@gmx.net>
3993
3994         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3995
3996         * cursor.[Ch]: prepare for localized getStatus()
3997
3998         * lyxtext.h:
3999         * tabular.C:
4000         * text.C:
4001         * text2.C:
4002         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4003
4004 2004-02-20  André Pönitz  <poenitz@gmx.net>
4005
4006         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4007
4008 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4009
4010         * text2.C (setCursorFromCoordinates): switch to absolute coords
4011         (cursorUp): adjust
4012         (cursorDown): adjust
4013         * text3.C (dispatch): adjust
4014
4015 2004-02-16  André Pönitz  <poenitz@gmx.net>
4016
4017         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4018           insets/ChangeLog)
4019
4020         * cursor_slice.[Ch]: remove unneeded acessor function
4021
4022         * lyxtext.h: rename rtl() to isRTL()
4023
4024         * rowpainter.C:
4025         * tabular.C:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: adjust
4029
4030 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4031
4032         * rowpainter.C (paintSelection): coord fix
4033
4034 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4035
4036         * Spacing.C: compile fix
4037
4038 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4039
4040         * cursor.C (dispatch): restore current_ before returning
4041
4042 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4043
4044         * text2.C (cursorUp, cursorDown): fix coords
4045         (moveUp): fix crash
4046
4047 2004-02-12  André Pönitz  <poenitz@gmx.net>
4048
4049         * lyxtext.h:
4050         * text.C:
4051         * text2.C:
4052         * text3.C: add LCursor & parameter to most cursor movement functions
4053           remove usage of LyXText::cursorRow() and cursorPar()
4054
4055         * cursor.[Ch]: add textRow() needed members
4056
4057         * BufferView.C:
4058         * BufferView_pimpl.C:
4059         * paragraph.[Ch]:
4060         * BufferView.C:
4061         * BufferView_pimpl.C: adjust
4062
4063 2004-02-11  André Pönitz  <poenitz@gmx.net>
4064
4065         * lyxfunc.C:
4066         * BufferView.[Ch]:
4067         * BufferView_pimpl.C: shift undo/redo handling
4068
4069         * cursor.[Ch]: fix mathed crash
4070
4071         * lyxfind.C:
4072         * lyxtext.h: move selectionAsText to LCursor
4073
4074         * output_latex.C:
4075         * paragraph.C:
4076         * text.C:
4077         * text2.C:
4078         * text3.C: adjust
4079
4080         * rowpainter.C: fix excessive drawing
4081
4082 2004-02-06  André Pönitz  <poenitz@gmx.net>
4083
4084         * BufferView.[Ch]:
4085         * BufferView_pimpl.[Ch]:
4086         * text3.C: move some text specific LFUN handling
4087
4088 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4089
4090         * text3.C (checkInsetHit): adjust coords
4091         * text2.C (getColumnNearX): adjust coords
4092         (edit): adjust coords
4093         * text.C (getRowNearY): add two asserts
4094
4095 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4096
4097         * converter.C:
4098         * format.C: add using std::distance to compile on gcc 2.95/stlport
4099
4100 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4101
4102         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4103
4104 2004-02-04  André Pönitz  <poenitz@gmx.net>
4105
4106         * BufferView.[Ch] (insertInset):
4107         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4108
4109         * text2.C:
4110         * text3.C: adjust
4111
4112 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4113
4114         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4115         on the default clause of the switch
4116         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4117         wasn't catched by LCursor::dispatch
4118
4119 2004-02-03  André Pönitz  <poenitz@gmx.net>
4120
4121         * BufferView.C:
4122         * cursor.[Ch]: some additional asserts
4123
4124         * undo.[Ch]: remove LyXText dependency in interface
4125
4126         * lyxfunc.C: adjust
4127
4128         * lyxtext.h (firstPar, lastPar): remove dead functions
4129
4130         * text.C:
4131         * text2.C:
4132         * text3.C:
4133         * paragraph.[Ch]: adjust
4134
4135 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * lyxfind.C (find): fix argument order in call to ::find
4138
4139 2004-02-02  André Pönitz  <poenitz@gmx.net>
4140
4141         * cursor.[Ch]: remove direct access to anchor
4142
4143         * text.C: remove findText() hack
4144
4145 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4146
4147         * iterators.[Ch] (lockPath): remove in favour of...
4148         * BufferView.[Ch] (setCursor): this addition
4149         * BufferView.C (putSelectionAt): adjust
4150         * undo.C (performUndoOrRedo): adjust
4151         * lyxfunc.C (dispatch): adjust
4152
4153 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4154
4155         * iterators.C (lockPath): add a missing slice
4156         * undo.C (performUndoOrRedo): remove redundant positioning code
4157
4158 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * vc-backend.C (scanMaster): ";" -> ';'
4161
4162 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4165         std::binary_function
4166
4167         * lyxtextclass.C (compare_name): rename to...
4168         (LayoutNamesEqual): ...this
4169
4170         * lyxlex_pimpl.C (compare_tags): inherit from
4171         std::binary_function, put back into anon namespace
4172
4173         * lyxfind.C (MatchString): inherig from std::binary_function
4174         (findChange): use empty() istead of !size()
4175
4176         * format.C (FormatNamesEqual): new functor
4177         (getFormat): use it
4178         (getNumber): use it
4179         (add): use it
4180         (erase): use it
4181         (setViewer): use it
4182
4183         * converter.C (compare_Converter): rename to...
4184         (ConverterEqual): ...this, and fixup a bit.
4185         (getConverter): use it, and make function const
4186         (getNumber): use it, and make function const
4187         (add): use it
4188         (erase): use it:
4189
4190         * bufferlist.C: add using boost::bind
4191
4192         * MenuBackend.C (MenuNamesEqual): new functor
4193         (hasMenu): use it, and make function const
4194         (hasSubmenu): use nested bind to get rid of compare_memfun.
4195
4196 2004-01-30  André Pönitz  <poenitz@gmx.net>
4197
4198         * BufferView_pimpl.C:
4199         * cursor.C:
4200         * cursor.h:
4201         * cursor_slice.[Ch]:
4202         * lyxfunc.C:
4203         * lyxtext.h:
4204         * paragraph_funcs.C:
4205         * paragraph_funcs.h:
4206         * rowpainter.C:
4207         * text.C:
4208         * text2.C:
4209         * text3.C: move some of the edit(x,y) handling to the insets
4210         some coordinate changes.
4211
4212 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * text.C: add using statements for std::advance and std::distance
4215
4216         * paragraph.C: add using statement for std::distance
4217
4218         * lyxfind.C: add using statement for std::advance
4219
4220         * cursor.C (region): remove std:: from swap
4221         (openable): use nucleus in stead of operator->
4222
4223         * BufferView.C: add using statements for std::distance and std::swap
4224
4225 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * iterators.C: Remove the pimple, move the needed structures to
4228         the header file. Create accessor for the positions stack.
4229         (asPosIterator): remove function
4230
4231         * PosIterator.C (PosIterator): move constructors to top of file
4232         (PosIterator): reimplement the constructor taking a ParIterator in
4233         terms of setFrom.
4234         (setFrom): new function
4235         (operator!=): inline it
4236
4237 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * lyxfind.C (replaceAll): use std::advance
4240
4241         * iterators.h: inherit from std::iterator.
4242
4243         * PosIterator.C (advance, distance): remove
4244         * PosIterator.h: interit from std::iterator.
4245
4246 2004-01-26  André Pönitz  <poenitz@gmx.net>
4247
4248         * BufferView.[Ch]:
4249         * BufferView_pimpl.[Ch]:
4250         * InsetList.[Ch]:
4251         * PosIterator.[Ch]:
4252         * buffer.h:
4253         * bufferview_funcs.C:
4254         * cursor.[Ch]:
4255         * cursor_slice.h:
4256         * factory.[Ch]:
4257         * iterators.[Ch]:
4258         * lyxfind.C:
4259         * lyxfunc.C:
4260         * lyxtext.h:
4261         * output_docbook.C:
4262         * output_latex.C:
4263         * output_linuxdoc.C:
4264         * output_plaintext.C:
4265         * paragraph.[Ch]:
4266         * paragraph_funcs.[Ch]:
4267         * paragraph_pimpl.[Ch]:
4268         * rowpainter.C:
4269         * tabular.C:
4270         * tabular.h:
4271         * text.C:
4272         * text2.C:
4273         * text3.C: more IU:  dumps most of the rest of the mathcursor
4274     implementation into cursor.[Ch]; "globalize" a bit of it.
4275
4276 2004-01-25  Angus Leeming  <leeming@lyx.org>
4277
4278         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4279
4280 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4281
4282         * LaTeXFeatures.h: add nice_ and nice() const
4283         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4284
4285 2004-01-20  André Pönitz  <poenitz@gmx.net>
4286
4287         * BufferView.[Ch]:
4288         * BufferView_pimpl.C:
4289         * PosIterator.C:
4290         * bufferview_funcs.C:
4291         * cursor.[Ch]:
4292         * cursor_slice.[Ch]:
4293         * factory.C:
4294         * iterators.C:
4295         * lyx_cb.C:
4296         * lyxfind.C:
4297         * lyxfunc.C:
4298         * lyxtext.h:
4299         * rowpainter.C:
4300         * text.C:
4301         * text2.C:
4302         * text3.C:
4303         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4304           LCursor and mathcursor parts to LCursor and InsetBase.
4305
4306 2004-01-15  André Pönitz  <poenitz@gmx.net>
4307
4308         * cursor_slice.[Ch]: add a few covienience functions
4309
4310         * funcrequest.[Ch]: remove BufferView * member
4311
4312         * BufferView_pimpl.C:
4313         * cursor.C:
4314         * factory.[Ch]:
4315         * lyxfind.[Ch]:
4316         * lyxfunc.C:
4317         * lyxtext.h:
4318         * text3.C:
4319         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4320
4321 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4322
4323         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4324         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4325
4326 2004-01-13  André Pönitz  <poenitz@gmx.net>
4327
4328         * textcursor.[Ch]:
4329         * lyxtext.h: hide cursor and selection anchor behind accessor function
4330
4331         * BufferView.C:
4332         * BufferView_pimpl.[Ch]:
4333         * PosIterator.C:
4334         * bufferview_funcs.C:
4335         * cursor.h:
4336         * lyxfind.C:
4337         * lyxfunc.C:
4338         * text.C:
4339         * text2.C:
4340         * text3.C:
4341         * undo.C: adjust
4342
4343         * cursor.h:
4344         * cursor_slice.[Ch]: some integer type changes for inset unification
4345
4346         * lyxcursor.[hC]: remove, it's CursorSlice now.
4347
4348         * Makefile.am:
4349         * BufferView_pimpl.[Ch]:
4350         * bufferview_funcs.C:
4351         * cursor_slice.C:
4352         * lyxtext.h:
4353         * text.C:
4354         * text2.C:
4355         * text3.C:
4356         * textcursor.[Ch]: adjust
4357
4358 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4359
4360         * text2.C (undoSpan): add and use
4361         * text.C (breakParagraph): use undoSpan (fix bug 578)
4362         * lyxtext.h: adjust
4363
4364 2004-01-08  Angus Leeming  <leeming@lyx.org>
4365
4366         * BufferView_pimpl.C (MenuInsertLyXFile):
4367         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4368         * lyxfunc.C (menuNew, open, doImport):
4369         FileFilterList change to the FileDialog open and save functions.
4370
4371 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * ShareContainer.h: make isEqual and isUnique adaptable
4374
4375         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4376
4377 2004-01-07  Angus Leeming  <leeming@lyx.org>
4378
4379         * LyXAction.C:
4380         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4381
4382         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4383
4384         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4385         functions replacing find, replace and replaceAll.
4386
4387         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4388         LFUN_WORDFIND(FORWARD|BACKWARD).
4389
4390 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4391
4392         * text.C (breakParagraph): remove an outdated #warning
4393
4394 2004-01-07  André Pönitz  <poenitz@gmx.net>
4395
4396         * lyxfind.C: somewhat clearer logic
4397
4398         * text.C: prevent crash in cursorX on unitialized row cache
4399
4400 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4401
4402         * lyxcursor.[Ch] (operator>): add
4403         * textcursor.C (selStart, selEnd): use std::min and std::max
4404
4405 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * Chktex.C: include boost/format.hpp
4408
4409 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * InsetList.C: replace functor MathcIt with adaptable functor
4412         InsetTablePosLess
4413         (insetIterator): modify accordingly
4414
4415         * BranchList.h: move the BranchNamesEqual functor here from...
4416         * BranchList.C: ... to here
4417
4418         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4419         SameName and match.
4420         (add): replace a finding loop with std::find_if.
4421
4422 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4423
4424         * output_docbook.C: moving LatexParam functionality into
4425         .layout files
4426
4427 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4428
4429         * buffer.C: increment format to 229.
4430
4431 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4432
4433         * LaTeXFeatures.C:
4434         * lyx_sty.[Ch]: remove minipageindent_def
4435
4436         * LyXAction.C:
4437         * factory.C:
4438         * lfuns.h:
4439         * lyxfunc.C:
4440         * text3.C: remove LFUN_INSET_MINIPAGE
4441
4442 2003-12-28  Angus Leeming  <leeming@lyx.org>
4443
4444         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4445
4446 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4447
4448         * text2.C (setParagraph): fix off-by-one crash
4449
4450 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4451
4452         * output_docbook.C: header stuff for AGU
4453
4454 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4455
4456         * text2.C (redoCursor): remove
4457         * text.C:
4458         * text3.C:
4459         * BufferView_pimpl.C: remove calls to redoCursor and
4460         setCursor(cursor.par(), cursor.pos()) all around
4461
4462 2003-12-15  Angus Leeming  <leeming@lyx.org>
4463
4464         * buffer.C: up the format to 228.
4465
4466 2003-12-15  André Pönitz  <poenitz@gmx.net>
4467
4468         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4469         slices
4470
4471         * Makefile.am:
4472
4473         * BufferView_pimpl.C:
4474         * cursor.[Ch]:
4475         * lyxcursor.[Ch]:
4476         * rowpainter.[Ch]:
4477         * lyxtext.h:
4478         * text.C:
4479         * text2.C:
4480         * text3.C: adjust
4481
4482 2003-12-15  Angus Leeming  <leeming@lyx.org>
4483
4484         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4485         than getFromGUIName to manipulate the color.
4486
4487 2003-12-14  Angus Leeming  <leeming@lyx.org>
4488
4489         * BranchList.[Ch]: minimize the API.
4490         (Branch::getBranch, getColor): now return a 'const &'.
4491         (Branch::setSelected) now returns a bool set to true if the
4492         selection status changes.
4493         (BranchList::clear, size, getColor, setColor, setSelected,
4494         allBranches, allSelected, separator): removed.
4495         (BranchList::find): new functions, returning the Branch with
4496         the given name.
4497         (BranchList::add, remove): return a bool indicating that
4498         the operation was successful.
4499
4500         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4501         new InsetBranch::isBranchSlected member function.
4502
4503         * LColor.[Ch]: mimimize the API.
4504         (fill): renamed as addColor and made private.
4505         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4506         versions of these functions taking a string arg have been removed.
4507
4508         * bufferparams.C (readToken):
4509         * lyxfunc.C (dispatch):
4510         * lyxrc.C (read): changes due to the altered BranchList and
4511         LColor APIs.
4512
4513         * factory.C (createInset, readInset): changes due to altered
4514         InsetBranch c-tor.
4515
4516 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4517
4518         * factory.C:
4519         * lyxfunc.C: remove insetminipage. "minipage-insert"
4520         now produces a frameless minipage box inset.
4521
4522 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4523
4524         * textcursor.[Ch] (selStart,selEnd): add new methods
4525         remove selection::start, end, use LyXCursor::operator<
4526         * lyxcursor.[Ch] (operator<): add
4527         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4528         * BufferView.[Ch] (unsetXSel): add
4529         * text2.C (clearSelection): use unsetXSel,adjust
4530         * text.C: adjust
4531         * text3.C: adjust
4532         * rowpainter.C: adjust
4533         * bufferview_funcs.C (put_selection_at): adjust
4534
4535 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4536
4537         * BufferView_pimpl.C: small coord. correction
4538
4539 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4540
4541         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4542         dragging over the splash screen.
4543
4544 2003-12-11  Angus Leeming  <leeming@lyx.org>
4545
4546         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4547         as it is now handled in LyXText::dispatch.
4548
4549         * text3.C (doInsertInset): remove a level of nesting.
4550
4551 2003-12-11  Angus Leeming  <leeming@lyx.org>
4552
4553         * factory.C (createInset): changes due to the changed interface to
4554         InsetCommandMailer::string2params.
4555
4556 2003-12-10  Angus Leeming  <leeming@lyx.org>
4557
4558         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4559         'dialog-show-new-inset <inset name>'
4560
4561 2003-12-10  Angus Leeming  <leeming@lyx.org>
4562
4563         * buffer.C: up the format to 227.
4564
4565         * factory.C: the box inset is now identified simply by 'Box'.
4566
4567 2003-12-10  Angus Leeming  <leeming@lyx.org>
4568
4569         * buffer.C: up the format to 226.
4570
4571         * factory.C: the note inset is now identified simply by 'Note'.
4572
4573 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4574
4575         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4576         when a pit is enough. Standarize a couple of loops.
4577
4578 2003-12-05  Angus Leeming  <leeming@lyx.org>
4579
4580         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4581         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4582         data to the re-worked "log" dialog.
4583
4584 2003-12-03  André Pönitz  <poenitz@gmx.net>
4585
4586         * PosIterator.C:
4587         * iterators.C:
4588         * lyxtext.h:
4589         * output_latex.C:
4590         * paragraph_funcs.C:
4591         * text.C:
4592         * text2.C: use Inset::getText instead of Inset::getParagraph
4593
4594 2003-12-03  André Pönitz  <poenitz@gmx.net>
4595
4596         * buffer.[Ch]:
4597         * lyxtext.h:
4598         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4599         InsetText::read() as LyXText::read()
4600
4601 2003-12-02  Angus Leeming  <leeming@lyx.org>
4602
4603         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4604         type. Add a comment in the implementation that the function uses
4605         the stream's bad() function rather than fail() as the std::streams
4606         would do.
4607
4608 2003-12-02  André Pönitz  <poenitz@gmx.net>
4609
4610         * lyxlex.[Ch]: make interface more similar to std::stream
4611
4612         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4613
4614 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4615
4616         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4617
4618 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4619
4620         * vspace.[Ch]: remove VSpace::NONE
4621
4622 2003-12-01  André Pönitz  <poenitz@gmx.net>
4623
4624         * buffer.[Ch]:
4625         * lyxtext.h: move ParagraphList member to LyXText
4626         rename LyXText::ownerParagraphs to LyXText::paragraph
4627
4628         * CutAndPaste.C:
4629         * bufferview_funcs.C:
4630         * iterators.[Ch]:
4631         * lyx_cb.C:
4632         * paragraph.C:
4633         * rowpainter.C:
4634         * tabular.C:
4635         * text.C:
4636         * text2.C:
4637         * text3.C: adjust
4638
4639         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4640
4641         * undo.C: fix cursor positioning
4642
4643 2003-12-01  John Levon  <levon@movementarian.org>
4644
4645         * BufferView_pimpl.C: fix a crash on exit with
4646         a buffer open
4647
4648 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * BranchList.C: fix setSelected() method.
4651
4652 2003-11-28  André Pönitz  <poenitz@gmx.net>
4653
4654         * ParagraphParameters.[Ch]:
4655         * ParameterStruct.h: remove space above/below from Paragraph to
4656          InsetVSpace
4657
4658         * BufferView_pimpl.C:
4659         * factory.C:
4660         * lyxfunc.C:
4661         * lyxtext.h:
4662         * output_latex.C:
4663         * paragraph.C:
4664         * paragraph_funcs.C:
4665         * rowpainter.[Ch]:
4666         * text.C:
4667         * text2.C:
4668         * text3.C: adjust
4669
4670 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4671
4672         * factory.C: Syntax change for CharStyles
4673
4674 2003-11-28  André Pönitz  <poenitz@gmx.net>
4675
4676         * BufferView.[Ch]:
4677         * BufferView.[Ch]:
4678         * buffer.[Ch]:
4679         * buffer.[Ch]: move LyXText member
4680
4681 2003-11-28  André Pönitz  <poenitz@gmx.net>
4682
4683         * BufferView.[Ch]: make LyXText * text a private member
4684
4685         * BufferView_pimpl.C:
4686         * cursor.C:
4687         * iterators.C:
4688         * lyx_cb.C:
4689         * lyxfind.C:
4690         * lyxtext.h:
4691         * rowpainter.[Ch]:
4692         * text.C:
4693         * text2.C:
4694         * undo.C: adjust
4695
4696         * output_plaintext.C: cleanup
4697
4698 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4699
4700         * buffer.C:
4701         * lyxtextclass.[Ch]: parametrize SGML document header
4702
4703 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4704
4705         * converter.[Ch]:
4706         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4707         getFlavor().
4708
4709 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4710
4711         * text2.C (setFont): rework using PosIterator (no more recursive)
4712         (setCharFont): no more needed
4713         (setLayout): no more selection cursors fiddling (done by redoCursor)
4714         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4715         destroy remaining ones)
4716
4717 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4718
4719         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4720         * lyxtext.h: ditto
4721         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4722         selection cursors
4723         * lyxfunc.C: adjust
4724         * text3.C: adjust + re-allow multi par depth changes
4725         * textcursor.C: simplify a bit
4726
4727 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4728
4729         * src/buffer.C:
4730         * src/lyxlayout.C:
4731         * src/lyxlayout.h:
4732         * src/lyxtext.h:
4733         * src/output_docbook.C:
4734         * src/output_latex.C:
4735         * src/paragraph.C:
4736         * src/paragraph.h:
4737         * src/sgml.C:
4738         * src/sgml.h:
4739         * src/text2.C: Introducing a number of tags parametrizing various
4740         XML formats that we may want to support
4741
4742 2003-11-25  André Pönitz  <poenitz@gmx.net>
4743
4744         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4745
4746         * lyxtext.h (leftMargin/rightMargin): simplify interface
4747
4748         * rowpainter.C:
4749         * text.C:
4750         * text2.C:
4751         * text3.C: adjust
4752
4753 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4754
4755         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4756         master file to any child files. Fixes bug 546.
4757
4758 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4759
4760         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4761
4762 2003-11-24  André Pönitz  <poenitz@gmx.net>
4763
4764         * rowpainter.C: simplification
4765
4766         * text2.C (updateCounters): remove call to redoParagraph on
4767         changed labels as this is far too expensive.
4768
4769 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4770
4771         * converter.C (convert): fix a crash: this function gets
4772         called with buffer == 0 from importer code.
4773
4774 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * text3.C (cursorPrevious): make sure that we do not compare
4777         iterators form different containers.
4778         (cursorNext): ditto
4779
4780         * rowpainter.C (paintSelection): make sure that we do not compare
4781         iterators from different containers.
4782
4783         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4784         iterators from different ParagraphList containers.
4785         [NEXT] ditto
4786
4787         * text2.C (LyXText): change order of initialization slightly
4788         (operator=): new function. copy all variables except cache_par_
4789         (moveUp): make sure that we do not compare iterators from
4790         different ParagraphList constainers.
4791         (moveDown): ditto
4792
4793         * text.C (firstPar): new function
4794         (lastPar): new function
4795         (endPar): new function
4796
4797         * lyxtext.h: move things around and group public functions, public
4798         variables, private functions, private variables
4799
4800 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4801
4802         * factory.C: change call to InsetERT constructor to avoid
4803         additional invocation of method status
4804         * text2.C (toggleInset): remove redundant update() call
4805         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4806         instead of a Bufferview pointer
4807
4808 2003-11-21  André Pönitz  <poenitz@gmx.net>
4809
4810         * rowpainter.C: simplification
4811
4812 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4813
4814         * text3.C (dispatch): make possible to extend a word/row selection
4815         with the mouse
4816
4817 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4818
4819         * lyxtext.h: x0_,y0_ -> xo_,yo_
4820         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4821         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4822         * rowpainter.C (paintRows): paint full paragraphs
4823
4824 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4825
4826         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4827         screen coordinates)
4828
4829 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4830
4831         * lyxtext.h: add x0_, y0_
4832         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4833         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4834
4835 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4836
4837         * text2.C (setCursorIntern): move the x_target update here *
4838         * text3.C: change some bv() to true/false in calls to
4839         cursorUp/Down/Right/Left
4840         * cursor.C: use helper function.
4841
4842 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4843
4844         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4845         * paragraph_funcs.[Ch]: correct comment
4846         * rowpainter.C: do not paint selections away from bv->cursor()
4847         Fix a long standing selection painting bug.
4848         * text3.C: generalize mouse-selection code to LyXTexts other that
4849         top one
4850         * textcursor.C: do not use y coords if we can use par offsets
4851
4852 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4853
4854         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4855         cursor position after e.g. inset insert)
4856
4857 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4858
4859         * lyxfind.C (replace): adjust to locking removal + some
4860         code simplification
4861
4862 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4863
4864         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4865         of the path
4866
4867 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4868
4869         * lyxlayout.[Ch]:
4870         * output_docbook.C: XML sanitation: new layout
4871         parameters InnerTag and CommandDepth
4872
4873 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4874
4875         * BufferView_pimpl.C:
4876         * factory.C:
4877         * text3.C: Fix the insertion and modification of button-style
4878         insets
4879
4880 2003-11-13  André Pönitz  <poenitz@gmx.net>
4881
4882         * InsetList.[Ch]: remove deleteLyXText
4883
4884         * paragraph.[Ch]: cache beginOfBody position
4885
4886         * Bidi.C:
4887         * text.C:
4888         * text2.C:
4889         * text3.C: remove superfluous update() calls
4890
4891         * vspace.C: cleanup
4892
4893 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4894
4895         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4896         * BufferView.C (fitLockedInsetCursor): remove
4897         * cursor.[Ch] (getDim): add
4898         * text.C (getRowNearY): add faster version
4899         * text3.C: remove some update calls
4900
4901 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4902
4903         * LaTeXFeatures.C:
4904         * LyXAction.C:
4905         * MenuBackend.C:
4906         * MenuBackend.h:
4907         * dispatchresult.h:
4908         * factory.C:
4909         * lfuns.h:
4910         * lyxfunc.C:
4911         * lyxtextclass.C:
4912         * lyxtextclass.h:
4913         * text3.C: The Character Style /XML short element patch.
4914
4915 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4916
4917         * text3.C:
4918         * factory.C: Small step to solving 'unable to insert some insets'
4919         problem
4920
4921 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4922
4923         * cursor.[Ch] (updatePos): new function for updating the y
4924         position of the tip inset
4925         * bufferview_funcs.C (put_selection_at):
4926         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4927
4928 2003-11-11  André Pönitz  <poenitz@gmx.net>
4929
4930         * text.C: remove big comment on invalid Paragraph pointers as it is
4931         not valid anymore
4932
4933 2003-11-11  André Pönitz  <poenitz@gmx.net>
4934
4935         * text_funcs.[Ch]: merge with ...
4936
4937         * text.C: ... this
4938
4939         * lyxtext.h:
4940         * text2.C:
4941         * text3.C: adjust
4942
4943         * Makefile.am: remove text_funcs.[Ch]
4944
4945 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * cursor.C (getPos): return absolute cached y coord
4948
4949         * BufferView_pimpl.C (fitCursor): new simplistic code
4950         (workAreaDispatch): add a fitCursor call
4951
4952 2003-11-10  André Pönitz  <poenitz@gmx.net>
4953
4954         * BufferView.[Ch]:
4955         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4956
4957 2003-11-10  André Pönitz  <poenitz@gmx.net>
4958
4959         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4960         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4961         indicate that the cursor needs to leave an inset
4962
4963         * lyxtext.h: remove inset locking
4964
4965         * cursor.[Ch]: re-implement functionality provided by inset locking
4966
4967         * BufferView.[Ch]:
4968         * BufferView_pimpl.[Ch]:
4969         * LyXAction.C:
4970         * bufferview_funcs.[Ch]:
4971         * factory.C:
4972         * funcrequest.[Ch]:
4973         * iterators.C:
4974         * lyx_cb.C:
4975         * lyxfind.C:
4976         * lyxfunc.C:
4977         * text.C:
4978         * text2.C:
4979         * text3.C:
4980         * undo.C: adjust
4981
4982 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * PosIterator.[Ch]: replace the stack with a vector, add inset
4985         accesor
4986         * iterators.[C]: adjust
4987
4988 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4991         replaced
4992         * paragraph_funcs.C (readParToken): put the correct id in the
4993         error item, not the id of the top paragraph
4994
4995 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4998         * bufferview_funcs.C (put_selection_at): use the above
4999
5000 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5001
5002         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5003
5004 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5005
5006         * output_linuxdoc.h:
5007         * output_plaintext.h:
5008         * output.h:
5009         * output_docbook.h: add #include statements
5010
5011 2003-11-05  José Matos  <jamatos@lyx.org>
5012
5013         * output_docbook.[Ch]:
5014         * output_latex.[Ch]:
5015         * output_linuxdoc.[Ch]:
5016         * output_plaintext.[Ch]: New files for output formats.
5017         * output.[Ch]: New file for helper functions.
5018
5019         * buffer.[Ch]:
5020         * paragraph_funcs.[Ch]: output functions moved to new files.
5021
5022         * outputparams.h: rename of latexrunparams.h
5023
5024         * LaTeX.[Ch]:
5025         * buffer.[Ch]:
5026         * bufferlist.[Ch]:
5027         * converter.[Ch]:
5028         * exporter.C:
5029         * paragraph.[Ch]:
5030         * paragraph_funcs.[Ch]:
5031         * paragraph_pimpl.[Ch]:
5032         * tabular.[Ch]: rename ascii to plaintext
5033         and LatexRunParams to OutputParams.
5034
5035 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * iterators.[Ch] (text): require bv argument
5038         * undo.C (recordUndo):
5039         * lyxfunc.C (dispatch):
5040         * bufferview_funcs.C (put_selection_at): adjust
5041
5042 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5043
5044         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5045
5046 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5049         nestings
5050
5051 2003-11-04  André Pönitz  <poenitz@gmx.net>
5052
5053         * cursor.[Ch]: restructure
5054
5055         * BufferView.[Ch]:
5056         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5057
5058         * iterators.[Ch] (asCursor): remove
5059
5060         * lfuns.h: remove LFUN_INSET_EDIT
5061
5062         * lyxfunc.C:
5063         * tabular.C:
5064         * text.C:
5065         * text2.C:
5066         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5067
5068 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * lyxfind.[Ch]: complete overhaul
5071         * BufferView_pimpl.C:
5072         * lyxfunc.C: adjust
5073         * paragraph.[Ch] (insert): add
5074
5075 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * BufferView.[Ch]:
5078         * lyxtext.h:
5079         * text.C: remove dead spellcheck code
5080
5081 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * dispatchresult.h: add a val setter
5084
5085         * cursor.C (dispatch): use a tempvar for data_[i]
5086
5087 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * PosIterator.[Ch]: compile fix
5090
5091 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * text.C (cursorPar): deactivate the cursor cache
5094
5095 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5098
5099 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * text3.C (dispatch): adjust for new DisptchResult semantics.
5102
5103         * lyxfunc.C (dispatch): handle update when return from
5104         Cursor::dispatch, adjust for new DispatchResult semantics.
5105
5106         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5107         DispatchResult(true) mean to not update. Add class functions for
5108         setting dispatched and update, as well as reading.
5109
5110         * cursor.C (dispatch): don't handle update here
5111
5112 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5115         * trans_mgr.C: adjust
5116
5117         * paragraph_funcs.C (readParToken): exception safety
5118
5119         * lyxvc.h: store the vcs pointer in a scoped_ptr
5120         * lyxvc.C: adjust
5121
5122         * lyxsocket.C (serverCallback): exception safety
5123
5124         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5125
5126         * ispell.C (clone): make it return a auto_ptr
5127
5128         * factory.C (createInset): exception safety
5129         (readInset): exception safety
5130
5131         * bufferlist.C (newBuffer): exception safety
5132
5133         * Thesaurus.C (Thesaurus): use initialization for aik_
5134
5135         * MenuBackend.C (expandToc): exception safety.
5136
5137 2003-11-03  André Pönitz  <poenitz@gmx.net>
5138
5139         * buffer.C:
5140         * buffer.h:
5141         * bufferview_funcs.C: remove getInsetFromId()
5142
5143         * lyxcursor.[Ch]:
5144         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5145
5146         * lyxfunc.C:
5147         * text2.C:
5148         * text3.C: adjust
5149
5150 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * PosIterator.C (distance, advance): new
5153         * bufferview_funcs.[Ch] (put_selection_at): new
5154         * iterators.[Ch] (lockPath): new
5155
5156 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5157
5158         * iterators.[Ch] (asPosIterator): added
5159         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5160         * PosIterator.[Ch]: added
5161
5162 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * text3.C:
5165         * lyxfunc.C:
5166         * cursor.C (dispatch):
5167         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5168
5169         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5170         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5171         contructor, add a class function dispatched. Remove operator>=
5172
5173 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * debug.C: only use the default constructor for debugstream
5176         (lyxerr) here.
5177
5178         * main.C (main): include debug.h and setup the lyxerr streambuf
5179         here.
5180
5181 2003-10-31  José Matos  <jamatos@lyx.org>
5182
5183         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5184
5185         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5186         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5187         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5188         * paragraph_pimpl.C (simpleTeXSpecialC):
5189         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5190         add LatexRunParams argument.
5191
5192         * exporter.C (Export): change call accordingly.
5193
5194         * latexrunparams.h: add new member to take care of the other backends.
5195 2003-10-30  José Matos  <jamatos@lyx.org>
5196
5197         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5198         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5199         factorise code for paragraph output.
5200         * buffer.[Ch]:
5201         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5202         move functions.
5203
5204 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * text3.C (dispatch):
5207         * lyxfunc.C (dispatch):
5208         * cursor.C (dispatch):
5209         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5210
5211         * dispatchresult.h: make the dispatch_result_t ctor explicit
5212
5213 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5214
5215         * sgml.[Ch]:
5216         * buffer.C: small refactoring of docbook stuff
5217
5218 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5221         meaning.
5222
5223 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5226         operator dispatch_result_t, and operators for == != and >=
5227
5228         * cursor.C (dispatch): adjust for operator dispatch_result_t
5229         removal. comment out call to update
5230
5231         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5232
5233 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * text3.C:
5236         * text2.C:
5237         * text.C:
5238         * lyxtext.h:
5239         * lyxfunc.C:
5240         * cursor.C:
5241         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5242         (dispatch):
5243
5244         * dispatchresult.h: new file, DispatchResult broken out of
5245         insets/insetbase.h
5246
5247         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5248
5249 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * text.C (rowBreakPoint): put a hack inside #if 0
5252
5253 2003-10-28  André Pönitz  <poenitz@gmx.net>
5254
5255         * lyxtext.h:
5256         * metricsinfo.C:
5257         * paragraph_funcs.C:
5258         * rowpainter.C:
5259         * text.C:
5260         * text2.C: general cleanup (lots of small stuff)
5261
5262 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * text2.C (cursorEnd): simple fix to the "end key goes to one
5265         before the end on last row" bug
5266
5267 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5268
5269         * text.C (backspace): fix the "zombie characters"
5270
5271 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5272
5273         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5274
5275 2003-10-27  André Pönitz  <poenitz@gmx.net>
5276
5277         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5278
5279         * factory.C: handle new InsetPagebreak, InsetLine
5280
5281         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5282         and move handling into new InsetPagebreak, InsetLine
5283
5284         * BufferView_pimpl.C:
5285         * LyXAction.C:
5286         * ParagraphParameters.C:
5287         * ParameterStruct.h:
5288         * lyxfunc.C:
5289         * lyxtext.h:
5290         * paragraph.C:
5291         * paragraph.h:
5292         * paragraph_funcs.C:
5293         * paragraph_pimpl.C:
5294         * rowpainter.C:
5295         * text.C:
5296         * text2.C:
5297         * text3.C: adjust
5298
5299 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5300
5301         * text.C:
5302         * lyxrow_funcs.[Ch]:
5303         * Bidi.C:
5304         * paragraph.C:
5305         * lyxtext.h:
5306         * rowpainter.C:
5307         * text2.C:
5308         * text3.C: remove lastPos uses in favour of Row::endpos
5309
5310 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5311
5312         * undo.C (performUndoOrRedo): fix two crashes by setting a
5313         cursor by hand and reordering some calls. Use bv->lockInset instead
5314         of inset->edit because the latter loses cursor information
5315
5316 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5317
5318         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5319         by Martin
5320         (rowBreakPoint): fix width. change point to point + 1.
5321         Add a missing check.
5322
5323 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5324
5325         * MenuBackend.C:
5326         * lyxfunc.C: fix (at least partly) the problems
5327         with the Nav menu and headers inside branch insets
5328         reported by Kayvan
5329
5330 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5331
5332         * paragraph.C (getChar): add strong asserts
5333
5334         * lyxrow_funcs.C (lastPos): remove hideous hack
5335
5336         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5337         (fill): adjust to that (avoid an infinite loop)
5338
5339 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5340
5341         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5342
5343 2003-10-23  André Pönitz  <poenitz@gmx.net>
5344
5345         * RowList_fwd.h: change list<> to vector<> to gain speed
5346         after suggestion from Alfredo
5347
5348 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5349
5350         * lyxtext.h: move the bidi stuff from here...
5351         * text.C: and here
5352         * text2.C: and here
5353         * Bidi.[Ch]: ... to here
5354
5355 2003-10-23  André Pönitz  <poenitz@gmx.net>
5356
5357         * lyxtext.h:
5358         * text.C (isLastRow, isFirstRow): new functions
5359
5360         * paragraph.h: new width cache member
5361
5362         * rowpainter.C: replace RowList::iterator with Row & where possible
5363
5364         * lyxfunc.C: replace several view()->text with a single call
5365
5366         * toc.C: fix 'unused' warning
5367
5368 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5371         when woring with stream::pos_type
5372         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5373
5374 2003-10-22  André Pönitz  <poenitz@gmx.net>
5375
5376         * lyxtext.h:
5377         * text.C: use Row & instead of RowList::iterator
5378
5379         * lyxrow.h: rename end() to endpos()
5380
5381         * rowpainter.C:
5382         * text.C:
5383         * text2.C: adjust
5384
5385 2003-10-22  Angus Leeming  <leeming@lyx.org>
5386
5387         * buffer.[Ch] (fully_loaded): new member function, returning true
5388         only when the file has been loaded fully.
5389         Used to prevent the premature generation of previews and by the
5390         citation inset to prevent computation of the natbib-style label.
5391
5392         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5393         templates are all set up.
5394
5395         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5396
5397 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5398
5399         * text.C: fixed an "oops" in the "is a bit silly"
5400         bug fix
5401
5402 2003-10-21  André Pönitz  <poenitz@gmx.net>
5403
5404         * FuncStatus.[Ch]: small stuff, whitespace
5405
5406         * lyxfont.[Ch]: operator<<() for debug reasons
5407
5408         * lyxfunc.C:
5409         * lyxrow_funcs.C:
5410         * lyxtext.h: whitespace, spelling
5411
5412         * paragraph.C: naming of variables
5413
5414         * text.C:
5415         * text2.C: small stuff
5416
5417
5418 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5419
5420         * text.C: (1) finish off the inset display() work;
5421         (2) fix the "is a bit silly" bug (accessing char
5422         past end of par).
5423
5424 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5425
5426         * text.C: re-introduce display() for insets, fixing the
5427         various bugs (stretch of line above, math inset
5428         positioning, ...)
5429
5430 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5431
5432         * text.C (rightMargin): remove spurious semicolon
5433
5434         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5435         1415)
5436
5437 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5438
5439         * text3.C: fix one crash due to wrong cursor def
5440
5441 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * vc-backend.C (scanMaster): make the regex static
5444
5445         * LaTeX.C (scanAuxFile): make the regexs static
5446
5447         * text3.C (doInsertInset, dispatch, dispatch):
5448         * text2.C (cursorUp, cursorDown):
5449         * text.C (selectNextWordToSpellcheck):
5450         * BufferView_pimpl.C (dispatch):
5451         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5452
5453 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5454
5455         * lyxsocket.C: include <cerrno>
5456
5457 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * lyxfunc.C (dispatch): remove textcache stuff
5460
5461         * bufferlist.C (release): remove textcache stuff
5462         (closeAll): ditto
5463
5464         * TextCache.C: delete file
5465         * TextCache.h: delete file
5466
5467         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5468
5469         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5470         delete of the bv_->text.
5471         (resizeCurrentBuffer): remove texcache stuff
5472         (workAreaResize): ditto
5473
5474 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5477         action.
5478
5479 2003-10-16  André Pönitz  <poenitz@gmx.net>
5480
5481         * lyxrow.[Ch]:
5482         * paragraph.h:
5483         * rowpainter.C:
5484         * text.C:
5485         * text2.C:
5486         * text3.C: speed up by storing y positions per paragraph plus per-row
5487         offset instead of having a 'full' y position in the row.
5488
5489 2003-10-15  André Pönitz  <poenitz@gmx.net>
5490
5491         * iterators.[Ch]:
5492         * iterators.[Ch]:
5493         * undo.[Ch]: make undo aware of inner insets
5494
5495 2003-10-14  Angus Leeming  <leeming@lyx.org>
5496
5497         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5498         static member functions LyX::ref() and LyX::cref.
5499         (lastfiles): new accessor functions for the new lastfiles_ member var.
5500         (addLyXView, views_): add a new LyXView to the list of views_.
5501         (updateInset): loop over all LyXViews to call their own updateInset
5502         member function, returning a pointer to the Buffer owning the inset.
5503
5504         * BufferView_pimpl.C (loadLyXFile):
5505         * MenuBackend.C (expandLastfiles):
5506         * bufferlist.C (MenuWrite, QuitLyX):
5507         lastfiles is no longer a global variable.
5508         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5509
5510         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5511         static function. Access through LyX::cref().emergencyCleanup().
5512
5513 2003-10-14  André Pönitz  <poenitz@gmx.net>
5514
5515         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5516
5517         * undo.[Ch]: restoring part of 'undo in insets'
5518
5519         * Makefile.am:
5520         * undo_funcs.[Ch]: merge with undo.[Ch]
5521
5522         * tabular.C: small cleansing stuff
5523
5524 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5525
5526         * paragraph_funcs.C (readParToken): report unknown insets as error
5527         boxes. Use the outer paragraph as location (also for unknown
5528         tokens).
5529
5530         * factory.C (readInset): do not abort on reading an unknown inset.
5531         Eat it and return 0.
5532
5533 2003-10-13  Angus Leeming  <leeming@lyx.org>
5534
5535         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5536
5537         * lyxrc.C: displayTranslator is now a function,
5538         declared in GraphicsTypes.h.
5539
5540 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5541
5542         * format.C: new placeholder $$a to pass the socket address.
5543
5544         * bufferlist.[Ch]: new function getBufferFromTmp.
5545
5546         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5547           files in the temporary dir.
5548
5549 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5550
5551         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5552
5553         * Makefile.am: add lyxsocket.[Ch].
5554
5555         * lyx_main.C (error_handler): handle SIGPIPE.
5556
5557 2003-10-13  André Pönitz  <poenitz@gmx.net>
5558
5559         * BufferView_pimpl.C:
5560         * lyxtext.h:
5561         * text.C:
5562         * text2.C:
5563         * text3.C:
5564         * undo_funcs.[Ch]: use paroffset_type instead of
5565           ParagraphList::iterators to prevent multiple conversion
5566           (and get a more robust interface)
5567
5568 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5571         * lyxtext.h: ditto
5572         * text3.C (dispatch): ditto
5573
5574 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5575
5576         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5577         move the onlyfile, use onlyfile instead of foundfile in a couple
5578         of places.
5579
5580         * DepTable.C (update): flush the error stream a bit more
5581
5582 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * lyxserver.C (callback): adjust
5585
5586         * lyxfunc.C (getStatus): add a missing brace in commented code
5587         (ensureBufferClean): reindent
5588         (dispatch): delete version taking a string
5589
5590 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * LaTeX.C (deplog): move found file handlig from here...
5593         (handleFoundFile): .. to new function here.
5594         (deplog): make sure to discover several files mentioned on the
5595         same log line.
5596
5597 2003-10-10  André Pönitz  <poenitz@gmx.net>
5598
5599         * lyxfunc.C:
5600         * lyxtext.h:
5601         * tabular.C:
5602         * text.C:
5603         * text2.C:
5604         * text3.C: fix some of the tabular crashes
5605
5606 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5607
5608         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5609
5610         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5611
5612 2003-10-09  André Pönitz  <poenitz@gmx.net>
5613
5614         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5615
5616         * BufferView.C:
5617         * BufferView_pimpl.C:
5618         * bufferview_funcs.C:
5619         * lyx_cb.C:
5620         * lyxcursor.C:
5621         * lyxfind.C:
5622         * lyxfunc.C:
5623         * lyxtext.h:
5624         * text.C:
5625         * text2.C:
5626         * text3.C:
5627         * text_funcs.[Ch]:
5628         * textcursor.[Ch]:
5629         * undo_funcs.C: adjust
5630
5631 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * text2.C (incrementItemDepth): new function, use a backtracking
5634         algorithm to discover the correct item depth.
5635         (resetEnumCounterIfNeeded): new function, use a backtracking
5636         algorithm to discover if counter reset is needed.
5637         (setCounter): use them. Simplify a bit. Add different labels for
5638         different item depths for itemize.
5639
5640         * paragraph.C (Paragraph): remove initialization of enumdepth
5641         (operator=): ditto
5642
5643         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5644         enumerate and itemize. Change the type of itemdepth to signed char.
5645
5646 2003-10-08  André Pönitz  <poenitz@gmx.net>
5647
5648         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5649           thing assignable.
5650         * text.C:
5651         * text2.C: adjust
5652
5653         * tabular.[Ch]: fix crash after 'row-insert'
5654
5655 2003-10-08  Angus Leeming  <leeming@lyx.org>
5656
5657         Fix doxygen warnings.
5658
5659         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5660         Remove CutAndPaste:: prefix from header file declaration.
5661
5662         * LColor.h (fill): remove LColor:: prefix from declaration.
5663
5664         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5665         use lyx::depth_type rather than Paragraph::depth_type so that
5666         header file and .C file match.
5667
5668         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5669
5670         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5671         * aspell.C: \file aspell_local.C -> \file aspell.C
5672         * gettext.C: \file gettext.C -> \file src/gettext.C
5673         * gettext.h: \file gettext.h -> \file src/gettext.h
5674         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5675         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5676         * text.C: \file text.C -> \file src/text.C
5677
5678         * toc.C: move comment so that doxygen is not confused.
5679
5680 2003-10-07  Angus Leeming  <leeming@lyx.org>
5681
5682         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5683
5684 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5685
5686         * aspell.C:
5687         * aspell_local.h: add forgotten std::string's.
5688
5689 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5690
5691         * LaTeXFeatures.C:
5692         * LyXAction.C:
5693         * factory.C:
5694         * lfuns.h:
5695         * lyxfunc.C:
5696         * text3.C: The Box patch. Fancybox support, minipage, parbox
5697
5698 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5699
5700         * CutAndPaste.h:
5701         * DepTable.h:
5702         * FloatList.h:
5703         * LaTeXFeatures.h:
5704         * ParagraphParameters.h:
5705         * TextCache.h:
5706         * Thesaurus.h:
5707         * bufferlist.h:
5708         * exporter.h:
5709         * importer.h:
5710         * lastfiles.h:
5711         * lyxfind.h:
5712         * lyxfont.h:
5713         * lyxlex.h:
5714         * lyxtextclasslist.h:
5715         * messages.h:
5716         * paragraph.h:
5717         * paragraph_pimpl.C:
5718         * textcursor.h: add <string> and other small fixes to make Lars'
5719         std::string patch compile with STLport.
5720
5721 2003-10-06  Angus Leeming  <leeming@lyx.org>
5722
5723         * LColor.h: Add missing #include <string>.
5724
5725 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * All most all file in all subdirs: Make <string> be the prefered
5728         way of getting to std::string, add using declarations.
5729
5730 2003-10-06  André Pönitz  <poenitz@gmx.net>
5731
5732         * metricsinfo.C: initialize LyXFont before changing attribute.
5733         (fixes the 'math in \emph is upright' bug)
5734
5735 2003-10-06  André Pönitz  <poenitz@gmx.net>
5736
5737         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5738
5739 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5740
5741         * graph.C:
5742         * paragraph_pimpl.C: Small fixes to build using STLport
5743
5744 2003-10-02  André Pönitz  <poenitz@gmx.net>
5745
5746         * lyxfunc.C:
5747         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5748
5749 2003-10-01  André Pönitz  <poenitz@gmx.net>
5750
5751         * factory.C: assert early
5752
5753 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * lyx_main.C: remove the global debug object
5756
5757         * debug.h: adjust for new debugstream
5758
5759         * debug.C: adjust for new debugstream and keep the global debug
5760         object here.
5761
5762 2003-09-22  Angus Leeming  <leeming@lyx.org>
5763
5764         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5765         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5766         an incomplete class LyXFont.
5767
5768 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5769
5770         * factory.C: bug fix in branches
5771
5772 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * lyxfunc.C (processKeySym): adjust
5775         (dispatch): adjust
5776         (dispatch): change arg name from ev to func, adjust
5777         (sendDispatchMessage): ditto
5778
5779         * lyx_main.C (defaultKeyBindings): adjust keybindings
5780         (deadKeyBindings): ditto
5781
5782         * kbsequence.C (addkey): return a FuncRequest
5783
5784         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5785
5786         * kbmap.C (bind): take a FuncRequest as arg, adjust
5787         (read): adjust
5788         (lookup): adjust
5789         (defkey): change to take a FuncRequest as arg, adjust
5790         (findbinding): take a FuncRequest as arg, adjust.
5791
5792         * funcrequest.h (operator=): added
5793
5794         * funcrequest.C (FuncRequest): default kb_action changed from
5795         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5796
5797         * buffer.C (dispatch): simplify
5798         (dispatch): adjust to take a FuncRequest as arg, adjust
5799
5800         * boost.C (assertion_failed): change assertion message slightly
5801
5802         * ToolbarBackend.C (read): simplify
5803
5804         * MenuBackend.C (binding): adjust call to findbinding, add a
5805         message if no binding is found.
5806         (read): simplify
5807         (expandToc): correct by adding a empty FuncRequest
5808
5809         * LyXAction.C: include <boost/assert.hpp>
5810         (isPseudoAction): delete function
5811         (LookupFunc): change name to...
5812         (lookupFunc): this. change return type to FuncRequest.
5813         (getActionName): take kb_action as arg, simplify
5814         (funcHasFlag): add an assert, simplify.
5815
5816 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * toc.C (action): return a FuncRequest, simplify
5819
5820         * lyxfunc.C (processKeySym): adjust
5821         (getStatus): delete version that takes an int.
5822         (getStatus): adjust
5823         (dispatch): delete version that takes action as int
5824         (dispatch): adjust
5825         (sendDispatchMessage): simplify and adjust
5826
5827         * funcrequest.C (getArg): take unsigned int as arg
5828
5829         * ToolbarBackend.C (read): adjust
5830         (add): delete version that takes func as a string.
5831         (getIton): take a FuncRequest as arg
5832
5833         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5834         action.
5835
5836         * MenuBackend.C (MenuItem): add a new construct that only takes a
5837         Kind, simplify the constructor use for submenus.
5838         (add): adjust
5839         (expandLastfiles): adjust
5840         (expandDocuments): adjust
5841         (expandFormats): adjust
5842         (expandFloatListInsert): adjust
5843         (expandFloatInsert): adjust
5844         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5845
5846         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5847         Remove class variables lyx_pseudo_map and lyx_arg_map
5848
5849         * LyXAction.C (searchActionArg): delete function
5850         (getPseudoAction): delete function
5851         (retrieveActionArg): delete function
5852         (LookupFunc): make it return kb_action, simplify.
5853         (getActionName): simplify
5854
5855         * factory.C (createInset): fix new bug
5856
5857 2003-09-19  Angus Leeming  <leeming@lyx.org>
5858
5859         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5860         masterFilename_ parameter in the include inset.
5861
5862         * factory.C (createInset): changes due to the changes to InsetInclude.
5863
5864 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5865
5866         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5867
5868 2003-09-18  Angus Leeming  <leeming@lyx.org>
5869
5870         * buffer.C:
5871         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5872         Inset::fillWithBibKeys.
5873         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5874
5875 2003-09-18  Angus Leeming  <leeming@lyx.org>
5876
5877         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5878         variables.
5879         (ctor): pass and store a 'Buffer const &'
5880         (buffer): new member function.
5881
5882         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5883         '*this' to the LaTeXFeatures ctor.
5884
5885 2003-09-18  Angus Leeming  <leeming@lyx.org>
5886
5887         * LColor.h:
5888         * lyxfont.C:
5889         * lyxfont.h:
5890         * lyxtext.h:
5891         * text.C: rename EnumLColor as LColor_color.
5892
5893 2003-09-18  Angus Leeming  <leeming@lyx.org>
5894
5895         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5896         remove #include "insets/insetbase.h" from cursor.h.
5897
5898 2003-09-18  Angus Leeming  <leeming@lyx.org>
5899
5900         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5901         InsetOld_code to remove #include "inset.h".
5902
5903         * iterators.C: add #include "insets/inset.h"
5904
5905 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5906
5907         * BufferView.C: remove more locking stuff that apparently doesn't
5908         do anything sensible.
5909
5910 2003-09-16  André Pönitz  <poenitz@gmx.net>
5911
5912         * paragraph.[Ch]:
5913         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5914           performance boost.
5915
5916 2003-09-16  Angus Leeming  <leeming@lyx.org>
5917
5918         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5919
5920         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5921         arg/return type.
5922
5923         * paragraph.h: remove #include "lyxfont.h". Forward declare
5924         LyXFont_size.
5925
5926 2003-09-16  Angus Leeming  <leeming@lyx.org>
5927
5928         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5929         of support/textutils.h.
5930         (isWord): move the contents of support/textutils.h's IsWordChar here.
5931
5932         * buffer.C:
5933         * lyxfind.C:
5934         * rowpainter.C:
5935         * text.C:
5936         * text2.C: add #include "paragraph.h".
5937
5938         * rowpainter.C:
5939         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5940
5941 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * main.C:
5944         * lyx_main.C:
5945         * lyx_cb.C:
5946         * buffer.C:
5947         * LaTeX.C: use namespace alias for lyx::support::os
5948
5949 2003-09-16  Angus Leeming  <leeming@lyx.org>
5950
5951         * bufferparams.C:
5952         * bufferview_funcs.C:
5953         * factory.C:
5954         * lyxfunc.C:
5955         * paragraph_pimpl.C:
5956         * rowpainter.C:
5957         * text.C: add #include "LColor.h".
5958
5959 2003-09-16  Angus Leeming  <leeming@lyx.org>
5960
5961         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5962         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5963         return LyXFont &.
5964         Store the FontBits::color variable as an int rather than as an
5965         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5966         file.
5967
5968         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5969         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5970         string calls together.
5971
5972         * lyxrc.C: add #include "LColor.h".
5973
5974 2003-09-15  Angus Leeming  <leeming@lyx.org>
5975
5976         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5977         a cow_ptr.
5978
5979 2003-09-15  Angus Leeming  <leeming@lyx.org>
5980
5981         * LColor.h: add an EnumLColor wrapper for LColor::color.
5982
5983         * lyxfont.[Ch] (color, setColor, realColor):
5984         * lyxtext.h, text.C (backgroundColor):
5985         pass EnumLColor args to/from the functions, rather than LColor::color
5986         ones.
5987
5988         * lyxfont.h:
5989         * lyxtext.h: forward declare EnumLColor.
5990
5991         * lyx_main.C: add #include "LColor.h".
5992
5993 2003-09-15  Angus Leeming  <leeming@lyx.org>
5994
5995         * .cvsignore: add lyx-gtk.
5996
5997 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5998
5999         * Chktex.C
6000         * LaTeX.C
6001         * LaTeXFeatures.C
6002         * ParagraphParameters.C
6003         * Spacing.C
6004         * buffer.C
6005         * bufferparams.C
6006         * bufferview_funcs.C
6007         * chset.C
6008         * counters.C
6009         * funcrequest.C
6010         * lyxfont.C
6011         * lyxgluelength.C
6012         * lyxlength.C
6013         * paragraph.C
6014         * paragraph_funcs.C
6015         * text3.C
6016         * vc-backend.C: remove usage of STRCONV
6017
6018 2003-09-15  Angus Leeming  <leeming@lyx.org>
6019
6020         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6021         explicitly define the color passed to the painter.
6022
6023 2003-09-15  Angus Leeming  <leeming@lyx.org>
6024
6025         * bufferparams.C (BufferParams): reorder member initializers to avoid
6026         compiler warning.
6027
6028 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6029
6030         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6031         * text.C (updateRowPositions): remove an unusual nop
6032
6033 2003-09-12  André Pönitz  <poenitz@gmx.net>
6034
6035         * BufferView_pimpl.C:
6036         * Bullet.C:
6037         * layout.h:
6038         * lyxfunc.C:
6039         * lyxlayout.[Ch]:
6040         * lyxtextclass.C:
6041         * rowpainter.C:
6042         * text.C:
6043         * text2.C:
6044         * Counters.[Ch]: finish the 'automatic counters' job
6045
6046 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6047
6048         * aspell.C: include <boost/assert.cpp> (compile fix)
6049
6050 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6051
6052         * boost.C (assertion_failed): use lyx::support::abort instead of
6053         assert.
6054
6055 2003-09-10  Angus Leeming  <leeming@lyx.org>
6056
6057         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6058         with their _fwd progeny.
6059
6060 2003-09-09  Angus Leeming  <leeming@lyx.org>
6061
6062         134 files throughtout the source tree: replace 'using namespace abc;'
6063         directives with the appropriate 'using abc::xyz;' declarations.
6064
6065 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6066
6067         * boost.C (emergencyCleanup): moved here from LAssert.c
6068         (assertion_failed): new function, called by BOOST_ASSERT
6069
6070         * several files: change Assert to BOOST_ASSERT
6071
6072 2003-09-09  Angus Leeming  <leeming@lyx.org>
6073
6074         * buffer.[Ch]: Add an Impl class and move Buffer's member
6075         variables into it. As a result move several header files out of
6076         buffer.h.
6077
6078         Add header files to lots of .C files all over the tree as a result.
6079
6080 2003-09-09  Angus Leeming  <leeming@lyx.org>
6081
6082         * buffer.[Ch]: make Buffer's member variables private. Add
6083         accessor functions.
6084
6085         Lots of changes all over the tree as a result.
6086
6087 2003-09-08  Angus Leeming  <leeming@lyx.org>
6088
6089         * graph.C: #include <config.h>.
6090
6091 2003-09-08  Angus Leeming  <leeming@lyx.org>
6092
6093         * BranchList.C:
6094         * BufferView.C:
6095         * BufferView_pimpl.C:
6096         * CutAndPaste.C:
6097         * DepTable.C:
6098         * LaTeX.C:
6099         * LaTeXFeatures.C:
6100         * LyXAction.C:
6101         * MenuBackend.C:
6102         * TextCache.C:
6103         * aspell.C:
6104         * buffer.C:
6105         * bufferlist.C:
6106         * changes.C:
6107         * chset.C:
6108         * converter.C:
6109         * counters.C:
6110         * debug.C:
6111         * graph.C:
6112         * ispell.C:
6113         * lyx_cb.C:
6114         * lyxfind.C:
6115         * lyxfunc.C:
6116         * lyxlex_pimpl.C:
6117         * lyxrc.C:
6118         * lyxrow.C:
6119         * paragraph.C:
6120         * rowpainter.C:
6121         * texrow.C:
6122         * text.C:
6123         * text2.C:
6124         * toc.C: remove redundant using directives.
6125
6126 2003-09-07  Angus Leeming  <leeming@lyx.org>
6127
6128         * LaTeXFeatures.h: remove #include "support/types.h".
6129         * ToolbarBackend.h: remove #include <algorithm>.
6130         * changes.h: remove #include <ctime>.
6131         * debug.h: remove #include <iosfwd>.
6132         * graph.h: remove #include "support/std_string.h".
6133         * lyx_main.h: remove #include <csignal>.
6134         * lyxlex_pimpl.h: remove #include <fstream>.
6135         * sgml.h: remove #include <algorithm>, <utility>.
6136         * toc.h: remove #include "support/std_ostream.h".
6137         Add #include <iosfwd>.
6138
6139 2003-09-07  Angus Leeming  <leeming@lyx.org>
6140
6141         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6142
6143         * converter.h: forward declare LatexRunParams.
6144         * encoding.h: remove #include "lyxrc.h".
6145         * lyxtext.h: remove #include "LColor.h".
6146         * lyxtextclass.h: remove #include "support/types.h".
6147         * trans.h: remove #include "tex-accent.h".
6148         * trans_mgr.h: remove #include "tex-accent.h".
6149         * insets/inset.h: remove #include "support/types.h", <vector>.
6150         * insets/insetcollapsable.h: remove #include "LColor.h".
6151         * insets/insetinclude.h: remove #include "dimension.h".
6152         * insets/insetlatexaccent.h: remove #include "dimension.h".
6153         * insets/insetoptarg.h:: remove #include "insettext.h".
6154         * insets/insettext.h: remove #include "dimension.h",
6155         <boost/shared_ptr.hpp>
6156
6157         * insets/renderers.h: add #include "dimension.h".
6158         * insets/updatableinset.h: add #include "support/types.h".
6159
6160         * many .C files: Associated changes.
6161
6162 2003-09-06  Angus Leeming  <leeming@lyx.org>
6163
6164         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6165         one, inside testInvariant.
6166
6167         * PrinterParams.C: new file.
6168         * PrinterParams.[Ch]: move the function bodies out of line.
6169
6170 2003-09-06  Angus Leeming  <leeming@lyx.org>
6171
6172         * ParagraphParameters.h: forward declare ParameterStruct rather than
6173         including its header file.
6174         (depth): moved out-of-line.
6175
6176 2003-09-06  Angus Leeming  <leeming@lyx.org>
6177
6178         * BufferView_pimpl.h:
6179         * kbmap.h:
6180         * kbsequence.h:
6181         * lyxfunc.h: forward declare LyXKeySym rather than
6182         #include "frontends/LyXKeySym.h".
6183
6184         * BufferView_pimpl.C:
6185         * kbmap.C:
6186         * kbsequence.C:
6187         * lyxfunc.C: associated changes.
6188
6189 2003-09-06  Angus Leeming  <leeming@lyx.org>
6190
6191         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6192         As a result, can remove the #include "insets/inset.h" from BufferView.h
6193
6194 2003-09-06  Angus Leeming  <leeming@lyx.org>
6195
6196         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6197         As a result, can remove the #include "insets/inset.h" from BufferView.h
6198
6199 2003-09-06  Angus Leeming  <leeming@lyx.org>
6200
6201         * buffer_funcs.C:
6202         * buffer.h:
6203         * bufferlist.C:
6204         * BufferView.C:
6205         * bufferview_funcs.C:
6206         * BufferView_pimpl.C:
6207         * CutAndPaste.C:
6208         * lyx_cb.C:
6209         * lyxfunc.C:
6210         * paragraph.h:
6211         * ParagraphParameters.C:
6212         * tabular.C:
6213         * text3.C:
6214         * toc.C:
6215         * undo_funcs.C:
6216         * frontends/controllers/ControlDocument.C:
6217         * insets/insetcaption.C: rearrange the #includes into some sort of
6218         coherent order.
6219
6220         * buffer.h: remove #includes ErrorList.h, undo.h
6221
6222 2003-09-06  Angus Leeming  <leeming@lyx.org>
6223
6224         * support/types.h: add a 'depth_type' typedef, used to store the
6225         nesting depth of a paragraph.
6226
6227         * paragraph.h:
6228         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6229         defining explicitly.
6230
6231         * buffer.h:
6232         * paragraph_funcs.h:
6233         * ParagraphParameters.h:
6234         * sgml.h: use lyx::depth_type rather than Paragraph or
6235         ParameterStruct's depth_type.
6236
6237         * buffer.h
6238         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6239
6240         * BufferView.C:
6241         * BufferView_pimpl.C:
6242         * CutAndPaste.C:
6243         * ParagraphParameters.C:
6244         * buffer_funcs.C:
6245         * bufferlist.C:
6246         * bufferview_funcs.C:
6247         * lyx_cb.C:
6248         * lyxfunc.C:
6249         * tabular.C:
6250         * text3.C:
6251         * toc.C:
6252         * undo_funcs.C:
6253         * frontends/LyXView.C:
6254         * frontends/controllers/ControlDocument.C:
6255         * frontends/controllers/ControlErrorList.C:
6256         * insets/insetbibitem.C:
6257         * insets/insetbranch.C:
6258         * insets/insetcaption.C:
6259         * insets/insetcollapsable.C:
6260         * insets/insetenv.C:
6261         * insets/insetert.C:
6262         * insets/insetfloat.C:
6263         * insets/insetfoot.C:
6264         * insets/insetfootlike.C:
6265         * insets/insetnewline.C:
6266         * insets/insetquotes.C:
6267         * insets/insettabular.C:
6268         * insets/insettext.C:
6269         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6270
6271         * frontends/controllers/ControlChanges.C: #include "changes.h".
6272
6273 2003-09-06  Angus Leeming  <leeming@lyx.org>
6274
6275         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6276         than #including paragraph.h.
6277
6278         * ParagraphList.h:
6279         * RowList.h: deleted. Superfluous.
6280
6281         * CutAndPaste.h:
6282         * iterators.h:
6283         * lyxcursor.h:
6284         * lyxtext.h:
6285         * text_funcs.h:
6286         * undo.h:
6287         * undo_funcs.h:
6288         * insets/inset.h:
6289         * insets/insettext.h: use ParagraphList_fwd.h rather than
6290         ParagraphList.h.
6291
6292         * paragraph.h: don't forward declare ParagraphList.
6293
6294         * buffer.h:
6295         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6296         rather than ParagraphList.h. paragraph.h is still needed for the
6297         Paragraph::depth_type parameters.
6298
6299         * textcursor.h: enable it to compile stand-alone in light of the
6300         above changes.
6301
6302         * bufferview_funcs.C:
6303         * iterators.C:
6304         * lyxfunc.C:
6305         * lyxrow_funcs.C:
6306         * paragraph.C:
6307         * rowpainter.C:
6308         * text.C:
6309         * text2.C:
6310         * text3.C:
6311         * text_funcs.C:
6312         * textcursor.C:
6313         * undo.C:
6314         * frontends/controllers/ControlParagraph.C:
6315         * frontends/controllers/ControlTabular.C:
6316         * insets/insetmarginal.C:
6317         * insets/insetminipage.C:
6318         * insets/insetnote.C:
6319         * insets/insetoptarg.C: add header files needed to compile again.
6320
6321 2003-09-06  Angus Leeming  <leeming@lyx.org>
6322
6323         * RowList_fwd.h: new file, forward-declaring Row rather than
6324         #including lyxrow.h.
6325
6326         * lyxrow_funcs.h:
6327         * lyxtext.h:
6328         * paragraph.h:
6329         * insets/insettext.h: use it instead of RowList.h
6330
6331         * bufferview_funcs.C:
6332         * lyxfunc.C:
6333         * lyxrow_funcs.C:
6334         * paragraph.C:
6335         * rowpainter.C:
6336         * text.C:
6337         * text2.C:
6338         * text3.C: #include "RowList.h".
6339
6340 2003-09-05  Angus Leeming  <leeming@lyx.org>
6341
6342         * factory.C (createInset):
6343         * vspace.C (c-tor): replace sscanf call with an istringstream.
6344         * ispell.C: re-add missing HP/UX headers.
6345         * lyxserver.C: re-add missing  os2 headers.
6346
6347 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6348
6349         * BranchList.C:
6350         * graph.C:
6351         * ispell.C:
6352         * lastfiles.C:
6353         * lyx_cb.C:
6354         * lyxserver.C:
6355         * texrow.C:
6356         * text3.C: re-add missing system headers, needed for 2.95.2.
6357
6358 2003-09-05  Angus Leeming  <leeming@lyx.org>
6359
6360         Changes most place everywhere due to the removal of using directives
6361         from support/std_sstream.h.
6362
6363 2003-09-05  Angus Leeming  <leeming@lyx.org>
6364
6365         Replace LString.h with support/std_string.h,
6366         Lsstream.h with support/std_sstream.h,
6367         support/LIstream.h with support/std_istream.h,
6368         support/LOstream.h with support/std_ostream.h.
6369
6370         Changes resulting throughout the tree.
6371
6372 2003-09-05  Angus Leeming  <leeming@lyx.org>
6373
6374         * sgml.h: ensure that the header file can be compiled stand-alone.
6375         * *.C: strip out redundant #includes. (320 in total.)
6376
6377 2003-09-04  Angus Leeming  <leeming@lyx.org>
6378
6379         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6380         here (from getPackages).
6381
6382         * debug.[Ch]: add a new EXTERNAL tag.
6383
6384 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6385
6386         * text2.C (cursorEnd): simplify
6387         (setCursor): adjust
6388         (getColumnNearX): adjust
6389
6390         * text.C (computeBidiTables): adjust
6391         (fill): adjust
6392
6393         * rowpainter.C (paintChars): adjust
6394         (paintSelection): adjust
6395         (paintChangeBar): adjust
6396         (paintText): adjust
6397
6398         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6399         lastPos instead.
6400         (numberOfSeparators): adjust
6401
6402 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6403
6404         * LyXAction.C:
6405         * box.[Ch]:
6406         * lfuns.h:
6407         * lyxfunc.C:
6408         * text3.C: Restricts the mouse click functionality
6409         of insets like bibtex, include, toc and floatlist to the visible
6410         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6411         up the dialogs. Cursor has to be in front of the inset (i.e.
6412         start of row) for this to function.
6413
6414 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6415
6416         * bufferview_funcs.C (currentState): output row information
6417
6418 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6419
6420         * bufferview_funcs.C (currentState): output paragraph position
6421
6422 2003-09-04  Angus Leeming  <leeming@lyx.org>
6423
6424         * FloatList.h: move out #include "Floating.h".
6425         * LaTeX.h: move out #include "DepTable.h".
6426         * LyXAction.h: move out #include "funcrequest.h".
6427         * buffer.h: move out #include "author.h", "iterators.h".
6428         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6429         * lyx_main.h: move out #include "errorlist.h".
6430         * lyxfunc.h: move out #include "FuncStatus.h".
6431         * lyxtext: move out #include "lyxcursor.h".
6432         * paragraph_pimpl.h: move out #include "counters.h".
6433
6434 2003-09-03  Angus Leeming  <leeming@lyx.org>
6435
6436         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6437         preamble_snippets list, enabling us to add snippets to the preamble
6438         only if the snippet was not there already.
6439
6440 2003-09-04  Angus Leeming  <leeming@lyx.org>
6441
6442         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6443
6444 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6447         update
6448
6449 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6450
6451         * BranchList.C: point fix, earlier forgotten
6452
6453 2003-09-02  Angus Leeming  <leeming@lyx.org>
6454
6455         * box.C (contains): renamed from 'contained' after a fantastic
6456         amount of hot air.
6457
6458 2003-09-02  John Levon  <levon@movementarian.org>
6459
6460         * BufferView.C:
6461         * lyxcursor.h:
6462         * lyxcursor.C:
6463         * lyxfunc.C:
6464         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6465
6466 2003-09-02  John Levon  <levon@movementarian.org>
6467
6468         * text2.C: simplification of cursorEnd(), including partial
6469         fix for bug 1376
6470
6471 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * buffer.C (readFile): add a space
6474
6475 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6476
6477         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6478
6479 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * buffer.C (readFile): new function, take a filename and a
6482         ParagraphList::iterator
6483         (readFile): adjust
6484         (readFile): adjust, make it private. don't use setStream, make
6485         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6486         always contain the filename.
6487
6488         * BufferView.C (insertLyXFile): simplify and make it work for
6489         gzipped files.
6490
6491 2003-08-30  John Levon  <levon@movementarian.org>
6492
6493         * Makefile.am: fix dist (from Kayvan)
6494
6495 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * most files: change to use const Buffer refs
6498
6499 2003-08-27  André Pönitz  <poenitz@gmx.net>
6500
6501         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6502         on top of ownerPar().
6503
6504 2003-08-27  John Levon  <levon@movementarian.org>
6505
6506         * funcrequest.C: properly initialise POD members
6507
6508 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6509
6510         * lyxtext.h (top_y): move top_y from here
6511         * text.C:
6512         * text2.C:
6513         * text3.C:
6514         * BufferView.[Ch]:
6515         * BufferView_pimpl.[Ch]: to here
6516         * frontends/screen.C:
6517         * insets/insettabular.C:
6518         * insets/insettext.C: adjust
6519         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6520
6521 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6522
6523         * BufferView.[Ch]:
6524         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6525
6526 2003-08-26  André Pönitz  <poenitz@gmx.net>
6527
6528         * paragraph_func.[Ch] (outerPar): new function
6529
6530         * paragraph.C:
6531         * paragraph_funcs.C:
6532         * paragraph_funcs.h:
6533         * paragraph_pimpl.C:
6534         * text2.C: remove Inset::par_owner
6535
6536 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6537
6538         * lyxrow_funcs.C:
6539         * lyxtext.h:
6540         * text.C:
6541         * text2.C: eliminates the needFullRow/display() stuff
6542         altogether, putting the logic in metrics/draw in the insets.
6543
6544 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * text2.C (redoParagraphInternal, redoParagraphs):
6547         * text.C (redoParagraph): add a call to updateRowPositions at the
6548         end of each 'metrics-like' call. Remove all others.
6549         (getRow): remove the 'y-computing' version.
6550         (getRowNearY): do not compute nor return the real y. Solve the
6551         'y < 0' problem and simplify.
6552
6553 2003-08-22  Angus Leeming  <leeming@lyx.org>
6554
6555         * *.[Ch]: clean-up of licence and author blurbs.
6556         Also move config.h out of a few .h files and into a few .C files.
6557
6558 2003-08-22  André Pönitz  <poenitz@gmx.net>
6559
6560         * lyxrow.[Ch]: add x_ and *fill_ members
6561
6562         * lyxtext.h:
6563         * text.C:
6564         * rowpainter.C:
6565         * text2.C: adjust/remove prepareToPrint() calls
6566
6567 2003-08-22  André Pönitz  <poenitz@gmx.net>
6568
6569         * lyxrow.[Ch]: add  end_ member
6570
6571         * lyxrow_funcs.C: use LyXRow::end_
6572
6573         * lyxtext.h (singleWidth): add LyXFont parameter
6574
6575         * rowpainter.C:
6576         * text2.C: adjust LyXText::singleWidth() calls
6577
6578         * text.C (redoParagraph): simplify row breaking logic
6579
6580
6581 2003-08-19  André Pönitz  <poenitz@gmx.net>
6582
6583         * funcrequest.C: initialize button_ member
6584
6585         * text3.C:
6586         * rowpainter.[Ch]: interface consolidation
6587
6588 2003-08-18  André Pönitz  <poenitz@gmx.net>
6589
6590         * BufferView.C:
6591         * BufferView_pimpl.C:
6592         * lyxfind.C:
6593         * paragraph_funcs.C:
6594         * rowpainter.C:
6595         * text3.C: remove LyXScreen::draw() and fitCursor calls
6596
6597         * BranchList.h: remove spurious semicolons
6598
6599         * MenuBackend.C: fix branchlist related crash
6600
6601 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6602
6603         * BranchList.[Ch]:
6604         * InsetList.[Ch]:
6605         * LColor.[Ch]:
6606         * LyXAction.C:
6607         * Makefile.am:
6608         * MenuBackend.[Ch]:
6609         * bufferparams.[Ch]:
6610         * factory.C:
6611         * lfuns.h:
6612         * lyxfunc.C:
6613         * text3.C: implements the 'branch inset'
6614         idea. This allows the output of various versions of a document
6615         from a single source version, selectively outputing or suppressing
6616         output of parts of the text.
6617         This implementation contains a 'branch list editor' in a separate
6618         tab of the document settings dialog. Branches are user definable
6619         and have a "display colour" to distinguish them on-screen.
6620
6621         ColorHandler was somewhat cleaned up.
6622         (1) make possible a dynamically growing LColor list by allowing
6623         the graphic context cache to grow along (vector);
6624         (2) eliminate an IMHO unnecessary step in colour allocation.
6625
6626 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6627
6628         * BufferView_pimpl.C: compile fix
6629
6630 2003-08-15  André Pönitz  <poenitz@gmx.net>
6631
6632         * rowpainter.C: remove extra metrics calls
6633
6634         * lyxtext.h: merge the two constructors into a single one,
6635           pass reference to owner's par list
6636
6637         * BufferView_pimpl.C:
6638         * text.C:
6639         * text2.C: adjust
6640
6641 2003-08-15  André Pönitz  <poenitz@gmx.net>
6642
6643         * lyxrow_funcs.[Ch]:
6644         * lyxtext.h:
6645         * paragraph.h:
6646         * paragraph_funcs.C:
6647         * rowpainter.C:
6648         * text.C:
6649         * text2.C:
6650         * text3.C:
6651         * text_funcs.C: split LyXText::rowlist_ into individual
6652         Paragraph::rows_ chunks
6653
6654         * BufferView.[Ch]:
6655         * BufferView_pimpl.[Ch]:
6656         * lyxfind.C:
6657         * lyxtext.h:
6658         * text3.C: remove toggleSelection()
6659
6660 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6661
6662         * bufferlist.C: beautify two alerts (shorter text of buttons)
6663         * buffer.C: Remove redundant ' ' from message
6664         * tabular.h:
6665         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6666         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6667         rename VALIGN_CENTER to VALIGN_MIDDLE
6668
6669 2003-08-11  André Pönitz  <poenitz@gmx.net>
6670
6671         * lyxtext.h (getPar):
6672         * text.C: new function
6673
6674 2003-08-11  André Pönitz  <poenitz@gmx.net>
6675
6676         * Makefile.am:
6677         * tracer.[Ch]: remove unneeded files
6678
6679         * InsetList.[Ch]: remove resizeInsetsLyXText()
6680
6681         * lyxtext.h:
6682         * text.C:
6683         * text2.C:
6684         * text3.C: merge insertParagraphs() and appendParagraph()
6685         remove breakAgain(), update()
6686
6687         * BufferView_pimpl.[Ch]:
6688         * bufferview_funcs.[Ch]:
6689         * lyxfunc.C:
6690         * paragraph.[Ch]:
6691         * rowpainter.C:
6692         * tabular.C: adjust after text & InsetList changes.
6693
6694 2003-08-08  André Pönitz  <poenitz@gmx.net>
6695
6696         * text.C (insertChar, backspace): replace rowlist fiddling
6697         with rebreak of full par
6698
6699         * lyxtext.h:
6700         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6701         checkParagraph, updateInset): removed
6702
6703 2003-08-07  André Pönitz  <poenitz@gmx.net>
6704
6705         * paragraph.C:
6706         * text3.C: merge some LFUN handlers, remove dead code
6707
6708 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6709
6710         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6711
6712 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6713
6714         * text2.C (DEPM): fix part of bug 1255 and 1256
6715
6716 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6717
6718         * BufferView_pimpl.C (workAreaDispatch): change to use
6719         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6720         that are no mouse related.
6721
6722 2003-08-05  André Pönitz  <poenitz@gmx.net>
6723
6724         * BufferView.[Ch]:
6725         * BufferView_pimpl.[Ch]:
6726         * bufferview_funcs.C:
6727         * text2.C:
6728         * text3.C: rip out "deep update"
6729
6730         * textcursor.[Ch] (last_sel_cursor): remove unused member
6731
6732 2003-08-04  André Pönitz  <poenitz@gmx.net>
6733
6734         * BufferView.[Ch]:
6735         * BufferView_pimpl.[Ch]:
6736         * ParagraphParameters.C:
6737         * bufferview_funcs.C:
6738         * lyx_cb.C:
6739         * lyxfind.C:
6740         * lyxfunc.C:
6741         * text.C:
6742         * text2.C:
6743         * text3.C: replace "complicated" BufferView::update(...) calls with
6744         simpler ones.
6745
6746         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6747
6748 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6749
6750         * Makefile.am (lyx_SOURCES): add paper.h
6751
6752 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6753
6754         * Makefile.am: move things around so that both lyx-qt and
6755         lyx-xforms can be built (according to --with-frontend). Then lyx
6756         is a symbolic link to lyx-[firstfrontend]
6757
6758 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6759
6760         * Always use std::endl with lyxerr
6761
6762 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6763
6764         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6765
6766 2003-08-01  André Pönitz  <poenitz@gmx.net>
6767
6768         * BufferView.[Ch]:
6769         * BufferView_pimpl.[Ch]:
6770         * lyxfunc.C:
6771         * text3.C: merge BufferView::repaint() and BufferView::update()
6772
6773 2003-08-01  José Matos  <jamatos@lyx.org>
6774
6775         * buffer.[Ch]: file_format is no longer a buffer data element.
6776
6777 2003-08-01  André Pönitz  <poenitz@gmx.net>
6778
6779         * BufferView.C:
6780         * lyxtext.h:
6781         * text.C:
6782         * text2.C: make redoParagraph more independent of current cursor
6783
6784         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6785         * text.C:
6786         * text2.C: remove unneeded members
6787
6788 2003-07-30  André Pönitz  <poenitz@gmx.net>
6789
6790         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6791
6792         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6793           create a single function...
6794
6795         * paragraph_funcs.C (moveItem): ... here.
6796
6797         * text.C:
6798           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6799
6800 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6801
6802         * LColor.[Ch]: Add comment and greyedout logical colors.
6803
6804 2003-07-30  André Pönitz  <poenitz@gmx.net>
6805
6806         * tabular.C: don't use Assert too heavily. This crashes where it
6807           shouldn't
6808
6809 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6812         is disabled (bug 1232)
6813
6814 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6815
6816         * factory.C: limited 'arg' scope
6817
6818 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6819
6820         * factory.C: fixed Note submenu issues
6821
6822 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6823
6824         * factory.C: submenu for Note/Comment/Greyedout
6825
6826 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * lyx_main.C (LyX):
6829         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6830
6831 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6832
6833         * LaTeXFeatures.C:
6834         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6835         greyedout. Patch provided by Jürgen Spitzmüller.
6836
6837 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6838
6839         * kbmap.C (read): fix error message when reading bind files
6840
6841 2003-07-29  Angus Leeming  <leeming@lyx.org>
6842
6843         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6844         certainly does not do what it purports to do. I am doing it, and
6845         us, a favour by killing it.
6846
6847 2003-07-28  José Matos  <jamatos@lyx.org>
6848
6849         * buffer.C (readBody, do_writeFile):
6850         * paragraph.C(readParagraph): \end_document replaces \the_end.
6851
6852 2003-07-29  André Pönitz  <poenitz@gmx.net>
6853
6854         * BufferView.[Ch]:
6855         * BufferView_pimpl.[Ch]:
6856         * lyxfunc.C:
6857         * text2.C:
6858         * text3.C:
6859         * textcursor.[Ch]: remove toggleToggle & Co
6860
6861 2003-07-28  José Matos  <jamatos@fep.up.pt>
6862
6863         * buffer.C (readParagraph):
6864         * params_func (readParToken, readParagraph):
6865         * paragraph.C (write): \layout -> \begin_layout.
6866
6867 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * lyxlex_pimpl.C (setFile): clean up slightly.
6870
6871         * bufferparams.h: add compressed var
6872
6873         * buffer_funcs.C (readFile): adjust for LyXLex change
6874         (newFile): ditto + simplify
6875
6876         * buffer.C (writeFile): handle writing of compressed files
6877
6878         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6879         Check if the file is compressed and set a bufferparm if so.
6880
6881         * Makefile.am (lyx_LDADD): remove explicit -lz
6882
6883 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6884
6885         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6886         makeDocBookFile): put the real LyX version in the first line of
6887         the file
6888
6889         * version.h:
6890         * version.C.in: remove lyx_docversion
6891
6892         * tabular.C (write_attribute): add a template-based version to
6893         write enums properly
6894
6895 2003-07-28  André Pönitz  <poenitz@gmx.net>
6896
6897         * lyxtext.h:
6898         * text.C:
6899         * text2.C:
6900         * text3.C: use doubles again for x-coordinates. They are needed.
6901
6902 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * messages.C (getLocaleDir): use lyx_localedir()
6905
6906         * lyxlex_pimpl.C (setFile): compress stuff
6907
6908         * buffer.C (writeFile): add some compression stuff
6909         (do_writeFile): new func, dont call expliti close... will this
6910         breake anything?
6911
6912         * Makefile.am (lyx_LDADD): add -lz
6913
6914 2003-07-28  José Matos  <jamatos@fep.up.pt>
6915
6916         * buffer.C: increment file format.
6917         * paragraph_funcs (readParagraph, readParToken):
6918         * paragraph.C (readParagraph): add \end_layout.
6919
6920 2003-07-27  Angus Leeming  <leeming@lyx.org>
6921
6922         * Makefile.am: remove special casing for configure-time setting of
6923         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6924
6925         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6926         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6927
6928 2003-07-26  André Pönitz  <poenitz@gmx.net>
6929
6930         * paragraph_func.[Ch]:
6931         * paragraph.C (realizeFont): inline it whereever it is used
6932
6933         * rowpainter.C:
6934         * text.C:
6935         * text2.C:
6936         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6937
6938
6939 2003-07-26  André Pönitz  <poenitz@gmx.net>
6940
6941         *       lyxtext.h:
6942         * text.C:
6943         * text2.C: get rid of LyXText::need_break_row
6944
6945 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * toc.[Ch]: put namespace toc inside namespace lyx
6948
6949         * MenuBackend.C (expandToc2): adjust for lyx::toc
6950         (expandToc): ditto
6951
6952         * lyxfunc.C (dispatch): adjust for lyx::find
6953
6954         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6955         lyx::find instead. Reorganize a bit.
6956         (LyXReplace): rename to replace
6957         (LyXFind): rename to find
6958
6959         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6960         (dispatch): ditto
6961
6962 2003-07-26  André Pönitz  <poenitz@gmx.net>
6963
6964         * text.C (setHeightOfRow): restrict scope of temporary variable
6965
6966         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6967           code (never has been used?)
6968
6969 2003-07-27  Asger Alstrup  <alstrup@local>
6970
6971         * text.C (fill): Optimise algorithm to exploit that we can reuse
6972         the LyXFont for many characters.
6973         (setHeightOfRow): Same thing.
6974         (rowBreakPoint): Same thing.
6975
6976 2003-07-26  Asger Alstrup  <alstrup@local>
6977
6978         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6979
6980         * text.C (singleWidth): Spurious font copying in hot-spot
6981         singleWidth avoided. Reorder tests for arabic for efficiency.
6982
6983         * text.C (fill): handle empty paragraphs better.
6984
6985 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6986
6987         * ispell.C:
6988         * encoding.h: add includes
6989
6990         * lyxrc.C: remove reading of bind files
6991
6992         * lyx_main.C (init): setup bindings and menus only if we have a
6993         gui.
6994
6995         * kbmap.C (read): new method. Do the actual reading of bind
6996         files.
6997
6998         * converter.C (dvipdfm_options):
6999         * bufferparams.C:
7000         * lyxrc.C (read):
7001         (output): adapt PAPER_* enums.
7002
7003         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7004
7005         * bufferparams.h: remove paper-related enums from there
7006
7007         * paper.h: New file. A trivial header file to hold paper-related
7008         enums. It should later expand to contain many paper-related
7009         horrors access.
7010
7011         * lyxrc.C: declare extern displayTranslator
7012
7013 2003-07-27  José Matos  <jamatos@fep.up.pt>
7014
7015         * tabular.[Ch] (linuxdoc): add support for tables and figures
7016         (linuxdoc).
7017
7018 2003-07-27  José Matos  <jamatos@fep.up.pt>
7019
7020         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7021         consistency in both functions.
7022         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7023
7024 2003-07-26  Asger Alstrup  <alstrup@local>
7025
7026         * rowpainter.C (paintRows): Change algorithm to work directly on
7027         the insets rather than asking every character in the document
7028         whether its an inset.
7029
7030 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * buffer.C (openFileWrite): factorize some code
7033
7034 2003-07-26  Angus Leeming  <leeming@lyx.org>
7035
7036         * lyx_cb.C:
7037         * lyx_main.[Ch]: replace occurances of system_tempdir with
7038         os::getTmpDir().
7039
7040 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * rename Inset to InsetOld
7043
7044 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7045
7046         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7047         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7048         which I think is a bit clearer. EDIT is gone, since it was
7049         premature optimisation, and broken for mathed anyway.
7050         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7051         with cursor positioning in insets as well (math insets still do not
7052         work, but that's a different story anyway.) It mysteriously
7053         crashes sometimes with undo in the first paragraph, but I'm fairly
7054         confident that this is a compiler bug.
7055
7056 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * paragraph.C (Paragraph): adjust for new clone return type
7059         (operator==): ditto
7060         (copyIntoMinibuffer): ditto
7061
7062 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7063
7064         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7065         by not having a special case, and always doing a full rebreak of
7066         the document after undo.
7067
7068 2003-07-23  Angus Leeming  <leeming@lyx.org>
7069
7070         * factory.C (createInset): InsetExternal::setParams now takes a
7071         Buffer const * arg.
7072
7073 2003-07-23  Angus Leeming  <leeming@lyx.org>
7074
7075         * factory.C (createInset): changed interface to the external and
7076         graphics mailers' string2params functions.
7077
7078 2003-07-23  Angus Leeming  <leeming@lyx.org>
7079
7080         * factory.C (createInset): pass a
7081         Buffer const * parameter to InsetExternalMailer's string2params.
7082
7083 2003-07-22  John Levon  <levon@movementarian.org>
7084
7085         * Thesaurus.h: include the right aiksaurus header
7086
7087 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7088
7089         * MenuBackend.C (expand): check menu shortcuts unconditionally
7090
7091 2003-07-21  Angus Leeming  <leeming@lyx.org>
7092
7093         * factory.C (createInset): pass a
7094         buffer_path parameter to InsetGraphicsMailer's string2params.
7095
7096 2003-07-21  Angus Leeming  <leeming@lyx.org>
7097
7098         * BufferView_pimpl.C (buffer):
7099         * buffer.C (d-tor):
7100         * lyx_main.C (LyX):
7101         * lyxfunc.C (dispatch):
7102         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7103         rather than the grfx shortcut.
7104
7105 2003-07-21  André Pönitz  <poenitz@gmx.net>
7106
7107         * rowpainter.C: remove unused variables
7108
7109         * tabular_funcs.C:
7110         * tabular_funcs.h: move to tabular.C
7111         * Makefile.am: adjust
7112
7113         * tabular.[Ch]: basic optical cleaning
7114
7115         * author.h: pass references, not values
7116
7117 2003-07-18  André Pönitz  <poenitz@gmx.net>
7118
7119         * lyxtext.h:
7120         * metricsinfo.C:
7121         * metricsinfo.h:
7122         * rowpainter.C:
7123         * text.C:
7124         * text2.C:
7125         * text3.C: two-phase drawing for InsetText and InsetTabular
7126         some float -> int changes.
7127
7128 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7129
7130         * lyx_main.C: fix the fix
7131
7132 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7133
7134         * lyx_main.C: fix a crash in batch mode if no files specified
7135         * converter.C: ws
7136
7137 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7138
7139         * format.[Ch] (papersize): moved to BufferParams
7140         * converter.[Ch] (dvips_options): moved to BufferParams
7141         (dvipdfm_options): moved to anon namespace
7142         * bufferparams.[Ch]: added above functions.
7143
7144 2003-07-17  André Pönitz  <poenitz@gmx.net>
7145
7146         * lyxtext.h:
7147         * rowpainter.C:
7148         * text2.C: don't call inset->update() anymore
7149
7150         * metricsinfo.[Ch]: add convenience constructor
7151
7152 2003-07-16  André Pönitz  <poenitz@gmx.net>
7153
7154         * lyxcursor.[Ch]:
7155         * lyxfunc.[Ch]:
7156         * text.C:
7157         * text2.C: replace the LyXCursor::irow_ member with
7158          on-demand computation of the value
7159
7160 2003-07-16  John Levon  <levon@movementarian.org>
7161
7162         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7163
7164 2003-07-15  André Pönitz  <poenitz@gmx.net>
7165
7166         * text.C:
7167         * text2.C: remove no more needed refresh_row
7168
7169 2003-07-15  André Pönitz  <poenitz@gmx.net>
7170
7171         * lyxtext.h:
7172         * rowpainter.C:
7173         * text2.C:
7174         * text3.C: refresh_status tristate -> need_update bool
7175
7176 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7177
7178         * lyxtext.h (init): remove reinit argument (act as if always true)
7179         * text2.C: adjust to that
7180
7181 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7182
7183         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7184         * text3.C: use it to delete selections in some cases
7185         (bugs 441, 673, 702, 954).
7186
7187 2003-07-14  André Pönitz  <poenitz@gmx.net>
7188
7189         * rowpainter.[Ch]: reduce interface
7190
7191 2003-07-14  André Pönitz  <poenitz@gmx.net>
7192
7193         * BufferView_pimpl.C:
7194         * text2.C: adjust after removing unused BufferView * argument
7195
7196 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7197
7198         * text2.C (init): fix a crash fired on resize
7199
7200 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7201
7202         * buffer.[Ch]: added new closing signal
7203         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7204         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7205         BufferView::Pimpl via the closing the signal
7206
7207 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * buffer.[Ch]: take out all bv-related from buffer
7210         * BufferView.C:
7211         * BufferView_pimpl.[Ch]: connect to new signals
7212         * CutAndPaste.C: removed useless asserts
7213         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7214         * lyxvc.[Ch]:
7215         * vc-backend.[Ch]:
7216         * lyxfunc.C: moved view-related funciontality from vc here
7217         * paragraph.C: removed outdated comments
7218         * text.C: ws
7219
7220 2003-07-10  André Pönitz  <poenitz@gmx.net>
7221
7222         * BufferView_pimpl.C:
7223         * tabular.h:
7224         * tabular_funcs.C:
7225         * text.C:
7226         * text2.C: remove InsetText::InnerCache, clean up consequences
7227
7228 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7229
7230         * ispell.C: fix two typos in error messages
7231
7232 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7233
7234         * Extend Note inset to other forms of annotation like Comment
7235         and Greyedout. Right button click gives dialog.
7236
7237         Files modified or added (+):
7238
7239         * insetnote.[Ch]
7240         * FormNote.[Ch]      +
7241         * ControlNote.[Ch]   +
7242         * form_note.fd       +
7243         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7244         frontends/controllers
7245         * xforms/Dialogs.C
7246         * factory.C
7247
7248 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7249
7250         * aspell.C: add missing namespace lyx::support
7251
7252 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * BufferView.[Ch] (newFile): Add
7255         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7256         * LaTeX.[Ch] (message): added this signal and use it
7257         * buffer.[Ch] (busy, message): added these signals and use them
7258         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7259         * converter.C:
7260         * exporter.C:
7261         * format.C:
7262         * importer.C: use buffer signals instead of direct bv calling
7263         * lyx_cb.[Ch] (ShowMessage): removed
7264         * lyx_main.C:
7265         * lyxfunc.C:
7266         * paragraph_funcs.C:
7267         * text2.C: use buffer signals
7268
7269 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * introduce namespace lyx::graphics
7272
7273 2003-07-02  André Pönitz  <poenitz@gmx.net>
7274
7275         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7276
7277 2003-07-01  André Pönitz  <poenitz@gmx.net>
7278
7279         * text.C:
7280         * text2.C:
7281         * text3.C:
7282         * text_funcs.[Ch]:
7283         * textcursor.h:
7284         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7285           text*.C to text_func.C
7286
7287 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * introduce namespace lyx::support
7290
7291 2003-06-30  André Pönitz  <poenitz@gmx.net>
7292
7293         * Chktex.C:
7294         * funcrequest.C:
7295         * lyxtext.h:
7296         * text.C: re-enable --with-included-string
7297
7298 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * textcursor.C: add <config.h>
7301
7302         * text.C (getWord): remove const from word_location arg
7303
7304         * lyxvc.C (getLogFile): fix const type order
7305
7306         * lyxtext.h: remove const from word_location arg, add arg name
7307
7308         * lyxlayout.h: currect type on labeltype.
7309
7310         * importer.C: correct \file
7311
7312         * converter.C (intToFormat): use std:: on ret val, ws changes
7313
7314         * bufferlist.h: correct \file
7315
7316         * buffer.C (makeLinuxDocFile): fix const type order
7317         (makeDocBookFile): ditto
7318         (fillWithBibKeys): use std:: on stdlib args.
7319
7320         * CutAndPaste.C: fix authors.
7321         (availableSelections): use std:: on return vector
7322
7323 2003-06-27  André Pönitz  <poenitz@gmx.net>
7324
7325         * BufferView_pimpl.C:
7326         * bufferview_funcs.C:
7327         * lyxcursor.C:
7328         * lyxcursor.h:
7329         * lyxfunc.C:
7330         * lyxtext.h:
7331         * rowpainter.C:
7332         * text.C:
7333         * text2.C:
7334         * text3.C: remove LyXCursor::row_ member
7335
7336         * lyxtext.h:
7337         * text.C: rename fullRebreak() to partialRebreak() and implement
7338           a fullRebreak() that really bereks fully
7339
7340         * textcursor.h: new struct for cursor-related data
7341
7342 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7343
7344         * lyx_main.C (LyX): get full path of document loaded on the
7345         command line
7346
7347 2003-06-26  André Pönitz  <poenitz@gmx.net>
7348
7349         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7350           remove unused/broken operator>,<,>=.
7351
7352         *       text.C: remove only use of broken operator<= in an Assert().
7353
7354 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7355
7356         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7357         moved errorlist_.clear to showErrorList
7358
7359 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7360
7361         * converter.C (scanLog, runLaTeX):
7362         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7363         move the bv->showErrorList call to the callers
7364         * lyxfunc.C: i.e. here...
7365         * text2.C: and here
7366         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7367         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7368         namespace, the second to...
7369         * buffer_funcs (BufferFormat, parseErrors): added
7370         * errorlist.C (ErrorList(TeXErrors const &)): removed
7371
7372 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7373
7374         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7375
7376 2003-06-24  "Garst R. Reese" <reese@isn.net>
7377
7378         * debug.C: fix typo
7379
7380 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7381
7382         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7383
7384         * version.C.in: change docversion to 1.4
7385
7386 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7387
7388         * buffer.C: fix a bug just introduced
7389
7390 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7391
7392         * buffer.[Ch]: added the parseError signal and use it, removed
7393         sgmlError
7394         * BufferView.[Ch] (addError): moved to ...
7395         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7396         to the Buffer::parseError signal to catch (guess what) parse errors
7397         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7398
7399 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7402         ability to create a buffer and to return an existing one from
7403         the list. Moved these functions to...
7404         * buffer_funcs.[Ch]: added
7405         * BufferView.[Ch] (loadLyXFile): added
7406         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7407         job removed from bufferlist::loadLyXFile.
7408         * buffer.C (setReadOnly): make it work without view
7409         (i.e added an if (users))
7410
7411 2003-06-19  Angus Leeming  <leeming@lyx.org>
7412
7413         * lfuns.h:
7414         * LyXAction.C (init):
7415         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7416         with LFUN_DIALOG_SHOW <name> <data>.
7417
7418 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7419
7420         * CutAndPaste.C (availableSelections): small compilation fix for
7421         ancient (gcc 2.9x) compilers
7422
7423 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * text3.C (cursorNext): add tmp var
7426
7427         * text2.C (updateCounters): for function calling out of for clause
7428         (replaceSelectionWithString): ditto
7429         (insertStringAsParagraphs): ditto
7430         (getColumnNearX): add tmp var
7431         (setCursorFromCoordinates): add tmp var
7432         (cursorDownParagraph): add tmp var
7433         (deleteEmptyParagraphMechanism): add tmp var
7434
7435         * text.C (insertChar): add tmp var
7436
7437         * rowpainter.C (paintDepthBar): add tmp var
7438
7439         * CutAndPaste.C (availableSelections): potentially check all
7440         paragraphs in a cut to fill the shown strings.
7441
7442 2003-06-18  André Pönitz  <poenitz@gmx.net>
7443
7444         * kbmap.[Ch]: use vector<> instead of list<>
7445
7446 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7447
7448         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7449         pasteSelection with index
7450
7451         * text2.C (pasteSelection): modify, call pasteSelection with index
7452
7453         * paragraph.C (asString): reimplement version with no interval to
7454         call the one with interval.
7455
7456         * lyxtext.h: add index arg to pasteSelection
7457
7458         * MenuBackend.C (MenuItem): handle PasteRecent
7459         (Menu::read::Menutags): add md_pasterecent
7460         (read): handle it
7461         (expandPasteRecent): new function
7462         (expand): use it
7463
7464         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7465
7466         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7467         the limited stack
7468         (availableSelections): new function
7469
7470 2003-06-17  Angus Leeming  <leeming@lyx.org>
7471
7472         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7473
7474 2003-06-17  Angus Leeming  <leeming@lyx.org>
7475
7476         * lfuns.h:
7477         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7478
7479         * lyxfunc.C (dispatch): invoke it.
7480
7481 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7482
7483         * iterators.C (operator++, ParPosition): reintroduce some
7484         const_cast for the benefit of older compilers.
7485
7486 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7487
7488         * text3.C (dispatch): do not modify clipboard when doing
7489         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7490         LFUN_DELETE_SKIP on a selection selection
7491
7492 2003-06-16  André Pönitz  <poenitz@gmx.net>
7493
7494         * BufferView.C:
7495         * buffer.C:
7496         * buffer.h:
7497         * paragraph.C:
7498         * tabular.[Ch]: IU of clone() and getLabelList();
7499
7500 2003-06-13  André Pönitz  <poenitz@gmx.net>
7501
7502         * tabular.h: compactification
7503
7504 2003-06-12  André Pönitz  <poenitz@gmx.net>
7505
7506         * tabular.C:
7507         * tabular.h:
7508         * tabular_funcs.h: some renaming plus whitespace
7509
7510 2003-06-12  André Pönitz  <poenitz@gmx.net>
7511
7512         * BufferView.C:
7513         * BufferView_pimpl.C:
7514         * CutAndPaste.C:
7515         * buffer.C:
7516         * iterators.[Ch]:
7517         * lyxfunc.C:
7518         * text.C:
7519         * toc.C: Return a Paragraph & for ParIterator::operator*()
7520
7521 2003-06-11  John Levon  <levon@movementarian.org>
7522
7523         * lyx_main.C:
7524         * ToolbarBackend.h:
7525         * ToolbarBackend.C: add "Toolbars" section and
7526         put the flags there
7527
7528 2003-06-10  Angus Leeming  <leeming@lyx.org>
7529
7530         * lfuns.h:
7531         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7532
7533         * lyxfunc.C (dispatch): invoke it.
7534
7535 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * main.C: protect <ios> with HAVE_IOS
7538         (main): protect sync_with_stdio with HAVE_IOS
7539
7540 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7541
7542         * text2.C (cutSelection): adjust
7543         (pasteSelection): adjust
7544
7545         * messages.C: handle get of empty string
7546
7547         * main.C (main): use sync_with_stdio(false)
7548
7549         * lyxfunc.C (dispatch): adjust
7550
7551         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7552         (WriteAs): remove unneeded BufferView arg.
7553
7554         * bufferparams.h: use correct types on papersize, papersize2 and
7555         paperpackage.
7556
7557         * bufferparams.C (readToken): adjust for type
7558         (writeLaTeX): add missing cases to switch.
7559
7560         * bufferlist.C (quitWriteBuffer): adjust
7561         (close): adjust
7562
7563         * buffer.C (asciiParagraph): remove some commented code.
7564
7565         * CutAndPaste.C: remove current_view extern variable.
7566         (cutSelection): add BufferParams arg.
7567         (eraseSelection): add BufferParams arg.
7568         (pasteSelection): add Buffer const & arg
7569
7570 2003-06-07  John Levon  <levon@movementarian.org>
7571
7572         * buffer.C:
7573         * paragraph_funcs.C:
7574         * paragraph_pimpl.C:
7575         * text.C:
7576         * text2.C:
7577         * paragraph.h:
7578         * paragraph.C: allow InsetERT to freely space lines,
7579         and some consolidation of code
7580
7581 2003-06-06  José Matos  <jamatos@fep.up.pt>
7582
7583         * buffer.C (makeDocBookFile): fix bug #821
7584
7585 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7586
7587         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7588
7589 2003-06-04  Angus Leeming  <leeming@lyx.org>
7590
7591         * buffer.C: bump format to 224.
7592
7593 2003-06-05  André Pönitz  <poenitz@gmx.net>
7594
7595         * text2.C (redoParagraphs): remove two const_cast<>
7596
7597 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7598
7599         * ParagraphList.h: remove last remnants of NO_STD_LIST
7600
7601 2003-06-03  Angus Leeming  <leeming@lyx.org>
7602
7603         * factory.C (createInset): small change to the way InsetExternal's params
7604         are set.
7605
7606 2003-06-04  André Pönitz  <poenitz@gmx.net>
7607
7608         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7609
7610         * paragraph_pimpl.h:
7611         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7612
7613         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7614
7615         * undo_funcs.C: make some simple cases of undo work again
7616
7617 2003-06-03  John Levon  <levon@movementarian.org>
7618
7619         * ispell.C: HPUX doesn't have sys/select.h
7620         (from Albert Chin)
7621
7622 2003-06-03  John Levon  <levon@movementarian.org>
7623
7624         * CutAndPaste.C: update tabular and include inset
7625         buffer references
7626
7627         * buffer.h:
7628         * paragraph.h:
7629         * paragraph.C: remove owningBuffer(), don't pass Buffer
7630         to clone()
7631
7632         * factory.C: insetGraphicsParams changed
7633
7634 2003-06-02  John Levon  <levon@movementarian.org>
7635
7636         * LyXAction.C:
7637         * factory.C:
7638         * lfuns.h:
7639         * lyxfunc.C:
7640         * text3.C: remove insetparent
7641
7642 2003-06-02  John Levon  <levon@movementarian.org>
7643
7644         * buffer.h:
7645         * buffer.C: fix inset_iterator.end(), move out of line
7646         (bug 1149)
7647
7648 2003-06-01  John Levon  <levon@movementarian.org>
7649
7650         * text3.C: use a proper cut/paste when doing inset
7651         insert (from Jürgen Spitzmüller)
7652
7653 2003-06-01  John Levon  <levon@movementarian.org>
7654
7655         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7656
7657 2003-05-30  André Pönitz  <poenitz@gmx.net>
7658
7659         * rowpainter.C: unify second drawing phase
7660
7661 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * trans_mgr.C: remove one case of current_view
7664
7665         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7666
7667         * paragraph_funcs.h: remove paragraph.h include
7668
7669         * paragraph.h: delete NO_STD_LIST stuff
7670
7671         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7672
7673         * buffer.h: remove paragraph.h include
7674
7675         * ParagraphList.C: delete file
7676
7677         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7678
7679         * toc.C (getTocList): adjust
7680
7681         * paragraph_pimpl.C (validate): adjust
7682
7683         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7684
7685         * paragraph.C (Paragraph): adjust
7686         (getPositionOfInset): use const_iterator, adjust
7687         (bibitem): use const_iterator, adjust
7688         (setInsetOwner): adjust
7689
7690         * iterators.C (operator++): adjust
7691
7692         * InsetList.[Ch]: Replace selfmade iterator with standard
7693         vector::iterator also introduce const_iterator. Remove getPos,
7694         getInset and setInset from InsetTable. Adjust accordingly.
7695
7696         * BufferView.C (lockInset): adjust
7697         (ChangeInsets): adjust
7698
7699         * tabular.[Ch]: delete commented same_id functions
7700
7701 2003-05-28  John Levon  <levon@movementarian.org>
7702
7703         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7704
7705 2003-05-28  André Pönitz  <poenitz@gmx.net>
7706
7707         * metricsinfo.[Ch]: remove 'fullredraw' member
7708
7709 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7710
7711         * lyxtextclass.C (operator): remove caching.
7712
7713 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * text3.C: adjust
7716
7717         * text2.C (cursorBottom): adjust
7718         (setCounter): use ParagraphList::find, adjust
7719
7720         * text.C (workWidth): use ParagraphList::find, adjust
7721
7722         * lyxcursor.C (LyXCursor): adjust
7723
7724         * buffer.C (inset_iterator): adjust
7725
7726         * ParagraphList.h: make iterator(value_type) private, make
7727         ParagraphList a friend of iterator.
7728
7729         * ParagraphList.C (find): new function
7730
7731         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7732
7733 2003-05-27  André Pönitz  <poenitz@gmx.net>
7734
7735         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7736
7737 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7738
7739         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7740
7741 2003-05-26  John Levon  <levon@movementarian.org>
7742
7743         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7744
7745 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * remove same_id from function signatures, adjust.
7748
7749 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7752
7753         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7754
7755         * paragraph.C (Paragraph): get rid of same_ids parameter
7756
7757         * ParagraphList.C (insert): adjust
7758         (push_back): adjust
7759
7760 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * paragraph_funcs.C (breakParagraph): adjust
7763         (breakParagraphConservative): adjust
7764
7765         * buffer.C (readParagraph): adjust
7766
7767         * ParagraphList.C (insert): take a reference instead of a pointer
7768         (insert): adjust
7769
7770         * paragraph.[Ch] (id): new function
7771
7772         * bufferlist.C (newFile): adjust
7773
7774         * ParagraphList.C (ParagraphList): adjust
7775         (assign): adjust
7776         (push_back): take a reference instead of a pointer.
7777
7778         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7779
7780         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7781         instead.
7782
7783         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7784         set else use old code.
7785
7786         * ParagraphList.C: remove all NO_NEXT code and only compile this
7787         code of NO_STD_LIST is set.
7788
7789 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7790
7791         * BufferView_pimpl.C:
7792         * TextCache.C:
7793         * TextCache.h:
7794         * bufferlist.C:
7795         * errorlist.h:
7796         * format.C:
7797         * format.h:
7798         * graph.C:
7799         * lyxfunc.C:
7800         * lyxrc.C:
7801         * graphics/GraphicsConverter.C:
7802         * graphics/PreviewLoader.C: header adjustment
7803
7804 2003-05-23  Angus Leeming  <leeming@lyx.org>
7805
7806         * LaTeXFeatures.[Ch] (useBabel): new method.
7807         * bufferparams.C (writeLaTeX): use it.
7808
7809 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * ParagraphList.h (set): remove unused function.
7812
7813 2003-05-23  André Pönitz  <poenitz@gmx.net>
7814
7815         * BufferView.C:
7816         * BufferView_pimpl.C:
7817         * buffer.C:
7818         * buffer.h:
7819         * lyxfunc.C:
7820         * undo_funcs.C: setUndo reworked
7821
7822         * iterators.[Ch]: add access to topmost ParagraphList
7823
7824         * lyxtext.[Ch] (workWidth): add a const
7825
7826 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7827
7828         * texrow.[Ch] (increasePos): remove function
7829         * exporter.C (export): removed unused var and outdated comment
7830
7831 2003-05-23  Angus Leeming  <leeming@lyx.org>
7832
7833         * latexrunparams.h: rename fragile as moving_arg.
7834         * paragraph.C (simpleTeXOnePar): ditto.
7835         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7836
7837 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7840         (createUndo): ditto
7841         (textUndoOrRedo): comment out a currently unused var.
7842
7843         * paragraph.h (NO_NEXT): enable NO_NEXT
7844
7845         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7846
7847         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7848
7849         * exporter.C (Export): adjust for removeAutoInsets removal.
7850
7851         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7852
7853         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7854
7855         * BufferView.[Ch] (removeAutoInsets): delete function
7856
7857 2003-05-22  Angus Leeming  <leeming@lyx.org>
7858
7859         * latexrunparams.h: add a free_spacing variable.
7860
7861         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7862         to pass moving_arg, as the data is stored in runparams.fragile.
7863
7864         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7865         to Inset::latexOptional or to simpleTeXOnePar.
7866
7867         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7868         free_spacing arg to Inset::latexOptional.
7869
7870         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7871         free_spacing arg.
7872
7873 2003-05-22  Angus Leeming  <leeming@lyx.org>
7874
7875         * latexrunparams.h: add fragile and use_babel variables.
7876
7877         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7878         * buffer.C (makeLaTeXFile): store this returned value in
7879         runparams.use_babel, thus passing it to the inset::latex methods.
7880
7881         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7882         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7883
7884         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7885         longer has a fragile arg, as it is stored in runparams.fragile.
7886
7887         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7888         moving_arg parameter as the data is stored in runparams.fragile.
7889
7890         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7891         a fragile parameter as the data is stored in runparams.fragile.
7892
7893 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7894
7895         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7896
7897 2003-05-22  Angus Leeming  <leeming@lyx.org>
7898
7899         * latexrunparams.h: add a 'bool nice' which defaults to false.
7900
7901         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7902         now encapsulated within runparams.
7903
7904         * bufferlist.C (updateIncludedTeXfiles):
7905         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7906
7907 2003-05-22  Angus Leeming  <leeming@lyx.org>
7908
7909         * latexrunparams.h: new file containing struct LatexRunParams.
7910         * Makefile.am: add new file.
7911
7912         * LaTeX.[Ch] (c-tor, run):
7913         * buffer.[Ch] (makeLaTeXFile):
7914         * bufferlist.[Ch] (updateIncludedTeXfiles):
7915         * converter.C (convert, scanLog):
7916         * converter.[Ch] (runLaTeX):
7917         * exporter.C (Export):
7918         * paragraph.[Ch] (simpleTeXOnePar):
7919         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7920         * paragraph_funcs.[Ch] (latexParagraphs):
7921         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7922         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7923         pass around a LatexRunParams parameter.
7924
7925 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * paragraph.[Ch]: remove unused constructor
7928
7929         * ParagraphList.C (erase): new function, taking two iterators
7930
7931 2003-05-22  André Pönitz  <poenitz@gmx.net>
7932
7933         * undo_funcs.C: remove duplicated code
7934
7935         * iterator.[Ch]: operator=
7936
7937 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * tabular.C (SetMultiColumn): ws changes
7940
7941         * rowpainter.C (paintFirst): get rid of a ->previous
7942
7943         * lyx_cb.C (getPossibleLabel): parlist simplification
7944
7945         * BufferView.C (ChangeInsets): simplify slightly.
7946
7947 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7948
7949         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7950         * lfuns.h: new LFUN_SPACE
7951         * lyxfunc.C: protected space has a new lfun
7952         * paragraph_funcs.C: read new space insets
7953         * text3.C:
7954         * factory.C: handle new space insets
7955
7956 2003-05-22  André Pönitz  <poenitz@gmx.net>
7957
7958         * BufferView.C:
7959         * BufferView_pimpl.C:
7960         * buffer.[Ch]:
7961         * lyxfunc.C:
7962         * undo_funcs.C: return a ParIterator from getParFromID.
7963
7964         * iterators.[Ch]: add two const's
7965
7966 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * toc.C (getTocList): adjust
7969
7970         * iterators.[Ch]: rework for parlist
7971
7972         * buffer.C (par_iterator_begin): adjust
7973         (par_iterator_end): adjust
7974
7975         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7976
7977         * BufferView.C (removeAutoInsets): adjust
7978         (ChangeInsets): adjust
7979
7980 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7981
7982         * text.C (top_y): fix bug 1110
7983
7984 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7985
7986         * errorlist.[Ch]: added
7987         * buffer.C:
7988         * BufferView.[Ch]:
7989         * BufferView_pimpl.C:
7990         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7991         instead
7992
7993 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * Makefile.am: ensure that lyx is relinked upon changes to the
7996         various "convenience" libs.
7997
7998 2003-05-20  Angus Leeming  <leeming@lyx.org>
7999
8000         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8001         files are compiled in alphabetical order again.
8002
8003         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8004
8005 2003-05-19  Angus Leeming  <leeming@lyx.org>
8006
8007         * gettext.[Ch]: remove "char const * _(char const *)".
8008
8009 2003-05-19  André Pönitz  <poenitz@gmx.net>
8010
8011         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8012
8013         * Makefile.am:
8014         * BufferView.C:
8015         * DepTable.h:
8016         * LaTeXFeatures.C:
8017         * buffer.C:
8018         * lyxfont.C:
8019         * lyxlex.h:
8020         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8021
8022 2003-05-19  André Pönitz  <poenitz@gmx.net>
8023
8024         * buffer.C:
8025         * lyxlayout.[Ch]:
8026         * lyxtextclass.[Ch]:
8027         * paragraph.C:
8028         * paragraph_funcs.[Ch]:
8029         * text2.C:
8030         * text3.C: more insetenv work
8031
8032 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8033
8034         * ParagraphParameters.C (params2string): small bug fixed
8035
8036 2003-05-16  André Pönitz  <poenitz@gmx.net>
8037
8038         * debug.C:
8039         * bufferview_funcs.C: patch from Kornel Benko to prevent
8040           crash when _(...) is called twice in a statement
8041
8042 2003-05-16  André Pönitz  <poenitz@gmx.net>
8043
8044         * BufferView.C:
8045         * lyxfunc.C:
8046         * text.C:
8047         * text2.C:
8048         * text3.C:
8049         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8050
8051 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8052
8053         * lyx_main.C (init): remove spurious static_cast
8054
8055 2003-05-14  André Pönitz  <poenitz@gmx.net>
8056
8057         * BufferView.C: fix format string
8058
8059 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8060
8061         * BufferView.[Ch] (insertErrors): removed
8062         * BufferView.[Ch] (showErrorList): added
8063         * buffer.C (runChkTeX):
8064         * converter.C (scanLog): call showErrorList instead of inserterrors
8065
8066 2003-05-13  André Pönitz  <poenitz@gmx.net>
8067
8068         * BufferView_pimpl.C:
8069         * buffer.C:
8070         * bufferview_func.C:
8071         * MenuBackend.C:
8072         * lyxfunc.C:
8073         * lyxrc.C:
8074         * tex-accent.C:
8075         * text3.C:
8076         * toc.C:
8077         * tabular_funcs.h: tostr() from its own header
8078
8079         * ParagraphParameters.C:
8080         * ToolbarBackend.C:
8081         * bufferparams.C:
8082         * format.C:
8083         * lyxlex_pimpl.C:
8084         * text3.C: STRCONV()
8085
8086 2003-05-12  André Pönitz  <poenitz@gmx.net>
8087
8088         * BufferView.C:
8089         * BufferView_pimpl.C:
8090         * CutAndPaste.C:
8091         * LaTeX.C:
8092         * LaTeXFeatures.C:
8093         * ParagraphParameters.C:
8094         * buffer.C:
8095         * bufferlist.C:
8096         * bufferparams.C:
8097         * bufferview_funcs.C:
8098         * converter.C:
8099         * counters.C:
8100         * debug.C:
8101         * exporter.C:
8102         * format.C:
8103         * importer.C:
8104         * lyx_cb.C:
8105         * lyx_main.C:
8106         * lyxfont.C:
8107         * lyxfunc.C:
8108         * lyxvc.C:
8109         * paragraph.C:
8110         * paragraph_funcs.C:
8111         * tabular.C:
8112         * tabular_funcs.C:
8113         * text2.C:
8114         * text3.C:  boost::format -> bformat  all over the place
8115
8116
8117 2003-05-09  André Pönitz  <poenitz@gmx.net>
8118
8119         * LColor.[Ch]: Pimpl the #include <map> away
8120
8121 2003-05-09  John Levon  <levon@movementarian.org>
8122
8123         * bufferlist.C: never remove emergency saves
8124
8125 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * Makefile.am: better lib building
8128
8129 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8132         instead.
8133         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8134         (simpleTeXSpecialChars): adjust
8135         (simpleTeXSpecialChars): adjust
8136         * paragraph.C (simpleTeXOnePar): adjust
8137         * buffer.C (makeLaTeXFile): adjust
8138
8139         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8140
8141         * text2.C (changeDepth): parlist cleanup
8142         (getColumnNearX): ditto
8143
8144         * rowpainter.C (getLabelFont): parlist cleanup
8145
8146         * bufferlist.C (newFile): parlist cleanup
8147
8148         * CutAndPaste.C (eraseSelection): parlist cleanup
8149
8150         * BufferView_pimpl.C (trackChanges): parlist cleanup
8151         (dispatch): ditto
8152
8153         * BufferView.C (lockInset): parlist cleanup.
8154         (ChangeInsets): ditto
8155
8156 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8157
8158         * CutAndPaste.h: Update file header.
8159
8160         * CutAndPaste.C: Update file header.
8161         Store the parts cut out of the Document in a limited_stack.
8162         (copySelection): adjust
8163         (pasteSelection): new function, takes the index in the limited stack.
8164         (nrOfParagraphs): adjust
8165         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8166         simplify error inset insertion.
8167         (checkPastePossible): adjust
8168
8169 2003-05-06  John Levon  <levon@movementarian.org>
8170
8171         * text2.C: don't cast wrap inset to float
8172
8173 2003-05-05  André Pönitz  <poenitz@gmx.net>
8174
8175         * iterator.C:
8176         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8177
8178         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8179           few naked Paragraph *.
8180
8181 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8182
8183         * bufferparams.C: Output warning if a document with missing
8184         TeX document class is loaded
8185         * exporter.C: Disable TeX exports if the document class is missing
8186         * lyxtextclass.C:
8187         * lyxtextclass.h:
8188         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8189         isTeXClassAvailable()
8190
8191 2003-05-03  John Levon  <levon@movementarian.org>
8192
8193         * BufferView.h:
8194         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8195         explicit cursor show/hide
8196
8197         * BufferView_pimpl.h:
8198         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8199         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8200
8201         * lyxfunc.C: hide cursor before dispatching.
8202
8203         * lyx_cb.C:
8204         * lyxfind.C:
8205         * text.C:
8206         * text3.C: remove explicit cursor hides
8207
8208 2003-05-02  André Pönitz  <poenitz@gmx.net>
8209
8210         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8211
8212         * undo_funcs.C:
8213         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8214           linked lists
8215
8216         * text2.C: tiny whitespace
8217
8218 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * undo_funcs.C: almost only ws changes.
8221
8222         * ParagraphList.C (splice): just return if pl is empty.
8223
8224 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * ParagraphList.C (splice): new function.
8227
8228         * CutAndPaste.C (pasteSelection): use it
8229
8230 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * CutAndPaste.C (pasteSelection): remove the last next and
8233         previous from this file.
8234
8235 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * CutAndPaste.C (pasteSelection): more clean up, user proper
8238         ParagraphList functions for pasteing.
8239
8240         * ParagraphList.C (insert): new function, three arg insert
8241
8242 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8243
8244         * ParagraphList.C (insert): new function, three arg insert
8245
8246         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8247         not on paragraphs.
8248
8249 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8252
8253 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8254
8255         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8256
8257 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8260         (copySelection): clean up a bit.
8261         (pasteSelection): use make_pair
8262
8263         * ParagraphList.C (ParagraphList): implement copy constructor
8264         (operator=): implement, base on copy constructor.
8265         (assign): new func
8266
8267         * paragraph.C (erase): return a bool
8268
8269         * paragraph_pimpl.C (erasePos): remove function, move contents...
8270         (erase): ... here. Return a bool.
8271         (erase): call erase instead of erasePos.
8272
8273 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8274
8275         * ParagraphList.h: define PitPosPair
8276         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8277         ParagraphList, fix a bug on pasting multiple pars
8278         * text2.C: change interface to C&P
8279
8280 2003-04-30  André Pönitz  <poenitz@gmx.net>
8281
8282         * undo_func.C: revert part of yesterday's patch 2
8283
8284 2003-04-30  John Levon  <levon@movementarian.org>
8285
8286         * LColor.C: s/tabular/table/
8287
8288 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * text3.C (dispatch): do not convert iterator -> pointer
8291         * undo_funcs.C (setCursorParUndo): ditto
8292         * text_funcs.C (transposeChars): ditto
8293
8294         * text2.C (setLayout): ws changes only
8295
8296         * text.C (breakParagraph): do not convert iterator -> pointer
8297         (insertChar): ditto
8298         (acceptChange): ditto
8299         (rejectChange): ditto
8300         (changeCase): ditto
8301         (Delete): ditto
8302         (backspace): ditto
8303
8304         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8305         pointer
8306
8307 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8308
8309         * text3.C (gotoInset): YABG (yet another bad getChar)
8310
8311 2003-04-29  André Pönitz  <poenitz@gmx.net>
8312
8313         * paragraph.h: make operator= private unimplemented as long as
8314           it is unusable
8315
8316         * ParagraphList.C: whitespace
8317
8318         * paragraph.[Ch]:
8319         * paragraph_pimpl.[Ch]:
8320         * paragraph_funcs.C:
8321         * CutAndPaste.C:
8322         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8323
8324         * text2.C:
8325           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8326
8327 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8328
8329         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8330         * paragraph.[Ch] (erase):
8331         * paragraph_pimpl.[Ch] (erase): change return type and value
8332         * text2.C (cutSelection): some rework
8333
8334 2003-04-28  John Levon  <levon@movementarian.org>
8335
8336         * bufferlist.C: changes for unsaved changes dialog
8337
8338 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * bufferlist.C (newFile): set language (messages_) for new
8341         documents also.
8342
8343         * buffer.C (readFile): ws changes only.
8344
8345 2003-04-28  André Pönitz  <poenitz@gmx.net>
8346
8347         * undo_funcs.C:
8348         * lyxfunc.C:
8349         * buffer.[Ch]:
8350         * BufferView_pimpl.C:
8351         * BufferView.C: getParFromID related ParagraphList::iterator changes
8352
8353 2003-04-28  André Pönitz  <poenitz@gmx.net>
8354
8355         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8356           Changes
8357
8358 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8359
8360         * messages.C: remove one more localedir class variable.
8361
8362 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * messages.C (getLocaleDir): singleton generation function
8365         (Pimpl): use it.
8366         (Messages): add a default constructor.
8367
8368         * main.C (main): do not setup localedir here, do not call
8369         gettext_init.
8370
8371         * gettext.C (_): use it.
8372         (gettext_init): delete funciton
8373
8374 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * gettext.C (getLyXMessages): new singleton generating function.
8377
8378         * buffer.C (updateDocLang): adjust
8379
8380         * Makefile.am (messages.o): add target
8381         (main.o): remove target
8382
8383 2003-04-27  John Levon  <levon@movementarian.org>
8384
8385         * bufferlist.C:
8386         * lyx_cb.C:
8387         * lyxfunc.C:
8388         * lyxvc.C: specify cancel button in Alert::prompt
8389
8390 2003-04-26  John Levon  <levon@movementarian.org>
8391
8392         * text3.C:
8393         * lyxfunc.C:
8394         * lfuns.h:
8395         * LyXAction.C: add LFUN_INSET_SETTINGS
8396
8397         * lyxfunc.C: don't enable tabular-feature when there's
8398         just any locking inset
8399
8400 2003-04-26  John Levon  <levon@movementarian.org>
8401
8402         * bufferlist.C: re-add Cancel to buffer close question
8403
8404         * lyxfunc.C: fix import UI a bit
8405
8406 2003-04-25  John Levon  <levon@movementarian.org>
8407
8408         * gettext.C: remove the broken asserts for now
8409
8410 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * messages.C: make case where setlocale cannot comply work better.
8413
8414         * buffer.C (updateDocLang): new function
8415         (changeLanguage): use it
8416         (readFile): use it
8417
8418         * text2.C (setCounter): use B_ a bit.
8419
8420         * lyxlayout.C (Read): be sure to trim the label strings.
8421
8422         * messages.C (Messages): fix typo in comment
8423
8424         * buffer.C (readFile): set message_ after file is loaded.
8425         (makeDocBookFile): remove double return
8426         (changeLanguage): reset message_ upon language change.
8427         (B_): new func, use this to get translated buffer strings.
8428
8429         * main.C: add myself and Jean Marc as authors.
8430
8431 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * messages.[hC]: pimplify Messages, and three different pimpls to be
8434         used in different circumstances.
8435
8436         * gettext.[Ch]: change for use with new message code.
8437
8438 2003-04-24 André Pönitz <poenitz@gmx.net>
8439
8440         * factory.C: support for eqref
8441
8442 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8443
8444         * messages.[Ch]: add missing char
8445
8446         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8447
8448         * messages.[Ch]: New files
8449
8450 2003-04-18  John Levon  <levon@movementarian.org>
8451
8452         * BufferView.h:
8453         * BufferView.C:
8454         * BufferView_pimpl.C:
8455         * lfuns.h:
8456         * LyXAction.C:
8457         * lyxtext.h:
8458         * text2.C: remove layout-copy/paste (bug 778)
8459
8460 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8461
8462         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8463
8464 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8465
8466         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8467         if they succeed. Act accordingly.
8468
8469 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8470
8471         * text2.C (setCharFont): adjust
8472         (setCounter): adjust
8473         (insertStringAsLines): adjust
8474
8475         * text.C (leftMargin): adjust
8476         (setHeightOfRow): adjust
8477
8478         * rowpainter.C (paintFirst): adjust
8479         (paintLast): adjust
8480
8481         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8482         (outerHook): ditto
8483         (isFirstInSequence): ditto
8484         (getEndLabel): ditto
8485         (outerFont): adjust
8486
8487         * paragraph.C (getParLanguage): comment out some hard stuff.
8488
8489         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8490         (sgmlError): ditto
8491         (simpleDocBookOnePar): ditto
8492         (makeDocBookFile): use ParagraphList::iterator
8493
8494         * CutAndPaste.C (pasteSelection): adjust
8495
8496 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * text2.C (getFont): adjust
8499         (getLayoutFont): adjust
8500         (getLabelFont): adjust
8501
8502         * paragraph_funcs.C (TeXOnePar): adjust
8503
8504         * buffer.C (simpleLinuxDocOnePar): adjust
8505         (simpleDocBookOnePar): adjust
8506
8507         * CutAndPaste.C (pasteSelection): adjust
8508
8509         * BufferView.C (getEncoding): adjust
8510
8511         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8512
8513 2003-04-16  John Levon  <levon@movementarian.org>
8514
8515         * lyxfind.C: use parlist stuff for search/changes
8516
8517 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8518
8519         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8520
8521         * text2.C (deleteEmptyParagraphMechanism): adjust
8522
8523         * text2.[Ch] (ownerParagraph): delete func (both of them
8524
8525 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8528
8529 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * ParagraphList.C: prepare for NO_NEXT
8532
8533 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8534
8535         * text2.C (getFont): adjust
8536         (getLayoutFont): adjust
8537         (getLabelFont): adjust
8538
8539         * paragraph.C (getFont): adjust
8540         (getLabelFont): adjust
8541         (getLayoutFont): adjust
8542
8543         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8544
8545 2003-04-15  John Levon  <levon@movementarian.org>
8546
8547         From Angus Leeming
8548
8549         * lyx_main.C: handle Include in .ui files
8550
8551 2003-04-15  John Levon  <levon@movementarian.org>
8552
8553         * MenuBackend.C: make the doc files length shorter
8554
8555         * ToolbarBackend.h:
8556         * ToolbarBackend.C: handle toolbar placement flags,
8557         Minibuffer
8558
8559 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8560
8561         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8562         adjust
8563
8564         * paragraph_funcs.C (TeXOnePar): adjust
8565
8566         * paragraph.C (getLabelFont): add outerfont arg, adjust
8567         (getLayoutFont): ditto
8568         (simpleTeXOnePar): adjust
8569
8570         * paragraph_pimpl.C (realizeFont): delete func
8571
8572 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8573
8574         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8575         row argument, constify cur argument.
8576
8577 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8578
8579         * text2.C (getFont): adjust
8580         (getLayoutFont): adjust
8581         (getLabelFont): adjust
8582
8583         * paragraph_funcs.C (TeXOnePar): adjust
8584         (outerFont): new func...
8585         (realizeFont): ...moved out from here, changed this to facilitate
8586         transition
8587
8588         * paragraph.C (getFont): take outerfont as arg, adjust
8589         (simpleTeXOnePar): add outerfont arg, adjust
8590
8591         * buffer.C (simpleLinuxDocOnePar): adjust
8592         (simpleDocBookOnePar): adjust
8593
8594         * CutAndPaste.C (pasteSelection): adjust
8595
8596         * BufferView.C (getEncoding): adjust
8597
8598 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8599
8600         * text2.C (setCharFont): adjust
8601         (setCounter): adjust
8602
8603         * text.C (leftMargin): adjust
8604         (setHeightOfRow): adjust
8605
8606         * rowpainter.C (paintFirst): adjust
8607         (paintLast): adjust
8608
8609         * paragraph_pimpl.C (realizeFont): adjust
8610
8611         * paragraph.C (isFirstInSequence): move from here...
8612         * paragraph_funcs.C (isFirstInSequence): ...to here
8613
8614         * paragraph.C (outerHook): move from here...
8615         * paragraph_funcs.C (outerHook): ...to here
8616
8617         * paragraph.C (depthHook): move from here...
8618         * paragraph_funcs.C (depthHook): ...to here
8619
8620         * paragraph.C (getEndLabel): move from here...
8621         * paragraph_funcs.C (getEndLabel): ...to here
8622
8623         * text2.C (realizeFont): move from here...
8624         * paragraph_funcs.C (realizeFont): ...to here
8625
8626 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8629
8630 2003-04-14  Angus Leeming  <leeming@lyx.org>
8631
8632         * LColor.[Ch]: scrap LColor mathcursor.
8633
8634 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * lyxlex.[Ch] (text): delete function
8637         * trans.C (Load): adjust
8638         * paragraph_funcs.C (readParToken): adjust
8639
8640 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641
8642         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8643         vector<char> instead of a char[].
8644
8645         * lyxlex_pimpl.C (getString): adjust
8646         (next): adjust
8647         (lex): use getString
8648         (eatLine): adjust
8649         (nextToken): adjust
8650
8651         * lyxlex.C (text): use pimpl_->getString()
8652         (getBool): ditto
8653         (findToken): ditto
8654
8655 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8658         (makeFontEntriesLayoutSpecific): temp var for par.size()
8659         (setLayout): temp var for ownerParagraphs().end()
8660         (fullRebreak): temp var for rows().end()
8661         (selectionAsString): temp var for boost::next(startpit), realize
8662         that the while really is a regular for loop.
8663         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8664         setCursor in one place.
8665         (setParagraph): temp vr for ownerParagraphs().end()
8666         (updateCounters): make the while loop a for loop
8667         (cutSelection): temp var for ownerParagraphs().end()
8668         (updateInset): make the do {} while() a regular for loop
8669         (getCursorX): use temp vars
8670         (setCurrentFont): use temp vars
8671         (getColumnNearX): use temp vars
8672
8673 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * text.C (transformChar): use temp var for getChar
8676         (computeBidiTables): use temp var for row->par()
8677         (fill): move temp vars for row->par() and pit->layout() earlier in
8678         the function.
8679         (labelFill): use temp var for row->par()
8680         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8681         asc and desc, realize that pit never changes and that firstpit is
8682         just a duplicate and not needed. Exchange rit->par() with pit in a
8683         lot of places.
8684         (breakAgain): use a temp var for boost::next(rit)
8685         (breakAgainOneRow): ditto
8686         (breakParagraph): use a temp var for rows().begin()
8687         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8688         (cursorRightOneWord): use temp var for cursor.par() and
8689         cursor.pos(), remove usage of tmpcursor.
8690         (cursorLeftOneWord): use temp var for cursor.par() and
8691         cursor.pos() only set cur at end of function.
8692
8693 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * text.C, text2.C: exchange all usage of Paragraph::next with
8696         boost::next(ParagraphList::iterator)
8697
8698         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8699
8700         * text2.C (cursorTop): simplify implementation
8701         (cursorBottom): ditto
8702         (setParagraph): use ParagraphList::iterator
8703         (setCurrentFont): adjust
8704         (getColumnNearX): adjust
8705         (cursorRight): adjust
8706         (cursorLeft): remove usage of Paragraph::previous
8707         (cursorUpParagraph): ditto
8708         (deleteEmptyParagraphMechanism): slight cleanup
8709
8710         * text.C (isBoundary): take a Paragraph const & instead of a
8711         pointer as arg.
8712         (addressBreakPoint): ditto
8713         (leftMargin): remove usage of Paragraph::previous.
8714         (setHeightOfRow): ditto
8715         (cursorLeftOneWord): ditto
8716         (selectNextWordToSpellcheck): ditto
8717         (Delete): ditto
8718         (backspace): ditto
8719         (breakParagraph): remove one usage of Paragraph::next
8720         (redoParagraph): ditto
8721         (acceptChange): ditto
8722         (insertChar): adjust
8723         (rowBreakPoint): adjust
8724
8725         * bufferview_funcs.C (toggleAndShow): adjust
8726
8727 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8728
8729         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8730         methods to access it.
8731         * lyxtext.h:
8732         * text.C: Added updateRowPositions to compute all row positions.
8733         Make top_y and getRowNearY() to use the cached y position
8734
8735 2003-04-11  John Levon  <levon@movementarian.org>
8736
8737         * text.C (rowBreakPoint): reintroduce the labelEnd
8738         checks, code copied from the row fill stuff. Deep voodoo.
8739
8740         * text.C (fill): add a comment and debugging for the
8741         next poor soul.
8742
8743 2003-04-11  John Levon  <levon@movementarian.org>
8744
8745         * text.C: make sure fullrow insets get wrapped to the next line,
8746         even when they're in a manual label
8747
8748 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8749
8750         * text2.C (insertParagraph): make it take ParagraphList::iterator
8751         as arg.
8752         (setLayout): make it return ParagraphList::iterator
8753         (redoParagraphs): ditto
8754         (setCounter): ditto
8755         (checkParagraph): ditto
8756
8757         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8758
8759         * text2.C: adjust several funcs.
8760         (realizeFont): take a ParagraphList::iterator as arg.
8761         (getLayoutFont): ditto
8762         (getLabelFont): ditto
8763         (setCharFont): ditto
8764
8765         * text.C: adjust several funcs.
8766
8767 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8768
8769         * text.C (selectNextWordToSpellcheck): don't accidentally
8770         skip insets
8771
8772 2003-04-10  John Levon  <levon@movementarian.org>
8773
8774         * ToolbarBackend.C (getIcon): special handling for
8775         LFUN_MATH_DELIM
8776
8777 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8778
8779         * text2.C (cursorRight): a getChar assert fixed
8780
8781 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8782
8783         * text2.C (getFont): change to take a ParagraphList::iterator
8784         instead of Paragraph*
8785         Adjust several functions.
8786
8787         * text.C (transformChar): change to take a ParagraphList::iterator
8788         instead of Paragraph*
8789         (singleWidth): ditto
8790         Adjust several functions.
8791
8792         * rowpainter.C: adjust several functions
8793         * rowpainter.h:store a ParagraphList::iterator and not a
8794         Paragraph&.
8795
8796
8797 2003-04-09  John Levon  <levon@movementarian.org>
8798
8799         * lyxfunc.C:
8800         * lfuns.h:
8801         * LyXAction.h:
8802         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8803         and the "help" bits as well
8804
8805 2003-04-09  John Levon  <levon@movementarian.org>
8806
8807         * ToolbarBackend.h:
8808         * ToolbarBackend.C: allow multiple toolbars
8809
8810 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * undo_funcs.C (setCursorParUndo): adjust
8813
8814         * text_funcs.C (transposeChars): adjust
8815
8816         * text3.C (gotoNextInset): adjust
8817         (dispatch): adjust
8818
8819         * text2.C (setLayout): adjust
8820         (changeDepth): adjust
8821         (setFont): adjust
8822         (redoParagraphs): adjust
8823         (selectionAsString): adjust
8824         (setParagraph): adjust
8825         (insertInset): adjust
8826         (cutSelection): adjust
8827         (copySelection): adjust
8828         (pasteSelection): adjust
8829         (insertStringAsLines): adjust
8830         (updateInset): adjust
8831         (setCursor): change to take a ParagraphList::iterator parameter
8832         (setCursorIntern): change to take a ParagraphList::iterator parameter
8833         (setCurrentFont): adjust
8834         (cursorLeft): adjust
8835         (cursorRight): adjust
8836         (deleteEmptyParagraphMechanism): adjust
8837
8838         * text.C (breakParagraph): adjust
8839         (insertChar): adjust
8840         (acceptChange): adjust
8841         (rejectChange): adjust
8842         (selectNextWordToSpellcheck): adjust
8843         (changeCase): adjust
8844         (Delete): adjust
8845         (backspace): adjust
8846
8847         * lyxfind.C (SearchForward): adjust
8848         (SearchBackward): adjust
8849         (nextChange): adjust
8850
8851         * lyxcursor.C (par): adjust
8852
8853         * lyxcursor.h: store a ParagraphList::iterator instead of a
8854         Paragraph*
8855
8856         * lyx_cb.C (getPossibleLabel): adjust
8857
8858         * bufferview_funcs.C (toggleAndShow): adjust
8859
8860         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8861         (dispatch): adjust
8862
8863         * BufferView.C (removeAutoInsets): adjust
8864         (lockedInsetStoreUndo): adjust
8865
8866 2003-04-09  John Levon  <levon@movementarian.org>
8867
8868         * ToolbarBackend.C: try icon without argument
8869         if with argument fails
8870
8871 2003-04-08  John Levon  <levon@movementarian.org>
8872
8873         * ToolbarBackend.h:
8874         * ToolbarBackend.C: add getIcon(), handle tooltip,
8875         and change from "Icon" to "Item".
8876
8877 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8878
8879         * BufferView.C (lockInset): another bad getchar crunched
8880
8881 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8882
8883         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8884         again)
8885
8886 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8887
8888         * lyxfind.C (searchForward, searchBackwards): bug 782
8889
8890 2003-04-07  John Levon  <levon@movementarian.org>
8891
8892         * paragraph.C: remove dead comment
8893
8894         * text.C: remove troublesome depth-fiddling code
8895         in leftMargin() and rightMargin() (bug 1017)
8896
8897         * text.C: fix breaking of rows in nested lists
8898         (bug 1004)
8899
8900         * text2.C (updateCounters): fix up depth values
8901         (bug 1013)
8902
8903 2003-04-07  John Levon  <levon@movementarian.org>
8904
8905         * BufferView_pimpl.C: clear message when doc finishes resizing,
8906         and after a mouse event
8907
8908         * lyxfunc.C: clear message after exiting inset
8909
8910 2003-04-07  John Levon  <levon@movementarian.org>
8911
8912         * bufferview_funcs.C: show math status not outside
8913         status in the statusbar
8914
8915 2003-04-07  John Levon  <levon@movementarian.org>
8916
8917         * lyxfunc.C: note status changed after a depth change
8918
8919 2003-04-04  Angus Leeming  <leeming@lyx.org>
8920
8921         * LaTeX.h: move AuxInfo operator==, != out of line.
8922         Remove LaTeX virtual destructor; nothing derives from it.
8923         Move operator()() out of public area and rename it startscript().
8924         Change protected for private.
8925
8926 2003-04-04  Angus Leeming  <leeming@lyx.org>
8927
8928         * lyxfunc.C:
8929         * text2.C: remove unneeded #includes.
8930
8931 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8932
8933         * text2.C (dEPM): fix the heigth of the next row
8934
8935 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8936
8937         * text.C: squashed an invalid getChar requester + some ws changes
8938
8939 2003-04-03  John Levon  <levon@movementarian.org>
8940
8941         * bufferview_funcs.h:
8942         * bufferview_funcs.C:
8943         * lyxfunc.C:
8944         * lyxtext.h:
8945         * text2.C: make getStatus work for the env depth lfuns
8946
8947 2003-04-03  John Levon  <levon@movementarian.org>
8948
8949         * bufferview_funcs.h:
8950         * bufferview_funcs.C:
8951         * lyxfunc.C:
8952         * lyxtext.h:
8953         * text2.C: parlistize decDepth(), by merging it with incDepth()
8954
8955 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8956
8957         * lyxrow.h: store a ParagraphList::iterator instead of a
8958         Paragraph* and adjust other class functions to suit.
8959
8960         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8961         above.
8962
8963 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8964
8965         * text2.C (setCursor): do not anchor to cursor row for the time being
8966
8967 2003-04-02  John Levon  <levon@movementarian.org>
8968
8969         * LyXAction.C:
8970         * lfuns.h:
8971         * lyx_main.C:
8972         * lyxtext.h:
8973         * text.C:
8974         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8975
8976 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8977
8978         * paragraph.h: make ParagraphList and ParagraphList::iterator
8979         friends of Paragraph.
8980
8981         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8982
8983         * ParagraphList.C: Use the private next_ and previous_ from
8984         Paragraph.
8985
8986 2003-04-01  John Levon  <levon@movementarian.org>
8987
8988         * ToolbarBackend.h:
8989         * ToolbarBackend.C:
8990         * Makefile.am: rename, remove defaults gunk
8991
8992         * MenuBackend.h:
8993         * MenuBackend.C: remove defaults gunk
8994
8995         * Languages.h:
8996         * Languages.C: remove defaults gunk
8997
8998         * lyx_main.h:
8999         * lyx_main.C: error out if files couldn't be found.
9000
9001 2003-04-02  John Levon  <levon@movementarian.org>
9002
9003         * text2.C: make incDepth() use parlist
9004
9005 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * undo_funcs.C (firstUndoParagraph): adjust
9008
9009         * text3.C (gotoInset): adjust
9010         (dispatch): adjust, and rewrite loop.
9011
9012         * text2.C (init): adjust, and rewrite loop.
9013         (redoParagraphs): adjust
9014         (updateInset): adjust, and rewrite loop.
9015         (deleteEmptyParagraphMechanism): adjust
9016
9017         * tabular.C (LyXTabular): adjust
9018         (SetMultiColumn): adjust
9019         (TeXRow): adjust
9020
9021         * lyxtext.[Ch] (ownerParagraph): delete function
9022         (ownerParagraphs): new function returns a ParagraphList.
9023
9024         * BufferView.C (removeAutoInsets): adjust
9025         (insertErrors): adjust
9026         (setCursorFromRow): adjust
9027
9028 2003-04-01  Angus Leeming  <leeming@lyx.org>
9029
9030         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9031         in the frontends.
9032
9033 2003-04-02  John Levon  <levon@movementarian.org>
9034
9035         * lyxtext.h:
9036         * text.C:
9037         * Makefile.am:
9038         * text_funcs.h:
9039         * text_funcs.C: make transposeChars a free function
9040
9041         * lyxrow_funcs.C: remove wrong comment
9042
9043 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9044
9045         * lyxtext.h: adjust
9046         * rowpainter.C: adjust
9047         * text.C: adjust
9048         * text2.C: adjust
9049         * text3.C: adjust
9050
9051         * lyxrow_funcs. [Ch]: new files
9052
9053         * lyxrow.[Ch]: remove next and previous pointers
9054         (next,previous): remove accessor functions
9055         (isParEnd): move to lyxrow_funcs
9056         (lastPos): move to lyxrow_funcs
9057         (nextRowIsAllInset): move to lyxrow_funcs
9058         (lastPrintablePos): move to lyxrow_funcs
9059         (numberOfSeparators): move to lyxrow_funcs
9060         (numberOfHfills): move to lyxrow_funcs
9061         (numberOfLabelHfills): move to lyxrow_funcs
9062         (hfillExpansion): move to lyxrow_funcs
9063
9064         * lyxfunc.C: adjust
9065
9066         * bufferview_funcs.C (toggleAndShow): adjust
9067
9068         * RowList.h: Remove class RowList from file leave just a
9069         std::list<Row>.
9070
9071         * RowList.C: delete file
9072
9073         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9074         and lyxrow_funcs.h
9075
9076 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9077
9078         * text3.C (cursorPrevious): adjust
9079         (cursorNext): adjust
9080         (dispatch): adjust
9081
9082         * text2.C (redoHeightOfParagraph): adjust
9083         (redoDrawingOfParagraph): adjust
9084         (setCursor): adjust
9085
9086         * text.C (breakParagraph): adjust
9087         (insertChar): adjust
9088         (backspace): adjust
9089
9090         * rowpainter.C (RowPainter): adjust
9091         (leftMargin): simplify and adjust
9092         (most rowpainter functions): adjust.
9093
9094         * rowpainter.h: store the row as RowList::iterator not as Row*
9095
9096         * lyxcursor.C (row): taka RowList::iterator as arg
9097         (irow): ditto
9098
9099         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9100         of Row*.
9101
9102 2003-04-01  Angus Leeming  <leeming@lyx.org>
9103
9104         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9105         stuff like bool Bool.
9106
9107 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9108
9109         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9110         rewrite a loop
9111
9112 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9115         RowList::iterator.
9116
9117         * lyxtext.h (rows): drop one version and leve a const variant that
9118         returns a RowList::iterator.
9119
9120 2003-03-31  Angus Leeming  <leeming@lyx.org>
9121
9122         * text.C (fill): ensure that the signature is the same as that in the
9123         header file.
9124
9125 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9126
9127         * text2.C (redoParagraphs): adjust
9128         (updateCounters): adjust
9129         (checkParagraph): adjust
9130         (getColumnNearX): adjust and reformat a bit.
9131
9132         * text.C (top_y): adjust
9133         (workWidth): adjust
9134         (leftMargin): adjust
9135         (prepareToPrint): adjust
9136         (getRow): adjust
9137         (getRowNearY): adjust
9138
9139         * lyxtext.h: make rowlist_ mutable.
9140
9141         * RowList.h: add const_iterator
9142         * RowList.C: adjust for RowList::const_iterator.
9143
9144         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9145         adjust.
9146
9147 2003-03-31  John Levon  <levon@movementarian.org>
9148
9149         * lyxrc.h:
9150         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9151
9152         * lyx_main.C: set default fonts from using lyx_gui funcs
9153
9154         * exporter.C: pdf_mode moved from lyxrc
9155
9156         * lyx_cb.C:
9157         * lyxfunc.C: changes from above
9158
9159 2003-03-31  John Levon  <levon@movementarian.org>
9160
9161         * lyx_main.C: fix to the last fix
9162
9163 2003-03-31  John Levon  <levon@movementarian.org>
9164
9165         * bufferlist.C: "Load original" -> "Load Original"
9166
9167         * converter.C:
9168         * exporter.C:
9169         * importer.C:
9170         * lyx_main.C:
9171         * format.C: more Alert cleanups
9172
9173 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9174
9175         * text2.C (removeParagraph): make it take a RowList::iterator as
9176         arg, adjust.
9177         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9178         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9179
9180         * text.C (anchor_row): make it take a RowList::iterator as arg,
9181         adjust.
9182         (computeBidiTables): make it take a const reference to Row instead
9183         of Row pointer, adjust.
9184         (leftMargin): make it take a RowList::iterator as arg, adjust.
9185         (rowBreakPoint): adjust
9186         (breakAgainOneRow): make it take a RowList::iterator as arg,
9187         adjust.
9188         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9189
9190         * bufferview_funcs.C (toggleAndShow): adjust
9191
9192 2003-03-30  John Levon  <levon@movementarian.org>
9193
9194         * Makefile.am:
9195         * BoostFormat.h:
9196         * boost-inst.C: moved to support
9197
9198         * several files: changes as a result
9199
9200 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * text2.C (LyXText): adjust.
9203         (init): adjust
9204         (removeRow): make it take a RowList::iterator as arg, adjust.
9205         (fullRebreak): adjust
9206         (deleteEmptyParagraphMechanism): adjust
9207         (clearPaint): adjust
9208         (postPaint): adjust
9209
9210         * text.C (top_y): adjust
9211         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9212         (breakAgain): make it take a RowList::iterator as arg, adjust.
9213         (breakParagraph): adjust
9214         (insertChar): adjust
9215         (backspace): adjust
9216
9217         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9218         need_break_row, and refresh_row.
9219
9220         * text3.C (dispatch): adjust
9221
9222         * text2.C (checkParagraph): adjust
9223         (setCursor): adjust
9224         (setCursorFromCoordinates): adjust
9225
9226         * text.C (top_y): adjust
9227         (workWidth): adjust
9228         (getRow): make it return a RowList::iterator, adjust
9229         (getRowNearY): make it return a RowList::iterator, adjust
9230
9231         * text2.C (init): adjust
9232         (insertRow): remove function
9233         (insertParagraph): adjust
9234         (redoParagraphs): adjust
9235         (fullRebreak): adjust
9236         (updateCounters): adjust
9237
9238         * text.C (top_y): rewrite to use RowList iterators.
9239         (top_y): adjust
9240         (setHeightOfRow): rewrite to sue RowList iterators.
9241         (appendParagraph): adjust
9242         (breakAgain): adjust
9243         (breakAgainOneRow): adjust
9244         (breakParagraph): adjust
9245         (getRow): adjust
9246         (getRowNearY): adjust, and remove commented code.
9247
9248         * lyxtext.h (firstRow): delete function
9249         (lastRow): delete function
9250         (rows): new function (const and non-const versions.)
9251         (insertRow): delete function
9252
9253         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9254
9255 2003-03-29  John Levon  <levon@movementarian.org>
9256
9257         * BufferView_pimpl.C: always update scrollbar top
9258         because pasting text when we're anchored could mean we
9259         miss an update altogether
9260
9261 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9262
9263         * text2.C (init): use rowlist_.end() and not 0.
9264         (insertRow): change to take a RowList::iterator as arg, adjust
9265         for this.
9266         (insertParagraph): change to take a RowList::iterator as arg,
9267         adjust for this.
9268         (redoParagraphs): remove some debug msgs.
9269
9270         * text.C (appendParagraph): change to take a RowList::iterator
9271         arg, adjust for this.
9272         (breakAgain): add an assert
9273         (breakAgainOneRow): ditto
9274
9275 2003-03-29  John Levon  <levon@movementarian.org>
9276
9277         * text2.C: do not clear selection after inc/decDepth
9278         (bug 550)
9279
9280 2003-03-29  John Levon  <levon@movementarian.org>
9281
9282         * BufferView.C:
9283         * buffer.C: fix broken strerrors according to Lars
9284
9285 2003-03-29  John Levon  <levon@movementarian.org>
9286
9287         * converters.C: more Alert cleanups
9288
9289 2003-03-29  John Levon  <levon@movementarian.org>
9290
9291         * bufferview_funcs.C: remove pointless Alert
9292
9293         * buffer.C: fix confusing error message when
9294         a template is chmoded 000
9295
9296 2003-03-29  John Levon  <levon@movementarian.org>
9297
9298         * BufferView.C:
9299         * BufferView.h:
9300         * BufferView_pimpl.C: Alert fixes
9301
9302         * Makefile.am:
9303         * tabular.C:
9304         * tabular-old.C: remove unused table compat reading
9305
9306 2003-03-29  John Levon  <levon@movementarian.org>
9307
9308         * BufferView.C:
9309         * buffer.C:
9310         * lyx_cb.h:
9311         * lyx_cb.C: more Alert cleanups
9312
9313         * lyxfunc.C: don't allow chktex if not latex document
9314
9315 2003-03-29  John Levon  <levon@movementarian.org>
9316
9317         * lyx_cb.C:
9318         * BufferView.C:
9319         * buffer.C: warnings pushed down from support/,
9320         kill err_alert
9321
9322 2003-03-29  John Levon  <levon@movementarian.org>
9323
9324         * lyxfunc.C: safety check for C-r (revert)
9325
9326 2003-03-29  John Levon  <levon@movementarian.org>
9327
9328         * bufferlist.h:
9329         * bufferlist.C: several UI fixes using Alert::prompt.
9330         Fix the pointless looping quit code. Fix stupid revert
9331         behaviour (bug 938)
9332
9333         * lyxvc.h:
9334         * lyxvc.C:
9335         * lyx_cb.C: use Alert::prompt
9336
9337         * lyx_main.C: remove a silly question
9338
9339         * lyxfunc.C: remove a couple of silly questions,
9340         use Alert::prompt
9341
9342 2003-03-28  John Levon  <levon@movementarian.org>
9343
9344         * text2.C: fix bug 974 (End on empty par)
9345
9346 2003-03-28  John Levon  <levon@movementarian.org>
9347
9348         * BufferView_pimpl.C:
9349         * LyXAction.C:
9350         * lfuns.h: remove do-nothing math greek lfuns
9351
9352 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * lyxgluelength.h (isValidGlueLength): add default arg on
9355         parameter 2. Remove default arg from friend in class.
9356
9357         * lyxlength.h (isValidLength): add default arg on parameter 2.
9358         Remove default arg from friend in class.
9359
9360         * text2.C (LyXText): adjust, initialize refresh_row.
9361         (init): adjust
9362         (removeRow): adjust
9363         (insertRow): adjust
9364         (insertParagraph): adjst
9365         (redoParagraphs): adjust
9366         (fullRebreak): adjust
9367         (updateCounters): adjust
9368         (deleteEmptyParagraphMechanism): first attempt at fixing a
9369         crashing bug.
9370
9371         * text.C (top_y): adjust
9372         (setHeightOfRow): adjust
9373         (getRow): adjust
9374         (getRowNearY): adjust
9375
9376         * lyxtext.h: include RowList.h
9377         (~LyXText): not needed anymore, deleted.
9378         (firstRow): modify for RowList
9379         (lastRow): new function
9380         Delete firstrow and lastrow class variables, add a Rowlist
9381         rowlist_ class variable.
9382
9383         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9384         paragraph is empty.
9385
9386         * RowList.C (insert): fix case where it == begin().
9387
9388 2003-03-26  Angus Leeming  <leeming@lyx.org>
9389
9390         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9391         the thesaurus dialog.
9392
9393 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9394
9395         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9396
9397         * RowList.[Ch]: new files
9398
9399         * ParagraphList.C (erase): handle the case where it == begin
9400         correctly.
9401
9402 2003-03-25  John Levon  <levon@movementarian.org>
9403
9404         * Makefile.am:
9405         * aspell_local.h:
9406         * aspell.C: add new aspell support
9407
9408         * lyxrc.h:
9409         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9410         have it accessible.
9411
9412 2003-03-25  Angus Leeming  <leeming@lyx.org>
9413
9414         * lfuns.h:
9415         * LyXAction.C (init): new LFUN_INSET_INSERT.
9416
9417         * BufferView_pimpl.C (dispatch): split out part of the
9418         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9419
9420         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9421         LFUN_INSET_APPLY.
9422
9423 2003-03-25  Angus Leeming  <leeming@lyx.org>
9424
9425         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9426
9427 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9428
9429         * text2.C:
9430         * text3.C: remove useless row->height(0)
9431
9432 2003-03-25  John Levon  <levon@movementarian.org>
9433
9434         * lyxtext.h:
9435         * text2.C:
9436         * text3.C: rename the refreshing stuff to better names
9437
9438 2003-03-24  John Levon  <levon@movementarian.org>
9439
9440         * BufferView_pimpl.h:
9441         * BufferView_pimpl.C: update layout choice on a mouse
9442         press/release
9443
9444 2003-03-23  John Levon  <levon@movementarian.org>
9445
9446         * Makefile.am: fix commandtags.h reference
9447
9448 2003-03-22  John Levon  <levon@movementarian.org>
9449
9450         * BufferView_pimpl.C:
9451         * lyxtext.h:
9452         * rowpainter.C:
9453         * rowpainter.h:
9454         * text.C:
9455         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9456
9457 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9458
9459         * lyxtext.h:
9460         * text.C: take the rtl methods out of line
9461
9462 2003-03-21 André Pönitz <poenitz@gmx.net>
9463
9464         * metricsinfo.[Ch]: new files containing structures to be passed around
9465         during the two-phase-drawing...
9466
9467 2003-03-21 André Pönitz <poenitz@gmx.net>
9468
9469         * lyxtextclass.C: read 'environment' tag.
9470
9471 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9472
9473         * text2.C (removeRow): fix bug 964
9474
9475 2003-03-20  John Levon  <levon@movementarian.org>
9476
9477         * rowpainter.C:
9478         * text.C:
9479         * text2.C: paint cleanups. Inset::update() dropped font
9480         parameter
9481
9482 2003-03-19  John Levon  <levon@movementarian.org>
9483
9484         * lyxfunc.C: only fitcursor/markDirty if available()
9485
9486 2003-03-19  John Levon  <levon@movementarian.org>
9487
9488         * commandtags.h: rename to ...
9489
9490         * lfuns.h: ... this, and renumber / cleanup
9491
9492 2003-03-19  John Levon  <levon@movementarian.org>
9493
9494         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9495         fit the cursor after an lfun
9496
9497         * BufferView.h:
9498         * BufferView.C:
9499         * BufferView_pimpl.h:
9500         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9501
9502         * LyXAction.C: layout-character should have ReadOnly
9503
9504         * ParagraphParameters.C:
9505         * buffer.C:
9506         * bufferview_funcs.C:
9507         * lyx_cb.C:
9508         * lyxfind.C:
9509         * lyxtext.h:
9510         * text.C:
9511         * text2.C:
9512         * text3.C:
9513         * undo_funcs.C: changes from above
9514
9515 2003-03-18  John Levon  <levon@movementarian.org>
9516
9517         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9518         remove it from update()
9519
9520         * lyxfunc.C: update layout choice after an lfun
9521
9522         * text3.C: remove extra updateLayoutChoice()s
9523
9524 2003-03-18  John Levon  <levon@movementarian.org>
9525
9526         * text.C: top_y change means full repaint, fix
9527         a drawing bug with cursor movement
9528
9529 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9530
9531         * lyxtext.h:
9532         * text.C:
9533         * text2.C: anchor row on setCursor
9534
9535 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9536
9537         * lyxtext.h: remove almost all mutable keywords
9538         * text.C:
9539         * text2.C:
9540         * text3.C: remove const keywords accordingly
9541
9542 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9545         anon namespace
9546         (TeXEnvironment): ditto
9547         (TeXOnePar): ditto
9548
9549 2003-03-17  John Levon  <levon@movementarian.org>
9550
9551         * text.C (rowBreakPoint): remove attempt to fix displayed
9552         math insets inside a manual label
9553
9554 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9555
9556         * lyxtext.h: remove BufferView* as first arg from almost all class
9557         functions.
9558         * other files: adjust.
9559
9560 2003-03-17  John Levon  <levon@movementarian.org>
9561
9562         * lyxtext.h:
9563         * undo_funcs.C:
9564         * text2.C: more paint cleanups
9565
9566         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9567
9568         * rowpainter.h:
9569         * rowpainter.C: remove "smart" background painting code
9570
9571 2003-03-16  John Levon  <levon@movementarian.org>
9572
9573         * lyxtext.h:
9574         * text.C:
9575         * text2.C:
9576         * text3.C: add helper functions for setting refresh_row/y
9577
9578 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9579
9580         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9581         newline inset which *can* get inserted in the pass_thru layouts.
9582         This is primarily for literate documents.
9583
9584 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9585
9586         * buffer.C: increment LYX_FORMAT to 223
9587
9588 2003-03-14 André Pönitz <poenitz@gmx.net>
9589
9590         * textclass.h: prepare for environment handling, ws changes
9591         * lyxlayout.C: read latexheader and latexfooter tags
9592
9593 2003-03-14  John Levon  <levon@movementarian.org>
9594
9595         * text2.C: rewrite ::status() a bit
9596
9597 2003-03-13  John Levon  <levon@movementarian.org>
9598
9599         * lyxtext.h: add some docs
9600
9601 2003-03-13  John Levon  <levon@movementarian.org>
9602
9603         * lyxtext.h:
9604         * text.C:
9605         * text2.C:
9606         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9607
9608 2003-03-13  John Levon  <levon@movementarian.org>
9609
9610         * text3.C: fix appendix redrawing
9611
9612 2003-03-13  John Levon  <levon@movementarian.org>
9613
9614         * text.C (setHeightOfRow):
9615         * rowpainter.h:
9616         * rowpainter.C: make appendix mark have the text
9617           "Appendix" so the user knows what it is
9618
9619         * LColor.h:
9620         * LColor.C: s/appendixline/appendix/ from above
9621
9622 2003-03-13  John Levon  <levon@movementarian.org>
9623
9624         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9625
9626         * text.C: fix a getChar(pos) bug properly
9627
9628 2003-03-13  Angus Leeming  <leeming@lyx.org>
9629
9630         * commandtags.h:
9631         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9632         Probably only temporary. Let's see how things pan out.
9633
9634         * BufferView.C (unlockInset):
9635         * BufferView_pimpl.C (fitCursor):
9636         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9637
9638         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9639         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9640
9641         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9642         new functions that convert ParagraphParameters to and from a string.
9643
9644         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9645         BufferView::Pimpl's dispatch.
9646         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9647
9648 2003-03-13 André Pönitz <poenitz@gmx.net>
9649
9650         * lyxfunc.C:
9651         * text3.C:
9652         * factory.C: make it aware of InsetEnv
9653
9654 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9655
9656         * text2.C (setCursor): never ask for one past last
9657         (setCursor): add some debugging messages.
9658
9659         * text.C (singleWidth): never ask for one past last
9660         (singleWidth): ditto
9661         (leftMargin): ditto
9662         (rightMargin): ditto
9663         (rowBreakPoint): ditto
9664         (setHeightOfRow): ditto
9665         (prepareToPrint): ditto
9666
9667         * rowpainter.C (paintBackground): never ask for one past last
9668         (paintText): never ask for one past last
9669
9670         * paragraph_pimpl.C (getChar): make the assert stricter, never
9671         allow the one past last pos to be taken
9672
9673         * paragraph.C (getChar): ws changes only
9674
9675         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9676         (numberOfSeparators): ditto
9677         (numberOfHfills): ditto
9678
9679 2003-03-12  John Levon  <levon@movementarian.org>
9680
9681         * author.h:
9682         * author.C:
9683         * bufferparams.h:
9684         * bufferparams.C:
9685         * paragraph_funcs.C: fix per-buffer authorlists
9686
9687 2003-03-12  John Levon  <levon@movementarian.org>
9688
9689         * text.C: fix newline in right address
9690
9691 2003-03-12  Angus Leeming  <leeming@lyx.org>
9692
9693         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9694         duplicate those in LyXFunc::dispatch.
9695
9696         * commandtags.h:
9697         * LyXAction.C:
9698         * ToolbarDefaults.C:
9699         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9700         Add LFUN_FONTFREE_UPDATE.
9701
9702         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9703         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9704
9705         * bufferview_func.[Ch]: several new functions to facilliate
9706         transfer of data to and from the character dialog.
9707
9708 2003-03-12  John Levon  <levon@movementarian.org>
9709
9710         * buffer.C:
9711         * paragraph.h:
9712         * paragraph.C:
9713         * paragraph_funcs.C:
9714         * paragraph_pimpl.C:
9715         * sgml.C:
9716         * tabular.C:
9717         * text.C:
9718         * text3.C: remove META_NEWLINE in favour of an inset
9719
9720         * rowpainter.h:
9721         * rowpainter.C: remove paintNewline (done by inset)
9722
9723 2003-03-12  John Levon  <levon@movementarian.org>
9724
9725         * paragraph_pimpl.C: complain about bad getChar()s
9726         for a while at least
9727
9728 2003-03-12  John Levon  <levon@movementarian.org>
9729
9730         * buffer.h:
9731         * buffer.C: move paragraph read into a separate function,
9732         a little renaming to reflect that.
9733
9734         * bufferparams.h:
9735         * bufferparams.C: remove the author_ids map, not necessary now
9736
9737         * factory.h:
9738         * factory.C: moved Buffer::readInset to here
9739
9740         * paragraph_funcs.h:
9741         * paragraph_funcs.C: readParagraph free function moved from
9742         buffer.C
9743
9744         * tabular.C: name change
9745
9746 2003-03-12  John Levon  <levon@movementarian.org>
9747
9748         * buffer.C:
9749         * ParagraphParameters.C: move par params input to
9750         a read() method
9751
9752         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9753         behave like a normal read from the stream wrt reading
9754         a line vs. a \\token
9755
9756 2003-03-12  John Levon  <levon@movementarian.org>
9757
9758         * paragraph.C:
9759         * ParagraphParameters.h:
9760         * ParagraphParameters.C: move output code to a
9761         ::write() method
9762
9763 2003-03-12  John Levon  <levon@movementarian.org>
9764
9765         * BufferView.C (insertLyXFile):
9766         * buffer.h:
9767         * buffer.C:
9768         * tabular.C: use a parlist iterator for creating the
9769           document.
9770
9771 2003-03-12  John Levon  <levon@movementarian.org>
9772
9773         * buffer.C: make current_change static local not
9774           static file-scope
9775
9776 2003-03-12  John Levon  <levon@movementarian.org>
9777
9778         * buffer.C: fix insertStringAsLines for change tracking
9779
9780 2003-03-12  John Levon  <levon@movementarian.org>
9781
9782         * BufferView.C:
9783         * tabular.C:
9784         * buffer.h:
9785         * buffer.C:
9786         * bufferparams.h:
9787         * bufferparams.C: move author list into params. Rename some
9788           functions. Move the header reading into a separate token
9789           loop. Move the header token reading into BufferParams.
9790
9791 2003-03-12  John Levon  <levon@movementarian.org>
9792
9793         * changes.C: put debug inside lyxerr.debugging() checks
9794
9795 2003-03-11 André Pönitz <poenitz@gmx.net>
9796
9797         * factory.C: make it aware of InsetHFill
9798
9799 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9800
9801         * buffer.C (latexParagraphs): move function from here...
9802         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9803         args.
9804
9805 2003-03-10  Angus Leeming  <leeming@lyx.org>
9806
9807         * LyXAction.C (init): fix bug in poplating array with multiple entries
9808         with the same LFUN (spotted by JMarc).
9809
9810 2003-03-10  John Levon  <levon@movementarian.org>
9811
9812         * text.C:
9813         * text2.C: move getColumnNearX() near its
9814         only call site
9815
9816 2003-03-10  John Levon  <levon@movementarian.org>
9817
9818         * text.C: fix break before a minipage
9819
9820 2003-03-10  John Levon  <levon@movementarian.org>
9821
9822         * text.C: fix the last commit
9823
9824 2003-03-09  John Levon  <levon@movementarian.org>
9825
9826         * lyxtext.h:
9827         * text.C:
9828         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9829         bug 365 (don't break before insets unless needed). Don't
9830         return a value > last under any circumstances.
9831
9832 2003-03-09  Angus Leeming  <leeming@lyx.org>
9833
9834         * BufferView_pimpl.C (trackChanges, dispatch): call
9835         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9836
9837 2003-03-09  Angus Leeming  <leeming@lyx.org>
9838
9839         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9840         than Dialogs::showAboutlyx().
9841
9842 2003-03-09  Angus Leeming  <leeming@lyx.org>
9843
9844         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9845         than Dialogs::showTabularCreate().
9846
9847 2003-03-09  John Levon  <levon@movementarian.org>
9848
9849         * lyxtext.h:
9850         * text.C:
9851         * text2.C: 3rd arg to nextBreakPoint was always the same.
9852           Use references.
9853
9854 2003-03-08  John Levon  <levon@movementarian.org>
9855
9856         * lyxrow.C:
9857         * paragraph.C:
9858         * paragraph.h:
9859         * rowpainter.C:
9860         * text.C:
9861         * text2.C: Remove the "main" bit from the "main body"
9862           notion.
9863
9864 2003-03-08  John Levon  <levon@movementarian.org>
9865
9866         * text.C (leftMargin): The left margin of an empty
9867         manual label paragraph should not include the label width
9868         string length.
9869
9870         * text.C (prepareToPrint): don't attempt to measure hfills
9871         for empty manual label paragraphs - the answer should be 0
9872
9873 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9874
9875         * CutAndPaste.C: remove commented code and reindent.
9876
9877 2003-03-08  John Levon  <levon@movementarian.org>
9878
9879         * lyxfunc.h:
9880         * lyxfunc.C: move reloadBuffer()
9881
9882         * BufferView.h:
9883         * BufferView.C: to here
9884
9885         * lyxvc.C: add comment
9886
9887         * vc-backend.h:
9888         * vc-backend.C: call bv->reload() to avoid
9889           getStatus() check on MENURELOAD
9890
9891 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9892
9893         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9894         to an old format .dep file.
9895
9896 2003-03-07  Angus Leeming  <leeming@lyx.org>
9897
9898         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9899         when the LFUN_MOUSE_RELEASE should have been handled by
9900         inset->localDispatch.
9901
9902 2003-03-07  Angus Leeming  <leeming@lyx.org>
9903
9904         * BufferView_pimpl.C (dispatch):
9905         * LyXAction.C (init):
9906         * ToolbarDefaults.C (init):
9907         * commandtags.h:
9908         * lyxfunc.C (getStatus):
9909         remove LFUN_INSET_GRAPHICS.
9910
9911         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9912
9913 2003-03-07  Angus Leeming  <leeming@lyx.org>
9914
9915         * commandtags.h:
9916         * LyXAction.C (init):
9917         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9918
9919         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9920
9921         * commandtags.h:
9922         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9923
9924         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9925         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9926
9927 2003-03-07  Angus Leeming  <leeming@lyx.org>
9928
9929         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9930         remove "ert".
9931
9932 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * ParagraphList.C (front): new function
9935         (back): implement
9936
9937 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9938
9939         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9940         and top_row_offset_. removed var first_y.
9941         * text.C (top_y):
9942         * text2.C (LyXText, removeRow):
9943         * text3.C:
9944         * BufferView_pimpl.C:
9945         use these methods instead of using first_y
9946
9947 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9948
9949         * text2.C (pasteSelection): adjust for checkPastePossible
9950
9951         * CutAndPaste.C: remove Paragraph * buf and replace with
9952         ParagraphList paragraphs.
9953         (DeleteBuffer): delete
9954         (cutSelection): change the tc type to textclass_type
9955         (copySelection): change the tc type to textclass_type
9956         (copySelection): adjust for ParagraphList
9957         (pasteSelection): change the tc type to textclass_type
9958         (pasteSelection): adjust for Paragraphlist
9959         (nrOfParagraphs): simplify for ParagraphList
9960         (checkPastePossible): simplify for ParagraphList
9961         (checkPastePossible): remove unused arg
9962
9963         * ParagraphList.C (insert): handle the case where there are no
9964         paragraphs yet.
9965
9966         * CutAndPaste.h: make CutAndPaste a namespace.
9967
9968         * text3.C (dispatch): adjust
9969
9970         * text.C (breakParagraph): add a ParagraphList as arg
9971
9972         * paragraph_funcs.C (breakParagraph): change to take a
9973         BufferParams and a ParagraphList as args.
9974         (breakParagraphConservative): ditto
9975         (mergeParagraph): ditto
9976         (TeXDeeper): add a ParagraphList arg
9977         (TeXEnvironment): ditto
9978         (TeXOnePar): ditto
9979
9980         * buffer.C (readLyXformat2): adjust
9981         (insertStringAsLines): adjust
9982         (latexParagraphs): adjust
9983
9984         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9985         (cutSelection): adjust
9986         (pasteSelection): adjust
9987
9988         * BufferView_pimpl.C (insertInset): adjust
9989
9990 2003-03-05  Angus Leeming  <leeming@lyx.org>
9991
9992         * commandtags.h:
9993         * LyXAction.C (init):
9994         * BufferView_pimpl.C (dispatch):
9995         * lyxfunc.C (getStatus):
9996         remove LFUN_CHILD_INSERT.
9997
9998         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9999
10000 2003-03-05  Angus Leeming  <leeming@lyx.org>
10001
10002         * commandtags.h:
10003         * LyXAction.C (init):
10004         * src/factory.C (createInset):
10005         * lyxfunc.C (getStatus):
10006         * text3.C (dispatch):
10007         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10008
10009         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10010
10011 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * ParagraphList.C (insert): handle insert right before end()
10014         (erase): fix cases where it can be first or last paragraph.
10015
10016 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10017
10018         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10019         Paragraph::next and Paragraph::previous
10020         (TeXOnePar): ditto
10021
10022         * text.C (breakParagraph): adjust
10023
10024         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10025         BufferParams& as arg.
10026         (breakParagraph): use ParagraphList::insert
10027         (breakParagraphConservative): take a Buffer* instead of a
10028         BufferParams& as arg.
10029         (breakParagraphConservative): use ParagraphList::insert.
10030
10031         * buffer.C (insertStringAsLines): un-const it
10032         (insertStringAsLines): adjust
10033
10034         * ParagraphList.C (insert): new function
10035
10036         * CutAndPaste.C (pasteSelection): adjust
10037
10038         * text.C (backspace): adjust
10039
10040         * tabular.C (SetMultiColumn): adjust
10041
10042         * CutAndPaste.C (cutSelection): adjust
10043         (pasteSelection): adjust
10044
10045         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10046         Buffer const * as arg
10047
10048         * ParagraphList.C (erase): new function
10049         * paragraph_funcs.C (mergeParagraph): use it
10050         (mergeParagraph): make it take a Buffer* instead of a
10051         BufferParams* as arg
10052
10053         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10054         as arg
10055         (breakParagraphConservative): ditto
10056
10057         * paragraph.h: remove the breakParagraph friend
10058
10059         * paragraph.C (eraseIntern): new function
10060         (setChange): new function
10061
10062         * paragraph_funcs.C (mergeParagraph): make it take a
10063         ParagraphList::iterator instead of a Paragraph *, adjust
10064         accordingly.
10065
10066         * paragraph.h: move an #endif so that the change tracking stuff
10067         also works in the NO_NEXT case.
10068
10069 2003-03-04  Angus Leeming  <leeming@lyx.org>
10070
10071         * commandtags.h:
10072         * LyXAction.C: new LFUN_INSET_MODIFY.
10073
10074         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10075         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10076
10077 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10078
10079         * several files: ws changes only
10080
10081         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10082         (TeXEnvironment): ditto
10083         (TeXDeeper): ditto
10084
10085         * buffer.C (makeLaTeXFile): adjust
10086         (latexParagraphs): make it take ParagraphList::iterator as args
10087
10088 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10089
10090         * buffer.C (latexParagraphs): adjust
10091
10092         * paragraph.C (TeXOnePar): move function...
10093         (optArgInset): move function...
10094         (TeXEnvironment): move function...
10095         * paragraph_pimpl.C (TeXDeeper): move function...
10096         * paragraph_funcs.C: ...here
10097
10098         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10099
10100 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10101
10102         * buffer.C (readInset): remove compability code for old Figure and
10103         InsetInfo insets
10104
10105 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10106
10107         * buffer.C: ws changes
10108         (readInset):
10109
10110         * BufferView_pimpl.C: ditto
10111         * author.C: ditto
10112         * buffer.h: ditto
10113         * bufferlist.h: ditto
10114         * changes.h: ditto
10115         * lyxfunc.C: ditto
10116
10117 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10118
10119         * converter.[Ch]: split into itself +
10120         * graph.[Ch]
10121         * format.[Ch]
10122         * Makefile.am: += graph.[Ch] + format.[Ch]
10123         * MenuBackend.C
10124         * buffer.C
10125         * exporter.C
10126         * importer.C
10127         * lyx_main.C
10128         * lyxfunc.C
10129         * lyxrc.C: added #include "format.h"
10130
10131 2003-02-27  Angus Leeming  <leeming@lyx.org>
10132
10133         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10134           a label.
10135
10136         * factory.C (createInset): add "label" to the factory.
10137
10138         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10139           string and do no more.
10140
10141 2003-02-27  Angus Leeming  <leeming@lyx.org>
10142
10143         * commandtags.h:
10144         * LyXAction.C (init):
10145         * factory.C (createInset):
10146         * BufferView_pimpl.C (dispatch):
10147           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10148
10149         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10150
10151         * lyxfunc.C (dispatch):
10152         * text3.C (dispatch): pass name to params2string.
10153
10154 2003-02-26  Angus Leeming  <leeming@lyx.org>
10155
10156         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10157           blocks together.
10158           Rearrange the ~includes. Strip out the unnecessary ones.
10159
10160         * factory.C (createInset): reformat.
10161           create new insets for the various LFUN_XYZ_APPLY lfuns.
10162
10163 2003-02-26  John Levon  <levon@movementarian.org>
10164
10165         * lyxrow.h:
10166         * lyxrow.C: add isParStart,isParEnd helpers
10167
10168         * paragraph.h: make isInserted/DeletedText take refs
10169
10170         * paragraph_funcs.h:
10171         * paragraph_funcs.C: remove #if 0'd code
10172
10173         * lyxtext.h:
10174         * text3.C:
10175         * text2.C:
10176         * text.C: use lyxrow helpers above.
10177           Move draw and paint routines to RowPainter.
10178           Make several methods use refs not pointers.
10179           Make backgroundColor() const.
10180           Add markChangeInDraw(), isInInset().
10181           Merge changeRegionCase into changeCase.
10182           Make workWidth() shouldn't-happen code into an Assert.
10183
10184         * rowpainter.h:
10185         * rowpainter.C: new class for painting a row.
10186
10187         * vspace.h:
10188         * vspace.C: make inPixels take a ref
10189
10190 2003-02-26  Angus Leeming  <leeming@lyx.org>
10191
10192         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10193         LFUN_REF_APPLY.
10194
10195 2003-02-25  John Levon  <levon@movementarian.org>
10196
10197         * ispell.C: give the forked command a more accurate name
10198
10199 2003-02-22  John Levon  <levon@movementarian.org>
10200
10201         * toc.h:
10202         * toc.C: make TocItem store an id not a Paragraph *
10203           (bug #913)
10204
10205 2003-02-21  Angus Leeming  <leeming@lyx.org>
10206
10207         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10208           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10209           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10210           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10211           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10212           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10213
10214         * BufferView_pimpl.C (dispatch):
10215         * LyXAction.C (init):
10216         * factory.C (createInset):
10217         * lyxfunc.C (getStatus, dispatch):
10218         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10219
10220 2003-02-21  Angus Leeming  <leeming@lyx.org>
10221
10222         * BufferView_pimpl.C (MenuInsertLyXFile):
10223         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10224         * lyxfunc.C (menuNew, open, doImport):
10225           no longer pass a LyXView & to fileDlg.
10226
10227 2003-02-21  Angus Leeming  <leeming@lyx.org>
10228
10229         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10230         * LyXAction.C: change, BIBKEY to BIBITEM.
10231         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10232         Change InsetBibKey to InsetBibitem.
10233         Change BIBKEY_CODE to BIBITEM_CODE.
10234         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10235         * factory.C: replace insetbib.h with insetbibitem.h.
10236         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10237         * paragraph.C: replace insetbib.h with insetbibitem.h.
10238         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10239         Change bibkey() to bibitem().
10240         * text.C: remove insetbib.h.
10241         * text2.C: replace insetbib.h with insetbibitem.h.
10242         change bibkey() to bibitem().
10243         * text3.C: remove insetbib.h.
10244         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10245
10246 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10247
10248         * lyxrc.C (output): enclose user email in quotes (in case there are
10249         several words)
10250
10251 2003-02-18  John Levon  <levon@movementarian.org>
10252
10253         * buffer.h: add std::
10254
10255 2003-02-17  John Levon  <levon@movementarian.org>
10256
10257         * SpellBase.h:
10258         * ispell.h:
10259         * ispell.C:
10260         * pspell.h:
10261         * pspell.C: reworking. Especially in ispell, a large
10262           number of clean ups and bug fixes.
10263
10264         * lyxfunc.C: fix revert to behave sensibly
10265
10266 2003-02-17 André Pönitz <poenitz@gmx.net>
10267
10268         * LyXAction.C:
10269         * commandtags.h: new LFUN_INSERT_BIBKEY
10270
10271         * layout.h:
10272         * lyxlayout.C:
10273         * buffer.C:
10274         * factory.C:
10275         * text.C:
10276         * text2.C:
10277         * text3.C:
10278         * paragraph.[Ch]:
10279         * paragraph_func.C: remove special bibkey handling
10280
10281 2003-02-17  John Levon  <levon@movementarian.org>
10282
10283         * text.C (Delete): fix case where delete at the end of
10284           the very first paragraph would not merge the pars
10285
10286 2003-02-17  John Levon  <levon@movementarian.org>
10287
10288         * lyxrow.C: fix lastPrintablePos()
10289
10290 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * bufferparams.C (writeLaTeX): add a std:here
10293
10294         * buffer.C: and remove a using directive there
10295
10296 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * buffer.C (makeLaTeXFile): move the code that generates the
10299           preamble...
10300
10301         * bufferparams.C (writeLaTeX): ... in this new method
10302
10303         * LaTeXFeatures.C (getEncodingSet): make const
10304           (getLanguages): make const
10305
10306         * MenuBackend.C (binding): returns the binding associated to this
10307           action
10308           (add): sets the status of each item by calling getStatus. Adds
10309           some intelligence.
10310           (read): add support for OptSubMenu
10311           (expand): remove extra separator at the end of expanded menu
10312
10313 2003-02-15  John Levon  <levon@movementarian.org>
10314
10315         * BufferView.C:
10316         * BufferView_pimpl.C:
10317         * bufferlist.h:
10318         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10319           inset code that had no actual effect. Remove unneeded status
10320           code.
10321
10322 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10325           in preamble
10326
10327 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10328
10329         * text.C (drawLengthMarker): also draw an arrow marker for
10330           symbolic lengths (medskip...)
10331
10332 2003-02-14  John Levon  <levon@movementarian.org>
10333
10334         * tabular.h:
10335         * tabular.C: better method names
10336
10337 2003-02-14  John Levon  <levon@movementarian.org>
10338
10339         * BufferView_pimpl.C:
10340         * bufferlist.C:
10341         * buffer.C:
10342         * converter.C:
10343         * lyx_cb.C:
10344         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10345           it's a more accurate name. Remove some pointless uses.
10346
10347 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * text2.C (LyXText): change order of initilizers to shut off
10350           warnings
10351
10352 2003-02-14  John Levon  <levon@movementarian.org>
10353
10354         * buffer.C: use ParIterator for getParFromID()
10355
10356         * paragraph.h:
10357         * paragraph.C:
10358         * paragraph_pimpl.h:
10359         * paragraph_pimpl.C: remove unused getParFromID()
10360
10361 2003-02-14  John Levon  <levon@movementarian.org>
10362
10363         * buffer.C: remove some very old #if 0'd parse code
10364
10365 2003-02-13  John Levon  <levon@movementarian.org>
10366
10367         * text.h:
10368         * text.C:
10369         * text2.C: move hfillExpansion(), numberOfSeparators(),
10370           rowLast(), rowLastPrintable(), numberofHfills(),
10371           numberOfLabelHfills() ...
10372
10373         * lyxrow.h:
10374         * lyxrow.C: ... to member functions here.
10375
10376         * paragraph.h:
10377         * paragraph.C:
10378         * lyxtext.h:
10379         * text.C: remove LyXText::beginningOfMainBody(), and call
10380           p->beginningOfMainBody() directly. Move the check for
10381           LABEL_MANUAL into the latter.
10382
10383         * text.h:
10384         * text.C:
10385         * text2.C:
10386         * vspace.C:
10387         * BufferView.h:
10388         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10389
10390         * text.h:
10391         * text.C:
10392         * text2.C:
10393         * text3.C:
10394         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10395           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10396
10397 2003-02-13  John Levon  <levon@movementarian.org>
10398
10399         * CutAndPaste.C: remove debug
10400
10401 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * paragraph.C (asString): remove two unused variables
10404
10405         * lyxtextclass.C (readTitleType):
10406           (Read):
10407           (LyXTextClass): handle new members titletype_ and titlename_
10408
10409         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10410
10411 2003-02-09  John Levon  <levon@movementarian.org>
10412
10413         * buffer.h:
10414         * buffer.C: replace hand-coded list with a map for the dep clean
10415
10416 2003-02-08  John Levon  <levon@movementarian.org>
10417
10418         * LaTeX.C: consolidate code into showRunMessage() helper
10419
10420 2003-02-08  John Levon  <levon@movementarian.org>
10421
10422         * lyxfind.C:
10423         * lyxtext.h:
10424         * text2.C:
10425         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10426           and pass the size in explicitly
10427
10428         * BufferView_pimpl.h:
10429         * BufferView_pimpl.C:
10430         * BufferView.h:
10431         * BufferView.C: add getCurrentChange()
10432
10433         * BufferView_pimpl.h:
10434         * BufferView_pimpl.C: handle change lfuns
10435
10436         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10437           for changes. Mark pasted paragraphs as new.
10438
10439         * support/lyxtime.h:
10440         * support/lyxtime.C:
10441         * DepTable.C: abstract time_t as lyx::time_type
10442
10443         * LColor.h:
10444         * LColor.C: add colours for new text, deleted text, changebars
10445
10446         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10447           package use "usenames" option.
10448
10449         * commandtags.h:
10450         * lyxfunc.C:
10451         * LyXAction.C: add change lfuns
10452
10453         * Makefile.am:
10454         * author.h:
10455         * author.C: author handling
10456
10457         * buffer.h:
10458         * buffer.C: add a per-buffer author list, with first entry as
10459           current author. Handle new .lyx tokens for change tracking. Output
10460           author list to .lyx file. Output dvipost stuff to .tex preamble.
10461           Bump lyx format to 222.
10462
10463         * bufferlist.h:
10464         * bufferlist.C: add setCurrentAuthor() to reset current author details
10465           in all buffers.
10466
10467         * bufferparams.h:
10468         * bufferparams.C: add param for tracking
10469
10470         * bufferview_funcs.C: output change info in minibuffer
10471
10472         * Makefile.am:
10473         * changes.h:
10474         * changes.C: add change-tracking structure
10475
10476         * debug.h:
10477         * debug.C: add CHANGES debug flag
10478
10479         * lyxfind.h:
10480         * lyxfind.C: add code for finding the next change piece
10481
10482         * lyxrc.h:
10483         * lyxrc.C: add user_name and user_email
10484
10485         * lyxrow.h:
10486         * lyxrow.C: add a metric for the top of the text line
10487
10488         * lyxtext.h:
10489         * text.C: implement accept/rejectChange()
10490
10491         * lyxtext.h:
10492         * text.C: paint changebars. Paint new/deleted text in the chosen
10493         colours. Strike through deleted text.
10494
10495         * paragraph.h:
10496         * paragraph.C:
10497         * paragraph_pimpl.h:
10498         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10499           in the current change to the insert functions. Rework erase to
10500           mark text as deleted, adding an eraseIntern() and a range-based
10501           erase(). Implement per-paragraph change lookup and
10502           accept/reject.
10503
10504         * paragraph_funcs.C: Fixup paste for change tracking.
10505
10506         * tabular.C: mark added row/columns as new.
10507
10508         * text.C: fix rowLast() to never return -1. Don't allow
10509           spellchecking of deleted text. Track transpose changes. Don't
10510           allow paragraph break or merge where appropriate.
10511
10512         * text2.C: leave cursor at end of selection after a cut.
10513
10514 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10515
10516         * text.C (getLengthMarkerHeight):
10517         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10518         visible on screen too.
10519
10520 2003-02-07  John Levon  <levon@movementarian.org>
10521
10522         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10523
10524 2003-02-05  Angus Leeming  <leeming@lyx.org>
10525
10526         * lyxserver.C (read_ready): revert my patch of 11 September last year
10527         as it sends PC cpu through the roof. Presumably this means that
10528         the lyxserver will no longer run on an Alpha...
10529
10530 2003-01-30  Angus Leeming  <leeming@lyx.org>
10531
10532         * factory.C (createInset): create an InsetCommandParam of type "index"
10533         and use it to 'do the right thing'.
10534
10535         * text2.C (getStringToIndex): ensure that cursor position is always
10536         reset to the reset_cursor position.
10537
10538 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10539
10540         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10541         disabled.
10542
10543 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10544
10545         * bufferview.C:
10546         * lyxcb.C:
10547         * lyxfunc.C: Output messages with identical spelling, punctuation,
10548         and spaces
10549
10550 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10551
10552         * MenuBackend.C (expandFormats): List only viewable export formats
10553         in "View" menu
10554
10555         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10556         message
10557
10558         * lyxfunc.C (getStatus): Make sure that formats other than
10559         "fax" can also be disabled
10560
10561 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10562
10563         * text3.C (dispatch): put the lfuns that insert insets in 3
10564         groups, and call doInsertInset with appropriate arguments.
10565         (doInsertInset): new function, that creates an inset and inserts
10566         it according to some boolean parameters.
10567
10568 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10569
10570         * buffer.C (readFile): remember to pass on 'par' when calling
10571         readFile recursively.
10572
10573 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10574
10575         * MenuBackend.C (expandFormats): add "..." to import formats.
10576
10577 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * paragraph.C (asString): Remove XForms RTL hacks.
10580
10581 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10582         * buffer.C: fix typo
10583
10584 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10585
10586         * Makefile.am (LIBS): delete var
10587         (lyx_LDADD): add @LIBS@ here instead.
10588
10589 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10590
10591         * Clarify the meaning of "wheel mouse jump"
10592
10593 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10594
10595         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10596         tabular in a float
10597
10598 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * importer.C (Loaders): do not preallocate 3 elements in the
10601         vector, since one ends up with 6 elements otherwise
10602
10603 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * DepTable.C (write): write the file name as last element of the
10606         .dep file (because it may contain spaces)
10607         (read): read info in the right order
10608
10609 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10610
10611         * paragraph_pimpl.C (simpleTeXBlanks):
10612         (simpleTeXSpecialChars):
10613         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10614
10615         * tabular.C (latex): add some missing case statements. Reindent.
10616
10617         * MenuBackend.C (expandToc): remove unused variable.
10618
10619 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10620
10621         * LColor.C:
10622         * LaTeX.C:
10623         * LyXAction.C:
10624         * MenuBackend.C:
10625         * buffer.C:
10626         * exporter.C:
10627         * lyxfunc.C:
10628         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10629         and the like.
10630
10631 2003-01-05  John Levon  <levon@movementarian.org>
10632
10633         * BufferView.h:
10634         * BufferView.C: add getEncoding()
10635
10636         * kbsequence.h:
10637         * kbsequence.C: do not store last keypress
10638
10639         * lyxfunc.h:
10640         * lyxfunc.C: store last keypress here instead. Pass encoding
10641           to getISOEncoded()
10642
10643 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * lyx_main.C (init): remove annoying error message when following
10646         symbolic links (bug #780)
10647
10648 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * text.C (insertChar):
10651         * lyxrc.C (getDescription): remove extra spaces
10652
10653 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10654
10655         * lyxrc.C (getDescription): remove extra spaces
10656
10657 2002-12-20  John Levon  <levon@movementarian.org>
10658
10659         * text3.C: hack fix for page up/down across tall rows
10660
10661 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10662
10663         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10664         not been invoked
10665
10666 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10667
10668         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10669         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10670         thesaurus is not compiled in
10671
10672 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10673
10674         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10675
10676 2002-12-16  Angus Leeming  <leeming@lyx.org>
10677
10678         * lyxrc.[Ch]:
10679         * lyx_main.C (init): remove override_x_deadkeys stuff.
10680
10681 2002-12-12  John Levon  <levon@movementarian.org>
10682
10683         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10684           insert. Only remove shift modifier under strict
10685           circumstances.
10686
10687 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10688
10689         * MenuBackend.C (expandToc): fix crash.
10690
10691 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10692
10693         * MenuBackend.C (expandToc): gettext on float names.
10694
10695 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10696
10697         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10698         implement bool empty() [bug 490]
10699
10700 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10701
10702         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10703
10704 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10705
10706         * several files: ws changes
10707
10708 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10709
10710         * text2.C (setCounter): clean up a bit, use boost.format.
10711         (updateCounters): initialize par upon declaration.
10712
10713         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10714         if the layout exists. We do not just store the layout any more.
10715         (SwitchLayoutsBetweenClasses): use boost.format
10716
10717 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * converter.C (convert): if from and to files are the same, use a
10720         temporary files as intermediary
10721
10722 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10723
10724         * commandtags.h:
10725         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10726
10727 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10728
10729         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10730
10731 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10732
10733         * tabular.C (asciiPrintCell): use string(size, char) instead of
10734         explicit loop.
10735
10736         * sgml.C (openTag): fix order of arguments to string constructor
10737         (closeTag): ditto
10738
10739         * lyxfunc.C (dispatch): use boost.format
10740
10741         * lots of files: change "c" -> 'c'
10742
10743 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10744
10745         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10746
10747 2002-11-25  Angus Leeming  <leeming@lyx.org>
10748
10749         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10750
10751         * lyx_main.C (init): compile fix.
10752
10753 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10754
10755         * lyx_cb.C (start): boost.formatify
10756         do not include <iostream>
10757
10758         * lengthcommon.C: ws only
10759
10760         * boost-inst.C,BoostFormat.h: add more explict instantations
10761
10762 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10763
10764         * lots of files: handle USE_BOOST_FORMAT
10765
10766 2002-11-21  John Levon  <levon@movementarian.org>
10767
10768         * pspell.C: fix compile
10769
10770 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10771
10772         * lyxfunc.C (dispatch): use boost::format
10773         (open): ditto
10774         (doImport): ditto
10775
10776         * lyxfont.C (stateText): use boost::format
10777
10778         * lyx_main.C (LyX): use boost::format
10779         (init): ditto
10780         (queryUserLyXDir): ditto
10781         (readRcFile): ditto
10782         (parse_dbg): ditto
10783         (typedef boost::function): use the recommened syntax.
10784
10785         * importer.C (Import): use boost::format
10786
10787         * debug.C (showLevel): use boost::format
10788
10789         * converter.C (view): use boost::format
10790         (convert): ditto
10791         (move): ditto
10792         (scanLog): ditto
10793
10794         * bufferview_funcs.C (currentState): use boost::format
10795
10796         * bufferlist.C (emergencyWrite): use boost::format
10797
10798         * buffer.C (readLyXformat2): use boost::format
10799         (parseSingleLyXformat2Token): ditto
10800
10801         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10802
10803         * LaTeX.C (run): use boost::format
10804
10805         * Chktex.C (scanLogFile): use boost::format
10806
10807         * BufferView_pimpl.C (savePosition): use boost::format
10808         (restorePosition): ditto
10809         (MenuInsertLyXFile): ditto
10810
10811         * BoostFormat.h: help file for explicit instation.
10812
10813 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10814
10815         * tabular.C (latex): Support for block alignment in fixed width
10816         columns.
10817
10818 2002-11-17  John Levon  <levon@movementarian.org>
10819
10820         * BufferView_pimpl.C:
10821         * lyx_cb.C:
10822         * lyxfunc.C: split filedialog into open/save
10823
10824 2002-11-08  Juergen Vigna  <jug@sad.it>
10825
10826         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10827         by my last patch (hopefully).
10828
10829 2002-11-08  John Levon  <levon@movementarian.org>
10830
10831         * iterators.h:
10832         * iterators.C:
10833         * buffer.h:
10834         * buffer.C:
10835         * paragraph.h:
10836         * paragraph.C:
10837         * toc.h:
10838         * toc.C: ParConstIterator, and use it (from Lars)
10839
10840 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10841
10842         * lyxtextclass.[Ch]: revise and add doxygen comments
10843
10844 2002-11-07  John Levon  <levon@movementarian.org>
10845
10846         * text.C: fix progress value for spellchecker
10847
10848         * toc.C: fix navigate menu for insetwrap inside minipage
10849
10850         * paragraph_funcs.C: added FIXME for suspect code
10851
10852 2002-11-07  John Levon  <levon@movementarian.org>
10853
10854         * BufferView_pimpl.C: fix redrawing of insets
10855           on buffer switch
10856
10857 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10858
10859         * text2.C (updateCounters): fix bug 668
10860
10861 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10862
10863         * text3.C (dispatch): Do not make the buffer dirty when moving the
10864         cursor.
10865
10866 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10867
10868         * vc-backend.C: STRCONV
10869         (scanMaster): ditto
10870
10871         * text2.C (setCounter): STRCONV
10872
10873         * paragraph.C (asString): STRCONV
10874
10875         * lyxlength.C (asString): STRCONV
10876         (asLatexString): ditto
10877
10878         * lyxgluelength.C (asString): STRCONV
10879         (asLatexString): ditto
10880
10881         * lyxfunc.C (dispatch): STRCONV
10882         (open): ditto
10883
10884         * lyxfont.C (stateText): STRCONV
10885
10886         * importer.C (Import): STRCONV
10887
10888         * counters.C (labelItem): STRCONV
10889         (numberLabel): ditto
10890         (numberLabel): remove unused ostringstream o
10891
10892         * chset.C: STRCONV
10893         (loadFile): ditto
10894
10895         * bufferview_funcs.C (currentState): STRCONV
10896
10897         * buffer.C (readFile): STRCONV
10898         (asciiParagraph): ditto
10899         (makeLaTeXFile): ditto
10900
10901         * Spacing.C (writeEnvirBegin): STRCONV
10902
10903         * LaTeXFeatures.C (getLanguages): STRCONV
10904         (getPackages): ditto
10905         (getMacros): ditto
10906         (getBabelOptions): ditto
10907         (getTClassPreamble): ditto
10908         (getLyXSGMLEntities): ditto
10909         (getIncludedFiles): ditto
10910
10911         * LaTeX.C: STRCONV
10912         (run): ditto
10913         (scanAuxFile): ditto
10914         (deplog): ditto
10915
10916         * LString.h: add the STRCONV macros
10917
10918         * BufferView_pimpl.C (savePosition): STRCONV
10919         (restorePosition): ditto
10920         (MenuInsertLyXFile): ditto
10921
10922         * vc-backend.C (scanMaster): change from submatch[...] to
10923         submatch.str(...)
10924
10925         * funcrequest.C: include config.h
10926
10927         * factory.C: include config.h
10928
10929         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10930
10931         * box.C: include config.h
10932
10933         * LaTeX.C (scanAuxFile): change from submatch[...] to
10934         submatch.str(...)
10935         (deplog): ditto
10936
10937 2002-10-25  Angus Leeming  <leeming@lyx.org>
10938
10939         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10940
10941         * ispell.[Ch] (setError): new method.
10942         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10943         Use setError() insetead of goto END.
10944
10945         * lyx_cb.C (AutoSave): move out child process into new class
10946         AutoSaveBuffer.
10947
10948 2002-10-30  John Levon  <levon@movementarian.org>
10949
10950         * text3.C: make start appendix undoable
10951
10952 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10953
10954         * lyxlength.C (inPixels): Fix returned value.
10955
10956         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10957         environment.
10958
10959 2002-10-24  Angus Leeming  <leeming@lyx.org>
10960
10961         * lyxgluelength.h: no need to forward declare BufferParams
10962         or BufferView, so don't.
10963
10964 2002-10-21  John Levon  <levon@movementarian.org>
10965
10966         * BufferView.C: menuUndo ->undo, redo
10967
10968         * BufferView.h: document, remove dead, make some methods private
10969
10970         * paragraph_funcs.h:
10971         * paragraph_funcs.C:
10972         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10973
10974         * buffer.h:
10975         * buffer.C:
10976         * sgml.h:
10977         * sgml.C: move sgml open/close tag into sgml.C
10978
10979         * bufferview_funcs.h: unused prototype
10980
10981         * lyxfunc.h:
10982         * lyxfunc.C: remove unused
10983
10984         * lyxtext.h:
10985         * text.C: remove unused
10986
10987 2002-10-21  John Levon  <levon@movementarian.org>
10988
10989         * BufferView.h:
10990         * BufferView.C:
10991         * BufferView_pimpl.h:
10992         * BufferView_pimpl.C: fix mouse wheel handling based on
10993           patch from Darren Freeman
10994
10995 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10996
10997         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10998
10999 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11000
11001         * lyxlength.C (inPixels): Fix hanfling of negative length.
11002         Fix LyXLength::MU case.
11003
11004 2002-10-16  John Levon  <levon@movementarian.org>
11005
11006         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11007
11008 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * converter.C (view): add support for $$i (file name) and $$p
11011         (file path) for the viewer command. If $$i is not specified, then
11012         it is appended to the command (for compatibility with old syntax)
11013
11014 2002-10-14  Juergen Vigna  <jug@sad.it>
11015
11016         * undo_funcs.C (textHandleUndo): alter the order in which the
11017         new undopar is added to the LyXText, as we have to set first
11018         the right prev/next and then add it as otherwise the rebuild of
11019         LyXText is not correct. Also reset the cursor to the right paragraph,
11020         with this IMO we could remove the hack in "redoParagraphs()".
11021
11022 2002-10-09  Angus Leeming  <leeming@lyx.org>
11023
11024         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11025         to turn off an optimisation if a new inset is to be inserted.
11026
11027 2002-10-11 André Pönitz <poenitz@gmx.net>
11028
11029         * lyxtext.h: make some functions public to allow access
11030         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11031
11032 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * text3.C (dispatch): when changing layout, avoid an infinite loop
11035         [bug #652]
11036
11037 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11038
11039         * lyxrc.C (read): treat a viewer or converter command of "none" as
11040         if it were empty.
11041
11042         * MenuBackend.C (expandFormats): for an update, also allow the
11043         formats that are not viewable
11044
11045         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11046         script if it is newer than the lyxrc.defaults in user directory
11047
11048 2002-10-07 André Pönitz <poenitz@gmx.net>
11049
11050         * text.C: Vitaly Lipatov's small i18n fix
11051
11052 2002-09-25  Angus Leeming  <leeming@lyx.org>
11053
11054         * ispell.h: doxygen fix.
11055
11056 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11057
11058         * buffer.h (readFile): Add a new argument to the method, to allow
11059         reading of old-format templates.
11060
11061 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * toc.C (getTocList): Get TOC from InsetWrap.
11064
11065 2002-09-16  John Levon  <levon@movementarian.org>
11066
11067         * lyxfunc.C: check tabular for cut/copy too
11068
11069 2002-09-12  John Levon  <levon@movementarian.org>
11070
11071         * LyXAction.C: tidy
11072
11073         * factory.h:
11074         * factory.C: add header
11075
11076         * paragraph_funcs.h:
11077         * paragraph_funcs.C: cleanup
11078
11079 2002-09-11  John Levon  <levon@movementarian.org>
11080
11081         * PrinterParams.h: odd/even default to true
11082
11083 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11084
11085         * PrinterParams.h: update printer parameters for new xforms dialog
11086
11087 2002-09-11  Angus Leeming  <leeming@lyx.org>
11088
11089         * lyxserver.C (read_ready): re-write to make it more transparent
11090         and to make it work in coherent fashion under Tru64 Unix.
11091
11092 2002-09-11  André Pönitz <poenitz@gmx.net>
11093
11094         * commandtags.h:
11095         * LyXAction.C:
11096         * text3.C: implement LFUN_WORDSEL
11097
11098 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11099
11100         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11101         make floatlist_ a boost::shared_ptr<FloatList>
11102
11103         * lyxtextclass.C: include FloatList.h
11104         (LyXTextClass): initialize floatlist_
11105         (TextClassTags): add TC_NOFLOAT
11106         (Read): match "nofloat" to TC_NOFLOAT and use it.
11107         (readFloat): modify call to floatlist_
11108         (floats): ditto
11109         (floats): ditto
11110
11111         * FloatList.[Ch] (FloatList): remove commented out float
11112         initialization.
11113         (erase): new function
11114
11115 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11116
11117         * MenuBackend.C (expandToc): fix crash when there is no document
11118         open
11119
11120 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11121
11122         * many files: Add insetwrap.
11123
11124 2002-09-09  John Levon  <levon@movementarian.org>
11125
11126         * text2.C: remove confusing and awkward depth wraparound
11127
11128 2002-09-09  John Levon  <levon@movementarian.org>
11129
11130         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11131
11132         * buffer.h:
11133         * buffer.C: remove getIncludeonlyList()
11134
11135         * paragraph.C:
11136         * lyxfunc.C: remove headers
11137
11138 2002-09-09  Juergen Vigna  <jug@sad.it>
11139
11140         * text.C (getColumnNearX): fix form Michael this is most
11141         probably a cut&paste bug.
11142
11143 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11144
11145         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11146
11147         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11148         references, ws changes.
11149
11150         * text2.C (init): update counters after init
11151         (insertParagraph): no need to set counter on idividual paragraphs.
11152         (setCounter): access the counters object in the textclass object
11153         on in the buffer object.
11154         (updateCounters): ditto
11155
11156         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11157         shared_ptr<Counters> to avoid loading counters.h in all
11158         compilation units.
11159         (LyXTextClass): initialize ctrs_
11160         (TextClassTags): add TC_COUNTER, and ...
11161         (Read): use it here.
11162         (CounterTags): new tags
11163         (readCounter): new function
11164         (counters): new funtion
11165         (defaultLayoutName): return a const reference
11166
11167         * counters.C (Counters): remove contructor
11168         (newCounter): remove a couple of unneeded statements.
11169         (newCounter): simplify a bit.
11170         (numberLabel): some small formatting changes.
11171
11172         * buffer.[Ch]: remove all traces of counters, move the Counters
11173         object to the LyXTextClass.
11174
11175 2002-09-06  Alain Castera  <castera@in2p3.fr>
11176
11177         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11178         package to set the horizontal alignment on fixed width columns.
11179
11180         * lyx_sty.C:
11181         * lyx_sty.h: added tabularnewline macro def.
11182
11183         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11184
11185 2002-09-06  John Levon  <levon@movementarian.org>
11186
11187         * LyXAction.C: tooltips for sub/superscript
11188
11189         * MenuBackend.C: a bit more verbose
11190
11191         * lyxfunc.C: tiny clean
11192
11193         * undo_funcs.C: document undo_frozen
11194
11195 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11196
11197         * counters.C (Counters): add missing algorithm counter.
11198
11199         * text2.C (setCounter): lookup the counter with layouts latexname
11200         instead of by section number.
11201         (setCounter): use a hackish way to lookup the correct enum
11202         counter.
11203         a float name->type change
11204         reset enum couners with counter name directly instead of depth value.
11205
11206         * counters.C (Counters): remove the push_backs, change to use the
11207         float type not the float name.
11208         (labelItem): remove unused string, float name->type change
11209
11210         * counters.h: don't include vector, loose the enums and sects vectors
11211
11212 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11213
11214         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11215         (Read): add float->TC_FLOAT to textclassTags
11216         (Read): and handle it in the switch
11217         (readFloat): new function
11218
11219         * FloatList.C (FloatList): comment out the hardcoded float
11220         definitions.
11221
11222         * lyxlayout.h: ws change.
11223
11224 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11225
11226         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11227
11228 2002-09-03  Angus Leeming  <leeming@lyx.org>
11229
11230         * BufferView_pimpl.h: qualified name is not allowed in member
11231         declaration: WorkArea & Pimpl::workarea() const;
11232
11233         * factory.C: added using std::endl directive.
11234
11235         * text3.C: added using std::find and std::vector directives.
11236
11237 2002-08-29  André Pönitz <poenitz@gmx.net>
11238
11239         * lyxtext.h:
11240         * text2.C: remove unused member number_of_rows
11241
11242         * Makefile.am:
11243         * BufferView2.C: remove file, move contents to...
11244         * BufferView.C: ... here
11245
11246         * BufferView_pimpl.C:
11247         * factory.C: move more inset creation to factory
11248
11249         * vspace.C: avoid direct usage of LyXText, ws changes
11250
11251         * BufferView.[Ch]:
11252                 don't provide direct access to WorkArea, use two simple
11253                 acessors haveSelction() and workHeight() instead
11254
11255
11256 2002-08-29  John Levon  <levon@movementarian.org>
11257
11258         * BufferView_pimpl.C (dispatch): do not continue when
11259           no buffer
11260
11261 2002-08-28  André Pönitz <poenitz@gmx.net>
11262
11263         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11264
11265         * BufferView.h:
11266         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11267
11268 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11269
11270         * buffer.C: increment LYX_FORMAT to 221
11271
11272         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11273         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11274
11275         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11276
11277         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11278
11279 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11280
11281         * factory.C (createInset): use LyXTextClass::floats
11282
11283         * MenuBackend.C (expandFloatListInsert):
11284         (expandFloatInsert):
11285         (expandToc):
11286
11287         * text2.C (setCounter):
11288
11289         * LaTeXFeatures.C (useFloat):
11290         (getFloatDefinitions):
11291
11292         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11293
11294         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11295         floatlist_, with accessor floats().
11296
11297         * FloatList.h: remove global FloatList
11298
11299 2002-08-26  André Pönitz <poenitz@gmx.net>
11300
11301         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11302
11303         * BufferView.h:
11304         * BufferView2.C:
11305         * BufferView_pimpl.C:
11306         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11307
11308 2002-08-25  John Levon  <levon@movementarian.org>
11309
11310         * LyXAction.C: fix margin note description
11311
11312 2002-08-24  John Levon  <levon@movementarian.org>
11313
11314         * buffer.C:
11315         * bufferlist.C:
11316         * bufferview_funcs.C:
11317         * lyxfont.C:
11318         * undo_funcs.C: cleanups
11319
11320         * lyxfunc.C: disable CUT/COPY when no selection
11321
11322 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11323
11324         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11325         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11326
11327         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11328         Add backward compatibility to "mono", "gray" and "no".
11329
11330 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11331
11332         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11333         (and file_format >= 200).
11334
11335 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11338
11339 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11340
11341         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11342
11343 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11344
11345         * BufferView_pimpl.C:
11346         * LyXAction.C:
11347         * buffer.C:
11348         * commandtags.h:
11349         * lyxfunc.C:
11350         * paragraph.[Ch]:
11351         * text2.C:
11352         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11353         inset and code to make it  work with the paragraph code. The inset
11354         can be anywhere in the paragraph, but will only do the expected
11355         thing in LaTeX if the layout file contains the parameter line
11356                         OptionalArgs    1
11357         (or more generally, a nonzero value) for that layout.
11358
11359 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11360
11361         * paragraph.h: remove the declaration of undefined counters class
11362         function.
11363
11364 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11365
11366         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11367         Dr. Richard Hawkins.
11368
11369 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * paragraph_funcs.h: remove some unneeded includes
11372
11373         * text.C (backspace): pasteParagraph now in global scipe
11374
11375         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11376         (pasteSelection): ditto
11377
11378         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11379         * paragraph_funcs.C (pasteParagraph): ... here
11380
11381 2002-08-20  André Pönitz <poenitz@gmx.net>
11382
11383         * commandtags.h: new LFUNs for swapping/copying table row/colums
11384
11385         * LyXAction.C:
11386         * lyxfunc.C: support for new lfuns
11387
11388 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11389
11390         * tabular.C:
11391         * buffer.[Ch]: remove NO_COMPABILITY stuff
11392
11393 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11394
11395         * boost.C (throw_exception): new file, with helper function for
11396         boost compiled without exceptions.
11397
11398         * paragraph.h:
11399         * lyxlength.C:
11400         * buffer.C:
11401         * ParameterStruct.h:
11402         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11403
11404         * bufferlist.C (emergencyWriteAll): use boost bind
11405
11406         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11407
11408         * text.C: include paragraph_funcs.h
11409         (breakParagraph): breakParagraph is now in global scope
11410
11411         * paragraph_funcs.[Ch]: new files
11412
11413         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11414         global scope
11415
11416         * buffer.C: include paragraph_funcs.h
11417         (insertStringAsLines): breakParagraph is now in global scope
11418
11419         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11420         paragraph_funcs.C
11421
11422         * CutAndPaste.C: include paragraph_funcs.h
11423         (cutSelection): breakParagraphConservative is now in global scope
11424         (pasteSelection): ditto
11425
11426         * buffer.h: declare oprator== and operator!= for
11427         Buffer::inset_iterator
11428
11429         * bufferlist.C (emergencyWrite): don't use fmt(...)
11430
11431         * text3.C: add using std::endl
11432
11433         * BufferView.C (moveCursorUpdate): remove default arg
11434
11435 2002-08-20  André Pönitz <poenitz@gmx.net>
11436
11437         * buffer.[Ch]: move inline functions to .C
11438
11439         * BufferView2.C:
11440         * BufferView_pimpl.C:
11441         * text.C:
11442         * buffer.[Ch]: use improved inset_iterator
11443
11444         * buffer.C:
11445         * paragraph.[Ch]: write one paragraph at a time
11446
11447 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11448
11449         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11450         style if style is not specified.
11451
11452 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * text2.C (setCounter): when searching for right label for a
11455         caption, make sure to recurse to parent insets (so that a caption
11456         in a minipage in a figure float works) (bug #568)
11457
11458 2002-08-20  André Pönitz <poenitz@gmx.net>
11459
11460         * text3.C: new file for LyXText::dispatch() and helpers
11461
11462         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11463
11464         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11465
11466 2002-08-19  André Pönitz <poenitz@gmx.net>
11467
11468         * lyxtext.h:
11469         * text.C: new LyXText::dispatch()
11470
11471         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11472
11473 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11474
11475         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11476
11477         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11478         Hebrew text.
11479
11480 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11481
11482         * Makefile.am: use $(variables) instead of @substitutions@
11483
11484 2002-08-15  André Pönitz <poenitz@gmx.net>
11485
11486         * lyxfunc.C:
11487         * BufferView_pimpl.C: streamlining mathed <-> outer world
11488         interaction
11489
11490         * commandtags.h:
11491         * LyXAction.C: remove unused LFUN_MATH
11492
11493 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11494
11495         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11496
11497 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11498
11499         * paragraph.C (Paragraph): reformat a bit
11500         (cutIntoMinibuffer): use builtin InsetList function instad of
11501         doing it manually.
11502         (getInset): ditto
11503
11504         * buffer.C: include boost/bind.hpp, add using std::for_each
11505         (writeFileAscii): use ParagraphList iterators
11506         (validate): use for_each for validate traversal of paragraphs
11507         (getBibkeyList): use ParagraphList iterators
11508         (resizeInsets): use for_each to resizeInsetsLyXText for all
11509         paragraphs.
11510         (getParFromID): use ParagraphList iterators
11511
11512         * BufferView2.C (lockInset): use paragraph list and iterators
11513
11514 2002-08-14  John Levon  <levon@movementarian.org>
11515
11516         * lyxserver.C: remove spurious xforms include
11517
11518 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11519
11520         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11521
11522 2002-08-13  André Pönitz <poenitz@gmx.net>
11523
11524         * LyXAction.[Ch]:
11525         * lyxfunc.C: further cleaning
11526
11527 2002-08-13  André Pönitz <poenitz@gmx.net>
11528
11529         * funcrequest.h: new constructor
11530
11531         * funcrequest.C: move stuff here from .h
11532
11533         * Makefile.am:
11534         * BufferView_pimpl.C:
11535         * LyXAction.C:
11536         * toc.C:
11537         * lyxfunc.C: subsequent changes
11538
11539         * lyxfunc.h: new view() member function
11540
11541         * lyxfunc.C: subsequent changes
11542
11543 2002-08-13  Angus Leeming  <leeming@lyx.org>
11544
11545         * BufferView2.C:
11546         * BufferView_pimpl.C:
11547         * buffer.C:
11548         * converter.C:
11549         * importer.C:
11550         * lyxfunc.C:
11551         * lyxvc.C:
11552         * toc.C:
11553         * vc-backend.C:
11554         changes due to the changed LyXView interface that now returns references
11555         to member variables not pointers.
11556
11557 2002-08-13  Angus Leeming  <leeming@lyx.org>
11558
11559         * WordLangTuple (word, lang_code): return references to strings,
11560         not strings.
11561
11562         * BufferView.h:
11563         * SpellBase.h:
11564         * lyxtext.h: forward-declare WordLangTuple.
11565
11566         * BufferView2.C:
11567         * ispell.C:
11568         * pspell.C:
11569         * text.C: #include "WordLangTuple.h".
11570
11571         * lyxtext.h:
11572         * text.C: (selectNextWordToSpellcheck): constify return type.
11573
11574 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11575
11576         * buffer.C:
11577         * buffer.h:
11578         * lyxtext.h:
11579         * paragraph.C:
11580         * paragraph_pimpl.h:
11581         * text.C:
11582         * text2.C:
11583         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11584         suggested by Angus.
11585         Made updateCounter always count from start of buffer, and removed
11586         second argument (par).
11587         Reverted floats number display to '#'. Perhaps I'll try again when the
11588         code base is sanitized a bit.
11589
11590 2002-08-12  Angus Leeming  <leeming@lyx.org>
11591
11592         * buffer.[Ch] (getLabelList): constify.
11593
11594 2002-08-07  André Pönitz <poenitz@gmx.net>
11595
11596         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11597
11598         * funcrequest.h: extension to keep mouse (x,y) position
11599
11600 2002-08-12  Juergen Vigna  <jug@sad.it>
11601
11602         * BufferView2.C (insertErrors): forbid undo when inserting error
11603         insets.
11604
11605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11606
11607 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11608
11609         * ParagraphList.[Ch]: new files
11610
11611         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11612
11613         * BufferView2.C (lockInset): ParagraphList changes
11614         * toc.C: ditto
11615         * text2.C: ditto
11616         * bufferlist.C: ditto
11617         * buffer.h: ditto
11618         * buffer.C: ditto
11619
11620 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11621
11622         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11623         unused class variable counter_,
11624
11625         * paragraph.[Ch] (getFirstCounter): delete unused function
11626
11627         * counters.C: include LAssert.h
11628         (reset): add a new function with no arg, change other version to
11629         not have def. arg and to not allow empty arg.
11630
11631         * text2.C (setCounter): remove empty arg from call to Counters::reset
11632
11633 2002-08-11  John Levon  <levon@movementarian.org>
11634
11635         * Makefile.am: add WordLangTuple.h
11636
11637 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11638
11639         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11640         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11641
11642         * insets/insettext.C: InsetList changes
11643
11644         * graphics/GraphicsSupport.C (operator()): InsetList changes
11645
11646         * toc.C (getTocList): InsetList changes
11647
11648         * paragraph_pimpl.[Ch]: InsetList changes
11649
11650         * paragraph.[Ch]: InsetList changes
11651
11652         * buffer.C (inset_iterator): InsetList changes
11653         (setParagraph): ditto
11654         * buffer.h (inset_iterator): ditto
11655         * iterators.C (operator++): ditto
11656         * iterators.h: ditto
11657
11658         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11659
11660         * InsetList.[Ch]: new files, most InsetList handling moved out of
11661         paragraph.C.
11662
11663         * BufferView2.C (removeAutoInsets): InsetList changes
11664         (lockInset): ditto
11665         (ChangeInsets): ditto
11666
11667 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11668
11669         * paragraph_pimpl.h (empty): new function
11670
11671         * paragraph.[Ch] (empty): new function
11672
11673         * other files: use the new Paragraph::empty function
11674
11675 2002-08-09  John Levon  <levon@movementarian.org>
11676
11677         * lyxtext.h: remove unused refresh_height
11678
11679 2002-08-09  John Levon  <levon@movementarian.org>
11680
11681         * Makefile.am:
11682         * sgml.h:
11683         * sgml.C:
11684         * buffer.C:
11685         * paragraph.h:
11686         * paragraph.C: move sgml char escaping out of paragraph
11687
11688         * paragraph.h:
11689         * paragraph.C: remove id setter
11690
11691         * buffer.C:
11692         * paragraph.C:
11693         * paragraph_pimpl.C: remove dead tex_code_break_column
11694
11695         * bufferview_funcs.C: small cleanup
11696
11697         * lyxfunc.C: remove dead proto
11698
11699         * lyxtext.h: make some stuff private. Remove some dead stuff.
11700
11701         * lyxgluelength.C: make as[LyX]String() readable
11702
11703 2002-08-08  John Levon  <levon@movementarian.org>
11704
11705         * LyXAction.h:
11706         * LyXAction.C:
11707         * MenuBackend.C:
11708         * ToolbarDefaults.C:
11709         * lyxfunc.C:
11710         * lyxrc.C:
11711         * toc.C: lyxaction cleanup
11712
11713 2002-08-08  John Levon  <levon@movementarian.org>
11714
11715         * BufferView2.C: small cleanup
11716
11717         * lyxfind.h:
11718         * lyxfind.C: move unnecessary header into the .C
11719
11720 2002-08-08  John Levon  <levon@movementarian.org>
11721
11722         * funcrequest.h: just tedious nonsense
11723
11724         * lyx_main.h:
11725         * lyx_main.C: cleanups
11726
11727         * buffer.C:
11728         * vspace.C: remove dead header lyx_main.h
11729
11730 2002-08-07  Angus Leeming  <leeming@lyx.org>
11731
11732         * Paragraph.[Ch]:
11733         * paragraph_pimpl.h:
11734         Forward declare class Counters in paragraph.h by moving the ctrs member
11735         variable into Paragraph::Pimpl.
11736         (counters): new method, returning a reference to pimpl_->ctrs.
11737
11738         * text2.C: ensuing changes.
11739
11740 2002-08-07  John Levon  <levon@movementarian.org>
11741
11742         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11743
11744         * BufferView_pimpl.C: announce X selection on double/triple
11745           click
11746
11747         * lyx_main.C: use correct bool in batch dispatch
11748
11749         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11750
11751 2002-08-07  André Pönitz <poenitz@gmx.net>
11752
11753         * funcrequest.h: new class to wrap a kb_action and its argument
11754
11755         * BufferView.[Ch]:
11756         * BufferView_pimpl[Ch]:
11757         * LaTeX.C:
11758         * LyXAction.[Ch]:
11759         * lyxfunc.[Ch]:
11760         * lyxrc.C: subsequent changes
11761
11762
11763 2002-08-07  John Levon  <levon@movementarian.org>
11764
11765         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11766           document options change.
11767
11768 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11769
11770         * counters.[Ch]
11771         * text2.C
11772         * paragraph.[Ch]
11773         * makefile.am: move counters functionality over from
11774         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11775
11776 2002-08-06  John Levon  <levon@movementarian.org>
11777
11778         * WordLangTuple.h: new file for word + language code tuple
11779
11780         * SpellBase.h:
11781         * pspell.h:
11782         * pspell.C:
11783         * ispell.h:
11784         * ispell.C:
11785         * lyxtext.h:
11786         * text.C:
11787         * text2.C:
11788         * BufferView.h:
11789         * BufferView2.C: use WordLangTuple
11790
11791         * layout.h:
11792         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11793
11794 2002-08-06  John Levon  <levon@movementarian.org>
11795
11796         * lyx_main.C: fix cmdline batch handling
11797
11798 2002-08-06  André Pönitz <poenitz@gmx.net>
11799
11800         * lyxrc.C: set default for show_banner to true
11801
11802 2002-08-06  John Levon  <levon@movementarian.org>
11803
11804         * pspell.C: fix a crash, and allow new aspell to work
11805
11806 2002-08-06  John Levon  <levon@movementarian.org>
11807
11808         * lyxfunc.C:
11809         * kbmap.C: small cleanup
11810
11811         * vspace.h:
11812         * vspace.C: add const
11813
11814 2002-08-05  John Levon  <levon@movementarian.org>
11815
11816         * LyXAction.C: back to tabular-insert
11817
11818 2002-08-04  John Levon  <levon@movementarian.org>
11819
11820         * BufferView.h:
11821         * BufferView.C: cosmetic change
11822
11823         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11824
11825         * bufferlist.C:
11826         * buffer.h:
11827         * buffer.C:
11828         * lyxcb.h:
11829         * lyxcb.C:
11830         * lyxserver.C:
11831         * lyxvc.C:
11832         * vc-backend.C:
11833         * BufferView2.C: purge all "Lyx" not "LyX" strings
11834
11835         * lyxcursor.h:
11836         * lyxcursor.C: attempt to add some documentation
11837
11838         * lyxfunc.C:
11839         * commandtags.h:
11840         * LyXAction.C:
11841         * ToolbarDefaults.C:
11842         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11843           merge with LFUN_TABULAR_INSERT
11844
11845         * Makefile.am:
11846         * SpellBase.h:
11847         * ispell.h:
11848         * ispell.C:
11849         * pspell.h:
11850         * pspell.C: split up i/pspell implementations into separate
11851           files, many cleanups
11852
11853         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11854
11855         * text2.C: some cleanup
11856
11857         * lyxfunc.C: don't check for isp_command == "none" any more, it
11858           didn't make any sense
11859
11860 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11861
11862         * counters.[Ch]
11863         * text2.C
11864         * paragraph.[Ch]
11865         * makefile.am: move counters functionality over
11866         from text2.C/paragraph.[Ch] to counters.[Ch], and
11867         make proper C++.
11868 2002-08-02  John Levon  <levon@movementarian.org>
11869
11870         * buffer.C: s/lyxconvert/lyx2lyx/
11871
11872 2002-08-02  Angus Leeming  <leeming@lyx.org>
11873
11874         * lyxlex.C: revert John's change as it breaks reading of the user
11875         preamble.
11876
11877 2002-08-02  Angus Leeming  <leeming@lyx.org>
11878
11879         * importer.C (Import):
11880         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11881         changes due to LyXView::view() now returning a boost::shared_ptr.
11882
11883 2002-08-02  John Levon  <levon@movementarian.org>
11884
11885         * lyxlex.C: small cleanup
11886
11887 2002-08-02  John Levon  <levon@movementarian.org>
11888
11889         * text2.C (status): small cleanup, no logic change
11890
11891 2002-08-01  John Levon  <levon@movementarian.org>
11892
11893         * buffer.h:
11894         * buffer.C (writeFile): don't output alerts, caller
11895           handles this
11896
11897         * bufferlist.C:
11898         * lyx_cb.C: from above
11899
11900         * lyxfunc.C: allow to open non-existent files
11901
11902 2002-07-31  John Levon  <levon@movementarian.org>
11903
11904         * lyxserver.C: don't let incidental errors get
11905           in the way (errno)
11906
11907 2002-07-30  John Levon  <levon@movementarian.org>
11908
11909         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11910
11911 2002-07-30  John Levon  <levon@movementarian.org>
11912
11913         * lyxserver.h:
11914         * lyxserver.C: remove I/O callback too
11915
11916 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11919         log.
11920
11921 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11922
11923         * many files: strip,frontStrip -> trim,ltrim,rtrim
11924
11925 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11926
11927         * PrinterParams.h: remove extern containsOnly, and include
11928         support/lstrings.h instead.
11929
11930         * LaTeX.C (scanAuxFile): modify because of strip changes
11931         (deplog): ditto
11932         * buffer.C (makeLaTeXFile): ditto
11933         * bufferparams.C (writeFile): ditt
11934         * lyxfont.C (stateText): ditto
11935         * lyxserver.C (read_ready): ditto
11936         * vc-backend.C (scanMaster): ditto
11937
11938         * BufferView_pimpl.h: ws changes
11939
11940         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11941
11942 2002-07-26  André Pönitz <poenitz@gmx.net>
11943
11944         * kb_sequence.C: remove unnedred usings
11945
11946 2002-07-26  Juergen Vigna  <jug@sad.it>
11947
11948         * lyxfind.C (LyXReplace): we have to check better if the returned
11949         text is not of theLockingInset()->getLockingInset().
11950
11951 2002-07-25  Juergen Vigna  <jug@sad.it>
11952
11953         * lyxfind.C (LyXReplace): don't replace if we don't get the
11954         right LyXText.
11955
11956         * undo_funcs.C (createUndo): remove debugging code.
11957
11958 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11959
11960         * buffer.C (parseSingleLyXformat2Token): Use default placement
11961         when reading old floats.
11962
11963         * FloatList.C (FloatList): Change the default placement of figure
11964         and tables to "tbp".
11965
11966 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * MenuBackend.C: using std::max
11969
11970 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * MenuBackend.C (expandToc):
11973         (expandToc2): code moved from xforms menu frontend. It is now
11974         generic and TOCs are transparent to menu frontends.
11975
11976 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11977
11978         * toc.C (getTocList): protect against buf=0
11979
11980         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11981         Menu as first parameter. Now, this calls itself recursively to
11982         expand a whole tree (this will be useful for TOC handling)
11983         (expandFloatInsert): remove 'wide' version of floats
11984
11985         * MenuBackend.h (submenuname): returns the name of the submenu.
11986         (submenu): returns the submenu itself, provided it has been
11987         created by MenuBackend::expand
11988
11989 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11990
11991         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11992         insets which have noFontChange == true. (bug #172)
11993
11994 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11995
11996         * BufferView_pimpl.C: add connection objects and use them...
11997         (Pimpl): here.
11998
11999 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12000
12001         * MenuBackend.C (expandLastfiles):
12002         (expandDocuments):
12003         (expandFormats):
12004         (expandFloatListInsert):
12005         (expandFloatInsert):
12006         (expand): split expand in parts
12007
12008 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * lyx_gui.C: use lyx_gui::exit()
12011
12012 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * LyXAction.C: show the failing pseudo action
12015
12016 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * buffer.C (readFile): Run the lyxconvert script in order to read
12019         old files.
12020
12021 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * LyXAction.C:
12024         * commandtags.h:
12025         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12026
12027 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * LyXAction.C:
12030         * commandtags.h:
12031         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12032
12033 2002-07-22  Herbert Voss  <voss@lyx.org>
12034
12035         * lengthcommon.C:
12036         * lyxlength.[Ch]: add support for the vertical lengths
12037
12038 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * toc.[Ch]: std:: fixes
12041
12042 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * lyxrc.C: do not include lyx_main.h
12045
12046         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12047         for layouts
12048
12049         * lyxrc.C:
12050         * encoding.C:
12051         * bufferlist.C:
12052         * BufferView2.C: include "lyxlex.h"
12053
12054         * tabular.h:
12055         * bufferparams.h: do not #include "lyxlex.h"
12056
12057         * lyxtextclasslist.C (Add): remove method
12058         (classlist): renamed to classlist_
12059
12060         * paragraph_pimpl.C:
12061         * paragraph.C:
12062         * text2.C:
12063         * CutAndPaste.C:
12064         * bufferview_funcs.C:
12065         * bufferlist.C:
12066         * text.C:
12067         * LaTeXFeatures.C:
12068         * buffer.C:
12069         * toc.C (getTocList): use BufferParams::getLyXTextClass
12070
12071         * toc.C (getTocList): use InsetFloat::addToToc
12072
12073         * toc.[Ch]: new files, containing helper functions to handle table
12074         of contents
12075
12076         * lyxfunc.C (dispatch): no need to remove spaces around command
12077         given as a string
12078         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12079         first command of the sequence; it is not very clever, but I do not
12080         have a better idea, actually
12081
12082         * LyXAction.C (LookupFunc): make sure to remove space at the
12083         beginning and end of the command
12084
12085 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * MenuBackend.C (getMenubar): new method: return the menubar of
12088         this menu set
12089         (read): treat differently reading of menu and menubar (in
12090         particular, the menubar has no name now)
12091         (Menu::menubar): remove
12092
12093         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12094         saving is finished
12095
12096 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12097
12098         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12099         a bibitem inset in a RTL paragraph.
12100
12101 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * paragraph_pimpl.C: constify
12104
12105         * BufferView_pimpl.C:
12106         * LaTeX.C:
12107         * lyxfunc.C: fix dispatch in a nicer way
12108
12109 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * lyxfunc.C (dispatch):
12112         * BufferView_pimpl.C:
12113         * BufferView_pimpl.h:
12114         * BufferView.C:
12115         * BufferView.h: rename Dispatch() to dispatch()
12116
12117         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12118
12119         * lyxlayout.C (Read): honor DependsOn tag
12120
12121         * lyxlayout.[Ch] (depends_on): new method
12122
12123         * version.C.in: update lyx_docversion
12124
12125         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12126
12127         * paragraph.C (validate): remove from here...
12128         * paragraph_pimpl.C (validate): ... and move here
12129         (isTextAt): make it const
12130
12131         * buffer.C (getLists): ws cleanup
12132
12133 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * language.C (read): Use iso8859-1 encoding in latex_lang
12136         (this prevents LyX from crashing when using iso10646-1 encoding).
12137
12138 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12139
12140         * text2.C (toggleInset): if cursor is inside an inset, close the
12141         inset and leave cursor _after_ it
12142
12143 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * lyxfunc.C: move minibuffer completion handling out of here
12146
12147 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * BufferView_pimpl.C:
12150         * LaTeX.C: fix dispatch calls
12151
12152 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12153
12154         * text.C (drawChars): Fix Arabic text rendering.
12155
12156 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * LyXAction.C:
12159         * commandtags.h:
12160         * lyxfunc.C: remove message-push/pop
12161
12162         * lyxserver.C:
12163         * lyxfunc.h:
12164         * lyxfunc.C: rationalise some code by removing verboseDispatch
12165           in favour of a bool argument to dispatch()
12166
12167 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * lyx_main.C (init): make sure to read symlinks as absolute paths
12170
12171 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * lyxfunc.h:
12174         * lyxfunc.C: no need for commandshortcut to be a member
12175
12176 2002-07-15  André Pönitz <poenitz@gmx.net>
12177
12178         * converter.C: add support for $$s (scripts from lib/scripts dir)
12179         * lyx_main.C: white space
12180
12181 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * bufferlist.C:
12184         * lyxrc.h:
12185         * lyxrc.C: remove second exit confirmation
12186
12187 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * BufferView.h:
12190         * BufferView.C:
12191         * BufferView2.C:
12192         * BufferView_pimpl.h:
12193         * BufferView_pimpl.C:
12194         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12195
12196 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12197
12198         * MenuBackend.C (expand): add numeric shortcuts to document menu
12199
12200         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12201
12202 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * lyxfont.C (setLyXFamily):
12205         (setLyXSeries):
12206         (setLyXShape):
12207         (setLyXSize):
12208         (setLyXMisc):
12209         (lyxRead):
12210         * debug.C (value):
12211         * buffer.C (asciiParagraph): use ascii_lowercase
12212
12213 2002-07-15  Mike Fabian  <mfabian@suse.de>
12214
12215         * lyxlex_pimpl.C (search_kw):
12216         * lyxlex.C (getLongString):
12217         * converter.h (operator<):
12218         * converter.C (operator<):
12219         * buffer.C (parseSingleLyXformat2Token):
12220         (asciiParagraph):
12221         * ToolbarDefaults.C (read):
12222         * MenuBackend.C (checkShortcuts):
12223         (read):
12224         * LColor.C (getFromGUIName):
12225         (getFromLyXName): use the compare_ascii_no_case instead of
12226         compare_no_case, because in turkish, 'i' is not the lowercase
12227         version of 'I', and thus turkish locale breaks parsing of tags.
12228
12229 2002-07-16  Angus Leeming  <leeming@lyx.org>
12230
12231         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12232         now takes a Buffer const & argument.
12233
12234 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * BufferView.C (resize): check there's a buffer to resize
12237
12238 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * lyxfunc.C: remove dead code
12241
12242         * lyxserver.h:
12243         * lyxserver.C: use lyx_guii::set_read_callback
12244
12245 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12246
12247         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12248         an inset in a RTL paragraph.
12249
12250 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * lyxfunc.C: repaint after a font size update
12253
12254 2002-07-15  André Pönitz <poenitz@gmx.net>
12255
12256         * lyxlength.C: inBP should be able to return negative values
12257
12258 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12259
12260         * lyxfunc.C: use lyx_gui::update_fonts()
12261
12262 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * lyxfunc.C: use lyx_gui::update_color()
12265
12266 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * bufferlist.C:
12269         * lyxfunc.h:
12270         * lyxfunc.C:
12271         * lyxrc.h:
12272         * lyxrc.C: remove file->new asks for name option, and let
12273           buffer-new take an argument
12274
12275 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * BufferView_pimpl.C: remove unneeded extra repaint()
12278
12279 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12280
12281         * LyXAction.C: allow command-sequence with NoBuffer
12282
12283         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12284
12285 2002-07-10  Angus Leeming  <leeming@lyx.org>
12286
12287         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12288
12289 2002-07-09  Angus Leeming  <leeming@lyx.org>
12290
12291         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12292
12293 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * lengthcommon.h: whitespace
12296
12297         * lyxfunc.C: update scrollbar after goto paragraph
12298
12299         * lyxtext.h: factor out page break drawing, and fix it so
12300           page break/added space paints as selected nicely
12301
12302 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView_pimpl.C: add FIXMEs, clean up a little
12305
12306 2002-07-09  André Pönitz <poenitz@gmx.net>
12307
12308         * lyxfont.[Ch]: support for wasy symbols
12309
12310 2002-07-08  André Pönitz <poenitz@gmx.net>
12311
12312         * BufferView_pimpl.C: apply John's patch for #93.
12313
12314 2002-07-05  Angus Leeming  <leeming@lyx.org>
12315
12316         * BufferView_pimpl.C (buffer): generate previews if desired.
12317
12318         * LColor.h: add "preview" to the color enum.
12319
12320         * LColor.C (LColor): add a corresponding entry to the items array.
12321
12322         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12323         with this buffer.
12324
12325 2002-07-05  Angus Leeming  <leeming@lyx.org>
12326
12327         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12328         The body of the code is now in the method that is passed an ostream &
12329         rather than a file name.
12330         Pass an additional only_preamble parameter, useful for the forthcoming
12331         preview stuff.
12332
12333 2002-07-03  André Pönitz <poenitz@gmx.net>
12334
12335         * lyxfunc.C: simplify getStatus() a bit for math stuff
12336
12337 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12338
12339         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12340
12341 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * text.C (changeRegionCase): do not change case of all the
12344         document when region ends at paragraph end (bug #461)
12345
12346 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * paragraph.C (startTeXParParams):
12349         (endTeXParParams): add \protect when necessary
12350
12351 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * BufferView_pimpl.C (workAreaExpose): remove warning
12354
12355 2002-06-27  Angus Leeming  <leeming@lyx.org>
12356
12357         * Makefile.am: add lyxlayout_ptr_fwd.h.
12358
12359 2002-06-26  André Pönitz <poenitz@gmx.net>
12360
12361         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12362
12363 2002-06-25  Angus Leeming  <leeming@lyx.org>
12364
12365         * lyxfunc.C (dispatch): Comment out the call to
12366         grfx::GCache::changeDisplay. The method no longer exists now that the
12367         pixmap generation part of the graphics loader has been moved into
12368         InsetGraphics.
12369
12370 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12371
12372         * text2.C: layout as layout
12373
12374         * text.C: layout as layout
12375
12376         * tabular.C (OldFormatRead): layout as layout
12377
12378         * paragraph_pimpl.C (TeXDeeper): layout as layout
12379         (realizeFont): layout as layout
12380
12381         * paragraph.C (writeFile): layout as layout
12382         (validate): layout as layout
12383         (getFont): layout as layout
12384         (getLabelFont): layout as layout
12385         (getLayoutFont): layout as layout
12386         (breakParagraph): layout as layout
12387         (stripLeadingSpaces): layout as layout
12388         (getEndLabel): layout as layout
12389         (getMaxDepthAfter): layout as layout
12390         (applyLayout): layout as layout
12391         (TeXOnePar): layout as layout
12392         (simpleTeXOnePar): layout as layout
12393         (TeXEnvironment): layout as layout
12394         (layout): layout as layout
12395         (layout): layout as layout
12396
12397         * lyxtextclass.C (compare_name): new functor to work with
12398         shared_ptr, layout as layout
12399         (Read): layout as layout
12400         (hasLayout): layout as layout
12401         (operator): layout as layout
12402         (delete_layout): layout as layout
12403         (defaultLayout): layout as layout
12404
12405         * lyxlayout_ptr_fwd.h: new file
12406
12407         * lyxlayout.C (Read): layout as layout
12408
12409         * lyx_cb.C (MenuInsertLabel): layout as layout
12410
12411         * bufferlist.C (newFile): layout as layout
12412
12413         * buffer.C (readLyXformat2): layout as layout
12414         (parseSingleLyXformat2Token): layout as layout
12415         (insertStringAsLines): layout as layout
12416         (asciiParagraph): layout as layout
12417         (latexParagraphs): layout as layout
12418         (makeLinuxDocFile): layout as layout
12419         (simpleLinuxDocOnePar): layout as layout
12420         (makeDocBookFile): layout as layout
12421         (simpleDocBookOnePar): layout as layout
12422         (getLists): layout as layout
12423
12424         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12425
12426         * CutAndPaste.C (cutSelection): layout as layout
12427         (pasteSelection): layout as layout
12428         (SwitchLayoutsBetweenClasses): layout as layout
12429
12430         * BufferView_pimpl.C (Dispatch): layout as layout
12431         (smartQuote): layout as layout
12432
12433         * BufferView2.C (unlockInset): layout as layout
12434
12435 2002-06-24  André Pönitz <poenitz@gmx.net>
12436
12437         * lyxfunc.C: fix #487
12438
12439 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * lyxrc.h:
12442         * lyxrc.C:
12443         * lyxfunc.C: remove display_shortcuts, show_banner
12444
12445 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * Buffer_pimpl.C: oops, update on resize
12448
12449 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12450
12451         * buffer.C:
12452         * converter.C:
12453         * exporter.C:
12454         * lyxfunc.C:
12455         * BufferView.h:
12456         * BufferView.C: use repaint()
12457
12458         * BufferView_pimpl.h:
12459         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12460           as it's a clearer description. Remove superfluous
12461           redraws.
12462
12463 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * text.C: fix bug 488. Not ideal, but getting
12466           getWord() to work properly for the insets that
12467           matter is more difficult ...
12468
12469 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * BufferView_pimpl.C:
12472         * LyXAction.C:
12473         * commandtags.h:
12474         * lyxfunc.C: remove the six million index lyxfuncs to just
12475           one, and DTRT (bug 458)
12476
12477 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * BufferView.h:
12480         * BufferView.C:
12481         * BufferView_pimpl.h:
12482         * BufferView_pimpl.C: clean up resize() stuff,
12483           and unnecessary updateScreen()s
12484
12485 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * BufferView.h:
12488         * BufferView.C:
12489         * BufferView_pimpl.h:
12490         * BufferView_pimpl.C:
12491         * lyxfind.h:
12492         * lyxfind.C:
12493         * minibuffer.C: remove focus management of workarea,
12494           not needed. Use screen's greyOut()
12495
12496 2002-06-17  Herbert Voss  <voss@lyx.org>
12497
12498         * converter.C: (convert) do not post a message, when converting
12499         fails, let the calling function decide what to do in this case
12500
12501 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * lyxfunc.C: tidy up a little
12504
12505 2002-06-16    <alstrup@diku.dk>
12506
12507         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12508         Got rid of FORMS_H_LOCATION include. Now we are
12509         GUII.
12510
12511 2002-06-15  LyX Development team  <lyx@rilke>
12512
12513         * buffer.[Ch] (sgmlOpenTag):
12514         (sgmlCloseTag): Added support for avoiding pernicious mixed
12515         content. Return number of lines written.
12516
12517         (makeLinuxDocFile):
12518         (makeDocBookFile): Fixed calls to sgml*Tag.
12519         Simple white space clean.
12520
12521         (simpleDocBookOnePar): Simple white space clean.
12522
12523         * tabular.[Ch] (docBook): Renamed to docbook and got another
12524         argument to related with the pernicious mixed content.
12525
12526         (docbookRow): Fixed calls for docbook inset method.
12527
12528 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12529
12530         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12531         so it's X11 independent.
12532
12533         * kb*.[Ch]: ditto.
12534
12535         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12536
12537 2002-06-15  Lyx Development team  <lyx@electronia>
12538
12539         * intl.h: Renamed getTrans to getTransManager.
12540
12541 2002-06-14  Angus Leeming  <leeming@lyx.org>
12542
12543         * Makefile.am: nuke forgotten stl_string_fwd.h.
12544
12545 2002-06-12  Angus Leeming  <leeming@lyx.org>
12546
12547         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12548
12549 2002-06-13  Angus Leeming  <leeming@lyx.org>
12550
12551         * LaTeX.C:
12552         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12553
12554 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12555
12556         * kbmap.C (getiso): add support for cyrillic and greek
12557
12558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView.h:
12561         * BufferView.C:
12562         * BufferView_pimpl.h:
12563         * BufferView_pimpl.C: move bogus scrolling logic
12564           to xforms
12565
12566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * lyxfunc.C:
12569         * BufferView_pimpl.C: view->resize() change
12570
12571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * BufferView_pimpl.C: topCursorVisible
12574           prototype change
12575
12576 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * Makefile.am:
12579         * lyx_gui.h:
12580         * lyx_gui.C: move to frontends/
12581
12582         * main.C:
12583         * lyx_main.h:
12584         * lyx_main.C: changes from above
12585
12586 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * intl.C:
12589         * intl.h:
12590         * kbmap.C:
12591         * kbsequence.C:
12592         * lyx_cb.C:
12593         * lyx_main.C: minor tidy
12594
12595 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * BufferView_pimpl.h:
12598         * BufferView_pimpl.C:
12599         * BufferView.h:
12600         * BufferView.C: make painter() const,
12601           remove dead code
12602
12603         * BufferView2.C: use screen() accessor
12604
12605         * lyx_main.h:
12606         * lyx_main.C: some minor cleanup
12607
12608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * BufferView_pimpl.h:
12611         * BufferView_pimpl.C: remove enter/leaveView,
12612           use workHeight()
12613
12614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * BufferView.h:
12617         * BufferView.C:
12618         * BufferView2.C:
12619         * BufferView_pimpl.h:
12620         * BufferView_pimpl.C: only construct screen once,
12621           rename
12622
12623         * lyxrc.C: remove pointless comment
12624
12625 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * BufferView.h:
12628         * BufferView.C: remove active() and belowMouse()
12629
12630         * BufferView_pimpl.h:
12631         * BufferView_pimpl.C: use workarea() not workarea_,
12632           and make it use a scoped_ptr instead
12633
12634 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * lyx_gui.C: add debug message on BadWindow
12637
12638 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * sp_spell.C: fdopen is not part of the C++ standard.
12641
12642         * paragraph.C (InsetIterator): use >= instead of ==
12643
12644 2002-06-07  Angus Leeming  <leeming@lyx.org>
12645
12646         Fixes needed to compile with Compaq cxx 6.5.
12647         * BufferView_pimpl.C:
12648         * DepTable.C:
12649         * buffer.C:
12650         * converter.C:
12651         * encoding.C:
12652         * lyx_gui.C:
12653         * lyx_main.C:
12654         * lyxtextclasslist.C:
12655         * minibuffer.C:
12656         * sp_spell.C:
12657         * tabular_funcs.C:
12658         * vc-backend.C:
12659         all c-library variables have been moved into namespace std. Wrap
12660         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12661
12662         * lyxlength.C:
12663         * tabular-old.C:
12664         * tabular.C:
12665         Add a using std::abs declaration.
12666
12667         * kbmap.h (modifier_pair):
12668         * paragraph.h (InsetTable, InsetList):
12669         * lyxfont.h (FontBits):
12670         type definition made public.
12671
12672         * bufferlist.C (emergencyWriteAll): the compiler complains that
12673         there is more than one possible lyx::class_fun template to choose from.
12674         I re-named the void specialisation as lyx::void_class_fun.
12675
12676         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12677
12678         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12679         the compiler is is unable to find tostr in write_attribute.
12680
12681 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * buffer.C (sgmlError): hide #warning
12684
12685 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12686
12687         * xtl/*: get rid of xtl, which is not in use anyway
12688
12689         * LyXAction.C (init):
12690         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12691         were unimplemented xtl experimentation
12692
12693 2002-06-04  André Pönitz <poenitz@gmx.net>
12694
12695         * lyxfunc.C: disable array operation on simple formulae
12696
12697 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * converter.C: constify a bit
12700
12701 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * lyx_gui.C: check xforms version correctly
12704
12705 2002-04-30  Herbert Voss  <voss@lyx.org>
12706
12707         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12708         "keep" option
12709
12710 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12713           attempt to register it with a VCS)
12714
12715 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12716
12717         * lyx_main.C (init): honor variables LYX_DIR_13x and
12718         LYX_USERDIR_13x
12719
12720 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * buffer.h:
12723         * buffer.C:
12724         * lyx_main.C: fix a crash on bad command line,
12725           and give a useful exit status on error
12726
12727         * lyxfunc.C (doImport): allow -i lyx to work
12728
12729 2002-03-30  André Pönitz <poenitz@gmx.net>
12730
12731         * lyxfunc.C: mathed font changes
12732
12733 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12734
12735         * LaTeX.C:
12736         * importer.h:
12737         * importer.C:
12738         * lyx_sty.h:
12739         * lyx_sty.C:
12740         * lyxlex.C:
12741         * lyxrow.h:
12742         * lyxtext.h:
12743         * paragraph.h:
12744         * paragraph.C:
12745         * texrow.h:
12746         * texrow.C:
12747         * text.C:
12748         * trans_mgr.h: srcdocs, and some minor cleanups
12749
12750 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12753         call getFont all the time)
12754
12755 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * switch from SigC signals to boost::signals
12758
12759 2002-05-29  André Pönitz <poenitz@gmx.net>
12760
12761         * paragraph_pimpl.C (getChar): don't call size() too often...
12762
12763 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12764
12765         * paragraph_pimpl.C (insertChar): do not try to update tables when
12766         appending (pos == size())
12767
12768         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12769         in order to reduce drastically the number of comparisons needed to
12770         parse a large document
12771
12772 2002-05-29  André Pönitz <poenitz@gmx.net>
12773
12774         * text.C:
12775         * text2.C:
12776         * lyxtextclass.C:
12777         * sp_pspell.h:
12778         * textclasslist.[Ch]:
12779         * sp_ispell.h: whitespace change
12780
12781 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12782
12783         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12784         lyxaction directly now.
12785
12786 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * trans.C:
12789         * lyxfont.C:
12790         * lyxvc.C: remove unused headers
12791
12792 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * Makefile.am:
12795         * buffer.h:
12796         * undostack.h:
12797         * undostack.C:
12798         * undo_funcs.h:
12799         * undo_funcs.C: some cleanups. Use shared_ptr
12800           and a template for the undo stacks.
12801
12802 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * BufferView_pimpl.h:
12805         * BufferView_pimpl.C:
12806         * kbmap.h:
12807         * kbmap.C:
12808         * kbsequence.h:
12809         * kbsequence.C:
12810         * lyxfunc.h:
12811         * lyxfunc.C:
12812         * text2.C: use key_state/mouse_state
12813
12814 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12817         and LSubstring
12818
12819         * chset.C: change include order
12820         (loadFile): use boost regex and get rid of LRegex and LSubstring
12821
12822         * Makefile.am (BOOST_LIBS): new variable
12823         (lyx_LDADD): use it
12824
12825         * LaTeX.C: change include order.
12826         (scanAuxFile): use boost regex and get rid of LRegex and
12827         LSubstring
12828         (deplog): ditto
12829
12830 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * ColorHandler.h:
12833         * ColorHandler.C:
12834         * FontInfo.h:
12835         * FontInfo.C: moved to frontends/xforms/
12836
12837         * FontLoader.h:
12838         * FontLoader.C: moved into frontends for GUIIzation
12839
12840         * Makefile.am:
12841         * lyx_gui.C:
12842         * lyxfont.C:
12843         * lyxfunc.C: changes from above
12844
12845 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * LColor.C: remove spurious X include
12848
12849         * BufferView_pimpl.C:
12850         * Makefile.am:
12851         * font.h:
12852         * font.C:
12853         * text.C:
12854         * text2.C: move font metrics to frontends/
12855
12856 2002-05-24  Juergen Vigna  <jug@sad.it>
12857
12858         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12859         setting the undo_cursor.
12860
12861         * ParagraphParameters.h: include local includes first.
12862
12863 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * BufferView_pimpl.C:
12866         * BufferView_pimpl.h:
12867         * Makefile.am:
12868         * WorkArea.h:
12869         * WorkArea.C:
12870         * screen.C: move WorkArea into frontends/
12871
12872         * lyxscreen.h:
12873         * screen.C:
12874         * text.C:
12875         * BufferView.C:
12876         * BufferView2.C: move LyXScreen into frontends/
12877
12878         * lyxlookup.h:
12879         * lyxlookup.C:
12880         * lyx_gui.C: move lyxlookup into frontends/xforms/
12881
12882 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * BufferView2.C:
12885         * BufferView_pimpl.C:
12886         * FontLoader.C:
12887         * LyXView.h:
12888         * LyXView.C:
12889         * Makefile.am:
12890         * WorkArea.C:
12891         * XFormsView.h:
12892         * XFormsView.C:
12893         * buffer.C:
12894         * bufferlist.C:
12895         * bufferview_funcs.C:
12896         * converter.C:
12897         * importer.C:
12898         * lyx_cb.C:
12899         * lyx_gui.C:
12900         * lyx_main.C:
12901         * lyx_find.C:
12902         * lyxfunc.C:
12903         * lyxvc.C:
12904         * minibuffer.C:
12905         * text.C:
12906         * text2.C:
12907         * trans.C:
12908         * vc-backend.C: move LyX/XFormsView into frontends/
12909
12910 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * Makefile.am:
12913         * PainterBase.C:
12914         * PainterBase.h:
12915         * Painter.C:
12916         * Painter.h:
12917         * WorkArea.C:
12918         * WorkArea.h:
12919         * screen.C:
12920         * tabular.C:
12921         * text.C:
12922         * text2.C: move Painter to frontends/
12923
12924 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * buffer.C: comment out some some code that depend upon lyx_format
12927         < 220
12928
12929         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12930         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12931
12932         * buffer.h (NO_COMPABILITY): turn off compability
12933
12934         * ColorHandler.C: include scoped_array.hpp
12935
12936         * font.C: Use more specific smart_ptr header.
12937         * Painter.C: ditto
12938         * gettext.C: ditto
12939         * ShareContainer.h: ditto
12940         * lyx_main.h: ditto
12941         * kbmap.h: ditto
12942         * FontInfo.h: ditto
12943         * BufferView_pimpl.h: ditto
12944         * ColorHandler.h: ditto
12945
12946         * kbmap.C (defkey): change call to shared_ptr::reset
12947
12948 2002-05-21  Juergen Vigna  <jug@sad.it>
12949
12950         * buffer.C (insertErtContents): fix to insert ert asis if it is
12951         non empty. Skip it completely if it contains only whitespaces.
12952
12953 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * BufferView_pimpl.C:
12956         * BufferView2.C: clear selection on paste (bug 393)
12957
12958 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * DepTable.C: include ctime
12961
12962 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12965
12966 2002-05-14  Juergen Vigna  <jug@sad.it>
12967
12968         * text.C (breakParagraph): fixed function to honor the keepempty
12969         layout in the right maner and also to permit the right breaking
12970         algorithm on empty or non empyt keepempty paragraphs.
12971
12972         * paragraph.C (breakParagraph): we have to check also if the par
12973         is really empty (!size()) for isempty otherwise we do the wrong
12974         paragraph break.
12975
12976 2002-05-10  Juergen Vigna  <jug@sad.it>
12977
12978         * buffer.[Ch] : The following are only changes to the ert
12979         compatibility read reading old LaTeX layout and font stuff and
12980         convert it to ERTInsets.
12981
12982         * buffer.h: added isErtInset().
12983
12984         * buffer.C (struct ErtComp): add a fromlayout bool to check
12985         if we're inside a LaTeX layout.
12986         (isErtInset): new helper function.
12987         (insertErtContents): look for other ert insets before this one
12988         and insert the contents there, so that we don't have subsequent
12989         ERT insets with nothing between them. This way we create only one
12990         inset with multiple paragraphs. Also check if we don't insert only
12991         spaces ' ' as they are ignored anyway afterwards in the .tex file
12992         so if we have only spaces we will ignore this latex part in the
12993         new file.
12994         (parseSingleLyXformat2Token \\layout): better compatibility when
12995         reading layout-latex stuff.
12996         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12997         language tag.
12998         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12999         stuff after reading the inset only get the information back from
13000         the stack.
13001
13002 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13003
13004         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13005
13006         * LaTeXFeatures.C (getBabelOptions): New method.
13007
13008 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * BufferView_pimpl.C (Dispatch): work around missing argument for
13011         'layout'
13012
13013 2002-05-08  Juergen Vigna  <jug@sad.it>
13014
13015         * text.C (leftMargin): handle paragraph leftindent.
13016
13017         * paragraph.C (writeFile): write the new \\leftindent tag.
13018         (validate): handle leftindent code.
13019         (TeXEnvironment): handle paragraphleftindent code again.
13020
13021         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13022
13023         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13024         for paragrap_extra indent code and new token \\leftindent.
13025         (latexParagraphs): handle the leftindent as environment.
13026
13027         * ParameterStruct.h: added leftindent support.
13028
13029         * ParagraphParameters.C (leftIndent): added support functions for
13030         the paragraph left indent.
13031
13032         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13033         more appropriate.
13034
13035 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13036
13037         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13038         inside insetERT.
13039
13040         * text.C (computeBidiTables): No bidi in insetERT.
13041
13042         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13043         in RTL documents.
13044
13045 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * version.C.in: pre 5
13048
13049 2002-05-02  José Matos  <jamatos@fep.up.pt>
13050         * buffer.C (makeDocBookFile): white space changes, add newline to
13051         command styles.
13052         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13053
13054         * tabular.C (docBook): fix typo.
13055
13056 2002-05-03  Juergen Vigna  <jug@sad.it>
13057
13058         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13059         change in LyXText as we can not be sure it was not freed.
13060         (drawOneRow): remove unused code.
13061
13062         * text.C (drawInset): redo the calculation of the need_break_row as
13063         it could have a row which was already freed.
13064         (draw): look at the return value of drawInset and return false if
13065         it also returned false.
13066         (paintRowText): look at the return value of draw and return false if
13067         it also returned false.
13068
13069         * lyxtext.h: added bool return type to drawInset() and draw() so that
13070         if we have a change in the row so that the rowbreak has to be redone
13071         we abort drawing as it will be called again.
13072
13073 2002-05-02  Juergen Vigna  <jug@sad.it>
13074
13075         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13076         a change in the maintext also if we're inside an inset.
13077         (Dispatch): set the cursor again after a break line and after the
13078         screen has been updated as it could be we're in a different row.
13079
13080         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13081         to set the cursor behind the pargraph with > size().
13082         (setCursor): check also for the same paragraph when checking where
13083         to put the cursor if we have a NFR inset.
13084
13085         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13086         parts of layout read further up as it still was in the wrong
13087         position.
13088
13089 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13090
13091         * screen.C (drawFromTo): change sine fullRebreak always return
13092         true.
13093
13094         * buffer.C (parseSingleLyXformat2Token): reindent some
13095
13096         * BufferView_pimpl.C (update): change since fullRebreak always
13097         return true.
13098         (Dispatch): git rid of the last hardcoded "Standard"s.
13099
13100 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * text2.[Ch] (fullRebreak): make it return void now that we always
13103         returned true.
13104
13105 2002-04-30  Juergen Vigna  <jug@sad.it>
13106
13107         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13108         ert compatibility check for "latex" layout.
13109
13110 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13111
13112         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13113         minipages: use col% instead of p%, and also use the current font.
13114         (makeLaTeXFile): Fix use babel condition.
13115         (parseSingleLyXformat2Token): Correct font when reading old floats.
13116
13117 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13120         inserting list of floats.
13121
13122 2002-04-25  Herbert Voss  <voss@lyx.org>
13123
13124         * MenuBackend.C (expand): don't add the graphics extensions to the
13125         export menu
13126
13127 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13128
13129         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13130         non-existing layout, do not complain if it was the default layout
13131         of the original class (bug #342)
13132
13133 2002-04-24  Juergen Vigna  <jug@sad.it>
13134
13135         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13136         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13137
13138 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13139
13140         * buffer.C (getBibkeyList): If using \bibliography, return the
13141         option field with the reference itself. Enables us to provide natbib
13142         support when using \bibliography.
13143
13144 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13145
13146         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13147
13148         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13149         natbib is provided by the LaTeX class.
13150
13151 2002-04-23  Juergen Vigna  <jug@sad.it>
13152
13153         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13154         Wakeup functions.
13155
13156         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13157
13158 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13159
13160         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13161
13162         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13163         ensuremath around textordmasculine, textordfeminine and
13164         textdegree.
13165
13166 2002-04-19  Juergen Vigna  <jug@sad.it>
13167
13168         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13169         reinitializing the buffer otherwise row-dimensions may be wrong.
13170         (update): reset also the selection cursors if they do exits otherwise
13171         their x/y positions may be wrong.
13172
13173         * text2.C (cursorDown): don't enter the inset if we came from a row
13174         above and are one row over the inset.
13175
13176         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13177         really leaving an inset.
13178
13179 2002-04-18  Juergen Vigna  <jug@sad.it>
13180
13181         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13182         of the selected paragraph does not have the selected layout also if
13183         the last one had!
13184
13185         * text2.C (setLayout): fixed bug which did not change last selected
13186         paragraph.
13187
13188         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13189         changed the read and substituted \\end_float with \\end_inset!
13190
13191         * BufferView_pimpl.C (cursorPrevious):
13192         (cursorNext): fixed to make it work with rows heigher than the work
13193         area without moving the cursor only the draw of the row.
13194         (workAreaMotionNotify): fix jumping over high rows.
13195
13196 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13199         Ressler.
13200
13201 2002-04-16  Juergen Vigna  <jug@sad.it>
13202
13203         * text2.C (setCursor): set also the irow().
13204         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13205         (cursorUp):
13206         (cursorDown): support for locking an inset if the x_fix value goes
13207         inside it. That way I can transverse insets too with cursor up/down.
13208
13209         * lyxrow.h: added irow helper function same as other (i) functions.
13210
13211         * BufferView_pimpl.C (cursorPrevious):
13212         (cursorNext): fixed for insets!
13213
13214 2002-04-15  Juergen Vigna  <jug@sad.it>
13215
13216         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13217         position otherwise it is wrong in some cases.
13218
13219         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13220         inside the inset before the call.
13221
13222 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13223
13224         * buffer.[Ch] (getBibkeyList): make it const.
13225
13226 2002-04-12  Juergen Vigna  <jug@sad.it>
13227
13228         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13229
13230         * text2.C (getCursorX): new helper function
13231         (setCursor): compute also ix_
13232         (setCursorFromCoordinates): set also ix.
13233
13234         * lyxcursor.h: added ix_ and helper functions.
13235
13236         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13237
13238         * buffer.C (insertStringAsLines): dont break paragraph if the this
13239         paragraph is inside an inset which does not permit it!
13240
13241         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13242         also with no chars on this paragraph.
13243         (paintRowText): only paint stuff if it's inside the workarea!
13244
13245         * paragraph.C (breakParagraph): honor keepempty flag and break the
13246         paragraph always below not above.
13247
13248         * BufferView2.C (unlockInset): update the paragraph layout on inset
13249         unlock as we changed paragraph in such a case.
13250
13251         * lyxfind.C (LyXFind): clear the former selection if not found!
13252
13253         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13254         again called in insertChar().
13255
13256         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13257         an inset which uses the whole row!
13258         (rightMargin): ditto.
13259         (insertChar): force a rebreak if we inserted an inset!
13260
13261 2002-03-28  Herbert Voss  <voss@lyx.org>
13262
13263         * lyxlength.[Ch]: add inBP() to get the right PS-point
13264         units (BigPoint). With inPixels we have rounding errors
13265
13266 2002-04-11  Juergen Vigna  <jug@sad.it>
13267
13268         * text2.C (setCursorFromCoordinates): set iy to the right value.
13269         (setCursor): add check if row->previous exists!
13270
13271         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13272         an old float_type as this was the case in the old code!
13273
13274         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13275
13276         * BufferView2.C (showLockedInsetCursor): use iy
13277         (fitLockedInsetCursor): ditto
13278
13279         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13280         locked insets as there we have the right value now.
13281
13282         * lyxcursor.C: added iy_ variable and iy functions to set to the
13283         baseline of cursor-y of the locked inset.
13284
13285         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13286         (setCursor): fixed for insets which need a full row.
13287
13288         * text.C (rowLastPrintable): don't ignore the last space when before
13289         an inset which needs a full row.
13290         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13291         as last character of a row when before a inset which needs a full row.
13292
13293 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * version.C.in: update date
13296
13297         * text2.C (fullRebreak): try to always return true and see what
13298         happens...
13299
13300 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * MenuBackend.C (expand): use Floating::listName
13303
13304         * FloatList.C (FloatList): add listName argument to the built-in
13305         floats
13306
13307         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13308         text associated with the float.
13309
13310 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13311
13312         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13313
13314 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13315
13316         * ShareContainer.h: add a couple of missing typenames.
13317
13318 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13319
13320         * lyxrc.C (getDescription): use _() correctly rather than N_().
13321
13322 2002-03-28  Herbert Voss  <voss@lyx.org>
13323
13324         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13325         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13326
13327 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13328
13329         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13330         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13331
13332 2002-03-29  Juergen Vigna  <jug@sad.it>
13333
13334         * lyxfunc.C (dispatch): add a missing fitCursor call.
13335
13336         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13337         it was scrolled by a cursor move, so return the bool status.
13338
13339         * BufferView.C (fitCursor): return the bool flag also to the outside
13340         world as this is needed.
13341
13342         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13343
13344         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13345         call the edit() as it is not needed (and wrong) IMO.
13346         (workAreaButtonPress): set the screen_first variable before evt.
13347         unlock the inset as this may change screen_first and then we have
13348         a wrong y position for the click!
13349
13350 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * MenuBackend.C (expand): another translation that I missed
13353
13354 2002-03-28  Juergen Vigna  <jug@sad.it>
13355
13356         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13357
13358         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13359
13360 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13361
13362         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13363
13364         * MenuBackend.C (expand): fix export/view/update when there is no
13365         document open.
13366
13367 2002-03-27  Herbert Voss  <voss@lyx.org>
13368
13369         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13370         and text%
13371
13372 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13373
13374         * bufferview_funcs.C (currentState): only show paragraph number
13375         for is DEVEL_VERSION is set.
13376
13377         * lyxfunc.C (dispatch): put warning in INFO channel
13378
13379         * MenuBackend.C (expand): translate the name of floats
13380
13381         * FloatList.C (FloatList): mark the float names for translation
13382
13383         * converter.C (convert): use LibScriptSearch
13384
13385 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * MenuBackend.C (defaults): fix default menu (we might as well get
13388         rid of it...)
13389
13390 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13393         directory.
13394
13395 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13396
13397         * lyxvc.C: reorder includes.
13398
13399 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13402           properly
13403
13404 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * CutAndPaste.C: change layouts earlier on paste
13407           to avoid crashing when calling getFont()
13408
13409 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13410
13411         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13412         irritating #error.
13413
13414 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * WorkArea.C: remove 'Pending' debug message.
13417
13418         * most files: ws cleanup
13419
13420         * buffer.[Ch]: ws changes
13421
13422         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13423
13424 2002-03-21  Juergen Vigna  <jug@sad.it>
13425
13426         * tabular.C (SetMultiColumn): collapse also the contents of the
13427         cells and set the last border right. Added a Buffer const * param.
13428
13429 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13432         linking or not.
13433
13434 2002-03-19  Juergen Vigna  <jug@sad.it>
13435
13436         * text2.C (clearSelection): reset also xsel_cache.
13437
13438         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13439         where it needs to be called (John tells us to do so too :)
13440         (selectionLost): reset sel_cache.
13441
13442         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13443
13444 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13445
13446         * text2.C (setCursorIntern): put debuging code in INSETS channel
13447
13448 2002-03-19  André Pönitz <poenitz@gmx.net>
13449
13450         * lyxfunc.C: tiny whitespace change
13451
13452 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13453
13454         * ToolbarDefaults.C (init):
13455         * LyXAction.C (init):
13456         * commandtags.h:
13457         * BufferView_pimpl.C (Dispatch):
13458         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13459
13460 2002-03-19  Allan Rae  <rae@lyx.org>
13461
13462         * exporter.C (Export): removeAutoInsets before doing anything else.
13463         While I've just introduced a dependency on BufferView this really is
13464         the best place to clean the buffer otherwise you need to cleanup in
13465         a dozen places before calling export or cleanup in a dozen functions
13466         that export calls.
13467
13468         * converter.C (runLaTeX):
13469         (scanLog): Better handling of removeAutoInsets and screen updates.
13470
13471         * lyxfunc.C (dispatch): small whitespace changes
13472
13473 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13474
13475         * WorkArea.C (C_WorkAreaEvent): return a value.
13476         (event_cb): return 1 if we handled the event, 0 otherwise.
13477
13478         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13479
13480 2002-03-18  Juergen Vigna  <jug@sad.it>
13481
13482         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13483         (GetAdditionalWidth): ditto.
13484         (RightLine): ditto.
13485         (LeftLine): ditto.
13486
13487         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13488         inset if we're there actually (probably not used right now but this
13489         is the direction to go for unifying code).
13490         (paste): disable code to clear the selection.
13491
13492         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13493         inside an InsetText and move the check further up as it is in the
13494         wrong place.
13495
13496         * text2.C (pasteSelection): set a selection over the pasted text.
13497
13498 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13499
13500         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13501         and libgraphics to build on Cygwin.
13502
13503 2002-03-15  Juergen Vigna  <jug@sad.it>
13504
13505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13506         inserting an Inset into the paragraph. I know this is not the best
13507         fix but we already use current_view in CutAndPaste so we will remove
13508         all of it's using at the same time.
13509
13510         * buffer.C (sgmlError): deactivated function till it is rewritten in
13511         the right mode, now it can create problems.
13512
13513         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13514         before accessing it.
13515
13516 2002-03-14  Juergen Vigna  <jug@sad.it>
13517
13518         * undo_funcs.C (textHandleUndo): do the right thing when updating
13519         the inset after the undo/redo.
13520
13521         * text2.C (setCursor): just some testcode for #44 not ready yet.
13522
13523         * undo_funcs.C (textHandleUndo): set the next() and previous()
13524         pointers of the paragraph to 0 before deleting otherwise we have
13525         problems with the Paragraph::[destructor].
13526
13527         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13528         on a paragraph insertion.
13529
13530 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * buffer.C (asciiParagraph): use += operator for char append to
13533         string.
13534
13535         * paragraph.C (getFontSettings): compare >= not just >
13536         (highestFontInRange): ditto
13537         (setFont): ditto
13538
13539 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13540
13541         * paragraph.C: change several algorithm to be more appripriate for
13542         the problem domain. This is lookip in FontList and in the InsetList.
13543
13544 2002-03-13  André Pönitz <poenitz@gmx.net>
13545
13546         * commandtags.h:
13547         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13548
13549 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13550
13551         * commandtags.h:
13552         * LyXAction.C:
13553         * lyxfunc.C:
13554         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13555
13556 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * Painter.C (display): anon helper function, adjust code for this
13559         change.
13560         (pixmap): remove function.
13561
13562         * Painter.h: remove private display variable.
13563
13564         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13565
13566 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13567
13568         * WorkArea.[Ch]: remove figinset_canvas cruft.
13569
13570 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * lyxtextclass.C (operator): add one item cache optimization.
13573
13574         * bufferlist.h: doxy changes
13575
13576         * bufferlist.C: ws changes
13577
13578         * DepTable.[Ch] (ext_exist): place const in the right spot.
13579
13580         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13581         call resizeInsets.
13582         (workAreaExpose): call resizeInsets when the with BufferView changes.
13583         (Dispatch): adjust for protectedBlank removal
13584         (specialChar): call updateInset if the insert went ok.
13585
13586         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13587         specialChar instead.
13588
13589         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13590
13591         * BufferView.h: doxy change
13592
13593         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13594
13595         * lyxtextclass.C (operator[]): remove non-const version
13596         (defaultLayout): remove non-const version
13597
13598 2002-03-12  Juergen Vigna  <jug@sad.it>
13599
13600         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13601         did resize the LyXText too.
13602
13603         * buffer.C (readLyXformat2): set layout information on newly allocated
13604         paragraphs.
13605
13606         * tabular.C (OldFormatRead): set layout information on the paragraph.
13607
13608 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13609
13610         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13611
13612 2002-03-11  Juergen Vigna  <jug@sad.it>
13613
13614         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13615         plainly wrong.
13616         (resizeCurrentBuffer): force also the insets to resize themselfes.
13617         (moveCursorUpdate): fixed up for InsetText.
13618
13619 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13620
13621         * commandtags.h:
13622         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13623         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13624         value of Dialogs::tooltipsEnabled().
13625         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13626
13627 2002-03-08  Juergen Vigna  <jug@sad.it>
13628
13629         * BufferView_pimpl.C (updateInset): update inset inside inset also
13630         if it isn't inside theLockingInset().
13631
13632 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * buffer.C (asciiParagraph): redo some of the word and line length
13635         handling.
13636         (getLists): look for Caption instead of caption.
13637
13638 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13639
13640         * buffer.C (Buffer): initialize niceFile to true
13641         (makeLaTeXFile):
13642         (makeLinuxDocFile):
13643         (makeDocBookFile): make sure niceFile is true on exit
13644
13645 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13646
13647         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13648
13649 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13650
13651         * LyXSendto.C: remove.
13652         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13653         * lyx_gui.C: remove now-redundant comment.
13654         * ColorHandler.h: remove forward declaration of class WorkArea.
13655         * lyxfunc.C: remove #include "WorkArea.h".
13656
13657 2002-03-07  Juergen Vigna  <jug@sad.it>
13658
13659         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13660         got moved away with the DEPM and also set the inset_owner always
13661         right which before could have been omitted.
13662
13663 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13666         wanted layout is not found.
13667
13668 2002-03-07  Juergen Vigna  <jug@sad.it>
13669
13670         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13671
13672 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * paragraph.C (breakParagraph): use default layout not layout of
13675         prev paragraph.
13676         (Paragraph): clear ParagraphParameters.
13677
13678 2002-03-06  Juergen Vigna  <jug@sad.it>
13679
13680         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13681         otherwise it would not be a valid lenght. Fixed a special case in
13682         the minipage compatibility read where we end the document with a
13683         minipage.
13684
13685         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13686         was set as it could be 0 for InsetTexts first entry.
13687
13688 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * paragraph.C (writeFile): if layout is empty write out
13691         defaultLayoutName().
13692
13693         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13694         file without named layout we set layout to defaultLayoutName().
13695
13696 2002-03-06  Juergen Vigna  <jug@sad.it>
13697
13698         * CutAndPaste.C (copySelection): set layout for new paragraph.
13699
13700         * text.C (prepareToPrint): leave ERT inset left aligned
13701         (leftMargin): don't indent paragraphs inside ERT insets
13702
13703 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13704
13705         * paragraph.C (breakParagraph): dont call clear do the work manually
13706
13707         * paragraph.[Ch] (clear): remove function
13708
13709 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * paragraph.C (Paragraph): dont call clear, the work has already
13712         been done.
13713
13714         * lyxtextclass.C (operator): assert if n is empty
13715
13716         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13717         work manually instead.
13718
13719 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * BufferView_pimpl.C: protect selectionLost against text == 0
13722
13723 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13724
13725         * text.C (breakParagraph): fix a setting layout to '0' problem.
13726
13727 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13728
13729         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13730         final location of file, for the included files, and graphics.
13731
13732 2002-03-05  Juergen Vigna  <jug@sad.it>
13733
13734         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13735
13736 2002-03-04  Juergen Vigna  <jug@sad.it>
13737
13738         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13739
13740         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13741         last column of multicolumn cells.
13742         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13743
13744 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13745
13746         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13747         file if it doesn't go to a temporary file.
13748
13749         * buffer.C (sgmlOpenTag):
13750         (sgmlCloseTag):  remove extra newline insertion.
13751
13752 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * text.C (getRowNearY): comment out debug msg
13755
13756 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * text2.C: first -> first_y
13759
13760         * text.C (getRowNearY): add some attemts at a possible
13761         optimization, not working.
13762
13763         * tabular.[Ch]: add BufferParams to several function so that newly
13764         created paragraph can be initialized to he default layotu for the
13765         buffers textclass.
13766
13767         * tabular-old.C (ReadOld): add buf->params to call of Init
13768
13769         * screen.C: rename text->first to text->first_y
13770
13771         * paragraph.C (breakParagraph): always set layout in the broken
13772         paragraph
13773
13774         * lyxtextclass.C (Read): remove lowercase
13775         (hasLayout): ditto
13776         (operator): ditto
13777         (delete_layout): ditto
13778
13779         * lyxtext.h: rename first -> first_y
13780
13781         * lyxlayout.C (Read): remove lowercase
13782         (name): ditto
13783         (setName): ditto
13784         (obsoleted_by): ditto
13785
13786         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13787
13788         * buffer.C (insertErtContents): add params are to InsetERT
13789         (parseSingleLyXformat2Token): add code to check if a paragraphs
13790         layout really exist.
13791         (parseSingleLyXformat2Token): add params to several inset
13792         constructors
13793         (asciiParagraph): remove lowercase, do the layout comparisons with
13794         no_case
13795
13796         * BufferView_pimpl.C (cursorNext): first -> first_y
13797         (resizeCurrentBuffer): first -> first_y
13798         (updateScrollbar): first -> first_y
13799         (scrollCB): first -> first_y
13800         (workAreaMotionNotify): first -> first_y
13801         (workAreaButtonPress): first -> first_y
13802         (checkInsetHit): first -> first_y
13803         (cursorPrevious): first -> first_y
13804         (cursorNext): first -> first_y
13805         (Dispatch): add buffer_->params to severl inset contructors
13806
13807 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13808
13809         * lyxlayout.C (Read): remove some debug info that I forgot.
13810
13811         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13812         clean up the code slightly.
13813         (makeLinuxDocFile): ditto
13814         (makeDocBookFile): ditto
13815
13816         * text2.C: layout as string
13817
13818         * text.C: layout as string
13819
13820         * paragraph_pimpl.C: layout as string
13821
13822         * paragraph.[Ch]: layout as string
13823
13824         * lyxtextclasslist.[Ch]: layout as string
13825
13826         * lyxtextclass.[Ch]: layout as string
13827
13828         * lyxtext.h: layout as string
13829
13830         * lyxlayout.[Ch]: layout as string
13831
13832         * lyx_cb.C: layout as string
13833
13834         * bufferview_funcs.C: layout as string
13835
13836         * bufferparams.C: layout as string
13837
13838         * buffer.C: layout as string
13839
13840         * LyXView.[Ch]: layout as string
13841
13842         * LaTeXFeatures.[Ch]: layout as string
13843
13844         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13845
13846         * BufferView_pimpl.C: change current_layout to string, remove
13847         lyx::layout_type.
13848         (Dispatch):
13849         (smartQuote):
13850         (insertInset):
13851         (workAreaButtonRelease): layout as string
13852
13853         * BufferView2.C (unlockInset): adjust
13854
13855         * vspace.C (asLatexCommand): use an explict temp variable.
13856
13857 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * Makefile.am: use FRONTEND_*
13860
13861 2002-03-01  Juergen Vigna  <jug@sad.it>
13862
13863         * tabular.C (SetWidthOfMulticolCell): changed to something better
13864         I hope but still work in progress.
13865         (recalculateMulticolumnsOfColumn): renamed function from
13866         recalculateMulticolCells as it is more appropriate now.
13867         (SetWidthOfCell): calculate multicols better.
13868
13869 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13870
13871         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13872
13873         * lyxfunc.C (processKeySym): print sequence also if it is
13874         `deleted' (complete)
13875
13876         * kbsequence.C (print): print sequence even if it is deleted
13877         (complete would be a better word, actually).
13878
13879         * lyxfunc.C (dispatch): print complete options after a prefix key
13880
13881         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13882
13883 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13884
13885         * text2.C (setCharFont): eliminate setCharFont code duplication.
13886
13887 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13888
13889         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13890         LFUN_TABULAR_FEATURE (bug #177)
13891
13892 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * Makefile.am: remove figure.h
13895
13896 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * Bufferview_pimpl.C:
13899         * CutAndPasteC:
13900         * LaTeX.C:
13901         * LyXSendto.C:
13902         * buffer.C:
13903         * bufferlist.C:
13904         * converter.C:
13905         * language.C:
13906         * lyxfunc.C:
13907         * lyxvc.C:
13908         * paragraph.C:
13909         * text.C:
13910         * text2.C: remove #include "lyx_gui_misc.h".
13911
13912         * LaTeX.C: added #include <cstdio>
13913
13914 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13915
13916         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13917         that the paragraph following this one can have.
13918
13919         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13920
13921         * vspace.C (asLatexCommand): fix bogus gcc warning
13922
13923         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13924
13925 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13926
13927         * text2.C (setLayout): get rid of redundant code
13928
13929 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13930
13931         * text2.C (incDepth): make sure depth cannot be increased beyond
13932         reasonable values.
13933
13934 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13935
13936         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13937         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13938
13939         * PainterBase.h (image):
13940         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13941         a LyXImage const *.
13942
13943 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13944
13945         * BufferView.C:
13946         * BufferView.h:
13947         * BufferView_pimpl.C:
13948         * BufferView_pimpl.h:
13949         * LaTeXFeatures.C:
13950         * LyXAction.C:
13951         * LyXView.C:
13952         * Makefile.am:
13953         * UpdateList.h:
13954         * UpdateList.C:
13955         * buffer.C:
13956         * figure.h:
13957         * figureForm.C:
13958         * figureForm.h:
13959         * figure_form.C:
13960         * figure_form.h:
13961         * lyx_cb.C:
13962         * lyx_gui.C:
13963         * lyx_gui_misc.C:
13964         * lyxfunc.C:
13965         * sp_base.h:
13966         * sp_ispell.h:
13967         * sp_pspell.h:
13968         * sp_spell.C: remove fig inset, and the crap house of
13969           cards that follows it
13970
13971 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13972
13973         * Makefile.am:
13974         * lyxserver.C:
13975         * os2_defines.h:
13976         * os2_errortable.h:
13977         * nt_defines.h: move .h into support/
13978
13979         * vms_defines.h: remove
13980
13981         * WorkArea.C: add space in debug output
13982
13983         * text2.C:
13984         * paragraph.C:
13985         * buffer.C: add WITH_WARNINGS
13986
13987         * vc-backend.h:
13988         * vc-backend.C:
13989         * bufferlist.C: s/retrive/retrieve/, add docs
13990
13991         * vspace.h:
13992         * vspace.C:
13993         * kbmap.h:
13994         * lyxlength.h:
13995         * lyxgluelength.h:
13996         * length_common.h:
13997         * chset.h:
13998         * chset.C: add docs
13999
14000         * lyxgui.C: add ID to X error handler
14001
14002         * lyxtestclass.c: fix typo
14003
14004 2002-02-26  Juergen Vigna  <jug@sad.it>
14005
14006         * tabular_funcs.C (write_attribute): changed so that some default
14007         attributes are not written at all.
14008         (getTokenValue): set default values before trying to read the
14009         value so we have the return value always set as default if we don't
14010         find the token we search for.
14011
14012         * tabular.C (Write): write bools as bools not as strings!
14013
14014 2002-02-22  Juergen Vigna  <jug@sad.it>
14015
14016         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14017         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14018
14019         * text.C (leftMargin): don't add an indent for paragraphs inside
14020         tabular cells (fix #208).
14021
14022 2002-02-21  José Matos  <jamatos@fep.up.pt>
14023
14024         * tabular.C (docBook): fixed support for long tables.
14025
14026 2002-02-20  Juergen Vigna  <jug@sad.it>
14027
14028         * text2.C (getFont): get the drawing font of the Inset if this
14029         paragraph is inside an inset (only important for InsetERT for now).
14030
14031         * buffer.C (insertErtContents): use new lanugage params in ERT
14032         constructor.
14033
14034         * CutAndPaste.C: commenting out seemingly uneeded code.
14035
14036 2002-02-19  Allan Rae  <rae@lyx.org>
14037
14038         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14039         Iterators might be simple to use but they also get invalidated.
14040         (removeAutoInsets): renamed saved cursor tracking variables and added
14041         some comments to clarify what everything does.
14042
14043 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * Chktex.C:
14046         * LaTeX.C:
14047         * LyXSendto.C:
14048         * converter.C:
14049         * lyx_cb.C:
14050         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14051         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14052
14053         * lyxfunc.C:
14054         * vc-backend.h: remove #include "support/syscall.h"
14055
14056         * LaTeX.C:
14057         * LyXSendto.C:
14058         * converter.C: rearrange #includes in Lars' approved fashion.
14059
14060         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14061         forward declare class Timeout in the header file.
14062
14063         * XFormsView.C: changes due to the above.
14064
14065         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14066         similar to LyXView.
14067
14068         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14069         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14070
14071 2002-02-18  José Matos  <jamatos@fep.up.pt>
14072
14073         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14074         insets contents.
14075
14076 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14077
14078         * a lot of small ws changes
14079         * add a lot of using std::XXX
14080         * use std construcs some places where approp.
14081         * use some exisint stuff from lyxfunctional where approp.
14082         * Make file changes to use partial linking (lets test this now...)
14083
14084 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * Chktex.C:
14087         * buffer.C:
14088         remove #include "support/syscontr.h" as it's redundant. Always has been.
14089
14090         * Chktex.C:
14091         * LaTeX.C:
14092         * LyXSendto.C:
14093         * converter.C:
14094         * lyx_cb.C:
14095         * vc-backend.C:
14096         change Systemcalls::System to Systemcalls::Wait and
14097         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14098         No change of functionality, just reflects the stripped down Systemcalls
14099         class.
14100
14101 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14102
14103         * debug.[Ch]: add a GRAPHICS type to the enum.
14104
14105 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14106
14107         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14108
14109         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14110         there is an inset.
14111
14112 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14113
14114         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14115         match the changes below.
14116
14117         * text2.C (toggleInset): if there is not editable inset at cursor
14118         position, try to see if cursor is _inside_ a collapsable inset
14119         and close it.
14120
14121 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14122
14123         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14124         document menu has a nice checkbox
14125
14126 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14127
14128         * lyxlength.C (asLatexString): change PW to output as percent of
14129         \textwidth.
14130
14131         * lengthcommon.C: change '%' to 't%'
14132
14133         * lyxfunc.C (dispatch): a few comments from Martin
14134
14135 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * WorkArea.h:
14138         * WorkArea.C:
14139         * BufferView_pimpl.h:
14140         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14141           the X selection.
14142
14143 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14144
14145         * vspace.C (inPixels): fix compiler warning
14146
14147 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14148
14149         * lyxfunc.C (getStatus): fix status message for disabled commands.
14150
14151 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * BufferView_pimpl.C: fix crash on close buffer
14154         during selection (#227)
14155
14156 2002-01-27  Herbert Voss  <voss@lyx.org>
14157
14158         * buffer.C: link old Figure to new graphic inset
14159
14160 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * FontLoader.C (getFontinfo): Change the latex font names in order
14163         to match the names of type1inst.
14164
14165 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14168
14169         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14170         (extchanged): ditto
14171         (ext_exist): ditto
14172         (remove_files_with_extension): ditto
14173         (remove_file): ditto
14174         (write): ditto
14175
14176         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14177         document is smaller than the work area height. Do not initialize
14178         static variables to 0.
14179
14180 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14181
14182         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14183
14184         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14185         LFUN_LAYOUT_PARAGRAPHS.
14186
14187         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14188         tabular. It is possible to provide a possible cell, which will
14189         typically be the actcell from the corresponding insettabular
14190
14191         * lyxfunc.C (getStatus): small cleanup; disable
14192         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14193         true
14194
14195 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14196
14197         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14198
14199         * paragraph.C (startTeXParParams):
14200         (endTeXParParams): new methods. The LaTeX code to
14201         start/end paragraph formatting
14202         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14203         empty (fixes bug #200)
14204
14205         * vspace.C (inPixels): adapt to the change below
14206         (inPixels): [later] more cleanups (remove unused variables)
14207
14208         * lyxlength.C (inPixels): change to use a width and a height as
14209         parameter.
14210
14211 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14212
14213         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14214         Replaced with \paperwidth
14215
14216         * DepTable.C (insert): add std:: qualifier
14217
14218 2002-01-18  Allan Rae  <rae@lyx.org>
14219
14220         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14221         updated also?
14222
14223         * text.C (drawInset): Turned out I didn't know enough about how
14224         rebreaking worked.  This fixes most of the redraw problems.  I see
14225         an occasional cursor trail when a line is broken now and the cursor
14226         placement can seem out by a few pixels also after a rebreak.
14227
14228 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14229
14230         * buffer.C (parseSingleLyXformat2Token): update because minipage
14231         width is now a LyXLength
14232
14233         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14234
14235         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14236         math insets
14237
14238 2002-01-17  Juergen Vigna  <jug@sad.it>
14239
14240         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14241
14242         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14243         is set correctly and the inset is updated correctly.
14244
14245 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14246
14247         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14248         the beginning of the loop.
14249
14250 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * lyxrc.C: improve help for use_scalable_fonts
14253
14254 2002-01-17  Allan Rae  <rae@lyx.org>
14255
14256         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14257
14258 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14259
14260         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14261         make sure to set their inset_owner to the right value (bug #171)
14262
14263 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14264
14265         * DepTable.h
14266         * DepTable.C: Implement mtime checking to reduce time spent doing
14267         CRCs.
14268
14269 2002-01-16  Juergen Vigna  <jug@sad.it>
14270
14271         * tabular.C (GetAdditionalHeight): one of error fixed.
14272
14273         * lyxrc.C (output): small fix in writing use_pspell.
14274
14275 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14276
14277         * sp_base.h: #include LString.h
14278
14279 2002-01-16  Allan Rae  <rae@lyx.org>
14280
14281         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14282         Can someone check this please?
14283
14284         * text.C (drawInset): It was possible that p.row would be removed by
14285         breakAgainOneRow upsetting a few other settings.  There may be another
14286         small tweak possible by setting need_break_row = 0 when p.row has been
14287         removed but I don't know enough about the logic here.
14288
14289 2002-01-15  Allan Rae  <rae@lyx.org>
14290
14291         * text.C (insertChar): removed conditional truism.
14292
14293         * BufferView2.C (removeAutoInsets): More tweaks.
14294         cur_par_prev could be a stray pointer.  Check for trailing empty line
14295         in case last line was cur_par and only had an error inset on it.
14296
14297 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14298
14299         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14300         absolute
14301
14302         * vc-backend.C (most methods):
14303         * exporter.C (Export):
14304         * converter.C (convert):
14305         (runLaTeX):
14306         * LyXSendto.C (SendtoApplyCB):
14307         * lyxfunc.C (dispatch):
14308         (menuNew):
14309         (open):
14310         (doImport):
14311         * lyx_cb.C (AutoSave):
14312         (InsertAsciiFile):
14313         * BufferView_pimpl.C (MenuInsertLyXFile):
14314         * buffer.C (runChktex): use Buffer::filePath().
14315
14316         * buffer.h: rename filename to filename_; rename filepath to
14317         filepath_ and make it private
14318         (filePath): new method
14319
14320         * buffer.C (writeFile): use fileName()
14321         (getLatexName):
14322
14323         * lyx_main.C (init): fix starting  of LyX when the binary is a
14324         link from so,ewhere else.
14325
14326         * minibuffer.C: include <cctype> for isprint
14327
14328 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14329
14330         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14331         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14332         name clash with InsetCollapsable's width function.
14333
14334 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * lastfiles.C: include <iterator>
14337
14338 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14339
14340         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14341         std::count.
14342
14343         * buffer.C (makeLaTeXFile): ditto.
14344         Also make loop operation more transparent.
14345
14346 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14347
14348         * ToolbarDefaults.C: remove trailing comma closing namespace.
14349
14350         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14351
14352         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14353         as in WorkArea.
14354
14355         * trans.C (Load): comment out unused variable, allowed.
14356
14357 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14358
14359         * minibuffer.[Ch] (append_char): new method to recieve input from the
14360         drop-down completion browser. If a key was pressed, then recieve this
14361         char and append it to the existing string.
14362         (peek_event): modify the positioning data passed to the completion
14363         browser so that it can be placed above the minibuffer rather than below.
14364 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * LyXAction.C (init): alloe error-next for readonly documents.
14367
14368         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14369         count.
14370
14371 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14372
14373         * bufferlist.C (readFile): create the buffer _after_ checking that
14374         the file exists.
14375
14376         * lyxfunc.C (verboseDispatch): fix handling of arguments
14377
14378         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14379
14380         * lyxrc.C: use string::erase() instead of initializing to "".
14381
14382
14383 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * BufferView_pimpl.h:
14386         * BufferView_pimpl.C:
14387         * WorkArea.h:
14388         * WorkArea.C:
14389         * text2.C: tell X when we have made a selection for copying
14390
14391 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14392
14393         * BufferView_pimpl.C (MenuInsertLyXFile):
14394         * lyxfunc.C (menuNew):
14395         (open):
14396         (doImport): add shortcuts to directory buttons
14397
14398         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14399         open a float)
14400
14401         * lyxfunc.C (setStatusMessage):
14402         (getStatusMessage): new methods
14403         (getStatus):use setStatusMessage instead of setErrorMessage
14404         (dispatch): when function is disabled, set error message here
14405         [instead of in getStatus previously]
14406
14407         * BufferView_pimpl.C (workAreaButtonRelease): update
14408         toolbar/menubar here too.
14409
14410 2002-01-13  Allan Rae  <rae@lyx.org>
14411
14412         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14413         Now seems indestructible.  Remaining task is to audit all other
14414         code affected by deleteEmptyParagraphMechanism.  One small quirk
14415         left is that an empty document with an error in the preamble can
14416         be made to report an error but no error box appears.  I don't know
14417         where it goes.
14418         (removeAutoInsets): Improved comments.
14419
14420 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14421
14422         * Thesaurus.h:
14423         * Thesaurus.C: update for Aiksaurus 0.14
14424
14425 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * text2.C (firstParagraph): removed member function, all uses
14428         replaces with ownerParagraph
14429         (redoParagraphs): here
14430         (updateInset): here
14431         (toggleAppendix): here
14432         * BufferView2.C (insertErrors): here
14433         (setCursorFromRow): here
14434
14435 2002-01-13  Allan Rae  <rae@lyx.org>
14436
14437         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14438         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14439         There is still a way to segfault this although you may have to do this
14440         multiple times: Have an InsetERT with an unknown command in it.
14441         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14442         <down-arrow>, <Enter> again, View->DVI, BANG!
14443
14444         * text2.C (setCursor):
14445         (deleteEmptyParagraphMechanism):
14446         * lyxtext.h (setCursor):
14447         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14448         Making use of the return value may help fix other bugs.
14449
14450 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14451
14452         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14453
14454         * LyXView.C (updateMenubar): call MenuBar::update here
14455         (updateToolbar): but not here
14456         (showState): do not update toolbar/menubar
14457
14458         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14459         should need to care about that.
14460
14461         * lyxfunc.C (verboseDispatch): simplify a bit
14462         (getStatus): have a version which takes a pseudoaction, and
14463         another which requires a (kb_action,string).
14464
14465         * LyXAction.C (retrieveActionArg): make it work also when action
14466         is not a pseudo-action.
14467         (getActionName): simplify a bit
14468         (helpText):
14469
14470 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14471
14472         * lyxfunc.C (verboseDispatch): new families of methods with
14473         several ways to specify a command and a bool to indicate whether
14474         the command name and shortcut should be displayed in minibuffer
14475         (eventually, we could extend that to a finer bitmask like
14476         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14477         (dispatch): the pristine dispatch command which just, well,
14478         dispatchs! Note it still sets its result to minibuffer; I'm not
14479         sure we want that.
14480
14481         * lyxfunc.h: remove setHintMessage
14482
14483         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14484
14485 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14486
14487         * BufferView_pimpl.C (specialChar): delete new inset if we have
14488         not been able to insert it.
14489
14490         * kbmap.C: revert to using int instead of kb_action, since all we
14491         are dealing with is pseudo-actions.
14492
14493         * LyXAction.C (searchActionArg): change to return int instead of
14494         kb_action, since the result is a pseudoaction.
14495
14496 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14497
14498         * buffer.C (insertErtContents): Fix (partially) the font bug.
14499
14500 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14501
14502         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14503         as the other one is broken on my machine!
14504
14505 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14506
14507         * commandtags.h:
14508         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14509
14510 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14513         reflect their actual use. Provide compatibility code for older lyxrc
14514         files.
14515
14516         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14517         FL_NORMAL_STYLE.
14518         change names of popup font variables in line with the changes to lyxrc.C
14519
14520 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14521
14522         * buffer.C (asciiParagraph): avoid outputing a word twice after
14523         an inset.
14524
14525         * lyxrc.C (getDescription): document that document_path and
14526         template_path can be empty.
14527
14528 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14529
14530         * LaTeXFeatures.C (getMacros):
14531         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14532
14533         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14534
14535         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14536         getPackages.
14537         (getPackages): rename feature "floats" to "float". Use an array to
14538         iterate over 'simple' features (i.e. just a \usepackage). Add
14539         handling of "amsmath" (renamed from "amsstyle").
14540
14541 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14542
14543         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14544         features list.
14545
14546 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14547
14548         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14549         FuncStaus::FuncStatus & FuncStaus::some_method().
14550
14551 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14552
14553         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14554         of the func_satus stuff. Edited and massaged in various ways by
14555         JMarc.
14556
14557         * lyxfunc.C (getStatus): use FuncStatus
14558
14559 2002-01-08  Juergen Vigna  <jug@sad.it>
14560
14561         * text.C (nextBreakPoint): use function Inset::isChar().
14562
14563         * paragraph.C (TeXOnePar): use function
14564         Inset::forceDefaultParagraphs.
14565
14566         * buffer.C (latexParagraphs): use function
14567         Inset::forceDefaultParagraphs.
14568
14569 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14570
14571         * lyx_gui.C (init): set the style of the menu popups to
14572         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14573
14574 2002-01-07  Juergen Vigna  <jug@sad.it>
14575
14576         * text.C (setHeightOfRow): small fix
14577         (prepareToPrint): don't look at alignment if we don't have the place
14578         for doing it.
14579
14580 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14581
14582         * box.C: New file. Move the Box methods and functions out of box.h,
14583         following Lars' suggestion.
14584
14585 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14586
14587         * box.h: #include "support/LOstream.h", needed for inlined function.
14588
14589         * lyxtextclass.C:
14590         * lyxtextclasslist.C: added some using std declarations.
14591
14592 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * box.h: make signed dimensions to allow insets wider than
14595           the screen (bug #162)
14596
14597         * BufferView_pimpl.C: add some insetHit debug
14598
14599 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * vc-backend.C: add FIXME
14602
14603 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14604
14605         * lyxfunc.C (getStatus): enable code for showing math font status
14606         in toolbar/menu.
14607
14608 2002-01-07  Juergen Vigna  <jug@sad.it>
14609
14610         * text.C (nextBreakPoint): removed debug output not needed anymore.
14611
14612 2002-01-06  Juergen Vigna  <jug@sad.it>
14613
14614         * text.C (nextBreakPoint): fixed up this function we had this bug
14615         since ever but now hopefully we break row better.
14616         (insertChar): we have to check if an inset is the next char as it
14617         could now happen that a large inset is causing a break.
14618
14619 2002-01-05  Juergen Vigna  <jug@sad.it>
14620
14621         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14622         if it doesn't like to be drawed.
14623
14624 2002-01-04  Juergen Vigna  <jug@sad.it>
14625
14626         * BufferView2.C (lockInset): forgot to set a cursor.
14627
14628         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14629
14630 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14631
14632         * FormMathsPanel.C:
14633         * FormMathsPanel.h
14634         * MathsSymbols.C:
14635         * form_maths_panel.C:
14636         * form_maths_panel.h:
14637         * form_maths_panel.fd: implemented sub- and super- buttons in math
14638         panel.
14639
14640         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14641         (or ^ space) to be used as in TeX (req'd by Andr�.
14642
14643         * lyxfunc.C: Allow ^ and _ again to be used both as
14644         super/subscript (mathed) and as themselves (in text).
14645
14646 2002-01-03  Allan Rae  <rae@lyx.org>
14647
14648         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14649         "LyX" or the filename of the current buffer if it has one.  This is a
14650         modified form of John Levon's patch.
14651
14652         * XFormsView.C (setWindowTitle): also set icon title.
14653
14654         * LyXView.h (setWindowTitle): signature changed.
14655         * XFormsView.h (setWindowTitle): ditto.
14656
14657 2002-01-02  Juergen Vigna  <jug@sad.it>
14658
14659         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14660
14661 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * screen.C (topCursorVisible): introduce a temp var for
14664         text->cursor.row(), handle the case where this row is null. (kindo
14665         hachish)
14666
14667         * text2.C (setCursor): add a couple of asserts.
14668
14669         * paragraph.h (inset_iterator): add -> operator
14670
14671         * paragraph.[Ch] (autoDeleteInsets): remove member function
14672
14673         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14674         cursor pos correctly and handle inset deletion by itself.
14675         (insertErrors): move iterator declaration out of for expression
14676
14677         * lyxtextclass.C: add <algorithm>
14678
14679         * Makefile.am: added the new files to sources, removed layout.C
14680
14681         * layout.C: removed file
14682
14683         * layout.h: remove LYX_DUMMY_LAYOUT
14684
14685         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14686         layout.
14687
14688         * lyxlayout.[Ch]:
14689         * lyxtextclass.[Ch]:
14690         * lyxtextclasslist.[Ch]: new files
14691
14692         * include order changes to a lot of files, also changes because of
14693         the six new files.
14694
14695 2001-12-27  Juergen Vigna  <jug@sad.it>
14696
14697         * buffer.C (asciiParagraph): more fixes.
14698
14699         * tabular.C (ascii): make ascii export support export of only the
14700         data separated by a column-delimiter.
14701         (ascii): better support for ascii export.
14702
14703         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14704
14705 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * tabular_funcs.C: use a "using std::getline" instead of the
14708         previous fix from Angus (necessary for cxx + lyxstring)
14709
14710 2001-12-24  Juergen Vigna  <jug@sad.it>
14711
14712         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14713
14714         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14715         problems. First check a minipage also if we have some ert-contents
14716         (not only on par->size(), second set the right depth of the paragraph
14717         on the relink to the root-paragraph-list!
14718
14719         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14720         which then did not anymore update the main paragraphs on undo/redo!
14721
14722 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14723
14724         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14725         code. Support all font-changing funcs (even those which are not in
14726         menu currently). Support for reporting font settings in
14727         mathed (disabled until Andre provides a function on mathed's side).
14728
14729         * func_status.h (toggle): small helper function to set toggle
14730         state on a flag.
14731
14732 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14733
14734         * tabular_funcs.C: getline -> std::getline
14735
14736 2001-12-21  Juergen Vigna  <jug@sad.it>
14737
14738         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14739         accessed and could be 0 (I couldn't generate this but it seems
14740         Michael could!).
14741
14742 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14743
14744         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14745         * tabular_funcs.h: here and include iosfwd
14746
14747 2001-12-20  Juergen Vigna  <jug@sad.it>
14748
14749         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14750         inside inset but undo_par was.
14751
14752 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14753
14754         * Thesaurus.C: always include <config.h> in sources.
14755
14756         * Painter.h:
14757         * lyxlookup.h:
14758         * box.h: do not include <config.h> in header files
14759
14760         * text.C (paintLastRow): remove unused variable
14761
14762         * text.C (transformChar):
14763         (insertChar):
14764         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14765
14766         * Painter.C (text):
14767         * font.C (width): rewrite to use uppercase() instead of
14768         islower/toupper.
14769
14770         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14771
14772 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * lyxfind.C: clean up of find failure position change
14775
14776 2001-12-20  Juergen Vigna  <jug@sad.it>
14777
14778         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14779
14780         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14781         (TeXRow): added to LaTeX a single tabular row.
14782         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14783         (Latex): simplified and finally good LT-h/f support.
14784         (various_functions): just small adaptions for LT-h/f support.
14785
14786         * tabular_funcs.[hC]: added and moved here all not classfunctions
14787         of LyXTabular.
14788
14789 2001-12-19  Juergen Vigna  <jug@sad.it>
14790
14791         * tabular.[Ch]: better support for longtabular options (not finished
14792         yet!)
14793
14794 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14795
14796         * text.C (paintLastRow): use the label font instead of the font of
14797         the last character to compute the size of *_BOX. This makes more
14798         sense and avoids a crash with empty paragraphs.
14799         Use Painter::rectangle to draw EMPTY_BOX.
14800
14801 2001-12-19  Juergen Vigna  <jug@sad.it>
14802
14803         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14804         the paragraphs if the replaced paragraph is not the first one!
14805         Tried to delete not used paragraphs but does not work yet so for
14806         now it's inside #ifdef's and by default off!
14807
14808 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14809
14810         * MenuBackend.C: include "lyx_main.h" instead of declaring
14811         lastfiles (actually was declared as LastFiles* instead of a
14812         scoped_ptr).
14813
14814 2001-12-17  Juergen Vigna  <jug@sad.it>
14815
14816         * tabular.C (AppendColumn): applied John's fix
14817
14818 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * BufferView.h:
14821         * BufferView.C:
14822         * BufferView_pimpl.h:
14823         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14824
14825         * Makefile.am:
14826         * box.h: new start of class for above
14827
14828         * lyxfunc.C: ignore space-only minibuffer dispatches.
14829           Show the command name when it doesn't exist
14830
14831         * minibuffer.C: don't add empty lines to the history
14832
14833         * minibuffer.C: add a space on dropdown completion
14834
14835 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * text.C: fix line above/below drawing in insets
14838
14839 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14840
14841         * lyxlength.C (LyXLength): Initialize private variables.
14842
14843 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14844
14845         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14846         when inserting error insets.
14847
14848 2001-12-13  Juergen Vigna  <jug@sad.it>
14849
14850         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14851         actually sometimes the before-paragraph.
14852         (setUndo): don't clear the redostack if we're not actually undoing!
14853
14854 2001-12-06  Juergen Vigna  <jug@sad.it>
14855
14856         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14857         and fixed redoing of main paragraph, so we can use it now ;)
14858
14859         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14860
14861 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14862
14863         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14864         Juergen's request
14865
14866 2001-12-13  André Pönitz <poenitz@gmx.net>
14867
14868         * undostack.[Ch]:
14869         * undo_func.C: minor cleanup
14870
14871 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14872
14873         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14874         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14875         font in urw-fonts package which is marked as -urw-fontspecific and
14876         does not work (incidentally, changing the encoding in the
14877         fonts.dir of this package to -adobe-fontspecific fixes the
14878         problem).
14879
14880         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14881         is a crash when undoing first paragraph (Juergen, please take a
14882         look). THis does not mean the undo fix is wrong, just that it
14883         uncovers problems.
14884
14885         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14886         the (Paragraph*) version when needed instead of duplicating the
14887         code.
14888
14889         * text.C (workWidth): use Inset::parOwner to find out where the
14890         inset has been inserted. This is a huge performance gain for large
14891         documents with lots of insets. If Inset::parOwner is not set, fall
14892         back on the brute force method
14893
14894         * paragraph_pimpl.C (insertInset):
14895         * paragraph.C (Paragraph):
14896         (cutIntoMinibuffer): set parOwner of insets when
14897         inserting/removing them
14898
14899         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14900
14901 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14902
14903         * commandtags.h:
14904         * LyXAction.C:
14905         * lyx_main.C:
14906         * lyxfunc.C:
14907         * mathed/formulabase.C:
14908         * mathed/math_cursor.[Ch]:
14909         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14910
14911
14912 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * lyxlength.[Ch] (operator!=): new function
14915
14916 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14917
14918         * text.C (workWidth): use Inset::parOwner to find out where the
14919         inset has been inserted. This is a huge performance gain for large
14920         documents with lots of insets. If Inset::parOwner is not set, fall
14921         back on the brute force method
14922
14923         * paragraph_pimpl.C (insertInset):
14924         * paragraph.C (Paragraph):
14925         (cutIntoMinibuffer): set parOwner of insets when
14926         inserting/removing them
14927
14928         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14929
14930 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14931
14932         * tabular-old.C (getTokenValue):
14933         * tabular.C (getTokenValue):
14934         (write_attribute): new versions for LyXLength
14935         (everywhere): adjust the use of widths
14936
14937         * tabular.h: change the type of widths from string to LyXLength
14938
14939 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14940
14941         * paragraph.C: fixed missing line number count when exporting
14942         Environments to LaTeX file
14943
14944         * buffer.C: added informational message for checking line numbers.
14945
14946 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14947
14948         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14949         paragraph, do the 'double space' part, but not the 'empty
14950         paragraph' one.
14951
14952         * text.C (workWidth): small optimization
14953         (getLengthMarkerHeight): use minimal size for negative lengths.
14954
14955 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14956
14957         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14958
14959         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14960
14961 2001-12-11  André Pönitz <poenitz@gmx.net>
14962
14963         * FontLoader.C:
14964         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14965
14966 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14967
14968         * text2.C: keep selection on a setFont()
14969
14970 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * lyx_cb.C: another bv->text misuse, from insert label
14973
14974 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * kbsequence.h:
14977         * kbsequence.C: re-instate nmodifier mask
14978
14979 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14980
14981         * lyx_main.h: make lyxGUI private.
14982
14983 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14984
14985         * lyxfind.C: place the cursor correctly on failed search
14986
14987 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14988
14989         * text.C (getLengthMarkerHeight): for small heights, the arrows
14990         are not always on top/bottom of the text
14991         (drawLengthMarker): smaller arrows; take the left margin in
14992         account; draw also vfills.
14993         (paintFirstRow):
14994         (paintLastRow): remove special code for vfill and standard spaces,
14995         since everything is handled in drawLengthMarker now.
14996
14997 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * buffer.C (insertErtContents): try to handle font and language
15000         interaction a bit better.g
15001
15002         * ColorHandler.C (updateColor): change the hash to cover the whole
15003         LColor enum, ws cleanup
15004         (getGCLinepars): ditto
15005         (getGCLinepars): only lookup in the linecache once.
15006
15007 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * iterators.C (operator++): Make the iterator more robust
15010
15011         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15012         (John's patch)
15013         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15014
15015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15016
15017         * lyxtext.h:
15018         * text.C: better added space drawing
15019
15020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * LyXView.C:
15023         * BufferView2.C: fix layout combo update on inset unlock
15024
15025 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * Makefile.am: don't compile unused files
15028
15029 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15030
15031         * lyxfunc.C:
15032         * commandtags.h:
15033         * LyXAction.C: remove old LFUN_LAYOUTNO
15034
15035 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * paragraph_pimpl.h:
15038         * paragraph_pimpl.C: isTextAt() doesn't need font param
15039
15040 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * lyxlex.h:
15043         * lyxlex.C: little cleanup
15044
15045 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * BufferView_pimpl.C: fix insertAscii for insets
15048
15049 2001-12-05  Juergen Vigna  <jug@sad.it>
15050
15051         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15052         set the right font on the "multi" paragraph paste!
15053
15054 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * trans_decl.h:
15057         * trans_mgr.[Ch]:
15058         * trans.[Ch]:
15059         * lyxgluelength.C:
15060         * lyxlength.C: remove out-commented code.
15061
15062         * BufferView_pimpl:
15063         * CutAndPaste.C:
15064         * DepTable.C:
15065         * buffer.C:
15066         * chset.C:
15067         * lastfiles.C:
15068         * lyxlex.C:
15069         * lyxlex_pimpl.C:
15070         * lyxserver.C:
15071         * screen.C:
15072         * tabular-old.C:
15073         * tabular.C:
15074         * text.C:
15075         * trans_mgr.C:
15076         * vc-backend.C: change "while(" to "while ("
15077
15078         * lyxlength.[Ch]: add zero function to check if length is zero or
15079         not
15080         * lyxgluelength.C: use it
15081
15082 2001-12-05  Allan Rae  <rae@lyx.org>
15083
15084         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15085         Works for 2.95.3, from what I understand of Garst's reports this should
15086         work for other g++ versions.  We're screwed if the abs(int) definition
15087         changed between bugfix releases of gcc.
15088
15089 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * text.C: fix chapter label offset !
15092
15093 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * lyxtext.h:
15096         * text.C: fix hfill at end of line, clean up
15097
15098 2001-12-04  Juergen Vigna  <jug@sad.it>
15099
15100         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15101         that we force an update of the inset and it's owners if neccessary.
15102
15103 2001-12-03  Juergen Vigna  <jug@sad.it>
15104
15105         * text.C (rowLast): simplified code
15106
15107 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * lyxfunc.C: fix show options on timeout
15110
15111 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15112
15113         * screen.C (topCursorVisible): scroll half a page when the cursor
15114         reached top of bottom of screen
15115
15116 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * minibuffer.C: deactivate on loss of focus
15119
15120 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15121
15122         * vspace.[Ch] (operator!=): add operator.
15123
15124 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15125
15126         * BufferView_pimpl.C: refuse to open an inset when
15127         there's a selection.
15128
15129 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15130
15131         * BufferView_pimpl.C: allow to click on RHS of full row insets
15132
15133 2001-11-30  Juergen Vigna  <jug@sad.it>
15134
15135         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15136         insets for undo reasons.
15137
15138 2001-11-28  André Pönitz <poenitz@gmx.net>
15139
15140         * vspace.[Ch]: cosmetical changes
15141
15142 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15143
15144         * LyXAction.h:
15145         * LyXAction.C:
15146         * lyxfunc.h:
15147         * lyxfunc.C:
15148         * kbmap.h:
15149         * kbmap.C:
15150         * lyxrc.C:
15151         * kbsequence.h:
15152         * kbsequence.C: part re-write of old kb code
15153
15154         * Painter.C:
15155         * WorkArea.C: remove Lgb_bug_find_hack
15156
15157 2001-11-30  José Matos <jamatos@fep.up.pt>
15158
15159         * buffer.C (makeDocBookFile): add a comment to point a hack.
15160         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15161         Fixed a double write of labels.
15162
15163 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15164
15165         * LaTeX.C:
15166         * LaTeX.h Fixed bug in LaTeX class where it would not
15167         re-run latex if no depfiles were changed, but the .dvi was removed.
15168
15169 2001-11-28  André Pönitz <poenitz@gmx.net>
15170
15171         * all the files from the change on 2001/11/26:
15172         use lyx::layout_type instead of LyXTextClass::size_type
15173         use lyx::textclass_type instead of LyXTextClassList::size_type
15174
15175 2001-11-29  Juergen Vigna  <jug@sad.it>
15176
15177         * text.C: added support for paragraph::isFreeSpacing()
15178
15179         * buffer.C: same as above
15180
15181         * paragraph.h: inserted isFreeSpacing() function to enable
15182         FreeSpacing inside InsetERT.
15183
15184         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15185         of the paragraph's in the cut/copy buffer to 0!
15186
15187         * text2.C (removeRow): remove the assert as it can!
15188
15189         * lyxtext.h: added helper function firstRow returning firstrow and
15190         made firstrow private again.
15191
15192         * BufferView2.C (lockInset): don't relock if we're already locked!
15193
15194         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15195         the only paragraph.
15196         (removeRow): added Assert::(firstrow)
15197
15198         * debug.C: forgot to add INSETTEXT here.
15199
15200 2001-11-28  Juergen Vigna  <jug@sad.it>
15201
15202         * sp_spell.C (initialize): changed error text to more general
15203         spellchecker command use (not only ispell!)
15204
15205         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15206
15207         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15208
15209 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * vspace.C: initialise lyxgluelength on failure
15212
15213 2001-11-28  Allan Rae  <rae@lyx.org>
15214
15215         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15216         declaration & definition that looks like a function declaration.
15217
15218 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * BufferView2.C (copy):
15221         (copyEnvironment): do not clear the selection when doing a copy.
15222
15223         * text.C (paintFirstRow): compilation fix
15224
15225 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15226
15227         * tabular.C (Latex): correct line count when writing latex.
15228
15229 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * paragraph_pimpl.h:
15232         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15233           bug a bit
15234
15235 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * text.C:
15238         * LColor.h:
15239         * LColor.C: change vfillline->added_space
15240
15241         * text.C: add markers and text for added space
15242
15243         * vspace.C: fix comment
15244
15245 2001-11-28  André Pönitz <poenitz@gmx.net>
15246
15247         * paragraph.C: whitespace changes
15248         * all the other files from the change on 2001/11/26:
15249         change *::pos_type into lyx::pos_type
15250
15251 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15252
15253         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15254         language of the document when inserting error insets.
15255
15256 2001-11-26  André Pönitz <poenitz@gmx.net>
15257
15258         * BufferView_pimpl.[Ch]:
15259         *       CutAndPaste.C:
15260         * buffer.[Ch]:
15261         * lyxcursor.[Ch]:
15262         * lyxfind.C:
15263         * lyxfunc.C:
15264         * lyxrow.[Ch]:
15265         * paragraph.[Ch]:
15266         * paragraph_pimpl.[Ch]:
15267         * sp_spell.C:
15268         * text.C:
15269         * text2.C: reduce header dependencies, introduce type for positions
15270
15271 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * <various>: change to use Alert.h
15274
15275 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15278         when encountering an unknown token.
15279         (readLyXformat2): Show an error message if there were unknown tokens.
15280
15281 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15282
15283         * BufferView2.C:
15284         * BufferView_pimpl.C:
15285         * buffer.C:
15286         * paragraph.h:
15287         * text.C:
15288         * text2.C: use par->isInset()
15289
15290 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15291
15292         * paragraph_pimpl.h:
15293         * paragraph_pimpl.C: cleanup
15294
15295 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * text2.C (removeRow):
15298         * text.C (setHeightOfRow): remove useless (and costly) call to
15299         getRow.
15300
15301 2001-11-20  Allan Rae  <rae@lyx.org>
15302
15303         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15304         Now need Inset*::checkInsertChar() to return true for appropriate
15305         cases so that the characters in the minibuffer will actually be
15306         inserted.
15307
15308 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * text.C: change the order of the includes.
15311         (workWidth): initialize it at once.
15312         (workWidth): make maxw unsigned
15313         (setHeightOfRow): remove unused variable (inset)
15314         (selectSelectedWord): remove unused variable (inset)
15315         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15316
15317 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15318
15319         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15320         server is not running.
15321         (openConnection):
15322         (closeConnection): add debug info when server is disabled.
15323
15324         * ColorHandler.C (getGCForeground): send debug message to GUI
15325         channel.
15326
15327         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15328
15329         * kbmap.C (bind): modify because return conventions of
15330         kb_sequence::parse have changed.
15331
15332         * kbsequence.C (parse): only ignore spaces and not any stupid
15333         control character. This avoids tests like s[i] <= ' ', which are
15334         guaranteed to fail with 8bit characters and signed chars.
15335         Change return code to string::npos when there have been no error
15336         (0 was a bad idea when error is at first character)
15337
15338 2001-11-14  José Matos  <jamatos@fep.up.pt>
15339
15340         * buffer.h:
15341         * buffer.C (simpleDocBookOnePar): removed unused argument.
15342
15343 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15346         insets which are part of a word. Paragraph::isLetter takes care of
15347         that now. Use Paragraph::isInset to identify insets.
15348         (selectSelectedWord): do not test for hyphenation break.
15349
15350         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15351         that protected spaces are considered as spaces.
15352
15353         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15354         Inset::isLetter.
15355
15356 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15357
15358         * lyxserver.h:
15359         * lyxserver.C: fix it. and small cleanup.
15360
15361 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15362
15363         * BufferView_pimpl.C: use inline helpers
15364
15365         * LaTeXFeatures.h:
15366         * LaTeXFeatures.C: fix typos
15367
15368         * Spacing.h:
15369         * Spacing.C: move spacing_string into class
15370
15371         * ToolbarDefaults.C: move stuff into namespace anon
15372
15373         * layout.h: update enum
15374
15375         * lyxfunc.C: use better debug
15376
15377         * minibuffer.h: fix typo
15378
15379         * debug.h:
15380         * debug.C:
15381         * WorkArea.C: add and use Debug::WORKAREA
15382
15383         * lyxtext.h:
15384         * text.C:
15385         * text2.C: code re-organisation, inline helpers
15386
15387 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15388
15389         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15390         std::vector.empty().
15391
15392 2001-11-09  Allan Rae  <rae@lyx.org>
15393
15394         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15395         '\n's after tables.  Tabular and ERT inset work now makes this no
15396         longer necessary.
15397
15398 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15399
15400         * minibuffer.h:
15401         * minibuffer.C: fix crash, improve drop-down completion
15402
15403 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * lyxserver.h:
15406         * lyxserver.C: invalidate fd's when doing endPipe()
15407
15408 2001-11-08  José Matos  <jamatos@fep.up.pt>
15409
15410         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15411         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15412
15413         * paragraph.h:
15414         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15415
15416 2001-11-07  José Matos  <jamatos@fep.up.pt>
15417
15418         * buffer.h:
15419         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15420         const qualifier.
15421
15422         * buffer.C (sgmlOpenTag):
15423         * buffer.C (sgmlCloseTag): removed debug info.
15424
15425         * buffer.h (sgmlOpenTag):
15426         * buffer.h (sgmlCloseTag): made public.
15427
15428 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15429
15430         * buffer.C (saveParamsAsDefaults):
15431         * lyx_cb.C (MenuLayoutSave): remove
15432
15433         * LyXAction.C (init):
15434         * commandtags.h:
15435         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15436
15437 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * buffer.C (setPaperStuff): removed from here...
15440
15441         * bufferparams.C (setPaperStuff): ... and moved there.
15442
15443 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15444
15445         * minibuffer.h:
15446         * minibuffer.C:
15447         * XFormsView.C: add support for drop-down completion
15448
15449 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15450
15451         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15452         commands.
15453
15454 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15455
15456         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15457         disabled.
15458
15459 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15460
15461         * lyx_main.C: change ref to known bugs
15462
15463 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15464
15465         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15466         to work around older babel problems.
15467
15468 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15469
15470         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15471
15472 2001-10-24  Juergen Vigna  <jug@sad.it>
15473
15474         * tabular-old.C (ReadOld): below variable changes reflected.
15475
15476         * tabular.[Ch]: added ltType struct for longtable header/footer
15477         defines and changed all instances where they are used. Added
15478         future support for double top/bottom rows.
15479
15480 2001-10-24  José Matos  <jamatos@fep.up.pt>
15481
15482         * buffer.h (docbookHandleCaption):
15483         * buffer.C (docbookHandleCaption): removed unused function.
15484         (makeDocBookFile): moved docbook supported version to v4.1.
15485
15486 2001-10-24  José Matos  <jamatos@fep.up.pt>
15487
15488         * tabular.h:
15489         * tabular.C (docbookRow): new function to export docbook code of a row.
15490         (DocBook): now honors the longtable flags.
15491
15492 2001-10-23  José Matos  <jamatos@fep.up.pt>
15493
15494         * LaTeXFeatures.h:
15495         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15496         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15497
15498         * buffer.C (makeLinuxDocFile):
15499         (makeDocBookFile): reworked the preamble, more clean, and with
15500         support for lyx defined entities. Changed the document declaration
15501         to be more XML friendly.
15502
15503         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15504         if we need to output XML that should be done with a filter.
15505
15506 2001-10-22  Juergen Vigna  <jug@sad.it>
15507
15508         * sp_pspell.h (class PSpell): add alive function needed in the
15509         controller to see if the spellchecker could be started.
15510
15511 2001-10-22  Juergen Vigna  <jug@sad.it>
15512
15513         * buffer.C (insertStringAsLines): modify the font for inserting
15514         chars in certain conditions by calling checkInsertChar(font).
15515
15516 2001-10-19  Juergen Vigna  <jug@sad.it>
15517
15518         * text.C (workWidth): use getRow instead of wrong algorithm.
15519         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15520
15521 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * lyxserver.h:
15524         * lyxserver.C:
15525         * lyx_main.h:
15526         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15527
15528 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * text.C (workWidth): do not search for the exact row when
15531         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15532         optimization for big documents.
15533
15534 2001-10-18  Juergen Vigna  <jug@sad.it>
15535
15536         * text.C (workWidth): new function with added Inset * parameter.
15537
15538 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15539
15540         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15541
15542         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15543         change return type of getColumnNearX.
15544
15545
15546         * text.C (changeRegionCase): use uppercase/lowercase instead of
15547         toupper/tolower.
15548         (leftMargin):
15549         (rightMargin): simplify code by factoring out the uses of
15550         textclasslist.
15551         (labelFill):
15552         (numberOfHfills):
15553         (setHeightOfRow):
15554         (appendParagraph): use Paragraph::size_type
15555
15556 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15557
15558         * vspace.C (asLatexString): add a missing break
15559
15560 2001-10-15  Herbert Voss  <voss@perce.de>
15561
15562         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15563
15564 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15567         is not available.
15568
15569 2001-10-10  André Pönitz <poenitz@gmx.net>
15570
15571         * lyxfunc.C: removed greek_kb_flag.
15572
15573 2001-10-10  Herbert Voss  <voss@perce.de>
15574
15575         * lyx_main.C: delete global string help_lyxdir.
15576
15577 2001-10-09  Herbert Voss  <voss@perce.de>
15578
15579         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15580
15581         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15582
15583         * lyx_main.C: added global string help_lyxdir.
15584
15585         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15586
15587 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15588
15589         * lyxrc.C (set_font_norm_type): support iso8859-4
15590
15591 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15592
15593         * LaTeX.C (deplog): add another regex for MikTeX
15594
15595 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15596
15597         * lyxrc.C (set_font_norm_type): support iso8859-3
15598
15599 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15600
15601         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15602
15603         * LaTeXFeatures.C: remove special case of french and index
15604
15605         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15606         before \begin{document}). This solves several incompatibilities.
15607
15608 2001-10-03  Garst Reese  <reese@isn.net>
15609
15610         * lyx_cb.C: change CheckTex error msg.
15611
15612 2001-10-03  José Matos  <jamatos@fep.up.pt>
15613
15614         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15615
15616 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15617
15618         * .cvsignore: update
15619
15620         * lyx_main.C (commandLineVersionInfo): use new style version info.
15621
15622         * buffer.C (writeFile):
15623         (makeLaTeXFile):
15624         (makeLinuxDocFile):
15625         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15626
15627         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15628
15629         * version.h: update to use stuff in version.C
15630
15631         * version.C.in: new file. Contains version information determined
15632         at compile time. This is a merging of version.h and
15633         version_info.h.in.
15634
15635 2001-10-03  Juergen Vigna  <jug@sad.it>
15636
15637         * BufferView_pimpl.C (update): don't change "dirty" status in
15638         updateInset call.
15639
15640 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15641
15642         * WorkArea.C (c-tor): re-position version string slightly.
15643
15644 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15645
15646         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15647         revert to previous code.
15648
15649         WorkArea.[Ch]: (show, destroySplash): methods removed.
15650
15651         WorkArea.C: rework code so that it's an amalgam of the codes before and
15652         after the splash screen was moved to WorkArea.
15653
15654 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15655
15656         * lyxrc.C (read):
15657         * vspace.C (inPixels):
15658         (lyx_advance):
15659         * kbmap.C (bind):
15660         * buffer.C (insertStringAsLines):
15661         (asciiParagraph): fix types to be large enough
15662
15663         * lyxlex_pimpl.h: change member status from short to int
15664
15665         * layout.h: fix type of endlabeltype
15666
15667         * kbmap.C (bind):
15668         * kbsequence.C (parse): change return type to string::size_type
15669
15670         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15671         variable
15672
15673         * Bullet.C (bulletSize):
15674         (bulletEntry): do not use short ints as parameters
15675
15676         * BufferView2.C (insertLyXFile): change a char to an int.
15677
15678         * WorkArea.C (WorkArea): remove unneeded floats in computation
15679
15680 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15681
15682         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15683
15684         * paragraph.C (asString): Do not ignore newline/hfill chars when
15685         copying to the clipboard.
15686
15687 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15688
15689         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15690         after a multi-line inset.
15691
15692 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15693
15694         * paragraph.C (validate): Set NeedLyXFootnoteCode
15695
15696 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15697
15698         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15699         and decrease-error to decrease.
15700
15701 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15704         it more readable (should be equivalent)
15705
15706 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15707
15708         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15709
15710 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15711
15712         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15713         of a cursor (row, etc.) after a character has been deleted
15714         (deleteEmptyParagraphMechanism): call the method above on _all_
15715         cursors held by the LyXText when a double space has been
15716         detected/deleted.
15717
15718 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15719
15720         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15721         pixmap.
15722         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15723
15724         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15725         background. Use greyOut() and the new show() methods to toggle between
15726         the foreground and background. Add code to remove the splash after
15727         its initial showing.
15728
15729         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15730         (create_forms): no longer call Dialogs::showSplash.
15731
15732 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * .cvsignore: add version_info.h
15735
15736 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * version_info.h.in: new file
15739
15740         * Makefile.am: add version_info.h.in
15741
15742         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15743         version_info.h instead of VERSION_INFO
15744
15745 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15748         The ERT inset now returns string().
15749
15750 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15751
15752         * lyxtext.h, text.C (selectNextWord): renamed as
15753         selectNextWordToSpellcheck.
15754
15755         * text.C (selectNextWordToSpellcheck): Modified to not select
15756         words inside an ERT inset.
15757
15758 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * lyx_cb.C (MenuLayoutSave): change a bit the question
15761
15762         * sp_base.h: include <sys/types.h>
15763
15764 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15765
15766         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15767
15768 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15769
15770         * several files: fix typos in user-visible strings
15771
15772 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * text2.C (pasteSelection): do not set the selection, since it
15775         will be cleared later. Actually, the intent was to fix the way the
15776         selection was set, but I figured rmoving the code was just as good.
15777
15778 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * FontLoader.C (available): Check if font is available without
15781         loading the font.
15782
15783 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15784
15785         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15786
15787 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15788
15789         * lyxrc.[Ch]: added display_graphics variable and associated code.
15790
15791 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15792
15793         * bufferparams.C (hasClassDefaults): new method. Returns true if
15794         the buffer parameters correspond to known class defaults
15795
15796 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15797
15798         * XFormsView.C (show): set minimum size to the main window.
15799
15800 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * text2.C (copySelection):
15803         (cutSelection):
15804         * lyxfind.C (LyXReplace):
15805         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15806         LyXText::selectionAsString.
15807
15808         * paragraph.C (asString): add "label" argument to the second form
15809
15810         * text2.C (selectionAsString): add "label" argument and pass it to
15811         Paragraph::asString.
15812
15813 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15814
15815         * lyx_main.C (commandLineHelp): remove version information
15816
15817 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15818
15819         * lyx_main.C: add -version commandline option
15820
15821 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15822
15823         * paragraph.h: make the optional constructor arg required instead.
15824         some modifications to other files because of this.
15825
15826         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15827
15828         * lyxserver.C (C_LyXComm_callback): make it static
15829
15830         * lyx_main.C (error_handler): make it static
15831
15832         * lyx_gui.C (LyX_XErrHandler): make it static
15833
15834         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15835
15836         * WorkArea.C: make the extern "C" methods static.
15837
15838         * Makefile.am (lyx_LDADD): simplify
15839
15840 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15841
15842         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15843         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15844
15845         * LyXAction.C (init):
15846         * lyxfunc.C (dispatch): associated code removal.
15847
15848 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * lyxfont.h (isSymbolFont): shut off warning
15851
15852         * text.C (setHeightOfRow):
15853         (getVisibleRow): fix crash with empty paragraphs which have a
15854         bottom line
15855
15856 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15857
15858         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15859         code.
15860
15861 2001-09-04  José Matos  <jamatos@fep.up.pt>
15862         * buffer.C
15863         * buffer.h
15864         * tabular.C (docbook): rename docBook method to docbook.
15865
15866 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15867
15868         * Makefile.am: add dependencies to main.o.
15869
15870 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15871
15872         * FontLoader.C (available): Return false if !lyxrc.use_gui
15873
15874 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15875
15876         * FontInfo.C (query):
15877         * converter.C (view):
15878         * importer.C (Import):
15879         * exporter.C (Export): Can not -> cannot.
15880
15881 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15882
15883         * BufferView_pimpl.C: allow to create index inset even if
15884           string is empty
15885
15886 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15887
15888         * buffer.C (getLists): replace boost::tie code with an explicit pair
15889         as boost::tie can break some compilers.
15890
15891         * iterators.h: Added a std:: declaration to the return type of
15892         ParIterator::size.
15893
15894 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15895
15896         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15897           case.
15898
15899 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15900
15901         * iterators.[Ch]: New files. Provide paragraph iterators.
15902
15903         * buffer.C (changeLanguage): Use paragraph iterators.
15904         (isMultiLingual): ditto
15905
15906         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15907
15908 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15909
15910         * FontLoader.C: Support for cmr font.
15911
15912 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15913
15914         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15915         (available): New method.
15916
15917         * FontInfo.C (getFontname): Use scalable fonts even when
15918         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15919         found.
15920
15921 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15922
15923         * converter.C (Formats::view): reverted! Incorrect fix.
15924
15925 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15926
15927         * converter.C (Formats::view): only output the -paper option
15928         if the dvi viewer is xdvi, thereby fixing bug #233429.
15929
15930 2001-08-23  Herbert Voss  <voss@perce>
15931
15932         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15933
15934 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15935
15936         * Spacing.h (Spacing): Set space to Default on in the default
15937         constructor.
15938
15939 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * vc-backend.h (RCS::versionString): add RCS to version
15942         (CVS::versionString): add CVS to version
15943
15944         * vc-backend.C (scanMaster): do not add CVS to version.
15945         (scanMaster): do not add RCS to version
15946
15947         * lyxvc.C (versionString): new method
15948
15949         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15950
15951 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15952
15953         * Spacing.C (set): initialize fval
15954
15955 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15956
15957         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15958         " or \.
15959
15960 2001-08-16  Juergen Vigna  <jug@sad.it>
15961
15962         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15963
15964 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15965
15966         * BufferView_pimpl.C:
15967         * figureForm.C:
15968         * lyxtext.h:
15969         * text2.C: setParagraph takes linespacing now
15970
15971 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15972
15973         * LyxAction.C: add internal LFUN_CITATION_INSERT
15974
15975         * LyXView.C: actually apply fix
15976
15977         * bufferlist.C: fix open non-existent file
15978
15979         * lyxfind.C: fix indentation
15980
15981         * lyxfunc.C: remove unneeded assert, fix typo
15982
15983 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15984
15985         * MenuBackend.C: use "Floatname List"
15986
15987 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15988
15989         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15990         when converting LaTeX layout to insetERT.
15991         Generate a non-collapsed float when reading old float
15992
15993 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15994
15995         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15996         ERT insets.
15997
15998 2001-08-13  Juergen Vigna  <jug@sad.it>
15999
16000         * text.C (fill): return 0 instead of 20 as this seems to be the more
16001         correct value.
16002
16003 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16004
16005         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16006         lyxrc.font_norm.
16007
16008 2001-08-13  Juergen Vigna  <jug@sad.it>
16009
16010         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16011         casesensitive off.
16012         (SearchBackward): comment out the unlocking of the inset_owner this
16013         should not be needed!
16014
16015 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16016
16017         * Many files: Remove inherit_language, and add latex_language
16018
16019         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16020         collapsible insets.
16021
16022 2001-08-10  Juergen Vigna  <jug@sad.it>
16023
16024         * text.C (prepareToPrint): fixed hfill-width in draw!
16025
16026         * BufferView2.C (selectLastWord): save the selection cursor as this
16027         now is cleared in the function LyXText::clearSelection!
16028
16029 2001-08-08  Juergen Vigna  <jug@sad.it>
16030
16031         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16032         BACKSPACE type functions.
16033
16034         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16035         is only cutted from the document but not put in the cut-buffer, where
16036         still the old stuff should be.
16037
16038         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16039
16040         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16041
16042         * tabular.C (SetWidthOfCell): fixed special case where the width
16043         was not updated!
16044         (LeftLine): handle '|' in align_special.
16045         (RightLine): ditto
16046         (LeftAlreadyDrawed): ditto
16047         (SetWidthOfCell): ditto
16048
16049 2001-08-07  Juergen Vigna  <jug@sad.it>
16050
16051         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16052
16053 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16054
16055         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16056         * lyxlex.[hC]: ditto
16057
16058 2001-08-06  Juergen Vigna  <jug@sad.it>
16059
16060         * text.C (getVisibleRow): fix up row clearing a bit.
16061
16062 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16063
16064         * minibuffer.C: make sure the X server sees the changes in the input.
16065
16066 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * paragraph.C (getFont): split into...
16069         (getLabelFont): this
16070         (getLayoutFont): and this
16071         * paragraph_pimpl.C (realizeFont): calling this
16072
16073         * text2.C (getFont): split into...
16074         (getLayoutFont): this
16075         (getLabelFont): and this
16076         (realizeFont): all three calling this
16077
16078         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16079         files where used.
16080
16081 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16084
16085 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16086
16087         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16088         layouts from the Quote inset insertion.
16089
16090 2001-08-03  Juergen Vigna  <jug@sad.it>
16091
16092         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16093
16094         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16095         only if status not is already CHANGED_IN_DRAW (second level).
16096
16097         * text.C (draw): don't set the need_break_row when inside an
16098         InsetText LyXText.
16099
16100 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * buffer.C (parseSingleLyXformat2Token): handle more latex
16103         conversion cases.
16104
16105         * bufferview_funcs.[hC]: change function names to
16106         begin with small char, adjust other files.
16107
16108 2001-08-02  André Pönitz <poenitz@gmx.net>
16109
16110         * lyxfunc.C:
16111         BufferView_pimpl.C: remove broken special code for math-greek
16112
16113 2001-08-02  Juergen Vigna  <jug@sad.it>
16114
16115         * BufferView_pimpl.C (update): redone this function so that we
16116         update the text again if there was a CHANGE_IN_DRAW.
16117
16118         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16119         (drawFromTo): added a new internal bool which is used by draw() and
16120         redraw() function.
16121         (general): some cursor drawing problems fixed.
16122
16123 2001-08-01  Juergen Vigna  <jug@sad.it>
16124
16125         * lyxfind.C (LyXFind): fixed
16126         (SearchForward): ditto
16127         (SearchBackward): ditto
16128
16129         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16130         spurius drawing of the cursor in the main area.
16131
16132         * text2.C (status): small fix which could lead to a segfault!
16133         (clearSelection): remove unneeded BufferView param.
16134
16135 2001-08-01  André Pönitz <poenitz@gmx.net>
16136
16137         * lyxfunc.C: small change due to changed mathed interface
16138
16139 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16142
16143 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16144
16145         * lyxfunc.c: fail gracefully if file doesn't exist
16146
16147         * LyXSendto.C:
16148         * buffer.C:
16149         * lyxfunc.C:
16150         * BufferView_pimpl.C: IsDirWriteable() proto changed
16151
16152         * LyXView.C: fix updateWindowTitle() to store the last title
16153
16154 2001-07-31  Juergen Vigna  <jug@sad.it>
16155
16156         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16157         the font (wrong since using of Paragraph::highestFontInRange).
16158
16159         * paragraph.C (highestFontInRange): added a default_size parameter.
16160
16161         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16162         (setHeightOfRow): reformat
16163
16164 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16165
16166         * converter.[hC] + affected files: move to (inital-char)lowercase
16167         function names.
16168
16169         * ParagraphParameters.C (ParagraphParameters): remove commented code
16170
16171         * PainterBase.[Ch]: remove commented code
16172
16173         * LaTeXFeatures.h: add "bool floats" for float.sty
16174
16175         * LaTeXFeatures.C (LaTeXFeatures): init floats
16176         (require): handle float
16177         (getPackages): do it with floats
16178
16179 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16180
16181         * BufferView_pimpl.C (Dispatch): improve handling of
16182         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16183
16184         * commandtags.h: #include lyxfont.h here temporarily to avoid
16185         keybinding bug.
16186
16187         * bufferlist.h: include LString.h here.
16188
16189 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16190
16191         * text2.C (getStringToIndex): new method.
16192
16193 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16194
16195         * *: Reduced header file dependencies all over.
16196
16197 2001-07-30  Baruch Even  <baruch@lyx.org>
16198
16199         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16200
16201 2001-07-29  Baruch Even  <baruch@lyx.org>
16202
16203         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16204
16205 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16206
16207         * ParameterStruct.h (endif): add a default constructor to make
16208         sure that all variables is initialized.
16209
16210         * ParagraphParameters.C (ParagraphParameters): adjust
16211
16212 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16213
16214         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16215         index; also, check that there is something to index, and that it
16216         does not span over several paragraphs.
16217         (doubleClick): use WHOLE_WORD_STRICT for double click.
16218
16219         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16220
16221         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16222         scheme.
16223
16224 2001-07-26  Baruch Even  <baruch@lyx.org>
16225
16226         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16227         an InsetFig figure, backwards compatible reading of old figure code.
16228
16229 2001-07-27  Juergen Vigna  <jug@sad.it>
16230
16231         * text2.C: font.realize function adaption.
16232
16233         * text.C (draw): add a warnings lyxerr text if needed.
16234
16235         * layout.C: font.realize function adaption.
16236
16237         * language.C: add inherit_language and implement it's handlings
16238
16239         * bufferview_funcs.C (StyleReset): remove language parameter from
16240         font creation (should be language_inherit now).
16241
16242         * bufferparams.C (writeFile): handle ignore_language.
16243
16244         * paragraph.C (getFontSettings): the language has to be resolved
16245         otherwise we have problems in LyXFont!
16246
16247         * lyxfont.C (lyxWriteChanges): added document_language parameter
16248         (update): removed unneeded language parameter
16249
16250         * paragraph.C (validate): fixed wrong output of color-package when
16251         using interface colors for certain fonts in certain environments,
16252         which should not seen as that on the final output.
16253
16254 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16255
16256         * BufferView_pimpl.C:
16257         * Thesaurus.h:
16258         * Thesaurus.C:
16259         * Makefile.am:
16260         * commandtags.h:
16261         * LyXAction.C: add thesaurus support
16262
16263         * lyxfind.h:
16264         * lyxfind.C: add "once" parameter, for thesaurus, to not
16265           move to the next match
16266
16267 2001-07-26  Juergen Vigna  <jug@sad.it>
16268
16269         * lyxfont.C (realize): honor ignore_language too!
16270         (resolved): ditto.
16271
16272         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16273
16274         * text.C (draw): one place more for ignore_language to not draw
16275         itself!
16276
16277 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16278
16279         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16280
16281 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16284         the minipage conversion problem.
16285
16286 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16287
16288         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16289         insert an inset.
16290
16291 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16292
16293         * BufferView.h: don't forward declare WorkArea
16294
16295         * BufferView.C: don't include WorkArea.h
16296
16297 2001-07-25  André Pönitz <poenitz@gmx.net>
16298
16299         * commandtags.h:
16300         * LyXAction.C:
16301         * lyxfunc.C:  new LFUN 'math-space'
16302
16303         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16304
16305 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16306
16307         * text2.C (toggleInset): call open/close
16308
16309 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16310
16311         * lyxfunc.C (dispatch): add debug for the disabled case
16312
16313         * font.C (buttonText): make similar to rectText
16314
16315         * buffer.C (readInset): comment out parsing of insetlist and
16316         insttheorem
16317
16318         * PainterBase.C (rectText): small correction
16319
16320         * BufferView_pimpl.C: comment out insettheorem and insetlist
16321         * LyXAction.C: ditto
16322         * commandtags.h: ditto
16323
16324 2001-07-24  Juergen Vigna  <jug@sad.it>
16325
16326         * text.C (draw): honor the ignore_language.
16327
16328         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16329
16330 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16333         char inset.
16334
16335 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16336
16337         * lyxtext.h: remove unused (and unimplemented) methods
16338
16339 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16340
16341         * text.C (getVisibleRow): honor background color
16342
16343         * PainterBase.h:
16344         * Painter.h: remove default color argument for fillRectangle
16345
16346         * text.C (backgroundColor): new method
16347
16348 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16349
16350         * text.C (getVisibleRow): adjust
16351
16352         * font.[Ch] (rectText): new method, metrics
16353         (buttonText): new method, metrics
16354
16355         * PainterBase.[hC]: make rectText and buttonText always draw and take
16356         fewer paramteres.
16357
16358 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16359
16360         * ToolbarDefaults.C (read):
16361         * MenuBackend.C (read): allow escaping in all strings
16362
16363         * BufferView_pimpl.C (insertAndEditInset): new method.
16364         (Dispatch): use insertAndEditInset whenever appropriate.
16365
16366         * BufferView_pimpl.C (insertNote): removed
16367
16368         * BufferView_pimpl.C (smartQuote): new method, moved from
16369         BufferView; if an insetquote cannot be inserted, insert a '"'
16370         character instead.
16371
16372         * BufferView2.C: remove insertCorrectQuote();
16373
16374         * lyxfunc.C (getStatus): Add support for all remaingin
16375         inset-insert lfuns.
16376
16377         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16378
16379         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16380         command (necessary to pass " as parameter of self-insert.
16381
16382         * text.C (selectWordWhenUnderCursor):
16383         (selectWord): add word_location parameter
16384         (selectWordWhenUnderCursor): same + remove special code for word
16385         boundary.
16386         (selectNextWord): use kind() to guess type of insetspecialchar,
16387         not latex().
16388
16389         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16390         (insertErtContents): create ert insets as collapsed.
16391         (readInset): better compatibility code for Info inset.
16392
16393 2001-07-20  Juergen Vigna  <jug@sad.it>
16394
16395         * lyxfunc.C (dispatch): use always LyXFind now!
16396
16397         * text2.C (init): add a reinit flag so that the LyXText can be
16398         reinited instead of deleted and reallocated (used in InsetText).
16399
16400         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16401
16402         * text.C: ditto
16403
16404         * text2.C: ditto
16405
16406 2001-07-18  Juergen Vigna  <jug@sad.it>
16407
16408         * text.C (selectNextWord): handle insets inside inset by calling
16409         always the bv->text functions so that we can go up the_locking_inset!
16410
16411         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16412         in strange locations when inside an inset!
16413
16414         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16415         handling to include insets.
16416
16417         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16418
16419 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16420
16421         * LyXAction.C (init):
16422         * commandtags.h:
16423         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16424         LIGATURE_BREAK, since the name is so stupid.
16425
16426 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16427
16428         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16429         InsetInfos.
16430
16431         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16432
16433         * sp_form.[Ch]: remove.
16434
16435         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16436
16437         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16438         InsetInfo.
16439
16440         * src/buffer.C (readInset): ditto.
16441
16442 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16443
16444         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16445         menuSeparator(), endOfSentenceDot(), ldots() and
16446         hyphenationPoint(), which are therefore removed.
16447         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16448
16449         * LyXAction.C (init):
16450         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16451
16452         * paragraph.C (getWord): removed.
16453
16454         * BufferView_pimpl.C (Dispatch): use last word or selection for
16455         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16456
16457         * lyx_main.C (queryUserLyXDir): do not ask before creating
16458         user_dir, except if it has been named explicitely.
16459
16460 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16461
16462         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16463         a document of zero size.
16464
16465 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16466
16467         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16468         approriately in the c-tor and in require().
16469         (getPackages): output the appropriate LaTeX for natbib support.
16470
16471         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16472         variables "use_natbib" and "use_numerical_citations" when reading the
16473         LyX file.
16474         (readInset): read the various natbib cite commands.
16475         (validate): white-space change.
16476
16477         * bufferparams.[Ch]: new variables "bool use_natbib" and
16478         "bool use_numerical_citations".
16479         (writeFile): output them in the LyX file.
16480
16481 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16482
16483         * lyxfunc.C (getStatus): add support for all the inset insertion
16484         commands.
16485
16486         * text2.C (insertInset):
16487         * paragraph.C (insetAllowed):
16488         * BufferView_pimpl.C (insertInset): update to take in account the
16489         renaming of insertInsetAllowed
16490
16491         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16492
16493         * text2.C (getInset): new method. returns inset at cursor position.
16494
16495         * BufferView_pimpl.C (Dispatch): changes because of this.
16496
16497         * LyXAction.C (init): rename open-stuff to inset-toggle.
16498
16499         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16500
16501         * text2.C (toggleInset): renamed from openStuff; use
16502         Inset::open().
16503
16504 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16505
16506         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16507
16508         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16509
16510 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16511
16512         * buffer.C (readLyXformat2): Add filename to the error dialog
16513
16514 2001-07-18  Juergen Vigna  <jug@sad.it>
16515
16516         * tabular.C (GetCellNumber): put an assert here instead of the check!
16517
16518 2001-07-17  Juergen Vigna  <jug@sad.it>
16519
16520         * BufferView_pimpl.C (toggleSelection): adapted too.
16521
16522         * text.C (selectNextWord): adapted for use with insets.
16523         (selectSelectedWord): ditto
16524
16525 2001-07-17  Juergen Vigna  <jug@sad.it>
16526
16527         * sp_spell.C (PSpell): fix initialitation order.
16528
16529 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * paragraph.C: spacing
16532
16533 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16534
16535         * sp_spell.C: repair language selection for pspell
16536
16537 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16538
16539         * lyxfunc.h: change more methods to begin with lower char.
16540
16541 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16542
16543         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16544         for unknown layouts.
16545
16546 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16547
16548         * buffer.C (readLyXformat2): Generate an error dialog if there are
16549         unknown layouts.
16550
16551 2001-07-16  Juergen Vigna  <jug@sad.it>
16552
16553         * sp_spell.C: always compile ISpell part.
16554
16555         * lyxrc.C: added use_pspell entry and it's handling.
16556
16557 2001-07-13  Juergen Vigna  <jug@sad.it>
16558
16559         * sp_spell.C: removed double includes.
16560
16561 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16562
16563         Consistent use of Lsstream.h:
16564         * Lsstream.h: added using std::stringstream for consistencies sake.
16565
16566         * buffer.C: removed using std::stringstream
16567
16568         * lyxfont.C (stateText):
16569         * paragraph.C (asString):
16570         * text.C (selectNextWord, selectSelectedWord):
16571         * text2.C (setCounter):
16572         * vspace.C (asString, asLatexString):
16573         std::ostringstream -> ostringstream.
16574
16575 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16576
16577         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16578         * commandtags.h: add LFUN_HELP_ABOUTLYX
16579         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16580
16581 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16582
16583         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16584         cursorToggle()
16585         * lyx_gui_misc.C: remove spellchecker
16586         * lyxfunc.C: showSpellchecker
16587         * sp_base.h: added
16588         * sp_ispell.h: added
16589         * sp_pspell.h: added
16590         * sp_spell.C: added
16591         * sp_form.[Ch]: removed
16592         * spellchecker.[Ch]: removed
16593
16594 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16595
16596         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16597         is set.
16598         (simpleTeXSpecialChars): Simply print the input character without
16599         any special translation if pass_thru is set.
16600
16601         * layout.h: Added bool pass_thru to layout class for being able to
16602         implement pass through of a paragraph for Literate Programming.
16603
16604         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16605         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16606         * layout.C (Read): add "passthru" to list of layout tags and add
16607         code to set the pass_thru boolean when it is read.
16608
16609 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16610
16611         * trans_decl.h: remove allowed from KmodInfo
16612
16613         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16614         remove allowed code
16615         (Load): adjust
16616
16617         * paragraph_pimpl.C (erase): use boost::prior
16618
16619         * Painter.C (text): use data() instead of c_str() when length is
16620         also provided.
16621         * WorkArea.C (putClipboard): ditto
16622         * font.h (width): ditto
16623
16624         * BufferView2.C: use it-> instead of (*it). for iterators
16625         * texrow.C: ditto
16626         * paragraph_pimpl.C: ditto
16627         * paragraph.C: ditto
16628         * minibuffer.C: ditto
16629         * language.C: ditto
16630         * kbmap.C: ditto
16631         * encoding.C: ditto
16632         * counters.C: ditto
16633         * converter.C: ditto
16634         * chset.C: ditto
16635         * Variables.C: ditto
16636         * TextCache.C: ditto
16637         * MenuBackend.C: ditto
16638         * LyXAction.C: ditto
16639         * LColor.C: ditto
16640         * FloatList.C: ditto
16641         * DepTable.C: ditto
16642         * ColorHandler.C (LyXColorHandler): ditto
16643
16644 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16647
16648         * text2.C (openStuff): reintroduce this method (which had been
16649         nuked in NEW_INSETS frenzy).
16650
16651         * lyxfunc.C (Dispatch): when an action has not been handled, use
16652         its name in the error message, not its number.
16653
16654         * paragraph.C (inInset): change method name to begin with lowercase.
16655
16656         * undo_funcs.C:
16657         * text2.C: updates because of this.
16658
16659 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16660
16661         * ToolbarDefaults.C (add): add spaces in error message
16662
16663 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16664
16665         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16666         (readLyXformat2): rename return_par to first_par, use lyxlex's
16667         pushToken and remove the manual push handling.
16668         (parseSingleLyXformat2Token): add another ert comp. variable:
16669         in_tabular, rename return_par to first_par. handle newlines better
16670
16671 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16672
16673         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16674
16675 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16676
16677         * text2.C (getParFromID): removed
16678
16679         * buffer.C (getParFromID): new method moved form lyxtext.
16680         * BufferView2.C (insertErrors): adjust
16681         (setCursorFromRow): adjust
16682         * BufferView_pimpl.C (restorePosition): adjust
16683         * lyxfunc.C (Dispatch): adjust
16684         * undo_funcs.C (textUndo): adjust
16685         (textRedo): adjust
16686         (textHandleUndo): adjust
16687         (textHandleUndo): adjust
16688
16689 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16690
16691         * buffer.C: up' the LYX_FORMAT
16692
16693         * lyxfont.h: turn NO_LATEX on as default
16694
16695         * buffer.C (insertErtContents): new methods of tex style compability.
16696         (parseSingleLyXformat2Token): use it several places.
16697         * tabular.C (OldFormatRead): and here
16698
16699 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16700
16701         * text2.C: remove some commented code.
16702         reindent file.
16703
16704         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16705         * trans.C: changes because of the above.
16706
16707 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16708
16709         * text2.C (setCounter): Fix counters bug with bibliography layout.
16710
16711 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16712
16713         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16714         own member functions
16715         (simpleTeXSpecialChars): ditto
16716
16717 2001-07-06  Juergen Vigna  <jug@sad.it>
16718
16719         * a lot of files: changed the access to LyXText::status and the
16720         call of undo-functions.
16721
16722         * undo.[Ch]: added a inset_id to the undo informations.
16723
16724         * undo_funcs.[Ch]: added and moved here all undo functions.
16725
16726         * lyxtext.h: give the status enum a weight, made status_ a private
16727         variable and made accessor functions for it, removed the whole bunch
16728         of undo-functions as they are now in their own file, make some
16729         functions publically available. Added function ownerParagraph with
16730         int parameter.
16731
16732         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16733         made InInset() a const function, added getParFromID() function.
16734
16735         * buffer.[Ch]: added const version for inset_iterator functions,
16736         added getInsetFromID() function.
16737
16738         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16739         changed undo functions for new version.
16740
16741 2001-07-05  Juergen Vigna  <jug@sad.it>
16742
16743         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16744         unknow mechanism does not call the proper constructor but only this
16745         one also if I request the other!?
16746
16747 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16750
16751         * text2.C (LyXText): use initialization lists.
16752
16753         * lyxtext.h (Selection): initialize set_ and mark_
16754         (init): remove method
16755
16756 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16757
16758         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16759
16760 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * screen.[Ch]: change method names to begin with lowercase
16763
16764         * BufferView_pimpl.C (updateScrollbar): simplify further and
16765         hopefully make it a bit faster.
16766
16767 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16770         calling directly xforms functions.
16771
16772         * Painter.C (Painter):
16773         * lyx_cb.C (MenuWrite):
16774         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16775         fl_display.
16776
16777         * lyx_gui.C: remove bogus guiruntime extern declaration.
16778
16779 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16780
16781         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16782         in NEW_INSETS
16783         (redoDrawingOfParagraph): ditto
16784         (redoParagraphs): ditto
16785         (cutSelection): don't create a object for CutAndPaste use the
16786         static method directly
16787         (pasteSelection): ditto
16788
16789         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16790         LyXview (+ rename)
16791
16792 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16793
16794         * modifications to some other files because of this.
16795
16796         * Makefile.am (lyx_SOURCES): add XFormsView
16797
16798         * XFormsView.[Ch]: new files
16799
16800         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16801         the main window. Move the gui dependent stuff to XFormsView
16802
16803 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16804
16805         * tabular.C (GetCellInset): update cur_cell also in the row/col
16806         version of this function.
16807
16808         * lyxfunc.C: no need to include figure_form.h here.
16809
16810         * FontLoader.h:
16811         * lyxfunc.h:
16812         * lyxscreen.h:
16813         * text2.C:
16814         * lyxvc.C: no need to include forms.h here.
16815
16816 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16817
16818         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16819
16820         * lyxfunc.C (Dispatch):
16821         * Spacing.C (set):
16822         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16823         constructor argument.
16824
16825 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * paragraph.C (Paragraph): dont't clear, and just set layout.
16828         (makeSameLayout): use params's copy contructor.
16829
16830         * ParagraphParameters.[Ch] (makeSame): delete method
16831
16832 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16833
16834         * Variables.[Ch]: fix indentation, rename set to isSet
16835
16836 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16837
16838         * lyxfunc.C (Dispatch): fix typo
16839
16840 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16841
16842         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16843         upper_bound.
16844
16845         * bufferlist.C: include assert.h for emergencyWrite().
16846
16847 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16848
16849         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16850           give up at last (bug #425202) !
16851
16852 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16853
16854         * lyx_gui_misc.C:
16855         * sp_form.h:
16856         * sp_form.C:
16857         * spellchecker.h:
16858         * spellchecker.C: strip spellchecker options and bring up
16859           preferences tab instead
16860
16861 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16862
16863         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16864         the istringstream constructor
16865
16866 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16867
16868         * paragraph.C (getLayout): fix return value
16869
16870         * paragraph.h: do not declare getLayout as inline.
16871
16872         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16873
16874 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16875
16876         * lyxcursor.h (operator<): new func
16877         (operator>): new func
16878         (operator>=): new func
16879         (operator<=): new func
16880
16881         * text.C (changeCase): use selection.start and selection.end
16882         (changeRegionCase): require from to be <= to. Require par to be a
16883         valid paragraph.
16884
16885         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16886
16887 2001-06-27  Juergen Vigna  <jug@sad.it>
16888
16889         * text.C (cursorLeftOneWord): changed to return the cursor and added
16890         overlay with BufferView * parameter which calls this one.
16891         (getWord): added
16892         (selectWord): use new getWord function.
16893         (changeCase): renamed from changeWordCase as and extended to work
16894         also on selections.
16895
16896         * lyxtext.h: added enum word_location
16897
16898         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16899         changeCase as this operates now also on selections.
16900
16901 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16902
16903         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16904
16905         * many files: send debug output to Debug::INFO instead of
16906         Debug::ANY.
16907
16908         * converter.C (View):
16909         (Convert):
16910         (Move): send debug output to Debug::FILES instead of console.
16911
16912 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16913
16914         * lyxfunc.C (getStatus): use func_status
16915
16916         * func_status.h: new header, describing the results of
16917         LyXFunc::getStatus;
16918
16919         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16920         LFUN_MATH_HALIGN.
16921
16922 2001-06-25  The LyX Project  <jug@sad.it>
16923
16924         * buffer.C (sgmlOpenTag):
16925         (sgmlCloseTag):
16926         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16927
16928 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16929
16930         * text2.C: remove some dead code
16931
16932         * tabular.C (GetCellInset): store the last cell checked (gotten)
16933
16934         * tabular.h: add the helper for the speedup
16935
16936         * lyxtext.h: remove some dead code
16937
16938 2001-06-26  The LyX Project  <Asger>
16939
16940         * paragraph.C: Change export to LaTeX of alignment to
16941         \begin{center} and family for better roundtrip work with reLyX.
16942
16943         * Tune the math drawing a bit.
16944
16945 2001-06-25  The LyX Project  <Asger>
16946
16947         * LColor.C (LColor): New color for math background. New color
16948         for buttons.
16949
16950 2001-06-25  The LyX Project  <jug@sad.it>
16951
16952         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16953
16954         * lyxfunc.C (Open):
16955         * bufferlist.C (newFile): do not restrict to files ending with
16956         .lyx
16957
16958         * BufferView_pimpl.C (MenuInsertLyXFile):
16959
16960 2001-06-24  The LyX Project  <jug@sad.it>
16961
16962         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16963         of compare_no_case
16964
16965 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16966
16967         * lyxtext.h: rename most methods to begin with a small char.
16968         Lots of changes because of this.
16969
16970         * paragraph.C (Paragraph): do not call fitToSize
16971         (erase): call Pimpl::erase
16972         (insertChar): call Pimpl::insertChar
16973         (insertInset): call Pipl::insertInset
16974         (breakParagraph): do not call fitToSize
16975         (breakParagraphConservative): do not call fitToSize
16976         (fitToSize): remove method
16977
16978         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16979
16980 2001-06-24  The LyX Project  <Asger>
16981
16982         * Fix Qt compilation^2
16983
16984 2001-06-24  The LyX Project  <jug@sad.it>
16985
16986         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16987         depthHook(getDepth()-1).
16988
16989         * paragraph.h:
16990         * ParagraphParameters.h:
16991         * ParameterStruct.h: change type of depth to unsigned int ==
16992         depth_type. Many adaptations to other files before of that.
16993
16994 2001-06-24  The LyX Project  <Asger>
16995
16996         * Fix Qt compilation.
16997
16998 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16999
17000         * paragraph.h: renamed several methods to begin with small letter.
17001         several changes to many parts of the code because of this.
17002
17003 2001-06-23  The LyX Project  <jug@sad.it>
17004
17005         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17006         rewritten to discard all double spaces when KeepEmpty is off
17007         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17008         to only handle newlines but not fiddle with spaces and friends.
17009
17010         * lyxfunc.C (MenuNew): when doing 'new from template', use
17011         template_path as default directory
17012
17013 2001-06-23  The LyX Project  <Asger>
17014
17015         * Clean-up of header file includes all over
17016         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17017
17018 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17019
17020         * paragraph.h: renamed from lyxparagraph.h
17021
17022 2001-06-23  Asger  <lyx@violet.home.sad.it>
17023
17024         * Buffer.h: Removed Buffer::resize
17025         * BufferList.h: Removed BufferList::resize
17026         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17027         the document lazily when we change the width, or the font settings.
17028
17029 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17030
17031         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17032
17033 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17034
17035         * buffer.h: remove out of date comment
17036
17037 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17038
17039         * lyxscreen.h:
17040         * screen.C: fix "theoretical" GC leak
17041
17042 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17043
17044         * LaTeX.C (scanAuxFile):
17045         (deplog): remove trailing \r when reading stream (useful under
17046         win32)
17047
17048 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17049
17050         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17051         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17052         and BufferView::theLockingInset(Inset*), so should use them and not
17053         access bv_->text->the_locking_inset directly.
17054
17055         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17056
17057 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17058
17059         * Makefile.am:
17060         * tex-defs.h: remove old unused file
17061
17062 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17063
17064         * BufferView_pimpl.C: fix typo, remove minibuffer message
17065           when buffer has loaded
17066
17067 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17068
17069         * lyxfunc.C (Dispatch): use stringstream
17070         (MenuNew): use stringstream
17071         (Open): use stringstream
17072
17073         * importer.C (Import): use stringstream
17074
17075         * bufferview_funcs.C (CurrentState): use stringstream
17076
17077         * LaTeX.C (run): use stringstream
17078
17079         * BufferView_pimpl.C (savePosition): use stringstream
17080         (restorePosition): use stringstream
17081         (MenuInsertLyXFile): use stringstream
17082
17083 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17084
17085         * BufferView.C:
17086         * Bullet.C:
17087         * ColorHandler.C:
17088         * FontInfo.C:
17089         * FontLoader.C:
17090         * LColor.C:
17091         * LaTeXFeatures.C:
17092         * Painter.C:
17093         * gettext.C:
17094         * lyx_gui_misc.C:
17095         * lyxserver.C:
17096         * vspace.C: removed // -*- C++ -*- as first line.
17097
17098         * lyxfind.h:
17099         * version.h: added // -*- C++ -*- as first line.
17100
17101 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17104
17105         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17106         of string
17107
17108 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17109
17110         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17111         of floats.
17112
17113 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17114
17115         * gettext.C: include LString.h even when --disable-nls is on.
17116
17117 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17118
17119         * converter.h (Get): changed argument type from int to
17120         FormatList::size_type to avoid unnecessary conversion.
17121
17122         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17123         before using it.
17124
17125 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17126
17127         * gettext.h: include LString.h even when --disable-nls is on.
17128
17129 2001-06-07  Juergen Vigna  <jug@sad.it>
17130
17131         * text.C (BreakAgain): subst spaces with tabs.
17132
17133         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17134         (resizeInsetsLyXText): set force on resizeLyXText.
17135
17136 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17137
17138         * gettext.h (gettext_init):
17139         (locale_init): use a real definition instead of a macro
17140
17141 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17142
17143         * Bufferview_pimpl.C:
17144         * LColor.h:
17145         * LColor.C: further lcolor tidies
17146
17147 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17148
17149         * BufferView_pimpl.C (updateScrollbar): simplify.
17150
17151         * BufferView2.C: don't include insets/insetinfo.h, change
17152         prototype for insertInset and call the Pimpl version. let
17153         updateInset call Pimpl version.
17154
17155         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17156         gotoInset to BufferView::Pimpl
17157
17158 2001-06-01  Juergen Vigna  <jug@sad.it>
17159
17160         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17161         inside a LockingInset (is the update needed at all?).
17162
17163 2001-05-31  Juergen Vigna  <jug@sad.it>
17164
17165         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17166         here not the old one otherwise how should we compare it afterwards
17167         if it's the same!
17168
17169 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17170
17171         * lyxfont.C:
17172         * tabular.C:
17173         * tabular-old.C:
17174         * FontInfo.C: bring C functions into global namespace when
17175         necessary
17176
17177 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17178
17179         * LString.h: make sure config.h has been loaded before LString.h.
17180
17181         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17182         (one for each char read by EatLine!).
17183
17184         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17185         variables.
17186
17187 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17188
17189         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17190         to the same as the par we break from
17191
17192 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17193
17194         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17195
17196         * MenuBackend.C (expand): also create menu entries for wide
17197         versions of the floats.
17198
17199         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17200
17201         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17202
17203         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17204         frontends/Makefile.am
17205
17206         * text2.C: adjust
17207         * text.C: adjust
17208
17209
17210         * tabular.C (getTokenValue): add std::
17211
17212         * tabular-old.C (getTokenValue): add std::
17213         (getTokenValue): ditto
17214         (getTokenValue): ditto
17215
17216         * screen.C (ToggleSelection): adjust
17217
17218         * lyxtext.h: put selection cursors inside a Selection struct.
17219
17220         * lyxfunc.C (moveCursorUpdate): adjust
17221
17222         * lyxfont.C (latexWriteStartChanges): add std::
17223
17224         * lyxfind.C: adjust
17225
17226         * font.h: delete with(char const *, LyXFont const &)
17227
17228         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17229
17230         * FontInfo.C (getFontname): add std::
17231
17232         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17233         (workAreaButtonPress): adjust
17234         (tripleClick): adjust
17235         (update): adjust
17236         (moveCursorUpdate): adjust
17237         (Dispatch): adjust
17238
17239         * BufferView2.C (gotoInset): adjust
17240
17241 2001-05-30  Juergen Vigna  <jug@sad.it>
17242
17243         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17244         to check pspell I add this as default as I now have new pspell
17245         libraries and they seem to use this.
17246
17247 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17248
17249         * text2.C (CutSelection): make the cursor valid before the call to
17250         ClearSelection.
17251
17252 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17253
17254         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17255         relied on 0 terminated strings and other horrors. Bug found due to
17256         the new assert in lyxstring!
17257
17258         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17259         KP_ keys.
17260
17261 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17262
17263         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17264         to latinkeys.bind.
17265
17266         * lyxfunc.C (processKeySym): change method of getting to the
17267         self-insert char.
17268
17269         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17270         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17271         * BufferView_pimpl.[Ch]: here as private methods.
17272
17273 2001-05-28  Juergen Vigna  <jug@sad.it>
17274
17275         * text.C (SetHeightOfRow): added the update() call again as it is
17276         needed to initialize inset dimensions!
17277
17278 2001-05-16  Juergen Vigna  <jug@sad.it>
17279
17280         * text2.C (SetCharFont): Add new function with BufferView * and
17281         bool toggleall parameters for setting insets internal fonts.
17282         (SetFont): Freeze the undo as we may change fonts in Insets and
17283         all this change should be inside only one Undo!
17284
17285         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17286         setting font's in insets as for them we have the SetFont function!
17287
17288 2001-05-15  Juergen Vigna  <jug@sad.it>
17289
17290         * text2.C (ClearSelection): to be sure we REALLY don't have any
17291         selection anymore!
17292
17293         * tabular.C (TeXCellPreamble): fixed the left border problem for
17294         multicolumn cells.
17295
17296 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17297
17298         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17299         dependancy file
17300
17301 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17302
17303         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17304         LFUN_BREAKPARAGRAPH.
17305
17306         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17307         help test to "internal only", similar for LFUN_INSERT_URL
17308
17309         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17310         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17311         auto_region_delete and deadkeys.
17312
17313 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17314
17315         * LColor.h:
17316         * LColor.C: remove some dead entries, tidy a little
17317
17318 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17319
17320         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17321         commented code.
17322         (Dispatch): implement LFUN_ESCAPE
17323
17324         * commandtags.h: add LFUN_ESCAPE
17325
17326         * LyXAction.C (init): add entry for LFUN_ESCAPE
17327
17328         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17329         Remove commented code.
17330         (insertNote): moved here
17331         (open_new_inset): moved here
17332
17333         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17334         BufferView_pimpl
17335
17336 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17337
17338         * kbmap.C (findbinding): clean it up and make it work correctly.
17339
17340         * lyx_main.C (init): do not pass argc and argv as parameters
17341
17342 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17343
17344         * buffer.C: fix path for OS/2 & Win32
17345
17346         * lyx_gui.C:
17347         * lyx_main:
17348         * lyx_main.C: Added os:: class.
17349
17350         * os2_defines.h: update
17351
17352 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17353
17354         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17355         better by trying again with reduced state.
17356
17357 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * lyxrc.C (read): print error about invalid key sequence only when
17360         debugging (because not all latinX keysyms are known to some X
17361         servers)
17362
17363         * kbsequence.C (getiso): add a few std:: qualifiers
17364         (getiso): comment out extra return statement.
17365
17366 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17367
17368         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17369         handling.
17370         (Dispatch): enhance the accent inset a bit. (not perfect)
17371
17372 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17373
17374         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17375
17376 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17377
17378         * bufferlist.C (emergencyWrite): fix assert() call
17379
17380 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17381
17382         * text.C (InsertChar): Added trivial patch to only send the "you
17383         can not do multiple spaces this way" message once during a
17384         session.
17385
17386 2001-05-08  Baruch Even  <baruch@lyx.org>
17387
17388         * Makefile.am: Changed order of libraries to get LyX to link properly
17389         with the gnome frontend.
17390
17391 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17392
17393         * LaTeXFeatures.h: add a std:: qualifier
17394
17395 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17396
17397         * paragraph.C (String): use stringstream
17398
17399 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17400
17401         * paragraph.C (writeFile): remove footflag arg
17402
17403         * buffer.C (makeLaTeXFile): use stringstream
17404         (latexParagraphs): remove footnot gurba
17405
17406         * LaTeXFeatures.C (getPackages): use stringstream
17407         (getMacros): likewise
17408         (getTClassPreamble): likewise
17409         (getFloatDefinitions): new method
17410
17411         * paragraph.C (writeFile): reindent
17412         (Erase): reindent
17413
17414         * WorkArea.h: revert the xpos + etc changes.
17415
17416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17417
17418         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17419
17420         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17421         (pasteSelection): likewise
17422         * text2.C (CreateUndo): likewise
17423
17424 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17425
17426         * minibuffer.C (peek_event): temporarily reduce the functionality
17427         of the minibuffer (to allow args on lfuns)
17428
17429         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17430         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17431
17432         * buffer.C (readInset): add compability reading of old float
17433         lists, add reading of new style float list.
17434         (readInset): avoid reevaluation of inscmd.getCmdName()
17435         (getLists): reindent
17436
17437         * MenuBackend.C (MenuItem): implement parsing of
17438         md_floatlistinsert and md_floatinsert.
17439         (expand::LastFiles): move initalizaton of iterators out of loop,
17440         avoid reevaluation.
17441         (expand::Documents): introduce typdedef vector<string> Strings,
17442         and use it.
17443         (expand::ExportFormats): introduce typedef vector<Format const *>
17444         Formats, and use it.
17445         (expand): implement FloatListInsert and FloatInsert.
17446
17447         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17448         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17449         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17450
17451         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17452         handling.
17453         (Dispatch::LFUN_FLOAT_LIST): implement
17454
17455 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17456
17457         * LaTeX.C (run): Fix problem with --export code.
17458
17459 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17460
17461         * BufferView.[Ch] (workarea): removed.
17462         (getClipboard) new method; wrapper for workarea()->getClipboard()
17463
17464         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17465         bug.
17466
17467         * WorkArea.h (width, height, xpos, ypos): These methods all
17468         returned the dimensions of the work_area sub-area of WorkArea,
17469         resulting in a position error if the WorkArea were resized. Now
17470         return the dimensions of the entire WorkArea.
17471
17472         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17473
17474 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17475
17476         * LaTeX.C (deplog): correct the syntax of regex reg1
17477
17478 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17479
17480         * undo.C: remove !NEW_INSETS cruft
17481
17482 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17483
17484         * text2.C: remove !NEW_INSETS cruft
17485
17486         * text.C: remove !NEW_INSETS cruft
17487
17488         * tabular.C: remove !NEW_INSETS cruft
17489
17490         * spellchecker.C: remove !NEW_INSETS cruft
17491
17492         * lyxtext.h: remove !NEW_INSETS cruft
17493
17494         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17495
17496         * lyxfunc.C: remove !NEW_INSETS cruft
17497
17498         * lyxfind.C: remove !NEW_INSETS cruft
17499
17500         * lyx_cb.C: remove !NEW_INSETS cruft
17501
17502         * figureForm.C: remove  !NEW_INSETS cruft
17503
17504         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17505
17506         * buffer.[Ch]: remove !NEW_INSETS cruft
17507
17508         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17509
17510         * CutAndPaste.C: remove !NEW_INSETS cruft
17511
17512         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17513
17514         * BufferView2.C: remove !NEW_INSETS cruft
17515
17516         * BufferView.h: remove !NEW_INSETS cruft
17517
17518 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17519
17520         * Lsstream.h: include LString.h before the sstream headers to
17521         fix problem with gcc 2.95.3 and lyxstring
17522
17523 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17524
17525         * lyx_main.C: add using directives when needed for C functions
17526         declared in std:: namespace.
17527
17528 2001-04-27  Juergen Vigna  <jug@sad.it>
17529
17530         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17531         (SetHeightOfRow): comment out the update call should not be needed!
17532
17533 2001-04-13  Juergen Vigna  <jug@sad.it>
17534
17535         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17536         (LyXTabular): tried to minimize operator= operations (and realized
17537         hopfully Lars wish).
17538
17539 2001-04-27  Juergen Vigna  <jug@sad.it>
17540
17541         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17542
17543 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17544
17545         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17546
17547         * buffer.C (readInset): hack to make listof algorithm work
17548
17549         * BufferView_pimpl.C: hack to make listof algorithm work
17550
17551 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17552
17553         * LyXAction.C: removed all !NEW_INSETS cruft
17554         (init): moved lfun_item in method
17555
17556         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17557
17558 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17559
17560         * BufferView2.C (theLockingInset): white space.
17561
17562 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17563
17564         * minibuffer.C: include <iostream>
17565
17566         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17567
17568         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17569
17570         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17571
17572         * text.[Ch] (TransposeChars): new method
17573
17574 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17575
17576         * call message directly through LyXView instead of through LyXFunc
17577         * BufferView2.C: adjust
17578         * BufferView_pimpl.C: adjust
17579         * FontLoader.C: adjust
17580         * buffer.C: adjust
17581         * bufferview_funcs.C: adjust
17582         * converter.C: adjust
17583         * figureForm.C: adjust
17584         * importer.C: adjust
17585         * lyx_cb.C: adjust
17586         * lyx_gui_misc.C: adjust
17587         * lyxfunc.C: adjust
17588         * lyxvc.C: adjust
17589         * text2.C: adjust
17590         + more files in subdirs
17591
17592         * lyxparagraph.h (size): move up int file
17593         (GetLayout): ditto
17594
17595         * adjust all uses of Assert to lyx::Assert.
17596
17597         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17598         lyxfunctional in namespace lyx
17599         * layout.C (hasLayout): ditto
17600         (GetLayout): ditto
17601         (GetLayout): ditto
17602         (delete_layout): ditto
17603         (NumberOfClass): ditto
17604         * converter.C (GetFormat): ditto
17605         (GetNumber): ditto
17606         (Add): ditto
17607         (Delete): ditto
17608         (SetViewer): ditto
17609         * bufferlist.C (getFileNames): ditto
17610         (emergencyWriteAll): ditto
17611         (exists): ditto
17612         (getBuffer): ditto
17613         * MenuBackend.C (hasSubmenu): ditto
17614         (hasMenu): ditto
17615         (getMenu): ditto
17616         * BufferView_pimpl.C (getInsetByCode): ditto
17617
17618 2001-04-18  Juergen Vigna  <jug@sad.it>
17619
17620         * vspace.C (asLatexString): fixed the 100% problem.
17621
17622 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17623
17624         * lyxfunc.C (Dispatch):
17625         * minibuffer.C:
17626         * minibuffer.h: add a few std:: qualifiers
17627
17628 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17629
17630         * minibuffer.[Ch]: reimplement so that commands is initiated and
17631         run from lyxfunc, simplified som handling, and made the completion
17632         and history code for complete. wip.
17633
17634         * lyxfunc.C (processKeySym): call message
17635         (miniDispatch): new temporary method
17636         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17637         (LFUN_MESSAGE): implement
17638         (LFUN_MESSAGE_PUSH): implement
17639         (LFUN_MESSAGE_POP): implement
17640         (initMiniBuffer): the initial/defualt minibuffer message.
17641
17642         * lyxfont.[Ch]: inline some more getters
17643
17644         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17645
17646         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17647
17648         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17649         (AutoSave): use LFUN_MESSAGE
17650         (Reconfigure): ditto
17651
17652         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17653
17654         * figureForm.C: use LFUN_MESSAGE
17655
17656         * converter.C (runLaTeX): use LFUN_MESSAGE
17657
17658         * bufferview_funcs.C: use LFUN_MESSAGE
17659         (Melt): ditto
17660         (changeDepth): ditto
17661
17662         * bufferparams.h: use boost::
17663
17664         * bufferlist.h: inherit privately from noncopyable
17665
17666         * bufferlist.C (loadLyXFile): remove some commented code.
17667
17668         * buffer.C (runChktex): use LFUN_MESSAGE
17669
17670         * ShareContainer.h: inherit privately from noncopyable
17671
17672         * ParagraphParameters.[hC] (depth): inline it.
17673
17674         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17675         methods.
17676         (message): new method
17677         (messagePush): ditto
17678         (messagePop): ditto
17679         (show): init minibuffer
17680         (showState): direct call
17681
17682         * LaTeX.[Ch]: inherit privately from noncopyable
17683         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17684         instead of WriteStatus.
17685
17686         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17687
17688         * BufferView_pimpl.C (buffer): don't init minibuffer
17689         (workAreaButtonPress): use LFUN_MESSAGE
17690         (workAreaButtonRelease): ditto
17691         (savePosition): ditto
17692         (restorePosition): ditto
17693         (MenuInsertLyXFile): ditto
17694         (workAreaExpose): don't init minibuffer
17695         (update): remove commented code, simplify
17696
17697         * BufferView2.C (openStuff): use LFUN_MESSAGE
17698         (toggleFloat): ditto
17699         (menuUndo): ditto
17700         (menuRedo): ditto
17701         (copyEnvironment): ditto
17702         (pasteEnvironment): ditto
17703         (copy): ditto
17704         (cut): ditto
17705         (paste): ditto
17706         (gotoInset): ditto
17707         (updateInset): remove some commented code
17708
17709         * lastfiles.h: inherit privately from noncopyable
17710         * layout.h: ditto
17711         * lyx_gui.h: ditto
17712         * lyx_main.h: ditto
17713         * lyxlex.h: ditto
17714         * lyxlex_pimpl.h: ditto
17715
17716         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17717         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17718         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17719
17720         * LyXAction.h: inherit privately from noncopyable, add methods
17721         func_begin, func_end, returning iterators to the func map.
17722
17723         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17724         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17725         (func_begin): new method
17726         (func_end): new method
17727
17728         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17729         and not)
17730         (copySelection): ditto
17731         (pasteSelection): ditto
17732
17733         * BufferView.C: whitespace change
17734         * BufferView.h: inherit privately from noncopyable
17735
17736 2001-04-16  Allan Rae  <rae@lyx.org>
17737
17738         * tabular-old.C (l_getline):
17739         * spellchecker.C (sc_check_word):
17740         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17741         an unrecognised preprocessor directive.  So ensure they're wrapped.
17742
17743 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17744
17745         * src/exporter.C (Export): Give an error message when path to file
17746         contains spaces.
17747
17748 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17749
17750         * LaTeX.C (deplog): Always check that foundfile exists.
17751
17752 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17753
17754         * lyx_main.h:
17755         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17756
17757 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17758
17759         * tabular.[Ch] (getLabelList): implement new method
17760
17761         * minibuffer.h: comment ouf setTiimer
17762
17763         * minibuffer.C (ExecutingCB): constify res
17764         (peek_event): constify s
17765         (Set): constify ntext
17766         (Init): constify nicename
17767
17768         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17769
17770         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17771         (savePosition): use two params to Minibuffer::Set
17772         (restorePosition): ditto
17773
17774 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17775
17776         * lyx_main.C: include language.h
17777
17778         * Makefile.am (lyx_main.o): add language.h
17779
17780 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17781
17782         * exporter.C:
17783         * paragraph.C:
17784         * screen.C:
17785         * tabular.C:
17786         * CutAndPaste.C: include gettext.h
17787
17788         * lyxfont.h: remove old hack with ON and OFF.
17789
17790         * lyxparagraph.h:
17791         * lyxfont.h: do not include language.h...
17792
17793         * BufferView2.C:
17794         * LaTeXFeatures.C:
17795         * Painter.C:
17796         * bufferview_funcs.C:
17797         * font.C:
17798         * lyxfont.C:
17799         * text.C:
17800         * text2.C:
17801         * trans_mgr.C:
17802         * paragraph.C: ... but do it here instead
17803
17804 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17805
17806         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17807
17808         * tabular.C: small reformat
17809
17810         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17811         NEW_INSETS version
17812         (GetChar): ditto
17813         (BreakParagraph): ditto
17814         (SetOnlyLayout): ditto
17815         (SetLayout): ditto
17816
17817         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17818         with one arg less.
17819
17820         * lastfiles.C: removed most using decl, add std:: where needed
17821
17822         * buffer.C: ws changes
17823
17824         * MenuBackend.C (class compare_format): put into anon namespace
17825         (expand): constify label, names, action, action2
17826         (expand):
17827
17828         * text.C (SingleWidth): constify font
17829         (IsBoundary): constify rtl2
17830         (GetVisibleRow): constify ww
17831
17832         * LaTeX.C (deplog): constify logfile
17833
17834         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17835         start_x, end_x
17836         (workAreaExpose): constify widthChange, heightChange
17837
17838         * lyxrow.C (par): moved
17839         (height): moved
17840         (next): moved
17841         * lyxrow.h: as inlines here
17842
17843         * lyxfont.h (shape): moved from lyxfont.C
17844         (emph): moved from lyxfont.C
17845
17846         * lyxfont.C (LyXFont): use initialization list for all
17847         constructors
17848         (shape): move to lyxfont.h as inline
17849         (emph): move to lyxfont.h as inline
17850
17851
17852 2001-04-04  Juergen Vigna  <jug@sad.it>
17853
17854         * vspace.C: had to include stdio.h for use of sscanf
17855
17856 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17857
17858         * BufferView.h:
17859         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17860         independent of xforms.
17861
17862 2001-04-02  Juergen Vigna  <jug@sad.it>
17863
17864         * spellchecker.C: fixed namespace placing!
17865
17866 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17867
17868         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17869         the LyXParagraph * is 0.
17870
17871 2001-03-29  Juergen Vigna  <jug@sad.it>
17872
17873         * vspace.C: added support for %, c%, p%, l%.
17874         (stringFromUnit): added helper function.
17875         (asLatexString): changed to give right results for the %-values.
17876
17877         * buffer.C: convert the widthp in a width%.
17878
17879 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17880
17881         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17882         figureForm.[Ch].
17883
17884         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17885         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17886
17887         * lyx_cb.[Ch]: see above.
17888
17889         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17890         form1.[Ch].
17891
17892         * form1.[Ch]:
17893         * lyx.[Ch]: replaced by figure_form.[Ch].
17894
17895         * lyx_gui.C:
17896         * lyx_gui_misc.C:
17897         * lyxfunc.C: changed headers associated with above changes.
17898
17899 2001-03-27  Juergen Vigna  <jug@sad.it>
17900
17901         * BufferView_pimpl.C: set the temporary cursor right!
17902
17903 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17904
17905         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17906
17907 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17908
17909         * LString.h: removed "using std::getline"!
17910
17911         * BufferView_pimpl.C (Dispatch): changes due to changes in
17912         InsetInclude::Params.
17913
17914         * buffer.C (tag_name): removed redundant break statements as they were
17915         producing lots of warnings with my compiler.
17916
17917 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17918
17919         * LString.h: add "using std::getline" when using the real <string>.
17920
17921 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17922
17923         * buffer.C: removed bitset usage.
17924         PAR_TAG moved to an anonymous name space.
17925         (tag_name): new funtion, also in the anonymous namespace.
17926         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17927         (makeDocBookFile): clean code. Completed transition from string arrays
17928         to string vectors.
17929         (SimpleDocBookOnePar): code clean.
17930
17931 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17932
17933         * tabular.C: add some comments.
17934
17935 2001-03-22  Juergen Vigna  <jug@sad.it>
17936
17937         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17938         compatibility read a bit and fixed bug with minipage in different
17939         depth.
17940
17941 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17942
17943         * buffer.C (pop_tag): removed.
17944         (push_tag): removed.
17945         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17946         array replaced with vector. Added support for CDATA sections.
17947         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17948         at any nest level.
17949         (makeDocBookFile): XML conformant declaration of CDATA section,
17950         fixed bug related to <emphasis> in the first paragraph char.
17951         (sgmlOpenTag): exclude empty tags.
17952         (sgmlCloseTag): ditto.
17953
17954         * buffer.h (pop_tag): removed.
17955         (push_tag): removed.
17956
17957 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17958
17959         * language.h (Languages): added size_type and size().
17960
17961 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17962
17963         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17964         response on compability reading of minipages. One probliem is that
17965         the old usage of minipages was flertydig
17966
17967         * several files here and in subdirs: don't use static at file
17968         scope use anon namespaces instead.
17969
17970 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17971
17972         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17973         LaTeX output. This is necessary for Literate document
17974         processing.
17975
17976 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17977
17978         * buffer.C: insert hfill when needed.
17979
17980         * tabular.C (l_getline): use string::erase, small whitespace change.
17981
17982         * BufferView_pimpl.C: try the anon namespace.
17983         * WorkArea.C: ditto
17984
17985 2001-03-16  Juergen Vigna  <jug@sad.it>
17986
17987         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17988         otherwise it won't open options-dialogs.
17989
17990         * buffer.C: honor pextraWidth(p) on converting minipages.
17991
17992         * tabular.C (l_getline): changed the functions to strip trailing \r.
17993
17994 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17995
17996         * BufferView_pimpl.C:
17997         * minibuffer..C: added "using SigC::slot" declaration.
17998
17999 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18000
18001         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18002
18003         * text2.C: ditto
18004
18005         * text.C: ditto
18006
18007         * paragraph.C: ditto
18008
18009         * lyxtext.h: NO_PEXTRA
18010
18011         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18012
18013         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18014         * ParameterStruct.h: ditto
18015         * ParagraphParameters.h: ditto
18016         * lyxparagraph.h: ditto
18017
18018 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18019
18020         * buffer.C: add compability for minipage alignment.
18021         (latexParagraphs): remove unwanted pextra check.
18022
18023         * several files: remove CXX_WORKING_NAMESPACES
18024
18025         * buffer.C (pop_tag): tie is in namespace boost
18026
18027         * BufferView.h: noncopyable is in namespace boost
18028         * lyxlex.h: ditto
18029         * lyx_main.h: ditto
18030         * lyx_gui.h: ditto
18031         * layout.h: ditto
18032         * lastfiles.h: ditto
18033         * bufferlist.h: ditto
18034         * ShareContainer.h: ditto
18035         * LyXView.h: ditto
18036         * LyXAction.h: ditto
18037         * LaTeX.h: ditto
18038
18039 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18040
18041         * Merging changes from BRANCH_MVC back into HEAD.
18042
18043         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18044
18045 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18046
18047         * BufferView_pimpl.C: change from intl.C
18048
18049         * combox.h:
18050         * combox.C:
18051         * Makefile.am: move combox.*
18052
18053         * form1.h:
18054         * form1.C:
18055         * lyx_gui.C:
18056         * intl.h:
18057         * intl.C: remove dialog (covered by prefs)
18058
18059 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18060
18061         * lyxfunc.C (Dispatch): removed redundant break statement.
18062
18063 2001-03-14  Juergen Vigna  <jug@sad.it>
18064
18065         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18066
18067 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18068
18069         * buffer.C: add hack to fix compability reading of minipages.
18070
18071 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18072
18073         * buffer.C (getLists): Cleanup.
18074
18075 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18076
18077         * lyxfont.C (update): don't honor toggleall on font size.
18078
18079 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18080
18081         * bmtable.c:
18082         * bmtable.h:
18083         * Makefile.am: moved to frontends/xforms/
18084
18085         * lyx_gui_misc.C:
18086         * lyxfunc.C:
18087         * BufferView_pimpl.C: changes for moved mathpanel
18088
18089 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18090
18091         * gettext.h: fix gettext_init() in --disable-nls
18092
18093 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18094
18095         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18096
18097 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18098
18099         * lyx.C:
18100         * lyx.h: strip external form
18101
18102 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18103
18104         * BufferView_pimpl.C: add comment, destroySplash()
18105
18106 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18107
18108         * BufferView_pimpl.C:
18109         * LyXAction.C:
18110         * buffer.C:
18111         * commandtags.h:
18112         * lyxfunc.C: use re-worked insetinclude
18113
18114 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18115
18116         * buffer.C: add using std::stringstream.
18117
18118         * lyx_cb.C: readd using std::ios.
18119
18120         * buffer.C: add using std::map.
18121
18122         * BufferView_pimpl.C: add using std::vector.
18123
18124         * ShareContainer.h: add std:: to swap.
18125
18126         * buffer.h: add some typedefs
18127         * buffer.C (getLists): use them
18128         (getLists): renamed from getTocList.
18129         add a counter for the different float types and use it in the
18130         generated string.
18131         (getLists): use the same counter for the NEW_INSETS and the "non"
18132         NEW_INSETS
18133
18134         * lyx_cb.h: remove unused items, includes, using etc.
18135
18136         * ShareContainer.h: remove some commented code, add more comments
18137         and "documentation".
18138
18139 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18140
18141         * buffer.C (getTocList): make the list also when NEW_INSETS is
18142         defined.
18143
18144         * buffer.h: remove TocType
18145
18146         * buffer.C (getTocList): change to return a map<string,
18147         vector<TocItem> >, implement for dynamic number of list.
18148
18149         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18150         * text2.C (PasteSelection): adjust
18151         * CutAndPaste.C (pasteSelection): adjust
18152
18153         * FloatList.C (FloatList): update from the new_insets branch.
18154         * Floating.[Ch]: ditto
18155         * LaTeXFeatures.C: ditto
18156         * buffer.C: ditto
18157         * lyxlex_pimpl.C: ditto
18158
18159         * paragraph.C (Last): remove when NEW_INSETS is defined.
18160
18161         * other file: changes because of the above.
18162
18163 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18164
18165         * lyxparagraph.h: rename next to next_, previous to previous_,
18166         make them private for NEW_INSETS. Rename Next() to next(),
18167         Previous() to previous().
18168
18169         * other files: changes because of the above.
18170
18171 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18172
18173         * BufferView.h:
18174         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18175         problem.
18176
18177 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18178
18179         * main.C (main): pass lyx_localedir to gettext_init().
18180
18181         * gettext.h: remove locale_init and gettext_init macros
18182
18183         * gettext.C (locale_init): new function
18184         (gettext_init): new function
18185
18186         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18187         setlocale().
18188
18189 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18190
18191         * Moved credits to frontends:
18192         * credits.[Ch]: removed
18193         * credits_form.[Ch]: removed
18194         * lyx_gui_misc.C: remove credits stuff
18195         * Makefile.am:
18196
18197 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18198
18199         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18200
18201         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18202         unneeded destructor.
18203
18204         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18205         a standalone pointer again.
18206
18207         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18208
18209 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18210
18211         * Makefile.am:
18212         * filedlg.h:
18213         * filedlg.C:
18214         * LyXAction.C:
18215         * ToolbarDefaults.C:
18216         * bufferlist.C:
18217         * commandtags.h:
18218         * form1.C:
18219         * form1.h:
18220         * lyx_cb.C:
18221         * lyx_cb.h:
18222         * lyxfunc.h:
18223         * lyxfunc.C:
18224         * BufferView_pimpl.C: use new file dialog in GUII
18225
18226         * lyx_cb.h:
18227         * lyx_cb.C: remove LayoutsCB to Toolbar
18228
18229 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18230
18231         * ShareContainer.h (get): add std:: qualifier
18232
18233 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18234
18235         * ShareContainer.h: define a proper ShareContainer::value_type
18236         type (and use typename to please compaq cxx)
18237
18238 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18239
18240         * lyxparagraph.h: move serveral local vars to
18241         ParameterStruct/ParagraphParameters., use ShareContainer in
18242         FontTable., make vars in FontTable private and add getter and
18243         setter.
18244
18245         * paragraph.C: changes because of the above.
18246
18247         * lyxfont.h: remove copy constructor and copy assignment. (the
18248         default ones is ok), move number inside FontBits. move inlines to
18249         lyxfont.C
18250
18251         * lyxfont.C: add number to initializaton of statics, move several
18252         inlines here. constify several local vars. some whitespace
18253         cleanup. Dont hide outerscope variables.
18254
18255         * Spacing.h: add two new constructors to match the set methods.
18256
18257         * ShareContainer.h: new file, will perhaps be moved to support
18258
18259         * ParameterStruct.h: new file
18260
18261         * ParagraphParameters.h: new file
18262
18263         * ParagraphParameters.C: new file
18264
18265         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18266         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18267
18268         * BufferView_pimpl.C: ParagraphParameter changes.
18269         * buffer.C: Likewise.
18270         * bufferview_funcs.C: Likewise.
18271         * text.C: Likewise.
18272         * text2.C: Likewise.
18273
18274 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18275
18276         * lyxfind.C (LyXReplace): do not redefine default argument in
18277         implementation.
18278         (IsStringInText): ditto
18279         (SearchForward): ditto
18280         (SearchBackward): ditto
18281
18282 2001-03-06  Juergen Vigna  <jug@sad.it>
18283
18284         * lyxfind.C (IsStringInText): put parentes around expressions.
18285
18286 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18287
18288         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18289
18290 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18291
18292         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18293
18294         * stl_string_fwd.h: add comment
18295
18296         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18297
18298         * tabular.h:
18299         * tabular.C: remove unused DocBook methods
18300
18301         * intl.C:
18302         * language.C:
18303         * paragraph.C:
18304         * buffer.C:
18305         killed DO_USE_DEFAULT_LANGUAGE
18306
18307 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18308
18309         * lyx_gui.C: do not include language.h.
18310
18311         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18312         arguments in function implementation.
18313
18314 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18315
18316         * BufferView_pimpl.C: add <ctime>
18317
18318 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18319
18320         * BufferView_pimpl.C: add using std::find_if
18321
18322 2001-02-27  José Matos  <jamatos@fep.up.pt>
18323
18324         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18325         by OnlyPath.
18326
18327 2001-02-11  José Matos  <jamatos@fep.up.pt>
18328
18329         * buffer.C (makeDocBookFile): command styles now have a parameter as
18330         "title" by default.
18331
18332 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18333
18334         * layout_forms.[Ch]: removed
18335         * lyx_cb.[Ch]: out character
18336         * lyx_gui.C: out character
18337         * lyx_gui_misc.C: out character
18338         * bufferview_funcs.C: : out character,
18339         added toggleall as parameter in ToggleAndShow
18340
18341 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18342
18343         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18344
18345         * text2.C (SetCurrentFont): Disable number property at boundary.
18346
18347 2001-02-26  Juergen Vigna  <jug@sad.it>
18348
18349         * lyxfunc.C (getStatus): added a string argument override function so
18350         that this is correctly called from LyXFunc::Dispatch if it contains a
18351         do_not_use_argument which is used!
18352         (Dispatch): added check for "custom" export and call appropriate func.
18353
18354 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18355
18356         * lyxrc.C: Add language_command_local, language_use_babel and
18357         language_global_options.
18358
18359         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18360
18361         * buffer.C (makeLaTeXFile): Use language_use_babel and
18362         language_global_options.
18363
18364 2001-02-23  Juergen Vigna  <jug@sad.it>
18365
18366         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18367         which works with LyXText and putted it inside BufferView. Here now we
18368         only call for that part the BufferView::Dispatch() function.
18369
18370         * BufferView.C (Dispatch): added.
18371
18372         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18373         functions which needs to use a LyXText over from LyXFunc.
18374         (MenuInsertLyXFile): added
18375         (getInsetByCode): added
18376         (moveCursorUpdate): added
18377         (static TEXT): added
18378
18379 2001-02-22  Juergen Vigna  <jug@sad.it>
18380
18381         * BufferView_pimpl.C (update): call a status update to see if LyXText
18382         needs it.
18383
18384 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18385
18386         * vc-backend.C (revert): implement for CVS
18387         (getLog): implement for CVS
18388
18389 2001-02-20  Juergen Vigna  <jug@sad.it>
18390
18391         * text2.C (ClearSelection): added BufferView param for inset_owner call
18392
18393         * lyxfunc.C (TEXT): added this function and use it instead of
18394         directly owner->view()-text of getLyXText().
18395
18396 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18397
18398         * src/layout_forms.C: out preamble
18399         * src/layout_forms.h: out preamble
18400         * src/lyx_cb.C: out preamble
18401         * src/lyx_cb.h: out preamble
18402         * src/lyx_gui.C: out preamble
18403         * src/lyx_gui_misc.C: out preamble
18404         * src/lyxfunc.C: connect with guii preamble
18405
18406 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18407
18408         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18409
18410 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18411
18412         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18413         whether to run bibtex.
18414
18415 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18416
18417         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18418
18419 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18420
18421         * Makefile.am (lyx_SOURCES): removed bibforms.h
18422
18423         * vspace.h: doxygen
18424
18425         * text.C (GetVisibleRow): make several local vars const
18426
18427         * tabular.C: small cleanup.
18428
18429         * lyxserver.C (callback): use compare instead of strncmp
18430
18431         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18432         inlines to after class or to paragraph.C
18433
18434         * lyxfont.h: remove friend operator!=
18435
18436         * converter.h: move friend bool operator< to non friend and after
18437         class def.
18438
18439         * combox.h: small cleanup
18440
18441         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18442         to inlines after class def.
18443
18444         * buffer.C (pop_tag): use string operations instead of strcmp
18445
18446         * bmtable.c: doxygen, small cleanup
18447
18448         * LaTeX.h: remove friend operator==
18449
18450 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18451
18452         * screen.C:
18453         * lyxrc.[Ch]:
18454         * lyxfunc.C:
18455         * lyxfont.[Ch]:
18456         * lyx_cb.C:
18457         * intl.[Ch]:
18458         * commandtags.h:
18459         * buffer.C:
18460         * WorkArea.[Ch]:
18461         * LyXAction.C:
18462         * BufferView_pimpl.C:
18463         * BufferView.[Ch]: remove cruft
18464
18465 2001-02-14  Juergen Vigna  <jug@sad.it>
18466
18467         * lyxfunc.C: removed #if 0 unused code
18468
18469         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18470
18471         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18472
18473         * text2.C (SetSelection): added a BufferView * parameter
18474
18475 2001-02-13  Juergen Vigna  <jug@sad.it>
18476
18477         * lyxfunc.C (Dispatch): fixed protected blank problem.
18478         * BufferView2.C (protectedBlank): added LyxText * parameter.
18479
18480         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18481         (AppendColumn): same as above for column_info.
18482
18483         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18484         (moveCursorUpdate): use a LyXText param for support of InsetText.
18485
18486         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18487         (tripleClick): ditto
18488
18489         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18490
18491         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18492
18493         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18494
18495         * text2.C (SetSelection): set correct update status if inset_owner
18496         (ToggleFree): ditto
18497
18498 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18499
18500         * tabular.C: remove some commented code.
18501
18502 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18503
18504         * BufferView_pimpl.C: call hideSplash()
18505
18506         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18507
18508         * include_form.h:
18509         * bibforms.h: remove
18510
18511         * lyxfunc.C:
18512         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18513           add LFUN_CHILD_CREATE
18514
18515         * counters.h: fix tiny typo
18516
18517         * lyx_cb.C:
18518         * lyx.h:
18519         * lyx_gui.C:
18520         * lyx.C: move splash to frontends/xforms/
18521
18522         * lyx_gui_misc.C: move Include and Bibform to frontends
18523
18524         * lyxvc.h: clarify comment
18525
18526         * vspace.C: tiny housekeeping
18527
18528 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18529
18530         * text.C (PrepareToPrint): RTL Fix.
18531
18532         * paragraph.C (GetUChar): New method.
18533         (String):  Use GetUChar.
18534
18535         * buffer.C (asciiParagraph): Use GetUChar.
18536
18537 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18538
18539         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18540
18541 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18542
18543         * buffer.h:
18544         * buffer.C: rename to getLogName(), handle
18545           build log / latex log nicely
18546
18547 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18548
18549         * MenuBackend.C:
18550         * MenuBackend.h: remove support for reference menuitem type.
18551
18552 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18553
18554         * BufferView_pimpl.C: housekeeping
18555         * BufferView_pimpl.h:
18556         * LyXView.h:
18557         * Makefile.am:
18558         * Timeout.C:
18559         * Timeout.h:
18560         * minibuffer.h: move Timeout GUI-I
18561
18562 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18563
18564         * lyxrc.C (read): Update converters data-structures.
18565
18566 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18567
18568         * LaTeX.h (operator!=): add operator != for Aux_Info
18569
18570 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18571
18572         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18573
18574         * LaTeXLog.C: deleted, useful code moved to Buffer
18575
18576         * buffer.h:
18577         * buffer.C: new function getLatexLogName()
18578
18579         * lyx_gui_misc.C:
18580         * lyx_gui.C:
18581         * lyxvc.C:
18582         * lyxvc.h:
18583         * lyxfunc.C: use frontends for LaTeX and VC logs
18584
18585 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18586
18587         * LaTeX.h: yet another std:: that Allan forgot.
18588
18589         * Variables.C (set): renamed from isset(), because this clashes
18590         with some HP-UX macros (grr).
18591
18592 2001-02-06  Allan Rae  <rae@lyx.org>
18593
18594         * LaTeX.h: Another bug fix.  Missing std:: this time.
18595
18596 2001-02-04  Allan Rae  <rae@lyx.org>
18597
18598         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18599         floats problem. I've left it commented out because it's not quite
18600         correct.  It should also test that the current object is a table or
18601         figure inset.  But I haven't gotten around to figuring out how to do
18602         that.  I *think* it'll be something like: "table" == inset.type()
18603
18604         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18605         bool.
18606
18607 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18608
18609         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18610         all the citation/databases/styles in the auxilary file.
18611         (run): Rerun latex if there was a babel language error.
18612
18613 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18614
18615         * text.C (Backspace): Preserve the font when changing newline char
18616         with a space.
18617         (BreakParagraph): If the cursor is before a space, delete the space.
18618
18619         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18620
18621 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18622
18623         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18624         new argument (code).
18625         (ChangeCitationsIfUnique): New method.
18626
18627         * paragraph.C (GetPositionOfInset): Handle bibkey.
18628
18629 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18630
18631         * BufferView_pimpl.h: change type of Position::par_pos to
18632         LyXParagraph::size_type.
18633
18634 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18635
18636         * BufferView_pimpl.C (savePosition, restorePosition): Write
18637         messages to minibuffer.
18638
18639 2001-01-28  José Matos  <jamatos@fep.up.pt>
18640
18641         * buffer.C (makeDocBookFile): adds support for document language.
18642         A silly restriction on the name of LatexCommand types where removed.
18643         Added support for CDATA sections, allows to chars unescaped, used
18644         among others in code, to avoid escape < and >.
18645
18646 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18647
18648         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18649         saved positions instrad of a stack. Furthermore, a position is
18650         stored using paragraph id/paragraph position.
18651
18652         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18653         Remove LFUN_REF_BACK.
18654
18655 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18656
18657         * converter.C (dvipdfm_options): New method.
18658
18659 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18660
18661         * vspace.C (isValidLength): Fix for empty input string.
18662
18663 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18664
18665         * LyXAction.C (init): change description of LFUN_FIGURE to
18666         "Insert Graphics"
18667
18668 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18669
18670         * LaTeX.C: add using directive
18671
18672 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18673
18674         * MenuBackend.C (expand): Fix the sorting of the formats.
18675
18676 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18677
18678         * lyx_main.C: tiny error message fix
18679
18680 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18681
18682         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18683         calling fl_initialize(). This fixes the problem with ',' as
18684         decimal separator in text files.
18685
18686 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18687
18688         * trans.C (process): Fix the keymap bug.
18689
18690 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18691
18692         * LaTeX.C (scanAuxFiles): New method. Provides support for
18693         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18694         (scanLogFile) Scan for "run BibTeX" messages.
18695
18696         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18697         OT1 font encoding. Also, load the aecompl package if the ae
18698         package is loaded.
18699
18700         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18701
18702 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18703
18704         * texrow.C (increasePos): turn two error messages into debug
18705         messages.
18706
18707 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18708
18709         * LaTeX.C (scanAux): Handle the \@input macro.
18710         (runBibTeX): Use scanAux().
18711
18712         * language.C (latex_options_): New field.
18713
18714         * LaTeXFeatures.C (getMacros): Add language macros.
18715
18716         * buffer.C (makeLaTeXFile): Small fix.
18717
18718 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18719
18720         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18721
18722         * text2.C: add a using directive.
18723
18724 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18725
18726         * BufferView2.C:
18727         * lyx_gui_misc.h:
18728         * lyxfr1.C:
18729         * lyxfunc.C: kill LyXBell.
18730
18731 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18732
18733         * text.C (IsBoundary): Remove the error message
18734
18735         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18736
18737         * lyxrc.C (setDefaults): Correct initialization value for
18738         font_norm_type.
18739
18740 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18741
18742         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18743         gotoError().
18744
18745         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18746         and GotoNextNote().
18747
18748         * src/LyXAction.C: Added reference-next.
18749
18750         * text.C (InsertChar): Use contains instead of strchr.
18751
18752         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18753
18754 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18755
18756         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18757         alignment commands (when needed).
18758
18759         * text.C (InsertChar): Add ':' to number separator chars.