]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6eef67e6388a15f4c9c978a44393e65c49e33463
[lyx.git] / src / ChangeLog
1 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * buffer.C:
4         * bufferparams.[Ch]:
5         * lyxtext.h:
6         * paragraph.[Ch]:
7         * paragraph_funcs.C
8         * rowpainter.C:
9         * text.C:
10         * text2.C:
11         * text3.C: Fix bug 2115: blue language lines (for default font)
12         popping up when the documnent font is different. This includes work
13         by Georg Baum.
14
15 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
16
17         * exporter.C (Backends): Add "lyx" backend
18         * exporter.C (Export): Handle "lyx" backend
19         * graph.C (getReachable): Don't exclude "lyx"
20         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
21
22 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
25         for correct in-mathed positioning
26
27 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * rowpainter.C (paintForeignMark): fix foreign blue line under
30         insets
31
32 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
35         pit of the uno range (bug 2022).
36
37 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
38
39         * messages.C (get): Only warn once if setlocale fails (bug 2177)
40
41 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * text2.C (setCharFont): take inset's own font settings into account
44         when defining the font to reduce to, fixes 2019
45
46 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
47
48         * bufferview_funcs.C (coordOffset): remove the check for
49         collapsed collapsables (fix for bug 2094). This is now done
50         on a more general level (cursor.C).
51
52         * dociterator.[Ch] (forwardPos): add an optional argument
53         bool "ignorecollapsed" (default false), which lets forwardPos
54         skip collapsed insets.
55
56         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
57         (fixes bug 2241 and 2094).
58
59 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
60
61         * buffer.C: change tracking (dvipost) doesn't require
62         color.sty anymore.
63
64         * LaTeXFeatures.C (getPackages): no need for the color
65         option "usenames" (bug 2169).
66
67 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
68         * buffer_funcs.C: Trivial fix - added {} around
69         the statements to be affected by a if-test. Now
70         label in a minipage in a float looks ok on screen again.
71
72 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
73
74         * text2.C: fix bug 2015: on screen fonts in nested environments 
75         can be wrong
76
77 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * converter.C (convert): handle unknown formats
80
81 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * cursor.C (goUpDown): comment out some debug messages.
84
85         * counters.C (newCounter): make error messages more explicit
86         (these appear with some textclasses like beamer)
87
88 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * kbmap.C (defkey): 
91         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
92         have origin set to KEYBOARD. (bug 2221)
93
94 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * rowpainter.C (isCursorOnRow): do not exclude endpos().
97
98 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * cursor.C (macroModeClose): returns true if an inset actually got
101         inserted; revert faulty fix to bug 2034.
102
103 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * tabular.C (getLabelList): remove (not used anymore).
106
107 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * outputparams.[Ch]: add new flag inComment
110
111 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * text2.C (deleteEmptyParagraphMechanism): since we delete a
114         paragraph, recordUndo should span two paragraphs (bug 2155).
115
116 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * rowpainter.C (paintPar): always repaint the row with the
119         cursor in it
120
121 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
122
123         * MenuBackend.h: 
124         * bufferlist.h: 
125         * lyxtext.h: 
126         * paragraph.h:
127         * vspace.h: fix syntax error
128
129 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
130
131         * text3.C (dispatch): Force refresh if typing into inset changes its
132                               metrics
133
134 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * RowList_fwd.h:
137         * paragraph.C:
138         * paragraph.h:
139         * rowpainter.C: Speed up rendering by only re-painting rows that
140         have changed. When selection or whole-screen update active, all rows
141         are repainted, as are all rows within insets.
142
143 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
144
145         * version.C.in: Use PACKAGE_VERSION instead of VERSION
146
147 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * tabular.C (toggleFixedWidth): Use default layout of text class
150         instead of hardcoded "Standard"
151
152 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * lyxfunc.C (dispatch): do not call getStatus again to determine
155         whether a lfun is disabled (bug 2172).
156
157 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * cursor.C (macroModeClose): set the cursor inside the new math
160         atom if relevant (think \frac{}{}) (bug 2034)
161
162 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * lyxtext.h:
165         * text.C:
166         * text3.C (Delete, backspace): force update when merging paragraphs
167
168 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * BufferView.C (mouseSetCursor): clear the selection properly (bug
171         2163). 
172
173 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * text.C (redoParagraph): honor inset->noFontChange()
176         * rowpainter.C (paintInset): ditto
177
178 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
179
180         * lyx_main.C (priv_exec): don't initialize Math on startup 
181         (initMath() has been moved to math_hullinset).
182
183 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
186         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
187         * paper.h: dispose dead PAPER_PACKAGES enum.
188
189 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
192         without X support.
193
194 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
195
196         * exporter.C (Export): Don't try to copy a file if it does not exist
197         (bug 1888)
198
199 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * text2.C (makeFontEntriesLayoutSpecific): remove.
202         (setLayout): adapt.
203
204         * text.C (insertChar): remove bogus caching of fonts (did not do
205         anything). 
206
207         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
208         ALL_SANE). (bug 2146)
209
210 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * rowpainter.C (paintFirst): fix centering of
213         LABEL_CENTERED_TOP_ENVIRONMENT. 
214
215 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * BufferView.C (mouseSetCursor): new method. Calls
218         deleteEmptyParagraphMechanism if necessary.
219
220         * lyxtext.h: make deleteEmptyParagraphMechanism public.
221
222         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
223         BufferView::mouseSetCursor (bug 2109).
224         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
225
226 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
227
228         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
229         do not remove it (this inset behaves differently from the others).
230
231 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         Fix bug 2096.
234         
235         * BufferView_pimpl.C (getStatus): it is only possible to insert a
236         file in a text inset.
237
238         * buffer.C (readDocument): remove pit argument and code releated
239         to it; set the inset owner correctly (unrelated, but useful).
240         (readFile): get rid of pit argument.
241
242         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
243         textclass instead of a selection index.
244         (pasteParagraphList): new function.
245         (pasteSelection): make it a wrapper around pasteParagraphList.
246
247         * BufferView_pimpl.C (MenuInsertLyXFile): use
248         cap::pasteParagraphList to insert a file.
249
250 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
253
254 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
255
256         * exporter.C: fix typo in text message
257
258 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
259
260         * text2.C (setLayout): move recUndo call to other setLayout method
261         * tabular.C (toggleFixedWidth): new, handle cell width changes
262         * tabular.C (setColumnPWidth): move some code from insettabular.C here
263         and use toggleFixedWidth
264         * tabular.C (setMColumnPWidth): ditto
265
266 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
267
268         * paragraph.C (asString): use new inset->textString method (fix
269         bug 2089) 
270
271 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * CutAndPaste.C (numberOfSelections): new helper function.
274
275         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
276
277         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
278         LyXFunc::getStatus; implement LFUN_PASTE.
279
280 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * dociterator.[Ch]: new member realInset() that returns the cell
283         for tabulars and the inset for the rest (bug 1952).
284         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
285         (bug 1952).
286
287 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
290
291 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
292
293         * lyxfunc.C:
294         * paragraph.C:
295         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
296         argument.
297
298 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
301         line after typing ctrl-enter
302
303 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
304
305         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
306         math insets do not return a proper editable() state yet (bug 2124).
307
308 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
311         docs containing very large paragraphs.
312
313 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * cursor.C (selectionBegin, selectionEnd):
316         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
317         cursor at different depths.
318
319 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
320
321         * bufferview_funcs.C (coordOffset): do not call cursorPos
322         for collapsed collapsables (fix bug 2094).
323
324 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * paragraph.C (fontSpan): make sure that the FontSpan does not
327         span across beginOfBody (bug 1947).
328
329 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
332
333 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
334
335         * messages.C: fix crash and localization on MinGW/Windows platform
336
337 2005-11-02  Angus Leeming  <leeming@lyx.org>
338
339         * Bidi.C:
340         * lyxtextclass.C: trivial fixes to some MSVS warnings.
341
342 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * text3.C (getStatus): re-enable disabled code. (bug 2081)
345
346         * BranchList.h (empty): constify.
347
348 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * text3.C (getStatus): 
351         * MenuBackend.C (expandBranches): take the branch list from the
352         master document (bug 2092).
353         
354         * MenuBackend.C (expandBranches): 
355         * bufferparams.C (writeFile): use BranchList type.
356
357 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * text3.C (dispatch, getStatus): 
360         * LyXAction.C (init): 
361         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
362
363 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
366
367 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * text.C (insertChar): do not reset boundary (bug 2061)
370
371 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * dociterator.C (updateInsets): new method. Updates the inset_
374         cache of all the slices of the iterator.
375
376         * text2.C (deleteEmptyParagraphMechanism): compare also containing
377         insets when comparing pit/pos; pass the right cursor to
378         recordUndo; when a paragraph has been deleted, compare `old.top()' to
379         the right cursor slice of `cur'; use updateInsets on cur to make
380         sure that the inset caches are correct; general cleanup.
381
382 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
385         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
386         containg inset. If this does not work, the same command will be
387         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
388
389         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
390         a dispatch.
391
392 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
393
394         * lyxtextclass.C (Read): convert layout file if the format is wrong
395         * lyxtextclass.C (layout2layout): new, needed for the above
396
397 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * messages.C: do not forget to include <cerrno>.
400
401 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
402
403         * dociterator.h (StableDocIterator): add access to pos().
404         * undo.C (samePar): new method to check if two
405         iterators are in the same paragraph
406         * undo.C (recordUndo): check for samePar instead of cell identity
407         (which includes pos() and is too strict) (fixes bug 2097)
408
409 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * text.C (setCursorFromCoordinates): return a bool telling whether
412         dEPM triggered.
413
414         * text3.C (cursorPrevious): update if needed after
415         setCursorFromCoordinates (when dEPM triggered).
416
417         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
418         (otherwise the anchor may be completely wrong and make dEPM assert).
419
420 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * buffer.C: version upgrade to 245.
423         * bufferparams.C: remove \quotes_times (bug 2090).
424         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
425         quotation marks as default.
426
427 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
428
429         * CutAndPaste.C (nrOfParagraphs): remove (unused)
430         * CutAndPaste.C (cutSelection): Remove debug message
431         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
432         undo information and only copy if this is a real cut
433         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
434         call
435         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
436         (bug 2059)
437         * CutAndPaste.C (eraseSelection): prevent cursor corruption
438         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
439         superflous cur.selection() setting
440         * CutAndPaste.[Ch] (grabSelection): take a const cursor
441         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
442
443 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
444
445         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
446         change anything.
447
448 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
449
450         * BufferView_pimpl.C: comment layout change
451
452 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * LyXAction.C:
455         * lfuns.h:
456         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
457         by bibliography managers (bug 2071).
458
459 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
460
461         * BufferView_pimpl.C (update): choose arguments to update call so
462         that single-par update works most times
463         * text3.C (dispatch): carefully tune updating separately for
464         whole-screen and current-paragraph
465         * rowpainter.C (paintText): 1) replace painting by caching for
466         the two extra paragraphs, because we can;
467         2) suppress greying out of areas below/above drawn area in case of
468         single-par refresh
469         * lyxfunc.C (dispatch): remove superfluous update
470         * LyXAction.[Ch]: introduce SingleParUpdate
471
472 2005-10-05  Angus Leeming  <leeming@lyx.org>
473
474         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
475         always initialised before use.
476
477         * text.C (setHeightOfRow): squash warning about comparison
478         of signed and unsigned types.
479
480 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
481
482         * text.C (cursorX): two fixes involving RtL text drawing
483
484 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
487         items, not only large ones (part of bug 2057)
488
489 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
492         argument, use "newcommand".
493
494 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
495
496         * cursor.C (setSelection): do not open collapsable insets;
497         the insets do by themselves now (autoopen).
498
499 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
500
501         * buffer.C: format is up to 244.
502
503 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * text.C (redoParagraph): fix calcultation of inset width wrt 
506         leftMargin (bug 1957).
507
508         * text3.C (dispatch): leave inset to the right when hitting ESC 
509         (bug 2034).
510
511 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * text2.C: 
514         * text.C: 
515         * factory.C:
516         * messages.C: include <boost/current_function.hpp> 
517
518 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
521         when command is internal. (bug 1941)
522
523 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * text2.C (cursorRight): do not honor boundary when at the end of
526         a paragraph. (bug 2010 again)
527
528 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
531
532 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
533
534         * rowpainter.C (paintText): fix RtL space width display bug (2029)
535
536 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * text2.C (setCursor): remove the unused 'boundary' parameter for
539         the CursorSlice version; adapt the LCursor version.
540
541         * lyxrc.C (write): 
542         * paragraph_pimpl.C (markErased): 
543         * cursor.C (bruteFind2, bruteFond3): fix warnings.
544
545 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
548         as is already done for "chapter".
549
550 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
553         textclass; do not record undo if nothing is changed.
554
555 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
556
557         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
558
559 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
560
561         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
562
563 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
566         combox, it is necessary to search for the topmost paragraph in the
567         cursor stack (bug 1926)
568
569 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
570
571         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
572         end of paragraph. (bug 2010)
573
574 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
575
576         * text.C (leftMargin): check for inInset == 0
577
578 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
579
580         * text.C (leftMargin): test for insetbase's new neverIndent()
581         bool instead of listing each and every inset that does not
582         wish par indendation.
583
584 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * buffer_funcs.C (setCounter): put the code to compute enum label
587         here (where it belongs).
588
589         * counters.C (enumLabel): move code to buffer_funcs.C.
590
591 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
592
593         * outputparams.[Ch]: store local_font instead of local_language
594         * paragraph.C (simpleTeXOnePar): adapt to the change above
595
596 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * buffer_funcs.C:
599         * counters.[Ch]: clean up special code for Hebrew.
600
601 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
604         than 2.
605
606 2005-09-08  Angus Leeming  <leeming@lyx.org>
607
608         * ispell.C:
609         * lyxrc.C: correct grammar describing invocation of the
610         spellchecker.
611
612 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * text.C (read): remove unused variable.
615         (readParToken): remove static Change variable (never good in
616         recursive settings...); add it as a parameter instead.
617
618         * paragraph_pimpl.C (acceptChange): make debug info conditional.
619
620         * metricsinfo.C (PainterInfo): add new member erased_.
621
622         * rowpainter.C (RowPainter): add erased_ member, initialized from
623         PainterInfo. 
624         (paintInset): pass erased_ to Inset::draw.
625
626         * lyxfunc.C (lookupChange): new function. Tells whether change 
627         tracking is disabled at a given postion.
628         (getStatus): disable some actions when in deleted text with change
629         tracking. 
630
631 2005-08-03  John Levon  <levon@movementarian.org>
632         
633         * tabular.C (appendColumn, setMultiColumn): adapt to change to
634         InsetText::clear().
635
636         * paragraph_pimpl.C (markErased): add bool argument and handle it.
637         Also make sure to mark insets recursively.
638         (rejectChange, erase): be recursive
639
640         * paragraph.C (markErased): add bool argument.
641 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * lyxfind.C (findNextChange): tiny cleanup.
644
645         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
646         change tracking with the cursor in an inset; make sure the first
647         change is not skipped.
648
649 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
650
651         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
652         tabularStackDirty to work around bug 1919 (tabular needs
653         to know whether its own cell paste buffer or the one of 
654         texted is newer.
655         * CutAndPaste.C: mark tabular_stack_ clean after copy.
656
657 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
658
659         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
660
661 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
662
663         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
664         use old deleteion algorithm when changetracking is on.
665
666 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * messages.C (get): add debug output.
669
670 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * text.C (cursorX): fix bug 1965: cursor movement at
673         line end broken in RtL.
674         (drawSelection): fix bug 1970: drawing of single-line 
675         selection broken for RtL.
676
677 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         bug 465.
680
681         * dociterator.h (clear, push_back, pop_back): change from
682         protected to public.
683
684         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
685         and changed to just return the value of the item depth; take a
686         ParIterator as argument; take the itemdepth at outer nesting level
687         in account if necessary; cleanup and comment the code.
688         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
689         and changed to just return true if reset is needed; take a
690         ParIterator as argument; cleanup and comment the code.
691         (setCounter): adapt to above changes.
692
693 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * text3.C (dispatch): make debug message optional
696
697 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
700         inset. (bug 1963)
701
702 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
703
704         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
705
706 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
707
708         * text.C (insertChar):
709         * text2.C (deleteEmptyParagraphMechanism): take care whether 
710         a blank has been deleted (in change tracking mode) (bug 1254).
711
712 2005-07-20  John Levon  <levon@movementarian.org>
713
714         * text2.C (insertStringAsLines): remove old dubious code,
715         fixing bug 1939.
716
717 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * MenuBackend.C (expandToc): use Floating::listName() as title of
720         the floats submenus.
721
722 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
723
724         * toc.[Ch]: Do not use translatable strings (bug 1870).
725
726 2005-07-20  John Levon  <levon@movementarian.org>
727
728         * tabular.C: fix 1748 - setting multicolumn adds
729           left line to the first cell
730
731 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
732
733         bug 1920
734         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
735         pars in one go.
736
737 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
738
739         * messages.C: supress some lyxerr messages
740
741 2005-07-18  Juergen Vigna  <jug@lyx.org>
742
743         * text.C (drawSelection): honor boundary when asking for cursorX.
744
745 2005-07-17  José Matos  <jamatos@fc.up.pt>
746
747         * tabular.C (recalculateMulticolumns): fix handling of one column
748         tables.
749
750 2005-07-17  Juergen Vigna  <jug@lyx.org>
751
752         * text.C (Delete, backspace): fixed so that paragraph with the
753         same layout can be merged by Delete/Backspace.
754
755 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
756
757         * text.C (readParToken): fix spelling.
758
759 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
760
761         * text2.C: fix counter update for DEPM problem reported by
762         Georg Baum
763
764 2005-07-17  Juergen Vigna  <jug@lyx.org>
765
766         * BufferView_pimpl.C (setBuffer): save/restore the
767         cursor/selection when switching buffers
768
769         * buffer.h: 
770         * buffer.C (saveCursor): add saveDocumentIterators to save the
771         cursor when switching buffer.
772
773 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
774
775         * debug.C: fix typo
776         * buffer.C: clarify message
777         
778 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
779
780         * dociterator.C (DocIterator): fix initialization order
781
782 2005-07-17  Juergen Vigna  <jug@lyx.org>
783
784         * text2.C (cursorHome): 
785         * text.C (drawSelection, cursorX): 
786         * dociterator.C (textRow): add boundary to getRow() call
787
788         * paragraph.C (getRow): implementation of below
789
790         * paragraph.h: add parameter boundary for getRow() function
791
792 2005-07-17  José Matos  <jamatos@fc.up.pt>
793
794         * buffer.C:
795         * bufferparams.[Ch]:
796         * tex-strings.[Ch]: new file format, remove support for a4.sty,
797         a4wide.sty and a4widemargins.
798
799 2005-07-17  Juergen Vigna  <jug@lyx.org>
800
801         * text2.C (cursorLeft): fix one of error
802
803 2005-07-17  Juergen Vigna  <jug@lyx.org>
804
805         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
806                    cursorEnd):
807         more fixes for boundary handling
808
809         * text3.C (dispatch): don't reset cursor if boundary has changed
810         on cursor movement.
811
812 2005-07-16  Juergen Vigna  <jug@lyx.org>
813
814         * text2.C (getColumnNearX): hopefully got it right now,
815         check if we are on column 0 for special case.
816
817 2005-07-16  Juergen Vigna  <jug@lyx.org>
818
819         * text2.C (getColumnNearX): handle special case Newline Inset
820
821         * text.C (singleWidth): Just remove bogus check
822
823 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
824
825         * funcrequest.C (split): avoid reading uninitialized char c
826
827 2005-07-16  José Matos  <jamatos@fc.up.pt>
828
829         * buffer.C:
830         * converter.C:
831         * lyxrc.C:
832         * paper.h:
833         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
834         single papersize variable.
835
836 2005-07-16  Juergen Vigna  <jug@lyx.org>
837
838         * text3.C (dispatch): honor boundary when checking if a cursor
839         movement has been done
840
841         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
842         (setCursor, setCursorIntern): fix cursor movement with boundary
843
844 2005-07-16  Juergen Vigna  <jug@lyx.org>
845
846         * text.C (currentState): output the actual Boundary
847
848 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         * factory.C (createInset): fix bad logic for tabular creation
851
852 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
853
854         * lyx_main.C (init): change some reLyX reference to tex2lyx
855
856 2005-07-16  Juergen Vigna  <jug@lyx.org>
857
858         * dociterator.C (DocIterator): initialize boundary
859
860 2005-07-16  Juergen Vigna  <jug@lyx.org>
861
862         * text2.C (getColumnNearX): Consider rows without trailing blank.  
863
864 2005-07-16  André Pönitz  <poenitz@gmx.net>
865
866         * lyxfont.h: Change order of declarations to give the compiler
867         a better chance to inline things
868
869         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
870         questions on unsaved docs for better scritability
871
872 2005-07-16  André Pönitz  <poenitz@gmx.net>
873
874         * paragraph.h (getChar): remove asserts as the same kind of security
875         can be achieved by using a suitable standard library implementation
876         and the function was in the critical path (25.9% in profiler)
877
878 2005-07-16  Juergen Vigna  <jug@lyx.org>
879
880         * cursor.C (bruteFind2):
881         * bufferview_funcs.C (coordOffset): 
882         * text.C (cursorX,cursorY): Handle cursor position after last char
883         in row before a inset which uses a whole row.
884
885 2005-07-15  José Matos <jamatos@lyx.org>
886
887         * output_plaintext.[Ch] (writeFileAscii): control reference title
888         printing.
889         (asciiParagraph): noparbreak was already deal and was incorrectly
890         used.
891
892 2005-07-15  Juergen Vigna <jug@lyx.org>
893
894         * lyxfunc.C (dispatch): save and restore the cursor after a
895         textclass switch.
896
897 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
898
899         * text.C (backspace): bug 806 for empty keepempty paragraphs we
900         change the layout to default before letting DEPM do its thing.
901
902         * paragraph_funcs.C (breakParagraph): dont reset the layout on
903         keepEmpty paragraphs
904
905         * text.C (setCursorFromCoordinates): add a debug statement
906
907         * text2.C (getColumnNearX): bug 1825 make sure that we don't
908         return a pos that is not on the row
909
910         * output_latex.C (TeXDeeper): get rid of potential dereferencing
911         of past the end iterator
912
913 2005-07-14  André Pönitz  <poenitz@gmx.net>
914
915         * undo.C (recordUndoFullBuffer): implement undo for
916         textclass switches
917
918 2005-07-14  André Pönitz  <poenitz@gmx.net>
919
920         * cursor.C (setSelection): open insets when selection is set there
921         to avoid crashs with cold coord cache
922
923 2005-07-14  André Pönitz  <poenitz@gmx.net>
924
925         * trans_mgr.C (insert): move cursor to the right after inserting
926         a char.
927
928 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
929
930         * BufferView_pimpl.C (update): dampen some of the debug blabbering
931         * factory.C (readInset): ditto
932         * text.C, text2.C: ditto
933
934 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * buffer.C: format incremented to 242. There is no file format per
937         se, but the "frenchb" language has been removed from lib/language
938         and has to be translated to "french" by lyx2lyx.
939
940 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
941
942         * cursor_slice.h, dociterator.h: add some documentation
943         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
944
945 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
946
947         * text.C (leftMargin): do not add identation to display() style
948         insets, because they are always centered (bug 1293).
949
950 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
951
952         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
953         formatted_time methods in support/lyxtime.
954
955 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
956
957         * toc.[Ch]: new method getGuiName, which is used by the frontends 
958         to set the toc combo (fixes bug 1870). Make TOC string translatable.
959
960 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
961
962         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
963         StableDocIterator const &)
964         * undo.C (recordUndo): use the above instead of cell.size() comparison
965         (fixes bug 1808; instructed by Andr�.
966
967 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * cursor_slice.h: 
970         * dociterator.h: Fix the assert when copying rows/cols in math
971
972 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * BufferView_pimpl.C:
975         * LyXAction.C:
976         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
977
978         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
979         (findInset): new functions, refactored from goto Inset that return 
980         the position of a certain inset without setting the buffer's cursor
981         (by Jean-Marc); 
982         (gotoInset): rewrite to call findInset and then set the cursor
983         (by Jean-Marc).
984
985 2005-06-16  Angus Leeming  <leeming@lyx.org>
986
987         * lyxrc.C (output, read): wrap all input and output of paths with
988         calls to os::internal_path and os::external_path, respectively.
989         (output): wrap bind_file inside quotes.
990
991         * format.C (view): enable the viewer to use the '$$s' placeholder.
992
993 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
994
995         * LColor.[Ch] (getFromLaTeXName): new
996
997 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1000
1001 2005-06-14  Angus Leeming  <leeming@lyx.org>
1002
1003         * lyx_main.C (init): ensure that the LyX binary dir is the first
1004         element in the PATH on non-POSIX builds.
1005
1006 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1007
1008         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1009
1010 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1011
1012         * rowpainter.C (paintInset, paintHebrewComposeChar)
1013         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1014         (paintChars): use getFontSpan to reduce calls to getFont to a
1015         minimum; use Paragraph::lookupChange instead of isXXXText.
1016         (paintForeignMark): rename LyXFont argument.
1017         (paintFromPos): pass a LyXFont object to the various paintXXX
1018         methods.
1019
1020         * FontIterator.C (FontIterator, operator++): use
1021         Paragraph::getFontSpan
1022
1023         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1024         version that returns the font span as a pair.
1025
1026 2005-06-09  Angus Leeming  <leeming@lyx.org>
1027
1028         * converter.C (convert): Don't forget "outfile = real_outfile" as
1029         the final step in a conversion where the input and output file names
1030         are the same. Otherwise, future conversion steps won't work...
1031
1032 2005-06-09  Angus Leeming  <leeming@lyx.org>
1033
1034         * lyxsocket.C: remove stub code as it isn't needed by
1035         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1036
1037 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1038
1039         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1040         effectively disabled -x
1041
1042 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1043
1044         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1045         when it actually makes sense.
1046
1047 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1048
1049         * BufferView_pimpl.C: revert to showCursor in connection with
1050         Lars's front-end stack
1051
1052 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1053
1054         * text.C (redoParagraph): move cursor right after a bibitem
1055         has been inserted.
1056
1057         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1058
1059 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1060
1061         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1062         error range.
1063
1064 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * BufferView.[Ch] (update):
1067         * BufferView_pimpl.[Ch] (update, metrics):
1068         * dimension.h (operator==):
1069         * lyxfunc.C (dispatch):
1070         * metricsinfo.h (ViewMetricsInfo):
1071         * rowpainter.C (paintText):
1072         * lyxtext.h:
1073         * text.C (redoParagraph):
1074         * text3.C (dispatch): Make LyX only repaint current paragraph in
1075         case of character insert --> speedup. Also fix cursor draw
1076         artifacts
1077
1078 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1079
1080         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1081         avoid a crash (bug 1891)
1082
1083 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1084
1085         Fix bug 1892:
1086
1087         * text2.C (getStringToIndex): constify cur argument.
1088
1089         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1090         argument has been given
1091         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1092         try to invoke LFUN_INSET_APPLY).
1093
1094         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1095         if no inset was created by doInsertInset
1096         (doInsertInset): return true if an inset has been inserted.
1097
1098 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1099
1100         * vspace.C (asGUIName): new method. A version of the space
1101         suitable for showing on screen.
1102
1103 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1104
1105         * MenuBackend.C:
1106         * lyxrc.C: rename "ASCII" to "Plain Text"
1107
1108 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1111         translate the labelstring.
1112         (setCounter): translate labelstring as needed.
1113
1114         * output_docbook.C (makeCommand): fix expandLabel invokation
1115
1116 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1117
1118         * BufferView.C: fix dialog title
1119
1120 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1121
1122         * lyx_main.C (priv_exec): fix logic error with help from Angus
1123         * lyx_main.C (parse_execute): set is_gui = false and remove now
1124         obsolete comment about a segfault
1125
1126 2005-05-18  Angus Leeming  <leeming@lyx.org>
1127
1128         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1129
1130 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * tabular.[hC]: added setCellInset to fix tabular paste.
1133
1134 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1135
1136         * buffer.C (save): check if destination is writable before trying
1137         to copy a file
1138
1139 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * BufferView_pimpl.C (update): fix processEvents -caused update
1142         recursion bug
1143
1144 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * buffer_funcs.C (setCounter): fix test for numbering of
1147         environments.
1148
1149         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1150         depth correctly; use optional argument when it exists
1151
1152         * lyxtextclass.C: remove unused MaxCounterTags enum
1153         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1154         (max_toclevel, min_toclevel): new methods.
1155
1156         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1157         the smallest depth in toc.
1158
1159         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1160         layouts that should not appear in a table of contents.
1161
1162 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1163
1164         * cursor.h (undispatched, noUpdate): add comments from Andr�
1165 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1166
1167         * lfuns.h:
1168         * LyXAction.C:
1169         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1170
1171 2005-05-07  André Pönitz  <poenitz@gmx.net>
1172
1173         * cursor.[Ch] (leaveInset): new function
1174
1175 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1176
1177         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1178
1179 2005-05-04  Angus Leeming  <leeming@lyx.org>
1180
1181         * lyxfunc.C (getStatus): disable the spell checker dialog if
1182         none of USE_[AIP]SPELL are defined.
1183
1184 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1185
1186         * tabular.C (setWidthOfCell): remove obsolete comment
1187
1188 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1189
1190         * paragraph.C (bibitem):
1191         * buffer_funcs.C (setCounter):
1192         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1193
1194 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1195
1196         * text3.C (getStatus): immediately return after setOnOff
1197
1198         * rowpainter.C: fix drawing of appendix start
1199
1200 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1201
1202         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1203         SwitchBetweenClasses and remove the unused return value.
1204         Handle character styles, too
1205
1206 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * factory.C (createInset): handle undefined character styles
1209
1210 2005-05-02  Angus Leeming  <leeming@lyx.org>
1211
1212         * buffer.C: protect the #include of utime.h with a preprocessor
1213         guard.
1214
1215 2005-05-02  Angus Leeming  <leeming@lyx.org>
1216
1217         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1218         function so that auto-saving works, albeit in a blocking manner.
1219
1220         * Makefile.am: make compilation of the client sub directory, of
1221         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1222         on conditionals set at configure time.
1223
1224         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1225         it can be compiled in its own right but has no-op functionality.
1226
1227         * aspell.C, pspell.C: remove preprocessor guards. The files should
1228         be compiled only if the necessary functionality exists.
1229
1230         * lyxserver.C, lyxsocket.C: disable on Windows.
1231
1232 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * text.C (leftMargin): Fix the parindent use bug (1764)
1235         by dirty trick
1236
1237 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1238
1239         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1240         argument.
1241
1242 2005-04-25  Angus Leeming  <leeming@lyx.org>
1243
1244         * Bidi.[Ch]:
1245         * coordcache.[Ch]:
1246         * ispell.C:
1247         * lyxserver.C:
1248         * mover.C:
1249         * pch.h:
1250         include <config.h> in .C files, not .h ones.
1251         add licence blurb.
1252         protect headers inside preprocessor guards.
1253
1254 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1255
1256         * FuncStatus.h (StatusCodes): document
1257
1258 2005-04-21  André Pönitz  <poenitz@gmx.net>
1259
1260         * FuncStatus.h (enabled, onoff): document
1261
1262 2005-04-19  Angus Leeming  <leeming@lyx.org>
1263
1264         * BufferView_pimpl.C (cursorToggle): no longer test whether
1265         any child processes have been reaped before calling
1266         handleCompletedProcesses().
1267
1268 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * text3.C (dispatch): fix, finally fix, the language problem in
1271         new lyxtexts, without disabling on-the-fly font changes (Helge's
1272         bug report)
1273
1274 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1275
1276         * text3.C (dispatch): set cursor on double/triple click events
1277         (bug 1811)
1278
1279 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1282         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1283
1284         * rowpainter.C (paintFirst): simplify the code a little bit. In
1285         particular, remove the test for secnumdepth.
1286         * text.C (setHeightOfRow): only allocate space for chapter number
1287         when updateCounters provided an actual label, instead of looking
1288         at secnumdepth directly.
1289
1290         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1291
1292         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1293         paragraphs when secnumdepth is large enough or, for environments,
1294         when they are not the first in a sequence.
1295
1296 2005-04-17  Angus Leeming  <leeming@lyx.org>
1297
1298         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1299         containing space and '~' characters with a call to latex_path().
1300
1301 2005-04-17  Angus Leeming  <leeming@lyx.org>
1302
1303         * converter.C (convert): protect all args of convertDefault.sh
1304         script with quotes.
1305
1306 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1307
1308         * text3.C (dispatch): change the layout to "Caption" after inserting
1309         a float.
1310
1311 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1312
1313         * text3.C (dispatch): fix language problem in newly created
1314         textinsets (and main text) in non-english docs
1315
1316 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1317
1318         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1319         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1320         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1321
1322 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * lyxtext.h:
1325         * text.C (metrics):
1326         * text2.C (getFont):
1327         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1328         fonts fix
1329
1330 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1331
1332         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1333         output of \item arguments without trailing text.
1334
1335 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * FontIterator.C (operator*): avoid a copy of the font.
1338
1339 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1340
1341         * rowpainter.C (getFont): fix language bug from previous fix
1342
1343 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1344
1345         * rowpainter.C (RowPainter, getFont): fix font inside inset
1346         (bugs 1766, 1809)
1347
1348 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1351         preventing inserted font, deco, delim insets jumping to start of
1352         surrounding inset.
1353
1354 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * lyxfunc.C (dispatch): translate message before sending it to the
1357         minibuffer.
1358
1359 2005-03-29  Angus Leeming  <leeming@lyx.org>
1360
1361         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1362         to LyX on the command line.
1363
1364 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1365
1366         * vc-backend.C: use QuoteName to protect file names wherever
1367         necessary.
1368
1369 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * buffer.[Ch]:
1372         * BranchList.h: fix bugs 1844,1845: document settings don't
1373         stick
1374
1375 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         * lyxrc.C (setDefaults, read, output, getDescription): add support
1378         for tex_allows_spaces.
1379
1380         * exporter.C (Export): allows files in directory containing spaces
1381         if tex_allows_spaces is true.
1382
1383         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1384         output it in double quotes.
1385
1386 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1387
1388         * rowpainter.C: use default text height for drawing change tracker
1389         strikeout lines.
1390
1391 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1392
1393         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1394
1395 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1398         directory is missing.
1399
1400 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * text2.C: fixed the fix, extended to other case.
1403
1404 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1407
1408 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * text2.C (cursorUp): get rid of a crash
1411         * text.C (x2pos): add an assert
1412
1413 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1416
1417         * text3.C:
1418         * lyxfunc.C:
1419         * dociterator.C: include <boost/current_function.hpp>, which is
1420         needed when assertions are disabled.
1421
1422 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1423
1424         * text2.C: fix for stuck cursor when traversing two
1425         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1426
1427 2005-02-25  Andreas Vox  <avox@arcor.de>
1428
1429         * output_docbook.C (makeParagraph): suppress trailing newline
1430         after a run of paragraphs
1431
1432 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1433
1434         * paragraph.C: fix for confused change tracker when pasting
1435         text that begins with a lineseparator. [bug 1827]
1436         (setChange(0, Change::INSERTED);)
1437
1438         * paragraph_funcs.C: fix for lost changes on triple-paste
1439         in change tracking mode [bug 1827] (par.setChange()).
1440
1441 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * text2.C (updateCounters, setCounter, expandLabel): move to
1444         buffer_funcs.
1445
1446         * buffer_funcs.C (updateCounters): turn into a free standing
1447         function and add a buffer parameter. Remove dead code for tracking
1448         labelstring change.
1449         (setCounter): change into a free-standing function which gets a
1450         dociterator as argument. Use this iterator to fix captions in a
1451         simple way. When no float is found above the caption, use the
1452         labelstring of the caption layout as default.
1453
1454         * text.C (breakParagraph, backspace):
1455         * text2.C (init, setLayout, changeDepth):
1456         * text3.C (dispatch):
1457         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1458         updateCounters.
1459
1460         * dociterator.C (forwardPar): make it much faster by calling
1461         forwardPos() only when really necessary.
1462
1463         * output_docbook.C (makeCommand): adapt to expandLabel move.
1464
1465         * cursor.C: remove unused variable
1466
1467 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1468
1469         * paragraph_funcs.C: fix crash when pasting insets in change
1470         tracking mode [bug 1277] (honour change type in moveItem).
1471
1472 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1473
1474         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1475
1476 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1477
1478         * BufferView.C (setCursor): change to use a DocIterator.
1479         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1480         (putSelectionAt): adapt to BufferView::setCursor change.
1481
1482         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1483         moved here from LyXText and rewritten to use proper cursor
1484         methods. Fixes bug 1787, 616 and 835.
1485
1486         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1487         when inside an inset (part of bug 781).
1488         (dispatch): adapt to change of BufferView::setCursor.
1489         (getStatus, dispatch): handle LFUN_GOTOERROR,
1490         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1491
1492         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1493         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1494         * text3.C (gotoNextInset, gotoInset): removed.
1495
1496 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1499
1500 2005-02-15  Angus Leeming  <leeming@lyx.org>
1501
1502         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1503         can be used meaningfully in a comparison.
1504
1505 2005-02-13  André Pönitz  <poenitz@gmx.net>
1506
1507         * bufferview_funcs.C (coordOffset): improve cursor drawing
1508
1509 2005-02-13  André Pönitz  <poenitz@gmx.net>
1510
1511         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1512         * Cursor.C (dispatch): use fixIfBroken
1513         * lyxfunc.C (getStatus): use fixIfBroken
1514
1515 2005-02-15  Angus Leeming  <leeming@lyx.org>
1516
1517         * lyx_main.C (error_handler):
1518         * lyxfunc.C:
1519         * lyxrc.C (setDefaults):
1520         s/GetEnv/getEnv/.
1521         #include "environment.h".
1522
1523         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1524
1525 2005-02-15  Angus Leeming  <leeming@lyx.org>
1526
1527         * lyxserver.C (startPipe): squash MSVC warning "local variable
1528         'fd' used without having been initialized".
1529
1530 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1531
1532         * BufferView_pimpl.C: revert accidental commit.
1533
1534 2005-02-14  André Pönitz  <poenitz@gmx.net>
1535
1536         * dociterator.[Ch]: new member forwardPosNoDescent(),
1537         which doesn't enter nested insets.
1538         * text2.C (setFont): use forwardPosNoDescent() instead
1539         of ForwardPos() (fixes crash on font change).
1540
1541 2005-02-13  Angus Leeming  <leeming@lyx.org>
1542
1543         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1544         only if lyxrc.path_prefix is not empty.
1545
1546 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1547
1548         * bufferparams.C (readGraphicsDriver): prevent crash
1549
1550 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1551
1552         * text2.C (setCounter): check for inInset() == 0
1553
1554 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1557         but use update() to get correct screen display; use convert
1558         instead of istringstream.
1559         (getStatus): handle LFUN_GOTO_PARAGRAPH
1560
1561         * lyxfunc.C (dispatch, getStatus): do not handle
1562         LFUN_GOTO_PARAGRAPH here.
1563
1564 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1565
1566         * text3.C (dispatch): size() -> depth()
1567
1568         * text2.C: remove some debug output
1569
1570         * paragraph.C: ws changes only
1571
1572         * lyxfunc.C (getStatus): size() -> depth()
1573
1574         * dociterator.h (clear, push_back, pop_back, internalData,
1575         operator[], resize, empty): new functions
1576         Make StableDocIterator and operator== be friends. Don't inherit
1577         from std::vector use a privat class variable slices_ instead.
1578         Modify to fit.
1579
1580         * dociterator.C: update because of not inheriting from std::vector
1581         anymore. Call explictly to slices_ instead. Use depth() instead of
1582         size() and top() instead of back()
1583
1584         * cursor.C: chagne size() -> depth and back() -> top(). Also
1585         remove some direct operator[](i) calls in favour of foo[i]
1586         (getFont): remove some dead code
1587
1588         * bufferview_funcs.C (coordOffset): size() -> depth()
1589
1590         * buffer.C: ws changes only
1591
1592         * CutAndPaste.C (eraseSelection): back() -> top()
1593
1594         * BufferView_pimpl.C (selectionRequested): back() -> top()
1595
1596         * BufferView.C (setCursor): size() -> depth()
1597
1598 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1599
1600         * text3.C (cursorPrevious): return true if depm changed something
1601         (cursorNext): ditto
1602         (dispatch): rename sl to oldTopSlice, remove moving use the new
1603         NoUpdate func attrib instead. Make sure that needsUpdate is set
1604         for function that have NoUpdate, but where depm might have changed
1605         the buffer anyway.
1606
1607         * text2.C (cursorLeft): make us return true if depm changed
1608         something
1609         (cursorRight): ditto
1610         (cursorUpParagraph): ditto
1611         (curosrDownParagraph): ditto
1612         (cursorUp, cursorDown): ditto, make sure to read comments in code
1613         (deleteEmptyParagraphMechanism): remove an assert, also return
1614         true if just a single char was deleted.
1615
1616         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1617         cursor that we modify, to avoid modifying an active cursor before
1618         we call setCursor. This allows depm to run. Also return true if
1619         depm deleted something.
1620
1621         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1622         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1623         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1624         something was changed in the buffer because of them (ie. depm run)
1625
1626         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1627         debug messages. Make update by default be false. Make sure that
1628         the result of update is retained throught several calls down to
1629         dispatch.
1630
1631         * LyXAction.h: add a new func_attrib: NoUpdate
1632
1633         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1634         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1635         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1636         and LFUN_WORDLEFT
1637         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1638
1639 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1640
1641         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1642         bv_->owner(), bv_->buffer() by direct references to the private
1643         members.
1644         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1645         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1646         (fitCursor): center() is in BufferView::Pimpl.
1647         (getStatus, trackChanges, dispatch): no need for a temporary buf
1648         variable
1649         (fitCursor, workAreaDispatch): use workarea().workheight()
1650
1651 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1652
1653         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1654
1655 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1656
1657         * buffer.C: format up to 241.
1658         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1659         break if pasting into ERT
1660         * lyxfunc.C (getStatus): suppress mathpanel and
1661         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1662
1663 2005-02-01  Angus Leeming  <leeming@lyx.org>
1664
1665         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1666
1667 2005-02-01  Angus Leeming  <leeming@lyx.org>
1668
1669         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1670         calling fs::is_directory().
1671
1672 2005-01-31  Angus Leeming  <leeming@lyx.org>
1673
1674         * lyx_main.C (priv_exec): specify explicitly the relative location
1675         of the top level build directory when run in-place.
1676
1677 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1678
1679         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1680         LyXText containing the cursor, not the top-level one.
1681
1682         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1683         true.
1684         (insertStringAsLines): rename par to pit; use temporary variable
1685         par to hold a Paragraph; do not store par.layout() in a variable,
1686         since the pointer may die when breaking paragraphs; pass pars to
1687         breakParagraph() instead of Buffer::paragraphs().
1688
1689 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1690
1691         * lyxlex_pimpl.h: #include <fstream>.
1692
1693         * BufferView.[Ch] (getLyXText): add a const version.
1694
1695         * BufferView_pimpl.C: add debug aids.
1696
1697         * RowList_fwd.h:
1698         * buffer.h:
1699         * lyxrow.h:
1700         * paragraph_funcs.h: add commentary explaining what the class does.
1701
1702
1703         * coordcache.[Ch]: add lots of commentary.
1704         (startUpdating, doneUpdating): debug aids.
1705         (arrays, insets, parPos, getParPos): accessors to private data.
1706
1707         * cursor_slice.[Ch] (text): add a const version.
1708         * dociterator.[Ch] (text, innerText): add const versions.
1709
1710         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1711         bool.
1712
1713         * paragraph.C (getRow, pos2ros): add asserts.
1714
1715         * paragraph.h: add commentary. Lots of.
1716
1717         * paragraph.[Ch] (metrucs, draw): removed.
1718
1719         * cursor.C:
1720         * rowpainter.[Ch]: const-correct changes.
1721
1722         * text.C: various obvious clean-ups. Removal of ancient cruft.
1723         Bug fixes, even.
1724
1725 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * vc-backend.C (find_file): rewrite to use boost.filesystem
1728         (scanMaster): ditto
1729
1730         * main.C (main): set default name check for boost.filesystem to
1731         no check
1732
1733         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1734         (open): ditto
1735         (doImport): ditto
1736         (actOnUpdatedPrefs): ditto
1737
1738         * lyx_main.C (init): rewrite to use boost.filesystem
1739         (queryUserLyXDir): ditto
1740
1741         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1742         (getContentsOfAsciiFile): ditto
1743
1744         * lastfiles.C (readFile): rewrite to use boost.filesystem
1745
1746         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1747
1748         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1749         (loadLyXFile): ditto
1750
1751         * buffer.C (Buffer): adjust for destroydir
1752         (getLogName): rewrite to use boost.filesystem
1753         (setFileName): ditto
1754         (save): use fs::copy_file (from fs_extras)
1755
1756         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1757
1758         * LaTeX.C (run): rewrite to use boost.filesystem
1759         (scanAuxFiles): ditto
1760         (handleFoundFile): ditto
1761
1762 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1763
1764         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1765
1766         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1767
1768 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1769
1770         * lyxlayout.[Ch]: change some vars from float to double
1771
1772         * buffer.C (readFile): make a local var const
1773
1774         * Several files: use convert<> instead of atoi,strToXXX and friends
1775
1776 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1777
1778         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1779         holds the contents of packages.lst. New functions getAvailable
1780         and isAvailable to parse and check that list, resp.
1781
1782         * LyXAction.C:
1783         * lfuns.h:
1784         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1785
1786         * bufferparams.[Ch]: new param output_changes.
1787
1788         * Buffer.C: increase file format to 240.
1789         Use output_changes and isVailable.
1790
1791         * changes.[Ch]:
1792         * paragraph.C:
1793         * paragraph_pimpl.C: Use output_changes and isVailable.
1794
1795 2005-01-23  Angus Leeming  <leeming@lyx.org>
1796
1797         * output_latex.C: #include "insetbibitem.h", rather than
1798         forward declare function bibitemWidest.
1799
1800 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1801
1802         * lyx_main.C (init): make it compile on the Mac.
1803
1804 2005-01-20  Angus Leeming  <leeming@lyx.org>
1805
1806         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1807         (setLyXMisc): (char string literal) != (char string literal) is
1808         performing a comparison on the addresses. Convert one operand
1809         explicitly to string to guarantee expected behaviour.
1810         From MSVC warning.
1811
1812 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1813
1814         * buffer.C:
1815         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1816
1817         * output_plaintext.C: remove unneeded #include gzstream.h.
1818
1819 2005-01-20  Angus Leeming  <leeming@lyx.org>
1820
1821         * SpellBase.h: rename some of the elements of the Result enum.
1822
1823         * aspell_local.h:
1824         * ispell.h:
1825         * pspell.h:
1826         * aspell.C (check):
1827         * ispell.C (check):
1828         * pspell.C (check): ditto
1829
1830 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1831
1832         * buffer.C: add #include <fstream>.
1833
1834         * lyx_main.C (init): Compile fix.
1835
1836         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1837
1838 2005-01-20  Angus Leeming  <leeming@lyx.org>
1839
1840         * mover.h: change commentary to reflect the changed meaning of
1841         the $$s placeholder.
1842
1843 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1844
1845         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1846
1847         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1848
1849 2005-01-20  Angus Leeming  <leeming@lyx.org>
1850
1851         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1852         printing diagnostic data by not dereferecing an iterator past the
1853         end.
1854
1855 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1856
1857         * buffer.C (readHeader): use "&&" rather than "and".
1858
1859         * lyxserver.h (inPipeName, outPipeName): make these const.
1860
1861 2005-01-19  Angus Leeming  <leeming@lyx.org>
1862
1863         * lyx_main.C (error_handler, init): protect SIGHUP with
1864         #ifdef SIGHUP guards.
1865
1866 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1867
1868         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1869
1870 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1871
1872         * text.C (setHeightOfRow): add a margin at the top and bottom of
1873         the document (bug 1761)
1874
1875 2005-01-17  Angus Leeming  <leeming@lyx.org>
1876
1877         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1878         with "python ". Workaround for a brain-dead Windows.
1879
1880 2005-01-16  Angus Leeming  <leeming@lyx.org>
1881
1882         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1883         for MacOSX and Windows to use prependEnvPath.
1884         Strip out the hard-coded block to add elements to the PATH for
1885         MacOSX and replace it with a call to prependEnvPath using the
1886         contents of LyXRC::path_prefix.
1887         (queryUserLyXDir): strip out the code to run reconfigure, instead
1888         returning a boolean indicating the necessity to do so.
1889         (reconfigureUserLyXDir): contains the code to reconfigure the
1890         user support directory. Is now called after the various LyXRC data
1891         files have been read.
1892
1893         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1894
1895 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1896
1897         * converter.[Ch] (convert): take a new parameter try_default. Use
1898         a default converter (imagemagick) if try_default is true.
1899
1900 2005-01-13  Angus Leeming  <leeming@lyx.org>
1901
1902         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1903         os::cygwin_path_fix.
1904         (write): output LyXRC::cygwin_path_fix as necessary.
1905
1906 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1907
1908         * lyxrc.h:
1909         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1910
1911 2005-01-12  Angus Leeming  <leeming@lyx.org>
1912
1913         * lyx_main.C (init): set the PATH variable to include the
1914         directory containing the LyX binary when running on Mac or Windows.
1915
1916 2005-01-12  Angus Leeming  <leeming@lyx.org>
1917
1918         * lyx_main.C (init): remove cruft that purports to set the locale
1919         dir. It doesn't and is not needed anyway.
1920
1921 2005-01-10  Angus Leeming  <leeming@lyx.org>
1922
1923         * Makefile.am: remove the lyx_main.C special casing.
1924
1925         * BufferView_pimpl.C:
1926         * bufferlist.C:
1927         * exporter.C:
1928         * lyx_cb.C:
1929         * lyx_main.C:
1930         * lyxfunc.C:
1931         * messages.C: use support/package.h to provide the paths to the
1932         various directories used by LyX.
1933
1934 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1935
1936         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1937         layout if pasting into an empty paragraph)
1938
1939 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1940
1941         * tex-accent.C: add <string>
1942
1943 2005-01-06  José Matos  <jamatos@lyx.org>
1944
1945         * ParagraphParameters.C (write): put every parameter in its own line.
1946         * paragraph.C (write): reduce number of consecutive empty lines exported.
1947         * buffer.C (LYX_FORMAT): increase file format to 239.
1948
1949 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1950
1951         * everywhere: change support/tostr.h -> support/convert.h
1952
1953         * tabular.C: make all write_attributes templates, tostr -> convert
1954
1955         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1956         (emptyTag): and -> &&, and fix type for ret from getChar
1957         (getFirstWord): fix type for ret from getChar
1958         (onlyText): and -> &&
1959         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1960         getChar
1961
1962         * toc.C (goTo, action):
1963         * text3.C (dispatch):
1964         * text.C (currentState):
1965         * tex-accent.C (DoAccent):
1966         * sgml.C:
1967         * lyxrc.C:
1968         * lyxfunc.C (menuNew):
1969         * lyxfinc.C (replace):
1970         * counters.C (laberItem):
1971         * bufferview_funcs.C (font2string):
1972         * bufferparams.C (writeFile):
1973         * buffer.C (readFile):
1974         * Spacing.C (set):
1975         * MenuBackend.C: tostr -> convert
1976
1977         * LaTeX.C (runMessage): fix format
1978         (scanAuxFiles): tostr -> convert
1979
1980         * BufferView_pimpl.C (savePosition): fix format
1981         (restorePosition): ditto
1982         (dispatch): ditto
1983
1984 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1985
1986         * Spacing.[Ch]: New method getValueAsString().
1987
1988         * Spacing.[Ch]:
1989         * bufferparams.C:
1990         * ParagraphParameters.C:
1991         * lyxlayout.C:
1992         * text.C:
1993         * text3.C: store/read spacing value as string.
1994
1995         * rowpainter.C: change float value (spacing_val) to double.
1996
1997         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1998         broken custom document spacing).
1999
2000 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2001
2002         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2003         namespace, also more use of temp references and const
2004
2005         * cursor.[Ch] (getStatus): move to lyxfunc.C
2006
2007         * bufferparams.C: reformat slightly
2008
2009         * bufferview_funcs.C (font2string): constify arg
2010
2011         * changes.C:
2012         * converter.C:
2013         * counters.C:
2014         * bufferlist.C:
2015         * buffer_funcs.C: (many funcs): constify arg on function
2016         definitions, also make more local vars const, also add ASSERTS on
2017         pointer args.
2018
2019         * buffer.C (LYX_FORMAT): put const in correct place
2020         (many funcs): constify arg on function definitions, also make
2021         more local vars const
2022
2023         * aspell_local.h: remove "struct" from typdef setup
2024
2025         * aspell.C (check): make word_ok const
2026         (nextMiss): simplify slightly
2027         (error): ditto
2028
2029 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2030
2031         * lyxrc.[Ch]: store all float values as strings.
2032         use int (not float) for lyxrc.dpi.
2033
2034 2005-01-04  Angus Leeming  <leeming@lyx.org>
2035
2036         * lyx_cb.C (Reconfigure):
2037         * lyx_main.C (queryUserLyXDir):
2038         to run the <system_lyxdir>/configure correctly on Windows, prefix
2039         the path to the script with "sh " when generating the string that
2040         is passed to system().
2041
2042 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2045
2046 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * lyxlength.C (asLatexString): get rid of setprecision
2049
2050 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * text2.C (setLayout): remove unused variable endpit.
2053         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2054
2055         * paragraph.C (onlyText): remove unused variable style.
2056
2057         * cursor.C (bruteFind): remove unused variables beg and end.
2058
2059         * Makefile.am (dist_noinset_DATA): not needed anymore
2060
2061         * cheaders/*: remove.
2062
2063 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2064
2065         * text3.C: fix LFUN_MATH_MODE.
2066
2067 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2068
2069         * buffer_funcs.C (countWords): new function. Counts words between
2070         two iterators.
2071
2072         * BufferView_pimpl.C (getStatus, dispatch): handle
2073         LFUN_WORDS_COUNT.
2074
2075         * LyXAction.C (init):
2076         * lfuns.h: add LFUN_WORDS_COUNT.
2077
2078 2004-12-19  Angus Leeming  <leeming@lyx.org>
2079
2080         * buffer.C (save): s/slashify_path/internal_path/.
2081
2082 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2083
2084         * lyxfind.C (findChange): do not search for end of pars, because
2085         the change tracker cannot handle this (fixes bug 1719).
2086
2087 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2088
2089         * paragraph.[Ch] (autoBreakRows): remove
2090
2091         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2092
2093         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2094         avoid using the paragraph one
2095
2096         * text2.C (LyXText, insertStringAsLines): adjust
2097
2098 2004-12-16  Angus Leeming  <leeming@lyx.org>
2099
2100         * bufferlist.C:
2101         * lyx_main.C:
2102         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2103
2104 2004-12-14  Angus Leeming  <leeming@lyx.org>
2105
2106         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2107
2108         * bufferlist.C (emergencyWrite):
2109         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2110         GetEnvPath("HOME").
2111
2112 2004-12-14  Angus Leeming  <leeming@lyx.org>
2113
2114         * main.C: (main): no longer pass pointers to os::init.
2115
2116 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2117
2118         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2119         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2120
2121 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * lyxfunc.C:
2124         * text3.C: remove selection_possible global flag
2125
2126 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2127
2128         * text2.C (getSelectionSpan): remove
2129         (changeDepth, changeDepthAllowed): adjust
2130
2131 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2132
2133         * Makefile.am (BOOST_LIBS): use boost variables
2134
2135 2004-12-03  José Matos  <jamatos@lyx.org>
2136
2137         * buffer.C: format up to 238.
2138
2139 2004-12-03  José Matos  <jamatos@lyx.org>
2140
2141         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2142
2143 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2144
2145         * cursor.C (goUpDown): remove call to idxUpDown2
2146
2147 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2148
2149         * tabular.[Ch]: use size_t-like types for cell, row and column
2150         indices
2151
2152 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * lyxfunc.C (getStatus): do not lose previous information when
2155         calling BufferView::getStatus; do not set a default "Command
2156         disabled" message at the beginning, but just before returning.
2157
2158 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2159
2160         * cursor.h (getStatus): add better comment from src/cursor.C
2161
2162 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * text3.C (getStatus): return false when the lfun is not handled
2165
2166 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * broken_headers.h: remove
2169
2170         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2171
2172 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2175         offset_ref accessors
2176
2177         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2178         top_y_, merge fitcursor with update
2179         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2180         coord scheme
2181         (metrics): introduce
2182         (workAreaDispatch): adapt to new coord scheme
2183         (redoCurrentBuffer): remove
2184
2185         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2186
2187         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2188         CurStatus enum.
2189
2190         * coordcache.[Ch]: add paragraph cache and helpers
2191
2192         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2193         adjust everywhere
2194
2195         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2196         (targetX, setTargetX): introduce
2197
2198         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2199         baseline -> ascent, as the rest of lyx
2200
2201         * lyxtext.h: remove redoParagraphs, updateParPositions,
2202         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2203         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2204         have ascent/descent (ascent is ascent of first par)
2205
2206         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2207         step of BufferView
2208
2209         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2210
2211         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2212
2213         * pariterator.C: fix infinite loop introduced in par->pit renaming
2214
2215         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2216         in insets and LyXText, draw two off-screen paragraphs using
2217         NullPainter, and adapt to new coord scheme
2218
2219         * text.C:
2220         * text2.C:
2221         * text3.C: adapt lfun handlers to the new coord scheme, which
2222         means: there's only guaranteed coord information for onscreen pars
2223         plus one above and one below. This implies that one can do search
2224         from y coordinates in the range [-1,workHeight]
2225
2226 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * rename a lot of InsetOld to InsetBase
2229
2230 2004-11-25  Angus Leeming  <leeming@lyx.org>
2231
2232         * BufferView_pimpl.C:
2233         * lyx_cb.C:
2234         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2235
2236 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2237
2238         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2239         call BufferView::getStatus if LCursor::getStatus did nothing
2240         (setStatusMessage, getStatusMessage): removed.
2241
2242         * FuncStatus.C (message): new methods. Used to provide an error
2243         message indicating why a command is disabled.
2244         (clear, |=, FuncStatus): update for message.
2245
2246 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2247
2248         * lyxfunc.C (dispatch): always call sendDispatchMessage
2249
2250 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2251
2252         * BufferView.C:
2253         * BufferView_pimpl.C:
2254         * CutAndPaste.C:
2255         * FontIterator.C:
2256         * buffer.C:
2257         * cursor.C:
2258         * cursor_slice.[Ch]:
2259         * dociterator.[Ch]:
2260         * lyxfind.C:
2261         * paragraph_funcs.C:
2262         * pariterator.C:
2263         * rowpainter.C:
2264         * text.C:
2265         * text2.C:
2266         * text3.C:
2267         * undo.C: par->pit renaming
2268
2269 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * tabular.C (cellstruct): use initialization, store a shared_ptr
2272         to insettext instead of the insettext directly, adjust to fit.
2273         (operator=):  new function
2274         (swap): new function
2275         (rowstruct): use initialization
2276         (columnstruct): use initialization
2277         (ltType): use initialization
2278
2279
2280         * lyxlength.h (swap): new function
2281
2282         * LColor.[Ch] (operator=): use the common semantics
2283
2284 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2285
2286         * lyxfind.C (findNextChange): update the bufferview after setting
2287         the selection.
2288
2289 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290
2291         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2292         number of InsetOptArgs has already been inserted.
2293
2294         * output_latex.C (latexOptArgInsets): new method. This outputs all
2295         the optarg insets, up to the limit defined in the layout file.
2296         (optArgInset): removed
2297         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2298
2299 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2300
2301         * paragraph.C (isLetter): remove special spellchecker-related
2302         code; return true also for digits
2303         (isWord, isKomma): remove
2304
2305         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2306         * lyxfind.C (MatchString()): use isLetter instead of isWord
2307
2308 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2309
2310         * pariterator.h (operatir=): comment out un-implemented member
2311         function.
2312
2313         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2314         static cast.
2315
2316 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2317
2318         * lyxfont.h: include LColor.h to satisfy concept checks.
2319
2320 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * pariterator.h: add typdefs for value_type, difference_type,
2323         pointer and reference to satisfy concept checks. Also add default
2324         constructor for same reason.
2325
2326         * pariterator.C (operator++): add post-increment operator to
2327         satisfy concept checks.
2328
2329         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2330         checks.
2331
2332         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2333
2334         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2335         checks. Also rename base_type to BaseType to follow naming
2336         standard better.
2337
2338         * FloatList.h: include Floating.h to satisfy concept checks.
2339
2340 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * lyxfunc.C (getStatus): when the origin of the request is menu or
2343         toolbar, and the LyXView does not have focus, do as if there was
2344         no buffer (bug 1720)
2345
2346         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2347         FuncRequest to individual entries of LFUN_SEQUENCE
2348
2349 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * output_latex.C (TeXOnePar): override runparams.moving_arg
2352         according to the needprotect value of the current paragraph (bug
2353         1739)
2354
2355         * paragraph.C (simpleTeXOnePar): no need to override
2356         runparams.moving_args here
2357
2358 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2359
2360         * vspace.C: fix off-by-one-error, related to fix #1682
2361
2362 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2363
2364         * lengthcommon.C: a more general fix for bug 1682
2365
2366 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * text.C (backspace): fix crash
2369
2370 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2371
2372         * format.[Ch] (getFormatFromFile): new method
2373         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2374
2375 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2376
2377         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2378
2379 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * lyxfunc.C (dispatch): remove the verbose argument
2382         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2383         instead
2384
2385         * kbmap.C (defkey): set the origin of func to KEYBOARD
2386
2387         * MenuBackend.C (MenuItem):
2388         * ToolbarBackend.C (add): set the origin of func to UI
2389
2390         * funcrequest.[Ch]: add origin member, which indicates which part
2391         of LyX requests an action
2392
2393 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2394
2395         * converter.C (move): don't lie in the error message
2396         * converter.h (isReachable, move): document
2397
2398 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * buffer.C: remove unused using lyx::support::atoi
2401         * paragraph_funcs.C: ditto
2402
2403 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2404
2405         * bufferlist.C (exists): use bind and equal_to instead of
2406         compare_memfun
2407         (getBuffer): ditto
2408         * lyxtextclasslist.C (NumberOfClass): ditto
2409
2410         * cursor.C (insert): use for_each instead of explicit for loop
2411
2412         * bufferlist.C (getFileNames): use std::transform and
2413         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2414
2415         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2416         for loop
2417
2418         * buffer.C (changeLanguage): use for_each instead of explicit for
2419         loop
2420         (hasParWithID): implement using getParFromID
2421
2422         * LaTeXFeatures.C: ws change only
2423
2424         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2425         to cleanup a bit.
2426
2427         * BufferView_pimpl.C (trackChanges): use for_each instead of
2428         expilicit for loop
2429
2430 2004-11-04  André Pönitz  <poenitz@gmx.net>
2431
2432         * undo.h:
2433         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2434
2435         * dociterator.C (asDocIterator): use hard assert again.
2436
2437 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2438
2439         * lyxlength.C (asLatexString): rewrite so that it does not use
2440         snprintf anymore
2441
2442 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2443
2444         * text3.C (specialChar, dispatch): make sure cursor moves to the
2445         right after inserting an inset
2446
2447 2004-11-02  José Matos  <jamatos@lyx.org>
2448
2449         * output_docbook.C (docbook):
2450         * paragraph.C (getID):
2451         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2452         garantee that the output is always legal.
2453
2454         * tabular.C (docbook):
2455         * outputprams.[Ch]: remove mixed contents.
2456
2457 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2458
2459         * text2.C (setCounter): prevent endless loop
2460
2461 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2462
2463         * exporter.C (copyFile): use the mover instead of support::copy()
2464         * exporter.C (Export): pass format and latex name to copyFile()
2465         * exporter.h (addExternalFile): document
2466         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2467
2468 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2469
2470         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2471
2472 2004-10-30  José Matos  <jamatos@lyx.org>
2473
2474         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2475         text and no inset or font change. This allows to use CDATA
2476         sections just for the whole paragraph.
2477
2478 2004-10-30  José Matos  <jamatos@lyx.org>
2479
2480         * paragraph.C (getFirstWord): remove unused variable.
2481
2482 2004-10-30  José Matos  <jamatos@lyx.org>
2483
2484         * paragraph.C (getFirstWord): the content should always be escaped
2485         there.
2486         (simpleDocBookOnePar):
2487         * output_docbook.C (makeEnvironment): replace reference to CDATA
2488         to style pass_thru.
2489
2490 2004-10-30  José Matos  <jamatos@lyx.org>
2491
2492         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2493
2494 2004-10-30  José Matos  <jamatos@lyx.org>
2495
2496         * output_docbook.C (makeParagraphs):
2497         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2498         standard paragraph has only a given type of content drop the wrapper.
2499
2500 2004-10-29  José Matos  <jamatos@lyx.org>
2501
2502         * output_docbook.C (makeEnvironment):
2503         * sgml.C (openTag):
2504         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2505
2506 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2507
2508         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2509         (cleanID): sanitize any id.
2510
2511 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2512
2513         * buffer.C, lyxlex_pimpl.C:
2514         * lyxlex_pimpl.C (setFile):
2515         s/getExtFromContents/getFormatFromContents/
2516
2517 2004-10-28  José Matos  <jamatos@lyx.org>
2518
2519         * output_docbook.C (makeEnvironment): move id to broadest possible
2520         scope.
2521
2522         * sgml.C (openTag): apply substitution of <> for all attributes.
2523
2524 2004-10-28  José Matos  <jamatos@lyx.org>
2525
2526         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2527         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2528         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2529
2530         * sgml.[Ch]: new version for open and closeTag for paragraph and
2531         for strings. Now they handle the ids of paragraphs.
2532
2533 2004-10-26  Angus Leeming  <leeming@lyx.org>
2534
2535         * Makefile.am: add mover.[Ch].
2536
2537         * converter.C (convert, move): use the new Movers to move external
2538         files to the temp directory.
2539
2540         * lyx_main.C (init): ensure that the global system_movers data
2541         is initialised.
2542
2543         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2544         preferences file.
2545
2546         * mover.[Ch]: new files, defining a Mover as a utility to move an
2547         external file between directories and, if necessary, manipulate this
2548         file using a helper script.
2549
2550 2004-10-25  José Matos  <jamatos@lyx.org>
2551
2552         * output_docbook.C (makeCommand): merge two if's that tested the
2553         same condition.
2554
2555 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2556
2557         * sgml.C (escapeString): fix warning in a better way
2558
2559 2004-10-25  José Matos  <jamatos@lyx.org>
2560
2561         * sgml.C (escapeString): import the require boosts header file for
2562         tie, and avoid a signed unsigned comparison.
2563
2564 2004-10-25  José Matos  <jamatos@lyx.org>
2565
2566         * sgml.h: add #include <string>
2567
2568 2004-10-25  José Matos  <jamatos@lyx.org>
2569
2570         * sgml.[Ch] (escapeString): new function to escape all the string.
2571
2572 2004-10-24  José Matos  <jamatos@lyx.org>
2573
2574         * paragraph.[Ch] (getFirstWord): new function to get the first
2575         word. Useful for description.
2576         (simpleDocBookOnePar): remove depth argument, add another that
2577         says where to start the paragraph.
2578
2579         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2580         use the new functions to fix cleanly the support for descriptions.
2581
2582 2004-10-24  José Matos  <jamatos@lyx.org>
2583
2584         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2585         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2586         * output_linuxdoc.C (linuxdocParagraphs):
2587         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2588         add buffer as argument.
2589
2590 2004-10-24  José Matos  <jamatos@lyx.org>
2591
2592         * output_docbook.C (makeEnvironment, searchEnvironment): place
2593         CDATA inside paragraphs and fix scope for listitems.
2594
2595 2004-10-24  José Matos  <jamatos@lyx.org>
2596
2597         * output_docbook.C: remove using statement for stack.
2598
2599 2004-10-23  José Matos  <jamatos@lyx.org>
2600
2601         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2602         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2603         docbook. The new scheme is recursive and makes use of iterators, the
2604         same as latex export works.
2605         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2606         directly with the paragraph contents. This code was moved up to
2607         output_docbook.C (docbookParagraphs).
2608         * sgml.C (openTag, closeTag): removed unneeded newlines.
2609         (closeEnvTags) removed.
2610
2611 2004-10-23  André Pönitz  <poenitz@gmx.net>
2612
2613         * undo.C (textUndoOrRedo):
2614         * dociterator.C (asDocIterator): work around crash
2615
2616         * cursor.C (getStatus): replace ASSERT by more verbose error message
2617           and manual correction of the problem. Should increase stability
2618           while providing more sensible information.
2619
2620 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2621
2622         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2623
2624         * bufferlist.C (previous, next): new methods
2625
2626         * lfuns.h:
2627         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2628
2629 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2630
2631         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2632         entities to preamble.
2633
2634 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2635
2636         * messages.C (Pimpl): strip off translation context information
2637
2638 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2639
2640         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2641         the cursor is correct (bug 1694)
2642
2643 2004-10-13  José Matos  <jamatos@lyx.org>
2644
2645         * output_docbook.C (docbookParagraphs): fix closing tags in the
2646         end of the document.
2647
2648 2004-10-09  José Matos  <jamatos@lyx.org>
2649
2650         * buffer.C: format up to 237.
2651         * bufferparams.C (write): use tostr to convert booleans to strings.
2652
2653 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2654
2655         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2656
2657 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2658
2659         * LaTeX.C: implement use of babel language in xindy.
2660
2661 2004-10-05  José Matos  <jamatos@lyx.org>
2662
2663         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2664         Add new translators to help reading and writing the lyx file.
2665
2666 2004-10-05  José Matos  <jamatos@lyx.org>
2667
2668         * ParagraphParameters.C (read):
2669         * text.C (readParToken): replace nexToken by more appropriate lex
2670         methods.
2671
2672 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2673
2674         * LaTeX.C (runMakeIndex):
2675         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2676         (usually 'makeindex') configurable.
2677
2678         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2679         with a variable rather than with a number.
2680
2681 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2682
2683         * output_latex.C (TeXOnePar): make sure font setting is the first
2684         thing that gets output (and the last at the end). Should fix bug
2685         1404.
2686
2687 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * pch.h: use proper signal include
2690
2691         * LaTeX.h: Use preferred calling of Boost.Signal
2692         * buffer.h: ditto
2693
2694 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * pch.h: dont include <boost/function/function0.hpp>
2697
2698         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2699
2700         * paragraph_pimpl.h: remove usage of ShareContainer
2701
2702         * paragraph_pimpl.C: remove initialization of ShareContainer.
2703
2704 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         Fix bug #1666
2707
2708         * BufferView.C (putSelectionAt): change the semantics when
2709         backwards == true: now, this just swaps cursor and anchor wrt the
2710         forward case
2711
2712         * BufferView.h (putSelectionAt): add some documentation
2713
2714         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2715         make sure backwardChar is done at least once (to avoid getting
2716         stuck)
2717         (findNextChange): use putSelectionAt in the forward direction
2718         (operator()): use Paragraph::isWord
2719
2720 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * Spacing.C (set): c_str fix
2723
2724 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * lyx_cb.C (Reconfigure): quote the name of configure script in
2727         case it contains spaces
2728
2729 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * client: new dir
2732
2733         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2734         (BOOST_LIBS): use top_buildir when looking for the file
2735
2736 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * pch.h: do not use include boost/format.hpp, multiple symbols
2739                 will result (gcc bug)
2740
2741
2742 2004-08-23  José Matos  <jamatos@lyx.org>
2743
2744         * bufferparams.C (readToken): fix reading of the author field.
2745
2746 2004-08-20  José Matos  <jamatos@lyx.org>
2747
2748         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2749
2750 2004-08-20  José Matos  <jamatos@lyx.org>
2751
2752         * lyxlex.[Ch] (findToken): remove function.
2753
2754         * ParagraphParameters.C (findToken):
2755         * bufferparams.C (findToken): replace call for previous function
2756         with local copy. This local function has one more argument, the
2757         read string argument.
2758
2759 2004-08-16  José Matos  <jamatos@lyx.org>
2760
2761         * ParagraphParameters.C (write):
2762         * Spacing.C (writeFile):
2763         * bufferparams.C (writeLaTeX):
2764         * lyx_cb.C (Reconfigure):
2765         * paragraph.C (write):
2766         * tabular.C (write): remove unnecessary space at end of line.
2767
2768
2769 2004-08-16  José Matos  <jamatos@lyx.org>
2770
2771         * text.C (readParagraph): remove debug message.
2772
2773 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2774
2775         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2776         crash
2777
2778         * output_plaintext.C (asciiParagraph): set depth correctly
2779
2780         * outputparams.h: add member depth
2781
2782         * paragraph_funcs.C (ownerPar): remove.
2783
2784         * text2.C (setCounter): remove first_pit; comment out some
2785         non-working code that uses ownerPar
2786
2787         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2788         uses ownerPar
2789
2790 2004-08-16  José Matos  <jamatos@lyx.org>
2791
2792         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2793         For the same level of importance use the same chanel to report problems.
2794         (read): add code to deal with \begin_body and \end_body.
2795
2796
2797 2004-08-15  José Matos  <jamatos@lyx.org>
2798
2799         * lyxlex.C (getString): fix comment, buffer::readBody is now
2800         buffer:readDocument.
2801
2802         * tex-strings.C (string_papersize): Default -> default,
2803         Custom -> custom, for consistency with other options.
2804
2805 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * pch.h: new file
2808
2809         * Makefile.am: support pch
2810
2811 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2812
2813         * text.C (readParToken): remove the static LyXFont variable and
2814         pass it as a parameter instead. This fixes a nasty bug where an
2815         inset will be inserted with a bad font in some situations
2816         (readParagraph): adapt
2817
2818         * text2.C (setCounter): reduce number of calls to pars_[pit]
2819
2820         * text.C (singleWidth): add an assert, fix a test
2821
2822         * rowpainter.C (paintText): reduce number of calls to singleWidth
2823
2824         * paragraph.C (isHfill):
2825         (isNewline): ws only
2826
2827 2004-08-14  André Pönitz  <poenitz@gmx.net>
2828
2829         * text.C:
2830         * text2.C:
2831         * rowpainter.C:
2832         * lyxtext.h (several functions): use a Paragraph & argument
2833         instead of par_type
2834
2835 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2838
2839         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2840
2841         * text.C (singleWidth): remove useless test
2842
2843 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2844
2845         * tabular.h: remove bogus comments
2846
2847         * tabular.C (getDescentOfRow):
2848         (isPartOfMultiColumn): add assertions
2849
2850         * lyxlength.C (inPixels): remove #warning
2851
2852 2004-08-14  André Pönitz  <poenitz@gmx.net>
2853
2854         * paragraph.h: inline getChar()
2855
2856         * BufferView.h: remove unused declarations
2857
2858 2004-08-14  José Matos  <jamatos@lyx.org>
2859
2860         * Buffer.[Ch] (readDocument): new name for old readBody.
2861         * Buffer.C: new file format, new keywords: \begin_document,
2862         \begin_header, \begin_body, \end_body.
2863
2864         * bufferparams.C (readToken): replace all calls to lex.nextToken
2865         by lex.next(). Do the same to eatLine except where really needed.
2866
2867         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2868         line when writing to the lyx file.
2869
2870         * output_plaintext.C (asciiParagraph): fix Bibliography style
2871         handling.
2872
2873         * text.C (read): fix end of file handling.
2874
2875 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2876
2877         * MenuBackend.C (Menu::operator[]): new method to access
2878         individual menu items
2879         (Menu::hasFunc): new method. search for an item that corresponds
2880         to a given func
2881         (MenuBackend::specialMenu): new method
2882         (MenuBackend::expand): if a special menu has been set, skip
2883         entries whose func() appears in this menu
2884
2885 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2886
2887         * text3.C: use Debug::DEBUG a bit more
2888
2889         * text.C (leftMargin): try to simplify a tiny bit change var x to
2890         l_margin. Dont output the wide margins always.
2891         (rightMargin): no margin in inner texts
2892
2893         * rowpainter.h (nestMargin): new func
2894         (changebarMargin): new func
2895         (rightMargin): new func
2896
2897         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2898         now functions.
2899         (paintLast): ditto
2900
2901         * factory.C (createInset): modify setDrawFrame
2902
2903         * cursor.C: use Debug::DEBUG a bit more
2904
2905 2004-08-14  André Pönitz  <poenitz@gmx.net>
2906
2907         * coordcache.[Ch]:
2908         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2909         cache for all insets in (at least partially) visible (top-level)
2910         paragraphs.
2911
2912         * BufferView_pimpl.C: reset external coord cache before every update.
2913         This means the coord cache only contains valid entries.
2914
2915 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2916
2917         bug 1096
2918         * BufferView_pimpl.C (getInsetByCode): move function out of class
2919         and change in to a template in anon namespace. Also fix to do what
2920         suits us better.
2921
2922 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2923
2924         bug 1305
2925         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2926         of char
2927         (breakParagraph): rename par to par_offset and use a local
2928         reference. Add code to keep the language over a rebreak.
2929         (breakParagraphConservative): rename par to par_offset, use a
2930         local reference
2931         (mergeParagraph): ditto
2932         (outerHook): ditto
2933         (isFirstInSequence): ditto
2934         (outerFont): rename pit to par_offset
2935
2936         * paragraph.C: ws change
2937         * paragraph.h: ditto
2938         * text3.C: ditto
2939         * text.C: ditto
2940
2941 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2942
2943         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2944         treatment for ']'
2945
2946         * paragraph.C (simpleTeXOnePar): when we have a \item with
2947         optional argument, enclose the argument with curly brackets (in
2948         case it contains a closing square bracket)
2949
2950         * text2.C (editXY):
2951         * text2.C (editXY):
2952         * text3.C (checkInsetHit): constify
2953
2954 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2955
2956         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2957         documents (bug 1629)
2958
2959 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         Fix toggling of collapsable insets with the mouse (bug 1558)
2962
2963         * lyxfunc.C (dispatch): adapt to LCursor changes
2964
2965         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2966         make sure that dispatch is not invoked twice
2967
2968         * cursor.C (needsUpdate): new method
2969         (dispatch): return void
2970         (result): new method, to access the DispatchResult of the cursor.
2971
2972 2004-08-13  José Matos  <jamatos@lyx.org>
2973
2974         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2975
2976 2004-08-13  André Pönitz  <poenitz@gmx.net>
2977
2978         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2979
2980         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2981           multiple cells
2982
2983 2004-08-12  André Pönitz  <poenitz@gmx.net>
2984
2985         * text3.C: take out the 'cursor right' form insertInset and only
2986         do it in those places when it is really needed. Fixes crash on
2987         C-m...
2988
2989 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2990
2991         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2992
2993         * BufferView_pimpl.C (setBuffer): initialize the current font of
2994         the underlying LyXText
2995
2996 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2997
2998         * kbsequence.C (print): use UI native formatting for menu
2999         shortcuts
3000
3001         * text.C (insertChar): call Paragraph::insertChar with a font
3002         argument (cosmetic)
3003
3004         * paragraph.C (insertInset, insertChar): the version that takes a
3005         LyXFont argument is now a wrapper around the other one (the
3006         opposite used to be true).
3007
3008         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3009         argument. Font setting is done in Paragraph now.
3010
3011 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3012
3013         * outputparams.h: add new members intitle and lang.
3014
3015         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3016         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3017
3018 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * text3.C (dispatch): remove special handling of button 4 and 5,
3021         it is now taken care of in the frontend code.
3022
3023 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3024
3025         * Spacing.h: add <string> (STLPort compile fix)
3026
3027 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3028
3029         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3030
3031 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3032
3033         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3034         to bool.
3035
3036         * converter.C (showMessage): inherit from unary_function, make
3037         operator() const.
3038
3039         * buffer.C (writeFile): initialize retval
3040
3041         * InsetList.h: rename private variable list to list_
3042         * InsetList.[Ch]: adjust accordingly.
3043
3044 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3047         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3048         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3049         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3050         * ParagraphParameters.C, LaTeXFeatures.C: replace
3051         "support/std_sstream.h" with <sstream>
3052
3053 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3056         * lyxsocket.C (LyXServerSocket): ditto
3057         (serverCallback): ditto
3058
3059 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3060
3061         * LaTeXFeatures.C: check release date when loading jurabib.
3062
3063 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * lyxserver.C (startPipe): call register_socket_callback
3066         (endPipe): call unregister_socket_callback
3067
3068 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3069
3070         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3071         (LyXServerSocket): register the callback
3072         (LyXServerSocket): unregister the callback
3073         (fd): delete function
3074         (serverCallback): improve error checking and setup the callbacks.
3075         (dataCallback): change arg to fd.
3076         (writeln): new func (copied fro the client socket) used for server
3077         write to client.
3078         (LyXDataSocket): simplify
3079         (~LyXDataSocket): close ann unregiser callback
3080         (server): delete function
3081         (fd): delete function
3082         (readln): small changes, improve some std::string usage
3083         (writeln): constify a bit
3084
3085 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3086
3087         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3088         Qt frontend
3089
3090 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3093         after it has been populated
3094
3095 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3096
3097         * text2.C (insertInset): move cursor when inserting inset.
3098
3099 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3100
3101         * kbmap.C (findbindings): a couple of new methods. returns a
3102         container of kb_sequence objects. The real work is done by the
3103         private recursive version
3104         (printbindings): uses findbindings to print out a bracketed list
3105         of bindings (renamed from findbinding).
3106
3107         * MenuBackend.C (binding): use kb_keymap::findbindings
3108
3109         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3110
3111 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3112
3113         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3114
3115 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3116
3117         * paragraph.C (isWord): return true on insets that report
3118         isLetter().
3119
3120         * text.C (getWord): use Paragraph::isWord to decide what is in a
3121         word and what is not; fix bug 1609.
3122
3123 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3124
3125         * tex-strings.C: add "none" to string_paperpackages[], fixes
3126         off-by-one-error in the paperpackage selection.
3127
3128         * lyxlex.[Ch]:
3129         * tex-strings.[Ch]: char const * string[n]
3130         -> char const * const string[]
3131
3132 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3133
3134         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3135         command, return early.
3136
3137 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * debug.h: add DEBUG to enum and fix size of ANY.
3140
3141         * debug.C: add support for Debug::DEBUG
3142         (showTags): cast errorTags.level to unsigned int
3143
3144         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3145         (redoCurrentBuffer): ditto
3146         (updateScrollbar): ditto
3147         * cursor.C (dispatch): ditto
3148         * text2.C (setLayout): ditto
3149         (setFont): ditto
3150         (updateCounters): ditto
3151         (editXY): ditto
3152         (deleteEmptyParagraphMechanism): ditto
3153
3154 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3155
3156         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3157         annotations to cleanup the Makefile slightly.
3158
3159 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3160
3161         * lyxrc.C: do not set user_email to a default value but use empty
3162         instead. The entry used to be translated, which does not work
3163         since at the point where lyxrc is constructed there is no
3164         translation service available
3165
3166         * messages.C (getLocaleDir): remove and use directly
3167         lyx_localedir() instead
3168
3169 2004-06-02  Angus Leeming  <leeming@lyx.org>
3170
3171         Fix crash caused by dereferencing null pointer 'exportdata' in
3172         OutputParams by creating a new ExportData variable on the heap,
3173         storing it in a boost::shared_ptr.
3174         The crash was triggered when generating an Instant Preview
3175         of an external inset.
3176
3177         * Makefile.am: add outputparams.C
3178
3179         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3180         (c-tor): allocate memory to it.
3181
3182         * exporter.C (c-tor): associated changes.
3183
3184 2004-06-01  Angus Leeming  <leeming@lyx.org>
3185
3186         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3187         contains data before calling isInset(0). (Bug 1513.)
3188
3189 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3190
3191         * exporter.C (checkOverwrite): new method
3192         * exporter.C (copyFile): new method
3193         * exporter.C (Export): copy referenced files to the document dir
3194         * exporter.[Ch]: new class ExportedFile
3195         * exporter.[Ch]: new class ExportData. Contains currently the
3196         names of referenced external files
3197         * outputparams.h: add exportdata member.
3198
3199 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3202         version.C-tmp
3203
3204 2004-05-19  Angus Leeming  <leeming@lyx.org>
3205
3206         * LaTeXFeatures.C:
3207         * ToolbarBackend.C:
3208         * bufferparams.C:
3209         * lyxfunc.C: small changes due to the introduction of namespace
3210         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3211
3212 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * text3.C (dispatch): supress update when only moving the cursor
3215         * cursor.C (selHandle): remove commented code
3216
3217 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3218
3219         * paragraph.C (startTeXParParams): correct column count
3220         * CutAndPaste.C (pasteSelection): remove const_cast
3221         * output_docbook.C (docbookParagraphs): remove const_cast
3222         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3223         const_cast and return ParagraphList::const_iterator
3224         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3225         * output_plaintext.C (writeFileAscii): remove const_cast
3226         * paragraph.[Ch] (simpleTeXOnePar): make const
3227         * paragraph_funcs.C (outerPar): use const iterators
3228         * paragraph_pimpl.C (validate): use const iterators
3229         * text.C (setHeightOfRow): use const iterators
3230
3231 2004-05-17  Angus Leeming  <leeming@lyx.org>
3232
3233         * lfuns.h:
3234         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3235
3236         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3237         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3238         if the citation engine has changed.
3239
3240 2004-05-14  José Matos  <jamatos@lyx.org>
3241
3242         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3243         if the textclass does not provide it. Have it different for sgml and
3244         xml.
3245         support the language of document.
3246         * output_docbook.C (docbookParagraphs):
3247         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3248         first anchor as the id of the paragraph, remove special case code.
3249         * sgml.C (escapeChar): escape only < & >.
3250
3251 2004-05-14  Angus Leeming  <leeming@lyx.org>
3252
3253         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3254         dependencies on src/frontends/controllers/biblio.h. Define a
3255         CiteEngine_enum wrapper class to enable the enum to be forward
3256         declared.
3257
3258 2004-05-12  Angus Leeming  <leeming@lyx.org>
3259
3260         * buffer.C: up LYX_FORMAT to 234.
3261         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3262         use_numerical_citations with a single biblio::CiteEngine cite_engine
3263         variable.
3264         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3265
3266 2004-05-13  José Matos  <jamatos@lyx.org>
3267
3268         * converter.h:
3269         * converter.C (Converter, readFlags): add xml member.
3270         * outputparams.h: add XML flavor.
3271         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3272
3273 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3274
3275         * lyxfunc.C (dispatch):
3276         (getStatus): fix handling of LFUN_SEQUENCE
3277
3278 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3279
3280         * debug.C (showLevel): do not forget the end-of-line marker
3281
3282 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3283
3284         * kbmap.C (read): do not stop parsing a bind file when an error
3285         occurs (bug 1575)
3286
3287 2004-04-29  Angus Leeming  <leeming@lyx.org>
3288
3289         * cursor.C:
3290         * factory.C:
3291         * pariterator.C:
3292         * text2.C: wrap a bunch of #warning statements
3293         inside #ifdef WITH_WARNINGS blocks.
3294
3295 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3296
3297         * buffer.C: increment format to 233.
3298
3299 2004-04-28  Angus Leeming  <leeming@lyx.org>
3300
3301         * BufferView_pimpl.C:
3302         * lyxfunc.C:
3303         * text3.C:
3304         s/updateToolbar()/updateToolbars()/
3305         s/Toolbar.h/Toolbars.h/
3306
3307 2004-04-28  Angus Leeming  <leeming@lyx.org>
3308
3309         * BufferView.[Ch] (c-tor):
3310         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3311         No longer passes these data to the WorkArea generator.
3312
3313 2004-04-28  Angus Leeming  <leeming@lyx.org>
3314
3315         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3316
3317 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3318
3319         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3320
3321 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3322
3323         * output_latex.C (TeXEnvironment): make sure that there is a line
3324         break before \end{foo} for the last paragraph of a document
3325         (TeXOnePar): if the paragraph is at the end of the document (or
3326         inset) and the language has to be reset, then make sure that the
3327         line break is _before_ the language command, not after (fixes bug
3328         1225); also make sure that the language reset command is the first
3329         thing after the paragraph (to ensure proper nesting of
3330         environments and thus fix bug 1404)
3331
3332 2004-04-21  John Levon  <levon@movementarian.org>
3333
3334         * ToolbarBackend.h:
3335         * ToolbarBackend.C: make "name" be a programmatic name
3336         and a gui_name field.
3337
3338         * lyxfunc.C: display the minibuffer on M-x
3339
3340 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3341
3342         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3343         (bug 1526)
3344
3345 2004-04-19  Angus Leeming  <leeming@lyx.org>
3346
3347         * BufferView_pimpl.C (setBuffer): changed preview interface.
3348
3349         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3350         possible values.
3351
3352 2004-04-19  John Levon  <levon@movementarian.org>
3353
3354         * BufferView_pimpl.C:
3355         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3356
3357 2004-04-05  Angus Leeming  <leeming@lyx.org>
3358
3359         * text.C (redoParagraphs): add call to updateCounters(), thereby
3360         fixing the missing "Figure #:" label from the caption of a
3361         figure float.
3362
3363 2004-04-13  Angus Leeming  <leeming@lyx.org>
3364
3365         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3366         cursor is clicked out of an inset.
3367
3368 2004-04-13  Angus Leeming  <leeming@lyx.org>
3369
3370         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3371         than an InsetOld one.
3372
3373 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3374
3375         * format.[Ch]: add editor to Format
3376         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3377         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3378
3379 2004-04-08  André Pönitz  <poenitz@gmx.net>
3380
3381         * metricsinfo.h: remove PainterInfo::width member
3382
3383 2004-04-08  Angus Leeming  <leeming@lyx.org>
3384
3385         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3386         "\providecommand" rather than "\newcommand", thereby preventing
3387         clashes with packages that define "\boldsymbol" themselves.
3388         Eg, beamer.
3389
3390 2004-04-08  Angus Leeming  <leeming@lyx.org>
3391
3392         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3393         thereby squashing an unnecessary warning.
3394
3395 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3396
3397         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3398         setBuffer()
3399
3400 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3401
3402         * BufferView.C (setCursor): call redoParagraph (some insets could
3403         have been opened)
3404         (putSelectionAt): remove the 'double update' trick
3405
3406         * BufferView_pimpl.C (fitCursor): call refreshPar
3407         (workAreaDispatch): remove an uneeded update call
3408         (dispatch): remove some manual update calls
3409
3410         * cursor.[Ch]: remove cached_y_, updatePos
3411         (selHandle): set noUpdate when appropriate
3412
3413         * lyxfunc.C (dispatch): track if we need an update
3414
3415         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3416
3417         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3418         (paintSelection): cheap optimization, do not call cursorX when not
3419         needed
3420         (paintPars): change signature
3421         (refreshPar): add
3422         (paintText): adjust
3423         (paintTextInset): adjust
3424
3425         * text.C: adjust
3426
3427 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3428
3429         * lengthcommon.C: compilation fix: remove explicit array size from
3430         unit_name[] and friends
3431
3432 2004-04-05  Angus Leeming  <leeming@lyx.org>
3433
3434         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3435
3436         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3437         present only for the preferences dialog.
3438         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3439
3440 2004-04-05  Angus Leeming  <leeming@lyx.org>
3441
3442         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3443         to enable the frontends to export changes to lyxrc correctly.
3444
3445         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3446
3447 2004-04-07  André Pönitz  <poenitz@gmx.net>
3448
3449         * cursor.[Ch] (selClear, adjust): remove math
3450
3451         * cursor_slice.C: more agressive assert
3452
3453         * lyxfunc.C:
3454         * BufferView_pimpl.C: rework mouse event dispatch
3455
3456         * dociterator.C:
3457         * paragraph.C:
3458         * text2.C:
3459         * text3.C: adjust
3460
3461 2004-04-05  André Pönitz  <poenitz@gmx.net>
3462
3463         * cursor.[Ch] (valign, halign...): remove unneeded functions
3464
3465 2004-04-05  Angus Leeming  <leeming@lyx.org>
3466
3467         * lyxlength.[Ch] (unit_name et al.): const-correct.
3468
3469 2004-04-05  Angus Leeming  <leeming@lyx.org>
3470
3471         * BufferView_pimpl.C:
3472         * buffer.C:
3473         * counters.C:
3474         * cursor.C:
3475         * lyxfunc.C
3476         * paragraph.C:
3477         * pariterator.C:
3478         * text.C:
3479         * text2.C:
3480         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3481
3482 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3483
3484         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3485
3486 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3487
3488         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3489         * BufferView_pimpl.[Ch] (getStatus)
3490         * BufferView.[Ch] (getStatus): add
3491         * lyxfunc.C (getStatus): move lfuns handled in
3492         BufferView::dispatch to te function above
3493         * Cursor.C (setSelection): set selection() = true
3494
3495 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3496
3497         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3498
3499 2004-03-31  Angus Leeming  <leeming@lyx.org>
3500
3501         * lyxfunc.C (dispatch): Fall through to the generic
3502         Dialogs::show("preamble").
3503
3504 2004-03-31  Angus Leeming  <leeming@lyx.org>
3505
3506         * lyxfunc.C (dispatch): Fall through to the generic
3507         Dialogs::show("spellchecker").
3508
3509 2004-03-31  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3512         preferences dialog.
3513
3514 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3515
3516         * BufferView.C
3517         * cursor.[Ch]
3518         * dociterator.[Ch]:
3519         * insetiterator.[Ch]:
3520         * lyxfind.C:
3521         * lyxfunc.C:
3522         * pariterator.[Ch]:
3523         * text2.C:
3524         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3525
3526 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3529         insets where we are putting the cursor.
3530
3531 2004-03-31  Angus Leeming  <leeming@lyx.org>
3532
3533         * lfuns.h:
3534         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3535
3536         * lyxrc.[Ch] (read, write): overloaded member functions taking
3537         a std::[io]stream arguments.
3538
3539         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3540
3541 2004-03-31  Angus Leeming  <leeming@lyx.org>
3542
3543         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3544         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3545
3546         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3547         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3548
3549 2004-03-31  Angus Leeming  <leeming@lyx.org>
3550
3551         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3552         the LFUN_ALL_INSETS_TOGGLE code.
3553
3554 2004-03-30  Angus Leeming  <leeming@lyx.org>
3555
3556         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3557         has died. Fall through to the generic Dialogs::show("document").
3558
3559 2004-03-30  Angus Leeming  <leeming@lyx.org>
3560
3561         * lfuns.h:
3562         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3563         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3564
3565         * lyxfunc.C (getStatus, dispatch): define the actions for these
3566         lfuns. Little more than a cut and pste job from ControlDocument.C
3567
3568         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3569
3570 2004-03-30  Angus Leeming  <leeming@lyx.org>
3571
3572         * lfuns.h:
3573         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3574         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3575
3576         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3577         open/closed state of ollapsable insets. Usage:
3578
3579         all-inset-toggle <state> <name>, where
3580         <state> == "open" || "closed" || "toggle" and
3581         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3582
3583         * lyxtext.h, text2.C (toggleInset): removed.
3584
3585         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3586         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3587         now passes LFUN_INSET_TOGGLE to the found inset.
3588
3589         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3590         is now invoked as "all-insets-toggle toggle branch".
3591
3592 2004-03-30  Angus Leeming  <leeming@lyx.org>
3593
3594         * dociterator.C:
3595         * insetiterator.C:
3596         * pariterator.[Ch]: added/corrected header blurb.
3597
3598 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * dociterator.[Ch]: add an inset_ member
3601         (backwardPos): implemented
3602         (backwardPos, forwardPos): use inset_ when the stack is empty.
3603         (doc_iterator_begin, doc_iterator_end): implemented
3604         * pariterator.[Ch]: adjust, add begin, end
3605         * insetiterator.[Ch]: adjust, add begin, end
3606         * cursor.C:
3607         * document.C:
3608         * BufferView.C:
3609         * BufferView_pimpl.C:
3610         * CutAndPaste.C: adjust
3611
3612 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3613
3614         * buffer.C: increment file format to 232.
3615         * LaTeXFeatures.C: add bibtopic package.
3616         * bufferparams.[Ch]: param \use_bibtopic.
3617
3618         * lyxrc.[Ch]: add lyxrc bibtex_command
3619         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3620
3621         * buffer.C: increment file format to 231.
3622
3623 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3624
3625         * dociterator.C: implement forwardPar
3626         * iterators.[Ch]: remove, replaced by
3627         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3628         * BufferView.C:
3629         * BufferView_pimpl.C:
3630         * CutAndPaste.C:
3631         * buffer.C:
3632         * bufferview_funcs.C:
3633         * cursor.C:
3634         * lyxfind.C
3635         * lyxfunc.C
3636         * paragraph_funcs.C
3637         * toc.C:
3638         * Makefile.am: adjust
3639
3640 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * CutAndPaste.C (pasteSelection): fix 2 crashes
3643         (eraseSelection): fix a crash
3644         * paragraph_funcs.C: remove a warning
3645
3646 2004-03-28  Angus Leeming  <leeming@lyx.org>
3647
3648         * lfuns.h:
3649         * LyXAction.C (init): new LFUN_PRINT.
3650
3651         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3652
3653 2004-03-27  Angus Leeming  <leeming@lyx.org>
3654
3655         * lfuns.h:
3656         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3657
3658         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3659
3660 2004-03-27  Angus Leeming  <leeming@lyx.org>
3661
3662         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3663         insetlist always contains non-null pointers to insets.
3664
3665 2004-03-26  Angus Leeming  <leeming@lyx.org>
3666
3667         * src/BufferView_pimpl.C:
3668         * src/CutAndPaste.C:
3669         * src/buffer.C:
3670         * src/iterators.C:
3671         * src/output_plaintext.C:
3672         * src/outputparams.h:
3673         * src/paragraph_funcs.C:
3674         * src/rowpainter.C:
3675         * src/text.C:
3676         * src/text2.C:
3677         * src/frontends/controllers/ControlErrorList.C:
3678         * src/frontends/gtk/FileDialogPrivate.C:
3679         * src/frontends/gtk/GPainter.C:
3680         * src/frontends/gtk/GToolbar.C:
3681         * src/frontends/qt2/QRef.C:
3682         * src/mathed/math_scriptinset.C: squash compiler warnings.
3683
3684 2004-03-26  Angus Leeming  <leeming@lyx.org>
3685
3686         * ispell.C (LaunchIspell::start):
3687         * lyx_cb.C (AutoSaveBuffer::start):
3688         invoke run(DontWait) rather than runNonBlocking().
3689
3690 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3691
3692         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3693
3694 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3695
3696         * kbsequence.C (print): adjust
3697
3698         * kbmap.C (printKeySym): rename and change signature
3699         (printKey): use LyXKeySym::print()
3700
3701 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3702
3703         * undo.C: add using std::advance to compile for stlport
3704
3705 2004-03-24  Angus Leeming  <leeming@lyx.org>
3706
3707         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3708         it leads to a crash when no buffer is present.
3709
3710 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3711             Martin Vermeer  <martin.vermeer@hut.fi>
3712
3713         * lyxfunc.C (dispatch):
3714         * bufferparams.C (readToken): use the new LColor::setColor
3715
3716         * LColor.[Ch] (setColor): new version that takes two strings as
3717         argument and creates a new color entry if necessary
3718
3719 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3720
3721         * buffer.C (makeLaTeXFile): if the main latex file that is
3722         processed is usually a subdocument of some master, then pretend
3723         for a while that it is actually the master
3724
3725 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3726
3727         * buffer.C (getLabelList):
3728         (getBibkeyList): use getMasterBuffer()
3729         (getMasterBuffer): new method. Returns the main document in the
3730         case where one is using included documents.
3731
3732 2004-03-25  André Pönitz  <poenitz@gmx.net>
3733
3734         * Makefile.am:
3735         * iterators.[Ch]:
3736         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3737
3738         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3739
3740         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3741         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3742
3743         * ParameterStruct.h: merge with ParagraphParameters
3744
3745         * lyxtext.h: remove LyXText::parOffset() and getPar()
3746
3747         * text3.C: Remove all 'manual' update calls. We do now one per user
3748         interaction which is completely sufficient.
3749
3750         * Bidi.C:
3751         * BufferView.[Ch]:
3752         * BufferView_pimpl.C:
3753         * FontIterator.[Ch]:
3754         * MenuBackend.C:
3755         * ParagraphParameters.[Ch]:
3756         * buffer.C:
3757         * buffer.h:
3758         * bufferlist.C:
3759         * cursor.[Ch]:
3760         * cursor_slice.[Ch]:
3761         * dociterator.[Ch]:
3762         * errorlist.[Ch]:
3763         * factory.C:
3764         * lfuns.h:
3765         * lyxfind.C:
3766         * lyxfunc.C:
3767         * output_docbook.[Ch]:
3768         * output_latex.[Ch]:
3769         * output_linuxdoc.[Ch]:
3770         * output_plaintext.[Ch]:
3771         * paragraph.[Ch]:
3772         * paragraph_funcs.[Ch]:
3773         * paragraph_pimpl.[Ch]:
3774         * rowpainter.C:
3775         * tabular.[Ch]:
3776         * text.C:
3777         * text2.C:
3778         * toc.C:
3779         * undo.[Ch]: adjust
3780
3781         * frontends/controllers/ControlDocument.C:
3782         * frontends/controllers/ControlErrorList.C:
3783         * frontends/controllers/ControlSpellchecker.C:
3784         * insets/inset.C:
3785         * insets/inset.h:
3786         * insets/insetbase.h:
3787         * insets/insetbibitem.C:
3788         * insets/insetbox.C:
3789         * insets/insetbranch.C:
3790         * insets/insetcaption.C:
3791         * insets/insetcharstyle.C:
3792         * insets/insetcharstyle.h:
3793         * insets/insetcollapsable.C:
3794         * insets/insetcollapsable.h:
3795         * insets/insetert.C:
3796         * insets/insetfloat.C:
3797         * insets/insetfoot.C:
3798         * insets/insetmarginal.C:
3799         * insets/insetnote.C:
3800         * insets/insetoptarg.C:
3801         * insets/insettabular.C:
3802         * insets/insettext.C:
3803         * insets/insettext.h:
3804         * insets/insetwrap.C:
3805         * mathed/math_mboxinset.C:
3806         * mathed/math_nestinset.C:
3807         * mathed/math_scriptinset.C:
3808         * mathed/math_scriptinset.h:
3809         * support/types.h:
3810
3811 2004-03-24  Angus Leeming  <leeming@lyx.org>
3812
3813         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3814         deal with any child processes that have finished but are waiting to
3815         communicate this fact to the rest of LyX.
3816
3817 2004-03-24  Angus Leeming  <leeming@lyx.org>
3818
3819         64-bit compile fixes.
3820
3821         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3822         (c-tor): pass lyx::pos_types rather than ints.
3823
3824         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3825         lyx::pos_type.
3826
3827         * text.C (Delete): compile fix.
3828         (getPar): ensure that function declaration is the same as that in
3829         the header file.
3830
3831 2004-03-23  Angus Leeming  <leeming@lyx.org>
3832
3833         * ispell.C (LaunchIspell):
3834         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3835         a boost::shred_ptr rather than a std::auto_ptr.
3836
3837 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3838
3839         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3840         handle LFUN_FILE_INSERT_*
3841
3842         * lyxrc.C (setDefaults, getDescription, output, read):
3843         * lyxrc.h: remove ps_command
3844
3845 2004-03-22  Angus Leeming  <leeming@lyx.org>
3846
3847         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3848         Ensure that error_handler is processed once only and that all data
3849         is saved before attempting to output any warning messages.
3850
3851         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3852
3853 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3856
3857 2004-03-19  André Pönitz  <poenitz@gmx.net>
3858
3859         * cursor.[Ch] (reset): take main text inset as argument
3860
3861         * BufferView: adjust
3862         * BufferView_pimpl.C: adjust
3863
3864         * paragraph.[Ch]: fix completely broken operator=()
3865
3866 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3867
3868         * LColor.C (getFromLyXName): make sure that the color name is used
3869         as lowercase.
3870
3871 2004-03-17  Angus Leeming  <leeming@lyx.org>
3872
3873         * lfuns.h:
3874         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3875
3876         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3877         dialog and to kill a forked process.
3878
3879 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * text2.C (setCursorFromCoordinates): fix font problem
3882
3883 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3886         bogus "rebuild cursor" code
3887
3888 2004-03-11  André Pönitz  <poenitz@gmx.net>
3889
3890         * buffer.[Ch]: use InsetText instead of LyXText as container for
3891         the main lyx text.
3892
3893         * dociterator.[Ch]: drop the BufferView * member which is not needed
3894         anymore after the change to buffer.C
3895
3896         * paragraph_funcs.C:
3897         * text.C:
3898         * text2.C:
3899         * BufferView.[Ch]:
3900         * BufferView_pimpl.[Ch]:
3901         * cursor.[Ch]:
3902         * cursor_slice.[Ch]: adjust
3903
3904         * text3.C: fix bug in mathDispatch
3905
3906 2004-03-08  André Pönitz  <poenitz@gmx.net>
3907
3908         * undo.[Ch]: use 'StableDocumentIterator' as base for
3909         the Undo struct.
3910
3911 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3912
3913         * LaTeXFeatures.C:
3914         * bufferparams.[Ch]: add jurabib support and param.
3915
3916         * LaTeX.C: add FIXME/comment.
3917
3918 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3919
3920         * buffer.C: increment file format to 230.
3921
3922 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3923
3924         * cursor.C (dispatch): avoid infinite loops
3925
3926 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3927
3928         * rowpainter.C (paintSelection): fix x coordinates
3929
3930 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * text.C (rowBreakPoint): fix breaking before displayed insets
3933
3934 2004-03-01  André Pönitz  <poenitz@gmx.net>
3935
3936         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3937
3938         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3939
3940         * Makefile.am:
3941         * BufferView.C:
3942         * BufferView_pimpl.C:
3943         * buffer.C:
3944         * lyxfind.C:
3945         * lyxfunc.C:
3946         * text.C:
3947         * text2.C:
3948         * text3.C: adjust
3949
3950 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3951
3952         * lyxtext.h:
3953         * text.C:
3954         * text2.C:
3955         * rowpainter.C:
3956         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3957         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3958
3959 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3960
3961         * Bidi.[Ch] (computeTables): const correctness
3962         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3963         fill_hfill, fill_label_hfill and x from Row
3964         * lyxtext.h: prepareToPrint returns a RowMetrics
3965         * rowPainter.C: adjust
3966         * text.C (prepareToPrint): use width, not textWidth. adjust
3967         (redoParagraphInternal, cursorX): adjust
3968         * text2.C (getColumnNearX): adjust
3969         (init): put a default value to the top LyXText::width
3970
3971 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3972
3973         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3974
3975 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * lyxtext.h: add FontIterator class
3978
3979         * text.C (FontIterator, operator*, operator->, operator++): add
3980         (rowBreakPoint, setRowWidth): adjust (fixing a
3981         rebreaking bug)
3982
3983 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3984
3985         * BufferView_pimpl.C (workAreaDispatch): allow also
3986         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3987
3988 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * text.C (rowBreakPoint): fix a bug showing with very large insets
3991
3992 2004-02-25  André Pönitz  <poenitz@gmx.net>
3993
3994         * text3.C:
3995         * cursor.[Ch]: move some mathed specific code to mathed
3996
3997 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3998
3999         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4000         use_tempdir in preferences
4001         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4002         tempfile creation
4003         * lyx_main.C: ensure that tempdir is valid
4004         * lyxlex.h: correct typo
4005         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4006         * paragraph.[Ch] (isMultiLingual): make const
4007         * cursor.[Ch] (openable): make const
4008
4009 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4010
4011         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4012
4013 2004-02-20  André Pönitz  <poenitz@gmx.net>
4014
4015         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4016
4017         * cursor.[Ch]: prepare for localized getStatus()
4018
4019         * lyxtext.h:
4020         * tabular.C:
4021         * text.C:
4022         * text2.C:
4023         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4024
4025 2004-02-20  André Pönitz  <poenitz@gmx.net>
4026
4027         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4028
4029 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4030
4031         * text2.C (setCursorFromCoordinates): switch to absolute coords
4032         (cursorUp): adjust
4033         (cursorDown): adjust
4034         * text3.C (dispatch): adjust
4035
4036 2004-02-16  André Pönitz  <poenitz@gmx.net>
4037
4038         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4039           insets/ChangeLog)
4040
4041         * cursor_slice.[Ch]: remove unneeded acessor function
4042
4043         * lyxtext.h: rename rtl() to isRTL()
4044
4045         * rowpainter.C:
4046         * tabular.C:
4047         * text.C:
4048         * text2.C:
4049         * text3.C: adjust
4050
4051 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * rowpainter.C (paintSelection): coord fix
4054
4055 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4056
4057         * Spacing.C: compile fix
4058
4059 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * cursor.C (dispatch): restore current_ before returning
4062
4063 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4064
4065         * text2.C (cursorUp, cursorDown): fix coords
4066         (moveUp): fix crash
4067
4068 2004-02-12  André Pönitz  <poenitz@gmx.net>
4069
4070         * lyxtext.h:
4071         * text.C:
4072         * text2.C:
4073         * text3.C: add LCursor & parameter to most cursor movement functions
4074           remove usage of LyXText::cursorRow() and cursorPar()
4075
4076         * cursor.[Ch]: add textRow() needed members
4077
4078         * BufferView.C:
4079         * BufferView_pimpl.C:
4080         * paragraph.[Ch]:
4081         * BufferView.C:
4082         * BufferView_pimpl.C: adjust
4083
4084 2004-02-11  André Pönitz  <poenitz@gmx.net>
4085
4086         * lyxfunc.C:
4087         * BufferView.[Ch]:
4088         * BufferView_pimpl.C: shift undo/redo handling
4089
4090         * cursor.[Ch]: fix mathed crash
4091
4092         * lyxfind.C:
4093         * lyxtext.h: move selectionAsText to LCursor
4094
4095         * output_latex.C:
4096         * paragraph.C:
4097         * text.C:
4098         * text2.C:
4099         * text3.C: adjust
4100
4101         * rowpainter.C: fix excessive drawing
4102
4103 2004-02-06  André Pönitz  <poenitz@gmx.net>
4104
4105         * BufferView.[Ch]:
4106         * BufferView_pimpl.[Ch]:
4107         * text3.C: move some text specific LFUN handling
4108
4109 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * text3.C (checkInsetHit): adjust coords
4112         * text2.C (getColumnNearX): adjust coords
4113         (edit): adjust coords
4114         * text.C (getRowNearY): add two asserts
4115
4116 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4117
4118         * converter.C:
4119         * format.C: add using std::distance to compile on gcc 2.95/stlport
4120
4121 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4122
4123         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4124
4125 2004-02-04  André Pönitz  <poenitz@gmx.net>
4126
4127         * BufferView.[Ch] (insertInset):
4128         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4129
4130         * text2.C:
4131         * text3.C: adjust
4132
4133 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4134
4135         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4136         on the default clause of the switch
4137         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4138         wasn't catched by LCursor::dispatch
4139
4140 2004-02-03  André Pönitz  <poenitz@gmx.net>
4141
4142         * BufferView.C:
4143         * cursor.[Ch]: some additional asserts
4144
4145         * undo.[Ch]: remove LyXText dependency in interface
4146
4147         * lyxfunc.C: adjust
4148
4149         * lyxtext.h (firstPar, lastPar): remove dead functions
4150
4151         * text.C:
4152         * text2.C:
4153         * text3.C:
4154         * paragraph.[Ch]: adjust
4155
4156 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4157
4158         * lyxfind.C (find): fix argument order in call to ::find
4159
4160 2004-02-02  André Pönitz  <poenitz@gmx.net>
4161
4162         * cursor.[Ch]: remove direct access to anchor
4163
4164         * text.C: remove findText() hack
4165
4166 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4167
4168         * iterators.[Ch] (lockPath): remove in favour of...
4169         * BufferView.[Ch] (setCursor): this addition
4170         * BufferView.C (putSelectionAt): adjust
4171         * undo.C (performUndoOrRedo): adjust
4172         * lyxfunc.C (dispatch): adjust
4173
4174 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4175
4176         * iterators.C (lockPath): add a missing slice
4177         * undo.C (performUndoOrRedo): remove redundant positioning code
4178
4179 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4180
4181         * vc-backend.C (scanMaster): ";" -> ';'
4182
4183 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4186         std::binary_function
4187
4188         * lyxtextclass.C (compare_name): rename to...
4189         (LayoutNamesEqual): ...this
4190
4191         * lyxlex_pimpl.C (compare_tags): inherit from
4192         std::binary_function, put back into anon namespace
4193
4194         * lyxfind.C (MatchString): inherig from std::binary_function
4195         (findChange): use empty() istead of !size()
4196
4197         * format.C (FormatNamesEqual): new functor
4198         (getFormat): use it
4199         (getNumber): use it
4200         (add): use it
4201         (erase): use it
4202         (setViewer): use it
4203
4204         * converter.C (compare_Converter): rename to...
4205         (ConverterEqual): ...this, and fixup a bit.
4206         (getConverter): use it, and make function const
4207         (getNumber): use it, and make function const
4208         (add): use it
4209         (erase): use it:
4210
4211         * bufferlist.C: add using boost::bind
4212
4213         * MenuBackend.C (MenuNamesEqual): new functor
4214         (hasMenu): use it, and make function const
4215         (hasSubmenu): use nested bind to get rid of compare_memfun.
4216
4217 2004-01-30  André Pönitz  <poenitz@gmx.net>
4218
4219         * BufferView_pimpl.C:
4220         * cursor.C:
4221         * cursor.h:
4222         * cursor_slice.[Ch]:
4223         * lyxfunc.C:
4224         * lyxtext.h:
4225         * paragraph_funcs.C:
4226         * paragraph_funcs.h:
4227         * rowpainter.C:
4228         * text.C:
4229         * text2.C:
4230         * text3.C: move some of the edit(x,y) handling to the insets
4231         some coordinate changes.
4232
4233 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * text.C: add using statements for std::advance and std::distance
4236
4237         * paragraph.C: add using statement for std::distance
4238
4239         * lyxfind.C: add using statement for std::advance
4240
4241         * cursor.C (region): remove std:: from swap
4242         (openable): use nucleus in stead of operator->
4243
4244         * BufferView.C: add using statements for std::distance and std::swap
4245
4246 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4247
4248         * iterators.C: Remove the pimple, move the needed structures to
4249         the header file. Create accessor for the positions stack.
4250         (asPosIterator): remove function
4251
4252         * PosIterator.C (PosIterator): move constructors to top of file
4253         (PosIterator): reimplement the constructor taking a ParIterator in
4254         terms of setFrom.
4255         (setFrom): new function
4256         (operator!=): inline it
4257
4258 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * lyxfind.C (replaceAll): use std::advance
4261
4262         * iterators.h: inherit from std::iterator.
4263
4264         * PosIterator.C (advance, distance): remove
4265         * PosIterator.h: interit from std::iterator.
4266
4267 2004-01-26  André Pönitz  <poenitz@gmx.net>
4268
4269         * BufferView.[Ch]:
4270         * BufferView_pimpl.[Ch]:
4271         * InsetList.[Ch]:
4272         * PosIterator.[Ch]:
4273         * buffer.h:
4274         * bufferview_funcs.C:
4275         * cursor.[Ch]:
4276         * cursor_slice.h:
4277         * factory.[Ch]:
4278         * iterators.[Ch]:
4279         * lyxfind.C:
4280         * lyxfunc.C:
4281         * lyxtext.h:
4282         * output_docbook.C:
4283         * output_latex.C:
4284         * output_linuxdoc.C:
4285         * output_plaintext.C:
4286         * paragraph.[Ch]:
4287         * paragraph_funcs.[Ch]:
4288         * paragraph_pimpl.[Ch]:
4289         * rowpainter.C:
4290         * tabular.C:
4291         * tabular.h:
4292         * text.C:
4293         * text2.C:
4294         * text3.C: more IU:  dumps most of the rest of the mathcursor
4295     implementation into cursor.[Ch]; "globalize" a bit of it.
4296
4297 2004-01-25  Angus Leeming  <leeming@lyx.org>
4298
4299         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4300
4301 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4302
4303         * LaTeXFeatures.h: add nice_ and nice() const
4304         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4305
4306 2004-01-20  André Pönitz  <poenitz@gmx.net>
4307
4308         * BufferView.[Ch]:
4309         * BufferView_pimpl.C:
4310         * PosIterator.C:
4311         * bufferview_funcs.C:
4312         * cursor.[Ch]:
4313         * cursor_slice.[Ch]:
4314         * factory.C:
4315         * iterators.C:
4316         * lyx_cb.C:
4317         * lyxfind.C:
4318         * lyxfunc.C:
4319         * lyxtext.h:
4320         * rowpainter.C:
4321         * text.C:
4322         * text2.C:
4323         * text3.C:
4324         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4325           LCursor and mathcursor parts to LCursor and InsetBase.
4326
4327 2004-01-15  André Pönitz  <poenitz@gmx.net>
4328
4329         * cursor_slice.[Ch]: add a few covienience functions
4330
4331         * funcrequest.[Ch]: remove BufferView * member
4332
4333         * BufferView_pimpl.C:
4334         * cursor.C:
4335         * factory.[Ch]:
4336         * lyxfind.[Ch]:
4337         * lyxfunc.C:
4338         * lyxtext.h:
4339         * text3.C:
4340         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4341
4342 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4343
4344         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4345         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4346
4347 2004-01-13  André Pönitz  <poenitz@gmx.net>
4348
4349         * textcursor.[Ch]:
4350         * lyxtext.h: hide cursor and selection anchor behind accessor function
4351
4352         * BufferView.C:
4353         * BufferView_pimpl.[Ch]:
4354         * PosIterator.C:
4355         * bufferview_funcs.C:
4356         * cursor.h:
4357         * lyxfind.C:
4358         * lyxfunc.C:
4359         * text.C:
4360         * text2.C:
4361         * text3.C:
4362         * undo.C: adjust
4363
4364         * cursor.h:
4365         * cursor_slice.[Ch]: some integer type changes for inset unification
4366
4367         * lyxcursor.[hC]: remove, it's CursorSlice now.
4368
4369         * Makefile.am:
4370         * BufferView_pimpl.[Ch]:
4371         * bufferview_funcs.C:
4372         * cursor_slice.C:
4373         * lyxtext.h:
4374         * text.C:
4375         * text2.C:
4376         * text3.C:
4377         * textcursor.[Ch]: adjust
4378
4379 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4380
4381         * text2.C (undoSpan): add and use
4382         * text.C (breakParagraph): use undoSpan (fix bug 578)
4383         * lyxtext.h: adjust
4384
4385 2004-01-08  Angus Leeming  <leeming@lyx.org>
4386
4387         * BufferView_pimpl.C (MenuInsertLyXFile):
4388         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4389         * lyxfunc.C (menuNew, open, doImport):
4390         FileFilterList change to the FileDialog open and save functions.
4391
4392 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * ShareContainer.h: make isEqual and isUnique adaptable
4395
4396         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4397
4398 2004-01-07  Angus Leeming  <leeming@lyx.org>
4399
4400         * LyXAction.C:
4401         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4402
4403         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4404
4405         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4406         functions replacing find, replace and replaceAll.
4407
4408         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4409         LFUN_WORDFIND(FORWARD|BACKWARD).
4410
4411 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4412
4413         * text.C (breakParagraph): remove an outdated #warning
4414
4415 2004-01-07  André Pönitz  <poenitz@gmx.net>
4416
4417         * lyxfind.C: somewhat clearer logic
4418
4419         * text.C: prevent crash in cursorX on unitialized row cache
4420
4421 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4422
4423         * lyxcursor.[Ch] (operator>): add
4424         * textcursor.C (selStart, selEnd): use std::min and std::max
4425
4426 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * Chktex.C: include boost/format.hpp
4429
4430 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * InsetList.C: replace functor MathcIt with adaptable functor
4433         InsetTablePosLess
4434         (insetIterator): modify accordingly
4435
4436         * BranchList.h: move the BranchNamesEqual functor here from...
4437         * BranchList.C: ... to here
4438
4439         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4440         SameName and match.
4441         (add): replace a finding loop with std::find_if.
4442
4443 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4444
4445         * output_docbook.C: moving LatexParam functionality into
4446         .layout files
4447
4448 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4449
4450         * buffer.C: increment format to 229.
4451
4452 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4453
4454         * LaTeXFeatures.C:
4455         * lyx_sty.[Ch]: remove minipageindent_def
4456
4457         * LyXAction.C:
4458         * factory.C:
4459         * lfuns.h:
4460         * lyxfunc.C:
4461         * text3.C: remove LFUN_INSET_MINIPAGE
4462
4463 2003-12-28  Angus Leeming  <leeming@lyx.org>
4464
4465         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4466
4467 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4468
4469         * text2.C (setParagraph): fix off-by-one crash
4470
4471 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4472
4473         * output_docbook.C: header stuff for AGU
4474
4475 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4476
4477         * text2.C (redoCursor): remove
4478         * text.C:
4479         * text3.C:
4480         * BufferView_pimpl.C: remove calls to redoCursor and
4481         setCursor(cursor.par(), cursor.pos()) all around
4482
4483 2003-12-15  Angus Leeming  <leeming@lyx.org>
4484
4485         * buffer.C: up the format to 228.
4486
4487 2003-12-15  André Pönitz  <poenitz@gmx.net>
4488
4489         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4490         slices
4491
4492         * Makefile.am:
4493
4494         * BufferView_pimpl.C:
4495         * cursor.[Ch]:
4496         * lyxcursor.[Ch]:
4497         * rowpainter.[Ch]:
4498         * lyxtext.h:
4499         * text.C:
4500         * text2.C:
4501         * text3.C: adjust
4502
4503 2003-12-15  Angus Leeming  <leeming@lyx.org>
4504
4505         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4506         than getFromGUIName to manipulate the color.
4507
4508 2003-12-14  Angus Leeming  <leeming@lyx.org>
4509
4510         * BranchList.[Ch]: minimize the API.
4511         (Branch::getBranch, getColor): now return a 'const &'.
4512         (Branch::setSelected) now returns a bool set to true if the
4513         selection status changes.
4514         (BranchList::clear, size, getColor, setColor, setSelected,
4515         allBranches, allSelected, separator): removed.
4516         (BranchList::find): new functions, returning the Branch with
4517         the given name.
4518         (BranchList::add, remove): return a bool indicating that
4519         the operation was successful.
4520
4521         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4522         new InsetBranch::isBranchSlected member function.
4523
4524         * LColor.[Ch]: mimimize the API.
4525         (fill): renamed as addColor and made private.
4526         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4527         versions of these functions taking a string arg have been removed.
4528
4529         * bufferparams.C (readToken):
4530         * lyxfunc.C (dispatch):
4531         * lyxrc.C (read): changes due to the altered BranchList and
4532         LColor APIs.
4533
4534         * factory.C (createInset, readInset): changes due to altered
4535         InsetBranch c-tor.
4536
4537 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4538
4539         * factory.C:
4540         * lyxfunc.C: remove insetminipage. "minipage-insert"
4541         now produces a frameless minipage box inset.
4542
4543 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4544
4545         * textcursor.[Ch] (selStart,selEnd): add new methods
4546         remove selection::start, end, use LyXCursor::operator<
4547         * lyxcursor.[Ch] (operator<): add
4548         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4549         * BufferView.[Ch] (unsetXSel): add
4550         * text2.C (clearSelection): use unsetXSel,adjust
4551         * text.C: adjust
4552         * text3.C: adjust
4553         * rowpainter.C: adjust
4554         * bufferview_funcs.C (put_selection_at): adjust
4555
4556 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4557
4558         * BufferView_pimpl.C: small coord. correction
4559
4560 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4561
4562         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4563         dragging over the splash screen.
4564
4565 2003-12-11  Angus Leeming  <leeming@lyx.org>
4566
4567         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4568         as it is now handled in LyXText::dispatch.
4569
4570         * text3.C (doInsertInset): remove a level of nesting.
4571
4572 2003-12-11  Angus Leeming  <leeming@lyx.org>
4573
4574         * factory.C (createInset): changes due to the changed interface to
4575         InsetCommandMailer::string2params.
4576
4577 2003-12-10  Angus Leeming  <leeming@lyx.org>
4578
4579         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4580         'dialog-show-new-inset <inset name>'
4581
4582 2003-12-10  Angus Leeming  <leeming@lyx.org>
4583
4584         * buffer.C: up the format to 227.
4585
4586         * factory.C: the box inset is now identified simply by 'Box'.
4587
4588 2003-12-10  Angus Leeming  <leeming@lyx.org>
4589
4590         * buffer.C: up the format to 226.
4591
4592         * factory.C: the note inset is now identified simply by 'Note'.
4593
4594 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4595
4596         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4597         when a pit is enough. Standarize a couple of loops.
4598
4599 2003-12-05  Angus Leeming  <leeming@lyx.org>
4600
4601         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4602         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4603         data to the re-worked "log" dialog.
4604
4605 2003-12-03  André Pönitz  <poenitz@gmx.net>
4606
4607         * PosIterator.C:
4608         * iterators.C:
4609         * lyxtext.h:
4610         * output_latex.C:
4611         * paragraph_funcs.C:
4612         * text.C:
4613         * text2.C: use Inset::getText instead of Inset::getParagraph
4614
4615 2003-12-03  André Pönitz  <poenitz@gmx.net>
4616
4617         * buffer.[Ch]:
4618         * lyxtext.h:
4619         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4620         InsetText::read() as LyXText::read()
4621
4622 2003-12-02  Angus Leeming  <leeming@lyx.org>
4623
4624         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4625         type. Add a comment in the implementation that the function uses
4626         the stream's bad() function rather than fail() as the std::streams
4627         would do.
4628
4629 2003-12-02  André Pönitz  <poenitz@gmx.net>
4630
4631         * lyxlex.[Ch]: make interface more similar to std::stream
4632
4633         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4634
4635 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4636
4637         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4638
4639 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4640
4641         * vspace.[Ch]: remove VSpace::NONE
4642
4643 2003-12-01  André Pönitz  <poenitz@gmx.net>
4644
4645         * buffer.[Ch]:
4646         * lyxtext.h: move ParagraphList member to LyXText
4647         rename LyXText::ownerParagraphs to LyXText::paragraph
4648
4649         * CutAndPaste.C:
4650         * bufferview_funcs.C:
4651         * iterators.[Ch]:
4652         * lyx_cb.C:
4653         * paragraph.C:
4654         * rowpainter.C:
4655         * tabular.C:
4656         * text.C:
4657         * text2.C:
4658         * text3.C: adjust
4659
4660         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4661
4662         * undo.C: fix cursor positioning
4663
4664 2003-12-01  John Levon  <levon@movementarian.org>
4665
4666         * BufferView_pimpl.C: fix a crash on exit with
4667         a buffer open
4668
4669 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4670
4671         * BranchList.C: fix setSelected() method.
4672
4673 2003-11-28  André Pönitz  <poenitz@gmx.net>
4674
4675         * ParagraphParameters.[Ch]:
4676         * ParameterStruct.h: remove space above/below from Paragraph to
4677          InsetVSpace
4678
4679         * BufferView_pimpl.C:
4680         * factory.C:
4681         * lyxfunc.C:
4682         * lyxtext.h:
4683         * output_latex.C:
4684         * paragraph.C:
4685         * paragraph_funcs.C:
4686         * rowpainter.[Ch]:
4687         * text.C:
4688         * text2.C:
4689         * text3.C: adjust
4690
4691 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4692
4693         * factory.C: Syntax change for CharStyles
4694
4695 2003-11-28  André Pönitz  <poenitz@gmx.net>
4696
4697         * BufferView.[Ch]:
4698         * BufferView.[Ch]:
4699         * buffer.[Ch]:
4700         * buffer.[Ch]: move LyXText member
4701
4702 2003-11-28  André Pönitz  <poenitz@gmx.net>
4703
4704         * BufferView.[Ch]: make LyXText * text a private member
4705
4706         * BufferView_pimpl.C:
4707         * cursor.C:
4708         * iterators.C:
4709         * lyx_cb.C:
4710         * lyxfind.C:
4711         * lyxtext.h:
4712         * rowpainter.[Ch]:
4713         * text.C:
4714         * text2.C:
4715         * undo.C: adjust
4716
4717         * output_plaintext.C: cleanup
4718
4719 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4720
4721         * buffer.C:
4722         * lyxtextclass.[Ch]: parametrize SGML document header
4723
4724 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4725
4726         * converter.[Ch]:
4727         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4728         getFlavor().
4729
4730 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4731
4732         * text2.C (setFont): rework using PosIterator (no more recursive)
4733         (setCharFont): no more needed
4734         (setLayout): no more selection cursors fiddling (done by redoCursor)
4735         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4736         destroy remaining ones)
4737
4738 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4739
4740         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4741         * lyxtext.h: ditto
4742         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4743         selection cursors
4744         * lyxfunc.C: adjust
4745         * text3.C: adjust + re-allow multi par depth changes
4746         * textcursor.C: simplify a bit
4747
4748 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4749
4750         * src/buffer.C:
4751         * src/lyxlayout.C:
4752         * src/lyxlayout.h:
4753         * src/lyxtext.h:
4754         * src/output_docbook.C:
4755         * src/output_latex.C:
4756         * src/paragraph.C:
4757         * src/paragraph.h:
4758         * src/sgml.C:
4759         * src/sgml.h:
4760         * src/text2.C: Introducing a number of tags parametrizing various
4761         XML formats that we may want to support
4762
4763 2003-11-25  André Pönitz  <poenitz@gmx.net>
4764
4765         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4766
4767         * lyxtext.h (leftMargin/rightMargin): simplify interface
4768
4769         * rowpainter.C:
4770         * text.C:
4771         * text2.C:
4772         * text3.C: adjust
4773
4774 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4775
4776         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4777         master file to any child files. Fixes bug 546.
4778
4779 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4780
4781         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4782
4783 2003-11-24  André Pönitz  <poenitz@gmx.net>
4784
4785         * rowpainter.C: simplification
4786
4787         * text2.C (updateCounters): remove call to redoParagraph on
4788         changed labels as this is far too expensive.
4789
4790 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4791
4792         * converter.C (convert): fix a crash: this function gets
4793         called with buffer == 0 from importer code.
4794
4795 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * text3.C (cursorPrevious): make sure that we do not compare
4798         iterators form different containers.
4799         (cursorNext): ditto
4800
4801         * rowpainter.C (paintSelection): make sure that we do not compare
4802         iterators from different containers.
4803
4804         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4805         iterators from different ParagraphList containers.
4806         [NEXT] ditto
4807
4808         * text2.C (LyXText): change order of initialization slightly
4809         (operator=): new function. copy all variables except cache_par_
4810         (moveUp): make sure that we do not compare iterators from
4811         different ParagraphList constainers.
4812         (moveDown): ditto
4813
4814         * text.C (firstPar): new function
4815         (lastPar): new function
4816         (endPar): new function
4817
4818         * lyxtext.h: move things around and group public functions, public
4819         variables, private functions, private variables
4820
4821 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4822
4823         * factory.C: change call to InsetERT constructor to avoid
4824         additional invocation of method status
4825         * text2.C (toggleInset): remove redundant update() call
4826         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4827         instead of a Bufferview pointer
4828
4829 2003-11-21  André Pönitz  <poenitz@gmx.net>
4830
4831         * rowpainter.C: simplification
4832
4833 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4834
4835         * text3.C (dispatch): make possible to extend a word/row selection
4836         with the mouse
4837
4838 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4839
4840         * lyxtext.h: x0_,y0_ -> xo_,yo_
4841         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4842         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4843         * rowpainter.C (paintRows): paint full paragraphs
4844
4845 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4846
4847         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4848         screen coordinates)
4849
4850 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4851
4852         * lyxtext.h: add x0_, y0_
4853         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4854         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4855
4856 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4857
4858         * text2.C (setCursorIntern): move the x_target update here *
4859         * text3.C: change some bv() to true/false in calls to
4860         cursorUp/Down/Right/Left
4861         * cursor.C: use helper function.
4862
4863 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4864
4865         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4866         * paragraph_funcs.[Ch]: correct comment
4867         * rowpainter.C: do not paint selections away from bv->cursor()
4868         Fix a long standing selection painting bug.
4869         * text3.C: generalize mouse-selection code to LyXTexts other that
4870         top one
4871         * textcursor.C: do not use y coords if we can use par offsets
4872
4873 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4874
4875         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4876         cursor position after e.g. inset insert)
4877
4878 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4879
4880         * lyxfind.C (replace): adjust to locking removal + some
4881         code simplification
4882
4883 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4884
4885         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4886         of the path
4887
4888 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4889
4890         * lyxlayout.[Ch]:
4891         * output_docbook.C: XML sanitation: new layout
4892         parameters InnerTag and CommandDepth
4893
4894 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4895
4896         * BufferView_pimpl.C:
4897         * factory.C:
4898         * text3.C: Fix the insertion and modification of button-style
4899         insets
4900
4901 2003-11-13  André Pönitz  <poenitz@gmx.net>
4902
4903         * InsetList.[Ch]: remove deleteLyXText
4904
4905         * paragraph.[Ch]: cache beginOfBody position
4906
4907         * Bidi.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C: remove superfluous update() calls
4911
4912         * vspace.C: cleanup
4913
4914 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4915
4916         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4917         * BufferView.C (fitLockedInsetCursor): remove
4918         * cursor.[Ch] (getDim): add
4919         * text.C (getRowNearY): add faster version
4920         * text3.C: remove some update calls
4921
4922 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4923
4924         * LaTeXFeatures.C:
4925         * LyXAction.C:
4926         * MenuBackend.C:
4927         * MenuBackend.h:
4928         * dispatchresult.h:
4929         * factory.C:
4930         * lfuns.h:
4931         * lyxfunc.C:
4932         * lyxtextclass.C:
4933         * lyxtextclass.h:
4934         * text3.C: The Character Style /XML short element patch.
4935
4936 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4937
4938         * text3.C:
4939         * factory.C: Small step to solving 'unable to insert some insets'
4940         problem
4941
4942 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4943
4944         * cursor.[Ch] (updatePos): new function for updating the y
4945         position of the tip inset
4946         * bufferview_funcs.C (put_selection_at):
4947         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4948
4949 2003-11-11  André Pönitz  <poenitz@gmx.net>
4950
4951         * text.C: remove big comment on invalid Paragraph pointers as it is
4952         not valid anymore
4953
4954 2003-11-11  André Pönitz  <poenitz@gmx.net>
4955
4956         * text_funcs.[Ch]: merge with ...
4957
4958         * text.C: ... this
4959
4960         * lyxtext.h:
4961         * text2.C:
4962         * text3.C: adjust
4963
4964         * Makefile.am: remove text_funcs.[Ch]
4965
4966 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * cursor.C (getPos): return absolute cached y coord
4969
4970         * BufferView_pimpl.C (fitCursor): new simplistic code
4971         (workAreaDispatch): add a fitCursor call
4972
4973 2003-11-10  André Pönitz  <poenitz@gmx.net>
4974
4975         * BufferView.[Ch]:
4976         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4977
4978 2003-11-10  André Pönitz  <poenitz@gmx.net>
4979
4980         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4981         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4982         indicate that the cursor needs to leave an inset
4983
4984         * lyxtext.h: remove inset locking
4985
4986         * cursor.[Ch]: re-implement functionality provided by inset locking
4987
4988         * BufferView.[Ch]:
4989         * BufferView_pimpl.[Ch]:
4990         * LyXAction.C:
4991         * bufferview_funcs.[Ch]:
4992         * factory.C:
4993         * funcrequest.[Ch]:
4994         * iterators.C:
4995         * lyx_cb.C:
4996         * lyxfind.C:
4997         * lyxfunc.C:
4998         * text.C:
4999         * text2.C:
5000         * text3.C:
5001         * undo.C: adjust
5002
5003 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5004
5005         * PosIterator.[Ch]: replace the stack with a vector, add inset
5006         accesor
5007         * iterators.[C]: adjust
5008
5009 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5012         replaced
5013         * paragraph_funcs.C (readParToken): put the correct id in the
5014         error item, not the id of the top paragraph
5015
5016 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5019         * bufferview_funcs.C (put_selection_at): use the above
5020
5021 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5022
5023         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5024
5025 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5026
5027         * output_linuxdoc.h:
5028         * output_plaintext.h:
5029         * output.h:
5030         * output_docbook.h: add #include statements
5031
5032 2003-11-05  José Matos  <jamatos@lyx.org>
5033
5034         * output_docbook.[Ch]:
5035         * output_latex.[Ch]:
5036         * output_linuxdoc.[Ch]:
5037         * output_plaintext.[Ch]: New files for output formats.
5038         * output.[Ch]: New file for helper functions.
5039
5040         * buffer.[Ch]:
5041         * paragraph_funcs.[Ch]: output functions moved to new files.
5042
5043         * outputparams.h: rename of latexrunparams.h
5044
5045         * LaTeX.[Ch]:
5046         * buffer.[Ch]:
5047         * bufferlist.[Ch]:
5048         * converter.[Ch]:
5049         * exporter.C:
5050         * paragraph.[Ch]:
5051         * paragraph_funcs.[Ch]:
5052         * paragraph_pimpl.[Ch]:
5053         * tabular.[Ch]: rename ascii to plaintext
5054         and LatexRunParams to OutputParams.
5055
5056 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * iterators.[Ch] (text): require bv argument
5059         * undo.C (recordUndo):
5060         * lyxfunc.C (dispatch):
5061         * bufferview_funcs.C (put_selection_at): adjust
5062
5063 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5064
5065         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5066
5067 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5070         nestings
5071
5072 2003-11-04  André Pönitz  <poenitz@gmx.net>
5073
5074         * cursor.[Ch]: restructure
5075
5076         * BufferView.[Ch]:
5077         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5078
5079         * iterators.[Ch] (asCursor): remove
5080
5081         * lfuns.h: remove LFUN_INSET_EDIT
5082
5083         * lyxfunc.C:
5084         * tabular.C:
5085         * text.C:
5086         * text2.C:
5087         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5088
5089 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5090
5091         * lyxfind.[Ch]: complete overhaul
5092         * BufferView_pimpl.C:
5093         * lyxfunc.C: adjust
5094         * paragraph.[Ch] (insert): add
5095
5096 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5097
5098         * BufferView.[Ch]:
5099         * lyxtext.h:
5100         * text.C: remove dead spellcheck code
5101
5102 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * dispatchresult.h: add a val setter
5105
5106         * cursor.C (dispatch): use a tempvar for data_[i]
5107
5108 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * PosIterator.[Ch]: compile fix
5111
5112 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5113
5114         * text.C (cursorPar): deactivate the cursor cache
5115
5116 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5117
5118         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5119
5120 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * text3.C (dispatch): adjust for new DisptchResult semantics.
5123
5124         * lyxfunc.C (dispatch): handle update when return from
5125         Cursor::dispatch, adjust for new DispatchResult semantics.
5126
5127         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5128         DispatchResult(true) mean to not update. Add class functions for
5129         setting dispatched and update, as well as reading.
5130
5131         * cursor.C (dispatch): don't handle update here
5132
5133 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5136         * trans_mgr.C: adjust
5137
5138         * paragraph_funcs.C (readParToken): exception safety
5139
5140         * lyxvc.h: store the vcs pointer in a scoped_ptr
5141         * lyxvc.C: adjust
5142
5143         * lyxsocket.C (serverCallback): exception safety
5144
5145         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5146
5147         * ispell.C (clone): make it return a auto_ptr
5148
5149         * factory.C (createInset): exception safety
5150         (readInset): exception safety
5151
5152         * bufferlist.C (newBuffer): exception safety
5153
5154         * Thesaurus.C (Thesaurus): use initialization for aik_
5155
5156         * MenuBackend.C (expandToc): exception safety.
5157
5158 2003-11-03  André Pönitz  <poenitz@gmx.net>
5159
5160         * buffer.C:
5161         * buffer.h:
5162         * bufferview_funcs.C: remove getInsetFromId()
5163
5164         * lyxcursor.[Ch]:
5165         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5166
5167         * lyxfunc.C:
5168         * text2.C:
5169         * text3.C: adjust
5170
5171 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5172
5173         * PosIterator.C (distance, advance): new
5174         * bufferview_funcs.[Ch] (put_selection_at): new
5175         * iterators.[Ch] (lockPath): new
5176
5177 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * iterators.[Ch] (asPosIterator): added
5180         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5181         * PosIterator.[Ch]: added
5182
5183 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * text3.C:
5186         * lyxfunc.C:
5187         * cursor.C (dispatch):
5188         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5189
5190         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5191         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5192         contructor, add a class function dispatched. Remove operator>=
5193
5194 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * debug.C: only use the default constructor for debugstream
5197         (lyxerr) here.
5198
5199         * main.C (main): include debug.h and setup the lyxerr streambuf
5200         here.
5201
5202 2003-10-31  José Matos  <jamatos@lyx.org>
5203
5204         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5205
5206         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5207         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5208         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5209         * paragraph_pimpl.C (simpleTeXSpecialC):
5210         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5211         add LatexRunParams argument.
5212
5213         * exporter.C (Export): change call accordingly.
5214
5215         * latexrunparams.h: add new member to take care of the other backends.
5216 2003-10-30  José Matos  <jamatos@lyx.org>
5217
5218         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5219         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5220         factorise code for paragraph output.
5221         * buffer.[Ch]:
5222         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5223         move functions.
5224
5225 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * text3.C (dispatch):
5228         * lyxfunc.C (dispatch):
5229         * cursor.C (dispatch):
5230         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5231
5232         * dispatchresult.h: make the dispatch_result_t ctor explicit
5233
5234 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5235
5236         * sgml.[Ch]:
5237         * buffer.C: small refactoring of docbook stuff
5238
5239 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5242         meaning.
5243
5244 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5247         operator dispatch_result_t, and operators for == != and >=
5248
5249         * cursor.C (dispatch): adjust for operator dispatch_result_t
5250         removal. comment out call to update
5251
5252         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5253
5254 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * text3.C:
5257         * text2.C:
5258         * text.C:
5259         * lyxtext.h:
5260         * lyxfunc.C:
5261         * cursor.C:
5262         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5263         (dispatch):
5264
5265         * dispatchresult.h: new file, DispatchResult broken out of
5266         insets/insetbase.h
5267
5268         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5269
5270 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5271
5272         * text.C (rowBreakPoint): put a hack inside #if 0
5273
5274 2003-10-28  André Pönitz  <poenitz@gmx.net>
5275
5276         * lyxtext.h:
5277         * metricsinfo.C:
5278         * paragraph_funcs.C:
5279         * rowpainter.C:
5280         * text.C:
5281         * text2.C: general cleanup (lots of small stuff)
5282
5283 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5284
5285         * text2.C (cursorEnd): simple fix to the "end key goes to one
5286         before the end on last row" bug
5287
5288 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5289
5290         * text.C (backspace): fix the "zombie characters"
5291
5292 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5295
5296 2003-10-27  André Pönitz  <poenitz@gmx.net>
5297
5298         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5299
5300         * factory.C: handle new InsetPagebreak, InsetLine
5301
5302         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5303         and move handling into new InsetPagebreak, InsetLine
5304
5305         * BufferView_pimpl.C:
5306         * LyXAction.C:
5307         * ParagraphParameters.C:
5308         * ParameterStruct.h:
5309         * lyxfunc.C:
5310         * lyxtext.h:
5311         * paragraph.C:
5312         * paragraph.h:
5313         * paragraph_funcs.C:
5314         * paragraph_pimpl.C:
5315         * rowpainter.C:
5316         * text.C:
5317         * text2.C:
5318         * text3.C: adjust
5319
5320 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * text.C:
5323         * lyxrow_funcs.[Ch]:
5324         * Bidi.C:
5325         * paragraph.C:
5326         * lyxtext.h:
5327         * rowpainter.C:
5328         * text2.C:
5329         * text3.C: remove lastPos uses in favour of Row::endpos
5330
5331 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * undo.C (performUndoOrRedo): fix two crashes by setting a
5334         cursor by hand and reordering some calls. Use bv->lockInset instead
5335         of inset->edit because the latter loses cursor information
5336
5337 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5340         by Martin
5341         (rowBreakPoint): fix width. change point to point + 1.
5342         Add a missing check.
5343
5344 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5345
5346         * MenuBackend.C:
5347         * lyxfunc.C: fix (at least partly) the problems
5348         with the Nav menu and headers inside branch insets
5349         reported by Kayvan
5350
5351 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5352
5353         * paragraph.C (getChar): add strong asserts
5354
5355         * lyxrow_funcs.C (lastPos): remove hideous hack
5356
5357         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5358         (fill): adjust to that (avoid an infinite loop)
5359
5360 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5361
5362         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5363
5364 2003-10-23  André Pönitz  <poenitz@gmx.net>
5365
5366         * RowList_fwd.h: change list<> to vector<> to gain speed
5367         after suggestion from Alfredo
5368
5369 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5370
5371         * lyxtext.h: move the bidi stuff from here...
5372         * text.C: and here
5373         * text2.C: and here
5374         * Bidi.[Ch]: ... to here
5375
5376 2003-10-23  André Pönitz  <poenitz@gmx.net>
5377
5378         * lyxtext.h:
5379         * text.C (isLastRow, isFirstRow): new functions
5380
5381         * paragraph.h: new width cache member
5382
5383         * rowpainter.C: replace RowList::iterator with Row & where possible
5384
5385         * lyxfunc.C: replace several view()->text with a single call
5386
5387         * toc.C: fix 'unused' warning
5388
5389 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5392         when woring with stream::pos_type
5393         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5394
5395 2003-10-22  André Pönitz  <poenitz@gmx.net>
5396
5397         * lyxtext.h:
5398         * text.C: use Row & instead of RowList::iterator
5399
5400         * lyxrow.h: rename end() to endpos()
5401
5402         * rowpainter.C:
5403         * text.C:
5404         * text2.C: adjust
5405
5406 2003-10-22  Angus Leeming  <leeming@lyx.org>
5407
5408         * buffer.[Ch] (fully_loaded): new member function, returning true
5409         only when the file has been loaded fully.
5410         Used to prevent the premature generation of previews and by the
5411         citation inset to prevent computation of the natbib-style label.
5412
5413         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5414         templates are all set up.
5415
5416         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5417
5418 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5419
5420         * text.C: fixed an "oops" in the "is a bit silly"
5421         bug fix
5422
5423 2003-10-21  André Pönitz  <poenitz@gmx.net>
5424
5425         * FuncStatus.[Ch]: small stuff, whitespace
5426
5427         * lyxfont.[Ch]: operator<<() for debug reasons
5428
5429         * lyxfunc.C:
5430         * lyxrow_funcs.C:
5431         * lyxtext.h: whitespace, spelling
5432
5433         * paragraph.C: naming of variables
5434
5435         * text.C:
5436         * text2.C: small stuff
5437
5438
5439 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5440
5441         * text.C: (1) finish off the inset display() work;
5442         (2) fix the "is a bit silly" bug (accessing char
5443         past end of par).
5444
5445 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5446
5447         * text.C: re-introduce display() for insets, fixing the
5448         various bugs (stretch of line above, math inset
5449         positioning, ...)
5450
5451 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5452
5453         * text.C (rightMargin): remove spurious semicolon
5454
5455         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5456         1415)
5457
5458 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5459
5460         * text3.C: fix one crash due to wrong cursor def
5461
5462 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5463
5464         * vc-backend.C (scanMaster): make the regex static
5465
5466         * LaTeX.C (scanAuxFile): make the regexs static
5467
5468         * text3.C (doInsertInset, dispatch, dispatch):
5469         * text2.C (cursorUp, cursorDown):
5470         * text.C (selectNextWordToSpellcheck):
5471         * BufferView_pimpl.C (dispatch):
5472         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5473
5474 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5475
5476         * lyxsocket.C: include <cerrno>
5477
5478 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * lyxfunc.C (dispatch): remove textcache stuff
5481
5482         * bufferlist.C (release): remove textcache stuff
5483         (closeAll): ditto
5484
5485         * TextCache.C: delete file
5486         * TextCache.h: delete file
5487
5488         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5489
5490         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5491         delete of the bv_->text.
5492         (resizeCurrentBuffer): remove texcache stuff
5493         (workAreaResize): ditto
5494
5495 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5498         action.
5499
5500 2003-10-16  André Pönitz  <poenitz@gmx.net>
5501
5502         * lyxrow.[Ch]:
5503         * paragraph.h:
5504         * rowpainter.C:
5505         * text.C:
5506         * text2.C:
5507         * text3.C: speed up by storing y positions per paragraph plus per-row
5508         offset instead of having a 'full' y position in the row.
5509
5510 2003-10-15  André Pönitz  <poenitz@gmx.net>
5511
5512         * iterators.[Ch]:
5513         * iterators.[Ch]:
5514         * undo.[Ch]: make undo aware of inner insets
5515
5516 2003-10-14  Angus Leeming  <leeming@lyx.org>
5517
5518         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5519         static member functions LyX::ref() and LyX::cref.
5520         (lastfiles): new accessor functions for the new lastfiles_ member var.
5521         (addLyXView, views_): add a new LyXView to the list of views_.
5522         (updateInset): loop over all LyXViews to call their own updateInset
5523         member function, returning a pointer to the Buffer owning the inset.
5524
5525         * BufferView_pimpl.C (loadLyXFile):
5526         * MenuBackend.C (expandLastfiles):
5527         * bufferlist.C (MenuWrite, QuitLyX):
5528         lastfiles is no longer a global variable.
5529         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5530
5531         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5532         static function. Access through LyX::cref().emergencyCleanup().
5533
5534 2003-10-14  André Pönitz  <poenitz@gmx.net>
5535
5536         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5537
5538         * undo.[Ch]: restoring part of 'undo in insets'
5539
5540         * Makefile.am:
5541         * undo_funcs.[Ch]: merge with undo.[Ch]
5542
5543         * tabular.C: small cleansing stuff
5544
5545 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5546
5547         * paragraph_funcs.C (readParToken): report unknown insets as error
5548         boxes. Use the outer paragraph as location (also for unknown
5549         tokens).
5550
5551         * factory.C (readInset): do not abort on reading an unknown inset.
5552         Eat it and return 0.
5553
5554 2003-10-13  Angus Leeming  <leeming@lyx.org>
5555
5556         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5557
5558         * lyxrc.C: displayTranslator is now a function,
5559         declared in GraphicsTypes.h.
5560
5561 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5562
5563         * format.C: new placeholder $$a to pass the socket address.
5564
5565         * bufferlist.[Ch]: new function getBufferFromTmp.
5566
5567         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5568           files in the temporary dir.
5569
5570 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5571
5572         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5573
5574         * Makefile.am: add lyxsocket.[Ch].
5575
5576         * lyx_main.C (error_handler): handle SIGPIPE.
5577
5578 2003-10-13  André Pönitz  <poenitz@gmx.net>
5579
5580         * BufferView_pimpl.C:
5581         * lyxtext.h:
5582         * text.C:
5583         * text2.C:
5584         * text3.C:
5585         * undo_funcs.[Ch]: use paroffset_type instead of
5586           ParagraphList::iterators to prevent multiple conversion
5587           (and get a more robust interface)
5588
5589 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5592         * lyxtext.h: ditto
5593         * text3.C (dispatch): ditto
5594
5595 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5598         move the onlyfile, use onlyfile instead of foundfile in a couple
5599         of places.
5600
5601         * DepTable.C (update): flush the error stream a bit more
5602
5603 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * lyxserver.C (callback): adjust
5606
5607         * lyxfunc.C (getStatus): add a missing brace in commented code
5608         (ensureBufferClean): reindent
5609         (dispatch): delete version taking a string
5610
5611 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * LaTeX.C (deplog): move found file handlig from here...
5614         (handleFoundFile): .. to new function here.
5615         (deplog): make sure to discover several files mentioned on the
5616         same log line.
5617
5618 2003-10-10  André Pönitz  <poenitz@gmx.net>
5619
5620         * lyxfunc.C:
5621         * lyxtext.h:
5622         * tabular.C:
5623         * text.C:
5624         * text2.C:
5625         * text3.C: fix some of the tabular crashes
5626
5627 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5628
5629         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5630
5631         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5632
5633 2003-10-09  André Pönitz  <poenitz@gmx.net>
5634
5635         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5636
5637         * BufferView.C:
5638         * BufferView_pimpl.C:
5639         * bufferview_funcs.C:
5640         * lyx_cb.C:
5641         * lyxcursor.C:
5642         * lyxfind.C:
5643         * lyxfunc.C:
5644         * lyxtext.h:
5645         * text.C:
5646         * text2.C:
5647         * text3.C:
5648         * text_funcs.[Ch]:
5649         * textcursor.[Ch]:
5650         * undo_funcs.C: adjust
5651
5652 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * text2.C (incrementItemDepth): new function, use a backtracking
5655         algorithm to discover the correct item depth.
5656         (resetEnumCounterIfNeeded): new function, use a backtracking
5657         algorithm to discover if counter reset is needed.
5658         (setCounter): use them. Simplify a bit. Add different labels for
5659         different item depths for itemize.
5660
5661         * paragraph.C (Paragraph): remove initialization of enumdepth
5662         (operator=): ditto
5663
5664         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5665         enumerate and itemize. Change the type of itemdepth to signed char.
5666
5667 2003-10-08  André Pönitz  <poenitz@gmx.net>
5668
5669         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5670           thing assignable.
5671         * text.C:
5672         * text2.C: adjust
5673
5674         * tabular.[Ch]: fix crash after 'row-insert'
5675
5676 2003-10-08  Angus Leeming  <leeming@lyx.org>
5677
5678         Fix doxygen warnings.
5679
5680         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5681         Remove CutAndPaste:: prefix from header file declaration.
5682
5683         * LColor.h (fill): remove LColor:: prefix from declaration.
5684
5685         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5686         use lyx::depth_type rather than Paragraph::depth_type so that
5687         header file and .C file match.
5688
5689         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5690
5691         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5692         * aspell.C: \file aspell_local.C -> \file aspell.C
5693         * gettext.C: \file gettext.C -> \file src/gettext.C
5694         * gettext.h: \file gettext.h -> \file src/gettext.h
5695         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5696         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5697         * text.C: \file text.C -> \file src/text.C
5698
5699         * toc.C: move comment so that doxygen is not confused.
5700
5701 2003-10-07  Angus Leeming  <leeming@lyx.org>
5702
5703         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5704
5705 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5706
5707         * aspell.C:
5708         * aspell_local.h: add forgotten std::string's.
5709
5710 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5711
5712         * LaTeXFeatures.C:
5713         * LyXAction.C:
5714         * factory.C:
5715         * lfuns.h:
5716         * lyxfunc.C:
5717         * text3.C: The Box patch. Fancybox support, minipage, parbox
5718
5719 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5720
5721         * CutAndPaste.h:
5722         * DepTable.h:
5723         * FloatList.h:
5724         * LaTeXFeatures.h:
5725         * ParagraphParameters.h:
5726         * TextCache.h:
5727         * Thesaurus.h:
5728         * bufferlist.h:
5729         * exporter.h:
5730         * importer.h:
5731         * lastfiles.h:
5732         * lyxfind.h:
5733         * lyxfont.h:
5734         * lyxlex.h:
5735         * lyxtextclasslist.h:
5736         * messages.h:
5737         * paragraph.h:
5738         * paragraph_pimpl.C:
5739         * textcursor.h: add <string> and other small fixes to make Lars'
5740         std::string patch compile with STLport.
5741
5742 2003-10-06  Angus Leeming  <leeming@lyx.org>
5743
5744         * LColor.h: Add missing #include <string>.
5745
5746 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * All most all file in all subdirs: Make <string> be the prefered
5749         way of getting to std::string, add using declarations.
5750
5751 2003-10-06  André Pönitz  <poenitz@gmx.net>
5752
5753         * metricsinfo.C: initialize LyXFont before changing attribute.
5754         (fixes the 'math in \emph is upright' bug)
5755
5756 2003-10-06  André Pönitz  <poenitz@gmx.net>
5757
5758         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5759
5760 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5761
5762         * graph.C:
5763         * paragraph_pimpl.C: Small fixes to build using STLport
5764
5765 2003-10-02  André Pönitz  <poenitz@gmx.net>
5766
5767         * lyxfunc.C:
5768         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5769
5770 2003-10-01  André Pönitz  <poenitz@gmx.net>
5771
5772         * factory.C: assert early
5773
5774 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * lyx_main.C: remove the global debug object
5777
5778         * debug.h: adjust for new debugstream
5779
5780         * debug.C: adjust for new debugstream and keep the global debug
5781         object here.
5782
5783 2003-09-22  Angus Leeming  <leeming@lyx.org>
5784
5785         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5786         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5787         an incomplete class LyXFont.
5788
5789 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5790
5791         * factory.C: bug fix in branches
5792
5793 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * lyxfunc.C (processKeySym): adjust
5796         (dispatch): adjust
5797         (dispatch): change arg name from ev to func, adjust
5798         (sendDispatchMessage): ditto
5799
5800         * lyx_main.C (defaultKeyBindings): adjust keybindings
5801         (deadKeyBindings): ditto
5802
5803         * kbsequence.C (addkey): return a FuncRequest
5804
5805         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5806
5807         * kbmap.C (bind): take a FuncRequest as arg, adjust
5808         (read): adjust
5809         (lookup): adjust
5810         (defkey): change to take a FuncRequest as arg, adjust
5811         (findbinding): take a FuncRequest as arg, adjust.
5812
5813         * funcrequest.h (operator=): added
5814
5815         * funcrequest.C (FuncRequest): default kb_action changed from
5816         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5817
5818         * buffer.C (dispatch): simplify
5819         (dispatch): adjust to take a FuncRequest as arg, adjust
5820
5821         * boost.C (assertion_failed): change assertion message slightly
5822
5823         * ToolbarBackend.C (read): simplify
5824
5825         * MenuBackend.C (binding): adjust call to findbinding, add a
5826         message if no binding is found.
5827         (read): simplify
5828         (expandToc): correct by adding a empty FuncRequest
5829
5830         * LyXAction.C: include <boost/assert.hpp>
5831         (isPseudoAction): delete function
5832         (LookupFunc): change name to...
5833         (lookupFunc): this. change return type to FuncRequest.
5834         (getActionName): take kb_action as arg, simplify
5835         (funcHasFlag): add an assert, simplify.
5836
5837 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * toc.C (action): return a FuncRequest, simplify
5840
5841         * lyxfunc.C (processKeySym): adjust
5842         (getStatus): delete version that takes an int.
5843         (getStatus): adjust
5844         (dispatch): delete version that takes action as int
5845         (dispatch): adjust
5846         (sendDispatchMessage): simplify and adjust
5847
5848         * funcrequest.C (getArg): take unsigned int as arg
5849
5850         * ToolbarBackend.C (read): adjust
5851         (add): delete version that takes func as a string.
5852         (getIton): take a FuncRequest as arg
5853
5854         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5855         action.
5856
5857         * MenuBackend.C (MenuItem): add a new construct that only takes a
5858         Kind, simplify the constructor use for submenus.
5859         (add): adjust
5860         (expandLastfiles): adjust
5861         (expandDocuments): adjust
5862         (expandFormats): adjust
5863         (expandFloatListInsert): adjust
5864         (expandFloatInsert): adjust
5865         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5866
5867         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5868         Remove class variables lyx_pseudo_map and lyx_arg_map
5869
5870         * LyXAction.C (searchActionArg): delete function
5871         (getPseudoAction): delete function
5872         (retrieveActionArg): delete function
5873         (LookupFunc): make it return kb_action, simplify.
5874         (getActionName): simplify
5875
5876         * factory.C (createInset): fix new bug
5877
5878 2003-09-19  Angus Leeming  <leeming@lyx.org>
5879
5880         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5881         masterFilename_ parameter in the include inset.
5882
5883         * factory.C (createInset): changes due to the changes to InsetInclude.
5884
5885 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5886
5887         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5888
5889 2003-09-18  Angus Leeming  <leeming@lyx.org>
5890
5891         * buffer.C:
5892         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5893         Inset::fillWithBibKeys.
5894         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5895
5896 2003-09-18  Angus Leeming  <leeming@lyx.org>
5897
5898         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5899         variables.
5900         (ctor): pass and store a 'Buffer const &'
5901         (buffer): new member function.
5902
5903         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5904         '*this' to the LaTeXFeatures ctor.
5905
5906 2003-09-18  Angus Leeming  <leeming@lyx.org>
5907
5908         * LColor.h:
5909         * lyxfont.C:
5910         * lyxfont.h:
5911         * lyxtext.h:
5912         * text.C: rename EnumLColor as LColor_color.
5913
5914 2003-09-18  Angus Leeming  <leeming@lyx.org>
5915
5916         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5917         remove #include "insets/insetbase.h" from cursor.h.
5918
5919 2003-09-18  Angus Leeming  <leeming@lyx.org>
5920
5921         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5922         InsetOld_code to remove #include "inset.h".
5923
5924         * iterators.C: add #include "insets/inset.h"
5925
5926 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5927
5928         * BufferView.C: remove more locking stuff that apparently doesn't
5929         do anything sensible.
5930
5931 2003-09-16  André Pönitz  <poenitz@gmx.net>
5932
5933         * paragraph.[Ch]:
5934         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5935           performance boost.
5936
5937 2003-09-16  Angus Leeming  <leeming@lyx.org>
5938
5939         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5940
5941         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5942         arg/return type.
5943
5944         * paragraph.h: remove #include "lyxfont.h". Forward declare
5945         LyXFont_size.
5946
5947 2003-09-16  Angus Leeming  <leeming@lyx.org>
5948
5949         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5950         of support/textutils.h.
5951         (isWord): move the contents of support/textutils.h's IsWordChar here.
5952
5953         * buffer.C:
5954         * lyxfind.C:
5955         * rowpainter.C:
5956         * text.C:
5957         * text2.C: add #include "paragraph.h".
5958
5959         * rowpainter.C:
5960         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5961
5962 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * main.C:
5965         * lyx_main.C:
5966         * lyx_cb.C:
5967         * buffer.C:
5968         * LaTeX.C: use namespace alias for lyx::support::os
5969
5970 2003-09-16  Angus Leeming  <leeming@lyx.org>
5971
5972         * bufferparams.C:
5973         * bufferview_funcs.C:
5974         * factory.C:
5975         * lyxfunc.C:
5976         * paragraph_pimpl.C:
5977         * rowpainter.C:
5978         * text.C: add #include "LColor.h".
5979
5980 2003-09-16  Angus Leeming  <leeming@lyx.org>
5981
5982         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5983         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5984         return LyXFont &.
5985         Store the FontBits::color variable as an int rather than as an
5986         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5987         file.
5988
5989         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5990         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5991         string calls together.
5992
5993         * lyxrc.C: add #include "LColor.h".
5994
5995 2003-09-15  Angus Leeming  <leeming@lyx.org>
5996
5997         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5998         a cow_ptr.
5999
6000 2003-09-15  Angus Leeming  <leeming@lyx.org>
6001
6002         * LColor.h: add an EnumLColor wrapper for LColor::color.
6003
6004         * lyxfont.[Ch] (color, setColor, realColor):
6005         * lyxtext.h, text.C (backgroundColor):
6006         pass EnumLColor args to/from the functions, rather than LColor::color
6007         ones.
6008
6009         * lyxfont.h:
6010         * lyxtext.h: forward declare EnumLColor.
6011
6012         * lyx_main.C: add #include "LColor.h".
6013
6014 2003-09-15  Angus Leeming  <leeming@lyx.org>
6015
6016         * .cvsignore: add lyx-gtk.
6017
6018 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * Chktex.C
6021         * LaTeX.C
6022         * LaTeXFeatures.C
6023         * ParagraphParameters.C
6024         * Spacing.C
6025         * buffer.C
6026         * bufferparams.C
6027         * bufferview_funcs.C
6028         * chset.C
6029         * counters.C
6030         * funcrequest.C
6031         * lyxfont.C
6032         * lyxgluelength.C
6033         * lyxlength.C
6034         * paragraph.C
6035         * paragraph_funcs.C
6036         * text3.C
6037         * vc-backend.C: remove usage of STRCONV
6038
6039 2003-09-15  Angus Leeming  <leeming@lyx.org>
6040
6041         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6042         explicitly define the color passed to the painter.
6043
6044 2003-09-15  Angus Leeming  <leeming@lyx.org>
6045
6046         * bufferparams.C (BufferParams): reorder member initializers to avoid
6047         compiler warning.
6048
6049 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6050
6051         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6052         * text.C (updateRowPositions): remove an unusual nop
6053
6054 2003-09-12  André Pönitz  <poenitz@gmx.net>
6055
6056         * BufferView_pimpl.C:
6057         * Bullet.C:
6058         * layout.h:
6059         * lyxfunc.C:
6060         * lyxlayout.[Ch]:
6061         * lyxtextclass.C:
6062         * rowpainter.C:
6063         * text.C:
6064         * text2.C:
6065         * Counters.[Ch]: finish the 'automatic counters' job
6066
6067 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6068
6069         * aspell.C: include <boost/assert.cpp> (compile fix)
6070
6071 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6072
6073         * boost.C (assertion_failed): use lyx::support::abort instead of
6074         assert.
6075
6076 2003-09-10  Angus Leeming  <leeming@lyx.org>
6077
6078         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6079         with their _fwd progeny.
6080
6081 2003-09-09  Angus Leeming  <leeming@lyx.org>
6082
6083         134 files throughtout the source tree: replace 'using namespace abc;'
6084         directives with the appropriate 'using abc::xyz;' declarations.
6085
6086 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6087
6088         * boost.C (emergencyCleanup): moved here from LAssert.c
6089         (assertion_failed): new function, called by BOOST_ASSERT
6090
6091         * several files: change Assert to BOOST_ASSERT
6092
6093 2003-09-09  Angus Leeming  <leeming@lyx.org>
6094
6095         * buffer.[Ch]: Add an Impl class and move Buffer's member
6096         variables into it. As a result move several header files out of
6097         buffer.h.
6098
6099         Add header files to lots of .C files all over the tree as a result.
6100
6101 2003-09-09  Angus Leeming  <leeming@lyx.org>
6102
6103         * buffer.[Ch]: make Buffer's member variables private. Add
6104         accessor functions.
6105
6106         Lots of changes all over the tree as a result.
6107
6108 2003-09-08  Angus Leeming  <leeming@lyx.org>
6109
6110         * graph.C: #include <config.h>.
6111
6112 2003-09-08  Angus Leeming  <leeming@lyx.org>
6113
6114         * BranchList.C:
6115         * BufferView.C:
6116         * BufferView_pimpl.C:
6117         * CutAndPaste.C:
6118         * DepTable.C:
6119         * LaTeX.C:
6120         * LaTeXFeatures.C:
6121         * LyXAction.C:
6122         * MenuBackend.C:
6123         * TextCache.C:
6124         * aspell.C:
6125         * buffer.C:
6126         * bufferlist.C:
6127         * changes.C:
6128         * chset.C:
6129         * converter.C:
6130         * counters.C:
6131         * debug.C:
6132         * graph.C:
6133         * ispell.C:
6134         * lyx_cb.C:
6135         * lyxfind.C:
6136         * lyxfunc.C:
6137         * lyxlex_pimpl.C:
6138         * lyxrc.C:
6139         * lyxrow.C:
6140         * paragraph.C:
6141         * rowpainter.C:
6142         * texrow.C:
6143         * text.C:
6144         * text2.C:
6145         * toc.C: remove redundant using directives.
6146
6147 2003-09-07  Angus Leeming  <leeming@lyx.org>
6148
6149         * LaTeXFeatures.h: remove #include "support/types.h".
6150         * ToolbarBackend.h: remove #include <algorithm>.
6151         * changes.h: remove #include <ctime>.
6152         * debug.h: remove #include <iosfwd>.
6153         * graph.h: remove #include "support/std_string.h".
6154         * lyx_main.h: remove #include <csignal>.
6155         * lyxlex_pimpl.h: remove #include <fstream>.
6156         * sgml.h: remove #include <algorithm>, <utility>.
6157         * toc.h: remove #include "support/std_ostream.h".
6158         Add #include <iosfwd>.
6159
6160 2003-09-07  Angus Leeming  <leeming@lyx.org>
6161
6162         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6163
6164         * converter.h: forward declare LatexRunParams.
6165         * encoding.h: remove #include "lyxrc.h".
6166         * lyxtext.h: remove #include "LColor.h".
6167         * lyxtextclass.h: remove #include "support/types.h".
6168         * trans.h: remove #include "tex-accent.h".
6169         * trans_mgr.h: remove #include "tex-accent.h".
6170         * insets/inset.h: remove #include "support/types.h", <vector>.
6171         * insets/insetcollapsable.h: remove #include "LColor.h".
6172         * insets/insetinclude.h: remove #include "dimension.h".
6173         * insets/insetlatexaccent.h: remove #include "dimension.h".
6174         * insets/insetoptarg.h:: remove #include "insettext.h".
6175         * insets/insettext.h: remove #include "dimension.h",
6176         <boost/shared_ptr.hpp>
6177
6178         * insets/renderers.h: add #include "dimension.h".
6179         * insets/updatableinset.h: add #include "support/types.h".
6180
6181         * many .C files: Associated changes.
6182
6183 2003-09-06  Angus Leeming  <leeming@lyx.org>
6184
6185         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6186         one, inside testInvariant.
6187
6188         * PrinterParams.C: new file.
6189         * PrinterParams.[Ch]: move the function bodies out of line.
6190
6191 2003-09-06  Angus Leeming  <leeming@lyx.org>
6192
6193         * ParagraphParameters.h: forward declare ParameterStruct rather than
6194         including its header file.
6195         (depth): moved out-of-line.
6196
6197 2003-09-06  Angus Leeming  <leeming@lyx.org>
6198
6199         * BufferView_pimpl.h:
6200         * kbmap.h:
6201         * kbsequence.h:
6202         * lyxfunc.h: forward declare LyXKeySym rather than
6203         #include "frontends/LyXKeySym.h".
6204
6205         * BufferView_pimpl.C:
6206         * kbmap.C:
6207         * kbsequence.C:
6208         * lyxfunc.C: associated changes.
6209
6210 2003-09-06  Angus Leeming  <leeming@lyx.org>
6211
6212         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6213         As a result, can remove the #include "insets/inset.h" from BufferView.h
6214
6215 2003-09-06  Angus Leeming  <leeming@lyx.org>
6216
6217         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6218         As a result, can remove the #include "insets/inset.h" from BufferView.h
6219
6220 2003-09-06  Angus Leeming  <leeming@lyx.org>
6221
6222         * buffer_funcs.C:
6223         * buffer.h:
6224         * bufferlist.C:
6225         * BufferView.C:
6226         * bufferview_funcs.C:
6227         * BufferView_pimpl.C:
6228         * CutAndPaste.C:
6229         * lyx_cb.C:
6230         * lyxfunc.C:
6231         * paragraph.h:
6232         * ParagraphParameters.C:
6233         * tabular.C:
6234         * text3.C:
6235         * toc.C:
6236         * undo_funcs.C:
6237         * frontends/controllers/ControlDocument.C:
6238         * insets/insetcaption.C: rearrange the #includes into some sort of
6239         coherent order.
6240
6241         * buffer.h: remove #includes ErrorList.h, undo.h
6242
6243 2003-09-06  Angus Leeming  <leeming@lyx.org>
6244
6245         * support/types.h: add a 'depth_type' typedef, used to store the
6246         nesting depth of a paragraph.
6247
6248         * paragraph.h:
6249         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6250         defining explicitly.
6251
6252         * buffer.h:
6253         * paragraph_funcs.h:
6254         * ParagraphParameters.h:
6255         * sgml.h: use lyx::depth_type rather than Paragraph or
6256         ParameterStruct's depth_type.
6257
6258         * buffer.h
6259         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6260
6261         * BufferView.C:
6262         * BufferView_pimpl.C:
6263         * CutAndPaste.C:
6264         * ParagraphParameters.C:
6265         * buffer_funcs.C:
6266         * bufferlist.C:
6267         * bufferview_funcs.C:
6268         * lyx_cb.C:
6269         * lyxfunc.C:
6270         * tabular.C:
6271         * text3.C:
6272         * toc.C:
6273         * undo_funcs.C:
6274         * frontends/LyXView.C:
6275         * frontends/controllers/ControlDocument.C:
6276         * frontends/controllers/ControlErrorList.C:
6277         * insets/insetbibitem.C:
6278         * insets/insetbranch.C:
6279         * insets/insetcaption.C:
6280         * insets/insetcollapsable.C:
6281         * insets/insetenv.C:
6282         * insets/insetert.C:
6283         * insets/insetfloat.C:
6284         * insets/insetfoot.C:
6285         * insets/insetfootlike.C:
6286         * insets/insetnewline.C:
6287         * insets/insetquotes.C:
6288         * insets/insettabular.C:
6289         * insets/insettext.C:
6290         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6291
6292         * frontends/controllers/ControlChanges.C: #include "changes.h".
6293
6294 2003-09-06  Angus Leeming  <leeming@lyx.org>
6295
6296         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6297         than #including paragraph.h.
6298
6299         * ParagraphList.h:
6300         * RowList.h: deleted. Superfluous.
6301
6302         * CutAndPaste.h:
6303         * iterators.h:
6304         * lyxcursor.h:
6305         * lyxtext.h:
6306         * text_funcs.h:
6307         * undo.h:
6308         * undo_funcs.h:
6309         * insets/inset.h:
6310         * insets/insettext.h: use ParagraphList_fwd.h rather than
6311         ParagraphList.h.
6312
6313         * paragraph.h: don't forward declare ParagraphList.
6314
6315         * buffer.h:
6316         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6317         rather than ParagraphList.h. paragraph.h is still needed for the
6318         Paragraph::depth_type parameters.
6319
6320         * textcursor.h: enable it to compile stand-alone in light of the
6321         above changes.
6322
6323         * bufferview_funcs.C:
6324         * iterators.C:
6325         * lyxfunc.C:
6326         * lyxrow_funcs.C:
6327         * paragraph.C:
6328         * rowpainter.C:
6329         * text.C:
6330         * text2.C:
6331         * text3.C:
6332         * text_funcs.C:
6333         * textcursor.C:
6334         * undo.C:
6335         * frontends/controllers/ControlParagraph.C:
6336         * frontends/controllers/ControlTabular.C:
6337         * insets/insetmarginal.C:
6338         * insets/insetminipage.C:
6339         * insets/insetnote.C:
6340         * insets/insetoptarg.C: add header files needed to compile again.
6341
6342 2003-09-06  Angus Leeming  <leeming@lyx.org>
6343
6344         * RowList_fwd.h: new file, forward-declaring Row rather than
6345         #including lyxrow.h.
6346
6347         * lyxrow_funcs.h:
6348         * lyxtext.h:
6349         * paragraph.h:
6350         * insets/insettext.h: use it instead of RowList.h
6351
6352         * bufferview_funcs.C:
6353         * lyxfunc.C:
6354         * lyxrow_funcs.C:
6355         * paragraph.C:
6356         * rowpainter.C:
6357         * text.C:
6358         * text2.C:
6359         * text3.C: #include "RowList.h".
6360
6361 2003-09-05  Angus Leeming  <leeming@lyx.org>
6362
6363         * factory.C (createInset):
6364         * vspace.C (c-tor): replace sscanf call with an istringstream.
6365         * ispell.C: re-add missing HP/UX headers.
6366         * lyxserver.C: re-add missing  os2 headers.
6367
6368 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6369
6370         * BranchList.C:
6371         * graph.C:
6372         * ispell.C:
6373         * lastfiles.C:
6374         * lyx_cb.C:
6375         * lyxserver.C:
6376         * texrow.C:
6377         * text3.C: re-add missing system headers, needed for 2.95.2.
6378
6379 2003-09-05  Angus Leeming  <leeming@lyx.org>
6380
6381         Changes most place everywhere due to the removal of using directives
6382         from support/std_sstream.h.
6383
6384 2003-09-05  Angus Leeming  <leeming@lyx.org>
6385
6386         Replace LString.h with support/std_string.h,
6387         Lsstream.h with support/std_sstream.h,
6388         support/LIstream.h with support/std_istream.h,
6389         support/LOstream.h with support/std_ostream.h.
6390
6391         Changes resulting throughout the tree.
6392
6393 2003-09-05  Angus Leeming  <leeming@lyx.org>
6394
6395         * sgml.h: ensure that the header file can be compiled stand-alone.
6396         * *.C: strip out redundant #includes. (320 in total.)
6397
6398 2003-09-04  Angus Leeming  <leeming@lyx.org>
6399
6400         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6401         here (from getPackages).
6402
6403         * debug.[Ch]: add a new EXTERNAL tag.
6404
6405 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6406
6407         * text2.C (cursorEnd): simplify
6408         (setCursor): adjust
6409         (getColumnNearX): adjust
6410
6411         * text.C (computeBidiTables): adjust
6412         (fill): adjust
6413
6414         * rowpainter.C (paintChars): adjust
6415         (paintSelection): adjust
6416         (paintChangeBar): adjust
6417         (paintText): adjust
6418
6419         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6420         lastPos instead.
6421         (numberOfSeparators): adjust
6422
6423 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6424
6425         * LyXAction.C:
6426         * box.[Ch]:
6427         * lfuns.h:
6428         * lyxfunc.C:
6429         * text3.C: Restricts the mouse click functionality
6430         of insets like bibtex, include, toc and floatlist to the visible
6431         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6432         up the dialogs. Cursor has to be in front of the inset (i.e.
6433         start of row) for this to function.
6434
6435 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6436
6437         * bufferview_funcs.C (currentState): output row information
6438
6439 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6440
6441         * bufferview_funcs.C (currentState): output paragraph position
6442
6443 2003-09-04  Angus Leeming  <leeming@lyx.org>
6444
6445         * FloatList.h: move out #include "Floating.h".
6446         * LaTeX.h: move out #include "DepTable.h".
6447         * LyXAction.h: move out #include "funcrequest.h".
6448         * buffer.h: move out #include "author.h", "iterators.h".
6449         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6450         * lyx_main.h: move out #include "errorlist.h".
6451         * lyxfunc.h: move out #include "FuncStatus.h".
6452         * lyxtext: move out #include "lyxcursor.h".
6453         * paragraph_pimpl.h: move out #include "counters.h".
6454
6455 2003-09-03  Angus Leeming  <leeming@lyx.org>
6456
6457         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6458         preamble_snippets list, enabling us to add snippets to the preamble
6459         only if the snippet was not there already.
6460
6461 2003-09-04  Angus Leeming  <leeming@lyx.org>
6462
6463         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6464
6465 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6468         update
6469
6470 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6471
6472         * BranchList.C: point fix, earlier forgotten
6473
6474 2003-09-02  Angus Leeming  <leeming@lyx.org>
6475
6476         * box.C (contains): renamed from 'contained' after a fantastic
6477         amount of hot air.
6478
6479 2003-09-02  John Levon  <levon@movementarian.org>
6480
6481         * BufferView.C:
6482         * lyxcursor.h:
6483         * lyxcursor.C:
6484         * lyxfunc.C:
6485         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6486
6487 2003-09-02  John Levon  <levon@movementarian.org>
6488
6489         * text2.C: simplification of cursorEnd(), including partial
6490         fix for bug 1376
6491
6492 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * buffer.C (readFile): add a space
6495
6496 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6497
6498         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6499
6500 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * buffer.C (readFile): new function, take a filename and a
6503         ParagraphList::iterator
6504         (readFile): adjust
6505         (readFile): adjust, make it private. don't use setStream, make
6506         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6507         always contain the filename.
6508
6509         * BufferView.C (insertLyXFile): simplify and make it work for
6510         gzipped files.
6511
6512 2003-08-30  John Levon  <levon@movementarian.org>
6513
6514         * Makefile.am: fix dist (from Kayvan)
6515
6516 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * most files: change to use const Buffer refs
6519
6520 2003-08-27  André Pönitz  <poenitz@gmx.net>
6521
6522         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6523         on top of ownerPar().
6524
6525 2003-08-27  John Levon  <levon@movementarian.org>
6526
6527         * funcrequest.C: properly initialise POD members
6528
6529 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * lyxtext.h (top_y): move top_y from here
6532         * text.C:
6533         * text2.C:
6534         * text3.C:
6535         * BufferView.[Ch]:
6536         * BufferView_pimpl.[Ch]: to here
6537         * frontends/screen.C:
6538         * insets/insettabular.C:
6539         * insets/insettext.C: adjust
6540         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6541
6542 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6543
6544         * BufferView.[Ch]:
6545         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6546
6547 2003-08-26  André Pönitz  <poenitz@gmx.net>
6548
6549         * paragraph_func.[Ch] (outerPar): new function
6550
6551         * paragraph.C:
6552         * paragraph_funcs.C:
6553         * paragraph_funcs.h:
6554         * paragraph_pimpl.C:
6555         * text2.C: remove Inset::par_owner
6556
6557 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6558
6559         * lyxrow_funcs.C:
6560         * lyxtext.h:
6561         * text.C:
6562         * text2.C: eliminates the needFullRow/display() stuff
6563         altogether, putting the logic in metrics/draw in the insets.
6564
6565 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6566
6567         * text2.C (redoParagraphInternal, redoParagraphs):
6568         * text.C (redoParagraph): add a call to updateRowPositions at the
6569         end of each 'metrics-like' call. Remove all others.
6570         (getRow): remove the 'y-computing' version.
6571         (getRowNearY): do not compute nor return the real y. Solve the
6572         'y < 0' problem and simplify.
6573
6574 2003-08-22  Angus Leeming  <leeming@lyx.org>
6575
6576         * *.[Ch]: clean-up of licence and author blurbs.
6577         Also move config.h out of a few .h files and into a few .C files.
6578
6579 2003-08-22  André Pönitz  <poenitz@gmx.net>
6580
6581         * lyxrow.[Ch]: add x_ and *fill_ members
6582
6583         * lyxtext.h:
6584         * text.C:
6585         * rowpainter.C:
6586         * text2.C: adjust/remove prepareToPrint() calls
6587
6588 2003-08-22  André Pönitz  <poenitz@gmx.net>
6589
6590         * lyxrow.[Ch]: add  end_ member
6591
6592         * lyxrow_funcs.C: use LyXRow::end_
6593
6594         * lyxtext.h (singleWidth): add LyXFont parameter
6595
6596         * rowpainter.C:
6597         * text2.C: adjust LyXText::singleWidth() calls
6598
6599         * text.C (redoParagraph): simplify row breaking logic
6600
6601
6602 2003-08-19  André Pönitz  <poenitz@gmx.net>
6603
6604         * funcrequest.C: initialize button_ member
6605
6606         * text3.C:
6607         * rowpainter.[Ch]: interface consolidation
6608
6609 2003-08-18  André Pönitz  <poenitz@gmx.net>
6610
6611         * BufferView.C:
6612         * BufferView_pimpl.C:
6613         * lyxfind.C:
6614         * paragraph_funcs.C:
6615         * rowpainter.C:
6616         * text3.C: remove LyXScreen::draw() and fitCursor calls
6617
6618         * BranchList.h: remove spurious semicolons
6619
6620         * MenuBackend.C: fix branchlist related crash
6621
6622 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6623
6624         * BranchList.[Ch]:
6625         * InsetList.[Ch]:
6626         * LColor.[Ch]:
6627         * LyXAction.C:
6628         * Makefile.am:
6629         * MenuBackend.[Ch]:
6630         * bufferparams.[Ch]:
6631         * factory.C:
6632         * lfuns.h:
6633         * lyxfunc.C:
6634         * text3.C: implements the 'branch inset'
6635         idea. This allows the output of various versions of a document
6636         from a single source version, selectively outputing or suppressing
6637         output of parts of the text.
6638         This implementation contains a 'branch list editor' in a separate
6639         tab of the document settings dialog. Branches are user definable
6640         and have a "display colour" to distinguish them on-screen.
6641
6642         ColorHandler was somewhat cleaned up.
6643         (1) make possible a dynamically growing LColor list by allowing
6644         the graphic context cache to grow along (vector);
6645         (2) eliminate an IMHO unnecessary step in colour allocation.
6646
6647 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6648
6649         * BufferView_pimpl.C: compile fix
6650
6651 2003-08-15  André Pönitz  <poenitz@gmx.net>
6652
6653         * rowpainter.C: remove extra metrics calls
6654
6655         * lyxtext.h: merge the two constructors into a single one,
6656           pass reference to owner's par list
6657
6658         * BufferView_pimpl.C:
6659         * text.C:
6660         * text2.C: adjust
6661
6662 2003-08-15  André Pönitz  <poenitz@gmx.net>
6663
6664         * lyxrow_funcs.[Ch]:
6665         * lyxtext.h:
6666         * paragraph.h:
6667         * paragraph_funcs.C:
6668         * rowpainter.C:
6669         * text.C:
6670         * text2.C:
6671         * text3.C:
6672         * text_funcs.C: split LyXText::rowlist_ into individual
6673         Paragraph::rows_ chunks
6674
6675         * BufferView.[Ch]:
6676         * BufferView_pimpl.[Ch]:
6677         * lyxfind.C:
6678         * lyxtext.h:
6679         * text3.C: remove toggleSelection()
6680
6681 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6682
6683         * bufferlist.C: beautify two alerts (shorter text of buttons)
6684         * buffer.C: Remove redundant ' ' from message
6685         * tabular.h:
6686         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6687         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6688         rename VALIGN_CENTER to VALIGN_MIDDLE
6689
6690 2003-08-11  André Pönitz  <poenitz@gmx.net>
6691
6692         * lyxtext.h (getPar):
6693         * text.C: new function
6694
6695 2003-08-11  André Pönitz  <poenitz@gmx.net>
6696
6697         * Makefile.am:
6698         * tracer.[Ch]: remove unneeded files
6699
6700         * InsetList.[Ch]: remove resizeInsetsLyXText()
6701
6702         * lyxtext.h:
6703         * text.C:
6704         * text2.C:
6705         * text3.C: merge insertParagraphs() and appendParagraph()
6706         remove breakAgain(), update()
6707
6708         * BufferView_pimpl.[Ch]:
6709         * bufferview_funcs.[Ch]:
6710         * lyxfunc.C:
6711         * paragraph.[Ch]:
6712         * rowpainter.C:
6713         * tabular.C: adjust after text & InsetList changes.
6714
6715 2003-08-08  André Pönitz  <poenitz@gmx.net>
6716
6717         * text.C (insertChar, backspace): replace rowlist fiddling
6718         with rebreak of full par
6719
6720         * lyxtext.h:
6721         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6722         checkParagraph, updateInset): removed
6723
6724 2003-08-07  André Pönitz  <poenitz@gmx.net>
6725
6726         * paragraph.C:
6727         * text3.C: merge some LFUN handlers, remove dead code
6728
6729 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6730
6731         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6732
6733 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * text2.C (DEPM): fix part of bug 1255 and 1256
6736
6737 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6738
6739         * BufferView_pimpl.C (workAreaDispatch): change to use
6740         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6741         that are no mouse related.
6742
6743 2003-08-05  André Pönitz  <poenitz@gmx.net>
6744
6745         * BufferView.[Ch]:
6746         * BufferView_pimpl.[Ch]:
6747         * bufferview_funcs.C:
6748         * text2.C:
6749         * text3.C: rip out "deep update"
6750
6751         * textcursor.[Ch] (last_sel_cursor): remove unused member
6752
6753 2003-08-04  André Pönitz  <poenitz@gmx.net>
6754
6755         * BufferView.[Ch]:
6756         * BufferView_pimpl.[Ch]:
6757         * ParagraphParameters.C:
6758         * bufferview_funcs.C:
6759         * lyx_cb.C:
6760         * lyxfind.C:
6761         * lyxfunc.C:
6762         * text.C:
6763         * text2.C:
6764         * text3.C: replace "complicated" BufferView::update(...) calls with
6765         simpler ones.
6766
6767         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6768
6769 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6770
6771         * Makefile.am (lyx_SOURCES): add paper.h
6772
6773 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6774
6775         * Makefile.am: move things around so that both lyx-qt and
6776         lyx-xforms can be built (according to --with-frontend). Then lyx
6777         is a symbolic link to lyx-[firstfrontend]
6778
6779 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6780
6781         * Always use std::endl with lyxerr
6782
6783 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6784
6785         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6786
6787 2003-08-01  André Pönitz  <poenitz@gmx.net>
6788
6789         * BufferView.[Ch]:
6790         * BufferView_pimpl.[Ch]:
6791         * lyxfunc.C:
6792         * text3.C: merge BufferView::repaint() and BufferView::update()
6793
6794 2003-08-01  José Matos  <jamatos@lyx.org>
6795
6796         * buffer.[Ch]: file_format is no longer a buffer data element.
6797
6798 2003-08-01  André Pönitz  <poenitz@gmx.net>
6799
6800         * BufferView.C:
6801         * lyxtext.h:
6802         * text.C:
6803         * text2.C: make redoParagraph more independent of current cursor
6804
6805         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6806         * text.C:
6807         * text2.C: remove unneeded members
6808
6809 2003-07-30  André Pönitz  <poenitz@gmx.net>
6810
6811         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6812
6813         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6814           create a single function...
6815
6816         * paragraph_funcs.C (moveItem): ... here.
6817
6818         * text.C:
6819           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6820
6821 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6822
6823         * LColor.[Ch]: Add comment and greyedout logical colors.
6824
6825 2003-07-30  André Pönitz  <poenitz@gmx.net>
6826
6827         * tabular.C: don't use Assert too heavily. This crashes where it
6828           shouldn't
6829
6830 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6833         is disabled (bug 1232)
6834
6835 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6836
6837         * factory.C: limited 'arg' scope
6838
6839 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6840
6841         * factory.C: fixed Note submenu issues
6842
6843 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6844
6845         * factory.C: submenu for Note/Comment/Greyedout
6846
6847 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * lyx_main.C (LyX):
6850         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6851
6852 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6853
6854         * LaTeXFeatures.C:
6855         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6856         greyedout. Patch provided by Jürgen Spitzmüller.
6857
6858 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6859
6860         * kbmap.C (read): fix error message when reading bind files
6861
6862 2003-07-29  Angus Leeming  <leeming@lyx.org>
6863
6864         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6865         certainly does not do what it purports to do. I am doing it, and
6866         us, a favour by killing it.
6867
6868 2003-07-28  José Matos  <jamatos@lyx.org>
6869
6870         * buffer.C (readBody, do_writeFile):
6871         * paragraph.C(readParagraph): \end_document replaces \the_end.
6872
6873 2003-07-29  André Pönitz  <poenitz@gmx.net>
6874
6875         * BufferView.[Ch]:
6876         * BufferView_pimpl.[Ch]:
6877         * lyxfunc.C:
6878         * text2.C:
6879         * text3.C:
6880         * textcursor.[Ch]: remove toggleToggle & Co
6881
6882 2003-07-28  José Matos  <jamatos@fep.up.pt>
6883
6884         * buffer.C (readParagraph):
6885         * params_func (readParToken, readParagraph):
6886         * paragraph.C (write): \layout -> \begin_layout.
6887
6888 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * lyxlex_pimpl.C (setFile): clean up slightly.
6891
6892         * bufferparams.h: add compressed var
6893
6894         * buffer_funcs.C (readFile): adjust for LyXLex change
6895         (newFile): ditto + simplify
6896
6897         * buffer.C (writeFile): handle writing of compressed files
6898
6899         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6900         Check if the file is compressed and set a bufferparm if so.
6901
6902         * Makefile.am (lyx_LDADD): remove explicit -lz
6903
6904 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6905
6906         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6907         makeDocBookFile): put the real LyX version in the first line of
6908         the file
6909
6910         * version.h:
6911         * version.C.in: remove lyx_docversion
6912
6913         * tabular.C (write_attribute): add a template-based version to
6914         write enums properly
6915
6916 2003-07-28  André Pönitz  <poenitz@gmx.net>
6917
6918         * lyxtext.h:
6919         * text.C:
6920         * text2.C:
6921         * text3.C: use doubles again for x-coordinates. They are needed.
6922
6923 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * messages.C (getLocaleDir): use lyx_localedir()
6926
6927         * lyxlex_pimpl.C (setFile): compress stuff
6928
6929         * buffer.C (writeFile): add some compression stuff
6930         (do_writeFile): new func, dont call expliti close... will this
6931         breake anything?
6932
6933         * Makefile.am (lyx_LDADD): add -lz
6934
6935 2003-07-28  José Matos  <jamatos@fep.up.pt>
6936
6937         * buffer.C: increment file format.
6938         * paragraph_funcs (readParagraph, readParToken):
6939         * paragraph.C (readParagraph): add \end_layout.
6940
6941 2003-07-27  Angus Leeming  <leeming@lyx.org>
6942
6943         * Makefile.am: remove special casing for configure-time setting of
6944         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6945
6946         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6947         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6948
6949 2003-07-26  André Pönitz  <poenitz@gmx.net>
6950
6951         * paragraph_func.[Ch]:
6952         * paragraph.C (realizeFont): inline it whereever it is used
6953
6954         * rowpainter.C:
6955         * text.C:
6956         * text2.C:
6957         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6958
6959
6960 2003-07-26  André Pönitz  <poenitz@gmx.net>
6961
6962         *       lyxtext.h:
6963         * text.C:
6964         * text2.C: get rid of LyXText::need_break_row
6965
6966 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * toc.[Ch]: put namespace toc inside namespace lyx
6969
6970         * MenuBackend.C (expandToc2): adjust for lyx::toc
6971         (expandToc): ditto
6972
6973         * lyxfunc.C (dispatch): adjust for lyx::find
6974
6975         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6976         lyx::find instead. Reorganize a bit.
6977         (LyXReplace): rename to replace
6978         (LyXFind): rename to find
6979
6980         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6981         (dispatch): ditto
6982
6983 2003-07-26  André Pönitz  <poenitz@gmx.net>
6984
6985         * text.C (setHeightOfRow): restrict scope of temporary variable
6986
6987         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6988           code (never has been used?)
6989
6990 2003-07-27  Asger Alstrup  <alstrup@local>
6991
6992         * text.C (fill): Optimise algorithm to exploit that we can reuse
6993         the LyXFont for many characters.
6994         (setHeightOfRow): Same thing.
6995         (rowBreakPoint): Same thing.
6996
6997 2003-07-26  Asger Alstrup  <alstrup@local>
6998
6999         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7000
7001         * text.C (singleWidth): Spurious font copying in hot-spot
7002         singleWidth avoided. Reorder tests for arabic for efficiency.
7003
7004         * text.C (fill): handle empty paragraphs better.
7005
7006 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7007
7008         * ispell.C:
7009         * encoding.h: add includes
7010
7011         * lyxrc.C: remove reading of bind files
7012
7013         * lyx_main.C (init): setup bindings and menus only if we have a
7014         gui.
7015
7016         * kbmap.C (read): new method. Do the actual reading of bind
7017         files.
7018
7019         * converter.C (dvipdfm_options):
7020         * bufferparams.C:
7021         * lyxrc.C (read):
7022         (output): adapt PAPER_* enums.
7023
7024         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7025
7026         * bufferparams.h: remove paper-related enums from there
7027
7028         * paper.h: New file. A trivial header file to hold paper-related
7029         enums. It should later expand to contain many paper-related
7030         horrors access.
7031
7032         * lyxrc.C: declare extern displayTranslator
7033
7034 2003-07-27  José Matos  <jamatos@fep.up.pt>
7035
7036         * tabular.[Ch] (linuxdoc): add support for tables and figures
7037         (linuxdoc).
7038
7039 2003-07-27  José Matos  <jamatos@fep.up.pt>
7040
7041         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7042         consistency in both functions.
7043         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7044
7045 2003-07-26  Asger Alstrup  <alstrup@local>
7046
7047         * rowpainter.C (paintRows): Change algorithm to work directly on
7048         the insets rather than asking every character in the document
7049         whether its an inset.
7050
7051 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7052
7053         * buffer.C (openFileWrite): factorize some code
7054
7055 2003-07-26  Angus Leeming  <leeming@lyx.org>
7056
7057         * lyx_cb.C:
7058         * lyx_main.[Ch]: replace occurances of system_tempdir with
7059         os::getTmpDir().
7060
7061 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * rename Inset to InsetOld
7064
7065 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7066
7067         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7068         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7069         which I think is a bit clearer. EDIT is gone, since it was
7070         premature optimisation, and broken for mathed anyway.
7071         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7072         with cursor positioning in insets as well (math insets still do not
7073         work, but that's a different story anyway.) It mysteriously
7074         crashes sometimes with undo in the first paragraph, but I'm fairly
7075         confident that this is a compiler bug.
7076
7077 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * paragraph.C (Paragraph): adjust for new clone return type
7080         (operator==): ditto
7081         (copyIntoMinibuffer): ditto
7082
7083 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7084
7085         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7086         by not having a special case, and always doing a full rebreak of
7087         the document after undo.
7088
7089 2003-07-23  Angus Leeming  <leeming@lyx.org>
7090
7091         * factory.C (createInset): InsetExternal::setParams now takes a
7092         Buffer const * arg.
7093
7094 2003-07-23  Angus Leeming  <leeming@lyx.org>
7095
7096         * factory.C (createInset): changed interface to the external and
7097         graphics mailers' string2params functions.
7098
7099 2003-07-23  Angus Leeming  <leeming@lyx.org>
7100
7101         * factory.C (createInset): pass a
7102         Buffer const * parameter to InsetExternalMailer's string2params.
7103
7104 2003-07-22  John Levon  <levon@movementarian.org>
7105
7106         * Thesaurus.h: include the right aiksaurus header
7107
7108 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7109
7110         * MenuBackend.C (expand): check menu shortcuts unconditionally
7111
7112 2003-07-21  Angus Leeming  <leeming@lyx.org>
7113
7114         * factory.C (createInset): pass a
7115         buffer_path parameter to InsetGraphicsMailer's string2params.
7116
7117 2003-07-21  Angus Leeming  <leeming@lyx.org>
7118
7119         * BufferView_pimpl.C (buffer):
7120         * buffer.C (d-tor):
7121         * lyx_main.C (LyX):
7122         * lyxfunc.C (dispatch):
7123         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7124         rather than the grfx shortcut.
7125
7126 2003-07-21  André Pönitz  <poenitz@gmx.net>
7127
7128         * rowpainter.C: remove unused variables
7129
7130         * tabular_funcs.C:
7131         * tabular_funcs.h: move to tabular.C
7132         * Makefile.am: adjust
7133
7134         * tabular.[Ch]: basic optical cleaning
7135
7136         * author.h: pass references, not values
7137
7138 2003-07-18  André Pönitz  <poenitz@gmx.net>
7139
7140         * lyxtext.h:
7141         * metricsinfo.C:
7142         * metricsinfo.h:
7143         * rowpainter.C:
7144         * text.C:
7145         * text2.C:
7146         * text3.C: two-phase drawing for InsetText and InsetTabular
7147         some float -> int changes.
7148
7149 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7150
7151         * lyx_main.C: fix the fix
7152
7153 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * lyx_main.C: fix a crash in batch mode if no files specified
7156         * converter.C: ws
7157
7158 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7159
7160         * format.[Ch] (papersize): moved to BufferParams
7161         * converter.[Ch] (dvips_options): moved to BufferParams
7162         (dvipdfm_options): moved to anon namespace
7163         * bufferparams.[Ch]: added above functions.
7164
7165 2003-07-17  André Pönitz  <poenitz@gmx.net>
7166
7167         * lyxtext.h:
7168         * rowpainter.C:
7169         * text2.C: don't call inset->update() anymore
7170
7171         * metricsinfo.[Ch]: add convenience constructor
7172
7173 2003-07-16  André Pönitz  <poenitz@gmx.net>
7174
7175         * lyxcursor.[Ch]:
7176         * lyxfunc.[Ch]:
7177         * text.C:
7178         * text2.C: replace the LyXCursor::irow_ member with
7179          on-demand computation of the value
7180
7181 2003-07-16  John Levon  <levon@movementarian.org>
7182
7183         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7184
7185 2003-07-15  André Pönitz  <poenitz@gmx.net>
7186
7187         * text.C:
7188         * text2.C: remove no more needed refresh_row
7189
7190 2003-07-15  André Pönitz  <poenitz@gmx.net>
7191
7192         * lyxtext.h:
7193         * rowpainter.C:
7194         * text2.C:
7195         * text3.C: refresh_status tristate -> need_update bool
7196
7197 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7198
7199         * lyxtext.h (init): remove reinit argument (act as if always true)
7200         * text2.C: adjust to that
7201
7202 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7203
7204         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7205         * text3.C: use it to delete selections in some cases
7206         (bugs 441, 673, 702, 954).
7207
7208 2003-07-14  André Pönitz  <poenitz@gmx.net>
7209
7210         * rowpainter.[Ch]: reduce interface
7211
7212 2003-07-14  André Pönitz  <poenitz@gmx.net>
7213
7214         * BufferView_pimpl.C:
7215         * text2.C: adjust after removing unused BufferView * argument
7216
7217 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7218
7219         * text2.C (init): fix a crash fired on resize
7220
7221 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7222
7223         * buffer.[Ch]: added new closing signal
7224         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7225         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7226         BufferView::Pimpl via the closing the signal
7227
7228 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7229
7230         * buffer.[Ch]: take out all bv-related from buffer
7231         * BufferView.C:
7232         * BufferView_pimpl.[Ch]: connect to new signals
7233         * CutAndPaste.C: removed useless asserts
7234         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7235         * lyxvc.[Ch]:
7236         * vc-backend.[Ch]:
7237         * lyxfunc.C: moved view-related funciontality from vc here
7238         * paragraph.C: removed outdated comments
7239         * text.C: ws
7240
7241 2003-07-10  André Pönitz  <poenitz@gmx.net>
7242
7243         * BufferView_pimpl.C:
7244         * tabular.h:
7245         * tabular_funcs.C:
7246         * text.C:
7247         * text2.C: remove InsetText::InnerCache, clean up consequences
7248
7249 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7250
7251         * ispell.C: fix two typos in error messages
7252
7253 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7254
7255         * Extend Note inset to other forms of annotation like Comment
7256         and Greyedout. Right button click gives dialog.
7257
7258         Files modified or added (+):
7259
7260         * insetnote.[Ch]
7261         * FormNote.[Ch]      +
7262         * ControlNote.[Ch]   +
7263         * form_note.fd       +
7264         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7265         frontends/controllers
7266         * xforms/Dialogs.C
7267         * factory.C
7268
7269 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7270
7271         * aspell.C: add missing namespace lyx::support
7272
7273 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7274
7275         * BufferView.[Ch] (newFile): Add
7276         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7277         * LaTeX.[Ch] (message): added this signal and use it
7278         * buffer.[Ch] (busy, message): added these signals and use them
7279         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7280         * converter.C:
7281         * exporter.C:
7282         * format.C:
7283         * importer.C: use buffer signals instead of direct bv calling
7284         * lyx_cb.[Ch] (ShowMessage): removed
7285         * lyx_main.C:
7286         * lyxfunc.C:
7287         * paragraph_funcs.C:
7288         * text2.C: use buffer signals
7289
7290 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * introduce namespace lyx::graphics
7293
7294 2003-07-02  André Pönitz  <poenitz@gmx.net>
7295
7296         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7297
7298 2003-07-01  André Pönitz  <poenitz@gmx.net>
7299
7300         * text.C:
7301         * text2.C:
7302         * text3.C:
7303         * text_funcs.[Ch]:
7304         * textcursor.h:
7305         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7306           text*.C to text_func.C
7307
7308 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * introduce namespace lyx::support
7311
7312 2003-06-30  André Pönitz  <poenitz@gmx.net>
7313
7314         * Chktex.C:
7315         * funcrequest.C:
7316         * lyxtext.h:
7317         * text.C: re-enable --with-included-string
7318
7319 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * textcursor.C: add <config.h>
7322
7323         * text.C (getWord): remove const from word_location arg
7324
7325         * lyxvc.C (getLogFile): fix const type order
7326
7327         * lyxtext.h: remove const from word_location arg, add arg name
7328
7329         * lyxlayout.h: currect type on labeltype.
7330
7331         * importer.C: correct \file
7332
7333         * converter.C (intToFormat): use std:: on ret val, ws changes
7334
7335         * bufferlist.h: correct \file
7336
7337         * buffer.C (makeLinuxDocFile): fix const type order
7338         (makeDocBookFile): ditto
7339         (fillWithBibKeys): use std:: on stdlib args.
7340
7341         * CutAndPaste.C: fix authors.
7342         (availableSelections): use std:: on return vector
7343
7344 2003-06-27  André Pönitz  <poenitz@gmx.net>
7345
7346         * BufferView_pimpl.C:
7347         * bufferview_funcs.C:
7348         * lyxcursor.C:
7349         * lyxcursor.h:
7350         * lyxfunc.C:
7351         * lyxtext.h:
7352         * rowpainter.C:
7353         * text.C:
7354         * text2.C:
7355         * text3.C: remove LyXCursor::row_ member
7356
7357         * lyxtext.h:
7358         * text.C: rename fullRebreak() to partialRebreak() and implement
7359           a fullRebreak() that really bereks fully
7360
7361         * textcursor.h: new struct for cursor-related data
7362
7363 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7364
7365         * lyx_main.C (LyX): get full path of document loaded on the
7366         command line
7367
7368 2003-06-26  André Pönitz  <poenitz@gmx.net>
7369
7370         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7371           remove unused/broken operator>,<,>=.
7372
7373         *       text.C: remove only use of broken operator<= in an Assert().
7374
7375 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7376
7377         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7378         moved errorlist_.clear to showErrorList
7379
7380 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7381
7382         * converter.C (scanLog, runLaTeX):
7383         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7384         move the bv->showErrorList call to the callers
7385         * lyxfunc.C: i.e. here...
7386         * text2.C: and here
7387         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7388         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7389         namespace, the second to...
7390         * buffer_funcs (BufferFormat, parseErrors): added
7391         * errorlist.C (ErrorList(TeXErrors const &)): removed
7392
7393 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7394
7395         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7396
7397 2003-06-24  "Garst R. Reese" <reese@isn.net>
7398
7399         * debug.C: fix typo
7400
7401 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7402
7403         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7404
7405         * version.C.in: change docversion to 1.4
7406
7407 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7408
7409         * buffer.C: fix a bug just introduced
7410
7411 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7412
7413         * buffer.[Ch]: added the parseError signal and use it, removed
7414         sgmlError
7415         * BufferView.[Ch] (addError): moved to ...
7416         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7417         to the Buffer::parseError signal to catch (guess what) parse errors
7418         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7419
7420 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7421
7422         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7423         ability to create a buffer and to return an existing one from
7424         the list. Moved these functions to...
7425         * buffer_funcs.[Ch]: added
7426         * BufferView.[Ch] (loadLyXFile): added
7427         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7428         job removed from bufferlist::loadLyXFile.
7429         * buffer.C (setReadOnly): make it work without view
7430         (i.e added an if (users))
7431
7432 2003-06-19  Angus Leeming  <leeming@lyx.org>
7433
7434         * lfuns.h:
7435         * LyXAction.C (init):
7436         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7437         with LFUN_DIALOG_SHOW <name> <data>.
7438
7439 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7440
7441         * CutAndPaste.C (availableSelections): small compilation fix for
7442         ancient (gcc 2.9x) compilers
7443
7444 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * text3.C (cursorNext): add tmp var
7447
7448         * text2.C (updateCounters): for function calling out of for clause
7449         (replaceSelectionWithString): ditto
7450         (insertStringAsParagraphs): ditto
7451         (getColumnNearX): add tmp var
7452         (setCursorFromCoordinates): add tmp var
7453         (cursorDownParagraph): add tmp var
7454         (deleteEmptyParagraphMechanism): add tmp var
7455
7456         * text.C (insertChar): add tmp var
7457
7458         * rowpainter.C (paintDepthBar): add tmp var
7459
7460         * CutAndPaste.C (availableSelections): potentially check all
7461         paragraphs in a cut to fill the shown strings.
7462
7463 2003-06-18  André Pönitz  <poenitz@gmx.net>
7464
7465         * kbmap.[Ch]: use vector<> instead of list<>
7466
7467 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7468
7469         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7470         pasteSelection with index
7471
7472         * text2.C (pasteSelection): modify, call pasteSelection with index
7473
7474         * paragraph.C (asString): reimplement version with no interval to
7475         call the one with interval.
7476
7477         * lyxtext.h: add index arg to pasteSelection
7478
7479         * MenuBackend.C (MenuItem): handle PasteRecent
7480         (Menu::read::Menutags): add md_pasterecent
7481         (read): handle it
7482         (expandPasteRecent): new function
7483         (expand): use it
7484
7485         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7486
7487         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7488         the limited stack
7489         (availableSelections): new function
7490
7491 2003-06-17  Angus Leeming  <leeming@lyx.org>
7492
7493         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7494
7495 2003-06-17  Angus Leeming  <leeming@lyx.org>
7496
7497         * lfuns.h:
7498         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7499
7500         * lyxfunc.C (dispatch): invoke it.
7501
7502 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7503
7504         * iterators.C (operator++, ParPosition): reintroduce some
7505         const_cast for the benefit of older compilers.
7506
7507 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7508
7509         * text3.C (dispatch): do not modify clipboard when doing
7510         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7511         LFUN_DELETE_SKIP on a selection selection
7512
7513 2003-06-16  André Pönitz  <poenitz@gmx.net>
7514
7515         * BufferView.C:
7516         * buffer.C:
7517         * buffer.h:
7518         * paragraph.C:
7519         * tabular.[Ch]: IU of clone() and getLabelList();
7520
7521 2003-06-13  André Pönitz  <poenitz@gmx.net>
7522
7523         * tabular.h: compactification
7524
7525 2003-06-12  André Pönitz  <poenitz@gmx.net>
7526
7527         * tabular.C:
7528         * tabular.h:
7529         * tabular_funcs.h: some renaming plus whitespace
7530
7531 2003-06-12  André Pönitz  <poenitz@gmx.net>
7532
7533         * BufferView.C:
7534         * BufferView_pimpl.C:
7535         * CutAndPaste.C:
7536         * buffer.C:
7537         * iterators.[Ch]:
7538         * lyxfunc.C:
7539         * text.C:
7540         * toc.C: Return a Paragraph & for ParIterator::operator*()
7541
7542 2003-06-11  John Levon  <levon@movementarian.org>
7543
7544         * lyx_main.C:
7545         * ToolbarBackend.h:
7546         * ToolbarBackend.C: add "Toolbars" section and
7547         put the flags there
7548
7549 2003-06-10  Angus Leeming  <leeming@lyx.org>
7550
7551         * lfuns.h:
7552         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7553
7554         * lyxfunc.C (dispatch): invoke it.
7555
7556 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * main.C: protect <ios> with HAVE_IOS
7559         (main): protect sync_with_stdio with HAVE_IOS
7560
7561 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7562
7563         * text2.C (cutSelection): adjust
7564         (pasteSelection): adjust
7565
7566         * messages.C: handle get of empty string
7567
7568         * main.C (main): use sync_with_stdio(false)
7569
7570         * lyxfunc.C (dispatch): adjust
7571
7572         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7573         (WriteAs): remove unneeded BufferView arg.
7574
7575         * bufferparams.h: use correct types on papersize, papersize2 and
7576         paperpackage.
7577
7578         * bufferparams.C (readToken): adjust for type
7579         (writeLaTeX): add missing cases to switch.
7580
7581         * bufferlist.C (quitWriteBuffer): adjust
7582         (close): adjust
7583
7584         * buffer.C (asciiParagraph): remove some commented code.
7585
7586         * CutAndPaste.C: remove current_view extern variable.
7587         (cutSelection): add BufferParams arg.
7588         (eraseSelection): add BufferParams arg.
7589         (pasteSelection): add Buffer const & arg
7590
7591 2003-06-07  John Levon  <levon@movementarian.org>
7592
7593         * buffer.C:
7594         * paragraph_funcs.C:
7595         * paragraph_pimpl.C:
7596         * text.C:
7597         * text2.C:
7598         * paragraph.h:
7599         * paragraph.C: allow InsetERT to freely space lines,
7600         and some consolidation of code
7601
7602 2003-06-06  José Matos  <jamatos@fep.up.pt>
7603
7604         * buffer.C (makeDocBookFile): fix bug #821
7605
7606 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7607
7608         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7609
7610 2003-06-04  Angus Leeming  <leeming@lyx.org>
7611
7612         * buffer.C: bump format to 224.
7613
7614 2003-06-05  André Pönitz  <poenitz@gmx.net>
7615
7616         * text2.C (redoParagraphs): remove two const_cast<>
7617
7618 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7619
7620         * ParagraphList.h: remove last remnants of NO_STD_LIST
7621
7622 2003-06-03  Angus Leeming  <leeming@lyx.org>
7623
7624         * factory.C (createInset): small change to the way InsetExternal's params
7625         are set.
7626
7627 2003-06-04  André Pönitz  <poenitz@gmx.net>
7628
7629         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7630
7631         * paragraph_pimpl.h:
7632         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7633
7634         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7635
7636         * undo_funcs.C: make some simple cases of undo work again
7637
7638 2003-06-03  John Levon  <levon@movementarian.org>
7639
7640         * ispell.C: HPUX doesn't have sys/select.h
7641         (from Albert Chin)
7642
7643 2003-06-03  John Levon  <levon@movementarian.org>
7644
7645         * CutAndPaste.C: update tabular and include inset
7646         buffer references
7647
7648         * buffer.h:
7649         * paragraph.h:
7650         * paragraph.C: remove owningBuffer(), don't pass Buffer
7651         to clone()
7652
7653         * factory.C: insetGraphicsParams changed
7654
7655 2003-06-02  John Levon  <levon@movementarian.org>
7656
7657         * LyXAction.C:
7658         * factory.C:
7659         * lfuns.h:
7660         * lyxfunc.C:
7661         * text3.C: remove insetparent
7662
7663 2003-06-02  John Levon  <levon@movementarian.org>
7664
7665         * buffer.h:
7666         * buffer.C: fix inset_iterator.end(), move out of line
7667         (bug 1149)
7668
7669 2003-06-01  John Levon  <levon@movementarian.org>
7670
7671         * text3.C: use a proper cut/paste when doing inset
7672         insert (from Jürgen Spitzmüller)
7673
7674 2003-06-01  John Levon  <levon@movementarian.org>
7675
7676         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7677
7678 2003-05-30  André Pönitz  <poenitz@gmx.net>
7679
7680         * rowpainter.C: unify second drawing phase
7681
7682 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * trans_mgr.C: remove one case of current_view
7685
7686         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7687
7688         * paragraph_funcs.h: remove paragraph.h include
7689
7690         * paragraph.h: delete NO_STD_LIST stuff
7691
7692         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7693
7694         * buffer.h: remove paragraph.h include
7695
7696         * ParagraphList.C: delete file
7697
7698         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7699
7700         * toc.C (getTocList): adjust
7701
7702         * paragraph_pimpl.C (validate): adjust
7703
7704         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7705
7706         * paragraph.C (Paragraph): adjust
7707         (getPositionOfInset): use const_iterator, adjust
7708         (bibitem): use const_iterator, adjust
7709         (setInsetOwner): adjust
7710
7711         * iterators.C (operator++): adjust
7712
7713         * InsetList.[Ch]: Replace selfmade iterator with standard
7714         vector::iterator also introduce const_iterator. Remove getPos,
7715         getInset and setInset from InsetTable. Adjust accordingly.
7716
7717         * BufferView.C (lockInset): adjust
7718         (ChangeInsets): adjust
7719
7720         * tabular.[Ch]: delete commented same_id functions
7721
7722 2003-05-28  John Levon  <levon@movementarian.org>
7723
7724         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7725
7726 2003-05-28  André Pönitz  <poenitz@gmx.net>
7727
7728         * metricsinfo.[Ch]: remove 'fullredraw' member
7729
7730 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7731
7732         * lyxtextclass.C (operator): remove caching.
7733
7734 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * text3.C: adjust
7737
7738         * text2.C (cursorBottom): adjust
7739         (setCounter): use ParagraphList::find, adjust
7740
7741         * text.C (workWidth): use ParagraphList::find, adjust
7742
7743         * lyxcursor.C (LyXCursor): adjust
7744
7745         * buffer.C (inset_iterator): adjust
7746
7747         * ParagraphList.h: make iterator(value_type) private, make
7748         ParagraphList a friend of iterator.
7749
7750         * ParagraphList.C (find): new function
7751
7752         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7753
7754 2003-05-27  André Pönitz  <poenitz@gmx.net>
7755
7756         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7757
7758 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7759
7760         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7761
7762 2003-05-26  John Levon  <levon@movementarian.org>
7763
7764         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7765
7766 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7767
7768         * remove same_id from function signatures, adjust.
7769
7770 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7773
7774         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7775
7776         * paragraph.C (Paragraph): get rid of same_ids parameter
7777
7778         * ParagraphList.C (insert): adjust
7779         (push_back): adjust
7780
7781 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * paragraph_funcs.C (breakParagraph): adjust
7784         (breakParagraphConservative): adjust
7785
7786         * buffer.C (readParagraph): adjust
7787
7788         * ParagraphList.C (insert): take a reference instead of a pointer
7789         (insert): adjust
7790
7791         * paragraph.[Ch] (id): new function
7792
7793         * bufferlist.C (newFile): adjust
7794
7795         * ParagraphList.C (ParagraphList): adjust
7796         (assign): adjust
7797         (push_back): take a reference instead of a pointer.
7798
7799         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7800
7801         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7802         instead.
7803
7804         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7805         set else use old code.
7806
7807         * ParagraphList.C: remove all NO_NEXT code and only compile this
7808         code of NO_STD_LIST is set.
7809
7810 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7811
7812         * BufferView_pimpl.C:
7813         * TextCache.C:
7814         * TextCache.h:
7815         * bufferlist.C:
7816         * errorlist.h:
7817         * format.C:
7818         * format.h:
7819         * graph.C:
7820         * lyxfunc.C:
7821         * lyxrc.C:
7822         * graphics/GraphicsConverter.C:
7823         * graphics/PreviewLoader.C: header adjustment
7824
7825 2003-05-23  Angus Leeming  <leeming@lyx.org>
7826
7827         * LaTeXFeatures.[Ch] (useBabel): new method.
7828         * bufferparams.C (writeLaTeX): use it.
7829
7830 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * ParagraphList.h (set): remove unused function.
7833
7834 2003-05-23  André Pönitz  <poenitz@gmx.net>
7835
7836         * BufferView.C:
7837         * BufferView_pimpl.C:
7838         * buffer.C:
7839         * buffer.h:
7840         * lyxfunc.C:
7841         * undo_funcs.C: setUndo reworked
7842
7843         * iterators.[Ch]: add access to topmost ParagraphList
7844
7845         * lyxtext.[Ch] (workWidth): add a const
7846
7847 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7848
7849         * texrow.[Ch] (increasePos): remove function
7850         * exporter.C (export): removed unused var and outdated comment
7851
7852 2003-05-23  Angus Leeming  <leeming@lyx.org>
7853
7854         * latexrunparams.h: rename fragile as moving_arg.
7855         * paragraph.C (simpleTeXOnePar): ditto.
7856         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7857
7858 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7861         (createUndo): ditto
7862         (textUndoOrRedo): comment out a currently unused var.
7863
7864         * paragraph.h (NO_NEXT): enable NO_NEXT
7865
7866         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7867
7868         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7869
7870         * exporter.C (Export): adjust for removeAutoInsets removal.
7871
7872         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7873
7874         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7875
7876         * BufferView.[Ch] (removeAutoInsets): delete function
7877
7878 2003-05-22  Angus Leeming  <leeming@lyx.org>
7879
7880         * latexrunparams.h: add a free_spacing variable.
7881
7882         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7883         to pass moving_arg, as the data is stored in runparams.fragile.
7884
7885         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7886         to Inset::latexOptional or to simpleTeXOnePar.
7887
7888         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7889         free_spacing arg to Inset::latexOptional.
7890
7891         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7892         free_spacing arg.
7893
7894 2003-05-22  Angus Leeming  <leeming@lyx.org>
7895
7896         * latexrunparams.h: add fragile and use_babel variables.
7897
7898         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7899         * buffer.C (makeLaTeXFile): store this returned value in
7900         runparams.use_babel, thus passing it to the inset::latex methods.
7901
7902         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7903         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7904
7905         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7906         longer has a fragile arg, as it is stored in runparams.fragile.
7907
7908         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7909         moving_arg parameter as the data is stored in runparams.fragile.
7910
7911         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7912         a fragile parameter as the data is stored in runparams.fragile.
7913
7914 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7917
7918 2003-05-22  Angus Leeming  <leeming@lyx.org>
7919
7920         * latexrunparams.h: add a 'bool nice' which defaults to false.
7921
7922         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7923         now encapsulated within runparams.
7924
7925         * bufferlist.C (updateIncludedTeXfiles):
7926         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7927
7928 2003-05-22  Angus Leeming  <leeming@lyx.org>
7929
7930         * latexrunparams.h: new file containing struct LatexRunParams.
7931         * Makefile.am: add new file.
7932
7933         * LaTeX.[Ch] (c-tor, run):
7934         * buffer.[Ch] (makeLaTeXFile):
7935         * bufferlist.[Ch] (updateIncludedTeXfiles):
7936         * converter.C (convert, scanLog):
7937         * converter.[Ch] (runLaTeX):
7938         * exporter.C (Export):
7939         * paragraph.[Ch] (simpleTeXOnePar):
7940         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7941         * paragraph_funcs.[Ch] (latexParagraphs):
7942         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7943         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7944         pass around a LatexRunParams parameter.
7945
7946 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * paragraph.[Ch]: remove unused constructor
7949
7950         * ParagraphList.C (erase): new function, taking two iterators
7951
7952 2003-05-22  André Pönitz  <poenitz@gmx.net>
7953
7954         * undo_funcs.C: remove duplicated code
7955
7956         * iterator.[Ch]: operator=
7957
7958 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * tabular.C (SetMultiColumn): ws changes
7961
7962         * rowpainter.C (paintFirst): get rid of a ->previous
7963
7964         * lyx_cb.C (getPossibleLabel): parlist simplification
7965
7966         * BufferView.C (ChangeInsets): simplify slightly.
7967
7968 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7969
7970         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7971         * lfuns.h: new LFUN_SPACE
7972         * lyxfunc.C: protected space has a new lfun
7973         * paragraph_funcs.C: read new space insets
7974         * text3.C:
7975         * factory.C: handle new space insets
7976
7977 2003-05-22  André Pönitz  <poenitz@gmx.net>
7978
7979         * BufferView.C:
7980         * BufferView_pimpl.C:
7981         * buffer.[Ch]:
7982         * lyxfunc.C:
7983         * undo_funcs.C: return a ParIterator from getParFromID.
7984
7985         * iterators.[Ch]: add two const's
7986
7987 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * toc.C (getTocList): adjust
7990
7991         * iterators.[Ch]: rework for parlist
7992
7993         * buffer.C (par_iterator_begin): adjust
7994         (par_iterator_end): adjust
7995
7996         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7997
7998         * BufferView.C (removeAutoInsets): adjust
7999         (ChangeInsets): adjust
8000
8001 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8002
8003         * text.C (top_y): fix bug 1110
8004
8005 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8006
8007         * errorlist.[Ch]: added
8008         * buffer.C:
8009         * BufferView.[Ch]:
8010         * BufferView_pimpl.C:
8011         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8012         instead
8013
8014 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8015
8016         * Makefile.am: ensure that lyx is relinked upon changes to the
8017         various "convenience" libs.
8018
8019 2003-05-20  Angus Leeming  <leeming@lyx.org>
8020
8021         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8022         files are compiled in alphabetical order again.
8023
8024         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8025
8026 2003-05-19  Angus Leeming  <leeming@lyx.org>
8027
8028         * gettext.[Ch]: remove "char const * _(char const *)".
8029
8030 2003-05-19  André Pönitz  <poenitz@gmx.net>
8031
8032         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8033
8034         * Makefile.am:
8035         * BufferView.C:
8036         * DepTable.h:
8037         * LaTeXFeatures.C:
8038         * buffer.C:
8039         * lyxfont.C:
8040         * lyxlex.h:
8041         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8042
8043 2003-05-19  André Pönitz  <poenitz@gmx.net>
8044
8045         * buffer.C:
8046         * lyxlayout.[Ch]:
8047         * lyxtextclass.[Ch]:
8048         * paragraph.C:
8049         * paragraph_funcs.[Ch]:
8050         * text2.C:
8051         * text3.C: more insetenv work
8052
8053 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8054
8055         * ParagraphParameters.C (params2string): small bug fixed
8056
8057 2003-05-16  André Pönitz  <poenitz@gmx.net>
8058
8059         * debug.C:
8060         * bufferview_funcs.C: patch from Kornel Benko to prevent
8061           crash when _(...) is called twice in a statement
8062
8063 2003-05-16  André Pönitz  <poenitz@gmx.net>
8064
8065         * BufferView.C:
8066         * lyxfunc.C:
8067         * text.C:
8068         * text2.C:
8069         * text3.C:
8070         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8071
8072 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8073
8074         * lyx_main.C (init): remove spurious static_cast
8075
8076 2003-05-14  André Pönitz  <poenitz@gmx.net>
8077
8078         * BufferView.C: fix format string
8079
8080 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8081
8082         * BufferView.[Ch] (insertErrors): removed
8083         * BufferView.[Ch] (showErrorList): added
8084         * buffer.C (runChkTeX):
8085         * converter.C (scanLog): call showErrorList instead of inserterrors
8086
8087 2003-05-13  André Pönitz  <poenitz@gmx.net>
8088
8089         * BufferView_pimpl.C:
8090         * buffer.C:
8091         * bufferview_func.C:
8092         * MenuBackend.C:
8093         * lyxfunc.C:
8094         * lyxrc.C:
8095         * tex-accent.C:
8096         * text3.C:
8097         * toc.C:
8098         * tabular_funcs.h: tostr() from its own header
8099
8100         * ParagraphParameters.C:
8101         * ToolbarBackend.C:
8102         * bufferparams.C:
8103         * format.C:
8104         * lyxlex_pimpl.C:
8105         * text3.C: STRCONV()
8106
8107 2003-05-12  André Pönitz  <poenitz@gmx.net>
8108
8109         * BufferView.C:
8110         * BufferView_pimpl.C:
8111         * CutAndPaste.C:
8112         * LaTeX.C:
8113         * LaTeXFeatures.C:
8114         * ParagraphParameters.C:
8115         * buffer.C:
8116         * bufferlist.C:
8117         * bufferparams.C:
8118         * bufferview_funcs.C:
8119         * converter.C:
8120         * counters.C:
8121         * debug.C:
8122         * exporter.C:
8123         * format.C:
8124         * importer.C:
8125         * lyx_cb.C:
8126         * lyx_main.C:
8127         * lyxfont.C:
8128         * lyxfunc.C:
8129         * lyxvc.C:
8130         * paragraph.C:
8131         * paragraph_funcs.C:
8132         * tabular.C:
8133         * tabular_funcs.C:
8134         * text2.C:
8135         * text3.C:  boost::format -> bformat  all over the place
8136
8137
8138 2003-05-09  André Pönitz  <poenitz@gmx.net>
8139
8140         * LColor.[Ch]: Pimpl the #include <map> away
8141
8142 2003-05-09  John Levon  <levon@movementarian.org>
8143
8144         * bufferlist.C: never remove emergency saves
8145
8146 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * Makefile.am: better lib building
8149
8150 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8153         instead.
8154         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8155         (simpleTeXSpecialChars): adjust
8156         (simpleTeXSpecialChars): adjust
8157         * paragraph.C (simpleTeXOnePar): adjust
8158         * buffer.C (makeLaTeXFile): adjust
8159
8160         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8161
8162         * text2.C (changeDepth): parlist cleanup
8163         (getColumnNearX): ditto
8164
8165         * rowpainter.C (getLabelFont): parlist cleanup
8166
8167         * bufferlist.C (newFile): parlist cleanup
8168
8169         * CutAndPaste.C (eraseSelection): parlist cleanup
8170
8171         * BufferView_pimpl.C (trackChanges): parlist cleanup
8172         (dispatch): ditto
8173
8174         * BufferView.C (lockInset): parlist cleanup.
8175         (ChangeInsets): ditto
8176
8177 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * CutAndPaste.h: Update file header.
8180
8181         * CutAndPaste.C: Update file header.
8182         Store the parts cut out of the Document in a limited_stack.
8183         (copySelection): adjust
8184         (pasteSelection): new function, takes the index in the limited stack.
8185         (nrOfParagraphs): adjust
8186         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8187         simplify error inset insertion.
8188         (checkPastePossible): adjust
8189
8190 2003-05-06  John Levon  <levon@movementarian.org>
8191
8192         * text2.C: don't cast wrap inset to float
8193
8194 2003-05-05  André Pönitz  <poenitz@gmx.net>
8195
8196         * iterator.C:
8197         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8198
8199         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8200           few naked Paragraph *.
8201
8202 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8203
8204         * bufferparams.C: Output warning if a document with missing
8205         TeX document class is loaded
8206         * exporter.C: Disable TeX exports if the document class is missing
8207         * lyxtextclass.C:
8208         * lyxtextclass.h:
8209         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8210         isTeXClassAvailable()
8211
8212 2003-05-03  John Levon  <levon@movementarian.org>
8213
8214         * BufferView.h:
8215         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8216         explicit cursor show/hide
8217
8218         * BufferView_pimpl.h:
8219         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8220         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8221
8222         * lyxfunc.C: hide cursor before dispatching.
8223
8224         * lyx_cb.C:
8225         * lyxfind.C:
8226         * text.C:
8227         * text3.C: remove explicit cursor hides
8228
8229 2003-05-02  André Pönitz  <poenitz@gmx.net>
8230
8231         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8232
8233         * undo_funcs.C:
8234         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8235           linked lists
8236
8237         * text2.C: tiny whitespace
8238
8239 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * undo_funcs.C: almost only ws changes.
8242
8243         * ParagraphList.C (splice): just return if pl is empty.
8244
8245 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8246
8247         * ParagraphList.C (splice): new function.
8248
8249         * CutAndPaste.C (pasteSelection): use it
8250
8251 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * CutAndPaste.C (pasteSelection): remove the last next and
8254         previous from this file.
8255
8256 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * CutAndPaste.C (pasteSelection): more clean up, user proper
8259         ParagraphList functions for pasteing.
8260
8261         * ParagraphList.C (insert): new function, three arg insert
8262
8263 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * ParagraphList.C (insert): new function, three arg insert
8266
8267         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8268         not on paragraphs.
8269
8270 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8273
8274 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8277
8278 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8281         (copySelection): clean up a bit.
8282         (pasteSelection): use make_pair
8283
8284         * ParagraphList.C (ParagraphList): implement copy constructor
8285         (operator=): implement, base on copy constructor.
8286         (assign): new func
8287
8288         * paragraph.C (erase): return a bool
8289
8290         * paragraph_pimpl.C (erasePos): remove function, move contents...
8291         (erase): ... here. Return a bool.
8292         (erase): call erase instead of erasePos.
8293
8294 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8295
8296         * ParagraphList.h: define PitPosPair
8297         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8298         ParagraphList, fix a bug on pasting multiple pars
8299         * text2.C: change interface to C&P
8300
8301 2003-04-30  André Pönitz  <poenitz@gmx.net>
8302
8303         * undo_func.C: revert part of yesterday's patch 2
8304
8305 2003-04-30  John Levon  <levon@movementarian.org>
8306
8307         * LColor.C: s/tabular/table/
8308
8309 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8310
8311         * text3.C (dispatch): do not convert iterator -> pointer
8312         * undo_funcs.C (setCursorParUndo): ditto
8313         * text_funcs.C (transposeChars): ditto
8314
8315         * text2.C (setLayout): ws changes only
8316
8317         * text.C (breakParagraph): do not convert iterator -> pointer
8318         (insertChar): ditto
8319         (acceptChange): ditto
8320         (rejectChange): ditto
8321         (changeCase): ditto
8322         (Delete): ditto
8323         (backspace): ditto
8324
8325         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8326         pointer
8327
8328 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8329
8330         * text3.C (gotoInset): YABG (yet another bad getChar)
8331
8332 2003-04-29  André Pönitz  <poenitz@gmx.net>
8333
8334         * paragraph.h: make operator= private unimplemented as long as
8335           it is unusable
8336
8337         * ParagraphList.C: whitespace
8338
8339         * paragraph.[Ch]:
8340         * paragraph_pimpl.[Ch]:
8341         * paragraph_funcs.C:
8342         * CutAndPaste.C:
8343         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8344
8345         * text2.C:
8346           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8347
8348 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8349
8350         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8351         * paragraph.[Ch] (erase):
8352         * paragraph_pimpl.[Ch] (erase): change return type and value
8353         * text2.C (cutSelection): some rework
8354
8355 2003-04-28  John Levon  <levon@movementarian.org>
8356
8357         * bufferlist.C: changes for unsaved changes dialog
8358
8359 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * bufferlist.C (newFile): set language (messages_) for new
8362         documents also.
8363
8364         * buffer.C (readFile): ws changes only.
8365
8366 2003-04-28  André Pönitz  <poenitz@gmx.net>
8367
8368         * undo_funcs.C:
8369         * lyxfunc.C:
8370         * buffer.[Ch]:
8371         * BufferView_pimpl.C:
8372         * BufferView.C: getParFromID related ParagraphList::iterator changes
8373
8374 2003-04-28  André Pönitz  <poenitz@gmx.net>
8375
8376         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8377           Changes
8378
8379 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * messages.C: remove one more localedir class variable.
8382
8383 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * messages.C (getLocaleDir): singleton generation function
8386         (Pimpl): use it.
8387         (Messages): add a default constructor.
8388
8389         * main.C (main): do not setup localedir here, do not call
8390         gettext_init.
8391
8392         * gettext.C (_): use it.
8393         (gettext_init): delete funciton
8394
8395 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * gettext.C (getLyXMessages): new singleton generating function.
8398
8399         * buffer.C (updateDocLang): adjust
8400
8401         * Makefile.am (messages.o): add target
8402         (main.o): remove target
8403
8404 2003-04-27  John Levon  <levon@movementarian.org>
8405
8406         * bufferlist.C:
8407         * lyx_cb.C:
8408         * lyxfunc.C:
8409         * lyxvc.C: specify cancel button in Alert::prompt
8410
8411 2003-04-26  John Levon  <levon@movementarian.org>
8412
8413         * text3.C:
8414         * lyxfunc.C:
8415         * lfuns.h:
8416         * LyXAction.C: add LFUN_INSET_SETTINGS
8417
8418         * lyxfunc.C: don't enable tabular-feature when there's
8419         just any locking inset
8420
8421 2003-04-26  John Levon  <levon@movementarian.org>
8422
8423         * bufferlist.C: re-add Cancel to buffer close question
8424
8425         * lyxfunc.C: fix import UI a bit
8426
8427 2003-04-25  John Levon  <levon@movementarian.org>
8428
8429         * gettext.C: remove the broken asserts for now
8430
8431 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * messages.C: make case where setlocale cannot comply work better.
8434
8435         * buffer.C (updateDocLang): new function
8436         (changeLanguage): use it
8437         (readFile): use it
8438
8439         * text2.C (setCounter): use B_ a bit.
8440
8441         * lyxlayout.C (Read): be sure to trim the label strings.
8442
8443         * messages.C (Messages): fix typo in comment
8444
8445         * buffer.C (readFile): set message_ after file is loaded.
8446         (makeDocBookFile): remove double return
8447         (changeLanguage): reset message_ upon language change.
8448         (B_): new func, use this to get translated buffer strings.
8449
8450         * main.C: add myself and Jean Marc as authors.
8451
8452 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8453
8454         * messages.[hC]: pimplify Messages, and three different pimpls to be
8455         used in different circumstances.
8456
8457         * gettext.[Ch]: change for use with new message code.
8458
8459 2003-04-24 André Pönitz <poenitz@gmx.net>
8460
8461         * factory.C: support for eqref
8462
8463 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * messages.[Ch]: add missing char
8466
8467         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8468
8469         * messages.[Ch]: New files
8470
8471 2003-04-18  John Levon  <levon@movementarian.org>
8472
8473         * BufferView.h:
8474         * BufferView.C:
8475         * BufferView_pimpl.C:
8476         * lfuns.h:
8477         * LyXAction.C:
8478         * lyxtext.h:
8479         * text2.C: remove layout-copy/paste (bug 778)
8480
8481 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8482
8483         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8484
8485 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8486
8487         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8488         if they succeed. Act accordingly.
8489
8490 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * text2.C (setCharFont): adjust
8493         (setCounter): adjust
8494         (insertStringAsLines): adjust
8495
8496         * text.C (leftMargin): adjust
8497         (setHeightOfRow): adjust
8498
8499         * rowpainter.C (paintFirst): adjust
8500         (paintLast): adjust
8501
8502         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8503         (outerHook): ditto
8504         (isFirstInSequence): ditto
8505         (getEndLabel): ditto
8506         (outerFont): adjust
8507
8508         * paragraph.C (getParLanguage): comment out some hard stuff.
8509
8510         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8511         (sgmlError): ditto
8512         (simpleDocBookOnePar): ditto
8513         (makeDocBookFile): use ParagraphList::iterator
8514
8515         * CutAndPaste.C (pasteSelection): adjust
8516
8517 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8518
8519         * text2.C (getFont): adjust
8520         (getLayoutFont): adjust
8521         (getLabelFont): adjust
8522
8523         * paragraph_funcs.C (TeXOnePar): adjust
8524
8525         * buffer.C (simpleLinuxDocOnePar): adjust
8526         (simpleDocBookOnePar): adjust
8527
8528         * CutAndPaste.C (pasteSelection): adjust
8529
8530         * BufferView.C (getEncoding): adjust
8531
8532         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8533
8534 2003-04-16  John Levon  <levon@movementarian.org>
8535
8536         * lyxfind.C: use parlist stuff for search/changes
8537
8538 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8541
8542         * text2.C (deleteEmptyParagraphMechanism): adjust
8543
8544         * text2.[Ch] (ownerParagraph): delete func (both of them
8545
8546 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8549
8550 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * ParagraphList.C: prepare for NO_NEXT
8553
8554 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8555
8556         * text2.C (getFont): adjust
8557         (getLayoutFont): adjust
8558         (getLabelFont): adjust
8559
8560         * paragraph.C (getFont): adjust
8561         (getLabelFont): adjust
8562         (getLayoutFont): adjust
8563
8564         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8565
8566 2003-04-15  John Levon  <levon@movementarian.org>
8567
8568         From Angus Leeming
8569
8570         * lyx_main.C: handle Include in .ui files
8571
8572 2003-04-15  John Levon  <levon@movementarian.org>
8573
8574         * MenuBackend.C: make the doc files length shorter
8575
8576         * ToolbarBackend.h:
8577         * ToolbarBackend.C: handle toolbar placement flags,
8578         Minibuffer
8579
8580 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8583         adjust
8584
8585         * paragraph_funcs.C (TeXOnePar): adjust
8586
8587         * paragraph.C (getLabelFont): add outerfont arg, adjust
8588         (getLayoutFont): ditto
8589         (simpleTeXOnePar): adjust
8590
8591         * paragraph_pimpl.C (realizeFont): delete func
8592
8593 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8594
8595         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8596         row argument, constify cur argument.
8597
8598 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8599
8600         * text2.C (getFont): adjust
8601         (getLayoutFont): adjust
8602         (getLabelFont): adjust
8603
8604         * paragraph_funcs.C (TeXOnePar): adjust
8605         (outerFont): new func...
8606         (realizeFont): ...moved out from here, changed this to facilitate
8607         transition
8608
8609         * paragraph.C (getFont): take outerfont as arg, adjust
8610         (simpleTeXOnePar): add outerfont arg, adjust
8611
8612         * buffer.C (simpleLinuxDocOnePar): adjust
8613         (simpleDocBookOnePar): adjust
8614
8615         * CutAndPaste.C (pasteSelection): adjust
8616
8617         * BufferView.C (getEncoding): adjust
8618
8619 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8620
8621         * text2.C (setCharFont): adjust
8622         (setCounter): adjust
8623
8624         * text.C (leftMargin): adjust
8625         (setHeightOfRow): adjust
8626
8627         * rowpainter.C (paintFirst): adjust
8628         (paintLast): adjust
8629
8630         * paragraph_pimpl.C (realizeFont): adjust
8631
8632         * paragraph.C (isFirstInSequence): move from here...
8633         * paragraph_funcs.C (isFirstInSequence): ...to here
8634
8635         * paragraph.C (outerHook): move from here...
8636         * paragraph_funcs.C (outerHook): ...to here
8637
8638         * paragraph.C (depthHook): move from here...
8639         * paragraph_funcs.C (depthHook): ...to here
8640
8641         * paragraph.C (getEndLabel): move from here...
8642         * paragraph_funcs.C (getEndLabel): ...to here
8643
8644         * text2.C (realizeFont): move from here...
8645         * paragraph_funcs.C (realizeFont): ...to here
8646
8647 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8648
8649         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8650
8651 2003-04-14  Angus Leeming  <leeming@lyx.org>
8652
8653         * LColor.[Ch]: scrap LColor mathcursor.
8654
8655 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * lyxlex.[Ch] (text): delete function
8658         * trans.C (Load): adjust
8659         * paragraph_funcs.C (readParToken): adjust
8660
8661 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8662
8663         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8664         vector<char> instead of a char[].
8665
8666         * lyxlex_pimpl.C (getString): adjust
8667         (next): adjust
8668         (lex): use getString
8669         (eatLine): adjust
8670         (nextToken): adjust
8671
8672         * lyxlex.C (text): use pimpl_->getString()
8673         (getBool): ditto
8674         (findToken): ditto
8675
8676 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8679         (makeFontEntriesLayoutSpecific): temp var for par.size()
8680         (setLayout): temp var for ownerParagraphs().end()
8681         (fullRebreak): temp var for rows().end()
8682         (selectionAsString): temp var for boost::next(startpit), realize
8683         that the while really is a regular for loop.
8684         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8685         setCursor in one place.
8686         (setParagraph): temp vr for ownerParagraphs().end()
8687         (updateCounters): make the while loop a for loop
8688         (cutSelection): temp var for ownerParagraphs().end()
8689         (updateInset): make the do {} while() a regular for loop
8690         (getCursorX): use temp vars
8691         (setCurrentFont): use temp vars
8692         (getColumnNearX): use temp vars
8693
8694 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8695
8696         * text.C (transformChar): use temp var for getChar
8697         (computeBidiTables): use temp var for row->par()
8698         (fill): move temp vars for row->par() and pit->layout() earlier in
8699         the function.
8700         (labelFill): use temp var for row->par()
8701         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8702         asc and desc, realize that pit never changes and that firstpit is
8703         just a duplicate and not needed. Exchange rit->par() with pit in a
8704         lot of places.
8705         (breakAgain): use a temp var for boost::next(rit)
8706         (breakAgainOneRow): ditto
8707         (breakParagraph): use a temp var for rows().begin()
8708         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8709         (cursorRightOneWord): use temp var for cursor.par() and
8710         cursor.pos(), remove usage of tmpcursor.
8711         (cursorLeftOneWord): use temp var for cursor.par() and
8712         cursor.pos() only set cur at end of function.
8713
8714 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * text.C, text2.C: exchange all usage of Paragraph::next with
8717         boost::next(ParagraphList::iterator)
8718
8719         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8720
8721         * text2.C (cursorTop): simplify implementation
8722         (cursorBottom): ditto
8723         (setParagraph): use ParagraphList::iterator
8724         (setCurrentFont): adjust
8725         (getColumnNearX): adjust
8726         (cursorRight): adjust
8727         (cursorLeft): remove usage of Paragraph::previous
8728         (cursorUpParagraph): ditto
8729         (deleteEmptyParagraphMechanism): slight cleanup
8730
8731         * text.C (isBoundary): take a Paragraph const & instead of a
8732         pointer as arg.
8733         (addressBreakPoint): ditto
8734         (leftMargin): remove usage of Paragraph::previous.
8735         (setHeightOfRow): ditto
8736         (cursorLeftOneWord): ditto
8737         (selectNextWordToSpellcheck): ditto
8738         (Delete): ditto
8739         (backspace): ditto
8740         (breakParagraph): remove one usage of Paragraph::next
8741         (redoParagraph): ditto
8742         (acceptChange): ditto
8743         (insertChar): adjust
8744         (rowBreakPoint): adjust
8745
8746         * bufferview_funcs.C (toggleAndShow): adjust
8747
8748 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8749
8750         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8751         methods to access it.
8752         * lyxtext.h:
8753         * text.C: Added updateRowPositions to compute all row positions.
8754         Make top_y and getRowNearY() to use the cached y position
8755
8756 2003-04-11  John Levon  <levon@movementarian.org>
8757
8758         * text.C (rowBreakPoint): reintroduce the labelEnd
8759         checks, code copied from the row fill stuff. Deep voodoo.
8760
8761         * text.C (fill): add a comment and debugging for the
8762         next poor soul.
8763
8764 2003-04-11  John Levon  <levon@movementarian.org>
8765
8766         * text.C: make sure fullrow insets get wrapped to the next line,
8767         even when they're in a manual label
8768
8769 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8770
8771         * text2.C (insertParagraph): make it take ParagraphList::iterator
8772         as arg.
8773         (setLayout): make it return ParagraphList::iterator
8774         (redoParagraphs): ditto
8775         (setCounter): ditto
8776         (checkParagraph): ditto
8777
8778         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8779
8780         * text2.C: adjust several funcs.
8781         (realizeFont): take a ParagraphList::iterator as arg.
8782         (getLayoutFont): ditto
8783         (getLabelFont): ditto
8784         (setCharFont): ditto
8785
8786         * text.C: adjust several funcs.
8787
8788 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8789
8790         * text.C (selectNextWordToSpellcheck): don't accidentally
8791         skip insets
8792
8793 2003-04-10  John Levon  <levon@movementarian.org>
8794
8795         * ToolbarBackend.C (getIcon): special handling for
8796         LFUN_MATH_DELIM
8797
8798 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8799
8800         * text2.C (cursorRight): a getChar assert fixed
8801
8802 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * text2.C (getFont): change to take a ParagraphList::iterator
8805         instead of Paragraph*
8806         Adjust several functions.
8807
8808         * text.C (transformChar): change to take a ParagraphList::iterator
8809         instead of Paragraph*
8810         (singleWidth): ditto
8811         Adjust several functions.
8812
8813         * rowpainter.C: adjust several functions
8814         * rowpainter.h:store a ParagraphList::iterator and not a
8815         Paragraph&.
8816
8817
8818 2003-04-09  John Levon  <levon@movementarian.org>
8819
8820         * lyxfunc.C:
8821         * lfuns.h:
8822         * LyXAction.h:
8823         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8824         and the "help" bits as well
8825
8826 2003-04-09  John Levon  <levon@movementarian.org>
8827
8828         * ToolbarBackend.h:
8829         * ToolbarBackend.C: allow multiple toolbars
8830
8831 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * undo_funcs.C (setCursorParUndo): adjust
8834
8835         * text_funcs.C (transposeChars): adjust
8836
8837         * text3.C (gotoNextInset): adjust
8838         (dispatch): adjust
8839
8840         * text2.C (setLayout): adjust
8841         (changeDepth): adjust
8842         (setFont): adjust
8843         (redoParagraphs): adjust
8844         (selectionAsString): adjust
8845         (setParagraph): adjust
8846         (insertInset): adjust
8847         (cutSelection): adjust
8848         (copySelection): adjust
8849         (pasteSelection): adjust
8850         (insertStringAsLines): adjust
8851         (updateInset): adjust
8852         (setCursor): change to take a ParagraphList::iterator parameter
8853         (setCursorIntern): change to take a ParagraphList::iterator parameter
8854         (setCurrentFont): adjust
8855         (cursorLeft): adjust
8856         (cursorRight): adjust
8857         (deleteEmptyParagraphMechanism): adjust
8858
8859         * text.C (breakParagraph): adjust
8860         (insertChar): adjust
8861         (acceptChange): adjust
8862         (rejectChange): adjust
8863         (selectNextWordToSpellcheck): adjust
8864         (changeCase): adjust
8865         (Delete): adjust
8866         (backspace): adjust
8867
8868         * lyxfind.C (SearchForward): adjust
8869         (SearchBackward): adjust
8870         (nextChange): adjust
8871
8872         * lyxcursor.C (par): adjust
8873
8874         * lyxcursor.h: store a ParagraphList::iterator instead of a
8875         Paragraph*
8876
8877         * lyx_cb.C (getPossibleLabel): adjust
8878
8879         * bufferview_funcs.C (toggleAndShow): adjust
8880
8881         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8882         (dispatch): adjust
8883
8884         * BufferView.C (removeAutoInsets): adjust
8885         (lockedInsetStoreUndo): adjust
8886
8887 2003-04-09  John Levon  <levon@movementarian.org>
8888
8889         * ToolbarBackend.C: try icon without argument
8890         if with argument fails
8891
8892 2003-04-08  John Levon  <levon@movementarian.org>
8893
8894         * ToolbarBackend.h:
8895         * ToolbarBackend.C: add getIcon(), handle tooltip,
8896         and change from "Icon" to "Item".
8897
8898 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8899
8900         * BufferView.C (lockInset): another bad getchar crunched
8901
8902 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8903
8904         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8905         again)
8906
8907 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8908
8909         * lyxfind.C (searchForward, searchBackwards): bug 782
8910
8911 2003-04-07  John Levon  <levon@movementarian.org>
8912
8913         * paragraph.C: remove dead comment
8914
8915         * text.C: remove troublesome depth-fiddling code
8916         in leftMargin() and rightMargin() (bug 1017)
8917
8918         * text.C: fix breaking of rows in nested lists
8919         (bug 1004)
8920
8921         * text2.C (updateCounters): fix up depth values
8922         (bug 1013)
8923
8924 2003-04-07  John Levon  <levon@movementarian.org>
8925
8926         * BufferView_pimpl.C: clear message when doc finishes resizing,
8927         and after a mouse event
8928
8929         * lyxfunc.C: clear message after exiting inset
8930
8931 2003-04-07  John Levon  <levon@movementarian.org>
8932
8933         * bufferview_funcs.C: show math status not outside
8934         status in the statusbar
8935
8936 2003-04-07  John Levon  <levon@movementarian.org>
8937
8938         * lyxfunc.C: note status changed after a depth change
8939
8940 2003-04-04  Angus Leeming  <leeming@lyx.org>
8941
8942         * LaTeX.h: move AuxInfo operator==, != out of line.
8943         Remove LaTeX virtual destructor; nothing derives from it.
8944         Move operator()() out of public area and rename it startscript().
8945         Change protected for private.
8946
8947 2003-04-04  Angus Leeming  <leeming@lyx.org>
8948
8949         * lyxfunc.C:
8950         * text2.C: remove unneeded #includes.
8951
8952 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8953
8954         * text2.C (dEPM): fix the heigth of the next row
8955
8956 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8957
8958         * text.C: squashed an invalid getChar requester + some ws changes
8959
8960 2003-04-03  John Levon  <levon@movementarian.org>
8961
8962         * bufferview_funcs.h:
8963         * bufferview_funcs.C:
8964         * lyxfunc.C:
8965         * lyxtext.h:
8966         * text2.C: make getStatus work for the env depth lfuns
8967
8968 2003-04-03  John Levon  <levon@movementarian.org>
8969
8970         * bufferview_funcs.h:
8971         * bufferview_funcs.C:
8972         * lyxfunc.C:
8973         * lyxtext.h:
8974         * text2.C: parlistize decDepth(), by merging it with incDepth()
8975
8976 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8977
8978         * lyxrow.h: store a ParagraphList::iterator instead of a
8979         Paragraph* and adjust other class functions to suit.
8980
8981         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8982         above.
8983
8984 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8985
8986         * text2.C (setCursor): do not anchor to cursor row for the time being
8987
8988 2003-04-02  John Levon  <levon@movementarian.org>
8989
8990         * LyXAction.C:
8991         * lfuns.h:
8992         * lyx_main.C:
8993         * lyxtext.h:
8994         * text.C:
8995         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8996
8997 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8998
8999         * paragraph.h: make ParagraphList and ParagraphList::iterator
9000         friends of Paragraph.
9001
9002         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9003
9004         * ParagraphList.C: Use the private next_ and previous_ from
9005         Paragraph.
9006
9007 2003-04-01  John Levon  <levon@movementarian.org>
9008
9009         * ToolbarBackend.h:
9010         * ToolbarBackend.C:
9011         * Makefile.am: rename, remove defaults gunk
9012
9013         * MenuBackend.h:
9014         * MenuBackend.C: remove defaults gunk
9015
9016         * Languages.h:
9017         * Languages.C: remove defaults gunk
9018
9019         * lyx_main.h:
9020         * lyx_main.C: error out if files couldn't be found.
9021
9022 2003-04-02  John Levon  <levon@movementarian.org>
9023
9024         * text2.C: make incDepth() use parlist
9025
9026 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9027
9028         * undo_funcs.C (firstUndoParagraph): adjust
9029
9030         * text3.C (gotoInset): adjust
9031         (dispatch): adjust, and rewrite loop.
9032
9033         * text2.C (init): adjust, and rewrite loop.
9034         (redoParagraphs): adjust
9035         (updateInset): adjust, and rewrite loop.
9036         (deleteEmptyParagraphMechanism): adjust
9037
9038         * tabular.C (LyXTabular): adjust
9039         (SetMultiColumn): adjust
9040         (TeXRow): adjust
9041
9042         * lyxtext.[Ch] (ownerParagraph): delete function
9043         (ownerParagraphs): new function returns a ParagraphList.
9044
9045         * BufferView.C (removeAutoInsets): adjust
9046         (insertErrors): adjust
9047         (setCursorFromRow): adjust
9048
9049 2003-04-01  Angus Leeming  <leeming@lyx.org>
9050
9051         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9052         in the frontends.
9053
9054 2003-04-02  John Levon  <levon@movementarian.org>
9055
9056         * lyxtext.h:
9057         * text.C:
9058         * Makefile.am:
9059         * text_funcs.h:
9060         * text_funcs.C: make transposeChars a free function
9061
9062         * lyxrow_funcs.C: remove wrong comment
9063
9064 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9065
9066         * lyxtext.h: adjust
9067         * rowpainter.C: adjust
9068         * text.C: adjust
9069         * text2.C: adjust
9070         * text3.C: adjust
9071
9072         * lyxrow_funcs. [Ch]: new files
9073
9074         * lyxrow.[Ch]: remove next and previous pointers
9075         (next,previous): remove accessor functions
9076         (isParEnd): move to lyxrow_funcs
9077         (lastPos): move to lyxrow_funcs
9078         (nextRowIsAllInset): move to lyxrow_funcs
9079         (lastPrintablePos): move to lyxrow_funcs
9080         (numberOfSeparators): move to lyxrow_funcs
9081         (numberOfHfills): move to lyxrow_funcs
9082         (numberOfLabelHfills): move to lyxrow_funcs
9083         (hfillExpansion): move to lyxrow_funcs
9084
9085         * lyxfunc.C: adjust
9086
9087         * bufferview_funcs.C (toggleAndShow): adjust
9088
9089         * RowList.h: Remove class RowList from file leave just a
9090         std::list<Row>.
9091
9092         * RowList.C: delete file
9093
9094         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9095         and lyxrow_funcs.h
9096
9097 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * text3.C (cursorPrevious): adjust
9100         (cursorNext): adjust
9101         (dispatch): adjust
9102
9103         * text2.C (redoHeightOfParagraph): adjust
9104         (redoDrawingOfParagraph): adjust
9105         (setCursor): adjust
9106
9107         * text.C (breakParagraph): adjust
9108         (insertChar): adjust
9109         (backspace): adjust
9110
9111         * rowpainter.C (RowPainter): adjust
9112         (leftMargin): simplify and adjust
9113         (most rowpainter functions): adjust.
9114
9115         * rowpainter.h: store the row as RowList::iterator not as Row*
9116
9117         * lyxcursor.C (row): taka RowList::iterator as arg
9118         (irow): ditto
9119
9120         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9121         of Row*.
9122
9123 2003-04-01  Angus Leeming  <leeming@lyx.org>
9124
9125         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9126         stuff like bool Bool.
9127
9128 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9129
9130         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9131         rewrite a loop
9132
9133 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9134
9135         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9136         RowList::iterator.
9137
9138         * lyxtext.h (rows): drop one version and leve a const variant that
9139         returns a RowList::iterator.
9140
9141 2003-03-31  Angus Leeming  <leeming@lyx.org>
9142
9143         * text.C (fill): ensure that the signature is the same as that in the
9144         header file.
9145
9146 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9147
9148         * text2.C (redoParagraphs): adjust
9149         (updateCounters): adjust
9150         (checkParagraph): adjust
9151         (getColumnNearX): adjust and reformat a bit.
9152
9153         * text.C (top_y): adjust
9154         (workWidth): adjust
9155         (leftMargin): adjust
9156         (prepareToPrint): adjust
9157         (getRow): adjust
9158         (getRowNearY): adjust
9159
9160         * lyxtext.h: make rowlist_ mutable.
9161
9162         * RowList.h: add const_iterator
9163         * RowList.C: adjust for RowList::const_iterator.
9164
9165         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9166         adjust.
9167
9168 2003-03-31  John Levon  <levon@movementarian.org>
9169
9170         * lyxrc.h:
9171         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9172
9173         * lyx_main.C: set default fonts from using lyx_gui funcs
9174
9175         * exporter.C: pdf_mode moved from lyxrc
9176
9177         * lyx_cb.C:
9178         * lyxfunc.C: changes from above
9179
9180 2003-03-31  John Levon  <levon@movementarian.org>
9181
9182         * lyx_main.C: fix to the last fix
9183
9184 2003-03-31  John Levon  <levon@movementarian.org>
9185
9186         * bufferlist.C: "Load original" -> "Load Original"
9187
9188         * converter.C:
9189         * exporter.C:
9190         * importer.C:
9191         * lyx_main.C:
9192         * format.C: more Alert cleanups
9193
9194 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9195
9196         * text2.C (removeParagraph): make it take a RowList::iterator as
9197         arg, adjust.
9198         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9199         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9200
9201         * text.C (anchor_row): make it take a RowList::iterator as arg,
9202         adjust.
9203         (computeBidiTables): make it take a const reference to Row instead
9204         of Row pointer, adjust.
9205         (leftMargin): make it take a RowList::iterator as arg, adjust.
9206         (rowBreakPoint): adjust
9207         (breakAgainOneRow): make it take a RowList::iterator as arg,
9208         adjust.
9209         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9210
9211         * bufferview_funcs.C (toggleAndShow): adjust
9212
9213 2003-03-30  John Levon  <levon@movementarian.org>
9214
9215         * Makefile.am:
9216         * BoostFormat.h:
9217         * boost-inst.C: moved to support
9218
9219         * several files: changes as a result
9220
9221 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9222
9223         * text2.C (LyXText): adjust.
9224         (init): adjust
9225         (removeRow): make it take a RowList::iterator as arg, adjust.
9226         (fullRebreak): adjust
9227         (deleteEmptyParagraphMechanism): adjust
9228         (clearPaint): adjust
9229         (postPaint): adjust
9230
9231         * text.C (top_y): adjust
9232         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9233         (breakAgain): make it take a RowList::iterator as arg, adjust.
9234         (breakParagraph): adjust
9235         (insertChar): adjust
9236         (backspace): adjust
9237
9238         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9239         need_break_row, and refresh_row.
9240
9241         * text3.C (dispatch): adjust
9242
9243         * text2.C (checkParagraph): adjust
9244         (setCursor): adjust
9245         (setCursorFromCoordinates): adjust
9246
9247         * text.C (top_y): adjust
9248         (workWidth): adjust
9249         (getRow): make it return a RowList::iterator, adjust
9250         (getRowNearY): make it return a RowList::iterator, adjust
9251
9252         * text2.C (init): adjust
9253         (insertRow): remove function
9254         (insertParagraph): adjust
9255         (redoParagraphs): adjust
9256         (fullRebreak): adjust
9257         (updateCounters): adjust
9258
9259         * text.C (top_y): rewrite to use RowList iterators.
9260         (top_y): adjust
9261         (setHeightOfRow): rewrite to sue RowList iterators.
9262         (appendParagraph): adjust
9263         (breakAgain): adjust
9264         (breakAgainOneRow): adjust
9265         (breakParagraph): adjust
9266         (getRow): adjust
9267         (getRowNearY): adjust, and remove commented code.
9268
9269         * lyxtext.h (firstRow): delete function
9270         (lastRow): delete function
9271         (rows): new function (const and non-const versions.)
9272         (insertRow): delete function
9273
9274         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9275
9276 2003-03-29  John Levon  <levon@movementarian.org>
9277
9278         * BufferView_pimpl.C: always update scrollbar top
9279         because pasting text when we're anchored could mean we
9280         miss an update altogether
9281
9282 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9283
9284         * text2.C (init): use rowlist_.end() and not 0.
9285         (insertRow): change to take a RowList::iterator as arg, adjust
9286         for this.
9287         (insertParagraph): change to take a RowList::iterator as arg,
9288         adjust for this.
9289         (redoParagraphs): remove some debug msgs.
9290
9291         * text.C (appendParagraph): change to take a RowList::iterator
9292         arg, adjust for this.
9293         (breakAgain): add an assert
9294         (breakAgainOneRow): ditto
9295
9296 2003-03-29  John Levon  <levon@movementarian.org>
9297
9298         * text2.C: do not clear selection after inc/decDepth
9299         (bug 550)
9300
9301 2003-03-29  John Levon  <levon@movementarian.org>
9302
9303         * BufferView.C:
9304         * buffer.C: fix broken strerrors according to Lars
9305
9306 2003-03-29  John Levon  <levon@movementarian.org>
9307
9308         * converters.C: more Alert cleanups
9309
9310 2003-03-29  John Levon  <levon@movementarian.org>
9311
9312         * bufferview_funcs.C: remove pointless Alert
9313
9314         * buffer.C: fix confusing error message when
9315         a template is chmoded 000
9316
9317 2003-03-29  John Levon  <levon@movementarian.org>
9318
9319         * BufferView.C:
9320         * BufferView.h:
9321         * BufferView_pimpl.C: Alert fixes
9322
9323         * Makefile.am:
9324         * tabular.C:
9325         * tabular-old.C: remove unused table compat reading
9326
9327 2003-03-29  John Levon  <levon@movementarian.org>
9328
9329         * BufferView.C:
9330         * buffer.C:
9331         * lyx_cb.h:
9332         * lyx_cb.C: more Alert cleanups
9333
9334         * lyxfunc.C: don't allow chktex if not latex document
9335
9336 2003-03-29  John Levon  <levon@movementarian.org>
9337
9338         * lyx_cb.C:
9339         * BufferView.C:
9340         * buffer.C: warnings pushed down from support/,
9341         kill err_alert
9342
9343 2003-03-29  John Levon  <levon@movementarian.org>
9344
9345         * lyxfunc.C: safety check for C-r (revert)
9346
9347 2003-03-29  John Levon  <levon@movementarian.org>
9348
9349         * bufferlist.h:
9350         * bufferlist.C: several UI fixes using Alert::prompt.
9351         Fix the pointless looping quit code. Fix stupid revert
9352         behaviour (bug 938)
9353
9354         * lyxvc.h:
9355         * lyxvc.C:
9356         * lyx_cb.C: use Alert::prompt
9357
9358         * lyx_main.C: remove a silly question
9359
9360         * lyxfunc.C: remove a couple of silly questions,
9361         use Alert::prompt
9362
9363 2003-03-28  John Levon  <levon@movementarian.org>
9364
9365         * text2.C: fix bug 974 (End on empty par)
9366
9367 2003-03-28  John Levon  <levon@movementarian.org>
9368
9369         * BufferView_pimpl.C:
9370         * LyXAction.C:
9371         * lfuns.h: remove do-nothing math greek lfuns
9372
9373 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * lyxgluelength.h (isValidGlueLength): add default arg on
9376         parameter 2. Remove default arg from friend in class.
9377
9378         * lyxlength.h (isValidLength): add default arg on parameter 2.
9379         Remove default arg from friend in class.
9380
9381         * text2.C (LyXText): adjust, initialize refresh_row.
9382         (init): adjust
9383         (removeRow): adjust
9384         (insertRow): adjust
9385         (insertParagraph): adjst
9386         (redoParagraphs): adjust
9387         (fullRebreak): adjust
9388         (updateCounters): adjust
9389         (deleteEmptyParagraphMechanism): first attempt at fixing a
9390         crashing bug.
9391
9392         * text.C (top_y): adjust
9393         (setHeightOfRow): adjust
9394         (getRow): adjust
9395         (getRowNearY): adjust
9396
9397         * lyxtext.h: include RowList.h
9398         (~LyXText): not needed anymore, deleted.
9399         (firstRow): modify for RowList
9400         (lastRow): new function
9401         Delete firstrow and lastrow class variables, add a Rowlist
9402         rowlist_ class variable.
9403
9404         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9405         paragraph is empty.
9406
9407         * RowList.C (insert): fix case where it == begin().
9408
9409 2003-03-26  Angus Leeming  <leeming@lyx.org>
9410
9411         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9412         the thesaurus dialog.
9413
9414 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9415
9416         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9417
9418         * RowList.[Ch]: new files
9419
9420         * ParagraphList.C (erase): handle the case where it == begin
9421         correctly.
9422
9423 2003-03-25  John Levon  <levon@movementarian.org>
9424
9425         * Makefile.am:
9426         * aspell_local.h:
9427         * aspell.C: add new aspell support
9428
9429         * lyxrc.h:
9430         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9431         have it accessible.
9432
9433 2003-03-25  Angus Leeming  <leeming@lyx.org>
9434
9435         * lfuns.h:
9436         * LyXAction.C (init): new LFUN_INSET_INSERT.
9437
9438         * BufferView_pimpl.C (dispatch): split out part of the
9439         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9440
9441         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9442         LFUN_INSET_APPLY.
9443
9444 2003-03-25  Angus Leeming  <leeming@lyx.org>
9445
9446         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9447
9448 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9449
9450         * text2.C:
9451         * text3.C: remove useless row->height(0)
9452
9453 2003-03-25  John Levon  <levon@movementarian.org>
9454
9455         * lyxtext.h:
9456         * text2.C:
9457         * text3.C: rename the refreshing stuff to better names
9458
9459 2003-03-24  John Levon  <levon@movementarian.org>
9460
9461         * BufferView_pimpl.h:
9462         * BufferView_pimpl.C: update layout choice on a mouse
9463         press/release
9464
9465 2003-03-23  John Levon  <levon@movementarian.org>
9466
9467         * Makefile.am: fix commandtags.h reference
9468
9469 2003-03-22  John Levon  <levon@movementarian.org>
9470
9471         * BufferView_pimpl.C:
9472         * lyxtext.h:
9473         * rowpainter.C:
9474         * rowpainter.h:
9475         * text.C:
9476         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9477
9478 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9479
9480         * lyxtext.h:
9481         * text.C: take the rtl methods out of line
9482
9483 2003-03-21 André Pönitz <poenitz@gmx.net>
9484
9485         * metricsinfo.[Ch]: new files containing structures to be passed around
9486         during the two-phase-drawing...
9487
9488 2003-03-21 André Pönitz <poenitz@gmx.net>
9489
9490         * lyxtextclass.C: read 'environment' tag.
9491
9492 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9493
9494         * text2.C (removeRow): fix bug 964
9495
9496 2003-03-20  John Levon  <levon@movementarian.org>
9497
9498         * rowpainter.C:
9499         * text.C:
9500         * text2.C: paint cleanups. Inset::update() dropped font
9501         parameter
9502
9503 2003-03-19  John Levon  <levon@movementarian.org>
9504
9505         * lyxfunc.C: only fitcursor/markDirty if available()
9506
9507 2003-03-19  John Levon  <levon@movementarian.org>
9508
9509         * commandtags.h: rename to ...
9510
9511         * lfuns.h: ... this, and renumber / cleanup
9512
9513 2003-03-19  John Levon  <levon@movementarian.org>
9514
9515         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9516         fit the cursor after an lfun
9517
9518         * BufferView.h:
9519         * BufferView.C:
9520         * BufferView_pimpl.h:
9521         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9522
9523         * LyXAction.C: layout-character should have ReadOnly
9524
9525         * ParagraphParameters.C:
9526         * buffer.C:
9527         * bufferview_funcs.C:
9528         * lyx_cb.C:
9529         * lyxfind.C:
9530         * lyxtext.h:
9531         * text.C:
9532         * text2.C:
9533         * text3.C:
9534         * undo_funcs.C: changes from above
9535
9536 2003-03-18  John Levon  <levon@movementarian.org>
9537
9538         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9539         remove it from update()
9540
9541         * lyxfunc.C: update layout choice after an lfun
9542
9543         * text3.C: remove extra updateLayoutChoice()s
9544
9545 2003-03-18  John Levon  <levon@movementarian.org>
9546
9547         * text.C: top_y change means full repaint, fix
9548         a drawing bug with cursor movement
9549
9550 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9551
9552         * lyxtext.h:
9553         * text.C:
9554         * text2.C: anchor row on setCursor
9555
9556 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9557
9558         * lyxtext.h: remove almost all mutable keywords
9559         * text.C:
9560         * text2.C:
9561         * text3.C: remove const keywords accordingly
9562
9563 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9564
9565         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9566         anon namespace
9567         (TeXEnvironment): ditto
9568         (TeXOnePar): ditto
9569
9570 2003-03-17  John Levon  <levon@movementarian.org>
9571
9572         * text.C (rowBreakPoint): remove attempt to fix displayed
9573         math insets inside a manual label
9574
9575 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9576
9577         * lyxtext.h: remove BufferView* as first arg from almost all class
9578         functions.
9579         * other files: adjust.
9580
9581 2003-03-17  John Levon  <levon@movementarian.org>
9582
9583         * lyxtext.h:
9584         * undo_funcs.C:
9585         * text2.C: more paint cleanups
9586
9587         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9588
9589         * rowpainter.h:
9590         * rowpainter.C: remove "smart" background painting code
9591
9592 2003-03-16  John Levon  <levon@movementarian.org>
9593
9594         * lyxtext.h:
9595         * text.C:
9596         * text2.C:
9597         * text3.C: add helper functions for setting refresh_row/y
9598
9599 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9600
9601         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9602         newline inset which *can* get inserted in the pass_thru layouts.
9603         This is primarily for literate documents.
9604
9605 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9606
9607         * buffer.C: increment LYX_FORMAT to 223
9608
9609 2003-03-14 André Pönitz <poenitz@gmx.net>
9610
9611         * textclass.h: prepare for environment handling, ws changes
9612         * lyxlayout.C: read latexheader and latexfooter tags
9613
9614 2003-03-14  John Levon  <levon@movementarian.org>
9615
9616         * text2.C: rewrite ::status() a bit
9617
9618 2003-03-13  John Levon  <levon@movementarian.org>
9619
9620         * lyxtext.h: add some docs
9621
9622 2003-03-13  John Levon  <levon@movementarian.org>
9623
9624         * lyxtext.h:
9625         * text.C:
9626         * text2.C:
9627         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9628
9629 2003-03-13  John Levon  <levon@movementarian.org>
9630
9631         * text3.C: fix appendix redrawing
9632
9633 2003-03-13  John Levon  <levon@movementarian.org>
9634
9635         * text.C (setHeightOfRow):
9636         * rowpainter.h:
9637         * rowpainter.C: make appendix mark have the text
9638           "Appendix" so the user knows what it is
9639
9640         * LColor.h:
9641         * LColor.C: s/appendixline/appendix/ from above
9642
9643 2003-03-13  John Levon  <levon@movementarian.org>
9644
9645         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9646
9647         * text.C: fix a getChar(pos) bug properly
9648
9649 2003-03-13  Angus Leeming  <leeming@lyx.org>
9650
9651         * commandtags.h:
9652         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9653         Probably only temporary. Let's see how things pan out.
9654
9655         * BufferView.C (unlockInset):
9656         * BufferView_pimpl.C (fitCursor):
9657         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9658
9659         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9660         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9661
9662         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9663         new functions that convert ParagraphParameters to and from a string.
9664
9665         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9666         BufferView::Pimpl's dispatch.
9667         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9668
9669 2003-03-13 André Pönitz <poenitz@gmx.net>
9670
9671         * lyxfunc.C:
9672         * text3.C:
9673         * factory.C: make it aware of InsetEnv
9674
9675 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9676
9677         * text2.C (setCursor): never ask for one past last
9678         (setCursor): add some debugging messages.
9679
9680         * text.C (singleWidth): never ask for one past last
9681         (singleWidth): ditto
9682         (leftMargin): ditto
9683         (rightMargin): ditto
9684         (rowBreakPoint): ditto
9685         (setHeightOfRow): ditto
9686         (prepareToPrint): ditto
9687
9688         * rowpainter.C (paintBackground): never ask for one past last
9689         (paintText): never ask for one past last
9690
9691         * paragraph_pimpl.C (getChar): make the assert stricter, never
9692         allow the one past last pos to be taken
9693
9694         * paragraph.C (getChar): ws changes only
9695
9696         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9697         (numberOfSeparators): ditto
9698         (numberOfHfills): ditto
9699
9700 2003-03-12  John Levon  <levon@movementarian.org>
9701
9702         * author.h:
9703         * author.C:
9704         * bufferparams.h:
9705         * bufferparams.C:
9706         * paragraph_funcs.C: fix per-buffer authorlists
9707
9708 2003-03-12  John Levon  <levon@movementarian.org>
9709
9710         * text.C: fix newline in right address
9711
9712 2003-03-12  Angus Leeming  <leeming@lyx.org>
9713
9714         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9715         duplicate those in LyXFunc::dispatch.
9716
9717         * commandtags.h:
9718         * LyXAction.C:
9719         * ToolbarDefaults.C:
9720         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9721         Add LFUN_FONTFREE_UPDATE.
9722
9723         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9724         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9725
9726         * bufferview_func.[Ch]: several new functions to facilliate
9727         transfer of data to and from the character dialog.
9728
9729 2003-03-12  John Levon  <levon@movementarian.org>
9730
9731         * buffer.C:
9732         * paragraph.h:
9733         * paragraph.C:
9734         * paragraph_funcs.C:
9735         * paragraph_pimpl.C:
9736         * sgml.C:
9737         * tabular.C:
9738         * text.C:
9739         * text3.C: remove META_NEWLINE in favour of an inset
9740
9741         * rowpainter.h:
9742         * rowpainter.C: remove paintNewline (done by inset)
9743
9744 2003-03-12  John Levon  <levon@movementarian.org>
9745
9746         * paragraph_pimpl.C: complain about bad getChar()s
9747         for a while at least
9748
9749 2003-03-12  John Levon  <levon@movementarian.org>
9750
9751         * buffer.h:
9752         * buffer.C: move paragraph read into a separate function,
9753         a little renaming to reflect that.
9754
9755         * bufferparams.h:
9756         * bufferparams.C: remove the author_ids map, not necessary now
9757
9758         * factory.h:
9759         * factory.C: moved Buffer::readInset to here
9760
9761         * paragraph_funcs.h:
9762         * paragraph_funcs.C: readParagraph free function moved from
9763         buffer.C
9764
9765         * tabular.C: name change
9766
9767 2003-03-12  John Levon  <levon@movementarian.org>
9768
9769         * buffer.C:
9770         * ParagraphParameters.C: move par params input to
9771         a read() method
9772
9773         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9774         behave like a normal read from the stream wrt reading
9775         a line vs. a \\token
9776
9777 2003-03-12  John Levon  <levon@movementarian.org>
9778
9779         * paragraph.C:
9780         * ParagraphParameters.h:
9781         * ParagraphParameters.C: move output code to a
9782         ::write() method
9783
9784 2003-03-12  John Levon  <levon@movementarian.org>
9785
9786         * BufferView.C (insertLyXFile):
9787         * buffer.h:
9788         * buffer.C:
9789         * tabular.C: use a parlist iterator for creating the
9790           document.
9791
9792 2003-03-12  John Levon  <levon@movementarian.org>
9793
9794         * buffer.C: make current_change static local not
9795           static file-scope
9796
9797 2003-03-12  John Levon  <levon@movementarian.org>
9798
9799         * buffer.C: fix insertStringAsLines for change tracking
9800
9801 2003-03-12  John Levon  <levon@movementarian.org>
9802
9803         * BufferView.C:
9804         * tabular.C:
9805         * buffer.h:
9806         * buffer.C:
9807         * bufferparams.h:
9808         * bufferparams.C: move author list into params. Rename some
9809           functions. Move the header reading into a separate token
9810           loop. Move the header token reading into BufferParams.
9811
9812 2003-03-12  John Levon  <levon@movementarian.org>
9813
9814         * changes.C: put debug inside lyxerr.debugging() checks
9815
9816 2003-03-11 André Pönitz <poenitz@gmx.net>
9817
9818         * factory.C: make it aware of InsetHFill
9819
9820 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9821
9822         * buffer.C (latexParagraphs): move function from here...
9823         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9824         args.
9825
9826 2003-03-10  Angus Leeming  <leeming@lyx.org>
9827
9828         * LyXAction.C (init): fix bug in poplating array with multiple entries
9829         with the same LFUN (spotted by JMarc).
9830
9831 2003-03-10  John Levon  <levon@movementarian.org>
9832
9833         * text.C:
9834         * text2.C: move getColumnNearX() near its
9835         only call site
9836
9837 2003-03-10  John Levon  <levon@movementarian.org>
9838
9839         * text.C: fix break before a minipage
9840
9841 2003-03-10  John Levon  <levon@movementarian.org>
9842
9843         * text.C: fix the last commit
9844
9845 2003-03-09  John Levon  <levon@movementarian.org>
9846
9847         * lyxtext.h:
9848         * text.C:
9849         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9850         bug 365 (don't break before insets unless needed). Don't
9851         return a value > last under any circumstances.
9852
9853 2003-03-09  Angus Leeming  <leeming@lyx.org>
9854
9855         * BufferView_pimpl.C (trackChanges, dispatch): call
9856         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9857
9858 2003-03-09  Angus Leeming  <leeming@lyx.org>
9859
9860         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9861         than Dialogs::showAboutlyx().
9862
9863 2003-03-09  Angus Leeming  <leeming@lyx.org>
9864
9865         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9866         than Dialogs::showTabularCreate().
9867
9868 2003-03-09  John Levon  <levon@movementarian.org>
9869
9870         * lyxtext.h:
9871         * text.C:
9872         * text2.C: 3rd arg to nextBreakPoint was always the same.
9873           Use references.
9874
9875 2003-03-08  John Levon  <levon@movementarian.org>
9876
9877         * lyxrow.C:
9878         * paragraph.C:
9879         * paragraph.h:
9880         * rowpainter.C:
9881         * text.C:
9882         * text2.C: Remove the "main" bit from the "main body"
9883           notion.
9884
9885 2003-03-08  John Levon  <levon@movementarian.org>
9886
9887         * text.C (leftMargin): The left margin of an empty
9888         manual label paragraph should not include the label width
9889         string length.
9890
9891         * text.C (prepareToPrint): don't attempt to measure hfills
9892         for empty manual label paragraphs - the answer should be 0
9893
9894 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9895
9896         * CutAndPaste.C: remove commented code and reindent.
9897
9898 2003-03-08  John Levon  <levon@movementarian.org>
9899
9900         * lyxfunc.h:
9901         * lyxfunc.C: move reloadBuffer()
9902
9903         * BufferView.h:
9904         * BufferView.C: to here
9905
9906         * lyxvc.C: add comment
9907
9908         * vc-backend.h:
9909         * vc-backend.C: call bv->reload() to avoid
9910           getStatus() check on MENURELOAD
9911
9912 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9913
9914         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9915         to an old format .dep file.
9916
9917 2003-03-07  Angus Leeming  <leeming@lyx.org>
9918
9919         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9920         when the LFUN_MOUSE_RELEASE should have been handled by
9921         inset->localDispatch.
9922
9923 2003-03-07  Angus Leeming  <leeming@lyx.org>
9924
9925         * BufferView_pimpl.C (dispatch):
9926         * LyXAction.C (init):
9927         * ToolbarDefaults.C (init):
9928         * commandtags.h:
9929         * lyxfunc.C (getStatus):
9930         remove LFUN_INSET_GRAPHICS.
9931
9932         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9933
9934 2003-03-07  Angus Leeming  <leeming@lyx.org>
9935
9936         * commandtags.h:
9937         * LyXAction.C (init):
9938         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9939
9940         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9941
9942         * commandtags.h:
9943         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9944
9945         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9946         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9947
9948 2003-03-07  Angus Leeming  <leeming@lyx.org>
9949
9950         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9951         remove "ert".
9952
9953 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9954
9955         * ParagraphList.C (front): new function
9956         (back): implement
9957
9958 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9959
9960         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9961         and top_row_offset_. removed var first_y.
9962         * text.C (top_y):
9963         * text2.C (LyXText, removeRow):
9964         * text3.C:
9965         * BufferView_pimpl.C:
9966         use these methods instead of using first_y
9967
9968 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9969
9970         * text2.C (pasteSelection): adjust for checkPastePossible
9971
9972         * CutAndPaste.C: remove Paragraph * buf and replace with
9973         ParagraphList paragraphs.
9974         (DeleteBuffer): delete
9975         (cutSelection): change the tc type to textclass_type
9976         (copySelection): change the tc type to textclass_type
9977         (copySelection): adjust for ParagraphList
9978         (pasteSelection): change the tc type to textclass_type
9979         (pasteSelection): adjust for Paragraphlist
9980         (nrOfParagraphs): simplify for ParagraphList
9981         (checkPastePossible): simplify for ParagraphList
9982         (checkPastePossible): remove unused arg
9983
9984         * ParagraphList.C (insert): handle the case where there are no
9985         paragraphs yet.
9986
9987         * CutAndPaste.h: make CutAndPaste a namespace.
9988
9989         * text3.C (dispatch): adjust
9990
9991         * text.C (breakParagraph): add a ParagraphList as arg
9992
9993         * paragraph_funcs.C (breakParagraph): change to take a
9994         BufferParams and a ParagraphList as args.
9995         (breakParagraphConservative): ditto
9996         (mergeParagraph): ditto
9997         (TeXDeeper): add a ParagraphList arg
9998         (TeXEnvironment): ditto
9999         (TeXOnePar): ditto
10000
10001         * buffer.C (readLyXformat2): adjust
10002         (insertStringAsLines): adjust
10003         (latexParagraphs): adjust
10004
10005         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10006         (cutSelection): adjust
10007         (pasteSelection): adjust
10008
10009         * BufferView_pimpl.C (insertInset): adjust
10010
10011 2003-03-05  Angus Leeming  <leeming@lyx.org>
10012
10013         * commandtags.h:
10014         * LyXAction.C (init):
10015         * BufferView_pimpl.C (dispatch):
10016         * lyxfunc.C (getStatus):
10017         remove LFUN_CHILD_INSERT.
10018
10019         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10020
10021 2003-03-05  Angus Leeming  <leeming@lyx.org>
10022
10023         * commandtags.h:
10024         * LyXAction.C (init):
10025         * src/factory.C (createInset):
10026         * lyxfunc.C (getStatus):
10027         * text3.C (dispatch):
10028         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10029
10030         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10031
10032 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10033
10034         * ParagraphList.C (insert): handle insert right before end()
10035         (erase): fix cases where it can be first or last paragraph.
10036
10037 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10038
10039         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10040         Paragraph::next and Paragraph::previous
10041         (TeXOnePar): ditto
10042
10043         * text.C (breakParagraph): adjust
10044
10045         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10046         BufferParams& as arg.
10047         (breakParagraph): use ParagraphList::insert
10048         (breakParagraphConservative): take a Buffer* instead of a
10049         BufferParams& as arg.
10050         (breakParagraphConservative): use ParagraphList::insert.
10051
10052         * buffer.C (insertStringAsLines): un-const it
10053         (insertStringAsLines): adjust
10054
10055         * ParagraphList.C (insert): new function
10056
10057         * CutAndPaste.C (pasteSelection): adjust
10058
10059         * text.C (backspace): adjust
10060
10061         * tabular.C (SetMultiColumn): adjust
10062
10063         * CutAndPaste.C (cutSelection): adjust
10064         (pasteSelection): adjust
10065
10066         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10067         Buffer const * as arg
10068
10069         * ParagraphList.C (erase): new function
10070         * paragraph_funcs.C (mergeParagraph): use it
10071         (mergeParagraph): make it take a Buffer* instead of a
10072         BufferParams* as arg
10073
10074         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10075         as arg
10076         (breakParagraphConservative): ditto
10077
10078         * paragraph.h: remove the breakParagraph friend
10079
10080         * paragraph.C (eraseIntern): new function
10081         (setChange): new function
10082
10083         * paragraph_funcs.C (mergeParagraph): make it take a
10084         ParagraphList::iterator instead of a Paragraph *, adjust
10085         accordingly.
10086
10087         * paragraph.h: move an #endif so that the change tracking stuff
10088         also works in the NO_NEXT case.
10089
10090 2003-03-04  Angus Leeming  <leeming@lyx.org>
10091
10092         * commandtags.h:
10093         * LyXAction.C: new LFUN_INSET_MODIFY.
10094
10095         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10096         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10097
10098 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10099
10100         * several files: ws changes only
10101
10102         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10103         (TeXEnvironment): ditto
10104         (TeXDeeper): ditto
10105
10106         * buffer.C (makeLaTeXFile): adjust
10107         (latexParagraphs): make it take ParagraphList::iterator as args
10108
10109 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10110
10111         * buffer.C (latexParagraphs): adjust
10112
10113         * paragraph.C (TeXOnePar): move function...
10114         (optArgInset): move function...
10115         (TeXEnvironment): move function...
10116         * paragraph_pimpl.C (TeXDeeper): move function...
10117         * paragraph_funcs.C: ...here
10118
10119         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10120
10121 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10122
10123         * buffer.C (readInset): remove compability code for old Figure and
10124         InsetInfo insets
10125
10126 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10127
10128         * buffer.C: ws changes
10129         (readInset):
10130
10131         * BufferView_pimpl.C: ditto
10132         * author.C: ditto
10133         * buffer.h: ditto
10134         * bufferlist.h: ditto
10135         * changes.h: ditto
10136         * lyxfunc.C: ditto
10137
10138 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10139
10140         * converter.[Ch]: split into itself +
10141         * graph.[Ch]
10142         * format.[Ch]
10143         * Makefile.am: += graph.[Ch] + format.[Ch]
10144         * MenuBackend.C
10145         * buffer.C
10146         * exporter.C
10147         * importer.C
10148         * lyx_main.C
10149         * lyxfunc.C
10150         * lyxrc.C: added #include "format.h"
10151
10152 2003-02-27  Angus Leeming  <leeming@lyx.org>
10153
10154         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10155           a label.
10156
10157         * factory.C (createInset): add "label" to the factory.
10158
10159         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10160           string and do no more.
10161
10162 2003-02-27  Angus Leeming  <leeming@lyx.org>
10163
10164         * commandtags.h:
10165         * LyXAction.C (init):
10166         * factory.C (createInset):
10167         * BufferView_pimpl.C (dispatch):
10168           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10169
10170         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10171
10172         * lyxfunc.C (dispatch):
10173         * text3.C (dispatch): pass name to params2string.
10174
10175 2003-02-26  Angus Leeming  <leeming@lyx.org>
10176
10177         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10178           blocks together.
10179           Rearrange the ~includes. Strip out the unnecessary ones.
10180
10181         * factory.C (createInset): reformat.
10182           create new insets for the various LFUN_XYZ_APPLY lfuns.
10183
10184 2003-02-26  John Levon  <levon@movementarian.org>
10185
10186         * lyxrow.h:
10187         * lyxrow.C: add isParStart,isParEnd helpers
10188
10189         * paragraph.h: make isInserted/DeletedText take refs
10190
10191         * paragraph_funcs.h:
10192         * paragraph_funcs.C: remove #if 0'd code
10193
10194         * lyxtext.h:
10195         * text3.C:
10196         * text2.C:
10197         * text.C: use lyxrow helpers above.
10198           Move draw and paint routines to RowPainter.
10199           Make several methods use refs not pointers.
10200           Make backgroundColor() const.
10201           Add markChangeInDraw(), isInInset().
10202           Merge changeRegionCase into changeCase.
10203           Make workWidth() shouldn't-happen code into an Assert.
10204
10205         * rowpainter.h:
10206         * rowpainter.C: new class for painting a row.
10207
10208         * vspace.h:
10209         * vspace.C: make inPixels take a ref
10210
10211 2003-02-26  Angus Leeming  <leeming@lyx.org>
10212
10213         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10214         LFUN_REF_APPLY.
10215
10216 2003-02-25  John Levon  <levon@movementarian.org>
10217
10218         * ispell.C: give the forked command a more accurate name
10219
10220 2003-02-22  John Levon  <levon@movementarian.org>
10221
10222         * toc.h:
10223         * toc.C: make TocItem store an id not a Paragraph *
10224           (bug #913)
10225
10226 2003-02-21  Angus Leeming  <leeming@lyx.org>
10227
10228         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10229           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10230           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10231           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10232           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10233           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10234
10235         * BufferView_pimpl.C (dispatch):
10236         * LyXAction.C (init):
10237         * factory.C (createInset):
10238         * lyxfunc.C (getStatus, dispatch):
10239         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10240
10241 2003-02-21  Angus Leeming  <leeming@lyx.org>
10242
10243         * BufferView_pimpl.C (MenuInsertLyXFile):
10244         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10245         * lyxfunc.C (menuNew, open, doImport):
10246           no longer pass a LyXView & to fileDlg.
10247
10248 2003-02-21  Angus Leeming  <leeming@lyx.org>
10249
10250         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10251         * LyXAction.C: change, BIBKEY to BIBITEM.
10252         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10253         Change InsetBibKey to InsetBibitem.
10254         Change BIBKEY_CODE to BIBITEM_CODE.
10255         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10256         * factory.C: replace insetbib.h with insetbibitem.h.
10257         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10258         * paragraph.C: replace insetbib.h with insetbibitem.h.
10259         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10260         Change bibkey() to bibitem().
10261         * text.C: remove insetbib.h.
10262         * text2.C: replace insetbib.h with insetbibitem.h.
10263         change bibkey() to bibitem().
10264         * text3.C: remove insetbib.h.
10265         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10266
10267 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10268
10269         * lyxrc.C (output): enclose user email in quotes (in case there are
10270         several words)
10271
10272 2003-02-18  John Levon  <levon@movementarian.org>
10273
10274         * buffer.h: add std::
10275
10276 2003-02-17  John Levon  <levon@movementarian.org>
10277
10278         * SpellBase.h:
10279         * ispell.h:
10280         * ispell.C:
10281         * pspell.h:
10282         * pspell.C: reworking. Especially in ispell, a large
10283           number of clean ups and bug fixes.
10284
10285         * lyxfunc.C: fix revert to behave sensibly
10286
10287 2003-02-17 André Pönitz <poenitz@gmx.net>
10288
10289         * LyXAction.C:
10290         * commandtags.h: new LFUN_INSERT_BIBKEY
10291
10292         * layout.h:
10293         * lyxlayout.C:
10294         * buffer.C:
10295         * factory.C:
10296         * text.C:
10297         * text2.C:
10298         * text3.C:
10299         * paragraph.[Ch]:
10300         * paragraph_func.C: remove special bibkey handling
10301
10302 2003-02-17  John Levon  <levon@movementarian.org>
10303
10304         * text.C (Delete): fix case where delete at the end of
10305           the very first paragraph would not merge the pars
10306
10307 2003-02-17  John Levon  <levon@movementarian.org>
10308
10309         * lyxrow.C: fix lastPrintablePos()
10310
10311 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * bufferparams.C (writeLaTeX): add a std:here
10314
10315         * buffer.C: and remove a using directive there
10316
10317 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * buffer.C (makeLaTeXFile): move the code that generates the
10320           preamble...
10321
10322         * bufferparams.C (writeLaTeX): ... in this new method
10323
10324         * LaTeXFeatures.C (getEncodingSet): make const
10325           (getLanguages): make const
10326
10327         * MenuBackend.C (binding): returns the binding associated to this
10328           action
10329           (add): sets the status of each item by calling getStatus. Adds
10330           some intelligence.
10331           (read): add support for OptSubMenu
10332           (expand): remove extra separator at the end of expanded menu
10333
10334 2003-02-15  John Levon  <levon@movementarian.org>
10335
10336         * BufferView.C:
10337         * BufferView_pimpl.C:
10338         * bufferlist.h:
10339         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10340           inset code that had no actual effect. Remove unneeded status
10341           code.
10342
10343 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10346           in preamble
10347
10348 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10349
10350         * text.C (drawLengthMarker): also draw an arrow marker for
10351           symbolic lengths (medskip...)
10352
10353 2003-02-14  John Levon  <levon@movementarian.org>
10354
10355         * tabular.h:
10356         * tabular.C: better method names
10357
10358 2003-02-14  John Levon  <levon@movementarian.org>
10359
10360         * BufferView_pimpl.C:
10361         * bufferlist.C:
10362         * buffer.C:
10363         * converter.C:
10364         * lyx_cb.C:
10365         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10366           it's a more accurate name. Remove some pointless uses.
10367
10368 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * text2.C (LyXText): change order of initilizers to shut off
10371           warnings
10372
10373 2003-02-14  John Levon  <levon@movementarian.org>
10374
10375         * buffer.C: use ParIterator for getParFromID()
10376
10377         * paragraph.h:
10378         * paragraph.C:
10379         * paragraph_pimpl.h:
10380         * paragraph_pimpl.C: remove unused getParFromID()
10381
10382 2003-02-14  John Levon  <levon@movementarian.org>
10383
10384         * buffer.C: remove some very old #if 0'd parse code
10385
10386 2003-02-13  John Levon  <levon@movementarian.org>
10387
10388         * text.h:
10389         * text.C:
10390         * text2.C: move hfillExpansion(), numberOfSeparators(),
10391           rowLast(), rowLastPrintable(), numberofHfills(),
10392           numberOfLabelHfills() ...
10393
10394         * lyxrow.h:
10395         * lyxrow.C: ... to member functions here.
10396
10397         * paragraph.h:
10398         * paragraph.C:
10399         * lyxtext.h:
10400         * text.C: remove LyXText::beginningOfMainBody(), and call
10401           p->beginningOfMainBody() directly. Move the check for
10402           LABEL_MANUAL into the latter.
10403
10404         * text.h:
10405         * text.C:
10406         * text2.C:
10407         * vspace.C:
10408         * BufferView.h:
10409         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10410
10411         * text.h:
10412         * text.C:
10413         * text2.C:
10414         * text3.C:
10415         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10416           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10417
10418 2003-02-13  John Levon  <levon@movementarian.org>
10419
10420         * CutAndPaste.C: remove debug
10421
10422 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * paragraph.C (asString): remove two unused variables
10425
10426         * lyxtextclass.C (readTitleType):
10427           (Read):
10428           (LyXTextClass): handle new members titletype_ and titlename_
10429
10430         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10431
10432 2003-02-09  John Levon  <levon@movementarian.org>
10433
10434         * buffer.h:
10435         * buffer.C: replace hand-coded list with a map for the dep clean
10436
10437 2003-02-08  John Levon  <levon@movementarian.org>
10438
10439         * LaTeX.C: consolidate code into showRunMessage() helper
10440
10441 2003-02-08  John Levon  <levon@movementarian.org>
10442
10443         * lyxfind.C:
10444         * lyxtext.h:
10445         * text2.C:
10446         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10447           and pass the size in explicitly
10448
10449         * BufferView_pimpl.h:
10450         * BufferView_pimpl.C:
10451         * BufferView.h:
10452         * BufferView.C: add getCurrentChange()
10453
10454         * BufferView_pimpl.h:
10455         * BufferView_pimpl.C: handle change lfuns
10456
10457         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10458           for changes. Mark pasted paragraphs as new.
10459
10460         * support/lyxtime.h:
10461         * support/lyxtime.C:
10462         * DepTable.C: abstract time_t as lyx::time_type
10463
10464         * LColor.h:
10465         * LColor.C: add colours for new text, deleted text, changebars
10466
10467         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10468           package use "usenames" option.
10469
10470         * commandtags.h:
10471         * lyxfunc.C:
10472         * LyXAction.C: add change lfuns
10473
10474         * Makefile.am:
10475         * author.h:
10476         * author.C: author handling
10477
10478         * buffer.h:
10479         * buffer.C: add a per-buffer author list, with first entry as
10480           current author. Handle new .lyx tokens for change tracking. Output
10481           author list to .lyx file. Output dvipost stuff to .tex preamble.
10482           Bump lyx format to 222.
10483
10484         * bufferlist.h:
10485         * bufferlist.C: add setCurrentAuthor() to reset current author details
10486           in all buffers.
10487
10488         * bufferparams.h:
10489         * bufferparams.C: add param for tracking
10490
10491         * bufferview_funcs.C: output change info in minibuffer
10492
10493         * Makefile.am:
10494         * changes.h:
10495         * changes.C: add change-tracking structure
10496
10497         * debug.h:
10498         * debug.C: add CHANGES debug flag
10499
10500         * lyxfind.h:
10501         * lyxfind.C: add code for finding the next change piece
10502
10503         * lyxrc.h:
10504         * lyxrc.C: add user_name and user_email
10505
10506         * lyxrow.h:
10507         * lyxrow.C: add a metric for the top of the text line
10508
10509         * lyxtext.h:
10510         * text.C: implement accept/rejectChange()
10511
10512         * lyxtext.h:
10513         * text.C: paint changebars. Paint new/deleted text in the chosen
10514         colours. Strike through deleted text.
10515
10516         * paragraph.h:
10517         * paragraph.C:
10518         * paragraph_pimpl.h:
10519         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10520           in the current change to the insert functions. Rework erase to
10521           mark text as deleted, adding an eraseIntern() and a range-based
10522           erase(). Implement per-paragraph change lookup and
10523           accept/reject.
10524
10525         * paragraph_funcs.C: Fixup paste for change tracking.
10526
10527         * tabular.C: mark added row/columns as new.
10528
10529         * text.C: fix rowLast() to never return -1. Don't allow
10530           spellchecking of deleted text. Track transpose changes. Don't
10531           allow paragraph break or merge where appropriate.
10532
10533         * text2.C: leave cursor at end of selection after a cut.
10534
10535 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10536
10537         * text.C (getLengthMarkerHeight):
10538         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10539         visible on screen too.
10540
10541 2003-02-07  John Levon  <levon@movementarian.org>
10542
10543         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10544
10545 2003-02-05  Angus Leeming  <leeming@lyx.org>
10546
10547         * lyxserver.C (read_ready): revert my patch of 11 September last year
10548         as it sends PC cpu through the roof. Presumably this means that
10549         the lyxserver will no longer run on an Alpha...
10550
10551 2003-01-30  Angus Leeming  <leeming@lyx.org>
10552
10553         * factory.C (createInset): create an InsetCommandParam of type "index"
10554         and use it to 'do the right thing'.
10555
10556         * text2.C (getStringToIndex): ensure that cursor position is always
10557         reset to the reset_cursor position.
10558
10559 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10560
10561         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10562         disabled.
10563
10564 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10565
10566         * bufferview.C:
10567         * lyxcb.C:
10568         * lyxfunc.C: Output messages with identical spelling, punctuation,
10569         and spaces
10570
10571 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10572
10573         * MenuBackend.C (expandFormats): List only viewable export formats
10574         in "View" menu
10575
10576         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10577         message
10578
10579         * lyxfunc.C (getStatus): Make sure that formats other than
10580         "fax" can also be disabled
10581
10582 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10583
10584         * text3.C (dispatch): put the lfuns that insert insets in 3
10585         groups, and call doInsertInset with appropriate arguments.
10586         (doInsertInset): new function, that creates an inset and inserts
10587         it according to some boolean parameters.
10588
10589 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10590
10591         * buffer.C (readFile): remember to pass on 'par' when calling
10592         readFile recursively.
10593
10594 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10595
10596         * MenuBackend.C (expandFormats): add "..." to import formats.
10597
10598 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * paragraph.C (asString): Remove XForms RTL hacks.
10601
10602 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10603         * buffer.C: fix typo
10604
10605 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10606
10607         * Makefile.am (LIBS): delete var
10608         (lyx_LDADD): add @LIBS@ here instead.
10609
10610 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10611
10612         * Clarify the meaning of "wheel mouse jump"
10613
10614 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10615
10616         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10617         tabular in a float
10618
10619 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * importer.C (Loaders): do not preallocate 3 elements in the
10622         vector, since one ends up with 6 elements otherwise
10623
10624 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * DepTable.C (write): write the file name as last element of the
10627         .dep file (because it may contain spaces)
10628         (read): read info in the right order
10629
10630 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10631
10632         * paragraph_pimpl.C (simpleTeXBlanks):
10633         (simpleTeXSpecialChars):
10634         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10635
10636         * tabular.C (latex): add some missing case statements. Reindent.
10637
10638         * MenuBackend.C (expandToc): remove unused variable.
10639
10640 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10641
10642         * LColor.C:
10643         * LaTeX.C:
10644         * LyXAction.C:
10645         * MenuBackend.C:
10646         * buffer.C:
10647         * exporter.C:
10648         * lyxfunc.C:
10649         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10650         and the like.
10651
10652 2003-01-05  John Levon  <levon@movementarian.org>
10653
10654         * BufferView.h:
10655         * BufferView.C: add getEncoding()
10656
10657         * kbsequence.h:
10658         * kbsequence.C: do not store last keypress
10659
10660         * lyxfunc.h:
10661         * lyxfunc.C: store last keypress here instead. Pass encoding
10662           to getISOEncoded()
10663
10664 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * lyx_main.C (init): remove annoying error message when following
10667         symbolic links (bug #780)
10668
10669 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10670
10671         * text.C (insertChar):
10672         * lyxrc.C (getDescription): remove extra spaces
10673
10674 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10675
10676         * lyxrc.C (getDescription): remove extra spaces
10677
10678 2002-12-20  John Levon  <levon@movementarian.org>
10679
10680         * text3.C: hack fix for page up/down across tall rows
10681
10682 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10683
10684         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10685         not been invoked
10686
10687 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10688
10689         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10690         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10691         thesaurus is not compiled in
10692
10693 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10694
10695         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10696
10697 2002-12-16  Angus Leeming  <leeming@lyx.org>
10698
10699         * lyxrc.[Ch]:
10700         * lyx_main.C (init): remove override_x_deadkeys stuff.
10701
10702 2002-12-12  John Levon  <levon@movementarian.org>
10703
10704         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10705           insert. Only remove shift modifier under strict
10706           circumstances.
10707
10708 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10709
10710         * MenuBackend.C (expandToc): fix crash.
10711
10712 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10713
10714         * MenuBackend.C (expandToc): gettext on float names.
10715
10716 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10717
10718         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10719         implement bool empty() [bug 490]
10720
10721 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10722
10723         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10724
10725 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10726
10727         * several files: ws changes
10728
10729 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10730
10731         * text2.C (setCounter): clean up a bit, use boost.format.
10732         (updateCounters): initialize par upon declaration.
10733
10734         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10735         if the layout exists. We do not just store the layout any more.
10736         (SwitchLayoutsBetweenClasses): use boost.format
10737
10738 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10739
10740         * converter.C (convert): if from and to files are the same, use a
10741         temporary files as intermediary
10742
10743 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10744
10745         * commandtags.h:
10746         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10747
10748 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10749
10750         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10751
10752 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10753
10754         * tabular.C (asciiPrintCell): use string(size, char) instead of
10755         explicit loop.
10756
10757         * sgml.C (openTag): fix order of arguments to string constructor
10758         (closeTag): ditto
10759
10760         * lyxfunc.C (dispatch): use boost.format
10761
10762         * lots of files: change "c" -> 'c'
10763
10764 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10767
10768 2002-11-25  Angus Leeming  <leeming@lyx.org>
10769
10770         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10771
10772         * lyx_main.C (init): compile fix.
10773
10774 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10775
10776         * lyx_cb.C (start): boost.formatify
10777         do not include <iostream>
10778
10779         * lengthcommon.C: ws only
10780
10781         * boost-inst.C,BoostFormat.h: add more explict instantations
10782
10783 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10784
10785         * lots of files: handle USE_BOOST_FORMAT
10786
10787 2002-11-21  John Levon  <levon@movementarian.org>
10788
10789         * pspell.C: fix compile
10790
10791 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * lyxfunc.C (dispatch): use boost::format
10794         (open): ditto
10795         (doImport): ditto
10796
10797         * lyxfont.C (stateText): use boost::format
10798
10799         * lyx_main.C (LyX): use boost::format
10800         (init): ditto
10801         (queryUserLyXDir): ditto
10802         (readRcFile): ditto
10803         (parse_dbg): ditto
10804         (typedef boost::function): use the recommened syntax.
10805
10806         * importer.C (Import): use boost::format
10807
10808         * debug.C (showLevel): use boost::format
10809
10810         * converter.C (view): use boost::format
10811         (convert): ditto
10812         (move): ditto
10813         (scanLog): ditto
10814
10815         * bufferview_funcs.C (currentState): use boost::format
10816
10817         * bufferlist.C (emergencyWrite): use boost::format
10818
10819         * buffer.C (readLyXformat2): use boost::format
10820         (parseSingleLyXformat2Token): ditto
10821
10822         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10823
10824         * LaTeX.C (run): use boost::format
10825
10826         * Chktex.C (scanLogFile): use boost::format
10827
10828         * BufferView_pimpl.C (savePosition): use boost::format
10829         (restorePosition): ditto
10830         (MenuInsertLyXFile): ditto
10831
10832         * BoostFormat.h: help file for explicit instation.
10833
10834 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10835
10836         * tabular.C (latex): Support for block alignment in fixed width
10837         columns.
10838
10839 2002-11-17  John Levon  <levon@movementarian.org>
10840
10841         * BufferView_pimpl.C:
10842         * lyx_cb.C:
10843         * lyxfunc.C: split filedialog into open/save
10844
10845 2002-11-08  Juergen Vigna  <jug@sad.it>
10846
10847         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10848         by my last patch (hopefully).
10849
10850 2002-11-08  John Levon  <levon@movementarian.org>
10851
10852         * iterators.h:
10853         * iterators.C:
10854         * buffer.h:
10855         * buffer.C:
10856         * paragraph.h:
10857         * paragraph.C:
10858         * toc.h:
10859         * toc.C: ParConstIterator, and use it (from Lars)
10860
10861 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10862
10863         * lyxtextclass.[Ch]: revise and add doxygen comments
10864
10865 2002-11-07  John Levon  <levon@movementarian.org>
10866
10867         * text.C: fix progress value for spellchecker
10868
10869         * toc.C: fix navigate menu for insetwrap inside minipage
10870
10871         * paragraph_funcs.C: added FIXME for suspect code
10872
10873 2002-11-07  John Levon  <levon@movementarian.org>
10874
10875         * BufferView_pimpl.C: fix redrawing of insets
10876           on buffer switch
10877
10878 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * text2.C (updateCounters): fix bug 668
10881
10882 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10883
10884         * text3.C (dispatch): Do not make the buffer dirty when moving the
10885         cursor.
10886
10887 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10888
10889         * vc-backend.C: STRCONV
10890         (scanMaster): ditto
10891
10892         * text2.C (setCounter): STRCONV
10893
10894         * paragraph.C (asString): STRCONV
10895
10896         * lyxlength.C (asString): STRCONV
10897         (asLatexString): ditto
10898
10899         * lyxgluelength.C (asString): STRCONV
10900         (asLatexString): ditto
10901
10902         * lyxfunc.C (dispatch): STRCONV
10903         (open): ditto
10904
10905         * lyxfont.C (stateText): STRCONV
10906
10907         * importer.C (Import): STRCONV
10908
10909         * counters.C (labelItem): STRCONV
10910         (numberLabel): ditto
10911         (numberLabel): remove unused ostringstream o
10912
10913         * chset.C: STRCONV
10914         (loadFile): ditto
10915
10916         * bufferview_funcs.C (currentState): STRCONV
10917
10918         * buffer.C (readFile): STRCONV
10919         (asciiParagraph): ditto
10920         (makeLaTeXFile): ditto
10921
10922         * Spacing.C (writeEnvirBegin): STRCONV
10923
10924         * LaTeXFeatures.C (getLanguages): STRCONV
10925         (getPackages): ditto
10926         (getMacros): ditto
10927         (getBabelOptions): ditto
10928         (getTClassPreamble): ditto
10929         (getLyXSGMLEntities): ditto
10930         (getIncludedFiles): ditto
10931
10932         * LaTeX.C: STRCONV
10933         (run): ditto
10934         (scanAuxFile): ditto
10935         (deplog): ditto
10936
10937         * LString.h: add the STRCONV macros
10938
10939         * BufferView_pimpl.C (savePosition): STRCONV
10940         (restorePosition): ditto
10941         (MenuInsertLyXFile): ditto
10942
10943         * vc-backend.C (scanMaster): change from submatch[...] to
10944         submatch.str(...)
10945
10946         * funcrequest.C: include config.h
10947
10948         * factory.C: include config.h
10949
10950         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10951
10952         * box.C: include config.h
10953
10954         * LaTeX.C (scanAuxFile): change from submatch[...] to
10955         submatch.str(...)
10956         (deplog): ditto
10957
10958 2002-10-25  Angus Leeming  <leeming@lyx.org>
10959
10960         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10961
10962         * ispell.[Ch] (setError): new method.
10963         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10964         Use setError() insetead of goto END.
10965
10966         * lyx_cb.C (AutoSave): move out child process into new class
10967         AutoSaveBuffer.
10968
10969 2002-10-30  John Levon  <levon@movementarian.org>
10970
10971         * text3.C: make start appendix undoable
10972
10973 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10974
10975         * lyxlength.C (inPixels): Fix returned value.
10976
10977         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10978         environment.
10979
10980 2002-10-24  Angus Leeming  <leeming@lyx.org>
10981
10982         * lyxgluelength.h: no need to forward declare BufferParams
10983         or BufferView, so don't.
10984
10985 2002-10-21  John Levon  <levon@movementarian.org>
10986
10987         * BufferView.C: menuUndo ->undo, redo
10988
10989         * BufferView.h: document, remove dead, make some methods private
10990
10991         * paragraph_funcs.h:
10992         * paragraph_funcs.C:
10993         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10994
10995         * buffer.h:
10996         * buffer.C:
10997         * sgml.h:
10998         * sgml.C: move sgml open/close tag into sgml.C
10999
11000         * bufferview_funcs.h: unused prototype
11001
11002         * lyxfunc.h:
11003         * lyxfunc.C: remove unused
11004
11005         * lyxtext.h:
11006         * text.C: remove unused
11007
11008 2002-10-21  John Levon  <levon@movementarian.org>
11009
11010         * BufferView.h:
11011         * BufferView.C:
11012         * BufferView_pimpl.h:
11013         * BufferView_pimpl.C: fix mouse wheel handling based on
11014           patch from Darren Freeman
11015
11016 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11017
11018         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11019
11020 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11021
11022         * lyxlength.C (inPixels): Fix hanfling of negative length.
11023         Fix LyXLength::MU case.
11024
11025 2002-10-16  John Levon  <levon@movementarian.org>
11026
11027         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11028
11029 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11030
11031         * converter.C (view): add support for $$i (file name) and $$p
11032         (file path) for the viewer command. If $$i is not specified, then
11033         it is appended to the command (for compatibility with old syntax)
11034
11035 2002-10-14  Juergen Vigna  <jug@sad.it>
11036
11037         * undo_funcs.C (textHandleUndo): alter the order in which the
11038         new undopar is added to the LyXText, as we have to set first
11039         the right prev/next and then add it as otherwise the rebuild of
11040         LyXText is not correct. Also reset the cursor to the right paragraph,
11041         with this IMO we could remove the hack in "redoParagraphs()".
11042
11043 2002-10-09  Angus Leeming  <leeming@lyx.org>
11044
11045         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11046         to turn off an optimisation if a new inset is to be inserted.
11047
11048 2002-10-11 André Pönitz <poenitz@gmx.net>
11049
11050         * lyxtext.h: make some functions public to allow access
11051         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11052
11053 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11054
11055         * text3.C (dispatch): when changing layout, avoid an infinite loop
11056         [bug #652]
11057
11058 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11059
11060         * lyxrc.C (read): treat a viewer or converter command of "none" as
11061         if it were empty.
11062
11063         * MenuBackend.C (expandFormats): for an update, also allow the
11064         formats that are not viewable
11065
11066         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11067         script if it is newer than the lyxrc.defaults in user directory
11068
11069 2002-10-07 André Pönitz <poenitz@gmx.net>
11070
11071         * text.C: Vitaly Lipatov's small i18n fix
11072
11073 2002-09-25  Angus Leeming  <leeming@lyx.org>
11074
11075         * ispell.h: doxygen fix.
11076
11077 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11078
11079         * buffer.h (readFile): Add a new argument to the method, to allow
11080         reading of old-format templates.
11081
11082 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11083
11084         * toc.C (getTocList): Get TOC from InsetWrap.
11085
11086 2002-09-16  John Levon  <levon@movementarian.org>
11087
11088         * lyxfunc.C: check tabular for cut/copy too
11089
11090 2002-09-12  John Levon  <levon@movementarian.org>
11091
11092         * LyXAction.C: tidy
11093
11094         * factory.h:
11095         * factory.C: add header
11096
11097         * paragraph_funcs.h:
11098         * paragraph_funcs.C: cleanup
11099
11100 2002-09-11  John Levon  <levon@movementarian.org>
11101
11102         * PrinterParams.h: odd/even default to true
11103
11104 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11105
11106         * PrinterParams.h: update printer parameters for new xforms dialog
11107
11108 2002-09-11  Angus Leeming  <leeming@lyx.org>
11109
11110         * lyxserver.C (read_ready): re-write to make it more transparent
11111         and to make it work in coherent fashion under Tru64 Unix.
11112
11113 2002-09-11  André Pönitz <poenitz@gmx.net>
11114
11115         * commandtags.h:
11116         * LyXAction.C:
11117         * text3.C: implement LFUN_WORDSEL
11118
11119 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11120
11121         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11122         make floatlist_ a boost::shared_ptr<FloatList>
11123
11124         * lyxtextclass.C: include FloatList.h
11125         (LyXTextClass): initialize floatlist_
11126         (TextClassTags): add TC_NOFLOAT
11127         (Read): match "nofloat" to TC_NOFLOAT and use it.
11128         (readFloat): modify call to floatlist_
11129         (floats): ditto
11130         (floats): ditto
11131
11132         * FloatList.[Ch] (FloatList): remove commented out float
11133         initialization.
11134         (erase): new function
11135
11136 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11137
11138         * MenuBackend.C (expandToc): fix crash when there is no document
11139         open
11140
11141 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11142
11143         * many files: Add insetwrap.
11144
11145 2002-09-09  John Levon  <levon@movementarian.org>
11146
11147         * text2.C: remove confusing and awkward depth wraparound
11148
11149 2002-09-09  John Levon  <levon@movementarian.org>
11150
11151         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11152
11153         * buffer.h:
11154         * buffer.C: remove getIncludeonlyList()
11155
11156         * paragraph.C:
11157         * lyxfunc.C: remove headers
11158
11159 2002-09-09  Juergen Vigna  <jug@sad.it>
11160
11161         * text.C (getColumnNearX): fix form Michael this is most
11162         probably a cut&paste bug.
11163
11164 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11165
11166         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11167
11168         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11169         references, ws changes.
11170
11171         * text2.C (init): update counters after init
11172         (insertParagraph): no need to set counter on idividual paragraphs.
11173         (setCounter): access the counters object in the textclass object
11174         on in the buffer object.
11175         (updateCounters): ditto
11176
11177         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11178         shared_ptr<Counters> to avoid loading counters.h in all
11179         compilation units.
11180         (LyXTextClass): initialize ctrs_
11181         (TextClassTags): add TC_COUNTER, and ...
11182         (Read): use it here.
11183         (CounterTags): new tags
11184         (readCounter): new function
11185         (counters): new funtion
11186         (defaultLayoutName): return a const reference
11187
11188         * counters.C (Counters): remove contructor
11189         (newCounter): remove a couple of unneeded statements.
11190         (newCounter): simplify a bit.
11191         (numberLabel): some small formatting changes.
11192
11193         * buffer.[Ch]: remove all traces of counters, move the Counters
11194         object to the LyXTextClass.
11195
11196 2002-09-06  Alain Castera  <castera@in2p3.fr>
11197
11198         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11199         package to set the horizontal alignment on fixed width columns.
11200
11201         * lyx_sty.C:
11202         * lyx_sty.h: added tabularnewline macro def.
11203
11204         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11205
11206 2002-09-06  John Levon  <levon@movementarian.org>
11207
11208         * LyXAction.C: tooltips for sub/superscript
11209
11210         * MenuBackend.C: a bit more verbose
11211
11212         * lyxfunc.C: tiny clean
11213
11214         * undo_funcs.C: document undo_frozen
11215
11216 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11217
11218         * counters.C (Counters): add missing algorithm counter.
11219
11220         * text2.C (setCounter): lookup the counter with layouts latexname
11221         instead of by section number.
11222         (setCounter): use a hackish way to lookup the correct enum
11223         counter.
11224         a float name->type change
11225         reset enum couners with counter name directly instead of depth value.
11226
11227         * counters.C (Counters): remove the push_backs, change to use the
11228         float type not the float name.
11229         (labelItem): remove unused string, float name->type change
11230
11231         * counters.h: don't include vector, loose the enums and sects vectors
11232
11233 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11234
11235         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11236         (Read): add float->TC_FLOAT to textclassTags
11237         (Read): and handle it in the switch
11238         (readFloat): new function
11239
11240         * FloatList.C (FloatList): comment out the hardcoded float
11241         definitions.
11242
11243         * lyxlayout.h: ws change.
11244
11245 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11246
11247         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11248
11249 2002-09-03  Angus Leeming  <leeming@lyx.org>
11250
11251         * BufferView_pimpl.h: qualified name is not allowed in member
11252         declaration: WorkArea & Pimpl::workarea() const;
11253
11254         * factory.C: added using std::endl directive.
11255
11256         * text3.C: added using std::find and std::vector directives.
11257
11258 2002-08-29  André Pönitz <poenitz@gmx.net>
11259
11260         * lyxtext.h:
11261         * text2.C: remove unused member number_of_rows
11262
11263         * Makefile.am:
11264         * BufferView2.C: remove file, move contents to...
11265         * BufferView.C: ... here
11266
11267         * BufferView_pimpl.C:
11268         * factory.C: move more inset creation to factory
11269
11270         * vspace.C: avoid direct usage of LyXText, ws changes
11271
11272         * BufferView.[Ch]:
11273                 don't provide direct access to WorkArea, use two simple
11274                 acessors haveSelction() and workHeight() instead
11275
11276
11277 2002-08-29  John Levon  <levon@movementarian.org>
11278
11279         * BufferView_pimpl.C (dispatch): do not continue when
11280           no buffer
11281
11282 2002-08-28  André Pönitz <poenitz@gmx.net>
11283
11284         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11285
11286         * BufferView.h:
11287         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11288
11289 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11290
11291         * buffer.C: increment LYX_FORMAT to 221
11292
11293         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11294         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11295
11296         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11297
11298         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11299
11300 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * factory.C (createInset): use LyXTextClass::floats
11303
11304         * MenuBackend.C (expandFloatListInsert):
11305         (expandFloatInsert):
11306         (expandToc):
11307
11308         * text2.C (setCounter):
11309
11310         * LaTeXFeatures.C (useFloat):
11311         (getFloatDefinitions):
11312
11313         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11314
11315         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11316         floatlist_, with accessor floats().
11317
11318         * FloatList.h: remove global FloatList
11319
11320 2002-08-26  André Pönitz <poenitz@gmx.net>
11321
11322         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11323
11324         * BufferView.h:
11325         * BufferView2.C:
11326         * BufferView_pimpl.C:
11327         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11328
11329 2002-08-25  John Levon  <levon@movementarian.org>
11330
11331         * LyXAction.C: fix margin note description
11332
11333 2002-08-24  John Levon  <levon@movementarian.org>
11334
11335         * buffer.C:
11336         * bufferlist.C:
11337         * bufferview_funcs.C:
11338         * lyxfont.C:
11339         * undo_funcs.C: cleanups
11340
11341         * lyxfunc.C: disable CUT/COPY when no selection
11342
11343 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11344
11345         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11346         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11347
11348         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11349         Add backward compatibility to "mono", "gray" and "no".
11350
11351 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11354         (and file_format >= 200).
11355
11356 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11357
11358         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11359
11360 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11363
11364 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11365
11366         * BufferView_pimpl.C:
11367         * LyXAction.C:
11368         * buffer.C:
11369         * commandtags.h:
11370         * lyxfunc.C:
11371         * paragraph.[Ch]:
11372         * text2.C:
11373         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11374         inset and code to make it  work with the paragraph code. The inset
11375         can be anywhere in the paragraph, but will only do the expected
11376         thing in LaTeX if the layout file contains the parameter line
11377                         OptionalArgs    1
11378         (or more generally, a nonzero value) for that layout.
11379
11380 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11381
11382         * paragraph.h: remove the declaration of undefined counters class
11383         function.
11384
11385 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11386
11387         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11388         Dr. Richard Hawkins.
11389
11390 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * paragraph_funcs.h: remove some unneeded includes
11393
11394         * text.C (backspace): pasteParagraph now in global scipe
11395
11396         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11397         (pasteSelection): ditto
11398
11399         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11400         * paragraph_funcs.C (pasteParagraph): ... here
11401
11402 2002-08-20  André Pönitz <poenitz@gmx.net>
11403
11404         * commandtags.h: new LFUNs for swapping/copying table row/colums
11405
11406         * LyXAction.C:
11407         * lyxfunc.C: support for new lfuns
11408
11409 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11410
11411         * tabular.C:
11412         * buffer.[Ch]: remove NO_COMPABILITY stuff
11413
11414 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11415
11416         * boost.C (throw_exception): new file, with helper function for
11417         boost compiled without exceptions.
11418
11419         * paragraph.h:
11420         * lyxlength.C:
11421         * buffer.C:
11422         * ParameterStruct.h:
11423         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11424
11425         * bufferlist.C (emergencyWriteAll): use boost bind
11426
11427         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11428
11429         * text.C: include paragraph_funcs.h
11430         (breakParagraph): breakParagraph is now in global scope
11431
11432         * paragraph_funcs.[Ch]: new files
11433
11434         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11435         global scope
11436
11437         * buffer.C: include paragraph_funcs.h
11438         (insertStringAsLines): breakParagraph is now in global scope
11439
11440         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11441         paragraph_funcs.C
11442
11443         * CutAndPaste.C: include paragraph_funcs.h
11444         (cutSelection): breakParagraphConservative is now in global scope
11445         (pasteSelection): ditto
11446
11447         * buffer.h: declare oprator== and operator!= for
11448         Buffer::inset_iterator
11449
11450         * bufferlist.C (emergencyWrite): don't use fmt(...)
11451
11452         * text3.C: add using std::endl
11453
11454         * BufferView.C (moveCursorUpdate): remove default arg
11455
11456 2002-08-20  André Pönitz <poenitz@gmx.net>
11457
11458         * buffer.[Ch]: move inline functions to .C
11459
11460         * BufferView2.C:
11461         * BufferView_pimpl.C:
11462         * text.C:
11463         * buffer.[Ch]: use improved inset_iterator
11464
11465         * buffer.C:
11466         * paragraph.[Ch]: write one paragraph at a time
11467
11468 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11469
11470         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11471         style if style is not specified.
11472
11473 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * text2.C (setCounter): when searching for right label for a
11476         caption, make sure to recurse to parent insets (so that a caption
11477         in a minipage in a figure float works) (bug #568)
11478
11479 2002-08-20  André Pönitz <poenitz@gmx.net>
11480
11481         * text3.C: new file for LyXText::dispatch() and helpers
11482
11483         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11484
11485         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11486
11487 2002-08-19  André Pönitz <poenitz@gmx.net>
11488
11489         * lyxtext.h:
11490         * text.C: new LyXText::dispatch()
11491
11492         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11493
11494 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11497
11498         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11499         Hebrew text.
11500
11501 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11502
11503         * Makefile.am: use $(variables) instead of @substitutions@
11504
11505 2002-08-15  André Pönitz <poenitz@gmx.net>
11506
11507         * lyxfunc.C:
11508         * BufferView_pimpl.C: streamlining mathed <-> outer world
11509         interaction
11510
11511         * commandtags.h:
11512         * LyXAction.C: remove unused LFUN_MATH
11513
11514 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11515
11516         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11517
11518 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11519
11520         * paragraph.C (Paragraph): reformat a bit
11521         (cutIntoMinibuffer): use builtin InsetList function instad of
11522         doing it manually.
11523         (getInset): ditto
11524
11525         * buffer.C: include boost/bind.hpp, add using std::for_each
11526         (writeFileAscii): use ParagraphList iterators
11527         (validate): use for_each for validate traversal of paragraphs
11528         (getBibkeyList): use ParagraphList iterators
11529         (resizeInsets): use for_each to resizeInsetsLyXText for all
11530         paragraphs.
11531         (getParFromID): use ParagraphList iterators
11532
11533         * BufferView2.C (lockInset): use paragraph list and iterators
11534
11535 2002-08-14  John Levon  <levon@movementarian.org>
11536
11537         * lyxserver.C: remove spurious xforms include
11538
11539 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11542
11543 2002-08-13  André Pönitz <poenitz@gmx.net>
11544
11545         * LyXAction.[Ch]:
11546         * lyxfunc.C: further cleaning
11547
11548 2002-08-13  André Pönitz <poenitz@gmx.net>
11549
11550         * funcrequest.h: new constructor
11551
11552         * funcrequest.C: move stuff here from .h
11553
11554         * Makefile.am:
11555         * BufferView_pimpl.C:
11556         * LyXAction.C:
11557         * toc.C:
11558         * lyxfunc.C: subsequent changes
11559
11560         * lyxfunc.h: new view() member function
11561
11562         * lyxfunc.C: subsequent changes
11563
11564 2002-08-13  Angus Leeming  <leeming@lyx.org>
11565
11566         * BufferView2.C:
11567         * BufferView_pimpl.C:
11568         * buffer.C:
11569         * converter.C:
11570         * importer.C:
11571         * lyxfunc.C:
11572         * lyxvc.C:
11573         * toc.C:
11574         * vc-backend.C:
11575         changes due to the changed LyXView interface that now returns references
11576         to member variables not pointers.
11577
11578 2002-08-13  Angus Leeming  <leeming@lyx.org>
11579
11580         * WordLangTuple (word, lang_code): return references to strings,
11581         not strings.
11582
11583         * BufferView.h:
11584         * SpellBase.h:
11585         * lyxtext.h: forward-declare WordLangTuple.
11586
11587         * BufferView2.C:
11588         * ispell.C:
11589         * pspell.C:
11590         * text.C: #include "WordLangTuple.h".
11591
11592         * lyxtext.h:
11593         * text.C: (selectNextWordToSpellcheck): constify return type.
11594
11595 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11596
11597         * buffer.C:
11598         * buffer.h:
11599         * lyxtext.h:
11600         * paragraph.C:
11601         * paragraph_pimpl.h:
11602         * text.C:
11603         * text2.C:
11604         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11605         suggested by Angus.
11606         Made updateCounter always count from start of buffer, and removed
11607         second argument (par).
11608         Reverted floats number display to '#'. Perhaps I'll try again when the
11609         code base is sanitized a bit.
11610
11611 2002-08-12  Angus Leeming  <leeming@lyx.org>
11612
11613         * buffer.[Ch] (getLabelList): constify.
11614
11615 2002-08-07  André Pönitz <poenitz@gmx.net>
11616
11617         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11618
11619         * funcrequest.h: extension to keep mouse (x,y) position
11620
11621 2002-08-12  Juergen Vigna  <jug@sad.it>
11622
11623         * BufferView2.C (insertErrors): forbid undo when inserting error
11624         insets.
11625
11626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11627
11628 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11629
11630         * ParagraphList.[Ch]: new files
11631
11632         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11633
11634         * BufferView2.C (lockInset): ParagraphList changes
11635         * toc.C: ditto
11636         * text2.C: ditto
11637         * bufferlist.C: ditto
11638         * buffer.h: ditto
11639         * buffer.C: ditto
11640
11641 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11642
11643         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11644         unused class variable counter_,
11645
11646         * paragraph.[Ch] (getFirstCounter): delete unused function
11647
11648         * counters.C: include LAssert.h
11649         (reset): add a new function with no arg, change other version to
11650         not have def. arg and to not allow empty arg.
11651
11652         * text2.C (setCounter): remove empty arg from call to Counters::reset
11653
11654 2002-08-11  John Levon  <levon@movementarian.org>
11655
11656         * Makefile.am: add WordLangTuple.h
11657
11658 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11659
11660         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11661         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11662
11663         * insets/insettext.C: InsetList changes
11664
11665         * graphics/GraphicsSupport.C (operator()): InsetList changes
11666
11667         * toc.C (getTocList): InsetList changes
11668
11669         * paragraph_pimpl.[Ch]: InsetList changes
11670
11671         * paragraph.[Ch]: InsetList changes
11672
11673         * buffer.C (inset_iterator): InsetList changes
11674         (setParagraph): ditto
11675         * buffer.h (inset_iterator): ditto
11676         * iterators.C (operator++): ditto
11677         * iterators.h: ditto
11678
11679         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11680
11681         * InsetList.[Ch]: new files, most InsetList handling moved out of
11682         paragraph.C.
11683
11684         * BufferView2.C (removeAutoInsets): InsetList changes
11685         (lockInset): ditto
11686         (ChangeInsets): ditto
11687
11688 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11689
11690         * paragraph_pimpl.h (empty): new function
11691
11692         * paragraph.[Ch] (empty): new function
11693
11694         * other files: use the new Paragraph::empty function
11695
11696 2002-08-09  John Levon  <levon@movementarian.org>
11697
11698         * lyxtext.h: remove unused refresh_height
11699
11700 2002-08-09  John Levon  <levon@movementarian.org>
11701
11702         * Makefile.am:
11703         * sgml.h:
11704         * sgml.C:
11705         * buffer.C:
11706         * paragraph.h:
11707         * paragraph.C: move sgml char escaping out of paragraph
11708
11709         * paragraph.h:
11710         * paragraph.C: remove id setter
11711
11712         * buffer.C:
11713         * paragraph.C:
11714         * paragraph_pimpl.C: remove dead tex_code_break_column
11715
11716         * bufferview_funcs.C: small cleanup
11717
11718         * lyxfunc.C: remove dead proto
11719
11720         * lyxtext.h: make some stuff private. Remove some dead stuff.
11721
11722         * lyxgluelength.C: make as[LyX]String() readable
11723
11724 2002-08-08  John Levon  <levon@movementarian.org>
11725
11726         * LyXAction.h:
11727         * LyXAction.C:
11728         * MenuBackend.C:
11729         * ToolbarDefaults.C:
11730         * lyxfunc.C:
11731         * lyxrc.C:
11732         * toc.C: lyxaction cleanup
11733
11734 2002-08-08  John Levon  <levon@movementarian.org>
11735
11736         * BufferView2.C: small cleanup
11737
11738         * lyxfind.h:
11739         * lyxfind.C: move unnecessary header into the .C
11740
11741 2002-08-08  John Levon  <levon@movementarian.org>
11742
11743         * funcrequest.h: just tedious nonsense
11744
11745         * lyx_main.h:
11746         * lyx_main.C: cleanups
11747
11748         * buffer.C:
11749         * vspace.C: remove dead header lyx_main.h
11750
11751 2002-08-07  Angus Leeming  <leeming@lyx.org>
11752
11753         * Paragraph.[Ch]:
11754         * paragraph_pimpl.h:
11755         Forward declare class Counters in paragraph.h by moving the ctrs member
11756         variable into Paragraph::Pimpl.
11757         (counters): new method, returning a reference to pimpl_->ctrs.
11758
11759         * text2.C: ensuing changes.
11760
11761 2002-08-07  John Levon  <levon@movementarian.org>
11762
11763         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11764
11765         * BufferView_pimpl.C: announce X selection on double/triple
11766           click
11767
11768         * lyx_main.C: use correct bool in batch dispatch
11769
11770         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11771
11772 2002-08-07  André Pönitz <poenitz@gmx.net>
11773
11774         * funcrequest.h: new class to wrap a kb_action and its argument
11775
11776         * BufferView.[Ch]:
11777         * BufferView_pimpl[Ch]:
11778         * LaTeX.C:
11779         * LyXAction.[Ch]:
11780         * lyxfunc.[Ch]:
11781         * lyxrc.C: subsequent changes
11782
11783
11784 2002-08-07  John Levon  <levon@movementarian.org>
11785
11786         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11787           document options change.
11788
11789 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11790
11791         * counters.[Ch]
11792         * text2.C
11793         * paragraph.[Ch]
11794         * makefile.am: move counters functionality over from
11795         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11796
11797 2002-08-06  John Levon  <levon@movementarian.org>
11798
11799         * WordLangTuple.h: new file for word + language code tuple
11800
11801         * SpellBase.h:
11802         * pspell.h:
11803         * pspell.C:
11804         * ispell.h:
11805         * ispell.C:
11806         * lyxtext.h:
11807         * text.C:
11808         * text2.C:
11809         * BufferView.h:
11810         * BufferView2.C: use WordLangTuple
11811
11812         * layout.h:
11813         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11814
11815 2002-08-06  John Levon  <levon@movementarian.org>
11816
11817         * lyx_main.C: fix cmdline batch handling
11818
11819 2002-08-06  André Pönitz <poenitz@gmx.net>
11820
11821         * lyxrc.C: set default for show_banner to true
11822
11823 2002-08-06  John Levon  <levon@movementarian.org>
11824
11825         * pspell.C: fix a crash, and allow new aspell to work
11826
11827 2002-08-06  John Levon  <levon@movementarian.org>
11828
11829         * lyxfunc.C:
11830         * kbmap.C: small cleanup
11831
11832         * vspace.h:
11833         * vspace.C: add const
11834
11835 2002-08-05  John Levon  <levon@movementarian.org>
11836
11837         * LyXAction.C: back to tabular-insert
11838
11839 2002-08-04  John Levon  <levon@movementarian.org>
11840
11841         * BufferView.h:
11842         * BufferView.C: cosmetic change
11843
11844         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11845
11846         * bufferlist.C:
11847         * buffer.h:
11848         * buffer.C:
11849         * lyxcb.h:
11850         * lyxcb.C:
11851         * lyxserver.C:
11852         * lyxvc.C:
11853         * vc-backend.C:
11854         * BufferView2.C: purge all "Lyx" not "LyX" strings
11855
11856         * lyxcursor.h:
11857         * lyxcursor.C: attempt to add some documentation
11858
11859         * lyxfunc.C:
11860         * commandtags.h:
11861         * LyXAction.C:
11862         * ToolbarDefaults.C:
11863         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11864           merge with LFUN_TABULAR_INSERT
11865
11866         * Makefile.am:
11867         * SpellBase.h:
11868         * ispell.h:
11869         * ispell.C:
11870         * pspell.h:
11871         * pspell.C: split up i/pspell implementations into separate
11872           files, many cleanups
11873
11874         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11875
11876         * text2.C: some cleanup
11877
11878         * lyxfunc.C: don't check for isp_command == "none" any more, it
11879           didn't make any sense
11880
11881 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11882
11883         * counters.[Ch]
11884         * text2.C
11885         * paragraph.[Ch]
11886         * makefile.am: move counters functionality over
11887         from text2.C/paragraph.[Ch] to counters.[Ch], and
11888         make proper C++.
11889 2002-08-02  John Levon  <levon@movementarian.org>
11890
11891         * buffer.C: s/lyxconvert/lyx2lyx/
11892
11893 2002-08-02  Angus Leeming  <leeming@lyx.org>
11894
11895         * lyxlex.C: revert John's change as it breaks reading of the user
11896         preamble.
11897
11898 2002-08-02  Angus Leeming  <leeming@lyx.org>
11899
11900         * importer.C (Import):
11901         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11902         changes due to LyXView::view() now returning a boost::shared_ptr.
11903
11904 2002-08-02  John Levon  <levon@movementarian.org>
11905
11906         * lyxlex.C: small cleanup
11907
11908 2002-08-02  John Levon  <levon@movementarian.org>
11909
11910         * text2.C (status): small cleanup, no logic change
11911
11912 2002-08-01  John Levon  <levon@movementarian.org>
11913
11914         * buffer.h:
11915         * buffer.C (writeFile): don't output alerts, caller
11916           handles this
11917
11918         * bufferlist.C:
11919         * lyx_cb.C: from above
11920
11921         * lyxfunc.C: allow to open non-existent files
11922
11923 2002-07-31  John Levon  <levon@movementarian.org>
11924
11925         * lyxserver.C: don't let incidental errors get
11926           in the way (errno)
11927
11928 2002-07-30  John Levon  <levon@movementarian.org>
11929
11930         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11931
11932 2002-07-30  John Levon  <levon@movementarian.org>
11933
11934         * lyxserver.h:
11935         * lyxserver.C: remove I/O callback too
11936
11937 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11938
11939         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11940         log.
11941
11942 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11943
11944         * many files: strip,frontStrip -> trim,ltrim,rtrim
11945
11946 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11947
11948         * PrinterParams.h: remove extern containsOnly, and include
11949         support/lstrings.h instead.
11950
11951         * LaTeX.C (scanAuxFile): modify because of strip changes
11952         (deplog): ditto
11953         * buffer.C (makeLaTeXFile): ditto
11954         * bufferparams.C (writeFile): ditt
11955         * lyxfont.C (stateText): ditto
11956         * lyxserver.C (read_ready): ditto
11957         * vc-backend.C (scanMaster): ditto
11958
11959         * BufferView_pimpl.h: ws changes
11960
11961         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11962
11963 2002-07-26  André Pönitz <poenitz@gmx.net>
11964
11965         * kb_sequence.C: remove unnedred usings
11966
11967 2002-07-26  Juergen Vigna  <jug@sad.it>
11968
11969         * lyxfind.C (LyXReplace): we have to check better if the returned
11970         text is not of theLockingInset()->getLockingInset().
11971
11972 2002-07-25  Juergen Vigna  <jug@sad.it>
11973
11974         * lyxfind.C (LyXReplace): don't replace if we don't get the
11975         right LyXText.
11976
11977         * undo_funcs.C (createUndo): remove debugging code.
11978
11979 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11980
11981         * buffer.C (parseSingleLyXformat2Token): Use default placement
11982         when reading old floats.
11983
11984         * FloatList.C (FloatList): Change the default placement of figure
11985         and tables to "tbp".
11986
11987 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * MenuBackend.C: using std::max
11990
11991 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * MenuBackend.C (expandToc):
11994         (expandToc2): code moved from xforms menu frontend. It is now
11995         generic and TOCs are transparent to menu frontends.
11996
11997 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11998
11999         * toc.C (getTocList): protect against buf=0
12000
12001         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12002         Menu as first parameter. Now, this calls itself recursively to
12003         expand a whole tree (this will be useful for TOC handling)
12004         (expandFloatInsert): remove 'wide' version of floats
12005
12006         * MenuBackend.h (submenuname): returns the name of the submenu.
12007         (submenu): returns the submenu itself, provided it has been
12008         created by MenuBackend::expand
12009
12010 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12011
12012         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12013         insets which have noFontChange == true. (bug #172)
12014
12015 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * BufferView_pimpl.C: add connection objects and use them...
12018         (Pimpl): here.
12019
12020 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12021
12022         * MenuBackend.C (expandLastfiles):
12023         (expandDocuments):
12024         (expandFormats):
12025         (expandFloatListInsert):
12026         (expandFloatInsert):
12027         (expand): split expand in parts
12028
12029 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyx_gui.C: use lyx_gui::exit()
12032
12033 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * LyXAction.C: show the failing pseudo action
12036
12037 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12038
12039         * buffer.C (readFile): Run the lyxconvert script in order to read
12040         old files.
12041
12042 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * LyXAction.C:
12045         * commandtags.h:
12046         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12047
12048 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * LyXAction.C:
12051         * commandtags.h:
12052         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12053
12054 2002-07-22  Herbert Voss  <voss@lyx.org>
12055
12056         * lengthcommon.C:
12057         * lyxlength.[Ch]: add support for the vertical lengths
12058
12059 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * toc.[Ch]: std:: fixes
12062
12063 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * lyxrc.C: do not include lyx_main.h
12066
12067         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12068         for layouts
12069
12070         * lyxrc.C:
12071         * encoding.C:
12072         * bufferlist.C:
12073         * BufferView2.C: include "lyxlex.h"
12074
12075         * tabular.h:
12076         * bufferparams.h: do not #include "lyxlex.h"
12077
12078         * lyxtextclasslist.C (Add): remove method
12079         (classlist): renamed to classlist_
12080
12081         * paragraph_pimpl.C:
12082         * paragraph.C:
12083         * text2.C:
12084         * CutAndPaste.C:
12085         * bufferview_funcs.C:
12086         * bufferlist.C:
12087         * text.C:
12088         * LaTeXFeatures.C:
12089         * buffer.C:
12090         * toc.C (getTocList): use BufferParams::getLyXTextClass
12091
12092         * toc.C (getTocList): use InsetFloat::addToToc
12093
12094         * toc.[Ch]: new files, containing helper functions to handle table
12095         of contents
12096
12097         * lyxfunc.C (dispatch): no need to remove spaces around command
12098         given as a string
12099         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12100         first command of the sequence; it is not very clever, but I do not
12101         have a better idea, actually
12102
12103         * LyXAction.C (LookupFunc): make sure to remove space at the
12104         beginning and end of the command
12105
12106 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * MenuBackend.C (getMenubar): new method: return the menubar of
12109         this menu set
12110         (read): treat differently reading of menu and menubar (in
12111         particular, the menubar has no name now)
12112         (Menu::menubar): remove
12113
12114         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12115         saving is finished
12116
12117 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12118
12119         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12120         a bibitem inset in a RTL paragraph.
12121
12122 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * paragraph_pimpl.C: constify
12125
12126         * BufferView_pimpl.C:
12127         * LaTeX.C:
12128         * lyxfunc.C: fix dispatch in a nicer way
12129
12130 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12131
12132         * lyxfunc.C (dispatch):
12133         * BufferView_pimpl.C:
12134         * BufferView_pimpl.h:
12135         * BufferView.C:
12136         * BufferView.h: rename Dispatch() to dispatch()
12137
12138         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12139
12140         * lyxlayout.C (Read): honor DependsOn tag
12141
12142         * lyxlayout.[Ch] (depends_on): new method
12143
12144         * version.C.in: update lyx_docversion
12145
12146         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12147
12148         * paragraph.C (validate): remove from here...
12149         * paragraph_pimpl.C (validate): ... and move here
12150         (isTextAt): make it const
12151
12152         * buffer.C (getLists): ws cleanup
12153
12154 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12155
12156         * language.C (read): Use iso8859-1 encoding in latex_lang
12157         (this prevents LyX from crashing when using iso10646-1 encoding).
12158
12159 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12160
12161         * text2.C (toggleInset): if cursor is inside an inset, close the
12162         inset and leave cursor _after_ it
12163
12164 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * lyxfunc.C: move minibuffer completion handling out of here
12167
12168 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * BufferView_pimpl.C:
12171         * LaTeX.C: fix dispatch calls
12172
12173 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * text.C (drawChars): Fix Arabic text rendering.
12176
12177 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * LyXAction.C:
12180         * commandtags.h:
12181         * lyxfunc.C: remove message-push/pop
12182
12183         * lyxserver.C:
12184         * lyxfunc.h:
12185         * lyxfunc.C: rationalise some code by removing verboseDispatch
12186           in favour of a bool argument to dispatch()
12187
12188 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * lyx_main.C (init): make sure to read symlinks as absolute paths
12191
12192 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * lyxfunc.h:
12195         * lyxfunc.C: no need for commandshortcut to be a member
12196
12197 2002-07-15  André Pönitz <poenitz@gmx.net>
12198
12199         * converter.C: add support for $$s (scripts from lib/scripts dir)
12200         * lyx_main.C: white space
12201
12202 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * bufferlist.C:
12205         * lyxrc.h:
12206         * lyxrc.C: remove second exit confirmation
12207
12208 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * BufferView.h:
12211         * BufferView.C:
12212         * BufferView2.C:
12213         * BufferView_pimpl.h:
12214         * BufferView_pimpl.C:
12215         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12216
12217 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * MenuBackend.C (expand): add numeric shortcuts to document menu
12220
12221         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12222
12223 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * lyxfont.C (setLyXFamily):
12226         (setLyXSeries):
12227         (setLyXShape):
12228         (setLyXSize):
12229         (setLyXMisc):
12230         (lyxRead):
12231         * debug.C (value):
12232         * buffer.C (asciiParagraph): use ascii_lowercase
12233
12234 2002-07-15  Mike Fabian  <mfabian@suse.de>
12235
12236         * lyxlex_pimpl.C (search_kw):
12237         * lyxlex.C (getLongString):
12238         * converter.h (operator<):
12239         * converter.C (operator<):
12240         * buffer.C (parseSingleLyXformat2Token):
12241         (asciiParagraph):
12242         * ToolbarDefaults.C (read):
12243         * MenuBackend.C (checkShortcuts):
12244         (read):
12245         * LColor.C (getFromGUIName):
12246         (getFromLyXName): use the compare_ascii_no_case instead of
12247         compare_no_case, because in turkish, 'i' is not the lowercase
12248         version of 'I', and thus turkish locale breaks parsing of tags.
12249
12250 2002-07-16  Angus Leeming  <leeming@lyx.org>
12251
12252         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12253         now takes a Buffer const & argument.
12254
12255 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * BufferView.C (resize): check there's a buffer to resize
12258
12259 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * lyxfunc.C: remove dead code
12262
12263         * lyxserver.h:
12264         * lyxserver.C: use lyx_guii::set_read_callback
12265
12266 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12269         an inset in a RTL paragraph.
12270
12271 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * lyxfunc.C: repaint after a font size update
12274
12275 2002-07-15  André Pönitz <poenitz@gmx.net>
12276
12277         * lyxlength.C: inBP should be able to return negative values
12278
12279 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12280
12281         * lyxfunc.C: use lyx_gui::update_fonts()
12282
12283 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * lyxfunc.C: use lyx_gui::update_color()
12286
12287 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * bufferlist.C:
12290         * lyxfunc.h:
12291         * lyxfunc.C:
12292         * lyxrc.h:
12293         * lyxrc.C: remove file->new asks for name option, and let
12294           buffer-new take an argument
12295
12296 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * BufferView_pimpl.C: remove unneeded extra repaint()
12299
12300 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * LyXAction.C: allow command-sequence with NoBuffer
12303
12304         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12305
12306 2002-07-10  Angus Leeming  <leeming@lyx.org>
12307
12308         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12309
12310 2002-07-09  Angus Leeming  <leeming@lyx.org>
12311
12312         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12313
12314 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * lengthcommon.h: whitespace
12317
12318         * lyxfunc.C: update scrollbar after goto paragraph
12319
12320         * lyxtext.h: factor out page break drawing, and fix it so
12321           page break/added space paints as selected nicely
12322
12323 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * BufferView_pimpl.C: add FIXMEs, clean up a little
12326
12327 2002-07-09  André Pönitz <poenitz@gmx.net>
12328
12329         * lyxfont.[Ch]: support for wasy symbols
12330
12331 2002-07-08  André Pönitz <poenitz@gmx.net>
12332
12333         * BufferView_pimpl.C: apply John's patch for #93.
12334
12335 2002-07-05  Angus Leeming  <leeming@lyx.org>
12336
12337         * BufferView_pimpl.C (buffer): generate previews if desired.
12338
12339         * LColor.h: add "preview" to the color enum.
12340
12341         * LColor.C (LColor): add a corresponding entry to the items array.
12342
12343         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12344         with this buffer.
12345
12346 2002-07-05  Angus Leeming  <leeming@lyx.org>
12347
12348         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12349         The body of the code is now in the method that is passed an ostream &
12350         rather than a file name.
12351         Pass an additional only_preamble parameter, useful for the forthcoming
12352         preview stuff.
12353
12354 2002-07-03  André Pönitz <poenitz@gmx.net>
12355
12356         * lyxfunc.C: simplify getStatus() a bit for math stuff
12357
12358 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12361
12362 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12363
12364         * text.C (changeRegionCase): do not change case of all the
12365         document when region ends at paragraph end (bug #461)
12366
12367 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12368
12369         * paragraph.C (startTeXParParams):
12370         (endTeXParParams): add \protect when necessary
12371
12372 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * BufferView_pimpl.C (workAreaExpose): remove warning
12375
12376 2002-06-27  Angus Leeming  <leeming@lyx.org>
12377
12378         * Makefile.am: add lyxlayout_ptr_fwd.h.
12379
12380 2002-06-26  André Pönitz <poenitz@gmx.net>
12381
12382         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12383
12384 2002-06-25  Angus Leeming  <leeming@lyx.org>
12385
12386         * lyxfunc.C (dispatch): Comment out the call to
12387         grfx::GCache::changeDisplay. The method no longer exists now that the
12388         pixmap generation part of the graphics loader has been moved into
12389         InsetGraphics.
12390
12391 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * text2.C: layout as layout
12394
12395         * text.C: layout as layout
12396
12397         * tabular.C (OldFormatRead): layout as layout
12398
12399         * paragraph_pimpl.C (TeXDeeper): layout as layout
12400         (realizeFont): layout as layout
12401
12402         * paragraph.C (writeFile): layout as layout
12403         (validate): layout as layout
12404         (getFont): layout as layout
12405         (getLabelFont): layout as layout
12406         (getLayoutFont): layout as layout
12407         (breakParagraph): layout as layout
12408         (stripLeadingSpaces): layout as layout
12409         (getEndLabel): layout as layout
12410         (getMaxDepthAfter): layout as layout
12411         (applyLayout): layout as layout
12412         (TeXOnePar): layout as layout
12413         (simpleTeXOnePar): layout as layout
12414         (TeXEnvironment): layout as layout
12415         (layout): layout as layout
12416         (layout): layout as layout
12417
12418         * lyxtextclass.C (compare_name): new functor to work with
12419         shared_ptr, layout as layout
12420         (Read): layout as layout
12421         (hasLayout): layout as layout
12422         (operator): layout as layout
12423         (delete_layout): layout as layout
12424         (defaultLayout): layout as layout
12425
12426         * lyxlayout_ptr_fwd.h: new file
12427
12428         * lyxlayout.C (Read): layout as layout
12429
12430         * lyx_cb.C (MenuInsertLabel): layout as layout
12431
12432         * bufferlist.C (newFile): layout as layout
12433
12434         * buffer.C (readLyXformat2): layout as layout
12435         (parseSingleLyXformat2Token): layout as layout
12436         (insertStringAsLines): layout as layout
12437         (asciiParagraph): layout as layout
12438         (latexParagraphs): layout as layout
12439         (makeLinuxDocFile): layout as layout
12440         (simpleLinuxDocOnePar): layout as layout
12441         (makeDocBookFile): layout as layout
12442         (simpleDocBookOnePar): layout as layout
12443         (getLists): layout as layout
12444
12445         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12446
12447         * CutAndPaste.C (cutSelection): layout as layout
12448         (pasteSelection): layout as layout
12449         (SwitchLayoutsBetweenClasses): layout as layout
12450
12451         * BufferView_pimpl.C (Dispatch): layout as layout
12452         (smartQuote): layout as layout
12453
12454         * BufferView2.C (unlockInset): layout as layout
12455
12456 2002-06-24  André Pönitz <poenitz@gmx.net>
12457
12458         * lyxfunc.C: fix #487
12459
12460 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * lyxrc.h:
12463         * lyxrc.C:
12464         * lyxfunc.C: remove display_shortcuts, show_banner
12465
12466 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * Buffer_pimpl.C: oops, update on resize
12469
12470 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * buffer.C:
12473         * converter.C:
12474         * exporter.C:
12475         * lyxfunc.C:
12476         * BufferView.h:
12477         * BufferView.C: use repaint()
12478
12479         * BufferView_pimpl.h:
12480         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12481           as it's a clearer description. Remove superfluous
12482           redraws.
12483
12484 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * text.C: fix bug 488. Not ideal, but getting
12487           getWord() to work properly for the insets that
12488           matter is more difficult ...
12489
12490 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * BufferView_pimpl.C:
12493         * LyXAction.C:
12494         * commandtags.h:
12495         * lyxfunc.C: remove the six million index lyxfuncs to just
12496           one, and DTRT (bug 458)
12497
12498 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * BufferView.h:
12501         * BufferView.C:
12502         * BufferView_pimpl.h:
12503         * BufferView_pimpl.C: clean up resize() stuff,
12504           and unnecessary updateScreen()s
12505
12506 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * BufferView.h:
12509         * BufferView.C:
12510         * BufferView_pimpl.h:
12511         * BufferView_pimpl.C:
12512         * lyxfind.h:
12513         * lyxfind.C:
12514         * minibuffer.C: remove focus management of workarea,
12515           not needed. Use screen's greyOut()
12516
12517 2002-06-17  Herbert Voss  <voss@lyx.org>
12518
12519         * converter.C: (convert) do not post a message, when converting
12520         fails, let the calling function decide what to do in this case
12521
12522 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * lyxfunc.C: tidy up a little
12525
12526 2002-06-16    <alstrup@diku.dk>
12527
12528         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12529         Got rid of FORMS_H_LOCATION include. Now we are
12530         GUII.
12531
12532 2002-06-15  LyX Development team  <lyx@rilke>
12533
12534         * buffer.[Ch] (sgmlOpenTag):
12535         (sgmlCloseTag): Added support for avoiding pernicious mixed
12536         content. Return number of lines written.
12537
12538         (makeLinuxDocFile):
12539         (makeDocBookFile): Fixed calls to sgml*Tag.
12540         Simple white space clean.
12541
12542         (simpleDocBookOnePar): Simple white space clean.
12543
12544         * tabular.[Ch] (docBook): Renamed to docbook and got another
12545         argument to related with the pernicious mixed content.
12546
12547         (docbookRow): Fixed calls for docbook inset method.
12548
12549 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12550
12551         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12552         so it's X11 independent.
12553
12554         * kb*.[Ch]: ditto.
12555
12556         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12557
12558 2002-06-15  Lyx Development team  <lyx@electronia>
12559
12560         * intl.h: Renamed getTrans to getTransManager.
12561
12562 2002-06-14  Angus Leeming  <leeming@lyx.org>
12563
12564         * Makefile.am: nuke forgotten stl_string_fwd.h.
12565
12566 2002-06-12  Angus Leeming  <leeming@lyx.org>
12567
12568         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12569
12570 2002-06-13  Angus Leeming  <leeming@lyx.org>
12571
12572         * LaTeX.C:
12573         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12574
12575 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12576
12577         * kbmap.C (getiso): add support for cyrillic and greek
12578
12579 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * BufferView.h:
12582         * BufferView.C:
12583         * BufferView_pimpl.h:
12584         * BufferView_pimpl.C: move bogus scrolling logic
12585           to xforms
12586
12587 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * lyxfunc.C:
12590         * BufferView_pimpl.C: view->resize() change
12591
12592 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * BufferView_pimpl.C: topCursorVisible
12595           prototype change
12596
12597 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * Makefile.am:
12600         * lyx_gui.h:
12601         * lyx_gui.C: move to frontends/
12602
12603         * main.C:
12604         * lyx_main.h:
12605         * lyx_main.C: changes from above
12606
12607 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * intl.C:
12610         * intl.h:
12611         * kbmap.C:
12612         * kbsequence.C:
12613         * lyx_cb.C:
12614         * lyx_main.C: minor tidy
12615
12616 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * BufferView_pimpl.h:
12619         * BufferView_pimpl.C:
12620         * BufferView.h:
12621         * BufferView.C: make painter() const,
12622           remove dead code
12623
12624         * BufferView2.C: use screen() accessor
12625
12626         * lyx_main.h:
12627         * lyx_main.C: some minor cleanup
12628
12629 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * BufferView_pimpl.h:
12632         * BufferView_pimpl.C: remove enter/leaveView,
12633           use workHeight()
12634
12635 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * BufferView.h:
12638         * BufferView.C:
12639         * BufferView2.C:
12640         * BufferView_pimpl.h:
12641         * BufferView_pimpl.C: only construct screen once,
12642           rename
12643
12644         * lyxrc.C: remove pointless comment
12645
12646 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * BufferView.h:
12649         * BufferView.C: remove active() and belowMouse()
12650
12651         * BufferView_pimpl.h:
12652         * BufferView_pimpl.C: use workarea() not workarea_,
12653           and make it use a scoped_ptr instead
12654
12655 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * lyx_gui.C: add debug message on BadWindow
12658
12659 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * sp_spell.C: fdopen is not part of the C++ standard.
12662
12663         * paragraph.C (InsetIterator): use >= instead of ==
12664
12665 2002-06-07  Angus Leeming  <leeming@lyx.org>
12666
12667         Fixes needed to compile with Compaq cxx 6.5.
12668         * BufferView_pimpl.C:
12669         * DepTable.C:
12670         * buffer.C:
12671         * converter.C:
12672         * encoding.C:
12673         * lyx_gui.C:
12674         * lyx_main.C:
12675         * lyxtextclasslist.C:
12676         * minibuffer.C:
12677         * sp_spell.C:
12678         * tabular_funcs.C:
12679         * vc-backend.C:
12680         all c-library variables have been moved into namespace std. Wrap
12681         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12682
12683         * lyxlength.C:
12684         * tabular-old.C:
12685         * tabular.C:
12686         Add a using std::abs declaration.
12687
12688         * kbmap.h (modifier_pair):
12689         * paragraph.h (InsetTable, InsetList):
12690         * lyxfont.h (FontBits):
12691         type definition made public.
12692
12693         * bufferlist.C (emergencyWriteAll): the compiler complains that
12694         there is more than one possible lyx::class_fun template to choose from.
12695         I re-named the void specialisation as lyx::void_class_fun.
12696
12697         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12698
12699         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12700         the compiler is is unable to find tostr in write_attribute.
12701
12702 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * buffer.C (sgmlError): hide #warning
12705
12706 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12707
12708         * xtl/*: get rid of xtl, which is not in use anyway
12709
12710         * LyXAction.C (init):
12711         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12712         were unimplemented xtl experimentation
12713
12714 2002-06-04  André Pönitz <poenitz@gmx.net>
12715
12716         * lyxfunc.C: disable array operation on simple formulae
12717
12718 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * converter.C: constify a bit
12721
12722 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * lyx_gui.C: check xforms version correctly
12725
12726 2002-04-30  Herbert Voss  <voss@lyx.org>
12727
12728         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12729         "keep" option
12730
12731 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12734           attempt to register it with a VCS)
12735
12736 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * lyx_main.C (init): honor variables LYX_DIR_13x and
12739         LYX_USERDIR_13x
12740
12741 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * buffer.h:
12744         * buffer.C:
12745         * lyx_main.C: fix a crash on bad command line,
12746           and give a useful exit status on error
12747
12748         * lyxfunc.C (doImport): allow -i lyx to work
12749
12750 2002-03-30  André Pönitz <poenitz@gmx.net>
12751
12752         * lyxfunc.C: mathed font changes
12753
12754 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * LaTeX.C:
12757         * importer.h:
12758         * importer.C:
12759         * lyx_sty.h:
12760         * lyx_sty.C:
12761         * lyxlex.C:
12762         * lyxrow.h:
12763         * lyxtext.h:
12764         * paragraph.h:
12765         * paragraph.C:
12766         * texrow.h:
12767         * texrow.C:
12768         * text.C:
12769         * trans_mgr.h: srcdocs, and some minor cleanups
12770
12771 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12774         call getFont all the time)
12775
12776 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * switch from SigC signals to boost::signals
12779
12780 2002-05-29  André Pönitz <poenitz@gmx.net>
12781
12782         * paragraph_pimpl.C (getChar): don't call size() too often...
12783
12784 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12785
12786         * paragraph_pimpl.C (insertChar): do not try to update tables when
12787         appending (pos == size())
12788
12789         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12790         in order to reduce drastically the number of comparisons needed to
12791         parse a large document
12792
12793 2002-05-29  André Pönitz <poenitz@gmx.net>
12794
12795         * text.C:
12796         * text2.C:
12797         * lyxtextclass.C:
12798         * sp_pspell.h:
12799         * textclasslist.[Ch]:
12800         * sp_ispell.h: whitespace change
12801
12802 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12803
12804         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12805         lyxaction directly now.
12806
12807 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * trans.C:
12810         * lyxfont.C:
12811         * lyxvc.C: remove unused headers
12812
12813 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * Makefile.am:
12816         * buffer.h:
12817         * undostack.h:
12818         * undostack.C:
12819         * undo_funcs.h:
12820         * undo_funcs.C: some cleanups. Use shared_ptr
12821           and a template for the undo stacks.
12822
12823 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * BufferView_pimpl.h:
12826         * BufferView_pimpl.C:
12827         * kbmap.h:
12828         * kbmap.C:
12829         * kbsequence.h:
12830         * kbsequence.C:
12831         * lyxfunc.h:
12832         * lyxfunc.C:
12833         * text2.C: use key_state/mouse_state
12834
12835 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12838         and LSubstring
12839
12840         * chset.C: change include order
12841         (loadFile): use boost regex and get rid of LRegex and LSubstring
12842
12843         * Makefile.am (BOOST_LIBS): new variable
12844         (lyx_LDADD): use it
12845
12846         * LaTeX.C: change include order.
12847         (scanAuxFile): use boost regex and get rid of LRegex and
12848         LSubstring
12849         (deplog): ditto
12850
12851 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * ColorHandler.h:
12854         * ColorHandler.C:
12855         * FontInfo.h:
12856         * FontInfo.C: moved to frontends/xforms/
12857
12858         * FontLoader.h:
12859         * FontLoader.C: moved into frontends for GUIIzation
12860
12861         * Makefile.am:
12862         * lyx_gui.C:
12863         * lyxfont.C:
12864         * lyxfunc.C: changes from above
12865
12866 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * LColor.C: remove spurious X include
12869
12870         * BufferView_pimpl.C:
12871         * Makefile.am:
12872         * font.h:
12873         * font.C:
12874         * text.C:
12875         * text2.C: move font metrics to frontends/
12876
12877 2002-05-24  Juergen Vigna  <jug@sad.it>
12878
12879         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12880         setting the undo_cursor.
12881
12882         * ParagraphParameters.h: include local includes first.
12883
12884 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12885
12886         * BufferView_pimpl.C:
12887         * BufferView_pimpl.h:
12888         * Makefile.am:
12889         * WorkArea.h:
12890         * WorkArea.C:
12891         * screen.C: move WorkArea into frontends/
12892
12893         * lyxscreen.h:
12894         * screen.C:
12895         * text.C:
12896         * BufferView.C:
12897         * BufferView2.C: move LyXScreen into frontends/
12898
12899         * lyxlookup.h:
12900         * lyxlookup.C:
12901         * lyx_gui.C: move lyxlookup into frontends/xforms/
12902
12903 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * BufferView2.C:
12906         * BufferView_pimpl.C:
12907         * FontLoader.C:
12908         * LyXView.h:
12909         * LyXView.C:
12910         * Makefile.am:
12911         * WorkArea.C:
12912         * XFormsView.h:
12913         * XFormsView.C:
12914         * buffer.C:
12915         * bufferlist.C:
12916         * bufferview_funcs.C:
12917         * converter.C:
12918         * importer.C:
12919         * lyx_cb.C:
12920         * lyx_gui.C:
12921         * lyx_main.C:
12922         * lyx_find.C:
12923         * lyxfunc.C:
12924         * lyxvc.C:
12925         * minibuffer.C:
12926         * text.C:
12927         * text2.C:
12928         * trans.C:
12929         * vc-backend.C: move LyX/XFormsView into frontends/
12930
12931 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * Makefile.am:
12934         * PainterBase.C:
12935         * PainterBase.h:
12936         * Painter.C:
12937         * Painter.h:
12938         * WorkArea.C:
12939         * WorkArea.h:
12940         * screen.C:
12941         * tabular.C:
12942         * text.C:
12943         * text2.C: move Painter to frontends/
12944
12945 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * buffer.C: comment out some some code that depend upon lyx_format
12948         < 220
12949
12950         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12951         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12952
12953         * buffer.h (NO_COMPABILITY): turn off compability
12954
12955         * ColorHandler.C: include scoped_array.hpp
12956
12957         * font.C: Use more specific smart_ptr header.
12958         * Painter.C: ditto
12959         * gettext.C: ditto
12960         * ShareContainer.h: ditto
12961         * lyx_main.h: ditto
12962         * kbmap.h: ditto
12963         * FontInfo.h: ditto
12964         * BufferView_pimpl.h: ditto
12965         * ColorHandler.h: ditto
12966
12967         * kbmap.C (defkey): change call to shared_ptr::reset
12968
12969 2002-05-21  Juergen Vigna  <jug@sad.it>
12970
12971         * buffer.C (insertErtContents): fix to insert ert asis if it is
12972         non empty. Skip it completely if it contains only whitespaces.
12973
12974 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12975
12976         * BufferView_pimpl.C:
12977         * BufferView2.C: clear selection on paste (bug 393)
12978
12979 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12980
12981         * DepTable.C: include ctime
12982
12983 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12986
12987 2002-05-14  Juergen Vigna  <jug@sad.it>
12988
12989         * text.C (breakParagraph): fixed function to honor the keepempty
12990         layout in the right maner and also to permit the right breaking
12991         algorithm on empty or non empyt keepempty paragraphs.
12992
12993         * paragraph.C (breakParagraph): we have to check also if the par
12994         is really empty (!size()) for isempty otherwise we do the wrong
12995         paragraph break.
12996
12997 2002-05-10  Juergen Vigna  <jug@sad.it>
12998
12999         * buffer.[Ch] : The following are only changes to the ert
13000         compatibility read reading old LaTeX layout and font stuff and
13001         convert it to ERTInsets.
13002
13003         * buffer.h: added isErtInset().
13004
13005         * buffer.C (struct ErtComp): add a fromlayout bool to check
13006         if we're inside a LaTeX layout.
13007         (isErtInset): new helper function.
13008         (insertErtContents): look for other ert insets before this one
13009         and insert the contents there, so that we don't have subsequent
13010         ERT insets with nothing between them. This way we create only one
13011         inset with multiple paragraphs. Also check if we don't insert only
13012         spaces ' ' as they are ignored anyway afterwards in the .tex file
13013         so if we have only spaces we will ignore this latex part in the
13014         new file.
13015         (parseSingleLyXformat2Token \\layout): better compatibility when
13016         reading layout-latex stuff.
13017         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13018         language tag.
13019         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13020         stuff after reading the inset only get the information back from
13021         the stack.
13022
13023 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13024
13025         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13026
13027         * LaTeXFeatures.C (getBabelOptions): New method.
13028
13029 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * BufferView_pimpl.C (Dispatch): work around missing argument for
13032         'layout'
13033
13034 2002-05-08  Juergen Vigna  <jug@sad.it>
13035
13036         * text.C (leftMargin): handle paragraph leftindent.
13037
13038         * paragraph.C (writeFile): write the new \\leftindent tag.
13039         (validate): handle leftindent code.
13040         (TeXEnvironment): handle paragraphleftindent code again.
13041
13042         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13043
13044         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13045         for paragrap_extra indent code and new token \\leftindent.
13046         (latexParagraphs): handle the leftindent as environment.
13047
13048         * ParameterStruct.h: added leftindent support.
13049
13050         * ParagraphParameters.C (leftIndent): added support functions for
13051         the paragraph left indent.
13052
13053         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13054         more appropriate.
13055
13056 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13057
13058         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13059         inside insetERT.
13060
13061         * text.C (computeBidiTables): No bidi in insetERT.
13062
13063         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13064         in RTL documents.
13065
13066 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * version.C.in: pre 5
13069
13070 2002-05-02  José Matos  <jamatos@fep.up.pt>
13071         * buffer.C (makeDocBookFile): white space changes, add newline to
13072         command styles.
13073         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13074
13075         * tabular.C (docBook): fix typo.
13076
13077 2002-05-03  Juergen Vigna  <jug@sad.it>
13078
13079         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13080         change in LyXText as we can not be sure it was not freed.
13081         (drawOneRow): remove unused code.
13082
13083         * text.C (drawInset): redo the calculation of the need_break_row as
13084         it could have a row which was already freed.
13085         (draw): look at the return value of drawInset and return false if
13086         it also returned false.
13087         (paintRowText): look at the return value of draw and return false if
13088         it also returned false.
13089
13090         * lyxtext.h: added bool return type to drawInset() and draw() so that
13091         if we have a change in the row so that the rowbreak has to be redone
13092         we abort drawing as it will be called again.
13093
13094 2002-05-02  Juergen Vigna  <jug@sad.it>
13095
13096         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13097         a change in the maintext also if we're inside an inset.
13098         (Dispatch): set the cursor again after a break line and after the
13099         screen has been updated as it could be we're in a different row.
13100
13101         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13102         to set the cursor behind the pargraph with > size().
13103         (setCursor): check also for the same paragraph when checking where
13104         to put the cursor if we have a NFR inset.
13105
13106         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13107         parts of layout read further up as it still was in the wrong
13108         position.
13109
13110 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * screen.C (drawFromTo): change sine fullRebreak always return
13113         true.
13114
13115         * buffer.C (parseSingleLyXformat2Token): reindent some
13116
13117         * BufferView_pimpl.C (update): change since fullRebreak always
13118         return true.
13119         (Dispatch): git rid of the last hardcoded "Standard"s.
13120
13121 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * text2.[Ch] (fullRebreak): make it return void now that we always
13124         returned true.
13125
13126 2002-04-30  Juergen Vigna  <jug@sad.it>
13127
13128         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13129         ert compatibility check for "latex" layout.
13130
13131 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13132
13133         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13134         minipages: use col% instead of p%, and also use the current font.
13135         (makeLaTeXFile): Fix use babel condition.
13136         (parseSingleLyXformat2Token): Correct font when reading old floats.
13137
13138 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13139
13140         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13141         inserting list of floats.
13142
13143 2002-04-25  Herbert Voss  <voss@lyx.org>
13144
13145         * MenuBackend.C (expand): don't add the graphics extensions to the
13146         export menu
13147
13148 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13151         non-existing layout, do not complain if it was the default layout
13152         of the original class (bug #342)
13153
13154 2002-04-24  Juergen Vigna  <jug@sad.it>
13155
13156         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13157         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13158
13159 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13160
13161         * buffer.C (getBibkeyList): If using \bibliography, return the
13162         option field with the reference itself. Enables us to provide natbib
13163         support when using \bibliography.
13164
13165 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13166
13167         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13168
13169         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13170         natbib is provided by the LaTeX class.
13171
13172 2002-04-23  Juergen Vigna  <jug@sad.it>
13173
13174         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13175         Wakeup functions.
13176
13177         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13178
13179 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13180
13181         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13182
13183         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13184         ensuremath around textordmasculine, textordfeminine and
13185         textdegree.
13186
13187 2002-04-19  Juergen Vigna  <jug@sad.it>
13188
13189         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13190         reinitializing the buffer otherwise row-dimensions may be wrong.
13191         (update): reset also the selection cursors if they do exits otherwise
13192         their x/y positions may be wrong.
13193
13194         * text2.C (cursorDown): don't enter the inset if we came from a row
13195         above and are one row over the inset.
13196
13197         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13198         really leaving an inset.
13199
13200 2002-04-18  Juergen Vigna  <jug@sad.it>
13201
13202         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13203         of the selected paragraph does not have the selected layout also if
13204         the last one had!
13205
13206         * text2.C (setLayout): fixed bug which did not change last selected
13207         paragraph.
13208
13209         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13210         changed the read and substituted \\end_float with \\end_inset!
13211
13212         * BufferView_pimpl.C (cursorPrevious):
13213         (cursorNext): fixed to make it work with rows heigher than the work
13214         area without moving the cursor only the draw of the row.
13215         (workAreaMotionNotify): fix jumping over high rows.
13216
13217 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13220         Ressler.
13221
13222 2002-04-16  Juergen Vigna  <jug@sad.it>
13223
13224         * text2.C (setCursor): set also the irow().
13225         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13226         (cursorUp):
13227         (cursorDown): support for locking an inset if the x_fix value goes
13228         inside it. That way I can transverse insets too with cursor up/down.
13229
13230         * lyxrow.h: added irow helper function same as other (i) functions.
13231
13232         * BufferView_pimpl.C (cursorPrevious):
13233         (cursorNext): fixed for insets!
13234
13235 2002-04-15  Juergen Vigna  <jug@sad.it>
13236
13237         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13238         position otherwise it is wrong in some cases.
13239
13240         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13241         inside the inset before the call.
13242
13243 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13244
13245         * buffer.[Ch] (getBibkeyList): make it const.
13246
13247 2002-04-12  Juergen Vigna  <jug@sad.it>
13248
13249         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13250
13251         * text2.C (getCursorX): new helper function
13252         (setCursor): compute also ix_
13253         (setCursorFromCoordinates): set also ix.
13254
13255         * lyxcursor.h: added ix_ and helper functions.
13256
13257         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13258
13259         * buffer.C (insertStringAsLines): dont break paragraph if the this
13260         paragraph is inside an inset which does not permit it!
13261
13262         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13263         also with no chars on this paragraph.
13264         (paintRowText): only paint stuff if it's inside the workarea!
13265
13266         * paragraph.C (breakParagraph): honor keepempty flag and break the
13267         paragraph always below not above.
13268
13269         * BufferView2.C (unlockInset): update the paragraph layout on inset
13270         unlock as we changed paragraph in such a case.
13271
13272         * lyxfind.C (LyXFind): clear the former selection if not found!
13273
13274         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13275         again called in insertChar().
13276
13277         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13278         an inset which uses the whole row!
13279         (rightMargin): ditto.
13280         (insertChar): force a rebreak if we inserted an inset!
13281
13282 2002-03-28  Herbert Voss  <voss@lyx.org>
13283
13284         * lyxlength.[Ch]: add inBP() to get the right PS-point
13285         units (BigPoint). With inPixels we have rounding errors
13286
13287 2002-04-11  Juergen Vigna  <jug@sad.it>
13288
13289         * text2.C (setCursorFromCoordinates): set iy to the right value.
13290         (setCursor): add check if row->previous exists!
13291
13292         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13293         an old float_type as this was the case in the old code!
13294
13295         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13296
13297         * BufferView2.C (showLockedInsetCursor): use iy
13298         (fitLockedInsetCursor): ditto
13299
13300         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13301         locked insets as there we have the right value now.
13302
13303         * lyxcursor.C: added iy_ variable and iy functions to set to the
13304         baseline of cursor-y of the locked inset.
13305
13306         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13307         (setCursor): fixed for insets which need a full row.
13308
13309         * text.C (rowLastPrintable): don't ignore the last space when before
13310         an inset which needs a full row.
13311         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13312         as last character of a row when before a inset which needs a full row.
13313
13314 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13315
13316         * version.C.in: update date
13317
13318         * text2.C (fullRebreak): try to always return true and see what
13319         happens...
13320
13321 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13322
13323         * MenuBackend.C (expand): use Floating::listName
13324
13325         * FloatList.C (FloatList): add listName argument to the built-in
13326         floats
13327
13328         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13329         text associated with the float.
13330
13331 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13334
13335 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * ShareContainer.h: add a couple of missing typenames.
13338
13339 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13340
13341         * lyxrc.C (getDescription): use _() correctly rather than N_().
13342
13343 2002-03-28  Herbert Voss  <voss@lyx.org>
13344
13345         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13346         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13347
13348 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13349
13350         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13351         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13352
13353 2002-03-29  Juergen Vigna  <jug@sad.it>
13354
13355         * lyxfunc.C (dispatch): add a missing fitCursor call.
13356
13357         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13358         it was scrolled by a cursor move, so return the bool status.
13359
13360         * BufferView.C (fitCursor): return the bool flag also to the outside
13361         world as this is needed.
13362
13363         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13364
13365         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13366         call the edit() as it is not needed (and wrong) IMO.
13367         (workAreaButtonPress): set the screen_first variable before evt.
13368         unlock the inset as this may change screen_first and then we have
13369         a wrong y position for the click!
13370
13371 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * MenuBackend.C (expand): another translation that I missed
13374
13375 2002-03-28  Juergen Vigna  <jug@sad.it>
13376
13377         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13378
13379         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13380
13381 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13382
13383         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13384
13385         * MenuBackend.C (expand): fix export/view/update when there is no
13386         document open.
13387
13388 2002-03-27  Herbert Voss  <voss@lyx.org>
13389
13390         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13391         and text%
13392
13393 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13394
13395         * bufferview_funcs.C (currentState): only show paragraph number
13396         for is DEVEL_VERSION is set.
13397
13398         * lyxfunc.C (dispatch): put warning in INFO channel
13399
13400         * MenuBackend.C (expand): translate the name of floats
13401
13402         * FloatList.C (FloatList): mark the float names for translation
13403
13404         * converter.C (convert): use LibScriptSearch
13405
13406 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13407
13408         * MenuBackend.C (defaults): fix default menu (we might as well get
13409         rid of it...)
13410
13411 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13412
13413         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13414         directory.
13415
13416 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * lyxvc.C: reorder includes.
13419
13420 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13423           properly
13424
13425 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * CutAndPaste.C: change layouts earlier on paste
13428           to avoid crashing when calling getFont()
13429
13430 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13431
13432         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13433         irritating #error.
13434
13435 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * WorkArea.C: remove 'Pending' debug message.
13438
13439         * most files: ws cleanup
13440
13441         * buffer.[Ch]: ws changes
13442
13443         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13444
13445 2002-03-21  Juergen Vigna  <jug@sad.it>
13446
13447         * tabular.C (SetMultiColumn): collapse also the contents of the
13448         cells and set the last border right. Added a Buffer const * param.
13449
13450 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13453         linking or not.
13454
13455 2002-03-19  Juergen Vigna  <jug@sad.it>
13456
13457         * text2.C (clearSelection): reset also xsel_cache.
13458
13459         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13460         where it needs to be called (John tells us to do so too :)
13461         (selectionLost): reset sel_cache.
13462
13463         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13464
13465 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13466
13467         * text2.C (setCursorIntern): put debuging code in INSETS channel
13468
13469 2002-03-19  André Pönitz <poenitz@gmx.net>
13470
13471         * lyxfunc.C: tiny whitespace change
13472
13473 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13474
13475         * ToolbarDefaults.C (init):
13476         * LyXAction.C (init):
13477         * commandtags.h:
13478         * BufferView_pimpl.C (Dispatch):
13479         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13480
13481 2002-03-19  Allan Rae  <rae@lyx.org>
13482
13483         * exporter.C (Export): removeAutoInsets before doing anything else.
13484         While I've just introduced a dependency on BufferView this really is
13485         the best place to clean the buffer otherwise you need to cleanup in
13486         a dozen places before calling export or cleanup in a dozen functions
13487         that export calls.
13488
13489         * converter.C (runLaTeX):
13490         (scanLog): Better handling of removeAutoInsets and screen updates.
13491
13492         * lyxfunc.C (dispatch): small whitespace changes
13493
13494 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * WorkArea.C (C_WorkAreaEvent): return a value.
13497         (event_cb): return 1 if we handled the event, 0 otherwise.
13498
13499         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13500
13501 2002-03-18  Juergen Vigna  <jug@sad.it>
13502
13503         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13504         (GetAdditionalWidth): ditto.
13505         (RightLine): ditto.
13506         (LeftLine): ditto.
13507
13508         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13509         inset if we're there actually (probably not used right now but this
13510         is the direction to go for unifying code).
13511         (paste): disable code to clear the selection.
13512
13513         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13514         inside an InsetText and move the check further up as it is in the
13515         wrong place.
13516
13517         * text2.C (pasteSelection): set a selection over the pasted text.
13518
13519 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13520
13521         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13522         and libgraphics to build on Cygwin.
13523
13524 2002-03-15  Juergen Vigna  <jug@sad.it>
13525
13526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13527         inserting an Inset into the paragraph. I know this is not the best
13528         fix but we already use current_view in CutAndPaste so we will remove
13529         all of it's using at the same time.
13530
13531         * buffer.C (sgmlError): deactivated function till it is rewritten in
13532         the right mode, now it can create problems.
13533
13534         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13535         before accessing it.
13536
13537 2002-03-14  Juergen Vigna  <jug@sad.it>
13538
13539         * undo_funcs.C (textHandleUndo): do the right thing when updating
13540         the inset after the undo/redo.
13541
13542         * text2.C (setCursor): just some testcode for #44 not ready yet.
13543
13544         * undo_funcs.C (textHandleUndo): set the next() and previous()
13545         pointers of the paragraph to 0 before deleting otherwise we have
13546         problems with the Paragraph::[destructor].
13547
13548         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13549         on a paragraph insertion.
13550
13551 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * buffer.C (asciiParagraph): use += operator for char append to
13554         string.
13555
13556         * paragraph.C (getFontSettings): compare >= not just >
13557         (highestFontInRange): ditto
13558         (setFont): ditto
13559
13560 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * paragraph.C: change several algorithm to be more appripriate for
13563         the problem domain. This is lookip in FontList and in the InsetList.
13564
13565 2002-03-13  André Pönitz <poenitz@gmx.net>
13566
13567         * commandtags.h:
13568         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13569
13570 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * commandtags.h:
13573         * LyXAction.C:
13574         * lyxfunc.C:
13575         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13576
13577 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * Painter.C (display): anon helper function, adjust code for this
13580         change.
13581         (pixmap): remove function.
13582
13583         * Painter.h: remove private display variable.
13584
13585         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13586
13587 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13588
13589         * WorkArea.[Ch]: remove figinset_canvas cruft.
13590
13591 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * lyxtextclass.C (operator): add one item cache optimization.
13594
13595         * bufferlist.h: doxy changes
13596
13597         * bufferlist.C: ws changes
13598
13599         * DepTable.[Ch] (ext_exist): place const in the right spot.
13600
13601         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13602         call resizeInsets.
13603         (workAreaExpose): call resizeInsets when the with BufferView changes.
13604         (Dispatch): adjust for protectedBlank removal
13605         (specialChar): call updateInset if the insert went ok.
13606
13607         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13608         specialChar instead.
13609
13610         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13611
13612         * BufferView.h: doxy change
13613
13614         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13615
13616         * lyxtextclass.C (operator[]): remove non-const version
13617         (defaultLayout): remove non-const version
13618
13619 2002-03-12  Juergen Vigna  <jug@sad.it>
13620
13621         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13622         did resize the LyXText too.
13623
13624         * buffer.C (readLyXformat2): set layout information on newly allocated
13625         paragraphs.
13626
13627         * tabular.C (OldFormatRead): set layout information on the paragraph.
13628
13629 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13630
13631         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13632
13633 2002-03-11  Juergen Vigna  <jug@sad.it>
13634
13635         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13636         plainly wrong.
13637         (resizeCurrentBuffer): force also the insets to resize themselfes.
13638         (moveCursorUpdate): fixed up for InsetText.
13639
13640 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13641
13642         * commandtags.h:
13643         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13644         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13645         value of Dialogs::tooltipsEnabled().
13646         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13647
13648 2002-03-08  Juergen Vigna  <jug@sad.it>
13649
13650         * BufferView_pimpl.C (updateInset): update inset inside inset also
13651         if it isn't inside theLockingInset().
13652
13653 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * buffer.C (asciiParagraph): redo some of the word and line length
13656         handling.
13657         (getLists): look for Caption instead of caption.
13658
13659 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13660
13661         * buffer.C (Buffer): initialize niceFile to true
13662         (makeLaTeXFile):
13663         (makeLinuxDocFile):
13664         (makeDocBookFile): make sure niceFile is true on exit
13665
13666 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13667
13668         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13669
13670 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13671
13672         * LyXSendto.C: remove.
13673         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13674         * lyx_gui.C: remove now-redundant comment.
13675         * ColorHandler.h: remove forward declaration of class WorkArea.
13676         * lyxfunc.C: remove #include "WorkArea.h".
13677
13678 2002-03-07  Juergen Vigna  <jug@sad.it>
13679
13680         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13681         got moved away with the DEPM and also set the inset_owner always
13682         right which before could have been omitted.
13683
13684 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13687         wanted layout is not found.
13688
13689 2002-03-07  Juergen Vigna  <jug@sad.it>
13690
13691         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13692
13693 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * paragraph.C (breakParagraph): use default layout not layout of
13696         prev paragraph.
13697         (Paragraph): clear ParagraphParameters.
13698
13699 2002-03-06  Juergen Vigna  <jug@sad.it>
13700
13701         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13702         otherwise it would not be a valid lenght. Fixed a special case in
13703         the minipage compatibility read where we end the document with a
13704         minipage.
13705
13706         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13707         was set as it could be 0 for InsetTexts first entry.
13708
13709 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * paragraph.C (writeFile): if layout is empty write out
13712         defaultLayoutName().
13713
13714         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13715         file without named layout we set layout to defaultLayoutName().
13716
13717 2002-03-06  Juergen Vigna  <jug@sad.it>
13718
13719         * CutAndPaste.C (copySelection): set layout for new paragraph.
13720
13721         * text.C (prepareToPrint): leave ERT inset left aligned
13722         (leftMargin): don't indent paragraphs inside ERT insets
13723
13724 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * paragraph.C (breakParagraph): dont call clear do the work manually
13727
13728         * paragraph.[Ch] (clear): remove function
13729
13730 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13731
13732         * paragraph.C (Paragraph): dont call clear, the work has already
13733         been done.
13734
13735         * lyxtextclass.C (operator): assert if n is empty
13736
13737         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13738         work manually instead.
13739
13740 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * BufferView_pimpl.C: protect selectionLost against text == 0
13743
13744 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * text.C (breakParagraph): fix a setting layout to '0' problem.
13747
13748 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13749
13750         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13751         final location of file, for the included files, and graphics.
13752
13753 2002-03-05  Juergen Vigna  <jug@sad.it>
13754
13755         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13756
13757 2002-03-04  Juergen Vigna  <jug@sad.it>
13758
13759         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13760
13761         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13762         last column of multicolumn cells.
13763         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13764
13765 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13766
13767         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13768         file if it doesn't go to a temporary file.
13769
13770         * buffer.C (sgmlOpenTag):
13771         (sgmlCloseTag):  remove extra newline insertion.
13772
13773 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13774
13775         * text.C (getRowNearY): comment out debug msg
13776
13777 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13778
13779         * text2.C: first -> first_y
13780
13781         * text.C (getRowNearY): add some attemts at a possible
13782         optimization, not working.
13783
13784         * tabular.[Ch]: add BufferParams to several function so that newly
13785         created paragraph can be initialized to he default layotu for the
13786         buffers textclass.
13787
13788         * tabular-old.C (ReadOld): add buf->params to call of Init
13789
13790         * screen.C: rename text->first to text->first_y
13791
13792         * paragraph.C (breakParagraph): always set layout in the broken
13793         paragraph
13794
13795         * lyxtextclass.C (Read): remove lowercase
13796         (hasLayout): ditto
13797         (operator): ditto
13798         (delete_layout): ditto
13799
13800         * lyxtext.h: rename first -> first_y
13801
13802         * lyxlayout.C (Read): remove lowercase
13803         (name): ditto
13804         (setName): ditto
13805         (obsoleted_by): ditto
13806
13807         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13808
13809         * buffer.C (insertErtContents): add params are to InsetERT
13810         (parseSingleLyXformat2Token): add code to check if a paragraphs
13811         layout really exist.
13812         (parseSingleLyXformat2Token): add params to several inset
13813         constructors
13814         (asciiParagraph): remove lowercase, do the layout comparisons with
13815         no_case
13816
13817         * BufferView_pimpl.C (cursorNext): first -> first_y
13818         (resizeCurrentBuffer): first -> first_y
13819         (updateScrollbar): first -> first_y
13820         (scrollCB): first -> first_y
13821         (workAreaMotionNotify): first -> first_y
13822         (workAreaButtonPress): first -> first_y
13823         (checkInsetHit): first -> first_y
13824         (cursorPrevious): first -> first_y
13825         (cursorNext): first -> first_y
13826         (Dispatch): add buffer_->params to severl inset contructors
13827
13828 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13829
13830         * lyxlayout.C (Read): remove some debug info that I forgot.
13831
13832         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13833         clean up the code slightly.
13834         (makeLinuxDocFile): ditto
13835         (makeDocBookFile): ditto
13836
13837         * text2.C: layout as string
13838
13839         * text.C: layout as string
13840
13841         * paragraph_pimpl.C: layout as string
13842
13843         * paragraph.[Ch]: layout as string
13844
13845         * lyxtextclasslist.[Ch]: layout as string
13846
13847         * lyxtextclass.[Ch]: layout as string
13848
13849         * lyxtext.h: layout as string
13850
13851         * lyxlayout.[Ch]: layout as string
13852
13853         * lyx_cb.C: layout as string
13854
13855         * bufferview_funcs.C: layout as string
13856
13857         * bufferparams.C: layout as string
13858
13859         * buffer.C: layout as string
13860
13861         * LyXView.[Ch]: layout as string
13862
13863         * LaTeXFeatures.[Ch]: layout as string
13864
13865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13866
13867         * BufferView_pimpl.C: change current_layout to string, remove
13868         lyx::layout_type.
13869         (Dispatch):
13870         (smartQuote):
13871         (insertInset):
13872         (workAreaButtonRelease): layout as string
13873
13874         * BufferView2.C (unlockInset): adjust
13875
13876         * vspace.C (asLatexCommand): use an explict temp variable.
13877
13878 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * Makefile.am: use FRONTEND_*
13881
13882 2002-03-01  Juergen Vigna  <jug@sad.it>
13883
13884         * tabular.C (SetWidthOfMulticolCell): changed to something better
13885         I hope but still work in progress.
13886         (recalculateMulticolumnsOfColumn): renamed function from
13887         recalculateMulticolCells as it is more appropriate now.
13888         (SetWidthOfCell): calculate multicols better.
13889
13890 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13891
13892         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13893
13894         * lyxfunc.C (processKeySym): print sequence also if it is
13895         `deleted' (complete)
13896
13897         * kbsequence.C (print): print sequence even if it is deleted
13898         (complete would be a better word, actually).
13899
13900         * lyxfunc.C (dispatch): print complete options after a prefix key
13901
13902         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13903
13904 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13905
13906         * text2.C (setCharFont): eliminate setCharFont code duplication.
13907
13908 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13909
13910         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13911         LFUN_TABULAR_FEATURE (bug #177)
13912
13913 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13914
13915         * Makefile.am: remove figure.h
13916
13917 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13918
13919         * Bufferview_pimpl.C:
13920         * CutAndPasteC:
13921         * LaTeX.C:
13922         * LyXSendto.C:
13923         * buffer.C:
13924         * bufferlist.C:
13925         * converter.C:
13926         * language.C:
13927         * lyxfunc.C:
13928         * lyxvc.C:
13929         * paragraph.C:
13930         * text.C:
13931         * text2.C: remove #include "lyx_gui_misc.h".
13932
13933         * LaTeX.C: added #include <cstdio>
13934
13935 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13936
13937         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13938         that the paragraph following this one can have.
13939
13940         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13941
13942         * vspace.C (asLatexCommand): fix bogus gcc warning
13943
13944         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13945
13946 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13947
13948         * text2.C (setLayout): get rid of redundant code
13949
13950 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13951
13952         * text2.C (incDepth): make sure depth cannot be increased beyond
13953         reasonable values.
13954
13955 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13956
13957         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13958         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13959
13960         * PainterBase.h (image):
13961         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13962         a LyXImage const *.
13963
13964 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * BufferView.C:
13967         * BufferView.h:
13968         * BufferView_pimpl.C:
13969         * BufferView_pimpl.h:
13970         * LaTeXFeatures.C:
13971         * LyXAction.C:
13972         * LyXView.C:
13973         * Makefile.am:
13974         * UpdateList.h:
13975         * UpdateList.C:
13976         * buffer.C:
13977         * figure.h:
13978         * figureForm.C:
13979         * figureForm.h:
13980         * figure_form.C:
13981         * figure_form.h:
13982         * lyx_cb.C:
13983         * lyx_gui.C:
13984         * lyx_gui_misc.C:
13985         * lyxfunc.C:
13986         * sp_base.h:
13987         * sp_ispell.h:
13988         * sp_pspell.h:
13989         * sp_spell.C: remove fig inset, and the crap house of
13990           cards that follows it
13991
13992 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * Makefile.am:
13995         * lyxserver.C:
13996         * os2_defines.h:
13997         * os2_errortable.h:
13998         * nt_defines.h: move .h into support/
13999
14000         * vms_defines.h: remove
14001
14002         * WorkArea.C: add space in debug output
14003
14004         * text2.C:
14005         * paragraph.C:
14006         * buffer.C: add WITH_WARNINGS
14007
14008         * vc-backend.h:
14009         * vc-backend.C:
14010         * bufferlist.C: s/retrive/retrieve/, add docs
14011
14012         * vspace.h:
14013         * vspace.C:
14014         * kbmap.h:
14015         * lyxlength.h:
14016         * lyxgluelength.h:
14017         * length_common.h:
14018         * chset.h:
14019         * chset.C: add docs
14020
14021         * lyxgui.C: add ID to X error handler
14022
14023         * lyxtestclass.c: fix typo
14024
14025 2002-02-26  Juergen Vigna  <jug@sad.it>
14026
14027         * tabular_funcs.C (write_attribute): changed so that some default
14028         attributes are not written at all.
14029         (getTokenValue): set default values before trying to read the
14030         value so we have the return value always set as default if we don't
14031         find the token we search for.
14032
14033         * tabular.C (Write): write bools as bools not as strings!
14034
14035 2002-02-22  Juergen Vigna  <jug@sad.it>
14036
14037         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14038         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14039
14040         * text.C (leftMargin): don't add an indent for paragraphs inside
14041         tabular cells (fix #208).
14042
14043 2002-02-21  José Matos  <jamatos@fep.up.pt>
14044
14045         * tabular.C (docBook): fixed support for long tables.
14046
14047 2002-02-20  Juergen Vigna  <jug@sad.it>
14048
14049         * text2.C (getFont): get the drawing font of the Inset if this
14050         paragraph is inside an inset (only important for InsetERT for now).
14051
14052         * buffer.C (insertErtContents): use new lanugage params in ERT
14053         constructor.
14054
14055         * CutAndPaste.C: commenting out seemingly uneeded code.
14056
14057 2002-02-19  Allan Rae  <rae@lyx.org>
14058
14059         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14060         Iterators might be simple to use but they also get invalidated.
14061         (removeAutoInsets): renamed saved cursor tracking variables and added
14062         some comments to clarify what everything does.
14063
14064 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14065
14066         * Chktex.C:
14067         * LaTeX.C:
14068         * LyXSendto.C:
14069         * converter.C:
14070         * lyx_cb.C:
14071         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14072         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14073
14074         * lyxfunc.C:
14075         * vc-backend.h: remove #include "support/syscall.h"
14076
14077         * LaTeX.C:
14078         * LyXSendto.C:
14079         * converter.C: rearrange #includes in Lars' approved fashion.
14080
14081         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14082         forward declare class Timeout in the header file.
14083
14084         * XFormsView.C: changes due to the above.
14085
14086         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14087         similar to LyXView.
14088
14089         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14090         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14091
14092 2002-02-18  José Matos  <jamatos@fep.up.pt>
14093
14094         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14095         insets contents.
14096
14097 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14098
14099         * a lot of small ws changes
14100         * add a lot of using std::XXX
14101         * use std construcs some places where approp.
14102         * use some exisint stuff from lyxfunctional where approp.
14103         * Make file changes to use partial linking (lets test this now...)
14104
14105 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14106
14107         * Chktex.C:
14108         * buffer.C:
14109         remove #include "support/syscontr.h" as it's redundant. Always has been.
14110
14111         * Chktex.C:
14112         * LaTeX.C:
14113         * LyXSendto.C:
14114         * converter.C:
14115         * lyx_cb.C:
14116         * vc-backend.C:
14117         change Systemcalls::System to Systemcalls::Wait and
14118         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14119         No change of functionality, just reflects the stripped down Systemcalls
14120         class.
14121
14122 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14123
14124         * debug.[Ch]: add a GRAPHICS type to the enum.
14125
14126 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14127
14128         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14129
14130         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14131         there is an inset.
14132
14133 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14136         match the changes below.
14137
14138         * text2.C (toggleInset): if there is not editable inset at cursor
14139         position, try to see if cursor is _inside_ a collapsable inset
14140         and close it.
14141
14142 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14143
14144         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14145         document menu has a nice checkbox
14146
14147 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14148
14149         * lyxlength.C (asLatexString): change PW to output as percent of
14150         \textwidth.
14151
14152         * lengthcommon.C: change '%' to 't%'
14153
14154         * lyxfunc.C (dispatch): a few comments from Martin
14155
14156 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * WorkArea.h:
14159         * WorkArea.C:
14160         * BufferView_pimpl.h:
14161         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14162           the X selection.
14163
14164 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14165
14166         * vspace.C (inPixels): fix compiler warning
14167
14168 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14169
14170         * lyxfunc.C (getStatus): fix status message for disabled commands.
14171
14172 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * BufferView_pimpl.C: fix crash on close buffer
14175         during selection (#227)
14176
14177 2002-01-27  Herbert Voss  <voss@lyx.org>
14178
14179         * buffer.C: link old Figure to new graphic inset
14180
14181 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14182
14183         * FontLoader.C (getFontinfo): Change the latex font names in order
14184         to match the names of type1inst.
14185
14186 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14187
14188         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14189
14190         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14191         (extchanged): ditto
14192         (ext_exist): ditto
14193         (remove_files_with_extension): ditto
14194         (remove_file): ditto
14195         (write): ditto
14196
14197         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14198         document is smaller than the work area height. Do not initialize
14199         static variables to 0.
14200
14201 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14202
14203         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14204
14205         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14206         LFUN_LAYOUT_PARAGRAPHS.
14207
14208         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14209         tabular. It is possible to provide a possible cell, which will
14210         typically be the actcell from the corresponding insettabular
14211
14212         * lyxfunc.C (getStatus): small cleanup; disable
14213         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14214         true
14215
14216 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14217
14218         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14219
14220         * paragraph.C (startTeXParParams):
14221         (endTeXParParams): new methods. The LaTeX code to
14222         start/end paragraph formatting
14223         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14224         empty (fixes bug #200)
14225
14226         * vspace.C (inPixels): adapt to the change below
14227         (inPixels): [later] more cleanups (remove unused variables)
14228
14229         * lyxlength.C (inPixels): change to use a width and a height as
14230         parameter.
14231
14232 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14233
14234         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14235         Replaced with \paperwidth
14236
14237         * DepTable.C (insert): add std:: qualifier
14238
14239 2002-01-18  Allan Rae  <rae@lyx.org>
14240
14241         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14242         updated also?
14243
14244         * text.C (drawInset): Turned out I didn't know enough about how
14245         rebreaking worked.  This fixes most of the redraw problems.  I see
14246         an occasional cursor trail when a line is broken now and the cursor
14247         placement can seem out by a few pixels also after a rebreak.
14248
14249 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14250
14251         * buffer.C (parseSingleLyXformat2Token): update because minipage
14252         width is now a LyXLength
14253
14254         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14255
14256         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14257         math insets
14258
14259 2002-01-17  Juergen Vigna  <jug@sad.it>
14260
14261         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14262
14263         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14264         is set correctly and the inset is updated correctly.
14265
14266 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14267
14268         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14269         the beginning of the loop.
14270
14271 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * lyxrc.C: improve help for use_scalable_fonts
14274
14275 2002-01-17  Allan Rae  <rae@lyx.org>
14276
14277         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14278
14279 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14280
14281         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14282         make sure to set their inset_owner to the right value (bug #171)
14283
14284 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14285
14286         * DepTable.h
14287         * DepTable.C: Implement mtime checking to reduce time spent doing
14288         CRCs.
14289
14290 2002-01-16  Juergen Vigna  <jug@sad.it>
14291
14292         * tabular.C (GetAdditionalHeight): one of error fixed.
14293
14294         * lyxrc.C (output): small fix in writing use_pspell.
14295
14296 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * sp_base.h: #include LString.h
14299
14300 2002-01-16  Allan Rae  <rae@lyx.org>
14301
14302         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14303         Can someone check this please?
14304
14305         * text.C (drawInset): It was possible that p.row would be removed by
14306         breakAgainOneRow upsetting a few other settings.  There may be another
14307         small tweak possible by setting need_break_row = 0 when p.row has been
14308         removed but I don't know enough about the logic here.
14309
14310 2002-01-15  Allan Rae  <rae@lyx.org>
14311
14312         * text.C (insertChar): removed conditional truism.
14313
14314         * BufferView2.C (removeAutoInsets): More tweaks.
14315         cur_par_prev could be a stray pointer.  Check for trailing empty line
14316         in case last line was cur_par and only had an error inset on it.
14317
14318 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14319
14320         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14321         absolute
14322
14323         * vc-backend.C (most methods):
14324         * exporter.C (Export):
14325         * converter.C (convert):
14326         (runLaTeX):
14327         * LyXSendto.C (SendtoApplyCB):
14328         * lyxfunc.C (dispatch):
14329         (menuNew):
14330         (open):
14331         (doImport):
14332         * lyx_cb.C (AutoSave):
14333         (InsertAsciiFile):
14334         * BufferView_pimpl.C (MenuInsertLyXFile):
14335         * buffer.C (runChktex): use Buffer::filePath().
14336
14337         * buffer.h: rename filename to filename_; rename filepath to
14338         filepath_ and make it private
14339         (filePath): new method
14340
14341         * buffer.C (writeFile): use fileName()
14342         (getLatexName):
14343
14344         * lyx_main.C (init): fix starting  of LyX when the binary is a
14345         link from so,ewhere else.
14346
14347         * minibuffer.C: include <cctype> for isprint
14348
14349 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14350
14351         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14352         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14353         name clash with InsetCollapsable's width function.
14354
14355 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14356
14357         * lastfiles.C: include <iterator>
14358
14359 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14360
14361         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14362         std::count.
14363
14364         * buffer.C (makeLaTeXFile): ditto.
14365         Also make loop operation more transparent.
14366
14367 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14368
14369         * ToolbarDefaults.C: remove trailing comma closing namespace.
14370
14371         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14372
14373         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14374         as in WorkArea.
14375
14376         * trans.C (Load): comment out unused variable, allowed.
14377
14378 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14379
14380         * minibuffer.[Ch] (append_char): new method to recieve input from the
14381         drop-down completion browser. If a key was pressed, then recieve this
14382         char and append it to the existing string.
14383         (peek_event): modify the positioning data passed to the completion
14384         browser so that it can be placed above the minibuffer rather than below.
14385 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14386
14387         * LyXAction.C (init): alloe error-next for readonly documents.
14388
14389         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14390         count.
14391
14392 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14393
14394         * bufferlist.C (readFile): create the buffer _after_ checking that
14395         the file exists.
14396
14397         * lyxfunc.C (verboseDispatch): fix handling of arguments
14398
14399         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14400
14401         * lyxrc.C: use string::erase() instead of initializing to "".
14402
14403
14404 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * BufferView_pimpl.h:
14407         * BufferView_pimpl.C:
14408         * WorkArea.h:
14409         * WorkArea.C:
14410         * text2.C: tell X when we have made a selection for copying
14411
14412 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14413
14414         * BufferView_pimpl.C (MenuInsertLyXFile):
14415         * lyxfunc.C (menuNew):
14416         (open):
14417         (doImport): add shortcuts to directory buttons
14418
14419         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14420         open a float)
14421
14422         * lyxfunc.C (setStatusMessage):
14423         (getStatusMessage): new methods
14424         (getStatus):use setStatusMessage instead of setErrorMessage
14425         (dispatch): when function is disabled, set error message here
14426         [instead of in getStatus previously]
14427
14428         * BufferView_pimpl.C (workAreaButtonRelease): update
14429         toolbar/menubar here too.
14430
14431 2002-01-13  Allan Rae  <rae@lyx.org>
14432
14433         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14434         Now seems indestructible.  Remaining task is to audit all other
14435         code affected by deleteEmptyParagraphMechanism.  One small quirk
14436         left is that an empty document with an error in the preamble can
14437         be made to report an error but no error box appears.  I don't know
14438         where it goes.
14439         (removeAutoInsets): Improved comments.
14440
14441 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * Thesaurus.h:
14444         * Thesaurus.C: update for Aiksaurus 0.14
14445
14446 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14447
14448         * text2.C (firstParagraph): removed member function, all uses
14449         replaces with ownerParagraph
14450         (redoParagraphs): here
14451         (updateInset): here
14452         (toggleAppendix): here
14453         * BufferView2.C (insertErrors): here
14454         (setCursorFromRow): here
14455
14456 2002-01-13  Allan Rae  <rae@lyx.org>
14457
14458         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14459         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14460         There is still a way to segfault this although you may have to do this
14461         multiple times: Have an InsetERT with an unknown command in it.
14462         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14463         <down-arrow>, <Enter> again, View->DVI, BANG!
14464
14465         * text2.C (setCursor):
14466         (deleteEmptyParagraphMechanism):
14467         * lyxtext.h (setCursor):
14468         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14469         Making use of the return value may help fix other bugs.
14470
14471 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14472
14473         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14474
14475         * LyXView.C (updateMenubar): call MenuBar::update here
14476         (updateToolbar): but not here
14477         (showState): do not update toolbar/menubar
14478
14479         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14480         should need to care about that.
14481
14482         * lyxfunc.C (verboseDispatch): simplify a bit
14483         (getStatus): have a version which takes a pseudoaction, and
14484         another which requires a (kb_action,string).
14485
14486         * LyXAction.C (retrieveActionArg): make it work also when action
14487         is not a pseudo-action.
14488         (getActionName): simplify a bit
14489         (helpText):
14490
14491 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14492
14493         * lyxfunc.C (verboseDispatch): new families of methods with
14494         several ways to specify a command and a bool to indicate whether
14495         the command name and shortcut should be displayed in minibuffer
14496         (eventually, we could extend that to a finer bitmask like
14497         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14498         (dispatch): the pristine dispatch command which just, well,
14499         dispatchs! Note it still sets its result to minibuffer; I'm not
14500         sure we want that.
14501
14502         * lyxfunc.h: remove setHintMessage
14503
14504         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14505
14506 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14507
14508         * BufferView_pimpl.C (specialChar): delete new inset if we have
14509         not been able to insert it.
14510
14511         * kbmap.C: revert to using int instead of kb_action, since all we
14512         are dealing with is pseudo-actions.
14513
14514         * LyXAction.C (searchActionArg): change to return int instead of
14515         kb_action, since the result is a pseudoaction.
14516
14517 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14518
14519         * buffer.C (insertErtContents): Fix (partially) the font bug.
14520
14521 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14522
14523         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14524         as the other one is broken on my machine!
14525
14526 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14527
14528         * commandtags.h:
14529         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14530
14531 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14532
14533         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14534         reflect their actual use. Provide compatibility code for older lyxrc
14535         files.
14536
14537         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14538         FL_NORMAL_STYLE.
14539         change names of popup font variables in line with the changes to lyxrc.C
14540
14541 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14542
14543         * buffer.C (asciiParagraph): avoid outputing a word twice after
14544         an inset.
14545
14546         * lyxrc.C (getDescription): document that document_path and
14547         template_path can be empty.
14548
14549 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14550
14551         * LaTeXFeatures.C (getMacros):
14552         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14553
14554         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14555
14556         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14557         getPackages.
14558         (getPackages): rename feature "floats" to "float". Use an array to
14559         iterate over 'simple' features (i.e. just a \usepackage). Add
14560         handling of "amsmath" (renamed from "amsstyle").
14561
14562 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14563
14564         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14565         features list.
14566
14567 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14568
14569         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14570         FuncStaus::FuncStatus & FuncStaus::some_method().
14571
14572 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14573
14574         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14575         of the func_satus stuff. Edited and massaged in various ways by
14576         JMarc.
14577
14578         * lyxfunc.C (getStatus): use FuncStatus
14579
14580 2002-01-08  Juergen Vigna  <jug@sad.it>
14581
14582         * text.C (nextBreakPoint): use function Inset::isChar().
14583
14584         * paragraph.C (TeXOnePar): use function
14585         Inset::forceDefaultParagraphs.
14586
14587         * buffer.C (latexParagraphs): use function
14588         Inset::forceDefaultParagraphs.
14589
14590 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14591
14592         * lyx_gui.C (init): set the style of the menu popups to
14593         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14594
14595 2002-01-07  Juergen Vigna  <jug@sad.it>
14596
14597         * text.C (setHeightOfRow): small fix
14598         (prepareToPrint): don't look at alignment if we don't have the place
14599         for doing it.
14600
14601 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14602
14603         * box.C: New file. Move the Box methods and functions out of box.h,
14604         following Lars' suggestion.
14605
14606 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14607
14608         * box.h: #include "support/LOstream.h", needed for inlined function.
14609
14610         * lyxtextclass.C:
14611         * lyxtextclasslist.C: added some using std declarations.
14612
14613 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * box.h: make signed dimensions to allow insets wider than
14616           the screen (bug #162)
14617
14618         * BufferView_pimpl.C: add some insetHit debug
14619
14620 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * vc-backend.C: add FIXME
14623
14624 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14625
14626         * lyxfunc.C (getStatus): enable code for showing math font status
14627         in toolbar/menu.
14628
14629 2002-01-07  Juergen Vigna  <jug@sad.it>
14630
14631         * text.C (nextBreakPoint): removed debug output not needed anymore.
14632
14633 2002-01-06  Juergen Vigna  <jug@sad.it>
14634
14635         * text.C (nextBreakPoint): fixed up this function we had this bug
14636         since ever but now hopefully we break row better.
14637         (insertChar): we have to check if an inset is the next char as it
14638         could now happen that a large inset is causing a break.
14639
14640 2002-01-05  Juergen Vigna  <jug@sad.it>
14641
14642         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14643         if it doesn't like to be drawed.
14644
14645 2002-01-04  Juergen Vigna  <jug@sad.it>
14646
14647         * BufferView2.C (lockInset): forgot to set a cursor.
14648
14649         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14650
14651 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14652
14653         * FormMathsPanel.C:
14654         * FormMathsPanel.h
14655         * MathsSymbols.C:
14656         * form_maths_panel.C:
14657         * form_maths_panel.h:
14658         * form_maths_panel.fd: implemented sub- and super- buttons in math
14659         panel.
14660
14661         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14662         (or ^ space) to be used as in TeX (req'd by Andr�.
14663
14664         * lyxfunc.C: Allow ^ and _ again to be used both as
14665         super/subscript (mathed) and as themselves (in text).
14666
14667 2002-01-03  Allan Rae  <rae@lyx.org>
14668
14669         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14670         "LyX" or the filename of the current buffer if it has one.  This is a
14671         modified form of John Levon's patch.
14672
14673         * XFormsView.C (setWindowTitle): also set icon title.
14674
14675         * LyXView.h (setWindowTitle): signature changed.
14676         * XFormsView.h (setWindowTitle): ditto.
14677
14678 2002-01-02  Juergen Vigna  <jug@sad.it>
14679
14680         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14681
14682 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * screen.C (topCursorVisible): introduce a temp var for
14685         text->cursor.row(), handle the case where this row is null. (kindo
14686         hachish)
14687
14688         * text2.C (setCursor): add a couple of asserts.
14689
14690         * paragraph.h (inset_iterator): add -> operator
14691
14692         * paragraph.[Ch] (autoDeleteInsets): remove member function
14693
14694         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14695         cursor pos correctly and handle inset deletion by itself.
14696         (insertErrors): move iterator declaration out of for expression
14697
14698         * lyxtextclass.C: add <algorithm>
14699
14700         * Makefile.am: added the new files to sources, removed layout.C
14701
14702         * layout.C: removed file
14703
14704         * layout.h: remove LYX_DUMMY_LAYOUT
14705
14706         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14707         layout.
14708
14709         * lyxlayout.[Ch]:
14710         * lyxtextclass.[Ch]:
14711         * lyxtextclasslist.[Ch]: new files
14712
14713         * include order changes to a lot of files, also changes because of
14714         the six new files.
14715
14716 2001-12-27  Juergen Vigna  <jug@sad.it>
14717
14718         * buffer.C (asciiParagraph): more fixes.
14719
14720         * tabular.C (ascii): make ascii export support export of only the
14721         data separated by a column-delimiter.
14722         (ascii): better support for ascii export.
14723
14724         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14725
14726 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14727
14728         * tabular_funcs.C: use a "using std::getline" instead of the
14729         previous fix from Angus (necessary for cxx + lyxstring)
14730
14731 2001-12-24  Juergen Vigna  <jug@sad.it>
14732
14733         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14734
14735         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14736         problems. First check a minipage also if we have some ert-contents
14737         (not only on par->size(), second set the right depth of the paragraph
14738         on the relink to the root-paragraph-list!
14739
14740         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14741         which then did not anymore update the main paragraphs on undo/redo!
14742
14743 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14744
14745         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14746         code. Support all font-changing funcs (even those which are not in
14747         menu currently). Support for reporting font settings in
14748         mathed (disabled until Andre provides a function on mathed's side).
14749
14750         * func_status.h (toggle): small helper function to set toggle
14751         state on a flag.
14752
14753 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14754
14755         * tabular_funcs.C: getline -> std::getline
14756
14757 2001-12-21  Juergen Vigna  <jug@sad.it>
14758
14759         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14760         accessed and could be 0 (I couldn't generate this but it seems
14761         Michael could!).
14762
14763 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764
14765         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14766         * tabular_funcs.h: here and include iosfwd
14767
14768 2001-12-20  Juergen Vigna  <jug@sad.it>
14769
14770         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14771         inside inset but undo_par was.
14772
14773 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14774
14775         * Thesaurus.C: always include <config.h> in sources.
14776
14777         * Painter.h:
14778         * lyxlookup.h:
14779         * box.h: do not include <config.h> in header files
14780
14781         * text.C (paintLastRow): remove unused variable
14782
14783         * text.C (transformChar):
14784         (insertChar):
14785         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14786
14787         * Painter.C (text):
14788         * font.C (width): rewrite to use uppercase() instead of
14789         islower/toupper.
14790
14791         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14792
14793 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14794
14795         * lyxfind.C: clean up of find failure position change
14796
14797 2001-12-20  Juergen Vigna  <jug@sad.it>
14798
14799         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14800
14801         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14802         (TeXRow): added to LaTeX a single tabular row.
14803         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14804         (Latex): simplified and finally good LT-h/f support.
14805         (various_functions): just small adaptions for LT-h/f support.
14806
14807         * tabular_funcs.[hC]: added and moved here all not classfunctions
14808         of LyXTabular.
14809
14810 2001-12-19  Juergen Vigna  <jug@sad.it>
14811
14812         * tabular.[Ch]: better support for longtabular options (not finished
14813         yet!)
14814
14815 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14816
14817         * text.C (paintLastRow): use the label font instead of the font of
14818         the last character to compute the size of *_BOX. This makes more
14819         sense and avoids a crash with empty paragraphs.
14820         Use Painter::rectangle to draw EMPTY_BOX.
14821
14822 2001-12-19  Juergen Vigna  <jug@sad.it>
14823
14824         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14825         the paragraphs if the replaced paragraph is not the first one!
14826         Tried to delete not used paragraphs but does not work yet so for
14827         now it's inside #ifdef's and by default off!
14828
14829 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14830
14831         * MenuBackend.C: include "lyx_main.h" instead of declaring
14832         lastfiles (actually was declared as LastFiles* instead of a
14833         scoped_ptr).
14834
14835 2001-12-17  Juergen Vigna  <jug@sad.it>
14836
14837         * tabular.C (AppendColumn): applied John's fix
14838
14839 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14840
14841         * BufferView.h:
14842         * BufferView.C:
14843         * BufferView_pimpl.h:
14844         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14845
14846         * Makefile.am:
14847         * box.h: new start of class for above
14848
14849         * lyxfunc.C: ignore space-only minibuffer dispatches.
14850           Show the command name when it doesn't exist
14851
14852         * minibuffer.C: don't add empty lines to the history
14853
14854         * minibuffer.C: add a space on dropdown completion
14855
14856 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * text.C: fix line above/below drawing in insets
14859
14860 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14861
14862         * lyxlength.C (LyXLength): Initialize private variables.
14863
14864 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14865
14866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14867         when inserting error insets.
14868
14869 2001-12-13  Juergen Vigna  <jug@sad.it>
14870
14871         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14872         actually sometimes the before-paragraph.
14873         (setUndo): don't clear the redostack if we're not actually undoing!
14874
14875 2001-12-06  Juergen Vigna  <jug@sad.it>
14876
14877         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14878         and fixed redoing of main paragraph, so we can use it now ;)
14879
14880         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14881
14882 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14883
14884         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14885         Juergen's request
14886
14887 2001-12-13  André Pönitz <poenitz@gmx.net>
14888
14889         * undostack.[Ch]:
14890         * undo_func.C: minor cleanup
14891
14892 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14893
14894         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14895         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14896         font in urw-fonts package which is marked as -urw-fontspecific and
14897         does not work (incidentally, changing the encoding in the
14898         fonts.dir of this package to -adobe-fontspecific fixes the
14899         problem).
14900
14901         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14902         is a crash when undoing first paragraph (Juergen, please take a
14903         look). THis does not mean the undo fix is wrong, just that it
14904         uncovers problems.
14905
14906         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14907         the (Paragraph*) version when needed instead of duplicating the
14908         code.
14909
14910         * text.C (workWidth): use Inset::parOwner to find out where the
14911         inset has been inserted. This is a huge performance gain for large
14912         documents with lots of insets. If Inset::parOwner is not set, fall
14913         back on the brute force method
14914
14915         * paragraph_pimpl.C (insertInset):
14916         * paragraph.C (Paragraph):
14917         (cutIntoMinibuffer): set parOwner of insets when
14918         inserting/removing them
14919
14920         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14921
14922 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14923
14924         * commandtags.h:
14925         * LyXAction.C:
14926         * lyx_main.C:
14927         * lyxfunc.C:
14928         * mathed/formulabase.C:
14929         * mathed/math_cursor.[Ch]:
14930         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14931
14932
14933 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * lyxlength.[Ch] (operator!=): new function
14936
14937 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14938
14939         * text.C (workWidth): use Inset::parOwner to find out where the
14940         inset has been inserted. This is a huge performance gain for large
14941         documents with lots of insets. If Inset::parOwner is not set, fall
14942         back on the brute force method
14943
14944         * paragraph_pimpl.C (insertInset):
14945         * paragraph.C (Paragraph):
14946         (cutIntoMinibuffer): set parOwner of insets when
14947         inserting/removing them
14948
14949         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14950
14951 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14952
14953         * tabular-old.C (getTokenValue):
14954         * tabular.C (getTokenValue):
14955         (write_attribute): new versions for LyXLength
14956         (everywhere): adjust the use of widths
14957
14958         * tabular.h: change the type of widths from string to LyXLength
14959
14960 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14961
14962         * paragraph.C: fixed missing line number count when exporting
14963         Environments to LaTeX file
14964
14965         * buffer.C: added informational message for checking line numbers.
14966
14967 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14968
14969         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14970         paragraph, do the 'double space' part, but not the 'empty
14971         paragraph' one.
14972
14973         * text.C (workWidth): small optimization
14974         (getLengthMarkerHeight): use minimal size for negative lengths.
14975
14976 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14977
14978         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14979
14980         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14981
14982 2001-12-11  André Pönitz <poenitz@gmx.net>
14983
14984         * FontLoader.C:
14985         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14986
14987 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14988
14989         * text2.C: keep selection on a setFont()
14990
14991 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * lyx_cb.C: another bv->text misuse, from insert label
14994
14995 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * kbsequence.h:
14998         * kbsequence.C: re-instate nmodifier mask
14999
15000 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15001
15002         * lyx_main.h: make lyxGUI private.
15003
15004 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * lyxfind.C: place the cursor correctly on failed search
15007
15008 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15009
15010         * text.C (getLengthMarkerHeight): for small heights, the arrows
15011         are not always on top/bottom of the text
15012         (drawLengthMarker): smaller arrows; take the left margin in
15013         account; draw also vfills.
15014         (paintFirstRow):
15015         (paintLastRow): remove special code for vfill and standard spaces,
15016         since everything is handled in drawLengthMarker now.
15017
15018 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * buffer.C (insertErtContents): try to handle font and language
15021         interaction a bit better.g
15022
15023         * ColorHandler.C (updateColor): change the hash to cover the whole
15024         LColor enum, ws cleanup
15025         (getGCLinepars): ditto
15026         (getGCLinepars): only lookup in the linecache once.
15027
15028 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * iterators.C (operator++): Make the iterator more robust
15031
15032         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15033         (John's patch)
15034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15035
15036 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * lyxtext.h:
15039         * text.C: better added space drawing
15040
15041 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15042
15043         * LyXView.C:
15044         * BufferView2.C: fix layout combo update on inset unlock
15045
15046 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15047
15048         * Makefile.am: don't compile unused files
15049
15050 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * lyxfunc.C:
15053         * commandtags.h:
15054         * LyXAction.C: remove old LFUN_LAYOUTNO
15055
15056 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15057
15058         * paragraph_pimpl.h:
15059         * paragraph_pimpl.C: isTextAt() doesn't need font param
15060
15061 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * lyxlex.h:
15064         * lyxlex.C: little cleanup
15065
15066 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * BufferView_pimpl.C: fix insertAscii for insets
15069
15070 2001-12-05  Juergen Vigna  <jug@sad.it>
15071
15072         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15073         set the right font on the "multi" paragraph paste!
15074
15075 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * trans_decl.h:
15078         * trans_mgr.[Ch]:
15079         * trans.[Ch]:
15080         * lyxgluelength.C:
15081         * lyxlength.C: remove out-commented code.
15082
15083         * BufferView_pimpl:
15084         * CutAndPaste.C:
15085         * DepTable.C:
15086         * buffer.C:
15087         * chset.C:
15088         * lastfiles.C:
15089         * lyxlex.C:
15090         * lyxlex_pimpl.C:
15091         * lyxserver.C:
15092         * screen.C:
15093         * tabular-old.C:
15094         * tabular.C:
15095         * text.C:
15096         * trans_mgr.C:
15097         * vc-backend.C: change "while(" to "while ("
15098
15099         * lyxlength.[Ch]: add zero function to check if length is zero or
15100         not
15101         * lyxgluelength.C: use it
15102
15103 2001-12-05  Allan Rae  <rae@lyx.org>
15104
15105         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15106         Works for 2.95.3, from what I understand of Garst's reports this should
15107         work for other g++ versions.  We're screwed if the abs(int) definition
15108         changed between bugfix releases of gcc.
15109
15110 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * text.C: fix chapter label offset !
15113
15114 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * lyxtext.h:
15117         * text.C: fix hfill at end of line, clean up
15118
15119 2001-12-04  Juergen Vigna  <jug@sad.it>
15120
15121         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15122         that we force an update of the inset and it's owners if neccessary.
15123
15124 2001-12-03  Juergen Vigna  <jug@sad.it>
15125
15126         * text.C (rowLast): simplified code
15127
15128 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * lyxfunc.C: fix show options on timeout
15131
15132 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15133
15134         * screen.C (topCursorVisible): scroll half a page when the cursor
15135         reached top of bottom of screen
15136
15137 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15138
15139         * minibuffer.C: deactivate on loss of focus
15140
15141 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15142
15143         * vspace.[Ch] (operator!=): add operator.
15144
15145 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15146
15147         * BufferView_pimpl.C: refuse to open an inset when
15148         there's a selection.
15149
15150 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * BufferView_pimpl.C: allow to click on RHS of full row insets
15153
15154 2001-11-30  Juergen Vigna  <jug@sad.it>
15155
15156         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15157         insets for undo reasons.
15158
15159 2001-11-28  André Pönitz <poenitz@gmx.net>
15160
15161         * vspace.[Ch]: cosmetical changes
15162
15163 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * LyXAction.h:
15166         * LyXAction.C:
15167         * lyxfunc.h:
15168         * lyxfunc.C:
15169         * kbmap.h:
15170         * kbmap.C:
15171         * lyxrc.C:
15172         * kbsequence.h:
15173         * kbsequence.C: part re-write of old kb code
15174
15175         * Painter.C:
15176         * WorkArea.C: remove Lgb_bug_find_hack
15177
15178 2001-11-30  José Matos <jamatos@fep.up.pt>
15179
15180         * buffer.C (makeDocBookFile): add a comment to point a hack.
15181         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15182         Fixed a double write of labels.
15183
15184 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15185
15186         * LaTeX.C:
15187         * LaTeX.h Fixed bug in LaTeX class where it would not
15188         re-run latex if no depfiles were changed, but the .dvi was removed.
15189
15190 2001-11-28  André Pönitz <poenitz@gmx.net>
15191
15192         * all the files from the change on 2001/11/26:
15193         use lyx::layout_type instead of LyXTextClass::size_type
15194         use lyx::textclass_type instead of LyXTextClassList::size_type
15195
15196 2001-11-29  Juergen Vigna  <jug@sad.it>
15197
15198         * text.C: added support for paragraph::isFreeSpacing()
15199
15200         * buffer.C: same as above
15201
15202         * paragraph.h: inserted isFreeSpacing() function to enable
15203         FreeSpacing inside InsetERT.
15204
15205         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15206         of the paragraph's in the cut/copy buffer to 0!
15207
15208         * text2.C (removeRow): remove the assert as it can!
15209
15210         * lyxtext.h: added helper function firstRow returning firstrow and
15211         made firstrow private again.
15212
15213         * BufferView2.C (lockInset): don't relock if we're already locked!
15214
15215         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15216         the only paragraph.
15217         (removeRow): added Assert::(firstrow)
15218
15219         * debug.C: forgot to add INSETTEXT here.
15220
15221 2001-11-28  Juergen Vigna  <jug@sad.it>
15222
15223         * sp_spell.C (initialize): changed error text to more general
15224         spellchecker command use (not only ispell!)
15225
15226         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15227
15228         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15229
15230 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * vspace.C: initialise lyxgluelength on failure
15233
15234 2001-11-28  Allan Rae  <rae@lyx.org>
15235
15236         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15237         declaration & definition that looks like a function declaration.
15238
15239 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * BufferView2.C (copy):
15242         (copyEnvironment): do not clear the selection when doing a copy.
15243
15244         * text.C (paintFirstRow): compilation fix
15245
15246 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15247
15248         * tabular.C (Latex): correct line count when writing latex.
15249
15250 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15251
15252         * paragraph_pimpl.h:
15253         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15254           bug a bit
15255
15256 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * text.C:
15259         * LColor.h:
15260         * LColor.C: change vfillline->added_space
15261
15262         * text.C: add markers and text for added space
15263
15264         * vspace.C: fix comment
15265
15266 2001-11-28  André Pönitz <poenitz@gmx.net>
15267
15268         * paragraph.C: whitespace changes
15269         * all the other files from the change on 2001/11/26:
15270         change *::pos_type into lyx::pos_type
15271
15272 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15275         language of the document when inserting error insets.
15276
15277 2001-11-26  André Pönitz <poenitz@gmx.net>
15278
15279         * BufferView_pimpl.[Ch]:
15280         *       CutAndPaste.C:
15281         * buffer.[Ch]:
15282         * lyxcursor.[Ch]:
15283         * lyxfind.C:
15284         * lyxfunc.C:
15285         * lyxrow.[Ch]:
15286         * paragraph.[Ch]:
15287         * paragraph_pimpl.[Ch]:
15288         * sp_spell.C:
15289         * text.C:
15290         * text2.C: reduce header dependencies, introduce type for positions
15291
15292 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15293
15294         * <various>: change to use Alert.h
15295
15296 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15297
15298         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15299         when encountering an unknown token.
15300         (readLyXformat2): Show an error message if there were unknown tokens.
15301
15302 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15303
15304         * BufferView2.C:
15305         * BufferView_pimpl.C:
15306         * buffer.C:
15307         * paragraph.h:
15308         * text.C:
15309         * text2.C: use par->isInset()
15310
15311 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15312
15313         * paragraph_pimpl.h:
15314         * paragraph_pimpl.C: cleanup
15315
15316 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * text2.C (removeRow):
15319         * text.C (setHeightOfRow): remove useless (and costly) call to
15320         getRow.
15321
15322 2001-11-20  Allan Rae  <rae@lyx.org>
15323
15324         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15325         Now need Inset*::checkInsertChar() to return true for appropriate
15326         cases so that the characters in the minibuffer will actually be
15327         inserted.
15328
15329 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15330
15331         * text.C: change the order of the includes.
15332         (workWidth): initialize it at once.
15333         (workWidth): make maxw unsigned
15334         (setHeightOfRow): remove unused variable (inset)
15335         (selectSelectedWord): remove unused variable (inset)
15336         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15337
15338 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15341         server is not running.
15342         (openConnection):
15343         (closeConnection): add debug info when server is disabled.
15344
15345         * ColorHandler.C (getGCForeground): send debug message to GUI
15346         channel.
15347
15348         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15349
15350         * kbmap.C (bind): modify because return conventions of
15351         kb_sequence::parse have changed.
15352
15353         * kbsequence.C (parse): only ignore spaces and not any stupid
15354         control character. This avoids tests like s[i] <= ' ', which are
15355         guaranteed to fail with 8bit characters and signed chars.
15356         Change return code to string::npos when there have been no error
15357         (0 was a bad idea when error is at first character)
15358
15359 2001-11-14  José Matos  <jamatos@fep.up.pt>
15360
15361         * buffer.h:
15362         * buffer.C (simpleDocBookOnePar): removed unused argument.
15363
15364 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15365
15366         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15367         insets which are part of a word. Paragraph::isLetter takes care of
15368         that now. Use Paragraph::isInset to identify insets.
15369         (selectSelectedWord): do not test for hyphenation break.
15370
15371         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15372         that protected spaces are considered as spaces.
15373
15374         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15375         Inset::isLetter.
15376
15377 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15378
15379         * lyxserver.h:
15380         * lyxserver.C: fix it. and small cleanup.
15381
15382 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * BufferView_pimpl.C: use inline helpers
15385
15386         * LaTeXFeatures.h:
15387         * LaTeXFeatures.C: fix typos
15388
15389         * Spacing.h:
15390         * Spacing.C: move spacing_string into class
15391
15392         * ToolbarDefaults.C: move stuff into namespace anon
15393
15394         * layout.h: update enum
15395
15396         * lyxfunc.C: use better debug
15397
15398         * minibuffer.h: fix typo
15399
15400         * debug.h:
15401         * debug.C:
15402         * WorkArea.C: add and use Debug::WORKAREA
15403
15404         * lyxtext.h:
15405         * text.C:
15406         * text2.C: code re-organisation, inline helpers
15407
15408 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15409
15410         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15411         std::vector.empty().
15412
15413 2001-11-09  Allan Rae  <rae@lyx.org>
15414
15415         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15416         '\n's after tables.  Tabular and ERT inset work now makes this no
15417         longer necessary.
15418
15419 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15420
15421         * minibuffer.h:
15422         * minibuffer.C: fix crash, improve drop-down completion
15423
15424 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15425
15426         * lyxserver.h:
15427         * lyxserver.C: invalidate fd's when doing endPipe()
15428
15429 2001-11-08  José Matos  <jamatos@fep.up.pt>
15430
15431         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15432         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15433
15434         * paragraph.h:
15435         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15436
15437 2001-11-07  José Matos  <jamatos@fep.up.pt>
15438
15439         * buffer.h:
15440         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15441         const qualifier.
15442
15443         * buffer.C (sgmlOpenTag):
15444         * buffer.C (sgmlCloseTag): removed debug info.
15445
15446         * buffer.h (sgmlOpenTag):
15447         * buffer.h (sgmlCloseTag): made public.
15448
15449 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * buffer.C (saveParamsAsDefaults):
15452         * lyx_cb.C (MenuLayoutSave): remove
15453
15454         * LyXAction.C (init):
15455         * commandtags.h:
15456         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15457
15458 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * buffer.C (setPaperStuff): removed from here...
15461
15462         * bufferparams.C (setPaperStuff): ... and moved there.
15463
15464 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15465
15466         * minibuffer.h:
15467         * minibuffer.C:
15468         * XFormsView.C: add support for drop-down completion
15469
15470 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15471
15472         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15473         commands.
15474
15475 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15478         disabled.
15479
15480 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15481
15482         * lyx_main.C: change ref to known bugs
15483
15484 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15485
15486         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15487         to work around older babel problems.
15488
15489 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15490
15491         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15492
15493 2001-10-24  Juergen Vigna  <jug@sad.it>
15494
15495         * tabular-old.C (ReadOld): below variable changes reflected.
15496
15497         * tabular.[Ch]: added ltType struct for longtable header/footer
15498         defines and changed all instances where they are used. Added
15499         future support for double top/bottom rows.
15500
15501 2001-10-24  José Matos  <jamatos@fep.up.pt>
15502
15503         * buffer.h (docbookHandleCaption):
15504         * buffer.C (docbookHandleCaption): removed unused function.
15505         (makeDocBookFile): moved docbook supported version to v4.1.
15506
15507 2001-10-24  José Matos  <jamatos@fep.up.pt>
15508
15509         * tabular.h:
15510         * tabular.C (docbookRow): new function to export docbook code of a row.
15511         (DocBook): now honors the longtable flags.
15512
15513 2001-10-23  José Matos  <jamatos@fep.up.pt>
15514
15515         * LaTeXFeatures.h:
15516         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15517         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15518
15519         * buffer.C (makeLinuxDocFile):
15520         (makeDocBookFile): reworked the preamble, more clean, and with
15521         support for lyx defined entities. Changed the document declaration
15522         to be more XML friendly.
15523
15524         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15525         if we need to output XML that should be done with a filter.
15526
15527 2001-10-22  Juergen Vigna  <jug@sad.it>
15528
15529         * sp_pspell.h (class PSpell): add alive function needed in the
15530         controller to see if the spellchecker could be started.
15531
15532 2001-10-22  Juergen Vigna  <jug@sad.it>
15533
15534         * buffer.C (insertStringAsLines): modify the font for inserting
15535         chars in certain conditions by calling checkInsertChar(font).
15536
15537 2001-10-19  Juergen Vigna  <jug@sad.it>
15538
15539         * text.C (workWidth): use getRow instead of wrong algorithm.
15540         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15541
15542 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15543
15544         * lyxserver.h:
15545         * lyxserver.C:
15546         * lyx_main.h:
15547         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15548
15549 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * text.C (workWidth): do not search for the exact row when
15552         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15553         optimization for big documents.
15554
15555 2001-10-18  Juergen Vigna  <jug@sad.it>
15556
15557         * text.C (workWidth): new function with added Inset * parameter.
15558
15559 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15562
15563         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15564         change return type of getColumnNearX.
15565
15566
15567         * text.C (changeRegionCase): use uppercase/lowercase instead of
15568         toupper/tolower.
15569         (leftMargin):
15570         (rightMargin): simplify code by factoring out the uses of
15571         textclasslist.
15572         (labelFill):
15573         (numberOfHfills):
15574         (setHeightOfRow):
15575         (appendParagraph): use Paragraph::size_type
15576
15577 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * vspace.C (asLatexString): add a missing break
15580
15581 2001-10-15  Herbert Voss  <voss@perce.de>
15582
15583         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15584
15585 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15588         is not available.
15589
15590 2001-10-10  André Pönitz <poenitz@gmx.net>
15591
15592         * lyxfunc.C: removed greek_kb_flag.
15593
15594 2001-10-10  Herbert Voss  <voss@perce.de>
15595
15596         * lyx_main.C: delete global string help_lyxdir.
15597
15598 2001-10-09  Herbert Voss  <voss@perce.de>
15599
15600         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15601
15602         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15603
15604         * lyx_main.C: added global string help_lyxdir.
15605
15606         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15607
15608 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15609
15610         * lyxrc.C (set_font_norm_type): support iso8859-4
15611
15612 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15613
15614         * LaTeX.C (deplog): add another regex for MikTeX
15615
15616 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15617
15618         * lyxrc.C (set_font_norm_type): support iso8859-3
15619
15620 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15621
15622         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15623
15624         * LaTeXFeatures.C: remove special case of french and index
15625
15626         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15627         before \begin{document}). This solves several incompatibilities.
15628
15629 2001-10-03  Garst Reese  <reese@isn.net>
15630
15631         * lyx_cb.C: change CheckTex error msg.
15632
15633 2001-10-03  José Matos  <jamatos@fep.up.pt>
15634
15635         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15636
15637 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * .cvsignore: update
15640
15641         * lyx_main.C (commandLineVersionInfo): use new style version info.
15642
15643         * buffer.C (writeFile):
15644         (makeLaTeXFile):
15645         (makeLinuxDocFile):
15646         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15647
15648         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15649
15650         * version.h: update to use stuff in version.C
15651
15652         * version.C.in: new file. Contains version information determined
15653         at compile time. This is a merging of version.h and
15654         version_info.h.in.
15655
15656 2001-10-03  Juergen Vigna  <jug@sad.it>
15657
15658         * BufferView_pimpl.C (update): don't change "dirty" status in
15659         updateInset call.
15660
15661 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15662
15663         * WorkArea.C (c-tor): re-position version string slightly.
15664
15665 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15666
15667         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15668         revert to previous code.
15669
15670         WorkArea.[Ch]: (show, destroySplash): methods removed.
15671
15672         WorkArea.C: rework code so that it's an amalgam of the codes before and
15673         after the splash screen was moved to WorkArea.
15674
15675 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * lyxrc.C (read):
15678         * vspace.C (inPixels):
15679         (lyx_advance):
15680         * kbmap.C (bind):
15681         * buffer.C (insertStringAsLines):
15682         (asciiParagraph): fix types to be large enough
15683
15684         * lyxlex_pimpl.h: change member status from short to int
15685
15686         * layout.h: fix type of endlabeltype
15687
15688         * kbmap.C (bind):
15689         * kbsequence.C (parse): change return type to string::size_type
15690
15691         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15692         variable
15693
15694         * Bullet.C (bulletSize):
15695         (bulletEntry): do not use short ints as parameters
15696
15697         * BufferView2.C (insertLyXFile): change a char to an int.
15698
15699         * WorkArea.C (WorkArea): remove unneeded floats in computation
15700
15701 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15702
15703         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15704
15705         * paragraph.C (asString): Do not ignore newline/hfill chars when
15706         copying to the clipboard.
15707
15708 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15709
15710         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15711         after a multi-line inset.
15712
15713 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15714
15715         * paragraph.C (validate): Set NeedLyXFootnoteCode
15716
15717 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15718
15719         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15720         and decrease-error to decrease.
15721
15722 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15725         it more readable (should be equivalent)
15726
15727 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15728
15729         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15730
15731 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15734         of a cursor (row, etc.) after a character has been deleted
15735         (deleteEmptyParagraphMechanism): call the method above on _all_
15736         cursors held by the LyXText when a double space has been
15737         detected/deleted.
15738
15739 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15740
15741         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15742         pixmap.
15743         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15744
15745         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15746         background. Use greyOut() and the new show() methods to toggle between
15747         the foreground and background. Add code to remove the splash after
15748         its initial showing.
15749
15750         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15751         (create_forms): no longer call Dialogs::showSplash.
15752
15753 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * .cvsignore: add version_info.h
15756
15757 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * version_info.h.in: new file
15760
15761         * Makefile.am: add version_info.h.in
15762
15763         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15764         version_info.h instead of VERSION_INFO
15765
15766 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15767
15768         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15769         The ERT inset now returns string().
15770
15771 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15772
15773         * lyxtext.h, text.C (selectNextWord): renamed as
15774         selectNextWordToSpellcheck.
15775
15776         * text.C (selectNextWordToSpellcheck): Modified to not select
15777         words inside an ERT inset.
15778
15779 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15780
15781         * lyx_cb.C (MenuLayoutSave): change a bit the question
15782
15783         * sp_base.h: include <sys/types.h>
15784
15785 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15788
15789 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15790
15791         * several files: fix typos in user-visible strings
15792
15793 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15794
15795         * text2.C (pasteSelection): do not set the selection, since it
15796         will be cleared later. Actually, the intent was to fix the way the
15797         selection was set, but I figured rmoving the code was just as good.
15798
15799 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15800
15801         * FontLoader.C (available): Check if font is available without
15802         loading the font.
15803
15804 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15805
15806         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15807
15808 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15809
15810         * lyxrc.[Ch]: added display_graphics variable and associated code.
15811
15812 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * bufferparams.C (hasClassDefaults): new method. Returns true if
15815         the buffer parameters correspond to known class defaults
15816
15817 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15818
15819         * XFormsView.C (show): set minimum size to the main window.
15820
15821 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15822
15823         * text2.C (copySelection):
15824         (cutSelection):
15825         * lyxfind.C (LyXReplace):
15826         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15827         LyXText::selectionAsString.
15828
15829         * paragraph.C (asString): add "label" argument to the second form
15830
15831         * text2.C (selectionAsString): add "label" argument and pass it to
15832         Paragraph::asString.
15833
15834 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * lyx_main.C (commandLineHelp): remove version information
15837
15838 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15839
15840         * lyx_main.C: add -version commandline option
15841
15842 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * paragraph.h: make the optional constructor arg required instead.
15845         some modifications to other files because of this.
15846
15847         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15848
15849         * lyxserver.C (C_LyXComm_callback): make it static
15850
15851         * lyx_main.C (error_handler): make it static
15852
15853         * lyx_gui.C (LyX_XErrHandler): make it static
15854
15855         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15856
15857         * WorkArea.C: make the extern "C" methods static.
15858
15859         * Makefile.am (lyx_LDADD): simplify
15860
15861 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15862
15863         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15864         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15865
15866         * LyXAction.C (init):
15867         * lyxfunc.C (dispatch): associated code removal.
15868
15869 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15870
15871         * lyxfont.h (isSymbolFont): shut off warning
15872
15873         * text.C (setHeightOfRow):
15874         (getVisibleRow): fix crash with empty paragraphs which have a
15875         bottom line
15876
15877 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15878
15879         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15880         code.
15881
15882 2001-09-04  José Matos  <jamatos@fep.up.pt>
15883         * buffer.C
15884         * buffer.h
15885         * tabular.C (docbook): rename docBook method to docbook.
15886
15887 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15888
15889         * Makefile.am: add dependencies to main.o.
15890
15891 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15892
15893         * FontLoader.C (available): Return false if !lyxrc.use_gui
15894
15895 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15896
15897         * FontInfo.C (query):
15898         * converter.C (view):
15899         * importer.C (Import):
15900         * exporter.C (Export): Can not -> cannot.
15901
15902 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15903
15904         * BufferView_pimpl.C: allow to create index inset even if
15905           string is empty
15906
15907 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15908
15909         * buffer.C (getLists): replace boost::tie code with an explicit pair
15910         as boost::tie can break some compilers.
15911
15912         * iterators.h: Added a std:: declaration to the return type of
15913         ParIterator::size.
15914
15915 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15916
15917         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15918           case.
15919
15920 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15921
15922         * iterators.[Ch]: New files. Provide paragraph iterators.
15923
15924         * buffer.C (changeLanguage): Use paragraph iterators.
15925         (isMultiLingual): ditto
15926
15927         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15928
15929 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15930
15931         * FontLoader.C: Support for cmr font.
15932
15933 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15934
15935         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15936         (available): New method.
15937
15938         * FontInfo.C (getFontname): Use scalable fonts even when
15939         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15940         found.
15941
15942 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15943
15944         * converter.C (Formats::view): reverted! Incorrect fix.
15945
15946 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15947
15948         * converter.C (Formats::view): only output the -paper option
15949         if the dvi viewer is xdvi, thereby fixing bug #233429.
15950
15951 2001-08-23  Herbert Voss  <voss@perce>
15952
15953         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15954
15955 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15956
15957         * Spacing.h (Spacing): Set space to Default on in the default
15958         constructor.
15959
15960 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15961
15962         * vc-backend.h (RCS::versionString): add RCS to version
15963         (CVS::versionString): add CVS to version
15964
15965         * vc-backend.C (scanMaster): do not add CVS to version.
15966         (scanMaster): do not add RCS to version
15967
15968         * lyxvc.C (versionString): new method
15969
15970         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15971
15972 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * Spacing.C (set): initialize fval
15975
15976 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15977
15978         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15979         " or \.
15980
15981 2001-08-16  Juergen Vigna  <jug@sad.it>
15982
15983         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15984
15985 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15986
15987         * BufferView_pimpl.C:
15988         * figureForm.C:
15989         * lyxtext.h:
15990         * text2.C: setParagraph takes linespacing now
15991
15992 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15993
15994         * LyxAction.C: add internal LFUN_CITATION_INSERT
15995
15996         * LyXView.C: actually apply fix
15997
15998         * bufferlist.C: fix open non-existent file
15999
16000         * lyxfind.C: fix indentation
16001
16002         * lyxfunc.C: remove unneeded assert, fix typo
16003
16004 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * MenuBackend.C: use "Floatname List"
16007
16008 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16009
16010         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16011         when converting LaTeX layout to insetERT.
16012         Generate a non-collapsed float when reading old float
16013
16014 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16015
16016         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16017         ERT insets.
16018
16019 2001-08-13  Juergen Vigna  <jug@sad.it>
16020
16021         * text.C (fill): return 0 instead of 20 as this seems to be the more
16022         correct value.
16023
16024 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16025
16026         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16027         lyxrc.font_norm.
16028
16029 2001-08-13  Juergen Vigna  <jug@sad.it>
16030
16031         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16032         casesensitive off.
16033         (SearchBackward): comment out the unlocking of the inset_owner this
16034         should not be needed!
16035
16036 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16037
16038         * Many files: Remove inherit_language, and add latex_language
16039
16040         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16041         collapsible insets.
16042
16043 2001-08-10  Juergen Vigna  <jug@sad.it>
16044
16045         * text.C (prepareToPrint): fixed hfill-width in draw!
16046
16047         * BufferView2.C (selectLastWord): save the selection cursor as this
16048         now is cleared in the function LyXText::clearSelection!
16049
16050 2001-08-08  Juergen Vigna  <jug@sad.it>
16051
16052         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16053         BACKSPACE type functions.
16054
16055         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16056         is only cutted from the document but not put in the cut-buffer, where
16057         still the old stuff should be.
16058
16059         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16060
16061         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16062
16063         * tabular.C (SetWidthOfCell): fixed special case where the width
16064         was not updated!
16065         (LeftLine): handle '|' in align_special.
16066         (RightLine): ditto
16067         (LeftAlreadyDrawed): ditto
16068         (SetWidthOfCell): ditto
16069
16070 2001-08-07  Juergen Vigna  <jug@sad.it>
16071
16072         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16073
16074 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16075
16076         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16077         * lyxlex.[hC]: ditto
16078
16079 2001-08-06  Juergen Vigna  <jug@sad.it>
16080
16081         * text.C (getVisibleRow): fix up row clearing a bit.
16082
16083 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16084
16085         * minibuffer.C: make sure the X server sees the changes in the input.
16086
16087 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * paragraph.C (getFont): split into...
16090         (getLabelFont): this
16091         (getLayoutFont): and this
16092         * paragraph_pimpl.C (realizeFont): calling this
16093
16094         * text2.C (getFont): split into...
16095         (getLayoutFont): this
16096         (getLabelFont): and this
16097         (realizeFont): all three calling this
16098
16099         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16100         files where used.
16101
16102 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16103
16104         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16105
16106 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16107
16108         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16109         layouts from the Quote inset insertion.
16110
16111 2001-08-03  Juergen Vigna  <jug@sad.it>
16112
16113         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16114
16115         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16116         only if status not is already CHANGED_IN_DRAW (second level).
16117
16118         * text.C (draw): don't set the need_break_row when inside an
16119         InsetText LyXText.
16120
16121 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * buffer.C (parseSingleLyXformat2Token): handle more latex
16124         conversion cases.
16125
16126         * bufferview_funcs.[hC]: change function names to
16127         begin with small char, adjust other files.
16128
16129 2001-08-02  André Pönitz <poenitz@gmx.net>
16130
16131         * lyxfunc.C:
16132         BufferView_pimpl.C: remove broken special code for math-greek
16133
16134 2001-08-02  Juergen Vigna  <jug@sad.it>
16135
16136         * BufferView_pimpl.C (update): redone this function so that we
16137         update the text again if there was a CHANGE_IN_DRAW.
16138
16139         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16140         (drawFromTo): added a new internal bool which is used by draw() and
16141         redraw() function.
16142         (general): some cursor drawing problems fixed.
16143
16144 2001-08-01  Juergen Vigna  <jug@sad.it>
16145
16146         * lyxfind.C (LyXFind): fixed
16147         (SearchForward): ditto
16148         (SearchBackward): ditto
16149
16150         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16151         spurius drawing of the cursor in the main area.
16152
16153         * text2.C (status): small fix which could lead to a segfault!
16154         (clearSelection): remove unneeded BufferView param.
16155
16156 2001-08-01  André Pönitz <poenitz@gmx.net>
16157
16158         * lyxfunc.C: small change due to changed mathed interface
16159
16160 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16161
16162         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16163
16164 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * lyxfunc.c: fail gracefully if file doesn't exist
16167
16168         * LyXSendto.C:
16169         * buffer.C:
16170         * lyxfunc.C:
16171         * BufferView_pimpl.C: IsDirWriteable() proto changed
16172
16173         * LyXView.C: fix updateWindowTitle() to store the last title
16174
16175 2001-07-31  Juergen Vigna  <jug@sad.it>
16176
16177         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16178         the font (wrong since using of Paragraph::highestFontInRange).
16179
16180         * paragraph.C (highestFontInRange): added a default_size parameter.
16181
16182         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16183         (setHeightOfRow): reformat
16184
16185 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16186
16187         * converter.[hC] + affected files: move to (inital-char)lowercase
16188         function names.
16189
16190         * ParagraphParameters.C (ParagraphParameters): remove commented code
16191
16192         * PainterBase.[Ch]: remove commented code
16193
16194         * LaTeXFeatures.h: add "bool floats" for float.sty
16195
16196         * LaTeXFeatures.C (LaTeXFeatures): init floats
16197         (require): handle float
16198         (getPackages): do it with floats
16199
16200 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16201
16202         * BufferView_pimpl.C (Dispatch): improve handling of
16203         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16204
16205         * commandtags.h: #include lyxfont.h here temporarily to avoid
16206         keybinding bug.
16207
16208         * bufferlist.h: include LString.h here.
16209
16210 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16211
16212         * text2.C (getStringToIndex): new method.
16213
16214 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16215
16216         * *: Reduced header file dependencies all over.
16217
16218 2001-07-30  Baruch Even  <baruch@lyx.org>
16219
16220         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16221
16222 2001-07-29  Baruch Even  <baruch@lyx.org>
16223
16224         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16225
16226 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * ParameterStruct.h (endif): add a default constructor to make
16229         sure that all variables is initialized.
16230
16231         * ParagraphParameters.C (ParagraphParameters): adjust
16232
16233 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16234
16235         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16236         index; also, check that there is something to index, and that it
16237         does not span over several paragraphs.
16238         (doubleClick): use WHOLE_WORD_STRICT for double click.
16239
16240         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16241
16242         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16243         scheme.
16244
16245 2001-07-26  Baruch Even  <baruch@lyx.org>
16246
16247         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16248         an InsetFig figure, backwards compatible reading of old figure code.
16249
16250 2001-07-27  Juergen Vigna  <jug@sad.it>
16251
16252         * text2.C: font.realize function adaption.
16253
16254         * text.C (draw): add a warnings lyxerr text if needed.
16255
16256         * layout.C: font.realize function adaption.
16257
16258         * language.C: add inherit_language and implement it's handlings
16259
16260         * bufferview_funcs.C (StyleReset): remove language parameter from
16261         font creation (should be language_inherit now).
16262
16263         * bufferparams.C (writeFile): handle ignore_language.
16264
16265         * paragraph.C (getFontSettings): the language has to be resolved
16266         otherwise we have problems in LyXFont!
16267
16268         * lyxfont.C (lyxWriteChanges): added document_language parameter
16269         (update): removed unneeded language parameter
16270
16271         * paragraph.C (validate): fixed wrong output of color-package when
16272         using interface colors for certain fonts in certain environments,
16273         which should not seen as that on the final output.
16274
16275 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16276
16277         * BufferView_pimpl.C:
16278         * Thesaurus.h:
16279         * Thesaurus.C:
16280         * Makefile.am:
16281         * commandtags.h:
16282         * LyXAction.C: add thesaurus support
16283
16284         * lyxfind.h:
16285         * lyxfind.C: add "once" parameter, for thesaurus, to not
16286           move to the next match
16287
16288 2001-07-26  Juergen Vigna  <jug@sad.it>
16289
16290         * lyxfont.C (realize): honor ignore_language too!
16291         (resolved): ditto.
16292
16293         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16294
16295         * text.C (draw): one place more for ignore_language to not draw
16296         itself!
16297
16298 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16299
16300         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16301
16302 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16303
16304         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16305         the minipage conversion problem.
16306
16307 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16308
16309         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16310         insert an inset.
16311
16312 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * BufferView.h: don't forward declare WorkArea
16315
16316         * BufferView.C: don't include WorkArea.h
16317
16318 2001-07-25  André Pönitz <poenitz@gmx.net>
16319
16320         * commandtags.h:
16321         * LyXAction.C:
16322         * lyxfunc.C:  new LFUN 'math-space'
16323
16324         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16325
16326 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16327
16328         * text2.C (toggleInset): call open/close
16329
16330 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * lyxfunc.C (dispatch): add debug for the disabled case
16333
16334         * font.C (buttonText): make similar to rectText
16335
16336         * buffer.C (readInset): comment out parsing of insetlist and
16337         insttheorem
16338
16339         * PainterBase.C (rectText): small correction
16340
16341         * BufferView_pimpl.C: comment out insettheorem and insetlist
16342         * LyXAction.C: ditto
16343         * commandtags.h: ditto
16344
16345 2001-07-24  Juergen Vigna  <jug@sad.it>
16346
16347         * text.C (draw): honor the ignore_language.
16348
16349         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16350
16351 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16352
16353         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16354         char inset.
16355
16356 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16357
16358         * lyxtext.h: remove unused (and unimplemented) methods
16359
16360 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16361
16362         * text.C (getVisibleRow): honor background color
16363
16364         * PainterBase.h:
16365         * Painter.h: remove default color argument for fillRectangle
16366
16367         * text.C (backgroundColor): new method
16368
16369 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16370
16371         * text.C (getVisibleRow): adjust
16372
16373         * font.[Ch] (rectText): new method, metrics
16374         (buttonText): new method, metrics
16375
16376         * PainterBase.[hC]: make rectText and buttonText always draw and take
16377         fewer paramteres.
16378
16379 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16380
16381         * ToolbarDefaults.C (read):
16382         * MenuBackend.C (read): allow escaping in all strings
16383
16384         * BufferView_pimpl.C (insertAndEditInset): new method.
16385         (Dispatch): use insertAndEditInset whenever appropriate.
16386
16387         * BufferView_pimpl.C (insertNote): removed
16388
16389         * BufferView_pimpl.C (smartQuote): new method, moved from
16390         BufferView; if an insetquote cannot be inserted, insert a '"'
16391         character instead.
16392
16393         * BufferView2.C: remove insertCorrectQuote();
16394
16395         * lyxfunc.C (getStatus): Add support for all remaingin
16396         inset-insert lfuns.
16397
16398         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16399
16400         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16401         command (necessary to pass " as parameter of self-insert.
16402
16403         * text.C (selectWordWhenUnderCursor):
16404         (selectWord): add word_location parameter
16405         (selectWordWhenUnderCursor): same + remove special code for word
16406         boundary.
16407         (selectNextWord): use kind() to guess type of insetspecialchar,
16408         not latex().
16409
16410         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16411         (insertErtContents): create ert insets as collapsed.
16412         (readInset): better compatibility code for Info inset.
16413
16414 2001-07-20  Juergen Vigna  <jug@sad.it>
16415
16416         * lyxfunc.C (dispatch): use always LyXFind now!
16417
16418         * text2.C (init): add a reinit flag so that the LyXText can be
16419         reinited instead of deleted and reallocated (used in InsetText).
16420
16421         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16422
16423         * text.C: ditto
16424
16425         * text2.C: ditto
16426
16427 2001-07-18  Juergen Vigna  <jug@sad.it>
16428
16429         * text.C (selectNextWord): handle insets inside inset by calling
16430         always the bv->text functions so that we can go up the_locking_inset!
16431
16432         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16433         in strange locations when inside an inset!
16434
16435         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16436         handling to include insets.
16437
16438         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16439
16440 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * LyXAction.C (init):
16443         * commandtags.h:
16444         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16445         LIGATURE_BREAK, since the name is so stupid.
16446
16447 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16448
16449         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16450         InsetInfos.
16451
16452         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16453
16454         * sp_form.[Ch]: remove.
16455
16456         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16457
16458         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16459         InsetInfo.
16460
16461         * src/buffer.C (readInset): ditto.
16462
16463 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16464
16465         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16466         menuSeparator(), endOfSentenceDot(), ldots() and
16467         hyphenationPoint(), which are therefore removed.
16468         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16469
16470         * LyXAction.C (init):
16471         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16472
16473         * paragraph.C (getWord): removed.
16474
16475         * BufferView_pimpl.C (Dispatch): use last word or selection for
16476         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16477
16478         * lyx_main.C (queryUserLyXDir): do not ask before creating
16479         user_dir, except if it has been named explicitely.
16480
16481 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16482
16483         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16484         a document of zero size.
16485
16486 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16487
16488         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16489         approriately in the c-tor and in require().
16490         (getPackages): output the appropriate LaTeX for natbib support.
16491
16492         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16493         variables "use_natbib" and "use_numerical_citations" when reading the
16494         LyX file.
16495         (readInset): read the various natbib cite commands.
16496         (validate): white-space change.
16497
16498         * bufferparams.[Ch]: new variables "bool use_natbib" and
16499         "bool use_numerical_citations".
16500         (writeFile): output them in the LyX file.
16501
16502 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16503
16504         * lyxfunc.C (getStatus): add support for all the inset insertion
16505         commands.
16506
16507         * text2.C (insertInset):
16508         * paragraph.C (insetAllowed):
16509         * BufferView_pimpl.C (insertInset): update to take in account the
16510         renaming of insertInsetAllowed
16511
16512         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16513
16514         * text2.C (getInset): new method. returns inset at cursor position.
16515
16516         * BufferView_pimpl.C (Dispatch): changes because of this.
16517
16518         * LyXAction.C (init): rename open-stuff to inset-toggle.
16519
16520         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16521
16522         * text2.C (toggleInset): renamed from openStuff; use
16523         Inset::open().
16524
16525 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16526
16527         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16528
16529         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16530
16531 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * buffer.C (readLyXformat2): Add filename to the error dialog
16534
16535 2001-07-18  Juergen Vigna  <jug@sad.it>
16536
16537         * tabular.C (GetCellNumber): put an assert here instead of the check!
16538
16539 2001-07-17  Juergen Vigna  <jug@sad.it>
16540
16541         * BufferView_pimpl.C (toggleSelection): adapted too.
16542
16543         * text.C (selectNextWord): adapted for use with insets.
16544         (selectSelectedWord): ditto
16545
16546 2001-07-17  Juergen Vigna  <jug@sad.it>
16547
16548         * sp_spell.C (PSpell): fix initialitation order.
16549
16550 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16551
16552         * paragraph.C: spacing
16553
16554 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16555
16556         * sp_spell.C: repair language selection for pspell
16557
16558 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16559
16560         * lyxfunc.h: change more methods to begin with lower char.
16561
16562 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16563
16564         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16565         for unknown layouts.
16566
16567 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16568
16569         * buffer.C (readLyXformat2): Generate an error dialog if there are
16570         unknown layouts.
16571
16572 2001-07-16  Juergen Vigna  <jug@sad.it>
16573
16574         * sp_spell.C: always compile ISpell part.
16575
16576         * lyxrc.C: added use_pspell entry and it's handling.
16577
16578 2001-07-13  Juergen Vigna  <jug@sad.it>
16579
16580         * sp_spell.C: removed double includes.
16581
16582 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16583
16584         Consistent use of Lsstream.h:
16585         * Lsstream.h: added using std::stringstream for consistencies sake.
16586
16587         * buffer.C: removed using std::stringstream
16588
16589         * lyxfont.C (stateText):
16590         * paragraph.C (asString):
16591         * text.C (selectNextWord, selectSelectedWord):
16592         * text2.C (setCounter):
16593         * vspace.C (asString, asLatexString):
16594         std::ostringstream -> ostringstream.
16595
16596 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16597
16598         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16599         * commandtags.h: add LFUN_HELP_ABOUTLYX
16600         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16601
16602 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16603
16604         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16605         cursorToggle()
16606         * lyx_gui_misc.C: remove spellchecker
16607         * lyxfunc.C: showSpellchecker
16608         * sp_base.h: added
16609         * sp_ispell.h: added
16610         * sp_pspell.h: added
16611         * sp_spell.C: added
16612         * sp_form.[Ch]: removed
16613         * spellchecker.[Ch]: removed
16614
16615 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16616
16617         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16618         is set.
16619         (simpleTeXSpecialChars): Simply print the input character without
16620         any special translation if pass_thru is set.
16621
16622         * layout.h: Added bool pass_thru to layout class for being able to
16623         implement pass through of a paragraph for Literate Programming.
16624
16625         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16626         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16627         * layout.C (Read): add "passthru" to list of layout tags and add
16628         code to set the pass_thru boolean when it is read.
16629
16630 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * trans_decl.h: remove allowed from KmodInfo
16633
16634         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16635         remove allowed code
16636         (Load): adjust
16637
16638         * paragraph_pimpl.C (erase): use boost::prior
16639
16640         * Painter.C (text): use data() instead of c_str() when length is
16641         also provided.
16642         * WorkArea.C (putClipboard): ditto
16643         * font.h (width): ditto
16644
16645         * BufferView2.C: use it-> instead of (*it). for iterators
16646         * texrow.C: ditto
16647         * paragraph_pimpl.C: ditto
16648         * paragraph.C: ditto
16649         * minibuffer.C: ditto
16650         * language.C: ditto
16651         * kbmap.C: ditto
16652         * encoding.C: ditto
16653         * counters.C: ditto
16654         * converter.C: ditto
16655         * chset.C: ditto
16656         * Variables.C: ditto
16657         * TextCache.C: ditto
16658         * MenuBackend.C: ditto
16659         * LyXAction.C: ditto
16660         * LColor.C: ditto
16661         * FloatList.C: ditto
16662         * DepTable.C: ditto
16663         * ColorHandler.C (LyXColorHandler): ditto
16664
16665 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16666
16667         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16668
16669         * text2.C (openStuff): reintroduce this method (which had been
16670         nuked in NEW_INSETS frenzy).
16671
16672         * lyxfunc.C (Dispatch): when an action has not been handled, use
16673         its name in the error message, not its number.
16674
16675         * paragraph.C (inInset): change method name to begin with lowercase.
16676
16677         * undo_funcs.C:
16678         * text2.C: updates because of this.
16679
16680 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16681
16682         * ToolbarDefaults.C (add): add spaces in error message
16683
16684 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16687         (readLyXformat2): rename return_par to first_par, use lyxlex's
16688         pushToken and remove the manual push handling.
16689         (parseSingleLyXformat2Token): add another ert comp. variable:
16690         in_tabular, rename return_par to first_par. handle newlines better
16691
16692 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16693
16694         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16695
16696 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * text2.C (getParFromID): removed
16699
16700         * buffer.C (getParFromID): new method moved form lyxtext.
16701         * BufferView2.C (insertErrors): adjust
16702         (setCursorFromRow): adjust
16703         * BufferView_pimpl.C (restorePosition): adjust
16704         * lyxfunc.C (Dispatch): adjust
16705         * undo_funcs.C (textUndo): adjust
16706         (textRedo): adjust
16707         (textHandleUndo): adjust
16708         (textHandleUndo): adjust
16709
16710 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * buffer.C: up' the LYX_FORMAT
16713
16714         * lyxfont.h: turn NO_LATEX on as default
16715
16716         * buffer.C (insertErtContents): new methods of tex style compability.
16717         (parseSingleLyXformat2Token): use it several places.
16718         * tabular.C (OldFormatRead): and here
16719
16720 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * text2.C: remove some commented code.
16723         reindent file.
16724
16725         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16726         * trans.C: changes because of the above.
16727
16728 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16729
16730         * text2.C (setCounter): Fix counters bug with bibliography layout.
16731
16732 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16733
16734         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16735         own member functions
16736         (simpleTeXSpecialChars): ditto
16737
16738 2001-07-06  Juergen Vigna  <jug@sad.it>
16739
16740         * a lot of files: changed the access to LyXText::status and the
16741         call of undo-functions.
16742
16743         * undo.[Ch]: added a inset_id to the undo informations.
16744
16745         * undo_funcs.[Ch]: added and moved here all undo functions.
16746
16747         * lyxtext.h: give the status enum a weight, made status_ a private
16748         variable and made accessor functions for it, removed the whole bunch
16749         of undo-functions as they are now in their own file, make some
16750         functions publically available. Added function ownerParagraph with
16751         int parameter.
16752
16753         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16754         made InInset() a const function, added getParFromID() function.
16755
16756         * buffer.[Ch]: added const version for inset_iterator functions,
16757         added getInsetFromID() function.
16758
16759         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16760         changed undo functions for new version.
16761
16762 2001-07-05  Juergen Vigna  <jug@sad.it>
16763
16764         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16765         unknow mechanism does not call the proper constructor but only this
16766         one also if I request the other!?
16767
16768 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16769
16770         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16771
16772         * text2.C (LyXText): use initialization lists.
16773
16774         * lyxtext.h (Selection): initialize set_ and mark_
16775         (init): remove method
16776
16777 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16778
16779         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16780
16781 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16782
16783         * screen.[Ch]: change method names to begin with lowercase
16784
16785         * BufferView_pimpl.C (updateScrollbar): simplify further and
16786         hopefully make it a bit faster.
16787
16788 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16789
16790         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16791         calling directly xforms functions.
16792
16793         * Painter.C (Painter):
16794         * lyx_cb.C (MenuWrite):
16795         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16796         fl_display.
16797
16798         * lyx_gui.C: remove bogus guiruntime extern declaration.
16799
16800 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16801
16802         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16803         in NEW_INSETS
16804         (redoDrawingOfParagraph): ditto
16805         (redoParagraphs): ditto
16806         (cutSelection): don't create a object for CutAndPaste use the
16807         static method directly
16808         (pasteSelection): ditto
16809
16810         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16811         LyXview (+ rename)
16812
16813 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16814
16815         * modifications to some other files because of this.
16816
16817         * Makefile.am (lyx_SOURCES): add XFormsView
16818
16819         * XFormsView.[Ch]: new files
16820
16821         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16822         the main window. Move the gui dependent stuff to XFormsView
16823
16824 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16825
16826         * tabular.C (GetCellInset): update cur_cell also in the row/col
16827         version of this function.
16828
16829         * lyxfunc.C: no need to include figure_form.h here.
16830
16831         * FontLoader.h:
16832         * lyxfunc.h:
16833         * lyxscreen.h:
16834         * text2.C:
16835         * lyxvc.C: no need to include forms.h here.
16836
16837 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16838
16839         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16840
16841         * lyxfunc.C (Dispatch):
16842         * Spacing.C (set):
16843         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16844         constructor argument.
16845
16846 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16847
16848         * paragraph.C (Paragraph): dont't clear, and just set layout.
16849         (makeSameLayout): use params's copy contructor.
16850
16851         * ParagraphParameters.[Ch] (makeSame): delete method
16852
16853 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16854
16855         * Variables.[Ch]: fix indentation, rename set to isSet
16856
16857 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16858
16859         * lyxfunc.C (Dispatch): fix typo
16860
16861 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16862
16863         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16864         upper_bound.
16865
16866         * bufferlist.C: include assert.h for emergencyWrite().
16867
16868 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16869
16870         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16871           give up at last (bug #425202) !
16872
16873 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16874
16875         * lyx_gui_misc.C:
16876         * sp_form.h:
16877         * sp_form.C:
16878         * spellchecker.h:
16879         * spellchecker.C: strip spellchecker options and bring up
16880           preferences tab instead
16881
16882 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16883
16884         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16885         the istringstream constructor
16886
16887 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16888
16889         * paragraph.C (getLayout): fix return value
16890
16891         * paragraph.h: do not declare getLayout as inline.
16892
16893         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16894
16895 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16896
16897         * lyxcursor.h (operator<): new func
16898         (operator>): new func
16899         (operator>=): new func
16900         (operator<=): new func
16901
16902         * text.C (changeCase): use selection.start and selection.end
16903         (changeRegionCase): require from to be <= to. Require par to be a
16904         valid paragraph.
16905
16906         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16907
16908 2001-06-27  Juergen Vigna  <jug@sad.it>
16909
16910         * text.C (cursorLeftOneWord): changed to return the cursor and added
16911         overlay with BufferView * parameter which calls this one.
16912         (getWord): added
16913         (selectWord): use new getWord function.
16914         (changeCase): renamed from changeWordCase as and extended to work
16915         also on selections.
16916
16917         * lyxtext.h: added enum word_location
16918
16919         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16920         changeCase as this operates now also on selections.
16921
16922 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16923
16924         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16925
16926         * many files: send debug output to Debug::INFO instead of
16927         Debug::ANY.
16928
16929         * converter.C (View):
16930         (Convert):
16931         (Move): send debug output to Debug::FILES instead of console.
16932
16933 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16934
16935         * lyxfunc.C (getStatus): use func_status
16936
16937         * func_status.h: new header, describing the results of
16938         LyXFunc::getStatus;
16939
16940         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16941         LFUN_MATH_HALIGN.
16942
16943 2001-06-25  The LyX Project  <jug@sad.it>
16944
16945         * buffer.C (sgmlOpenTag):
16946         (sgmlCloseTag):
16947         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16948
16949 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16950
16951         * text2.C: remove some dead code
16952
16953         * tabular.C (GetCellInset): store the last cell checked (gotten)
16954
16955         * tabular.h: add the helper for the speedup
16956
16957         * lyxtext.h: remove some dead code
16958
16959 2001-06-26  The LyX Project  <Asger>
16960
16961         * paragraph.C: Change export to LaTeX of alignment to
16962         \begin{center} and family for better roundtrip work with reLyX.
16963
16964         * Tune the math drawing a bit.
16965
16966 2001-06-25  The LyX Project  <Asger>
16967
16968         * LColor.C (LColor): New color for math background. New color
16969         for buttons.
16970
16971 2001-06-25  The LyX Project  <jug@sad.it>
16972
16973         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16974
16975         * lyxfunc.C (Open):
16976         * bufferlist.C (newFile): do not restrict to files ending with
16977         .lyx
16978
16979         * BufferView_pimpl.C (MenuInsertLyXFile):
16980
16981 2001-06-24  The LyX Project  <jug@sad.it>
16982
16983         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16984         of compare_no_case
16985
16986 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16987
16988         * lyxtext.h: rename most methods to begin with a small char.
16989         Lots of changes because of this.
16990
16991         * paragraph.C (Paragraph): do not call fitToSize
16992         (erase): call Pimpl::erase
16993         (insertChar): call Pimpl::insertChar
16994         (insertInset): call Pipl::insertInset
16995         (breakParagraph): do not call fitToSize
16996         (breakParagraphConservative): do not call fitToSize
16997         (fitToSize): remove method
16998
16999         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17000
17001 2001-06-24  The LyX Project  <Asger>
17002
17003         * Fix Qt compilation^2
17004
17005 2001-06-24  The LyX Project  <jug@sad.it>
17006
17007         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17008         depthHook(getDepth()-1).
17009
17010         * paragraph.h:
17011         * ParagraphParameters.h:
17012         * ParameterStruct.h: change type of depth to unsigned int ==
17013         depth_type. Many adaptations to other files before of that.
17014
17015 2001-06-24  The LyX Project  <Asger>
17016
17017         * Fix Qt compilation.
17018
17019 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17020
17021         * paragraph.h: renamed several methods to begin with small letter.
17022         several changes to many parts of the code because of this.
17023
17024 2001-06-23  The LyX Project  <jug@sad.it>
17025
17026         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17027         rewritten to discard all double spaces when KeepEmpty is off
17028         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17029         to only handle newlines but not fiddle with spaces and friends.
17030
17031         * lyxfunc.C (MenuNew): when doing 'new from template', use
17032         template_path as default directory
17033
17034 2001-06-23  The LyX Project  <Asger>
17035
17036         * Clean-up of header file includes all over
17037         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17038
17039 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17040
17041         * paragraph.h: renamed from lyxparagraph.h
17042
17043 2001-06-23  Asger  <lyx@violet.home.sad.it>
17044
17045         * Buffer.h: Removed Buffer::resize
17046         * BufferList.h: Removed BufferList::resize
17047         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17048         the document lazily when we change the width, or the font settings.
17049
17050 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17051
17052         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17053
17054 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17055
17056         * buffer.h: remove out of date comment
17057
17058 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17059
17060         * lyxscreen.h:
17061         * screen.C: fix "theoretical" GC leak
17062
17063 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17064
17065         * LaTeX.C (scanAuxFile):
17066         (deplog): remove trailing \r when reading stream (useful under
17067         win32)
17068
17069 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17070
17071         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17072         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17073         and BufferView::theLockingInset(Inset*), so should use them and not
17074         access bv_->text->the_locking_inset directly.
17075
17076         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17077
17078 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17079
17080         * Makefile.am:
17081         * tex-defs.h: remove old unused file
17082
17083 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17084
17085         * BufferView_pimpl.C: fix typo, remove minibuffer message
17086           when buffer has loaded
17087
17088 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17089
17090         * lyxfunc.C (Dispatch): use stringstream
17091         (MenuNew): use stringstream
17092         (Open): use stringstream
17093
17094         * importer.C (Import): use stringstream
17095
17096         * bufferview_funcs.C (CurrentState): use stringstream
17097
17098         * LaTeX.C (run): use stringstream
17099
17100         * BufferView_pimpl.C (savePosition): use stringstream
17101         (restorePosition): use stringstream
17102         (MenuInsertLyXFile): use stringstream
17103
17104 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17105
17106         * BufferView.C:
17107         * Bullet.C:
17108         * ColorHandler.C:
17109         * FontInfo.C:
17110         * FontLoader.C:
17111         * LColor.C:
17112         * LaTeXFeatures.C:
17113         * Painter.C:
17114         * gettext.C:
17115         * lyx_gui_misc.C:
17116         * lyxserver.C:
17117         * vspace.C: removed // -*- C++ -*- as first line.
17118
17119         * lyxfind.h:
17120         * version.h: added // -*- C++ -*- as first line.
17121
17122 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17123
17124         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17125
17126         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17127         of string
17128
17129 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17130
17131         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17132         of floats.
17133
17134 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17135
17136         * gettext.C: include LString.h even when --disable-nls is on.
17137
17138 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17139
17140         * converter.h (Get): changed argument type from int to
17141         FormatList::size_type to avoid unnecessary conversion.
17142
17143         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17144         before using it.
17145
17146 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17147
17148         * gettext.h: include LString.h even when --disable-nls is on.
17149
17150 2001-06-07  Juergen Vigna  <jug@sad.it>
17151
17152         * text.C (BreakAgain): subst spaces with tabs.
17153
17154         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17155         (resizeInsetsLyXText): set force on resizeLyXText.
17156
17157 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17158
17159         * gettext.h (gettext_init):
17160         (locale_init): use a real definition instead of a macro
17161
17162 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17163
17164         * Bufferview_pimpl.C:
17165         * LColor.h:
17166         * LColor.C: further lcolor tidies
17167
17168 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * BufferView_pimpl.C (updateScrollbar): simplify.
17171
17172         * BufferView2.C: don't include insets/insetinfo.h, change
17173         prototype for insertInset and call the Pimpl version. let
17174         updateInset call Pimpl version.
17175
17176         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17177         gotoInset to BufferView::Pimpl
17178
17179 2001-06-01  Juergen Vigna  <jug@sad.it>
17180
17181         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17182         inside a LockingInset (is the update needed at all?).
17183
17184 2001-05-31  Juergen Vigna  <jug@sad.it>
17185
17186         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17187         here not the old one otherwise how should we compare it afterwards
17188         if it's the same!
17189
17190 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * lyxfont.C:
17193         * tabular.C:
17194         * tabular-old.C:
17195         * FontInfo.C: bring C functions into global namespace when
17196         necessary
17197
17198 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * LString.h: make sure config.h has been loaded before LString.h.
17201
17202         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17203         (one for each char read by EatLine!).
17204
17205         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17206         variables.
17207
17208 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17209
17210         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17211         to the same as the par we break from
17212
17213 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17214
17215         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17216
17217         * MenuBackend.C (expand): also create menu entries for wide
17218         versions of the floats.
17219
17220         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17221
17222         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17223
17224         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17225         frontends/Makefile.am
17226
17227         * text2.C: adjust
17228         * text.C: adjust
17229
17230
17231         * tabular.C (getTokenValue): add std::
17232
17233         * tabular-old.C (getTokenValue): add std::
17234         (getTokenValue): ditto
17235         (getTokenValue): ditto
17236
17237         * screen.C (ToggleSelection): adjust
17238
17239         * lyxtext.h: put selection cursors inside a Selection struct.
17240
17241         * lyxfunc.C (moveCursorUpdate): adjust
17242
17243         * lyxfont.C (latexWriteStartChanges): add std::
17244
17245         * lyxfind.C: adjust
17246
17247         * font.h: delete with(char const *, LyXFont const &)
17248
17249         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17250
17251         * FontInfo.C (getFontname): add std::
17252
17253         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17254         (workAreaButtonPress): adjust
17255         (tripleClick): adjust
17256         (update): adjust
17257         (moveCursorUpdate): adjust
17258         (Dispatch): adjust
17259
17260         * BufferView2.C (gotoInset): adjust
17261
17262 2001-05-30  Juergen Vigna  <jug@sad.it>
17263
17264         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17265         to check pspell I add this as default as I now have new pspell
17266         libraries and they seem to use this.
17267
17268 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17269
17270         * text2.C (CutSelection): make the cursor valid before the call to
17271         ClearSelection.
17272
17273 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17274
17275         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17276         relied on 0 terminated strings and other horrors. Bug found due to
17277         the new assert in lyxstring!
17278
17279         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17280         KP_ keys.
17281
17282 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17283
17284         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17285         to latinkeys.bind.
17286
17287         * lyxfunc.C (processKeySym): change method of getting to the
17288         self-insert char.
17289
17290         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17291         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17292         * BufferView_pimpl.[Ch]: here as private methods.
17293
17294 2001-05-28  Juergen Vigna  <jug@sad.it>
17295
17296         * text.C (SetHeightOfRow): added the update() call again as it is
17297         needed to initialize inset dimensions!
17298
17299 2001-05-16  Juergen Vigna  <jug@sad.it>
17300
17301         * text2.C (SetCharFont): Add new function with BufferView * and
17302         bool toggleall parameters for setting insets internal fonts.
17303         (SetFont): Freeze the undo as we may change fonts in Insets and
17304         all this change should be inside only one Undo!
17305
17306         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17307         setting font's in insets as for them we have the SetFont function!
17308
17309 2001-05-15  Juergen Vigna  <jug@sad.it>
17310
17311         * text2.C (ClearSelection): to be sure we REALLY don't have any
17312         selection anymore!
17313
17314         * tabular.C (TeXCellPreamble): fixed the left border problem for
17315         multicolumn cells.
17316
17317 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17318
17319         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17320         dependancy file
17321
17322 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17323
17324         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17325         LFUN_BREAKPARAGRAPH.
17326
17327         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17328         help test to "internal only", similar for LFUN_INSERT_URL
17329
17330         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17331         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17332         auto_region_delete and deadkeys.
17333
17334 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17335
17336         * LColor.h:
17337         * LColor.C: remove some dead entries, tidy a little
17338
17339 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17340
17341         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17342         commented code.
17343         (Dispatch): implement LFUN_ESCAPE
17344
17345         * commandtags.h: add LFUN_ESCAPE
17346
17347         * LyXAction.C (init): add entry for LFUN_ESCAPE
17348
17349         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17350         Remove commented code.
17351         (insertNote): moved here
17352         (open_new_inset): moved here
17353
17354         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17355         BufferView_pimpl
17356
17357 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17358
17359         * kbmap.C (findbinding): clean it up and make it work correctly.
17360
17361         * lyx_main.C (init): do not pass argc and argv as parameters
17362
17363 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17364
17365         * buffer.C: fix path for OS/2 & Win32
17366
17367         * lyx_gui.C:
17368         * lyx_main:
17369         * lyx_main.C: Added os:: class.
17370
17371         * os2_defines.h: update
17372
17373 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17374
17375         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17376         better by trying again with reduced state.
17377
17378 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17379
17380         * lyxrc.C (read): print error about invalid key sequence only when
17381         debugging (because not all latinX keysyms are known to some X
17382         servers)
17383
17384         * kbsequence.C (getiso): add a few std:: qualifiers
17385         (getiso): comment out extra return statement.
17386
17387 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17388
17389         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17390         handling.
17391         (Dispatch): enhance the accent inset a bit. (not perfect)
17392
17393 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17394
17395         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17396
17397 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17398
17399         * bufferlist.C (emergencyWrite): fix assert() call
17400
17401 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17402
17403         * text.C (InsertChar): Added trivial patch to only send the "you
17404         can not do multiple spaces this way" message once during a
17405         session.
17406
17407 2001-05-08  Baruch Even  <baruch@lyx.org>
17408
17409         * Makefile.am: Changed order of libraries to get LyX to link properly
17410         with the gnome frontend.
17411
17412 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17413
17414         * LaTeXFeatures.h: add a std:: qualifier
17415
17416 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17417
17418         * paragraph.C (String): use stringstream
17419
17420 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17421
17422         * paragraph.C (writeFile): remove footflag arg
17423
17424         * buffer.C (makeLaTeXFile): use stringstream
17425         (latexParagraphs): remove footnot gurba
17426
17427         * LaTeXFeatures.C (getPackages): use stringstream
17428         (getMacros): likewise
17429         (getTClassPreamble): likewise
17430         (getFloatDefinitions): new method
17431
17432         * paragraph.C (writeFile): reindent
17433         (Erase): reindent
17434
17435         * WorkArea.h: revert the xpos + etc changes.
17436
17437         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17438
17439         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17440
17441         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17442         (pasteSelection): likewise
17443         * text2.C (CreateUndo): likewise
17444
17445 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17446
17447         * minibuffer.C (peek_event): temporarily reduce the functionality
17448         of the minibuffer (to allow args on lfuns)
17449
17450         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17451         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17452
17453         * buffer.C (readInset): add compability reading of old float
17454         lists, add reading of new style float list.
17455         (readInset): avoid reevaluation of inscmd.getCmdName()
17456         (getLists): reindent
17457
17458         * MenuBackend.C (MenuItem): implement parsing of
17459         md_floatlistinsert and md_floatinsert.
17460         (expand::LastFiles): move initalizaton of iterators out of loop,
17461         avoid reevaluation.
17462         (expand::Documents): introduce typdedef vector<string> Strings,
17463         and use it.
17464         (expand::ExportFormats): introduce typedef vector<Format const *>
17465         Formats, and use it.
17466         (expand): implement FloatListInsert and FloatInsert.
17467
17468         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17469         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17470         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17471
17472         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17473         handling.
17474         (Dispatch::LFUN_FLOAT_LIST): implement
17475
17476 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17477
17478         * LaTeX.C (run): Fix problem with --export code.
17479
17480 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17481
17482         * BufferView.[Ch] (workarea): removed.
17483         (getClipboard) new method; wrapper for workarea()->getClipboard()
17484
17485         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17486         bug.
17487
17488         * WorkArea.h (width, height, xpos, ypos): These methods all
17489         returned the dimensions of the work_area sub-area of WorkArea,
17490         resulting in a position error if the WorkArea were resized. Now
17491         return the dimensions of the entire WorkArea.
17492
17493         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17494
17495 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17496
17497         * LaTeX.C (deplog): correct the syntax of regex reg1
17498
17499 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17500
17501         * undo.C: remove !NEW_INSETS cruft
17502
17503 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17504
17505         * text2.C: remove !NEW_INSETS cruft
17506
17507         * text.C: remove !NEW_INSETS cruft
17508
17509         * tabular.C: remove !NEW_INSETS cruft
17510
17511         * spellchecker.C: remove !NEW_INSETS cruft
17512
17513         * lyxtext.h: remove !NEW_INSETS cruft
17514
17515         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17516
17517         * lyxfunc.C: remove !NEW_INSETS cruft
17518
17519         * lyxfind.C: remove !NEW_INSETS cruft
17520
17521         * lyx_cb.C: remove !NEW_INSETS cruft
17522
17523         * figureForm.C: remove  !NEW_INSETS cruft
17524
17525         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17526
17527         * buffer.[Ch]: remove !NEW_INSETS cruft
17528
17529         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17530
17531         * CutAndPaste.C: remove !NEW_INSETS cruft
17532
17533         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17534
17535         * BufferView2.C: remove !NEW_INSETS cruft
17536
17537         * BufferView.h: remove !NEW_INSETS cruft
17538
17539 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17540
17541         * Lsstream.h: include LString.h before the sstream headers to
17542         fix problem with gcc 2.95.3 and lyxstring
17543
17544 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17545
17546         * lyx_main.C: add using directives when needed for C functions
17547         declared in std:: namespace.
17548
17549 2001-04-27  Juergen Vigna  <jug@sad.it>
17550
17551         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17552         (SetHeightOfRow): comment out the update call should not be needed!
17553
17554 2001-04-13  Juergen Vigna  <jug@sad.it>
17555
17556         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17557         (LyXTabular): tried to minimize operator= operations (and realized
17558         hopfully Lars wish).
17559
17560 2001-04-27  Juergen Vigna  <jug@sad.it>
17561
17562         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17563
17564 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17565
17566         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17567
17568         * buffer.C (readInset): hack to make listof algorithm work
17569
17570         * BufferView_pimpl.C: hack to make listof algorithm work
17571
17572 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17573
17574         * LyXAction.C: removed all !NEW_INSETS cruft
17575         (init): moved lfun_item in method
17576
17577         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17578
17579 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17580
17581         * BufferView2.C (theLockingInset): white space.
17582
17583 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17584
17585         * minibuffer.C: include <iostream>
17586
17587         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17588
17589         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17590
17591         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17592
17593         * text.[Ch] (TransposeChars): new method
17594
17595 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17596
17597         * call message directly through LyXView instead of through LyXFunc
17598         * BufferView2.C: adjust
17599         * BufferView_pimpl.C: adjust
17600         * FontLoader.C: adjust
17601         * buffer.C: adjust
17602         * bufferview_funcs.C: adjust
17603         * converter.C: adjust
17604         * figureForm.C: adjust
17605         * importer.C: adjust
17606         * lyx_cb.C: adjust
17607         * lyx_gui_misc.C: adjust
17608         * lyxfunc.C: adjust
17609         * lyxvc.C: adjust
17610         * text2.C: adjust
17611         + more files in subdirs
17612
17613         * lyxparagraph.h (size): move up int file
17614         (GetLayout): ditto
17615
17616         * adjust all uses of Assert to lyx::Assert.
17617
17618         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17619         lyxfunctional in namespace lyx
17620         * layout.C (hasLayout): ditto
17621         (GetLayout): ditto
17622         (GetLayout): ditto
17623         (delete_layout): ditto
17624         (NumberOfClass): ditto
17625         * converter.C (GetFormat): ditto
17626         (GetNumber): ditto
17627         (Add): ditto
17628         (Delete): ditto
17629         (SetViewer): ditto
17630         * bufferlist.C (getFileNames): ditto
17631         (emergencyWriteAll): ditto
17632         (exists): ditto
17633         (getBuffer): ditto
17634         * MenuBackend.C (hasSubmenu): ditto
17635         (hasMenu): ditto
17636         (getMenu): ditto
17637         * BufferView_pimpl.C (getInsetByCode): ditto
17638
17639 2001-04-18  Juergen Vigna  <jug@sad.it>
17640
17641         * vspace.C (asLatexString): fixed the 100% problem.
17642
17643 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17644
17645         * lyxfunc.C (Dispatch):
17646         * minibuffer.C:
17647         * minibuffer.h: add a few std:: qualifiers
17648
17649 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17650
17651         * minibuffer.[Ch]: reimplement so that commands is initiated and
17652         run from lyxfunc, simplified som handling, and made the completion
17653         and history code for complete. wip.
17654
17655         * lyxfunc.C (processKeySym): call message
17656         (miniDispatch): new temporary method
17657         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17658         (LFUN_MESSAGE): implement
17659         (LFUN_MESSAGE_PUSH): implement
17660         (LFUN_MESSAGE_POP): implement
17661         (initMiniBuffer): the initial/defualt minibuffer message.
17662
17663         * lyxfont.[Ch]: inline some more getters
17664
17665         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17666
17667         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17668
17669         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17670         (AutoSave): use LFUN_MESSAGE
17671         (Reconfigure): ditto
17672
17673         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17674
17675         * figureForm.C: use LFUN_MESSAGE
17676
17677         * converter.C (runLaTeX): use LFUN_MESSAGE
17678
17679         * bufferview_funcs.C: use LFUN_MESSAGE
17680         (Melt): ditto
17681         (changeDepth): ditto
17682
17683         * bufferparams.h: use boost::
17684
17685         * bufferlist.h: inherit privately from noncopyable
17686
17687         * bufferlist.C (loadLyXFile): remove some commented code.
17688
17689         * buffer.C (runChktex): use LFUN_MESSAGE
17690
17691         * ShareContainer.h: inherit privately from noncopyable
17692
17693         * ParagraphParameters.[hC] (depth): inline it.
17694
17695         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17696         methods.
17697         (message): new method
17698         (messagePush): ditto
17699         (messagePop): ditto
17700         (show): init minibuffer
17701         (showState): direct call
17702
17703         * LaTeX.[Ch]: inherit privately from noncopyable
17704         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17705         instead of WriteStatus.
17706
17707         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17708
17709         * BufferView_pimpl.C (buffer): don't init minibuffer
17710         (workAreaButtonPress): use LFUN_MESSAGE
17711         (workAreaButtonRelease): ditto
17712         (savePosition): ditto
17713         (restorePosition): ditto
17714         (MenuInsertLyXFile): ditto
17715         (workAreaExpose): don't init minibuffer
17716         (update): remove commented code, simplify
17717
17718         * BufferView2.C (openStuff): use LFUN_MESSAGE
17719         (toggleFloat): ditto
17720         (menuUndo): ditto
17721         (menuRedo): ditto
17722         (copyEnvironment): ditto
17723         (pasteEnvironment): ditto
17724         (copy): ditto
17725         (cut): ditto
17726         (paste): ditto
17727         (gotoInset): ditto
17728         (updateInset): remove some commented code
17729
17730         * lastfiles.h: inherit privately from noncopyable
17731         * layout.h: ditto
17732         * lyx_gui.h: ditto
17733         * lyx_main.h: ditto
17734         * lyxlex.h: ditto
17735         * lyxlex_pimpl.h: ditto
17736
17737         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17738         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17739         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17740
17741         * LyXAction.h: inherit privately from noncopyable, add methods
17742         func_begin, func_end, returning iterators to the func map.
17743
17744         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17745         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17746         (func_begin): new method
17747         (func_end): new method
17748
17749         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17750         and not)
17751         (copySelection): ditto
17752         (pasteSelection): ditto
17753
17754         * BufferView.C: whitespace change
17755         * BufferView.h: inherit privately from noncopyable
17756
17757 2001-04-16  Allan Rae  <rae@lyx.org>
17758
17759         * tabular-old.C (l_getline):
17760         * spellchecker.C (sc_check_word):
17761         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17762         an unrecognised preprocessor directive.  So ensure they're wrapped.
17763
17764 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17765
17766         * src/exporter.C (Export): Give an error message when path to file
17767         contains spaces.
17768
17769 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17770
17771         * LaTeX.C (deplog): Always check that foundfile exists.
17772
17773 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17774
17775         * lyx_main.h:
17776         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17777
17778 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17779
17780         * tabular.[Ch] (getLabelList): implement new method
17781
17782         * minibuffer.h: comment ouf setTiimer
17783
17784         * minibuffer.C (ExecutingCB): constify res
17785         (peek_event): constify s
17786         (Set): constify ntext
17787         (Init): constify nicename
17788
17789         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17790
17791         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17792         (savePosition): use two params to Minibuffer::Set
17793         (restorePosition): ditto
17794
17795 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17796
17797         * lyx_main.C: include language.h
17798
17799         * Makefile.am (lyx_main.o): add language.h
17800
17801 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17802
17803         * exporter.C:
17804         * paragraph.C:
17805         * screen.C:
17806         * tabular.C:
17807         * CutAndPaste.C: include gettext.h
17808
17809         * lyxfont.h: remove old hack with ON and OFF.
17810
17811         * lyxparagraph.h:
17812         * lyxfont.h: do not include language.h...
17813
17814         * BufferView2.C:
17815         * LaTeXFeatures.C:
17816         * Painter.C:
17817         * bufferview_funcs.C:
17818         * font.C:
17819         * lyxfont.C:
17820         * text.C:
17821         * text2.C:
17822         * trans_mgr.C:
17823         * paragraph.C: ... but do it here instead
17824
17825 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17826
17827         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17828
17829         * tabular.C: small reformat
17830
17831         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17832         NEW_INSETS version
17833         (GetChar): ditto
17834         (BreakParagraph): ditto
17835         (SetOnlyLayout): ditto
17836         (SetLayout): ditto
17837
17838         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17839         with one arg less.
17840
17841         * lastfiles.C: removed most using decl, add std:: where needed
17842
17843         * buffer.C: ws changes
17844
17845         * MenuBackend.C (class compare_format): put into anon namespace
17846         (expand): constify label, names, action, action2
17847         (expand):
17848
17849         * text.C (SingleWidth): constify font
17850         (IsBoundary): constify rtl2
17851         (GetVisibleRow): constify ww
17852
17853         * LaTeX.C (deplog): constify logfile
17854
17855         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17856         start_x, end_x
17857         (workAreaExpose): constify widthChange, heightChange
17858
17859         * lyxrow.C (par): moved
17860         (height): moved
17861         (next): moved
17862         * lyxrow.h: as inlines here
17863
17864         * lyxfont.h (shape): moved from lyxfont.C
17865         (emph): moved from lyxfont.C
17866
17867         * lyxfont.C (LyXFont): use initialization list for all
17868         constructors
17869         (shape): move to lyxfont.h as inline
17870         (emph): move to lyxfont.h as inline
17871
17872
17873 2001-04-04  Juergen Vigna  <jug@sad.it>
17874
17875         * vspace.C: had to include stdio.h for use of sscanf
17876
17877 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17878
17879         * BufferView.h:
17880         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17881         independent of xforms.
17882
17883 2001-04-02  Juergen Vigna  <jug@sad.it>
17884
17885         * spellchecker.C: fixed namespace placing!
17886
17887 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17888
17889         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17890         the LyXParagraph * is 0.
17891
17892 2001-03-29  Juergen Vigna  <jug@sad.it>
17893
17894         * vspace.C: added support for %, c%, p%, l%.
17895         (stringFromUnit): added helper function.
17896         (asLatexString): changed to give right results for the %-values.
17897
17898         * buffer.C: convert the widthp in a width%.
17899
17900 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17901
17902         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17903         figureForm.[Ch].
17904
17905         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17906         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17907
17908         * lyx_cb.[Ch]: see above.
17909
17910         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17911         form1.[Ch].
17912
17913         * form1.[Ch]:
17914         * lyx.[Ch]: replaced by figure_form.[Ch].
17915
17916         * lyx_gui.C:
17917         * lyx_gui_misc.C:
17918         * lyxfunc.C: changed headers associated with above changes.
17919
17920 2001-03-27  Juergen Vigna  <jug@sad.it>
17921
17922         * BufferView_pimpl.C: set the temporary cursor right!
17923
17924 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17925
17926         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17927
17928 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17929
17930         * LString.h: removed "using std::getline"!
17931
17932         * BufferView_pimpl.C (Dispatch): changes due to changes in
17933         InsetInclude::Params.
17934
17935         * buffer.C (tag_name): removed redundant break statements as they were
17936         producing lots of warnings with my compiler.
17937
17938 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17939
17940         * LString.h: add "using std::getline" when using the real <string>.
17941
17942 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17943
17944         * buffer.C: removed bitset usage.
17945         PAR_TAG moved to an anonymous name space.
17946         (tag_name): new funtion, also in the anonymous namespace.
17947         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17948         (makeDocBookFile): clean code. Completed transition from string arrays
17949         to string vectors.
17950         (SimpleDocBookOnePar): code clean.
17951
17952 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17953
17954         * tabular.C: add some comments.
17955
17956 2001-03-22  Juergen Vigna  <jug@sad.it>
17957
17958         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17959         compatibility read a bit and fixed bug with minipage in different
17960         depth.
17961
17962 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17963
17964         * buffer.C (pop_tag): removed.
17965         (push_tag): removed.
17966         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17967         array replaced with vector. Added support for CDATA sections.
17968         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17969         at any nest level.
17970         (makeDocBookFile): XML conformant declaration of CDATA section,
17971         fixed bug related to <emphasis> in the first paragraph char.
17972         (sgmlOpenTag): exclude empty tags.
17973         (sgmlCloseTag): ditto.
17974
17975         * buffer.h (pop_tag): removed.
17976         (push_tag): removed.
17977
17978 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17979
17980         * language.h (Languages): added size_type and size().
17981
17982 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17983
17984         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17985         response on compability reading of minipages. One probliem is that
17986         the old usage of minipages was flertydig
17987
17988         * several files here and in subdirs: don't use static at file
17989         scope use anon namespaces instead.
17990
17991 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17992
17993         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17994         LaTeX output. This is necessary for Literate document
17995         processing.
17996
17997 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17998
17999         * buffer.C: insert hfill when needed.
18000
18001         * tabular.C (l_getline): use string::erase, small whitespace change.
18002
18003         * BufferView_pimpl.C: try the anon namespace.
18004         * WorkArea.C: ditto
18005
18006 2001-03-16  Juergen Vigna  <jug@sad.it>
18007
18008         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18009         otherwise it won't open options-dialogs.
18010
18011         * buffer.C: honor pextraWidth(p) on converting minipages.
18012
18013         * tabular.C (l_getline): changed the functions to strip trailing \r.
18014
18015 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18016
18017         * BufferView_pimpl.C:
18018         * minibuffer..C: added "using SigC::slot" declaration.
18019
18020 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18021
18022         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18023
18024         * text2.C: ditto
18025
18026         * text.C: ditto
18027
18028         * paragraph.C: ditto
18029
18030         * lyxtext.h: NO_PEXTRA
18031
18032         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18033
18034         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18035         * ParameterStruct.h: ditto
18036         * ParagraphParameters.h: ditto
18037         * lyxparagraph.h: ditto
18038
18039 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18040
18041         * buffer.C: add compability for minipage alignment.
18042         (latexParagraphs): remove unwanted pextra check.
18043
18044         * several files: remove CXX_WORKING_NAMESPACES
18045
18046         * buffer.C (pop_tag): tie is in namespace boost
18047
18048         * BufferView.h: noncopyable is in namespace boost
18049         * lyxlex.h: ditto
18050         * lyx_main.h: ditto
18051         * lyx_gui.h: ditto
18052         * layout.h: ditto
18053         * lastfiles.h: ditto
18054         * bufferlist.h: ditto
18055         * ShareContainer.h: ditto
18056         * LyXView.h: ditto
18057         * LyXAction.h: ditto
18058         * LaTeX.h: ditto
18059
18060 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18061
18062         * Merging changes from BRANCH_MVC back into HEAD.
18063
18064         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18065
18066 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18067
18068         * BufferView_pimpl.C: change from intl.C
18069
18070         * combox.h:
18071         * combox.C:
18072         * Makefile.am: move combox.*
18073
18074         * form1.h:
18075         * form1.C:
18076         * lyx_gui.C:
18077         * intl.h:
18078         * intl.C: remove dialog (covered by prefs)
18079
18080 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18081
18082         * lyxfunc.C (Dispatch): removed redundant break statement.
18083
18084 2001-03-14  Juergen Vigna  <jug@sad.it>
18085
18086         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18087
18088 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18089
18090         * buffer.C: add hack to fix compability reading of minipages.
18091
18092 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18093
18094         * buffer.C (getLists): Cleanup.
18095
18096 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18097
18098         * lyxfont.C (update): don't honor toggleall on font size.
18099
18100 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18101
18102         * bmtable.c:
18103         * bmtable.h:
18104         * Makefile.am: moved to frontends/xforms/
18105
18106         * lyx_gui_misc.C:
18107         * lyxfunc.C:
18108         * BufferView_pimpl.C: changes for moved mathpanel
18109
18110 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18111
18112         * gettext.h: fix gettext_init() in --disable-nls
18113
18114 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18115
18116         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18117
18118 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18119
18120         * lyx.C:
18121         * lyx.h: strip external form
18122
18123 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18124
18125         * BufferView_pimpl.C: add comment, destroySplash()
18126
18127 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18128
18129         * BufferView_pimpl.C:
18130         * LyXAction.C:
18131         * buffer.C:
18132         * commandtags.h:
18133         * lyxfunc.C: use re-worked insetinclude
18134
18135 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18136
18137         * buffer.C: add using std::stringstream.
18138
18139         * lyx_cb.C: readd using std::ios.
18140
18141         * buffer.C: add using std::map.
18142
18143         * BufferView_pimpl.C: add using std::vector.
18144
18145         * ShareContainer.h: add std:: to swap.
18146
18147         * buffer.h: add some typedefs
18148         * buffer.C (getLists): use them
18149         (getLists): renamed from getTocList.
18150         add a counter for the different float types and use it in the
18151         generated string.
18152         (getLists): use the same counter for the NEW_INSETS and the "non"
18153         NEW_INSETS
18154
18155         * lyx_cb.h: remove unused items, includes, using etc.
18156
18157         * ShareContainer.h: remove some commented code, add more comments
18158         and "documentation".
18159
18160 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18161
18162         * buffer.C (getTocList): make the list also when NEW_INSETS is
18163         defined.
18164
18165         * buffer.h: remove TocType
18166
18167         * buffer.C (getTocList): change to return a map<string,
18168         vector<TocItem> >, implement for dynamic number of list.
18169
18170         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18171         * text2.C (PasteSelection): adjust
18172         * CutAndPaste.C (pasteSelection): adjust
18173
18174         * FloatList.C (FloatList): update from the new_insets branch.
18175         * Floating.[Ch]: ditto
18176         * LaTeXFeatures.C: ditto
18177         * buffer.C: ditto
18178         * lyxlex_pimpl.C: ditto
18179
18180         * paragraph.C (Last): remove when NEW_INSETS is defined.
18181
18182         * other file: changes because of the above.
18183
18184 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18185
18186         * lyxparagraph.h: rename next to next_, previous to previous_,
18187         make them private for NEW_INSETS. Rename Next() to next(),
18188         Previous() to previous().
18189
18190         * other files: changes because of the above.
18191
18192 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18193
18194         * BufferView.h:
18195         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18196         problem.
18197
18198 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18199
18200         * main.C (main): pass lyx_localedir to gettext_init().
18201
18202         * gettext.h: remove locale_init and gettext_init macros
18203
18204         * gettext.C (locale_init): new function
18205         (gettext_init): new function
18206
18207         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18208         setlocale().
18209
18210 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18211
18212         * Moved credits to frontends:
18213         * credits.[Ch]: removed
18214         * credits_form.[Ch]: removed
18215         * lyx_gui_misc.C: remove credits stuff
18216         * Makefile.am:
18217
18218 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18219
18220         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18221
18222         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18223         unneeded destructor.
18224
18225         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18226         a standalone pointer again.
18227
18228         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18229
18230 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18231
18232         * Makefile.am:
18233         * filedlg.h:
18234         * filedlg.C:
18235         * LyXAction.C:
18236         * ToolbarDefaults.C:
18237         * bufferlist.C:
18238         * commandtags.h:
18239         * form1.C:
18240         * form1.h:
18241         * lyx_cb.C:
18242         * lyx_cb.h:
18243         * lyxfunc.h:
18244         * lyxfunc.C:
18245         * BufferView_pimpl.C: use new file dialog in GUII
18246
18247         * lyx_cb.h:
18248         * lyx_cb.C: remove LayoutsCB to Toolbar
18249
18250 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18251
18252         * ShareContainer.h (get): add std:: qualifier
18253
18254 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18255
18256         * ShareContainer.h: define a proper ShareContainer::value_type
18257         type (and use typename to please compaq cxx)
18258
18259 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18260
18261         * lyxparagraph.h: move serveral local vars to
18262         ParameterStruct/ParagraphParameters., use ShareContainer in
18263         FontTable., make vars in FontTable private and add getter and
18264         setter.
18265
18266         * paragraph.C: changes because of the above.
18267
18268         * lyxfont.h: remove copy constructor and copy assignment. (the
18269         default ones is ok), move number inside FontBits. move inlines to
18270         lyxfont.C
18271
18272         * lyxfont.C: add number to initializaton of statics, move several
18273         inlines here. constify several local vars. some whitespace
18274         cleanup. Dont hide outerscope variables.
18275
18276         * Spacing.h: add two new constructors to match the set methods.
18277
18278         * ShareContainer.h: new file, will perhaps be moved to support
18279
18280         * ParameterStruct.h: new file
18281
18282         * ParagraphParameters.h: new file
18283
18284         * ParagraphParameters.C: new file
18285
18286         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18287         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18288
18289         * BufferView_pimpl.C: ParagraphParameter changes.
18290         * buffer.C: Likewise.
18291         * bufferview_funcs.C: Likewise.
18292         * text.C: Likewise.
18293         * text2.C: Likewise.
18294
18295 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18296
18297         * lyxfind.C (LyXReplace): do not redefine default argument in
18298         implementation.
18299         (IsStringInText): ditto
18300         (SearchForward): ditto
18301         (SearchBackward): ditto
18302
18303 2001-03-06  Juergen Vigna  <jug@sad.it>
18304
18305         * lyxfind.C (IsStringInText): put parentes around expressions.
18306
18307 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18308
18309         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18310
18311 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18312
18313         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18314
18315         * stl_string_fwd.h: add comment
18316
18317         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18318
18319         * tabular.h:
18320         * tabular.C: remove unused DocBook methods
18321
18322         * intl.C:
18323         * language.C:
18324         * paragraph.C:
18325         * buffer.C:
18326         killed DO_USE_DEFAULT_LANGUAGE
18327
18328 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18329
18330         * lyx_gui.C: do not include language.h.
18331
18332         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18333         arguments in function implementation.
18334
18335 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18336
18337         * BufferView_pimpl.C: add <ctime>
18338
18339 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18340
18341         * BufferView_pimpl.C: add using std::find_if
18342
18343 2001-02-27  José Matos  <jamatos@fep.up.pt>
18344
18345         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18346         by OnlyPath.
18347
18348 2001-02-11  José Matos  <jamatos@fep.up.pt>
18349
18350         * buffer.C (makeDocBookFile): command styles now have a parameter as
18351         "title" by default.
18352
18353 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18354
18355         * layout_forms.[Ch]: removed
18356         * lyx_cb.[Ch]: out character
18357         * lyx_gui.C: out character
18358         * lyx_gui_misc.C: out character
18359         * bufferview_funcs.C: : out character,
18360         added toggleall as parameter in ToggleAndShow
18361
18362 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18363
18364         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18365
18366         * text2.C (SetCurrentFont): Disable number property at boundary.
18367
18368 2001-02-26  Juergen Vigna  <jug@sad.it>
18369
18370         * lyxfunc.C (getStatus): added a string argument override function so
18371         that this is correctly called from LyXFunc::Dispatch if it contains a
18372         do_not_use_argument which is used!
18373         (Dispatch): added check for "custom" export and call appropriate func.
18374
18375 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18376
18377         * lyxrc.C: Add language_command_local, language_use_babel and
18378         language_global_options.
18379
18380         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18381
18382         * buffer.C (makeLaTeXFile): Use language_use_babel and
18383         language_global_options.
18384
18385 2001-02-23  Juergen Vigna  <jug@sad.it>
18386
18387         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18388         which works with LyXText and putted it inside BufferView. Here now we
18389         only call for that part the BufferView::Dispatch() function.
18390
18391         * BufferView.C (Dispatch): added.
18392
18393         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18394         functions which needs to use a LyXText over from LyXFunc.
18395         (MenuInsertLyXFile): added
18396         (getInsetByCode): added
18397         (moveCursorUpdate): added
18398         (static TEXT): added
18399
18400 2001-02-22  Juergen Vigna  <jug@sad.it>
18401
18402         * BufferView_pimpl.C (update): call a status update to see if LyXText
18403         needs it.
18404
18405 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18406
18407         * vc-backend.C (revert): implement for CVS
18408         (getLog): implement for CVS
18409
18410 2001-02-20  Juergen Vigna  <jug@sad.it>
18411
18412         * text2.C (ClearSelection): added BufferView param for inset_owner call
18413
18414         * lyxfunc.C (TEXT): added this function and use it instead of
18415         directly owner->view()-text of getLyXText().
18416
18417 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18418
18419         * src/layout_forms.C: out preamble
18420         * src/layout_forms.h: out preamble
18421         * src/lyx_cb.C: out preamble
18422         * src/lyx_cb.h: out preamble
18423         * src/lyx_gui.C: out preamble
18424         * src/lyx_gui_misc.C: out preamble
18425         * src/lyxfunc.C: connect with guii preamble
18426
18427 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18428
18429         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18430
18431 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18432
18433         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18434         whether to run bibtex.
18435
18436 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18437
18438         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18439
18440 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18441
18442         * Makefile.am (lyx_SOURCES): removed bibforms.h
18443
18444         * vspace.h: doxygen
18445
18446         * text.C (GetVisibleRow): make several local vars const
18447
18448         * tabular.C: small cleanup.
18449
18450         * lyxserver.C (callback): use compare instead of strncmp
18451
18452         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18453         inlines to after class or to paragraph.C
18454
18455         * lyxfont.h: remove friend operator!=
18456
18457         * converter.h: move friend bool operator< to non friend and after
18458         class def.
18459
18460         * combox.h: small cleanup
18461
18462         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18463         to inlines after class def.
18464
18465         * buffer.C (pop_tag): use string operations instead of strcmp
18466
18467         * bmtable.c: doxygen, small cleanup
18468
18469         * LaTeX.h: remove friend operator==
18470
18471 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18472
18473         * screen.C:
18474         * lyxrc.[Ch]:
18475         * lyxfunc.C:
18476         * lyxfont.[Ch]:
18477         * lyx_cb.C:
18478         * intl.[Ch]:
18479         * commandtags.h:
18480         * buffer.C:
18481         * WorkArea.[Ch]:
18482         * LyXAction.C:
18483         * BufferView_pimpl.C:
18484         * BufferView.[Ch]: remove cruft
18485
18486 2001-02-14  Juergen Vigna  <jug@sad.it>
18487
18488         * lyxfunc.C: removed #if 0 unused code
18489
18490         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18491
18492         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18493
18494         * text2.C (SetSelection): added a BufferView * parameter
18495
18496 2001-02-13  Juergen Vigna  <jug@sad.it>
18497
18498         * lyxfunc.C (Dispatch): fixed protected blank problem.
18499         * BufferView2.C (protectedBlank): added LyxText * parameter.
18500
18501         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18502         (AppendColumn): same as above for column_info.
18503
18504         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18505         (moveCursorUpdate): use a LyXText param for support of InsetText.
18506
18507         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18508         (tripleClick): ditto
18509
18510         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18511
18512         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18513
18514         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18515
18516         * text2.C (SetSelection): set correct update status if inset_owner
18517         (ToggleFree): ditto
18518
18519 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18520
18521         * tabular.C: remove some commented code.
18522
18523 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18524
18525         * BufferView_pimpl.C: call hideSplash()
18526
18527         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18528
18529         * include_form.h:
18530         * bibforms.h: remove
18531
18532         * lyxfunc.C:
18533         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18534           add LFUN_CHILD_CREATE
18535
18536         * counters.h: fix tiny typo
18537
18538         * lyx_cb.C:
18539         * lyx.h:
18540         * lyx_gui.C:
18541         * lyx.C: move splash to frontends/xforms/
18542
18543         * lyx_gui_misc.C: move Include and Bibform to frontends
18544
18545         * lyxvc.h: clarify comment
18546
18547         * vspace.C: tiny housekeeping
18548
18549 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18550
18551         * text.C (PrepareToPrint): RTL Fix.
18552
18553         * paragraph.C (GetUChar): New method.
18554         (String):  Use GetUChar.
18555
18556         * buffer.C (asciiParagraph): Use GetUChar.
18557
18558 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18559
18560         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18561
18562 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18563
18564         * buffer.h:
18565         * buffer.C: rename to getLogName(), handle
18566           build log / latex log nicely
18567
18568 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18569
18570         * MenuBackend.C:
18571         * MenuBackend.h: remove support for reference menuitem type.
18572
18573 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18574
18575         * BufferView_pimpl.C: housekeeping
18576         * BufferView_pimpl.h:
18577         * LyXView.h:
18578         * Makefile.am:
18579         * Timeout.C:
18580         * Timeout.h:
18581         * minibuffer.h: move Timeout GUI-I
18582
18583 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18584
18585         * lyxrc.C (read): Update converters data-structures.
18586
18587 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18588
18589         * LaTeX.h (operator!=): add operator != for Aux_Info
18590
18591 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18592
18593         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18594
18595         * LaTeXLog.C: deleted, useful code moved to Buffer
18596
18597         * buffer.h:
18598         * buffer.C: new function getLatexLogName()
18599
18600         * lyx_gui_misc.C:
18601         * lyx_gui.C:
18602         * lyxvc.C:
18603         * lyxvc.h:
18604         * lyxfunc.C: use frontends for LaTeX and VC logs
18605
18606 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18607
18608         * LaTeX.h: yet another std:: that Allan forgot.
18609
18610         * Variables.C (set): renamed from isset(), because this clashes
18611         with some HP-UX macros (grr).
18612
18613 2001-02-06  Allan Rae  <rae@lyx.org>
18614
18615         * LaTeX.h: Another bug fix.  Missing std:: this time.
18616
18617 2001-02-04  Allan Rae  <rae@lyx.org>
18618
18619         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18620         floats problem. I've left it commented out because it's not quite
18621         correct.  It should also test that the current object is a table or
18622         figure inset.  But I haven't gotten around to figuring out how to do
18623         that.  I *think* it'll be something like: "table" == inset.type()
18624
18625         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18626         bool.
18627
18628 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18629
18630         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18631         all the citation/databases/styles in the auxilary file.
18632         (run): Rerun latex if there was a babel language error.
18633
18634 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18635
18636         * text.C (Backspace): Preserve the font when changing newline char
18637         with a space.
18638         (BreakParagraph): If the cursor is before a space, delete the space.
18639
18640         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18641
18642 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18643
18644         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18645         new argument (code).
18646         (ChangeCitationsIfUnique): New method.
18647
18648         * paragraph.C (GetPositionOfInset): Handle bibkey.
18649
18650 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18651
18652         * BufferView_pimpl.h: change type of Position::par_pos to
18653         LyXParagraph::size_type.
18654
18655 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18656
18657         * BufferView_pimpl.C (savePosition, restorePosition): Write
18658         messages to minibuffer.
18659
18660 2001-01-28  José Matos  <jamatos@fep.up.pt>
18661
18662         * buffer.C (makeDocBookFile): adds support for document language.
18663         A silly restriction on the name of LatexCommand types where removed.
18664         Added support for CDATA sections, allows to chars unescaped, used
18665         among others in code, to avoid escape < and >.
18666
18667 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18668
18669         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18670         saved positions instrad of a stack. Furthermore, a position is
18671         stored using paragraph id/paragraph position.
18672
18673         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18674         Remove LFUN_REF_BACK.
18675
18676 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18677
18678         * converter.C (dvipdfm_options): New method.
18679
18680 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18681
18682         * vspace.C (isValidLength): Fix for empty input string.
18683
18684 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18685
18686         * LyXAction.C (init): change description of LFUN_FIGURE to
18687         "Insert Graphics"
18688
18689 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18690
18691         * LaTeX.C: add using directive
18692
18693 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18694
18695         * MenuBackend.C (expand): Fix the sorting of the formats.
18696
18697 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18698
18699         * lyx_main.C: tiny error message fix
18700
18701 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18702
18703         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18704         calling fl_initialize(). This fixes the problem with ',' as
18705         decimal separator in text files.
18706
18707 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18708
18709         * trans.C (process): Fix the keymap bug.
18710
18711 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18712
18713         * LaTeX.C (scanAuxFiles): New method. Provides support for
18714         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18715         (scanLogFile) Scan for "run BibTeX" messages.
18716
18717         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18718         OT1 font encoding. Also, load the aecompl package if the ae
18719         package is loaded.
18720
18721         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18722
18723 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18724
18725         * texrow.C (increasePos): turn two error messages into debug
18726         messages.
18727
18728 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18729
18730         * LaTeX.C (scanAux): Handle the \@input macro.
18731         (runBibTeX): Use scanAux().
18732
18733         * language.C (latex_options_): New field.
18734
18735         * LaTeXFeatures.C (getMacros): Add language macros.
18736
18737         * buffer.C (makeLaTeXFile): Small fix.
18738
18739 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18740
18741         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18742
18743         * text2.C: add a using directive.
18744
18745 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18746
18747         * BufferView2.C:
18748         * lyx_gui_misc.h:
18749         * lyxfr1.C:
18750         * lyxfunc.C: kill LyXBell.
18751
18752 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18753
18754         * text.C (IsBoundary): Remove the error message
18755
18756         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18757
18758         * lyxrc.C (setDefaults): Correct initialization value for
18759         font_norm_type.
18760
18761 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18762
18763         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18764         gotoError().
18765
18766         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18767         and GotoNextNote().
18768
18769         * src/LyXAction.C: Added reference-next.
18770
18771         * text.C (InsertChar): Use contains instead of strchr.
18772
18773         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18774
18775 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18776
18777         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18778         alignment commands (when needed).
18779
18780         * text.C (InsertChar): Add ':' to number separator chars.