]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix bug 2177
[lyx.git] / src / ChangeLog
1 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * messages.C (get): Only warn once if setlocale fails (bug 2177)
4
5 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
6
7         * text2.C (setCharFont): take inset's own font settings into account
8         when defining the font to reduce to, fixes 2019
9
10 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * bufferview_funcs.C (coordOffset): remove the check for
13         collapsed collapsables (fix for bug 2094). This is now done
14         on a more general level (cursor.C).
15
16         * dociterator.[Ch] (forwardPos): add an optional argument
17         bool "ignorecollapsed" (default false), which lets forwardPos
18         skip collapsed insets.
19
20         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
21         (fixes bug 2241 and 2094).
22
23 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * buffer.C: change tracking (dvipost) doesn't require
26         color.sty anymore.
27
28         * LaTeXFeatures.C (getPackages): no need for the color
29         option "usenames" (bug 2169).
30
31 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
32         * buffer_funcs.C: Trivial fix - added {} around
33         the statements to be affected by a if-test. Now
34         label in a minipage in a float looks ok on screen again.
35
36 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
37
38         * text2.C: fix bug 2015: on screen fonts in nested environments 
39         can be wrong
40
41 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * converter.C (convert): handle unknown formats
44
45 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * cursor.C (goUpDown): comment out some debug messages.
48
49         * counters.C (newCounter): make error messages more explicit
50         (these appear with some textclasses like beamer)
51
52 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * kbmap.C (defkey): 
55         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
56         have origin set to KEYBOARD. (bug 2221)
57
58 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
59
60         * rowpainter.C (isCursorOnRow): do not exclude endpos().
61
62 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * cursor.C (macroModeClose): returns true if an inset actually got
65         inserted; revert faulty fix to bug 2034.
66
67 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * tabular.C (getLabelList): remove (not used anymore).
70
71 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
72
73         * outputparams.[Ch]: add new flag inComment
74
75 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * text2.C (deleteEmptyParagraphMechanism): since we delete a
78         paragraph, recordUndo should span two paragraphs (bug 2155).
79
80 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
81
82         * rowpainter.C (paintPar): always repaint the row with the
83         cursor in it
84
85 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
86
87         * MenuBackend.h: 
88         * bufferlist.h: 
89         * lyxtext.h: 
90         * paragraph.h:
91         * vspace.h: fix syntax error
92
93 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * text3.C (dispatch): Force refresh if typing into inset changes its
96                               metrics
97
98 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * RowList_fwd.h:
101         * paragraph.C:
102         * paragraph.h:
103         * rowpainter.C: Speed up rendering by only re-painting rows that
104         have changed. When selection or whole-screen update active, all rows
105         are repainted, as are all rows within insets.
106
107 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * version.C.in: Use PACKAGE_VERSION instead of VERSION
110
111 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * tabular.C (toggleFixedWidth): Use default layout of text class
114         instead of hardcoded "Standard"
115
116 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * lyxfunc.C (dispatch): do not call getStatus again to determine
119         whether a lfun is disabled (bug 2172).
120
121 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * cursor.C (macroModeClose): set the cursor inside the new math
124         atom if relevant (think \frac{}{}) (bug 2034)
125
126 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * lyxtext.h:
129         * text.C:
130         * text3.C (Delete, backspace): force update when merging paragraphs
131
132 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * BufferView.C (mouseSetCursor): clear the selection properly (bug
135         2163). 
136
137 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * text.C (redoParagraph): honor inset->noFontChange()
140         * rowpainter.C (paintInset): ditto
141
142 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
143
144         * lyx_main.C (priv_exec): don't initialize Math on startup 
145         (initMath() has been moved to math_hullinset).
146
147 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
150         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
151         * paper.h: dispose dead PAPER_PACKAGES enum.
152
153 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
156         without X support.
157
158 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
159
160         * exporter.C (Export): Don't try to copy a file if it does not exist
161         (bug 1888)
162
163 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * text2.C (makeFontEntriesLayoutSpecific): remove.
166         (setLayout): adapt.
167
168         * text.C (insertChar): remove bogus caching of fonts (did not do
169         anything). 
170
171         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
172         ALL_SANE). (bug 2146)
173
174 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * rowpainter.C (paintFirst): fix centering of
177         LABEL_CENTERED_TOP_ENVIRONMENT. 
178
179 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * BufferView.C (mouseSetCursor): new method. Calls
182         deleteEmptyParagraphMechanism if necessary.
183
184         * lyxtext.h: make deleteEmptyParagraphMechanism public.
185
186         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
187         BufferView::mouseSetCursor (bug 2109).
188         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
189
190 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
191
192         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
193         do not remove it (this inset behaves differently from the others).
194
195 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         Fix bug 2096.
198         
199         * BufferView_pimpl.C (getStatus): it is only possible to insert a
200         file in a text inset.
201
202         * buffer.C (readDocument): remove pit argument and code releated
203         to it; set the inset owner correctly (unrelated, but useful).
204         (readFile): get rid of pit argument.
205
206         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
207         textclass instead of a selection index.
208         (pasteParagraphList): new function.
209         (pasteSelection): make it a wrapper around pasteParagraphList.
210
211         * BufferView_pimpl.C (MenuInsertLyXFile): use
212         cap::pasteParagraphList to insert a file.
213
214 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
215
216         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
217
218 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
219
220         * exporter.C: fix typo in text message
221
222 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
223
224         * text2.C (setLayout): move recUndo call to other setLayout method
225         * tabular.C (toggleFixedWidth): new, handle cell width changes
226         * tabular.C (setColumnPWidth): move some code from insettabular.C here
227         and use toggleFixedWidth
228         * tabular.C (setMColumnPWidth): ditto
229
230 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
231
232         * paragraph.C (asString): use new inset->textString method (fix
233         bug 2089) 
234
235 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * CutAndPaste.C (numberOfSelections): new helper function.
238
239         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
240
241         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
242         LyXFunc::getStatus; implement LFUN_PASTE.
243
244 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
245
246         * dociterator.[Ch]: new member realInset() that returns the cell
247         for tabulars and the inset for the rest (bug 1952).
248         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
249         (bug 1952).
250
251 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
254
255 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
256
257         * lyxfunc.C:
258         * paragraph.C:
259         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
260         argument.
261
262 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
265         line after typing ctrl-enter
266
267 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
268
269         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
270         math insets do not return a proper editable() state yet (bug 2124).
271
272 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
275         docs containing very large paragraphs.
276
277 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * cursor.C (selectionBegin, selectionEnd):
280         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
281         cursor at different depths.
282
283 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
284
285         * bufferview_funcs.C (coordOffset): do not call cursorPos
286         for collapsed collapsables (fix bug 2094).
287
288 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * paragraph.C (fontSpan): make sure that the FontSpan does not
291         span across beginOfBody (bug 1947).
292
293 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
296
297 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
298
299         * messages.C: fix crash and localization on MinGW/Windows platform
300
301 2005-11-02  Angus Leeming  <leeming@lyx.org>
302
303         * Bidi.C:
304         * lyxtextclass.C: trivial fixes to some MSVS warnings.
305
306 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * text3.C (getStatus): re-enable disabled code. (bug 2081)
309
310         * BranchList.h (empty): constify.
311
312 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text3.C (getStatus): 
315         * MenuBackend.C (expandBranches): take the branch list from the
316         master document (bug 2092).
317         
318         * MenuBackend.C (expandBranches): 
319         * bufferparams.C (writeFile): use BranchList type.
320
321 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * text3.C (dispatch, getStatus): 
324         * LyXAction.C (init): 
325         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
326
327 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
330
331 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * text.C (insertChar): do not reset boundary (bug 2061)
334
335 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * dociterator.C (updateInsets): new method. Updates the inset_
338         cache of all the slices of the iterator.
339
340         * text2.C (deleteEmptyParagraphMechanism): compare also containing
341         insets when comparing pit/pos; pass the right cursor to
342         recordUndo; when a paragraph has been deleted, compare `old.top()' to
343         the right cursor slice of `cur'; use updateInsets on cur to make
344         sure that the inset caches are correct; general cleanup.
345
346 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
349         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
350         containg inset. If this does not work, the same command will be
351         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
352
353         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
354         a dispatch.
355
356 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
357
358         * lyxtextclass.C (Read): convert layout file if the format is wrong
359         * lyxtextclass.C (layout2layout): new, needed for the above
360
361 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * messages.C: do not forget to include <cerrno>.
364
365 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
366
367         * dociterator.h (StableDocIterator): add access to pos().
368         * undo.C (samePar): new method to check if two
369         iterators are in the same paragraph
370         * undo.C (recordUndo): check for samePar instead of cell identity
371         (which includes pos() and is too strict) (fixes bug 2097)
372
373 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * text.C (setCursorFromCoordinates): return a bool telling whether
376         dEPM triggered.
377
378         * text3.C (cursorPrevious): update if needed after
379         setCursorFromCoordinates (when dEPM triggered).
380
381         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
382         (otherwise the anchor may be completely wrong and make dEPM assert).
383
384 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
385
386         * buffer.C: version upgrade to 245.
387         * bufferparams.C: remove \quotes_times (bug 2090).
388         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
389         quotation marks as default.
390
391 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * CutAndPaste.C (nrOfParagraphs): remove (unused)
394         * CutAndPaste.C (cutSelection): Remove debug message
395         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
396         undo information and only copy if this is a real cut
397         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
398         call
399         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
400         (bug 2059)
401         * CutAndPaste.C (eraseSelection): prevent cursor corruption
402         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
403         superflous cur.selection() setting
404         * CutAndPaste.[Ch] (grabSelection): take a const cursor
405         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
406
407 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
408
409         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
410         change anything.
411
412 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * BufferView_pimpl.C: comment layout change
415
416 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
417
418         * LyXAction.C:
419         * lfuns.h:
420         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
421         by bibliography managers (bug 2071).
422
423 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * BufferView_pimpl.C (update): choose arguments to update call so
426         that single-par update works most times
427         * text3.C (dispatch): carefully tune updating separately for
428         whole-screen and current-paragraph
429         * rowpainter.C (paintText): 1) replace painting by caching for
430         the two extra paragraphs, because we can;
431         2) suppress greying out of areas below/above drawn area in case of
432         single-par refresh
433         * lyxfunc.C (dispatch): remove superfluous update
434         * LyXAction.[Ch]: introduce SingleParUpdate
435
436 2005-10-05  Angus Leeming  <leeming@lyx.org>
437
438         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
439         always initialised before use.
440
441         * text.C (setHeightOfRow): squash warning about comparison
442         of signed and unsigned types.
443
444 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
445
446         * text.C (cursorX): two fixes involving RtL text drawing
447
448 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
451         items, not only large ones (part of bug 2057)
452
453 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
456         argument, use "newcommand".
457
458 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
459
460         * cursor.C (setSelection): do not open collapsable insets;
461         the insets do by themselves now (autoopen).
462
463 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
464
465         * buffer.C: format is up to 244.
466
467 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
468
469         * text.C (redoParagraph): fix calcultation of inset width wrt 
470         leftMargin (bug 1957).
471
472         * text3.C (dispatch): leave inset to the right when hitting ESC 
473         (bug 2034).
474
475 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * text2.C: 
478         * text.C: 
479         * factory.C:
480         * messages.C: include <boost/current_function.hpp> 
481
482 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
485         when command is internal. (bug 1941)
486
487 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * text2.C (cursorRight): do not honor boundary when at the end of
490         a paragraph. (bug 2010 again)
491
492 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
495
496 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
497
498         * rowpainter.C (paintText): fix RtL space width display bug (2029)
499
500 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * text2.C (setCursor): remove the unused 'boundary' parameter for
503         the CursorSlice version; adapt the LCursor version.
504
505         * lyxrc.C (write): 
506         * paragraph_pimpl.C (markErased): 
507         * cursor.C (bruteFind2, bruteFond3): fix warnings.
508
509 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
512         as is already done for "chapter".
513
514 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
517         textclass; do not record undo if nothing is changed.
518
519 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
520
521         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
522
523 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
524
525         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
526
527 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
530         combox, it is necessary to search for the topmost paragraph in the
531         cursor stack (bug 1926)
532
533 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
536         end of paragraph. (bug 2010)
537
538 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
539
540         * text.C (leftMargin): check for inInset == 0
541
542 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
543
544         * text.C (leftMargin): test for insetbase's new neverIndent()
545         bool instead of listing each and every inset that does not
546         wish par indendation.
547
548 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * buffer_funcs.C (setCounter): put the code to compute enum label
551         here (where it belongs).
552
553         * counters.C (enumLabel): move code to buffer_funcs.C.
554
555 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
556
557         * outputparams.[Ch]: store local_font instead of local_language
558         * paragraph.C (simpleTeXOnePar): adapt to the change above
559
560 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
561
562         * buffer_funcs.C:
563         * counters.[Ch]: clean up special code for Hebrew.
564
565 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
568         than 2.
569
570 2005-09-08  Angus Leeming  <leeming@lyx.org>
571
572         * ispell.C:
573         * lyxrc.C: correct grammar describing invocation of the
574         spellchecker.
575
576 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * text.C (read): remove unused variable.
579         (readParToken): remove static Change variable (never good in
580         recursive settings...); add it as a parameter instead.
581
582         * paragraph_pimpl.C (acceptChange): make debug info conditional.
583
584         * metricsinfo.C (PainterInfo): add new member erased_.
585
586         * rowpainter.C (RowPainter): add erased_ member, initialized from
587         PainterInfo. 
588         (paintInset): pass erased_ to Inset::draw.
589
590         * lyxfunc.C (lookupChange): new function. Tells whether change 
591         tracking is disabled at a given postion.
592         (getStatus): disable some actions when in deleted text with change
593         tracking. 
594
595 2005-08-03  John Levon  <levon@movementarian.org>
596         
597         * tabular.C (appendColumn, setMultiColumn): adapt to change to
598         InsetText::clear().
599
600         * paragraph_pimpl.C (markErased): add bool argument and handle it.
601         Also make sure to mark insets recursively.
602         (rejectChange, erase): be recursive
603
604         * paragraph.C (markErased): add bool argument.
605 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * lyxfind.C (findNextChange): tiny cleanup.
608
609         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
610         change tracking with the cursor in an inset; make sure the first
611         change is not skipped.
612
613 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
614
615         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
616         tabularStackDirty to work around bug 1919 (tabular needs
617         to know whether its own cell paste buffer or the one of 
618         texted is newer.
619         * CutAndPaste.C: mark tabular_stack_ clean after copy.
620
621 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
622
623         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
624
625 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
626
627         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
628         use old deleteion algorithm when changetracking is on.
629
630 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
631
632         * messages.C (get): add debug output.
633
634 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
635
636         * text.C (cursorX): fix bug 1965: cursor movement at
637         line end broken in RtL.
638         (drawSelection): fix bug 1970: drawing of single-line 
639         selection broken for RtL.
640
641 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         bug 465.
644
645         * dociterator.h (clear, push_back, pop_back): change from
646         protected to public.
647
648         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
649         and changed to just return the value of the item depth; take a
650         ParIterator as argument; take the itemdepth at outer nesting level
651         in account if necessary; cleanup and comment the code.
652         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
653         and changed to just return true if reset is needed; take a
654         ParIterator as argument; cleanup and comment the code.
655         (setCounter): adapt to above changes.
656
657 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * text3.C (dispatch): make debug message optional
660
661 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
664         inset. (bug 1963)
665
666 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
669
670 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
671
672         * text.C (insertChar):
673         * text2.C (deleteEmptyParagraphMechanism): take care whether 
674         a blank has been deleted (in change tracking mode) (bug 1254).
675
676 2005-07-20  John Levon  <levon@movementarian.org>
677
678         * text2.C (insertStringAsLines): remove old dubious code,
679         fixing bug 1939.
680
681 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * MenuBackend.C (expandToc): use Floating::listName() as title of
684         the floats submenus.
685
686 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
687
688         * toc.[Ch]: Do not use translatable strings (bug 1870).
689
690 2005-07-20  John Levon  <levon@movementarian.org>
691
692         * tabular.C: fix 1748 - setting multicolumn adds
693           left line to the first cell
694
695 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
696
697         bug 1920
698         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
699         pars in one go.
700
701 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
702
703         * messages.C: supress some lyxerr messages
704
705 2005-07-18  Juergen Vigna  <jug@lyx.org>
706
707         * text.C (drawSelection): honor boundary when asking for cursorX.
708
709 2005-07-17  José Matos  <jamatos@fc.up.pt>
710
711         * tabular.C (recalculateMulticolumns): fix handling of one column
712         tables.
713
714 2005-07-17  Juergen Vigna  <jug@lyx.org>
715
716         * text.C (Delete, backspace): fixed so that paragraph with the
717         same layout can be merged by Delete/Backspace.
718
719 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
720
721         * text.C (readParToken): fix spelling.
722
723 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
724
725         * text2.C: fix counter update for DEPM problem reported by
726         Georg Baum
727
728 2005-07-17  Juergen Vigna  <jug@lyx.org>
729
730         * BufferView_pimpl.C (setBuffer): save/restore the
731         cursor/selection when switching buffers
732
733         * buffer.h: 
734         * buffer.C (saveCursor): add saveDocumentIterators to save the
735         cursor when switching buffer.
736
737 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
738
739         * debug.C: fix typo
740         * buffer.C: clarify message
741         
742 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
743
744         * dociterator.C (DocIterator): fix initialization order
745
746 2005-07-17  Juergen Vigna  <jug@lyx.org>
747
748         * text2.C (cursorHome): 
749         * text.C (drawSelection, cursorX): 
750         * dociterator.C (textRow): add boundary to getRow() call
751
752         * paragraph.C (getRow): implementation of below
753
754         * paragraph.h: add parameter boundary for getRow() function
755
756 2005-07-17  José Matos  <jamatos@fc.up.pt>
757
758         * buffer.C:
759         * bufferparams.[Ch]:
760         * tex-strings.[Ch]: new file format, remove support for a4.sty,
761         a4wide.sty and a4widemargins.
762
763 2005-07-17  Juergen Vigna  <jug@lyx.org>
764
765         * text2.C (cursorLeft): fix one of error
766
767 2005-07-17  Juergen Vigna  <jug@lyx.org>
768
769         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
770                    cursorEnd):
771         more fixes for boundary handling
772
773         * text3.C (dispatch): don't reset cursor if boundary has changed
774         on cursor movement.
775
776 2005-07-16  Juergen Vigna  <jug@lyx.org>
777
778         * text2.C (getColumnNearX): hopefully got it right now,
779         check if we are on column 0 for special case.
780
781 2005-07-16  Juergen Vigna  <jug@lyx.org>
782
783         * text2.C (getColumnNearX): handle special case Newline Inset
784
785         * text.C (singleWidth): Just remove bogus check
786
787 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
788
789         * funcrequest.C (split): avoid reading uninitialized char c
790
791 2005-07-16  José Matos  <jamatos@fc.up.pt>
792
793         * buffer.C:
794         * converter.C:
795         * lyxrc.C:
796         * paper.h:
797         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
798         single papersize variable.
799
800 2005-07-16  Juergen Vigna  <jug@lyx.org>
801
802         * text3.C (dispatch): honor boundary when checking if a cursor
803         movement has been done
804
805         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
806         (setCursor, setCursorIntern): fix cursor movement with boundary
807
808 2005-07-16  Juergen Vigna  <jug@lyx.org>
809
810         * text.C (currentState): output the actual Boundary
811
812 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * factory.C (createInset): fix bad logic for tabular creation
815
816 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
817
818         * lyx_main.C (init): change some reLyX reference to tex2lyx
819
820 2005-07-16  Juergen Vigna  <jug@lyx.org>
821
822         * dociterator.C (DocIterator): initialize boundary
823
824 2005-07-16  Juergen Vigna  <jug@lyx.org>
825
826         * text2.C (getColumnNearX): Consider rows without trailing blank.  
827
828 2005-07-16  André Pönitz  <poenitz@gmx.net>
829
830         * lyxfont.h: Change order of declarations to give the compiler
831         a better chance to inline things
832
833         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
834         questions on unsaved docs for better scritability
835
836 2005-07-16  André Pönitz  <poenitz@gmx.net>
837
838         * paragraph.h (getChar): remove asserts as the same kind of security
839         can be achieved by using a suitable standard library implementation
840         and the function was in the critical path (25.9% in profiler)
841
842 2005-07-16  Juergen Vigna  <jug@lyx.org>
843
844         * cursor.C (bruteFind2):
845         * bufferview_funcs.C (coordOffset): 
846         * text.C (cursorX,cursorY): Handle cursor position after last char
847         in row before a inset which uses a whole row.
848
849 2005-07-15  José Matos <jamatos@lyx.org>
850
851         * output_plaintext.[Ch] (writeFileAscii): control reference title
852         printing.
853         (asciiParagraph): noparbreak was already deal and was incorrectly
854         used.
855
856 2005-07-15  Juergen Vigna <jug@lyx.org>
857
858         * lyxfunc.C (dispatch): save and restore the cursor after a
859         textclass switch.
860
861 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
862
863         * text.C (backspace): bug 806 for empty keepempty paragraphs we
864         change the layout to default before letting DEPM do its thing.
865
866         * paragraph_funcs.C (breakParagraph): dont reset the layout on
867         keepEmpty paragraphs
868
869         * text.C (setCursorFromCoordinates): add a debug statement
870
871         * text2.C (getColumnNearX): bug 1825 make sure that we don't
872         return a pos that is not on the row
873
874         * output_latex.C (TeXDeeper): get rid of potential dereferencing
875         of past the end iterator
876
877 2005-07-14  André Pönitz  <poenitz@gmx.net>
878
879         * undo.C (recordUndoFullBuffer): implement undo for
880         textclass switches
881
882 2005-07-14  André Pönitz  <poenitz@gmx.net>
883
884         * cursor.C (setSelection): open insets when selection is set there
885         to avoid crashs with cold coord cache
886
887 2005-07-14  André Pönitz  <poenitz@gmx.net>
888
889         * trans_mgr.C (insert): move cursor to the right after inserting
890         a char.
891
892 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
893
894         * BufferView_pimpl.C (update): dampen some of the debug blabbering
895         * factory.C (readInset): ditto
896         * text.C, text2.C: ditto
897
898 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * buffer.C: format incremented to 242. There is no file format per
901         se, but the "frenchb" language has been removed from lib/language
902         and has to be translated to "french" by lyx2lyx.
903
904 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * cursor_slice.h, dociterator.h: add some documentation
907         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
908
909 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
910
911         * text.C (leftMargin): do not add identation to display() style
912         insets, because they are always centered (bug 1293).
913
914 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
915
916         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
917         formatted_time methods in support/lyxtime.
918
919 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * toc.[Ch]: new method getGuiName, which is used by the frontends 
922         to set the toc combo (fixes bug 1870). Make TOC string translatable.
923
924 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
925
926         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
927         StableDocIterator const &)
928         * undo.C (recordUndo): use the above instead of cell.size() comparison
929         (fixes bug 1808; instructed by Andr�.
930
931 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
932
933         * cursor_slice.h: 
934         * dociterator.h: Fix the assert when copying rows/cols in math
935
936 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
937
938         * BufferView_pimpl.C:
939         * LyXAction.C:
940         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
941
942         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
943         (findInset): new functions, refactored from goto Inset that return 
944         the position of a certain inset without setting the buffer's cursor
945         (by Jean-Marc); 
946         (gotoInset): rewrite to call findInset and then set the cursor
947         (by Jean-Marc).
948
949 2005-06-16  Angus Leeming  <leeming@lyx.org>
950
951         * lyxrc.C (output, read): wrap all input and output of paths with
952         calls to os::internal_path and os::external_path, respectively.
953         (output): wrap bind_file inside quotes.
954
955         * format.C (view): enable the viewer to use the '$$s' placeholder.
956
957 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
958
959         * LColor.[Ch] (getFromLaTeXName): new
960
961 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
962
963         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
964
965 2005-06-14  Angus Leeming  <leeming@lyx.org>
966
967         * lyx_main.C (init): ensure that the LyX binary dir is the first
968         element in the PATH on non-POSIX builds.
969
970 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
971
972         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
973
974 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * rowpainter.C (paintInset, paintHebrewComposeChar)
977         (paintArabicComposeChar, paintChars): add a LyXFont argument.
978         (paintChars): use getFontSpan to reduce calls to getFont to a
979         minimum; use Paragraph::lookupChange instead of isXXXText.
980         (paintForeignMark): rename LyXFont argument.
981         (paintFromPos): pass a LyXFont object to the various paintXXX
982         methods.
983
984         * FontIterator.C (FontIterator, operator++): use
985         Paragraph::getFontSpan
986
987         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
988         version that returns the font span as a pair.
989
990 2005-06-09  Angus Leeming  <leeming@lyx.org>
991
992         * converter.C (convert): Don't forget "outfile = real_outfile" as
993         the final step in a conversion where the input and output file names
994         are the same. Otherwise, future conversion steps won't work...
995
996 2005-06-09  Angus Leeming  <leeming@lyx.org>
997
998         * lyxsocket.C: remove stub code as it isn't needed by
999         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1000
1001 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1002
1003         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1004         effectively disabled -x
1005
1006 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1007
1008         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1009         when it actually makes sense.
1010
1011 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * BufferView_pimpl.C: revert to showCursor in connection with
1014         Lars's front-end stack
1015
1016 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1017
1018         * text.C (redoParagraph): move cursor right after a bibitem
1019         has been inserted.
1020
1021         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1022
1023 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1026         error range.
1027
1028 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1029
1030         * BufferView.[Ch] (update):
1031         * BufferView_pimpl.[Ch] (update, metrics):
1032         * dimension.h (operator==):
1033         * lyxfunc.C (dispatch):
1034         * metricsinfo.h (ViewMetricsInfo):
1035         * rowpainter.C (paintText):
1036         * lyxtext.h:
1037         * text.C (redoParagraph):
1038         * text3.C (dispatch): Make LyX only repaint current paragraph in
1039         case of character insert --> speedup. Also fix cursor draw
1040         artifacts
1041
1042 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1045         avoid a crash (bug 1891)
1046
1047 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         Fix bug 1892:
1050
1051         * text2.C (getStringToIndex): constify cur argument.
1052
1053         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1054         argument has been given
1055         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1056         try to invoke LFUN_INSET_APPLY).
1057
1058         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1059         if no inset was created by doInsertInset
1060         (doInsertInset): return true if an inset has been inserted.
1061
1062 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * vspace.C (asGUIName): new method. A version of the space
1065         suitable for showing on screen.
1066
1067 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1068
1069         * MenuBackend.C:
1070         * lyxrc.C: rename "ASCII" to "Plain Text"
1071
1072 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1075         translate the labelstring.
1076         (setCounter): translate labelstring as needed.
1077
1078         * output_docbook.C (makeCommand): fix expandLabel invokation
1079
1080 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1081
1082         * BufferView.C: fix dialog title
1083
1084 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1085
1086         * lyx_main.C (priv_exec): fix logic error with help from Angus
1087         * lyx_main.C (parse_execute): set is_gui = false and remove now
1088         obsolete comment about a segfault
1089
1090 2005-05-18  Angus Leeming  <leeming@lyx.org>
1091
1092         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1093
1094 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * tabular.[hC]: added setCellInset to fix tabular paste.
1097
1098 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1099
1100         * buffer.C (save): check if destination is writable before trying
1101         to copy a file
1102
1103 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * BufferView_pimpl.C (update): fix processEvents -caused update
1106         recursion bug
1107
1108 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * buffer_funcs.C (setCounter): fix test for numbering of
1111         environments.
1112
1113         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1114         depth correctly; use optional argument when it exists
1115
1116         * lyxtextclass.C: remove unused MaxCounterTags enum
1117         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1118         (max_toclevel, min_toclevel): new methods.
1119
1120         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1121         the smallest depth in toc.
1122
1123         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1124         layouts that should not appear in a table of contents.
1125
1126 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1127
1128         * cursor.h (undispatched, noUpdate): add comments from Andr�
1129 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1130
1131         * lfuns.h:
1132         * LyXAction.C:
1133         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1134
1135 2005-05-07  André Pönitz  <poenitz@gmx.net>
1136
1137         * cursor.[Ch] (leaveInset): new function
1138
1139 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1140
1141         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1142
1143 2005-05-04  Angus Leeming  <leeming@lyx.org>
1144
1145         * lyxfunc.C (getStatus): disable the spell checker dialog if
1146         none of USE_[AIP]SPELL are defined.
1147
1148 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * tabular.C (setWidthOfCell): remove obsolete comment
1151
1152 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1153
1154         * paragraph.C (bibitem):
1155         * buffer_funcs.C (setCounter):
1156         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1157
1158 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1159
1160         * text3.C (getStatus): immediately return after setOnOff
1161
1162         * rowpainter.C: fix drawing of appendix start
1163
1164 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1165
1166         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1167         SwitchBetweenClasses and remove the unused return value.
1168         Handle character styles, too
1169
1170 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1171
1172         * factory.C (createInset): handle undefined character styles
1173
1174 2005-05-02  Angus Leeming  <leeming@lyx.org>
1175
1176         * buffer.C: protect the #include of utime.h with a preprocessor
1177         guard.
1178
1179 2005-05-02  Angus Leeming  <leeming@lyx.org>
1180
1181         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1182         function so that auto-saving works, albeit in a blocking manner.
1183
1184         * Makefile.am: make compilation of the client sub directory, of
1185         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1186         on conditionals set at configure time.
1187
1188         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1189         it can be compiled in its own right but has no-op functionality.
1190
1191         * aspell.C, pspell.C: remove preprocessor guards. The files should
1192         be compiled only if the necessary functionality exists.
1193
1194         * lyxserver.C, lyxsocket.C: disable on Windows.
1195
1196 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1197
1198         * text.C (leftMargin): Fix the parindent use bug (1764)
1199         by dirty trick
1200
1201 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1202
1203         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1204         argument.
1205
1206 2005-04-25  Angus Leeming  <leeming@lyx.org>
1207
1208         * Bidi.[Ch]:
1209         * coordcache.[Ch]:
1210         * ispell.C:
1211         * lyxserver.C:
1212         * mover.C:
1213         * pch.h:
1214         include <config.h> in .C files, not .h ones.
1215         add licence blurb.
1216         protect headers inside preprocessor guards.
1217
1218 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1219
1220         * FuncStatus.h (StatusCodes): document
1221
1222 2005-04-21  André Pönitz  <poenitz@gmx.net>
1223
1224         * FuncStatus.h (enabled, onoff): document
1225
1226 2005-04-19  Angus Leeming  <leeming@lyx.org>
1227
1228         * BufferView_pimpl.C (cursorToggle): no longer test whether
1229         any child processes have been reaped before calling
1230         handleCompletedProcesses().
1231
1232 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * text3.C (dispatch): fix, finally fix, the language problem in
1235         new lyxtexts, without disabling on-the-fly font changes (Helge's
1236         bug report)
1237
1238 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1239
1240         * text3.C (dispatch): set cursor on double/triple click events
1241         (bug 1811)
1242
1243 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1246         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1247
1248         * rowpainter.C (paintFirst): simplify the code a little bit. In
1249         particular, remove the test for secnumdepth.
1250         * text.C (setHeightOfRow): only allocate space for chapter number
1251         when updateCounters provided an actual label, instead of looking
1252         at secnumdepth directly.
1253
1254         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1255
1256         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1257         paragraphs when secnumdepth is large enough or, for environments,
1258         when they are not the first in a sequence.
1259
1260 2005-04-17  Angus Leeming  <leeming@lyx.org>
1261
1262         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1263         containing space and '~' characters with a call to latex_path().
1264
1265 2005-04-17  Angus Leeming  <leeming@lyx.org>
1266
1267         * converter.C (convert): protect all args of convertDefault.sh
1268         script with quotes.
1269
1270 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * text3.C (dispatch): change the layout to "Caption" after inserting
1273         a float.
1274
1275 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1276
1277         * text3.C (dispatch): fix language problem in newly created
1278         textinsets (and main text) in non-english docs
1279
1280 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1283         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1284         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1285
1286 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1287
1288         * lyxtext.h:
1289         * text.C (metrics):
1290         * text2.C (getFont):
1291         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1292         fonts fix
1293
1294 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1295
1296         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1297         output of \item arguments without trailing text.
1298
1299 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * FontIterator.C (operator*): avoid a copy of the font.
1302
1303 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * rowpainter.C (getFont): fix language bug from previous fix
1306
1307 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * rowpainter.C (RowPainter, getFont): fix font inside inset
1310         (bugs 1766, 1809)
1311
1312 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1315         preventing inserted font, deco, delim insets jumping to start of
1316         surrounding inset.
1317
1318 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1319
1320         * lyxfunc.C (dispatch): translate message before sending it to the
1321         minibuffer.
1322
1323 2005-03-29  Angus Leeming  <leeming@lyx.org>
1324
1325         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1326         to LyX on the command line.
1327
1328 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1329
1330         * vc-backend.C: use QuoteName to protect file names wherever
1331         necessary.
1332
1333 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1334
1335         * buffer.[Ch]:
1336         * BranchList.h: fix bugs 1844,1845: document settings don't
1337         stick
1338
1339 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1340
1341         * lyxrc.C (setDefaults, read, output, getDescription): add support
1342         for tex_allows_spaces.
1343
1344         * exporter.C (Export): allows files in directory containing spaces
1345         if tex_allows_spaces is true.
1346
1347         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1348         output it in double quotes.
1349
1350 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1351
1352         * rowpainter.C: use default text height for drawing change tracker
1353         strikeout lines.
1354
1355 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1356
1357         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1358
1359 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1360
1361         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1362         directory is missing.
1363
1364 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * text2.C: fixed the fix, extended to other case.
1367
1368 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1369
1370         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1371
1372 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * text2.C (cursorUp): get rid of a crash
1375         * text.C (x2pos): add an assert
1376
1377 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1378
1379         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1380
1381         * text3.C:
1382         * lyxfunc.C:
1383         * dociterator.C: include <boost/current_function.hpp>, which is
1384         needed when assertions are disabled.
1385
1386 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1387
1388         * text2.C: fix for stuck cursor when traversing two
1389         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1390
1391 2005-02-25  Andreas Vox  <avox@arcor.de>
1392
1393         * output_docbook.C (makeParagraph): suppress trailing newline
1394         after a run of paragraphs
1395
1396 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1397
1398         * paragraph.C: fix for confused change tracker when pasting
1399         text that begins with a lineseparator. [bug 1827]
1400         (setChange(0, Change::INSERTED);)
1401
1402         * paragraph_funcs.C: fix for lost changes on triple-paste
1403         in change tracking mode [bug 1827] (par.setChange()).
1404
1405 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1406
1407         * text2.C (updateCounters, setCounter, expandLabel): move to
1408         buffer_funcs.
1409
1410         * buffer_funcs.C (updateCounters): turn into a free standing
1411         function and add a buffer parameter. Remove dead code for tracking
1412         labelstring change.
1413         (setCounter): change into a free-standing function which gets a
1414         dociterator as argument. Use this iterator to fix captions in a
1415         simple way. When no float is found above the caption, use the
1416         labelstring of the caption layout as default.
1417
1418         * text.C (breakParagraph, backspace):
1419         * text2.C (init, setLayout, changeDepth):
1420         * text3.C (dispatch):
1421         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1422         updateCounters.
1423
1424         * dociterator.C (forwardPar): make it much faster by calling
1425         forwardPos() only when really necessary.
1426
1427         * output_docbook.C (makeCommand): adapt to expandLabel move.
1428
1429         * cursor.C: remove unused variable
1430
1431 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1432
1433         * paragraph_funcs.C: fix crash when pasting insets in change
1434         tracking mode [bug 1277] (honour change type in moveItem).
1435
1436 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1437
1438         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1439
1440 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * BufferView.C (setCursor): change to use a DocIterator.
1443         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1444         (putSelectionAt): adapt to BufferView::setCursor change.
1445
1446         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1447         moved here from LyXText and rewritten to use proper cursor
1448         methods. Fixes bug 1787, 616 and 835.
1449
1450         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1451         when inside an inset (part of bug 781).
1452         (dispatch): adapt to change of BufferView::setCursor.
1453         (getStatus, dispatch): handle LFUN_GOTOERROR,
1454         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1455
1456         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1457         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1458         * text3.C (gotoNextInset, gotoInset): removed.
1459
1460 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1463
1464 2005-02-15  Angus Leeming  <leeming@lyx.org>
1465
1466         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1467         can be used meaningfully in a comparison.
1468
1469 2005-02-13  André Pönitz  <poenitz@gmx.net>
1470
1471         * bufferview_funcs.C (coordOffset): improve cursor drawing
1472
1473 2005-02-13  André Pönitz  <poenitz@gmx.net>
1474
1475         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1476         * Cursor.C (dispatch): use fixIfBroken
1477         * lyxfunc.C (getStatus): use fixIfBroken
1478
1479 2005-02-15  Angus Leeming  <leeming@lyx.org>
1480
1481         * lyx_main.C (error_handler):
1482         * lyxfunc.C:
1483         * lyxrc.C (setDefaults):
1484         s/GetEnv/getEnv/.
1485         #include "environment.h".
1486
1487         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1488
1489 2005-02-15  Angus Leeming  <leeming@lyx.org>
1490
1491         * lyxserver.C (startPipe): squash MSVC warning "local variable
1492         'fd' used without having been initialized".
1493
1494 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1495
1496         * BufferView_pimpl.C: revert accidental commit.
1497
1498 2005-02-14  André Pönitz  <poenitz@gmx.net>
1499
1500         * dociterator.[Ch]: new member forwardPosNoDescent(),
1501         which doesn't enter nested insets.
1502         * text2.C (setFont): use forwardPosNoDescent() instead
1503         of ForwardPos() (fixes crash on font change).
1504
1505 2005-02-13  Angus Leeming  <leeming@lyx.org>
1506
1507         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1508         only if lyxrc.path_prefix is not empty.
1509
1510 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1511
1512         * bufferparams.C (readGraphicsDriver): prevent crash
1513
1514 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1515
1516         * text2.C (setCounter): check for inInset() == 0
1517
1518 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1519
1520         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1521         but use update() to get correct screen display; use convert
1522         instead of istringstream.
1523         (getStatus): handle LFUN_GOTO_PARAGRAPH
1524
1525         * lyxfunc.C (dispatch, getStatus): do not handle
1526         LFUN_GOTO_PARAGRAPH here.
1527
1528 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1529
1530         * text3.C (dispatch): size() -> depth()
1531
1532         * text2.C: remove some debug output
1533
1534         * paragraph.C: ws changes only
1535
1536         * lyxfunc.C (getStatus): size() -> depth()
1537
1538         * dociterator.h (clear, push_back, pop_back, internalData,
1539         operator[], resize, empty): new functions
1540         Make StableDocIterator and operator== be friends. Don't inherit
1541         from std::vector use a privat class variable slices_ instead.
1542         Modify to fit.
1543
1544         * dociterator.C: update because of not inheriting from std::vector
1545         anymore. Call explictly to slices_ instead. Use depth() instead of
1546         size() and top() instead of back()
1547
1548         * cursor.C: chagne size() -> depth and back() -> top(). Also
1549         remove some direct operator[](i) calls in favour of foo[i]
1550         (getFont): remove some dead code
1551
1552         * bufferview_funcs.C (coordOffset): size() -> depth()
1553
1554         * buffer.C: ws changes only
1555
1556         * CutAndPaste.C (eraseSelection): back() -> top()
1557
1558         * BufferView_pimpl.C (selectionRequested): back() -> top()
1559
1560         * BufferView.C (setCursor): size() -> depth()
1561
1562 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1563
1564         * text3.C (cursorPrevious): return true if depm changed something
1565         (cursorNext): ditto
1566         (dispatch): rename sl to oldTopSlice, remove moving use the new
1567         NoUpdate func attrib instead. Make sure that needsUpdate is set
1568         for function that have NoUpdate, but where depm might have changed
1569         the buffer anyway.
1570
1571         * text2.C (cursorLeft): make us return true if depm changed
1572         something
1573         (cursorRight): ditto
1574         (cursorUpParagraph): ditto
1575         (curosrDownParagraph): ditto
1576         (cursorUp, cursorDown): ditto, make sure to read comments in code
1577         (deleteEmptyParagraphMechanism): remove an assert, also return
1578         true if just a single char was deleted.
1579
1580         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1581         cursor that we modify, to avoid modifying an active cursor before
1582         we call setCursor. This allows depm to run. Also return true if
1583         depm deleted something.
1584
1585         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1586         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1587         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1588         something was changed in the buffer because of them (ie. depm run)
1589
1590         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1591         debug messages. Make update by default be false. Make sure that
1592         the result of update is retained throught several calls down to
1593         dispatch.
1594
1595         * LyXAction.h: add a new func_attrib: NoUpdate
1596
1597         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1598         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1599         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1600         and LFUN_WORDLEFT
1601         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1602
1603 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1606         bv_->owner(), bv_->buffer() by direct references to the private
1607         members.
1608         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1609         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1610         (fitCursor): center() is in BufferView::Pimpl.
1611         (getStatus, trackChanges, dispatch): no need for a temporary buf
1612         variable
1613         (fitCursor, workAreaDispatch): use workarea().workheight()
1614
1615 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1616
1617         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1618
1619 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1620
1621         * buffer.C: format up to 241.
1622         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1623         break if pasting into ERT
1624         * lyxfunc.C (getStatus): suppress mathpanel and
1625         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1626
1627 2005-02-01  Angus Leeming  <leeming@lyx.org>
1628
1629         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1630
1631 2005-02-01  Angus Leeming  <leeming@lyx.org>
1632
1633         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1634         calling fs::is_directory().
1635
1636 2005-01-31  Angus Leeming  <leeming@lyx.org>
1637
1638         * lyx_main.C (priv_exec): specify explicitly the relative location
1639         of the top level build directory when run in-place.
1640
1641 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1642
1643         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1644         LyXText containing the cursor, not the top-level one.
1645
1646         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1647         true.
1648         (insertStringAsLines): rename par to pit; use temporary variable
1649         par to hold a Paragraph; do not store par.layout() in a variable,
1650         since the pointer may die when breaking paragraphs; pass pars to
1651         breakParagraph() instead of Buffer::paragraphs().
1652
1653 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1654
1655         * lyxlex_pimpl.h: #include <fstream>.
1656
1657         * BufferView.[Ch] (getLyXText): add a const version.
1658
1659         * BufferView_pimpl.C: add debug aids.
1660
1661         * RowList_fwd.h:
1662         * buffer.h:
1663         * lyxrow.h:
1664         * paragraph_funcs.h: add commentary explaining what the class does.
1665
1666
1667         * coordcache.[Ch]: add lots of commentary.
1668         (startUpdating, doneUpdating): debug aids.
1669         (arrays, insets, parPos, getParPos): accessors to private data.
1670
1671         * cursor_slice.[Ch] (text): add a const version.
1672         * dociterator.[Ch] (text, innerText): add const versions.
1673
1674         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1675         bool.
1676
1677         * paragraph.C (getRow, pos2ros): add asserts.
1678
1679         * paragraph.h: add commentary. Lots of.
1680
1681         * paragraph.[Ch] (metrucs, draw): removed.
1682
1683         * cursor.C:
1684         * rowpainter.[Ch]: const-correct changes.
1685
1686         * text.C: various obvious clean-ups. Removal of ancient cruft.
1687         Bug fixes, even.
1688
1689 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1690
1691         * vc-backend.C (find_file): rewrite to use boost.filesystem
1692         (scanMaster): ditto
1693
1694         * main.C (main): set default name check for boost.filesystem to
1695         no check
1696
1697         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1698         (open): ditto
1699         (doImport): ditto
1700         (actOnUpdatedPrefs): ditto
1701
1702         * lyx_main.C (init): rewrite to use boost.filesystem
1703         (queryUserLyXDir): ditto
1704
1705         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1706         (getContentsOfAsciiFile): ditto
1707
1708         * lastfiles.C (readFile): rewrite to use boost.filesystem
1709
1710         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1711
1712         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1713         (loadLyXFile): ditto
1714
1715         * buffer.C (Buffer): adjust for destroydir
1716         (getLogName): rewrite to use boost.filesystem
1717         (setFileName): ditto
1718         (save): use fs::copy_file (from fs_extras)
1719
1720         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1721
1722         * LaTeX.C (run): rewrite to use boost.filesystem
1723         (scanAuxFiles): ditto
1724         (handleFoundFile): ditto
1725
1726 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1727
1728         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1729
1730         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1731
1732 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1733
1734         * lyxlayout.[Ch]: change some vars from float to double
1735
1736         * buffer.C (readFile): make a local var const
1737
1738         * Several files: use convert<> instead of atoi,strToXXX and friends
1739
1740 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1741
1742         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1743         holds the contents of packages.lst. New functions getAvailable
1744         and isAvailable to parse and check that list, resp.
1745
1746         * LyXAction.C:
1747         * lfuns.h:
1748         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1749
1750         * bufferparams.[Ch]: new param output_changes.
1751
1752         * Buffer.C: increase file format to 240.
1753         Use output_changes and isVailable.
1754
1755         * changes.[Ch]:
1756         * paragraph.C:
1757         * paragraph_pimpl.C: Use output_changes and isVailable.
1758
1759 2005-01-23  Angus Leeming  <leeming@lyx.org>
1760
1761         * output_latex.C: #include "insetbibitem.h", rather than
1762         forward declare function bibitemWidest.
1763
1764 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1765
1766         * lyx_main.C (init): make it compile on the Mac.
1767
1768 2005-01-20  Angus Leeming  <leeming@lyx.org>
1769
1770         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1771         (setLyXMisc): (char string literal) != (char string literal) is
1772         performing a comparison on the addresses. Convert one operand
1773         explicitly to string to guarantee expected behaviour.
1774         From MSVC warning.
1775
1776 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1777
1778         * buffer.C:
1779         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1780
1781         * output_plaintext.C: remove unneeded #include gzstream.h.
1782
1783 2005-01-20  Angus Leeming  <leeming@lyx.org>
1784
1785         * SpellBase.h: rename some of the elements of the Result enum.
1786
1787         * aspell_local.h:
1788         * ispell.h:
1789         * pspell.h:
1790         * aspell.C (check):
1791         * ispell.C (check):
1792         * pspell.C (check): ditto
1793
1794 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1795
1796         * buffer.C: add #include <fstream>.
1797
1798         * lyx_main.C (init): Compile fix.
1799
1800         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1801
1802 2005-01-20  Angus Leeming  <leeming@lyx.org>
1803
1804         * mover.h: change commentary to reflect the changed meaning of
1805         the $$s placeholder.
1806
1807 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1810
1811         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1812
1813 2005-01-20  Angus Leeming  <leeming@lyx.org>
1814
1815         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1816         printing diagnostic data by not dereferecing an iterator past the
1817         end.
1818
1819 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1820
1821         * buffer.C (readHeader): use "&&" rather than "and".
1822
1823         * lyxserver.h (inPipeName, outPipeName): make these const.
1824
1825 2005-01-19  Angus Leeming  <leeming@lyx.org>
1826
1827         * lyx_main.C (error_handler, init): protect SIGHUP with
1828         #ifdef SIGHUP guards.
1829
1830 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1833
1834 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1835
1836         * text.C (setHeightOfRow): add a margin at the top and bottom of
1837         the document (bug 1761)
1838
1839 2005-01-17  Angus Leeming  <leeming@lyx.org>
1840
1841         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1842         with "python ". Workaround for a brain-dead Windows.
1843
1844 2005-01-16  Angus Leeming  <leeming@lyx.org>
1845
1846         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1847         for MacOSX and Windows to use prependEnvPath.
1848         Strip out the hard-coded block to add elements to the PATH for
1849         MacOSX and replace it with a call to prependEnvPath using the
1850         contents of LyXRC::path_prefix.
1851         (queryUserLyXDir): strip out the code to run reconfigure, instead
1852         returning a boolean indicating the necessity to do so.
1853         (reconfigureUserLyXDir): contains the code to reconfigure the
1854         user support directory. Is now called after the various LyXRC data
1855         files have been read.
1856
1857         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1858
1859 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1860
1861         * converter.[Ch] (convert): take a new parameter try_default. Use
1862         a default converter (imagemagick) if try_default is true.
1863
1864 2005-01-13  Angus Leeming  <leeming@lyx.org>
1865
1866         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1867         os::cygwin_path_fix.
1868         (write): output LyXRC::cygwin_path_fix as necessary.
1869
1870 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1871
1872         * lyxrc.h:
1873         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1874
1875 2005-01-12  Angus Leeming  <leeming@lyx.org>
1876
1877         * lyx_main.C (init): set the PATH variable to include the
1878         directory containing the LyX binary when running on Mac or Windows.
1879
1880 2005-01-12  Angus Leeming  <leeming@lyx.org>
1881
1882         * lyx_main.C (init): remove cruft that purports to set the locale
1883         dir. It doesn't and is not needed anyway.
1884
1885 2005-01-10  Angus Leeming  <leeming@lyx.org>
1886
1887         * Makefile.am: remove the lyx_main.C special casing.
1888
1889         * BufferView_pimpl.C:
1890         * bufferlist.C:
1891         * exporter.C:
1892         * lyx_cb.C:
1893         * lyx_main.C:
1894         * lyxfunc.C:
1895         * messages.C: use support/package.h to provide the paths to the
1896         various directories used by LyX.
1897
1898 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1899
1900         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1901         layout if pasting into an empty paragraph)
1902
1903 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * tex-accent.C: add <string>
1906
1907 2005-01-06  José Matos  <jamatos@lyx.org>
1908
1909         * ParagraphParameters.C (write): put every parameter in its own line.
1910         * paragraph.C (write): reduce number of consecutive empty lines exported.
1911         * buffer.C (LYX_FORMAT): increase file format to 239.
1912
1913 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1914
1915         * everywhere: change support/tostr.h -> support/convert.h
1916
1917         * tabular.C: make all write_attributes templates, tostr -> convert
1918
1919         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1920         (emptyTag): and -> &&, and fix type for ret from getChar
1921         (getFirstWord): fix type for ret from getChar
1922         (onlyText): and -> &&
1923         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1924         getChar
1925
1926         * toc.C (goTo, action):
1927         * text3.C (dispatch):
1928         * text.C (currentState):
1929         * tex-accent.C (DoAccent):
1930         * sgml.C:
1931         * lyxrc.C:
1932         * lyxfunc.C (menuNew):
1933         * lyxfinc.C (replace):
1934         * counters.C (laberItem):
1935         * bufferview_funcs.C (font2string):
1936         * bufferparams.C (writeFile):
1937         * buffer.C (readFile):
1938         * Spacing.C (set):
1939         * MenuBackend.C: tostr -> convert
1940
1941         * LaTeX.C (runMessage): fix format
1942         (scanAuxFiles): tostr -> convert
1943
1944         * BufferView_pimpl.C (savePosition): fix format
1945         (restorePosition): ditto
1946         (dispatch): ditto
1947
1948 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1949
1950         * Spacing.[Ch]: New method getValueAsString().
1951
1952         * Spacing.[Ch]:
1953         * bufferparams.C:
1954         * ParagraphParameters.C:
1955         * lyxlayout.C:
1956         * text.C:
1957         * text3.C: store/read spacing value as string.
1958
1959         * rowpainter.C: change float value (spacing_val) to double.
1960
1961         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1962         broken custom document spacing).
1963
1964 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1965
1966         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1967         namespace, also more use of temp references and const
1968
1969         * cursor.[Ch] (getStatus): move to lyxfunc.C
1970
1971         * bufferparams.C: reformat slightly
1972
1973         * bufferview_funcs.C (font2string): constify arg
1974
1975         * changes.C:
1976         * converter.C:
1977         * counters.C:
1978         * bufferlist.C:
1979         * buffer_funcs.C: (many funcs): constify arg on function
1980         definitions, also make more local vars const, also add ASSERTS on
1981         pointer args.
1982
1983         * buffer.C (LYX_FORMAT): put const in correct place
1984         (many funcs): constify arg on function definitions, also make
1985         more local vars const
1986
1987         * aspell_local.h: remove "struct" from typdef setup
1988
1989         * aspell.C (check): make word_ok const
1990         (nextMiss): simplify slightly
1991         (error): ditto
1992
1993 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1994
1995         * lyxrc.[Ch]: store all float values as strings.
1996         use int (not float) for lyxrc.dpi.
1997
1998 2005-01-04  Angus Leeming  <leeming@lyx.org>
1999
2000         * lyx_cb.C (Reconfigure):
2001         * lyx_main.C (queryUserLyXDir):
2002         to run the <system_lyxdir>/configure correctly on Windows, prefix
2003         the path to the script with "sh " when generating the string that
2004         is passed to system().
2005
2006 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2007
2008         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2009
2010 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2011
2012         * lyxlength.C (asLatexString): get rid of setprecision
2013
2014 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2015
2016         * text2.C (setLayout): remove unused variable endpit.
2017         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2018
2019         * paragraph.C (onlyText): remove unused variable style.
2020
2021         * cursor.C (bruteFind): remove unused variables beg and end.
2022
2023         * Makefile.am (dist_noinset_DATA): not needed anymore
2024
2025         * cheaders/*: remove.
2026
2027 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2028
2029         * text3.C: fix LFUN_MATH_MODE.
2030
2031 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2032
2033         * buffer_funcs.C (countWords): new function. Counts words between
2034         two iterators.
2035
2036         * BufferView_pimpl.C (getStatus, dispatch): handle
2037         LFUN_WORDS_COUNT.
2038
2039         * LyXAction.C (init):
2040         * lfuns.h: add LFUN_WORDS_COUNT.
2041
2042 2004-12-19  Angus Leeming  <leeming@lyx.org>
2043
2044         * buffer.C (save): s/slashify_path/internal_path/.
2045
2046 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2047
2048         * lyxfind.C (findChange): do not search for end of pars, because
2049         the change tracker cannot handle this (fixes bug 1719).
2050
2051 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * paragraph.[Ch] (autoBreakRows): remove
2054
2055         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2056
2057         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2058         avoid using the paragraph one
2059
2060         * text2.C (LyXText, insertStringAsLines): adjust
2061
2062 2004-12-16  Angus Leeming  <leeming@lyx.org>
2063
2064         * bufferlist.C:
2065         * lyx_main.C:
2066         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2067
2068 2004-12-14  Angus Leeming  <leeming@lyx.org>
2069
2070         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2071
2072         * bufferlist.C (emergencyWrite):
2073         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2074         GetEnvPath("HOME").
2075
2076 2004-12-14  Angus Leeming  <leeming@lyx.org>
2077
2078         * main.C: (main): no longer pass pointers to os::init.
2079
2080 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2083         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2084
2085 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * lyxfunc.C:
2088         * text3.C: remove selection_possible global flag
2089
2090 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * text2.C (getSelectionSpan): remove
2093         (changeDepth, changeDepthAllowed): adjust
2094
2095 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2096
2097         * Makefile.am (BOOST_LIBS): use boost variables
2098
2099 2004-12-03  José Matos  <jamatos@lyx.org>
2100
2101         * buffer.C: format up to 238.
2102
2103 2004-12-03  José Matos  <jamatos@lyx.org>
2104
2105         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2106
2107 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2108
2109         * cursor.C (goUpDown): remove call to idxUpDown2
2110
2111 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2112
2113         * tabular.[Ch]: use size_t-like types for cell, row and column
2114         indices
2115
2116 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2117
2118         * lyxfunc.C (getStatus): do not lose previous information when
2119         calling BufferView::getStatus; do not set a default "Command
2120         disabled" message at the beginning, but just before returning.
2121
2122 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2123
2124         * cursor.h (getStatus): add better comment from src/cursor.C
2125
2126 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * text3.C (getStatus): return false when the lfun is not handled
2129
2130 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2131
2132         * broken_headers.h: remove
2133
2134         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2135
2136 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2137
2138         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2139         offset_ref accessors
2140
2141         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2142         top_y_, merge fitcursor with update
2143         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2144         coord scheme
2145         (metrics): introduce
2146         (workAreaDispatch): adapt to new coord scheme
2147         (redoCurrentBuffer): remove
2148
2149         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2150
2151         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2152         CurStatus enum.
2153
2154         * coordcache.[Ch]: add paragraph cache and helpers
2155
2156         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2157         adjust everywhere
2158
2159         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2160         (targetX, setTargetX): introduce
2161
2162         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2163         baseline -> ascent, as the rest of lyx
2164
2165         * lyxtext.h: remove redoParagraphs, updateParPositions,
2166         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2167         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2168         have ascent/descent (ascent is ascent of first par)
2169
2170         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2171         step of BufferView
2172
2173         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2174
2175         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2176
2177         * pariterator.C: fix infinite loop introduced in par->pit renaming
2178
2179         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2180         in insets and LyXText, draw two off-screen paragraphs using
2181         NullPainter, and adapt to new coord scheme
2182
2183         * text.C:
2184         * text2.C:
2185         * text3.C: adapt lfun handlers to the new coord scheme, which
2186         means: there's only guaranteed coord information for onscreen pars
2187         plus one above and one below. This implies that one can do search
2188         from y coordinates in the range [-1,workHeight]
2189
2190 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * rename a lot of InsetOld to InsetBase
2193
2194 2004-11-25  Angus Leeming  <leeming@lyx.org>
2195
2196         * BufferView_pimpl.C:
2197         * lyx_cb.C:
2198         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2199
2200 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2203         call BufferView::getStatus if LCursor::getStatus did nothing
2204         (setStatusMessage, getStatusMessage): removed.
2205
2206         * FuncStatus.C (message): new methods. Used to provide an error
2207         message indicating why a command is disabled.
2208         (clear, |=, FuncStatus): update for message.
2209
2210 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2211
2212         * lyxfunc.C (dispatch): always call sendDispatchMessage
2213
2214 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * BufferView.C:
2217         * BufferView_pimpl.C:
2218         * CutAndPaste.C:
2219         * FontIterator.C:
2220         * buffer.C:
2221         * cursor.C:
2222         * cursor_slice.[Ch]:
2223         * dociterator.[Ch]:
2224         * lyxfind.C:
2225         * paragraph_funcs.C:
2226         * pariterator.C:
2227         * rowpainter.C:
2228         * text.C:
2229         * text2.C:
2230         * text3.C:
2231         * undo.C: par->pit renaming
2232
2233 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2234
2235         * tabular.C (cellstruct): use initialization, store a shared_ptr
2236         to insettext instead of the insettext directly, adjust to fit.
2237         (operator=):  new function
2238         (swap): new function
2239         (rowstruct): use initialization
2240         (columnstruct): use initialization
2241         (ltType): use initialization
2242
2243
2244         * lyxlength.h (swap): new function
2245
2246         * LColor.[Ch] (operator=): use the common semantics
2247
2248 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2249
2250         * lyxfind.C (findNextChange): update the bufferview after setting
2251         the selection.
2252
2253 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2256         number of InsetOptArgs has already been inserted.
2257
2258         * output_latex.C (latexOptArgInsets): new method. This outputs all
2259         the optarg insets, up to the limit defined in the layout file.
2260         (optArgInset): removed
2261         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2262
2263 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * paragraph.C (isLetter): remove special spellchecker-related
2266         code; return true also for digits
2267         (isWord, isKomma): remove
2268
2269         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2270         * lyxfind.C (MatchString()): use isLetter instead of isWord
2271
2272 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * pariterator.h (operatir=): comment out un-implemented member
2275         function.
2276
2277         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2278         static cast.
2279
2280 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2281
2282         * lyxfont.h: include LColor.h to satisfy concept checks.
2283
2284 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2285
2286         * pariterator.h: add typdefs for value_type, difference_type,
2287         pointer and reference to satisfy concept checks. Also add default
2288         constructor for same reason.
2289
2290         * pariterator.C (operator++): add post-increment operator to
2291         satisfy concept checks.
2292
2293         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2294         checks.
2295
2296         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2297
2298         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2299         checks. Also rename base_type to BaseType to follow naming
2300         standard better.
2301
2302         * FloatList.h: include Floating.h to satisfy concept checks.
2303
2304 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * lyxfunc.C (getStatus): when the origin of the request is menu or
2307         toolbar, and the LyXView does not have focus, do as if there was
2308         no buffer (bug 1720)
2309
2310         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2311         FuncRequest to individual entries of LFUN_SEQUENCE
2312
2313 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * output_latex.C (TeXOnePar): override runparams.moving_arg
2316         according to the needprotect value of the current paragraph (bug
2317         1739)
2318
2319         * paragraph.C (simpleTeXOnePar): no need to override
2320         runparams.moving_args here
2321
2322 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2323
2324         * vspace.C: fix off-by-one-error, related to fix #1682
2325
2326 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2327
2328         * lengthcommon.C: a more general fix for bug 1682
2329
2330 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * text.C (backspace): fix crash
2333
2334 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2335
2336         * format.[Ch] (getFormatFromFile): new method
2337         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2338
2339 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2340
2341         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2342
2343 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * lyxfunc.C (dispatch): remove the verbose argument
2346         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2347         instead
2348
2349         * kbmap.C (defkey): set the origin of func to KEYBOARD
2350
2351         * MenuBackend.C (MenuItem):
2352         * ToolbarBackend.C (add): set the origin of func to UI
2353
2354         * funcrequest.[Ch]: add origin member, which indicates which part
2355         of LyX requests an action
2356
2357 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2358
2359         * converter.C (move): don't lie in the error message
2360         * converter.h (isReachable, move): document
2361
2362 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * buffer.C: remove unused using lyx::support::atoi
2365         * paragraph_funcs.C: ditto
2366
2367 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * bufferlist.C (exists): use bind and equal_to instead of
2370         compare_memfun
2371         (getBuffer): ditto
2372         * lyxtextclasslist.C (NumberOfClass): ditto
2373
2374         * cursor.C (insert): use for_each instead of explicit for loop
2375
2376         * bufferlist.C (getFileNames): use std::transform and
2377         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2378
2379         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2380         for loop
2381
2382         * buffer.C (changeLanguage): use for_each instead of explicit for
2383         loop
2384         (hasParWithID): implement using getParFromID
2385
2386         * LaTeXFeatures.C: ws change only
2387
2388         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2389         to cleanup a bit.
2390
2391         * BufferView_pimpl.C (trackChanges): use for_each instead of
2392         expilicit for loop
2393
2394 2004-11-04  André Pönitz  <poenitz@gmx.net>
2395
2396         * undo.h:
2397         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2398
2399         * dociterator.C (asDocIterator): use hard assert again.
2400
2401 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         * lyxlength.C (asLatexString): rewrite so that it does not use
2404         snprintf anymore
2405
2406 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * text3.C (specialChar, dispatch): make sure cursor moves to the
2409         right after inserting an inset
2410
2411 2004-11-02  José Matos  <jamatos@lyx.org>
2412
2413         * output_docbook.C (docbook):
2414         * paragraph.C (getID):
2415         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2416         garantee that the output is always legal.
2417
2418         * tabular.C (docbook):
2419         * outputprams.[Ch]: remove mixed contents.
2420
2421 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2422
2423         * text2.C (setCounter): prevent endless loop
2424
2425 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2426
2427         * exporter.C (copyFile): use the mover instead of support::copy()
2428         * exporter.C (Export): pass format and latex name to copyFile()
2429         * exporter.h (addExternalFile): document
2430         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2431
2432 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2433
2434         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2435
2436 2004-10-30  José Matos  <jamatos@lyx.org>
2437
2438         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2439         text and no inset or font change. This allows to use CDATA
2440         sections just for the whole paragraph.
2441
2442 2004-10-30  José Matos  <jamatos@lyx.org>
2443
2444         * paragraph.C (getFirstWord): remove unused variable.
2445
2446 2004-10-30  José Matos  <jamatos@lyx.org>
2447
2448         * paragraph.C (getFirstWord): the content should always be escaped
2449         there.
2450         (simpleDocBookOnePar):
2451         * output_docbook.C (makeEnvironment): replace reference to CDATA
2452         to style pass_thru.
2453
2454 2004-10-30  José Matos  <jamatos@lyx.org>
2455
2456         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2457
2458 2004-10-30  José Matos  <jamatos@lyx.org>
2459
2460         * output_docbook.C (makeParagraphs):
2461         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2462         standard paragraph has only a given type of content drop the wrapper.
2463
2464 2004-10-29  José Matos  <jamatos@lyx.org>
2465
2466         * output_docbook.C (makeEnvironment):
2467         * sgml.C (openTag):
2468         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2469
2470 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2471
2472         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2473         (cleanID): sanitize any id.
2474
2475 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2476
2477         * buffer.C, lyxlex_pimpl.C:
2478         * lyxlex_pimpl.C (setFile):
2479         s/getExtFromContents/getFormatFromContents/
2480
2481 2004-10-28  José Matos  <jamatos@lyx.org>
2482
2483         * output_docbook.C (makeEnvironment): move id to broadest possible
2484         scope.
2485
2486         * sgml.C (openTag): apply substitution of <> for all attributes.
2487
2488 2004-10-28  José Matos  <jamatos@lyx.org>
2489
2490         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2491         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2492         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2493
2494         * sgml.[Ch]: new version for open and closeTag for paragraph and
2495         for strings. Now they handle the ids of paragraphs.
2496
2497 2004-10-26  Angus Leeming  <leeming@lyx.org>
2498
2499         * Makefile.am: add mover.[Ch].
2500
2501         * converter.C (convert, move): use the new Movers to move external
2502         files to the temp directory.
2503
2504         * lyx_main.C (init): ensure that the global system_movers data
2505         is initialised.
2506
2507         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2508         preferences file.
2509
2510         * mover.[Ch]: new files, defining a Mover as a utility to move an
2511         external file between directories and, if necessary, manipulate this
2512         file using a helper script.
2513
2514 2004-10-25  José Matos  <jamatos@lyx.org>
2515
2516         * output_docbook.C (makeCommand): merge two if's that tested the
2517         same condition.
2518
2519 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2520
2521         * sgml.C (escapeString): fix warning in a better way
2522
2523 2004-10-25  José Matos  <jamatos@lyx.org>
2524
2525         * sgml.C (escapeString): import the require boosts header file for
2526         tie, and avoid a signed unsigned comparison.
2527
2528 2004-10-25  José Matos  <jamatos@lyx.org>
2529
2530         * sgml.h: add #include <string>
2531
2532 2004-10-25  José Matos  <jamatos@lyx.org>
2533
2534         * sgml.[Ch] (escapeString): new function to escape all the string.
2535
2536 2004-10-24  José Matos  <jamatos@lyx.org>
2537
2538         * paragraph.[Ch] (getFirstWord): new function to get the first
2539         word. Useful for description.
2540         (simpleDocBookOnePar): remove depth argument, add another that
2541         says where to start the paragraph.
2542
2543         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2544         use the new functions to fix cleanly the support for descriptions.
2545
2546 2004-10-24  José Matos  <jamatos@lyx.org>
2547
2548         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2549         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2550         * output_linuxdoc.C (linuxdocParagraphs):
2551         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2552         add buffer as argument.
2553
2554 2004-10-24  José Matos  <jamatos@lyx.org>
2555
2556         * output_docbook.C (makeEnvironment, searchEnvironment): place
2557         CDATA inside paragraphs and fix scope for listitems.
2558
2559 2004-10-24  José Matos  <jamatos@lyx.org>
2560
2561         * output_docbook.C: remove using statement for stack.
2562
2563 2004-10-23  José Matos  <jamatos@lyx.org>
2564
2565         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2566         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2567         docbook. The new scheme is recursive and makes use of iterators, the
2568         same as latex export works.
2569         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2570         directly with the paragraph contents. This code was moved up to
2571         output_docbook.C (docbookParagraphs).
2572         * sgml.C (openTag, closeTag): removed unneeded newlines.
2573         (closeEnvTags) removed.
2574
2575 2004-10-23  André Pönitz  <poenitz@gmx.net>
2576
2577         * undo.C (textUndoOrRedo):
2578         * dociterator.C (asDocIterator): work around crash
2579
2580         * cursor.C (getStatus): replace ASSERT by more verbose error message
2581           and manual correction of the problem. Should increase stability
2582           while providing more sensible information.
2583
2584 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2585
2586         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2587
2588         * bufferlist.C (previous, next): new methods
2589
2590         * lfuns.h:
2591         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2592
2593 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2594
2595         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2596         entities to preamble.
2597
2598 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2599
2600         * messages.C (Pimpl): strip off translation context information
2601
2602 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2603
2604         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2605         the cursor is correct (bug 1694)
2606
2607 2004-10-13  José Matos  <jamatos@lyx.org>
2608
2609         * output_docbook.C (docbookParagraphs): fix closing tags in the
2610         end of the document.
2611
2612 2004-10-09  José Matos  <jamatos@lyx.org>
2613
2614         * buffer.C: format up to 237.
2615         * bufferparams.C (write): use tostr to convert booleans to strings.
2616
2617 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2618
2619         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2620
2621 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2622
2623         * LaTeX.C: implement use of babel language in xindy.
2624
2625 2004-10-05  José Matos  <jamatos@lyx.org>
2626
2627         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2628         Add new translators to help reading and writing the lyx file.
2629
2630 2004-10-05  José Matos  <jamatos@lyx.org>
2631
2632         * ParagraphParameters.C (read):
2633         * text.C (readParToken): replace nexToken by more appropriate lex
2634         methods.
2635
2636 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2637
2638         * LaTeX.C (runMakeIndex):
2639         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2640         (usually 'makeindex') configurable.
2641
2642         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2643         with a variable rather than with a number.
2644
2645 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2646
2647         * output_latex.C (TeXOnePar): make sure font setting is the first
2648         thing that gets output (and the last at the end). Should fix bug
2649         1404.
2650
2651 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * pch.h: use proper signal include
2654
2655         * LaTeX.h: Use preferred calling of Boost.Signal
2656         * buffer.h: ditto
2657
2658 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * pch.h: dont include <boost/function/function0.hpp>
2661
2662         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2663
2664         * paragraph_pimpl.h: remove usage of ShareContainer
2665
2666         * paragraph_pimpl.C: remove initialization of ShareContainer.
2667
2668 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2669
2670         Fix bug #1666
2671
2672         * BufferView.C (putSelectionAt): change the semantics when
2673         backwards == true: now, this just swaps cursor and anchor wrt the
2674         forward case
2675
2676         * BufferView.h (putSelectionAt): add some documentation
2677
2678         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2679         make sure backwardChar is done at least once (to avoid getting
2680         stuck)
2681         (findNextChange): use putSelectionAt in the forward direction
2682         (operator()): use Paragraph::isWord
2683
2684 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2685
2686         * Spacing.C (set): c_str fix
2687
2688 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2689
2690         * lyx_cb.C (Reconfigure): quote the name of configure script in
2691         case it contains spaces
2692
2693 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2694
2695         * client: new dir
2696
2697         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2698         (BOOST_LIBS): use top_buildir when looking for the file
2699
2700 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2701
2702         * pch.h: do not use include boost/format.hpp, multiple symbols
2703                 will result (gcc bug)
2704
2705
2706 2004-08-23  José Matos  <jamatos@lyx.org>
2707
2708         * bufferparams.C (readToken): fix reading of the author field.
2709
2710 2004-08-20  José Matos  <jamatos@lyx.org>
2711
2712         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2713
2714 2004-08-20  José Matos  <jamatos@lyx.org>
2715
2716         * lyxlex.[Ch] (findToken): remove function.
2717
2718         * ParagraphParameters.C (findToken):
2719         * bufferparams.C (findToken): replace call for previous function
2720         with local copy. This local function has one more argument, the
2721         read string argument.
2722
2723 2004-08-16  José Matos  <jamatos@lyx.org>
2724
2725         * ParagraphParameters.C (write):
2726         * Spacing.C (writeFile):
2727         * bufferparams.C (writeLaTeX):
2728         * lyx_cb.C (Reconfigure):
2729         * paragraph.C (write):
2730         * tabular.C (write): remove unnecessary space at end of line.
2731
2732
2733 2004-08-16  José Matos  <jamatos@lyx.org>
2734
2735         * text.C (readParagraph): remove debug message.
2736
2737 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2738
2739         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2740         crash
2741
2742         * output_plaintext.C (asciiParagraph): set depth correctly
2743
2744         * outputparams.h: add member depth
2745
2746         * paragraph_funcs.C (ownerPar): remove.
2747
2748         * text2.C (setCounter): remove first_pit; comment out some
2749         non-working code that uses ownerPar
2750
2751         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2752         uses ownerPar
2753
2754 2004-08-16  José Matos  <jamatos@lyx.org>
2755
2756         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2757         For the same level of importance use the same chanel to report problems.
2758         (read): add code to deal with \begin_body and \end_body.
2759
2760
2761 2004-08-15  José Matos  <jamatos@lyx.org>
2762
2763         * lyxlex.C (getString): fix comment, buffer::readBody is now
2764         buffer:readDocument.
2765
2766         * tex-strings.C (string_papersize): Default -> default,
2767         Custom -> custom, for consistency with other options.
2768
2769 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * pch.h: new file
2772
2773         * Makefile.am: support pch
2774
2775 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2776
2777         * text.C (readParToken): remove the static LyXFont variable and
2778         pass it as a parameter instead. This fixes a nasty bug where an
2779         inset will be inserted with a bad font in some situations
2780         (readParagraph): adapt
2781
2782         * text2.C (setCounter): reduce number of calls to pars_[pit]
2783
2784         * text.C (singleWidth): add an assert, fix a test
2785
2786         * rowpainter.C (paintText): reduce number of calls to singleWidth
2787
2788         * paragraph.C (isHfill):
2789         (isNewline): ws only
2790
2791 2004-08-14  André Pönitz  <poenitz@gmx.net>
2792
2793         * text.C:
2794         * text2.C:
2795         * rowpainter.C:
2796         * lyxtext.h (several functions): use a Paragraph & argument
2797         instead of par_type
2798
2799 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2800
2801         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2802
2803         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2804
2805         * text.C (singleWidth): remove useless test
2806
2807 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2808
2809         * tabular.h: remove bogus comments
2810
2811         * tabular.C (getDescentOfRow):
2812         (isPartOfMultiColumn): add assertions
2813
2814         * lyxlength.C (inPixels): remove #warning
2815
2816 2004-08-14  André Pönitz  <poenitz@gmx.net>
2817
2818         * paragraph.h: inline getChar()
2819
2820         * BufferView.h: remove unused declarations
2821
2822 2004-08-14  José Matos  <jamatos@lyx.org>
2823
2824         * Buffer.[Ch] (readDocument): new name for old readBody.
2825         * Buffer.C: new file format, new keywords: \begin_document,
2826         \begin_header, \begin_body, \end_body.
2827
2828         * bufferparams.C (readToken): replace all calls to lex.nextToken
2829         by lex.next(). Do the same to eatLine except where really needed.
2830
2831         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2832         line when writing to the lyx file.
2833
2834         * output_plaintext.C (asciiParagraph): fix Bibliography style
2835         handling.
2836
2837         * text.C (read): fix end of file handling.
2838
2839 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2840
2841         * MenuBackend.C (Menu::operator[]): new method to access
2842         individual menu items
2843         (Menu::hasFunc): new method. search for an item that corresponds
2844         to a given func
2845         (MenuBackend::specialMenu): new method
2846         (MenuBackend::expand): if a special menu has been set, skip
2847         entries whose func() appears in this menu
2848
2849 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2850
2851         * text3.C: use Debug::DEBUG a bit more
2852
2853         * text.C (leftMargin): try to simplify a tiny bit change var x to
2854         l_margin. Dont output the wide margins always.
2855         (rightMargin): no margin in inner texts
2856
2857         * rowpainter.h (nestMargin): new func
2858         (changebarMargin): new func
2859         (rightMargin): new func
2860
2861         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2862         now functions.
2863         (paintLast): ditto
2864
2865         * factory.C (createInset): modify setDrawFrame
2866
2867         * cursor.C: use Debug::DEBUG a bit more
2868
2869 2004-08-14  André Pönitz  <poenitz@gmx.net>
2870
2871         * coordcache.[Ch]:
2872         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2873         cache for all insets in (at least partially) visible (top-level)
2874         paragraphs.
2875
2876         * BufferView_pimpl.C: reset external coord cache before every update.
2877         This means the coord cache only contains valid entries.
2878
2879 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2880
2881         bug 1096
2882         * BufferView_pimpl.C (getInsetByCode): move function out of class
2883         and change in to a template in anon namespace. Also fix to do what
2884         suits us better.
2885
2886 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2887
2888         bug 1305
2889         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2890         of char
2891         (breakParagraph): rename par to par_offset and use a local
2892         reference. Add code to keep the language over a rebreak.
2893         (breakParagraphConservative): rename par to par_offset, use a
2894         local reference
2895         (mergeParagraph): ditto
2896         (outerHook): ditto
2897         (isFirstInSequence): ditto
2898         (outerFont): rename pit to par_offset
2899
2900         * paragraph.C: ws change
2901         * paragraph.h: ditto
2902         * text3.C: ditto
2903         * text.C: ditto
2904
2905 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2906
2907         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2908         treatment for ']'
2909
2910         * paragraph.C (simpleTeXOnePar): when we have a \item with
2911         optional argument, enclose the argument with curly brackets (in
2912         case it contains a closing square bracket)
2913
2914         * text2.C (editXY):
2915         * text2.C (editXY):
2916         * text3.C (checkInsetHit): constify
2917
2918 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2921         documents (bug 1629)
2922
2923 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         Fix toggling of collapsable insets with the mouse (bug 1558)
2926
2927         * lyxfunc.C (dispatch): adapt to LCursor changes
2928
2929         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2930         make sure that dispatch is not invoked twice
2931
2932         * cursor.C (needsUpdate): new method
2933         (dispatch): return void
2934         (result): new method, to access the DispatchResult of the cursor.
2935
2936 2004-08-13  José Matos  <jamatos@lyx.org>
2937
2938         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2939
2940 2004-08-13  André Pönitz  <poenitz@gmx.net>
2941
2942         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2943
2944         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2945           multiple cells
2946
2947 2004-08-12  André Pönitz  <poenitz@gmx.net>
2948
2949         * text3.C: take out the 'cursor right' form insertInset and only
2950         do it in those places when it is really needed. Fixes crash on
2951         C-m...
2952
2953 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2956
2957         * BufferView_pimpl.C (setBuffer): initialize the current font of
2958         the underlying LyXText
2959
2960 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2961
2962         * kbsequence.C (print): use UI native formatting for menu
2963         shortcuts
2964
2965         * text.C (insertChar): call Paragraph::insertChar with a font
2966         argument (cosmetic)
2967
2968         * paragraph.C (insertInset, insertChar): the version that takes a
2969         LyXFont argument is now a wrapper around the other one (the
2970         opposite used to be true).
2971
2972         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2973         argument. Font setting is done in Paragraph now.
2974
2975 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * outputparams.h: add new members intitle and lang.
2978
2979         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2980         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2981
2982 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * text3.C (dispatch): remove special handling of button 4 and 5,
2985         it is now taken care of in the frontend code.
2986
2987 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2988
2989         * Spacing.h: add <string> (STLPort compile fix)
2990
2991 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2992
2993         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2994
2995 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2998         to bool.
2999
3000         * converter.C (showMessage): inherit from unary_function, make
3001         operator() const.
3002
3003         * buffer.C (writeFile): initialize retval
3004
3005         * InsetList.h: rename private variable list to list_
3006         * InsetList.[Ch]: adjust accordingly.
3007
3008 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3011         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3012         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3013         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3014         * ParagraphParameters.C, LaTeXFeatures.C: replace
3015         "support/std_sstream.h" with <sstream>
3016
3017 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3020         * lyxsocket.C (LyXServerSocket): ditto
3021         (serverCallback): ditto
3022
3023 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3024
3025         * LaTeXFeatures.C: check release date when loading jurabib.
3026
3027 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * lyxserver.C (startPipe): call register_socket_callback
3030         (endPipe): call unregister_socket_callback
3031
3032 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3035         (LyXServerSocket): register the callback
3036         (LyXServerSocket): unregister the callback
3037         (fd): delete function
3038         (serverCallback): improve error checking and setup the callbacks.
3039         (dataCallback): change arg to fd.
3040         (writeln): new func (copied fro the client socket) used for server
3041         write to client.
3042         (LyXDataSocket): simplify
3043         (~LyXDataSocket): close ann unregiser callback
3044         (server): delete function
3045         (fd): delete function
3046         (readln): small changes, improve some std::string usage
3047         (writeln): constify a bit
3048
3049 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3050
3051         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3052         Qt frontend
3053
3054 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3057         after it has been populated
3058
3059 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3060
3061         * text2.C (insertInset): move cursor when inserting inset.
3062
3063 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3064
3065         * kbmap.C (findbindings): a couple of new methods. returns a
3066         container of kb_sequence objects. The real work is done by the
3067         private recursive version
3068         (printbindings): uses findbindings to print out a bracketed list
3069         of bindings (renamed from findbinding).
3070
3071         * MenuBackend.C (binding): use kb_keymap::findbindings
3072
3073         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3074
3075 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3076
3077         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3078
3079 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3080
3081         * paragraph.C (isWord): return true on insets that report
3082         isLetter().
3083
3084         * text.C (getWord): use Paragraph::isWord to decide what is in a
3085         word and what is not; fix bug 1609.
3086
3087 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3088
3089         * tex-strings.C: add "none" to string_paperpackages[], fixes
3090         off-by-one-error in the paperpackage selection.
3091
3092         * lyxlex.[Ch]:
3093         * tex-strings.[Ch]: char const * string[n]
3094         -> char const * const string[]
3095
3096 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3097
3098         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3099         command, return early.
3100
3101 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * debug.h: add DEBUG to enum and fix size of ANY.
3104
3105         * debug.C: add support for Debug::DEBUG
3106         (showTags): cast errorTags.level to unsigned int
3107
3108         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3109         (redoCurrentBuffer): ditto
3110         (updateScrollbar): ditto
3111         * cursor.C (dispatch): ditto
3112         * text2.C (setLayout): ditto
3113         (setFont): ditto
3114         (updateCounters): ditto
3115         (editXY): ditto
3116         (deleteEmptyParagraphMechanism): ditto
3117
3118 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3121         annotations to cleanup the Makefile slightly.
3122
3123 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3124
3125         * lyxrc.C: do not set user_email to a default value but use empty
3126         instead. The entry used to be translated, which does not work
3127         since at the point where lyxrc is constructed there is no
3128         translation service available
3129
3130         * messages.C (getLocaleDir): remove and use directly
3131         lyx_localedir() instead
3132
3133 2004-06-02  Angus Leeming  <leeming@lyx.org>
3134
3135         Fix crash caused by dereferencing null pointer 'exportdata' in
3136         OutputParams by creating a new ExportData variable on the heap,
3137         storing it in a boost::shared_ptr.
3138         The crash was triggered when generating an Instant Preview
3139         of an external inset.
3140
3141         * Makefile.am: add outputparams.C
3142
3143         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3144         (c-tor): allocate memory to it.
3145
3146         * exporter.C (c-tor): associated changes.
3147
3148 2004-06-01  Angus Leeming  <leeming@lyx.org>
3149
3150         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3151         contains data before calling isInset(0). (Bug 1513.)
3152
3153 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3154
3155         * exporter.C (checkOverwrite): new method
3156         * exporter.C (copyFile): new method
3157         * exporter.C (Export): copy referenced files to the document dir
3158         * exporter.[Ch]: new class ExportedFile
3159         * exporter.[Ch]: new class ExportData. Contains currently the
3160         names of referenced external files
3161         * outputparams.h: add exportdata member.
3162
3163 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3166         version.C-tmp
3167
3168 2004-05-19  Angus Leeming  <leeming@lyx.org>
3169
3170         * LaTeXFeatures.C:
3171         * ToolbarBackend.C:
3172         * bufferparams.C:
3173         * lyxfunc.C: small changes due to the introduction of namespace
3174         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3175
3176 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3177
3178         * text3.C (dispatch): supress update when only moving the cursor
3179         * cursor.C (selHandle): remove commented code
3180
3181 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3182
3183         * paragraph.C (startTeXParParams): correct column count
3184         * CutAndPaste.C (pasteSelection): remove const_cast
3185         * output_docbook.C (docbookParagraphs): remove const_cast
3186         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3187         const_cast and return ParagraphList::const_iterator
3188         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3189         * output_plaintext.C (writeFileAscii): remove const_cast
3190         * paragraph.[Ch] (simpleTeXOnePar): make const
3191         * paragraph_funcs.C (outerPar): use const iterators
3192         * paragraph_pimpl.C (validate): use const iterators
3193         * text.C (setHeightOfRow): use const iterators
3194
3195 2004-05-17  Angus Leeming  <leeming@lyx.org>
3196
3197         * lfuns.h:
3198         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3199
3200         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3201         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3202         if the citation engine has changed.
3203
3204 2004-05-14  José Matos  <jamatos@lyx.org>
3205
3206         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3207         if the textclass does not provide it. Have it different for sgml and
3208         xml.
3209         support the language of document.
3210         * output_docbook.C (docbookParagraphs):
3211         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3212         first anchor as the id of the paragraph, remove special case code.
3213         * sgml.C (escapeChar): escape only < & >.
3214
3215 2004-05-14  Angus Leeming  <leeming@lyx.org>
3216
3217         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3218         dependencies on src/frontends/controllers/biblio.h. Define a
3219         CiteEngine_enum wrapper class to enable the enum to be forward
3220         declared.
3221
3222 2004-05-12  Angus Leeming  <leeming@lyx.org>
3223
3224         * buffer.C: up LYX_FORMAT to 234.
3225         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3226         use_numerical_citations with a single biblio::CiteEngine cite_engine
3227         variable.
3228         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3229
3230 2004-05-13  José Matos  <jamatos@lyx.org>
3231
3232         * converter.h:
3233         * converter.C (Converter, readFlags): add xml member.
3234         * outputparams.h: add XML flavor.
3235         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3236
3237 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3238
3239         * lyxfunc.C (dispatch):
3240         (getStatus): fix handling of LFUN_SEQUENCE
3241
3242 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3243
3244         * debug.C (showLevel): do not forget the end-of-line marker
3245
3246 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3247
3248         * kbmap.C (read): do not stop parsing a bind file when an error
3249         occurs (bug 1575)
3250
3251 2004-04-29  Angus Leeming  <leeming@lyx.org>
3252
3253         * cursor.C:
3254         * factory.C:
3255         * pariterator.C:
3256         * text2.C: wrap a bunch of #warning statements
3257         inside #ifdef WITH_WARNINGS blocks.
3258
3259 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3260
3261         * buffer.C: increment format to 233.
3262
3263 2004-04-28  Angus Leeming  <leeming@lyx.org>
3264
3265         * BufferView_pimpl.C:
3266         * lyxfunc.C:
3267         * text3.C:
3268         s/updateToolbar()/updateToolbars()/
3269         s/Toolbar.h/Toolbars.h/
3270
3271 2004-04-28  Angus Leeming  <leeming@lyx.org>
3272
3273         * BufferView.[Ch] (c-tor):
3274         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3275         No longer passes these data to the WorkArea generator.
3276
3277 2004-04-28  Angus Leeming  <leeming@lyx.org>
3278
3279         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3280
3281 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3282
3283         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3284
3285 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3286
3287         * output_latex.C (TeXEnvironment): make sure that there is a line
3288         break before \end{foo} for the last paragraph of a document
3289         (TeXOnePar): if the paragraph is at the end of the document (or
3290         inset) and the language has to be reset, then make sure that the
3291         line break is _before_ the language command, not after (fixes bug
3292         1225); also make sure that the language reset command is the first
3293         thing after the paragraph (to ensure proper nesting of
3294         environments and thus fix bug 1404)
3295
3296 2004-04-21  John Levon  <levon@movementarian.org>
3297
3298         * ToolbarBackend.h:
3299         * ToolbarBackend.C: make "name" be a programmatic name
3300         and a gui_name field.
3301
3302         * lyxfunc.C: display the minibuffer on M-x
3303
3304 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3305
3306         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3307         (bug 1526)
3308
3309 2004-04-19  Angus Leeming  <leeming@lyx.org>
3310
3311         * BufferView_pimpl.C (setBuffer): changed preview interface.
3312
3313         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3314         possible values.
3315
3316 2004-04-19  John Levon  <levon@movementarian.org>
3317
3318         * BufferView_pimpl.C:
3319         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3320
3321 2004-04-05  Angus Leeming  <leeming@lyx.org>
3322
3323         * text.C (redoParagraphs): add call to updateCounters(), thereby
3324         fixing the missing "Figure #:" label from the caption of a
3325         figure float.
3326
3327 2004-04-13  Angus Leeming  <leeming@lyx.org>
3328
3329         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3330         cursor is clicked out of an inset.
3331
3332 2004-04-13  Angus Leeming  <leeming@lyx.org>
3333
3334         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3335         than an InsetOld one.
3336
3337 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3338
3339         * format.[Ch]: add editor to Format
3340         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3341         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3342
3343 2004-04-08  André Pönitz  <poenitz@gmx.net>
3344
3345         * metricsinfo.h: remove PainterInfo::width member
3346
3347 2004-04-08  Angus Leeming  <leeming@lyx.org>
3348
3349         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3350         "\providecommand" rather than "\newcommand", thereby preventing
3351         clashes with packages that define "\boldsymbol" themselves.
3352         Eg, beamer.
3353
3354 2004-04-08  Angus Leeming  <leeming@lyx.org>
3355
3356         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3357         thereby squashing an unnecessary warning.
3358
3359 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3360
3361         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3362         setBuffer()
3363
3364 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * BufferView.C (setCursor): call redoParagraph (some insets could
3367         have been opened)
3368         (putSelectionAt): remove the 'double update' trick
3369
3370         * BufferView_pimpl.C (fitCursor): call refreshPar
3371         (workAreaDispatch): remove an uneeded update call
3372         (dispatch): remove some manual update calls
3373
3374         * cursor.[Ch]: remove cached_y_, updatePos
3375         (selHandle): set noUpdate when appropriate
3376
3377         * lyxfunc.C (dispatch): track if we need an update
3378
3379         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3380
3381         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3382         (paintSelection): cheap optimization, do not call cursorX when not
3383         needed
3384         (paintPars): change signature
3385         (refreshPar): add
3386         (paintText): adjust
3387         (paintTextInset): adjust
3388
3389         * text.C: adjust
3390
3391 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3392
3393         * lengthcommon.C: compilation fix: remove explicit array size from
3394         unit_name[] and friends
3395
3396 2004-04-05  Angus Leeming  <leeming@lyx.org>
3397
3398         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3399
3400         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3401         present only for the preferences dialog.
3402         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3403
3404 2004-04-05  Angus Leeming  <leeming@lyx.org>
3405
3406         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3407         to enable the frontends to export changes to lyxrc correctly.
3408
3409         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3410
3411 2004-04-07  André Pönitz  <poenitz@gmx.net>
3412
3413         * cursor.[Ch] (selClear, adjust): remove math
3414
3415         * cursor_slice.C: more agressive assert
3416
3417         * lyxfunc.C:
3418         * BufferView_pimpl.C: rework mouse event dispatch
3419
3420         * dociterator.C:
3421         * paragraph.C:
3422         * text2.C:
3423         * text3.C: adjust
3424
3425 2004-04-05  André Pönitz  <poenitz@gmx.net>
3426
3427         * cursor.[Ch] (valign, halign...): remove unneeded functions
3428
3429 2004-04-05  Angus Leeming  <leeming@lyx.org>
3430
3431         * lyxlength.[Ch] (unit_name et al.): const-correct.
3432
3433 2004-04-05  Angus Leeming  <leeming@lyx.org>
3434
3435         * BufferView_pimpl.C:
3436         * buffer.C:
3437         * counters.C:
3438         * cursor.C:
3439         * lyxfunc.C
3440         * paragraph.C:
3441         * pariterator.C:
3442         * text.C:
3443         * text2.C:
3444         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3445
3446 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3449
3450 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3451
3452         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3453         * BufferView_pimpl.[Ch] (getStatus)
3454         * BufferView.[Ch] (getStatus): add
3455         * lyxfunc.C (getStatus): move lfuns handled in
3456         BufferView::dispatch to te function above
3457         * Cursor.C (setSelection): set selection() = true
3458
3459 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3462
3463 2004-03-31  Angus Leeming  <leeming@lyx.org>
3464
3465         * lyxfunc.C (dispatch): Fall through to the generic
3466         Dialogs::show("preamble").
3467
3468 2004-03-31  Angus Leeming  <leeming@lyx.org>
3469
3470         * lyxfunc.C (dispatch): Fall through to the generic
3471         Dialogs::show("spellchecker").
3472
3473 2004-03-31  Angus Leeming  <leeming@lyx.org>
3474
3475         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3476         preferences dialog.
3477
3478 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3479
3480         * BufferView.C
3481         * cursor.[Ch]
3482         * dociterator.[Ch]:
3483         * insetiterator.[Ch]:
3484         * lyxfind.C:
3485         * lyxfunc.C:
3486         * pariterator.[Ch]:
3487         * text2.C:
3488         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3489
3490 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3491
3492         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3493         insets where we are putting the cursor.
3494
3495 2004-03-31  Angus Leeming  <leeming@lyx.org>
3496
3497         * lfuns.h:
3498         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3499
3500         * lyxrc.[Ch] (read, write): overloaded member functions taking
3501         a std::[io]stream arguments.
3502
3503         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3504
3505 2004-03-31  Angus Leeming  <leeming@lyx.org>
3506
3507         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3508         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3509
3510         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3511         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3512
3513 2004-03-31  Angus Leeming  <leeming@lyx.org>
3514
3515         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3516         the LFUN_ALL_INSETS_TOGGLE code.
3517
3518 2004-03-30  Angus Leeming  <leeming@lyx.org>
3519
3520         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3521         has died. Fall through to the generic Dialogs::show("document").
3522
3523 2004-03-30  Angus Leeming  <leeming@lyx.org>
3524
3525         * lfuns.h:
3526         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3527         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3528
3529         * lyxfunc.C (getStatus, dispatch): define the actions for these
3530         lfuns. Little more than a cut and pste job from ControlDocument.C
3531
3532         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3533
3534 2004-03-30  Angus Leeming  <leeming@lyx.org>
3535
3536         * lfuns.h:
3537         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3538         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3539
3540         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3541         open/closed state of ollapsable insets. Usage:
3542
3543         all-inset-toggle <state> <name>, where
3544         <state> == "open" || "closed" || "toggle" and
3545         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3546
3547         * lyxtext.h, text2.C (toggleInset): removed.
3548
3549         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3550         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3551         now passes LFUN_INSET_TOGGLE to the found inset.
3552
3553         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3554         is now invoked as "all-insets-toggle toggle branch".
3555
3556 2004-03-30  Angus Leeming  <leeming@lyx.org>
3557
3558         * dociterator.C:
3559         * insetiterator.C:
3560         * pariterator.[Ch]: added/corrected header blurb.
3561
3562 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3563
3564         * dociterator.[Ch]: add an inset_ member
3565         (backwardPos): implemented
3566         (backwardPos, forwardPos): use inset_ when the stack is empty.
3567         (doc_iterator_begin, doc_iterator_end): implemented
3568         * pariterator.[Ch]: adjust, add begin, end
3569         * insetiterator.[Ch]: adjust, add begin, end
3570         * cursor.C:
3571         * document.C:
3572         * BufferView.C:
3573         * BufferView_pimpl.C:
3574         * CutAndPaste.C: adjust
3575
3576 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3577
3578         * buffer.C: increment file format to 232.
3579         * LaTeXFeatures.C: add bibtopic package.
3580         * bufferparams.[Ch]: param \use_bibtopic.
3581
3582         * lyxrc.[Ch]: add lyxrc bibtex_command
3583         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3584
3585         * buffer.C: increment file format to 231.
3586
3587 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3588
3589         * dociterator.C: implement forwardPar
3590         * iterators.[Ch]: remove, replaced by
3591         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3592         * BufferView.C:
3593         * BufferView_pimpl.C:
3594         * CutAndPaste.C:
3595         * buffer.C:
3596         * bufferview_funcs.C:
3597         * cursor.C:
3598         * lyxfind.C
3599         * lyxfunc.C
3600         * paragraph_funcs.C
3601         * toc.C:
3602         * Makefile.am: adjust
3603
3604 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3605
3606         * CutAndPaste.C (pasteSelection): fix 2 crashes
3607         (eraseSelection): fix a crash
3608         * paragraph_funcs.C: remove a warning
3609
3610 2004-03-28  Angus Leeming  <leeming@lyx.org>
3611
3612         * lfuns.h:
3613         * LyXAction.C (init): new LFUN_PRINT.
3614
3615         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3616
3617 2004-03-27  Angus Leeming  <leeming@lyx.org>
3618
3619         * lfuns.h:
3620         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3621
3622         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3623
3624 2004-03-27  Angus Leeming  <leeming@lyx.org>
3625
3626         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3627         insetlist always contains non-null pointers to insets.
3628
3629 2004-03-26  Angus Leeming  <leeming@lyx.org>
3630
3631         * src/BufferView_pimpl.C:
3632         * src/CutAndPaste.C:
3633         * src/buffer.C:
3634         * src/iterators.C:
3635         * src/output_plaintext.C:
3636         * src/outputparams.h:
3637         * src/paragraph_funcs.C:
3638         * src/rowpainter.C:
3639         * src/text.C:
3640         * src/text2.C:
3641         * src/frontends/controllers/ControlErrorList.C:
3642         * src/frontends/gtk/FileDialogPrivate.C:
3643         * src/frontends/gtk/GPainter.C:
3644         * src/frontends/gtk/GToolbar.C:
3645         * src/frontends/qt2/QRef.C:
3646         * src/mathed/math_scriptinset.C: squash compiler warnings.
3647
3648 2004-03-26  Angus Leeming  <leeming@lyx.org>
3649
3650         * ispell.C (LaunchIspell::start):
3651         * lyx_cb.C (AutoSaveBuffer::start):
3652         invoke run(DontWait) rather than runNonBlocking().
3653
3654 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3655
3656         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3657
3658 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3659
3660         * kbsequence.C (print): adjust
3661
3662         * kbmap.C (printKeySym): rename and change signature
3663         (printKey): use LyXKeySym::print()
3664
3665 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3666
3667         * undo.C: add using std::advance to compile for stlport
3668
3669 2004-03-24  Angus Leeming  <leeming@lyx.org>
3670
3671         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3672         it leads to a crash when no buffer is present.
3673
3674 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3675             Martin Vermeer  <martin.vermeer@hut.fi>
3676
3677         * lyxfunc.C (dispatch):
3678         * bufferparams.C (readToken): use the new LColor::setColor
3679
3680         * LColor.[Ch] (setColor): new version that takes two strings as
3681         argument and creates a new color entry if necessary
3682
3683 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3684
3685         * buffer.C (makeLaTeXFile): if the main latex file that is
3686         processed is usually a subdocument of some master, then pretend
3687         for a while that it is actually the master
3688
3689 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3690
3691         * buffer.C (getLabelList):
3692         (getBibkeyList): use getMasterBuffer()
3693         (getMasterBuffer): new method. Returns the main document in the
3694         case where one is using included documents.
3695
3696 2004-03-25  André Pönitz  <poenitz@gmx.net>
3697
3698         * Makefile.am:
3699         * iterators.[Ch]:
3700         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3701
3702         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3703
3704         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3705         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3706
3707         * ParameterStruct.h: merge with ParagraphParameters
3708
3709         * lyxtext.h: remove LyXText::parOffset() and getPar()
3710
3711         * text3.C: Remove all 'manual' update calls. We do now one per user
3712         interaction which is completely sufficient.
3713
3714         * Bidi.C:
3715         * BufferView.[Ch]:
3716         * BufferView_pimpl.C:
3717         * FontIterator.[Ch]:
3718         * MenuBackend.C:
3719         * ParagraphParameters.[Ch]:
3720         * buffer.C:
3721         * buffer.h:
3722         * bufferlist.C:
3723         * cursor.[Ch]:
3724         * cursor_slice.[Ch]:
3725         * dociterator.[Ch]:
3726         * errorlist.[Ch]:
3727         * factory.C:
3728         * lfuns.h:
3729         * lyxfind.C:
3730         * lyxfunc.C:
3731         * output_docbook.[Ch]:
3732         * output_latex.[Ch]:
3733         * output_linuxdoc.[Ch]:
3734         * output_plaintext.[Ch]:
3735         * paragraph.[Ch]:
3736         * paragraph_funcs.[Ch]:
3737         * paragraph_pimpl.[Ch]:
3738         * rowpainter.C:
3739         * tabular.[Ch]:
3740         * text.C:
3741         * text2.C:
3742         * toc.C:
3743         * undo.[Ch]: adjust
3744
3745         * frontends/controllers/ControlDocument.C:
3746         * frontends/controllers/ControlErrorList.C:
3747         * frontends/controllers/ControlSpellchecker.C:
3748         * insets/inset.C:
3749         * insets/inset.h:
3750         * insets/insetbase.h:
3751         * insets/insetbibitem.C:
3752         * insets/insetbox.C:
3753         * insets/insetbranch.C:
3754         * insets/insetcaption.C:
3755         * insets/insetcharstyle.C:
3756         * insets/insetcharstyle.h:
3757         * insets/insetcollapsable.C:
3758         * insets/insetcollapsable.h:
3759         * insets/insetert.C:
3760         * insets/insetfloat.C:
3761         * insets/insetfoot.C:
3762         * insets/insetmarginal.C:
3763         * insets/insetnote.C:
3764         * insets/insetoptarg.C:
3765         * insets/insettabular.C:
3766         * insets/insettext.C:
3767         * insets/insettext.h:
3768         * insets/insetwrap.C:
3769         * mathed/math_mboxinset.C:
3770         * mathed/math_nestinset.C:
3771         * mathed/math_scriptinset.C:
3772         * mathed/math_scriptinset.h:
3773         * support/types.h:
3774
3775 2004-03-24  Angus Leeming  <leeming@lyx.org>
3776
3777         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3778         deal with any child processes that have finished but are waiting to
3779         communicate this fact to the rest of LyX.
3780
3781 2004-03-24  Angus Leeming  <leeming@lyx.org>
3782
3783         64-bit compile fixes.
3784
3785         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3786         (c-tor): pass lyx::pos_types rather than ints.
3787
3788         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3789         lyx::pos_type.
3790
3791         * text.C (Delete): compile fix.
3792         (getPar): ensure that function declaration is the same as that in
3793         the header file.
3794
3795 2004-03-23  Angus Leeming  <leeming@lyx.org>
3796
3797         * ispell.C (LaunchIspell):
3798         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3799         a boost::shred_ptr rather than a std::auto_ptr.
3800
3801 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3802
3803         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3804         handle LFUN_FILE_INSERT_*
3805
3806         * lyxrc.C (setDefaults, getDescription, output, read):
3807         * lyxrc.h: remove ps_command
3808
3809 2004-03-22  Angus Leeming  <leeming@lyx.org>
3810
3811         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3812         Ensure that error_handler is processed once only and that all data
3813         is saved before attempting to output any warning messages.
3814
3815         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3816
3817 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3820
3821 2004-03-19  André Pönitz  <poenitz@gmx.net>
3822
3823         * cursor.[Ch] (reset): take main text inset as argument
3824
3825         * BufferView: adjust
3826         * BufferView_pimpl.C: adjust
3827
3828         * paragraph.[Ch]: fix completely broken operator=()
3829
3830 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3831
3832         * LColor.C (getFromLyXName): make sure that the color name is used
3833         as lowercase.
3834
3835 2004-03-17  Angus Leeming  <leeming@lyx.org>
3836
3837         * lfuns.h:
3838         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3839
3840         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3841         dialog and to kill a forked process.
3842
3843 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * text2.C (setCursorFromCoordinates): fix font problem
3846
3847 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3850         bogus "rebuild cursor" code
3851
3852 2004-03-11  André Pönitz  <poenitz@gmx.net>
3853
3854         * buffer.[Ch]: use InsetText instead of LyXText as container for
3855         the main lyx text.
3856
3857         * dociterator.[Ch]: drop the BufferView * member which is not needed
3858         anymore after the change to buffer.C
3859
3860         * paragraph_funcs.C:
3861         * text.C:
3862         * text2.C:
3863         * BufferView.[Ch]:
3864         * BufferView_pimpl.[Ch]:
3865         * cursor.[Ch]:
3866         * cursor_slice.[Ch]: adjust
3867
3868         * text3.C: fix bug in mathDispatch
3869
3870 2004-03-08  André Pönitz  <poenitz@gmx.net>
3871
3872         * undo.[Ch]: use 'StableDocumentIterator' as base for
3873         the Undo struct.
3874
3875 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3876
3877         * LaTeXFeatures.C:
3878         * bufferparams.[Ch]: add jurabib support and param.
3879
3880         * LaTeX.C: add FIXME/comment.
3881
3882 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3883
3884         * buffer.C: increment file format to 230.
3885
3886 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3887
3888         * cursor.C (dispatch): avoid infinite loops
3889
3890 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3891
3892         * rowpainter.C (paintSelection): fix x coordinates
3893
3894 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3895
3896         * text.C (rowBreakPoint): fix breaking before displayed insets
3897
3898 2004-03-01  André Pönitz  <poenitz@gmx.net>
3899
3900         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3901
3902         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3903
3904         * Makefile.am:
3905         * BufferView.C:
3906         * BufferView_pimpl.C:
3907         * buffer.C:
3908         * lyxfind.C:
3909         * lyxfunc.C:
3910         * text.C:
3911         * text2.C:
3912         * text3.C: adjust
3913
3914 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3915
3916         * lyxtext.h:
3917         * text.C:
3918         * text2.C:
3919         * rowpainter.C:
3920         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3921         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3922
3923 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3924
3925         * Bidi.[Ch] (computeTables): const correctness
3926         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3927         fill_hfill, fill_label_hfill and x from Row
3928         * lyxtext.h: prepareToPrint returns a RowMetrics
3929         * rowPainter.C: adjust
3930         * text.C (prepareToPrint): use width, not textWidth. adjust
3931         (redoParagraphInternal, cursorX): adjust
3932         * text2.C (getColumnNearX): adjust
3933         (init): put a default value to the top LyXText::width
3934
3935 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3938
3939 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3940
3941         * lyxtext.h: add FontIterator class
3942
3943         * text.C (FontIterator, operator*, operator->, operator++): add
3944         (rowBreakPoint, setRowWidth): adjust (fixing a
3945         rebreaking bug)
3946
3947 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3948
3949         * BufferView_pimpl.C (workAreaDispatch): allow also
3950         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3951
3952 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3953
3954         * text.C (rowBreakPoint): fix a bug showing with very large insets
3955
3956 2004-02-25  André Pönitz  <poenitz@gmx.net>
3957
3958         * text3.C:
3959         * cursor.[Ch]: move some mathed specific code to mathed
3960
3961 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3962
3963         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3964         use_tempdir in preferences
3965         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3966         tempfile creation
3967         * lyx_main.C: ensure that tempdir is valid
3968         * lyxlex.h: correct typo
3969         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3970         * paragraph.[Ch] (isMultiLingual): make const
3971         * cursor.[Ch] (openable): make const
3972
3973 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3974
3975         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3976
3977 2004-02-20  André Pönitz  <poenitz@gmx.net>
3978
3979         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3980
3981         * cursor.[Ch]: prepare for localized getStatus()
3982
3983         * lyxtext.h:
3984         * tabular.C:
3985         * text.C:
3986         * text2.C:
3987         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3988
3989 2004-02-20  André Pönitz  <poenitz@gmx.net>
3990
3991         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3992
3993 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3994
3995         * text2.C (setCursorFromCoordinates): switch to absolute coords
3996         (cursorUp): adjust
3997         (cursorDown): adjust
3998         * text3.C (dispatch): adjust
3999
4000 2004-02-16  André Pönitz  <poenitz@gmx.net>
4001
4002         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4003           insets/ChangeLog)
4004
4005         * cursor_slice.[Ch]: remove unneeded acessor function
4006
4007         * lyxtext.h: rename rtl() to isRTL()
4008
4009         * rowpainter.C:
4010         * tabular.C:
4011         * text.C:
4012         * text2.C:
4013         * text3.C: adjust
4014
4015 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4016
4017         * rowpainter.C (paintSelection): coord fix
4018
4019 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4020
4021         * Spacing.C: compile fix
4022
4023 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * cursor.C (dispatch): restore current_ before returning
4026
4027 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4028
4029         * text2.C (cursorUp, cursorDown): fix coords
4030         (moveUp): fix crash
4031
4032 2004-02-12  André Pönitz  <poenitz@gmx.net>
4033
4034         * lyxtext.h:
4035         * text.C:
4036         * text2.C:
4037         * text3.C: add LCursor & parameter to most cursor movement functions
4038           remove usage of LyXText::cursorRow() and cursorPar()
4039
4040         * cursor.[Ch]: add textRow() needed members
4041
4042         * BufferView.C:
4043         * BufferView_pimpl.C:
4044         * paragraph.[Ch]:
4045         * BufferView.C:
4046         * BufferView_pimpl.C: adjust
4047
4048 2004-02-11  André Pönitz  <poenitz@gmx.net>
4049
4050         * lyxfunc.C:
4051         * BufferView.[Ch]:
4052         * BufferView_pimpl.C: shift undo/redo handling
4053
4054         * cursor.[Ch]: fix mathed crash
4055
4056         * lyxfind.C:
4057         * lyxtext.h: move selectionAsText to LCursor
4058
4059         * output_latex.C:
4060         * paragraph.C:
4061         * text.C:
4062         * text2.C:
4063         * text3.C: adjust
4064
4065         * rowpainter.C: fix excessive drawing
4066
4067 2004-02-06  André Pönitz  <poenitz@gmx.net>
4068
4069         * BufferView.[Ch]:
4070         * BufferView_pimpl.[Ch]:
4071         * text3.C: move some text specific LFUN handling
4072
4073 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4074
4075         * text3.C (checkInsetHit): adjust coords
4076         * text2.C (getColumnNearX): adjust coords
4077         (edit): adjust coords
4078         * text.C (getRowNearY): add two asserts
4079
4080 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * converter.C:
4083         * format.C: add using std::distance to compile on gcc 2.95/stlport
4084
4085 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4086
4087         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4088
4089 2004-02-04  André Pönitz  <poenitz@gmx.net>
4090
4091         * BufferView.[Ch] (insertInset):
4092         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4093
4094         * text2.C:
4095         * text3.C: adjust
4096
4097 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4098
4099         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4100         on the default clause of the switch
4101         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4102         wasn't catched by LCursor::dispatch
4103
4104 2004-02-03  André Pönitz  <poenitz@gmx.net>
4105
4106         * BufferView.C:
4107         * cursor.[Ch]: some additional asserts
4108
4109         * undo.[Ch]: remove LyXText dependency in interface
4110
4111         * lyxfunc.C: adjust
4112
4113         * lyxtext.h (firstPar, lastPar): remove dead functions
4114
4115         * text.C:
4116         * text2.C:
4117         * text3.C:
4118         * paragraph.[Ch]: adjust
4119
4120 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4121
4122         * lyxfind.C (find): fix argument order in call to ::find
4123
4124 2004-02-02  André Pönitz  <poenitz@gmx.net>
4125
4126         * cursor.[Ch]: remove direct access to anchor
4127
4128         * text.C: remove findText() hack
4129
4130 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * iterators.[Ch] (lockPath): remove in favour of...
4133         * BufferView.[Ch] (setCursor): this addition
4134         * BufferView.C (putSelectionAt): adjust
4135         * undo.C (performUndoOrRedo): adjust
4136         * lyxfunc.C (dispatch): adjust
4137
4138 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4139
4140         * iterators.C (lockPath): add a missing slice
4141         * undo.C (performUndoOrRedo): remove redundant positioning code
4142
4143 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * vc-backend.C (scanMaster): ";" -> ';'
4146
4147 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4150         std::binary_function
4151
4152         * lyxtextclass.C (compare_name): rename to...
4153         (LayoutNamesEqual): ...this
4154
4155         * lyxlex_pimpl.C (compare_tags): inherit from
4156         std::binary_function, put back into anon namespace
4157
4158         * lyxfind.C (MatchString): inherig from std::binary_function
4159         (findChange): use empty() istead of !size()
4160
4161         * format.C (FormatNamesEqual): new functor
4162         (getFormat): use it
4163         (getNumber): use it
4164         (add): use it
4165         (erase): use it
4166         (setViewer): use it
4167
4168         * converter.C (compare_Converter): rename to...
4169         (ConverterEqual): ...this, and fixup a bit.
4170         (getConverter): use it, and make function const
4171         (getNumber): use it, and make function const
4172         (add): use it
4173         (erase): use it:
4174
4175         * bufferlist.C: add using boost::bind
4176
4177         * MenuBackend.C (MenuNamesEqual): new functor
4178         (hasMenu): use it, and make function const
4179         (hasSubmenu): use nested bind to get rid of compare_memfun.
4180
4181 2004-01-30  André Pönitz  <poenitz@gmx.net>
4182
4183         * BufferView_pimpl.C:
4184         * cursor.C:
4185         * cursor.h:
4186         * cursor_slice.[Ch]:
4187         * lyxfunc.C:
4188         * lyxtext.h:
4189         * paragraph_funcs.C:
4190         * paragraph_funcs.h:
4191         * rowpainter.C:
4192         * text.C:
4193         * text2.C:
4194         * text3.C: move some of the edit(x,y) handling to the insets
4195         some coordinate changes.
4196
4197 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * text.C: add using statements for std::advance and std::distance
4200
4201         * paragraph.C: add using statement for std::distance
4202
4203         * lyxfind.C: add using statement for std::advance
4204
4205         * cursor.C (region): remove std:: from swap
4206         (openable): use nucleus in stead of operator->
4207
4208         * BufferView.C: add using statements for std::distance and std::swap
4209
4210 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * iterators.C: Remove the pimple, move the needed structures to
4213         the header file. Create accessor for the positions stack.
4214         (asPosIterator): remove function
4215
4216         * PosIterator.C (PosIterator): move constructors to top of file
4217         (PosIterator): reimplement the constructor taking a ParIterator in
4218         terms of setFrom.
4219         (setFrom): new function
4220         (operator!=): inline it
4221
4222 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * lyxfind.C (replaceAll): use std::advance
4225
4226         * iterators.h: inherit from std::iterator.
4227
4228         * PosIterator.C (advance, distance): remove
4229         * PosIterator.h: interit from std::iterator.
4230
4231 2004-01-26  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView.[Ch]:
4234         * BufferView_pimpl.[Ch]:
4235         * InsetList.[Ch]:
4236         * PosIterator.[Ch]:
4237         * buffer.h:
4238         * bufferview_funcs.C:
4239         * cursor.[Ch]:
4240         * cursor_slice.h:
4241         * factory.[Ch]:
4242         * iterators.[Ch]:
4243         * lyxfind.C:
4244         * lyxfunc.C:
4245         * lyxtext.h:
4246         * output_docbook.C:
4247         * output_latex.C:
4248         * output_linuxdoc.C:
4249         * output_plaintext.C:
4250         * paragraph.[Ch]:
4251         * paragraph_funcs.[Ch]:
4252         * paragraph_pimpl.[Ch]:
4253         * rowpainter.C:
4254         * tabular.C:
4255         * tabular.h:
4256         * text.C:
4257         * text2.C:
4258         * text3.C: more IU:  dumps most of the rest of the mathcursor
4259     implementation into cursor.[Ch]; "globalize" a bit of it.
4260
4261 2004-01-25  Angus Leeming  <leeming@lyx.org>
4262
4263         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4264
4265 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4266
4267         * LaTeXFeatures.h: add nice_ and nice() const
4268         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4269
4270 2004-01-20  André Pönitz  <poenitz@gmx.net>
4271
4272         * BufferView.[Ch]:
4273         * BufferView_pimpl.C:
4274         * PosIterator.C:
4275         * bufferview_funcs.C:
4276         * cursor.[Ch]:
4277         * cursor_slice.[Ch]:
4278         * factory.C:
4279         * iterators.C:
4280         * lyx_cb.C:
4281         * lyxfind.C:
4282         * lyxfunc.C:
4283         * lyxtext.h:
4284         * rowpainter.C:
4285         * text.C:
4286         * text2.C:
4287         * text3.C:
4288         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4289           LCursor and mathcursor parts to LCursor and InsetBase.
4290
4291 2004-01-15  André Pönitz  <poenitz@gmx.net>
4292
4293         * cursor_slice.[Ch]: add a few covienience functions
4294
4295         * funcrequest.[Ch]: remove BufferView * member
4296
4297         * BufferView_pimpl.C:
4298         * cursor.C:
4299         * factory.[Ch]:
4300         * lyxfind.[Ch]:
4301         * lyxfunc.C:
4302         * lyxtext.h:
4303         * text3.C:
4304         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4305
4306 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4307
4308         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4309         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4310
4311 2004-01-13  André Pönitz  <poenitz@gmx.net>
4312
4313         * textcursor.[Ch]:
4314         * lyxtext.h: hide cursor and selection anchor behind accessor function
4315
4316         * BufferView.C:
4317         * BufferView_pimpl.[Ch]:
4318         * PosIterator.C:
4319         * bufferview_funcs.C:
4320         * cursor.h:
4321         * lyxfind.C:
4322         * lyxfunc.C:
4323         * text.C:
4324         * text2.C:
4325         * text3.C:
4326         * undo.C: adjust
4327
4328         * cursor.h:
4329         * cursor_slice.[Ch]: some integer type changes for inset unification
4330
4331         * lyxcursor.[hC]: remove, it's CursorSlice now.
4332
4333         * Makefile.am:
4334         * BufferView_pimpl.[Ch]:
4335         * bufferview_funcs.C:
4336         * cursor_slice.C:
4337         * lyxtext.h:
4338         * text.C:
4339         * text2.C:
4340         * text3.C:
4341         * textcursor.[Ch]: adjust
4342
4343 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4344
4345         * text2.C (undoSpan): add and use
4346         * text.C (breakParagraph): use undoSpan (fix bug 578)
4347         * lyxtext.h: adjust
4348
4349 2004-01-08  Angus Leeming  <leeming@lyx.org>
4350
4351         * BufferView_pimpl.C (MenuInsertLyXFile):
4352         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4353         * lyxfunc.C (menuNew, open, doImport):
4354         FileFilterList change to the FileDialog open and save functions.
4355
4356 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * ShareContainer.h: make isEqual and isUnique adaptable
4359
4360         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4361
4362 2004-01-07  Angus Leeming  <leeming@lyx.org>
4363
4364         * LyXAction.C:
4365         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4366
4367         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4368
4369         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4370         functions replacing find, replace and replaceAll.
4371
4372         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4373         LFUN_WORDFIND(FORWARD|BACKWARD).
4374
4375 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4376
4377         * text.C (breakParagraph): remove an outdated #warning
4378
4379 2004-01-07  André Pönitz  <poenitz@gmx.net>
4380
4381         * lyxfind.C: somewhat clearer logic
4382
4383         * text.C: prevent crash in cursorX on unitialized row cache
4384
4385 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4386
4387         * lyxcursor.[Ch] (operator>): add
4388         * textcursor.C (selStart, selEnd): use std::min and std::max
4389
4390 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * Chktex.C: include boost/format.hpp
4393
4394 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * InsetList.C: replace functor MathcIt with adaptable functor
4397         InsetTablePosLess
4398         (insetIterator): modify accordingly
4399
4400         * BranchList.h: move the BranchNamesEqual functor here from...
4401         * BranchList.C: ... to here
4402
4403         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4404         SameName and match.
4405         (add): replace a finding loop with std::find_if.
4406
4407 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4408
4409         * output_docbook.C: moving LatexParam functionality into
4410         .layout files
4411
4412 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4413
4414         * buffer.C: increment format to 229.
4415
4416 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4417
4418         * LaTeXFeatures.C:
4419         * lyx_sty.[Ch]: remove minipageindent_def
4420
4421         * LyXAction.C:
4422         * factory.C:
4423         * lfuns.h:
4424         * lyxfunc.C:
4425         * text3.C: remove LFUN_INSET_MINIPAGE
4426
4427 2003-12-28  Angus Leeming  <leeming@lyx.org>
4428
4429         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4430
4431 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4432
4433         * text2.C (setParagraph): fix off-by-one crash
4434
4435 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4436
4437         * output_docbook.C: header stuff for AGU
4438
4439 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4440
4441         * text2.C (redoCursor): remove
4442         * text.C:
4443         * text3.C:
4444         * BufferView_pimpl.C: remove calls to redoCursor and
4445         setCursor(cursor.par(), cursor.pos()) all around
4446
4447 2003-12-15  Angus Leeming  <leeming@lyx.org>
4448
4449         * buffer.C: up the format to 228.
4450
4451 2003-12-15  André Pönitz  <poenitz@gmx.net>
4452
4453         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4454         slices
4455
4456         * Makefile.am:
4457
4458         * BufferView_pimpl.C:
4459         * cursor.[Ch]:
4460         * lyxcursor.[Ch]:
4461         * rowpainter.[Ch]:
4462         * lyxtext.h:
4463         * text.C:
4464         * text2.C:
4465         * text3.C: adjust
4466
4467 2003-12-15  Angus Leeming  <leeming@lyx.org>
4468
4469         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4470         than getFromGUIName to manipulate the color.
4471
4472 2003-12-14  Angus Leeming  <leeming@lyx.org>
4473
4474         * BranchList.[Ch]: minimize the API.
4475         (Branch::getBranch, getColor): now return a 'const &'.
4476         (Branch::setSelected) now returns a bool set to true if the
4477         selection status changes.
4478         (BranchList::clear, size, getColor, setColor, setSelected,
4479         allBranches, allSelected, separator): removed.
4480         (BranchList::find): new functions, returning the Branch with
4481         the given name.
4482         (BranchList::add, remove): return a bool indicating that
4483         the operation was successful.
4484
4485         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4486         new InsetBranch::isBranchSlected member function.
4487
4488         * LColor.[Ch]: mimimize the API.
4489         (fill): renamed as addColor and made private.
4490         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4491         versions of these functions taking a string arg have been removed.
4492
4493         * bufferparams.C (readToken):
4494         * lyxfunc.C (dispatch):
4495         * lyxrc.C (read): changes due to the altered BranchList and
4496         LColor APIs.
4497
4498         * factory.C (createInset, readInset): changes due to altered
4499         InsetBranch c-tor.
4500
4501 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4502
4503         * factory.C:
4504         * lyxfunc.C: remove insetminipage. "minipage-insert"
4505         now produces a frameless minipage box inset.
4506
4507 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4508
4509         * textcursor.[Ch] (selStart,selEnd): add new methods
4510         remove selection::start, end, use LyXCursor::operator<
4511         * lyxcursor.[Ch] (operator<): add
4512         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4513         * BufferView.[Ch] (unsetXSel): add
4514         * text2.C (clearSelection): use unsetXSel,adjust
4515         * text.C: adjust
4516         * text3.C: adjust
4517         * rowpainter.C: adjust
4518         * bufferview_funcs.C (put_selection_at): adjust
4519
4520 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4521
4522         * BufferView_pimpl.C: small coord. correction
4523
4524 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4525
4526         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4527         dragging over the splash screen.
4528
4529 2003-12-11  Angus Leeming  <leeming@lyx.org>
4530
4531         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4532         as it is now handled in LyXText::dispatch.
4533
4534         * text3.C (doInsertInset): remove a level of nesting.
4535
4536 2003-12-11  Angus Leeming  <leeming@lyx.org>
4537
4538         * factory.C (createInset): changes due to the changed interface to
4539         InsetCommandMailer::string2params.
4540
4541 2003-12-10  Angus Leeming  <leeming@lyx.org>
4542
4543         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4544         'dialog-show-new-inset <inset name>'
4545
4546 2003-12-10  Angus Leeming  <leeming@lyx.org>
4547
4548         * buffer.C: up the format to 227.
4549
4550         * factory.C: the box inset is now identified simply by 'Box'.
4551
4552 2003-12-10  Angus Leeming  <leeming@lyx.org>
4553
4554         * buffer.C: up the format to 226.
4555
4556         * factory.C: the note inset is now identified simply by 'Note'.
4557
4558 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4559
4560         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4561         when a pit is enough. Standarize a couple of loops.
4562
4563 2003-12-05  Angus Leeming  <leeming@lyx.org>
4564
4565         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4566         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4567         data to the re-worked "log" dialog.
4568
4569 2003-12-03  André Pönitz  <poenitz@gmx.net>
4570
4571         * PosIterator.C:
4572         * iterators.C:
4573         * lyxtext.h:
4574         * output_latex.C:
4575         * paragraph_funcs.C:
4576         * text.C:
4577         * text2.C: use Inset::getText instead of Inset::getParagraph
4578
4579 2003-12-03  André Pönitz  <poenitz@gmx.net>
4580
4581         * buffer.[Ch]:
4582         * lyxtext.h:
4583         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4584         InsetText::read() as LyXText::read()
4585
4586 2003-12-02  Angus Leeming  <leeming@lyx.org>
4587
4588         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4589         type. Add a comment in the implementation that the function uses
4590         the stream's bad() function rather than fail() as the std::streams
4591         would do.
4592
4593 2003-12-02  André Pönitz  <poenitz@gmx.net>
4594
4595         * lyxlex.[Ch]: make interface more similar to std::stream
4596
4597         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4598
4599 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4600
4601         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4602
4603 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4604
4605         * vspace.[Ch]: remove VSpace::NONE
4606
4607 2003-12-01  André Pönitz  <poenitz@gmx.net>
4608
4609         * buffer.[Ch]:
4610         * lyxtext.h: move ParagraphList member to LyXText
4611         rename LyXText::ownerParagraphs to LyXText::paragraph
4612
4613         * CutAndPaste.C:
4614         * bufferview_funcs.C:
4615         * iterators.[Ch]:
4616         * lyx_cb.C:
4617         * paragraph.C:
4618         * rowpainter.C:
4619         * tabular.C:
4620         * text.C:
4621         * text2.C:
4622         * text3.C: adjust
4623
4624         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4625
4626         * undo.C: fix cursor positioning
4627
4628 2003-12-01  John Levon  <levon@movementarian.org>
4629
4630         * BufferView_pimpl.C: fix a crash on exit with
4631         a buffer open
4632
4633 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4634
4635         * BranchList.C: fix setSelected() method.
4636
4637 2003-11-28  André Pönitz  <poenitz@gmx.net>
4638
4639         * ParagraphParameters.[Ch]:
4640         * ParameterStruct.h: remove space above/below from Paragraph to
4641          InsetVSpace
4642
4643         * BufferView_pimpl.C:
4644         * factory.C:
4645         * lyxfunc.C:
4646         * lyxtext.h:
4647         * output_latex.C:
4648         * paragraph.C:
4649         * paragraph_funcs.C:
4650         * rowpainter.[Ch]:
4651         * text.C:
4652         * text2.C:
4653         * text3.C: adjust
4654
4655 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4656
4657         * factory.C: Syntax change for CharStyles
4658
4659 2003-11-28  André Pönitz  <poenitz@gmx.net>
4660
4661         * BufferView.[Ch]:
4662         * BufferView.[Ch]:
4663         * buffer.[Ch]:
4664         * buffer.[Ch]: move LyXText member
4665
4666 2003-11-28  André Pönitz  <poenitz@gmx.net>
4667
4668         * BufferView.[Ch]: make LyXText * text a private member
4669
4670         * BufferView_pimpl.C:
4671         * cursor.C:
4672         * iterators.C:
4673         * lyx_cb.C:
4674         * lyxfind.C:
4675         * lyxtext.h:
4676         * rowpainter.[Ch]:
4677         * text.C:
4678         * text2.C:
4679         * undo.C: adjust
4680
4681         * output_plaintext.C: cleanup
4682
4683 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4684
4685         * buffer.C:
4686         * lyxtextclass.[Ch]: parametrize SGML document header
4687
4688 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4689
4690         * converter.[Ch]:
4691         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4692         getFlavor().
4693
4694 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4695
4696         * text2.C (setFont): rework using PosIterator (no more recursive)
4697         (setCharFont): no more needed
4698         (setLayout): no more selection cursors fiddling (done by redoCursor)
4699         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4700         destroy remaining ones)
4701
4702 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4703
4704         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4705         * lyxtext.h: ditto
4706         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4707         selection cursors
4708         * lyxfunc.C: adjust
4709         * text3.C: adjust + re-allow multi par depth changes
4710         * textcursor.C: simplify a bit
4711
4712 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4713
4714         * src/buffer.C:
4715         * src/lyxlayout.C:
4716         * src/lyxlayout.h:
4717         * src/lyxtext.h:
4718         * src/output_docbook.C:
4719         * src/output_latex.C:
4720         * src/paragraph.C:
4721         * src/paragraph.h:
4722         * src/sgml.C:
4723         * src/sgml.h:
4724         * src/text2.C: Introducing a number of tags parametrizing various
4725         XML formats that we may want to support
4726
4727 2003-11-25  André Pönitz  <poenitz@gmx.net>
4728
4729         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4730
4731         * lyxtext.h (leftMargin/rightMargin): simplify interface
4732
4733         * rowpainter.C:
4734         * text.C:
4735         * text2.C:
4736         * text3.C: adjust
4737
4738 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4739
4740         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4741         master file to any child files. Fixes bug 546.
4742
4743 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4744
4745         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4746
4747 2003-11-24  André Pönitz  <poenitz@gmx.net>
4748
4749         * rowpainter.C: simplification
4750
4751         * text2.C (updateCounters): remove call to redoParagraph on
4752         changed labels as this is far too expensive.
4753
4754 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4755
4756         * converter.C (convert): fix a crash: this function gets
4757         called with buffer == 0 from importer code.
4758
4759 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * text3.C (cursorPrevious): make sure that we do not compare
4762         iterators form different containers.
4763         (cursorNext): ditto
4764
4765         * rowpainter.C (paintSelection): make sure that we do not compare
4766         iterators from different containers.
4767
4768         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4769         iterators from different ParagraphList containers.
4770         [NEXT] ditto
4771
4772         * text2.C (LyXText): change order of initialization slightly
4773         (operator=): new function. copy all variables except cache_par_
4774         (moveUp): make sure that we do not compare iterators from
4775         different ParagraphList constainers.
4776         (moveDown): ditto
4777
4778         * text.C (firstPar): new function
4779         (lastPar): new function
4780         (endPar): new function
4781
4782         * lyxtext.h: move things around and group public functions, public
4783         variables, private functions, private variables
4784
4785 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4786
4787         * factory.C: change call to InsetERT constructor to avoid
4788         additional invocation of method status
4789         * text2.C (toggleInset): remove redundant update() call
4790         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4791         instead of a Bufferview pointer
4792
4793 2003-11-21  André Pönitz  <poenitz@gmx.net>
4794
4795         * rowpainter.C: simplification
4796
4797 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4798
4799         * text3.C (dispatch): make possible to extend a word/row selection
4800         with the mouse
4801
4802 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4803
4804         * lyxtext.h: x0_,y0_ -> xo_,yo_
4805         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4806         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4807         * rowpainter.C (paintRows): paint full paragraphs
4808
4809 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4810
4811         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4812         screen coordinates)
4813
4814 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4815
4816         * lyxtext.h: add x0_, y0_
4817         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4818         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4819
4820 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4821
4822         * text2.C (setCursorIntern): move the x_target update here *
4823         * text3.C: change some bv() to true/false in calls to
4824         cursorUp/Down/Right/Left
4825         * cursor.C: use helper function.
4826
4827 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4828
4829         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4830         * paragraph_funcs.[Ch]: correct comment
4831         * rowpainter.C: do not paint selections away from bv->cursor()
4832         Fix a long standing selection painting bug.
4833         * text3.C: generalize mouse-selection code to LyXTexts other that
4834         top one
4835         * textcursor.C: do not use y coords if we can use par offsets
4836
4837 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4838
4839         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4840         cursor position after e.g. inset insert)
4841
4842 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4843
4844         * lyxfind.C (replace): adjust to locking removal + some
4845         code simplification
4846
4847 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4848
4849         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4850         of the path
4851
4852 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4853
4854         * lyxlayout.[Ch]:
4855         * output_docbook.C: XML sanitation: new layout
4856         parameters InnerTag and CommandDepth
4857
4858 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4859
4860         * BufferView_pimpl.C:
4861         * factory.C:
4862         * text3.C: Fix the insertion and modification of button-style
4863         insets
4864
4865 2003-11-13  André Pönitz  <poenitz@gmx.net>
4866
4867         * InsetList.[Ch]: remove deleteLyXText
4868
4869         * paragraph.[Ch]: cache beginOfBody position
4870
4871         * Bidi.C:
4872         * text.C:
4873         * text2.C:
4874         * text3.C: remove superfluous update() calls
4875
4876         * vspace.C: cleanup
4877
4878 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4879
4880         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4881         * BufferView.C (fitLockedInsetCursor): remove
4882         * cursor.[Ch] (getDim): add
4883         * text.C (getRowNearY): add faster version
4884         * text3.C: remove some update calls
4885
4886 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4887
4888         * LaTeXFeatures.C:
4889         * LyXAction.C:
4890         * MenuBackend.C:
4891         * MenuBackend.h:
4892         * dispatchresult.h:
4893         * factory.C:
4894         * lfuns.h:
4895         * lyxfunc.C:
4896         * lyxtextclass.C:
4897         * lyxtextclass.h:
4898         * text3.C: The Character Style /XML short element patch.
4899
4900 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4901
4902         * text3.C:
4903         * factory.C: Small step to solving 'unable to insert some insets'
4904         problem
4905
4906 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4907
4908         * cursor.[Ch] (updatePos): new function for updating the y
4909         position of the tip inset
4910         * bufferview_funcs.C (put_selection_at):
4911         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4912
4913 2003-11-11  André Pönitz  <poenitz@gmx.net>
4914
4915         * text.C: remove big comment on invalid Paragraph pointers as it is
4916         not valid anymore
4917
4918 2003-11-11  André Pönitz  <poenitz@gmx.net>
4919
4920         * text_funcs.[Ch]: merge with ...
4921
4922         * text.C: ... this
4923
4924         * lyxtext.h:
4925         * text2.C:
4926         * text3.C: adjust
4927
4928         * Makefile.am: remove text_funcs.[Ch]
4929
4930 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * cursor.C (getPos): return absolute cached y coord
4933
4934         * BufferView_pimpl.C (fitCursor): new simplistic code
4935         (workAreaDispatch): add a fitCursor call
4936
4937 2003-11-10  André Pönitz  <poenitz@gmx.net>
4938
4939         * BufferView.[Ch]:
4940         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4941
4942 2003-11-10  André Pönitz  <poenitz@gmx.net>
4943
4944         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4945         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4946         indicate that the cursor needs to leave an inset
4947
4948         * lyxtext.h: remove inset locking
4949
4950         * cursor.[Ch]: re-implement functionality provided by inset locking
4951
4952         * BufferView.[Ch]:
4953         * BufferView_pimpl.[Ch]:
4954         * LyXAction.C:
4955         * bufferview_funcs.[Ch]:
4956         * factory.C:
4957         * funcrequest.[Ch]:
4958         * iterators.C:
4959         * lyx_cb.C:
4960         * lyxfind.C:
4961         * lyxfunc.C:
4962         * text.C:
4963         * text2.C:
4964         * text3.C:
4965         * undo.C: adjust
4966
4967 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4968
4969         * PosIterator.[Ch]: replace the stack with a vector, add inset
4970         accesor
4971         * iterators.[C]: adjust
4972
4973 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4976         replaced
4977         * paragraph_funcs.C (readParToken): put the correct id in the
4978         error item, not the id of the top paragraph
4979
4980 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4983         * bufferview_funcs.C (put_selection_at): use the above
4984
4985 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4988
4989 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4990
4991         * output_linuxdoc.h:
4992         * output_plaintext.h:
4993         * output.h:
4994         * output_docbook.h: add #include statements
4995
4996 2003-11-05  José Matos  <jamatos@lyx.org>
4997
4998         * output_docbook.[Ch]:
4999         * output_latex.[Ch]:
5000         * output_linuxdoc.[Ch]:
5001         * output_plaintext.[Ch]: New files for output formats.
5002         * output.[Ch]: New file for helper functions.
5003
5004         * buffer.[Ch]:
5005         * paragraph_funcs.[Ch]: output functions moved to new files.
5006
5007         * outputparams.h: rename of latexrunparams.h
5008
5009         * LaTeX.[Ch]:
5010         * buffer.[Ch]:
5011         * bufferlist.[Ch]:
5012         * converter.[Ch]:
5013         * exporter.C:
5014         * paragraph.[Ch]:
5015         * paragraph_funcs.[Ch]:
5016         * paragraph_pimpl.[Ch]:
5017         * tabular.[Ch]: rename ascii to plaintext
5018         and LatexRunParams to OutputParams.
5019
5020 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * iterators.[Ch] (text): require bv argument
5023         * undo.C (recordUndo):
5024         * lyxfunc.C (dispatch):
5025         * bufferview_funcs.C (put_selection_at): adjust
5026
5027 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5028
5029         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5030
5031 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5034         nestings
5035
5036 2003-11-04  André Pönitz  <poenitz@gmx.net>
5037
5038         * cursor.[Ch]: restructure
5039
5040         * BufferView.[Ch]:
5041         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5042
5043         * iterators.[Ch] (asCursor): remove
5044
5045         * lfuns.h: remove LFUN_INSET_EDIT
5046
5047         * lyxfunc.C:
5048         * tabular.C:
5049         * text.C:
5050         * text2.C:
5051         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5052
5053 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * lyxfind.[Ch]: complete overhaul
5056         * BufferView_pimpl.C:
5057         * lyxfunc.C: adjust
5058         * paragraph.[Ch] (insert): add
5059
5060 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5061
5062         * BufferView.[Ch]:
5063         * lyxtext.h:
5064         * text.C: remove dead spellcheck code
5065
5066 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * dispatchresult.h: add a val setter
5069
5070         * cursor.C (dispatch): use a tempvar for data_[i]
5071
5072 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * PosIterator.[Ch]: compile fix
5075
5076 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * text.C (cursorPar): deactivate the cursor cache
5079
5080 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5081
5082         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5083
5084 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * text3.C (dispatch): adjust for new DisptchResult semantics.
5087
5088         * lyxfunc.C (dispatch): handle update when return from
5089         Cursor::dispatch, adjust for new DispatchResult semantics.
5090
5091         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5092         DispatchResult(true) mean to not update. Add class functions for
5093         setting dispatched and update, as well as reading.
5094
5095         * cursor.C (dispatch): don't handle update here
5096
5097 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5100         * trans_mgr.C: adjust
5101
5102         * paragraph_funcs.C (readParToken): exception safety
5103
5104         * lyxvc.h: store the vcs pointer in a scoped_ptr
5105         * lyxvc.C: adjust
5106
5107         * lyxsocket.C (serverCallback): exception safety
5108
5109         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5110
5111         * ispell.C (clone): make it return a auto_ptr
5112
5113         * factory.C (createInset): exception safety
5114         (readInset): exception safety
5115
5116         * bufferlist.C (newBuffer): exception safety
5117
5118         * Thesaurus.C (Thesaurus): use initialization for aik_
5119
5120         * MenuBackend.C (expandToc): exception safety.
5121
5122 2003-11-03  André Pönitz  <poenitz@gmx.net>
5123
5124         * buffer.C:
5125         * buffer.h:
5126         * bufferview_funcs.C: remove getInsetFromId()
5127
5128         * lyxcursor.[Ch]:
5129         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5130
5131         * lyxfunc.C:
5132         * text2.C:
5133         * text3.C: adjust
5134
5135 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * PosIterator.C (distance, advance): new
5138         * bufferview_funcs.[Ch] (put_selection_at): new
5139         * iterators.[Ch] (lockPath): new
5140
5141 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5142
5143         * iterators.[Ch] (asPosIterator): added
5144         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5145         * PosIterator.[Ch]: added
5146
5147 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * text3.C:
5150         * lyxfunc.C:
5151         * cursor.C (dispatch):
5152         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5153
5154         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5155         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5156         contructor, add a class function dispatched. Remove operator>=
5157
5158 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * debug.C: only use the default constructor for debugstream
5161         (lyxerr) here.
5162
5163         * main.C (main): include debug.h and setup the lyxerr streambuf
5164         here.
5165
5166 2003-10-31  José Matos  <jamatos@lyx.org>
5167
5168         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5169
5170         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5171         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5172         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5173         * paragraph_pimpl.C (simpleTeXSpecialC):
5174         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5175         add LatexRunParams argument.
5176
5177         * exporter.C (Export): change call accordingly.
5178
5179         * latexrunparams.h: add new member to take care of the other backends.
5180 2003-10-30  José Matos  <jamatos@lyx.org>
5181
5182         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5183         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5184         factorise code for paragraph output.
5185         * buffer.[Ch]:
5186         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5187         move functions.
5188
5189 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5190
5191         * text3.C (dispatch):
5192         * lyxfunc.C (dispatch):
5193         * cursor.C (dispatch):
5194         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5195
5196         * dispatchresult.h: make the dispatch_result_t ctor explicit
5197
5198 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5199
5200         * sgml.[Ch]:
5201         * buffer.C: small refactoring of docbook stuff
5202
5203 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5206         meaning.
5207
5208 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5211         operator dispatch_result_t, and operators for == != and >=
5212
5213         * cursor.C (dispatch): adjust for operator dispatch_result_t
5214         removal. comment out call to update
5215
5216         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5217
5218 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * text3.C:
5221         * text2.C:
5222         * text.C:
5223         * lyxtext.h:
5224         * lyxfunc.C:
5225         * cursor.C:
5226         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5227         (dispatch):
5228
5229         * dispatchresult.h: new file, DispatchResult broken out of
5230         insets/insetbase.h
5231
5232         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5233
5234 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * text.C (rowBreakPoint): put a hack inside #if 0
5237
5238 2003-10-28  André Pönitz  <poenitz@gmx.net>
5239
5240         * lyxtext.h:
5241         * metricsinfo.C:
5242         * paragraph_funcs.C:
5243         * rowpainter.C:
5244         * text.C:
5245         * text2.C: general cleanup (lots of small stuff)
5246
5247 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * text2.C (cursorEnd): simple fix to the "end key goes to one
5250         before the end on last row" bug
5251
5252 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * text.C (backspace): fix the "zombie characters"
5255
5256 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5257
5258         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5259
5260 2003-10-27  André Pönitz  <poenitz@gmx.net>
5261
5262         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5263
5264         * factory.C: handle new InsetPagebreak, InsetLine
5265
5266         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5267         and move handling into new InsetPagebreak, InsetLine
5268
5269         * BufferView_pimpl.C:
5270         * LyXAction.C:
5271         * ParagraphParameters.C:
5272         * ParameterStruct.h:
5273         * lyxfunc.C:
5274         * lyxtext.h:
5275         * paragraph.C:
5276         * paragraph.h:
5277         * paragraph_funcs.C:
5278         * paragraph_pimpl.C:
5279         * rowpainter.C:
5280         * text.C:
5281         * text2.C:
5282         * text3.C: adjust
5283
5284 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * text.C:
5287         * lyxrow_funcs.[Ch]:
5288         * Bidi.C:
5289         * paragraph.C:
5290         * lyxtext.h:
5291         * rowpainter.C:
5292         * text2.C:
5293         * text3.C: remove lastPos uses in favour of Row::endpos
5294
5295 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * undo.C (performUndoOrRedo): fix two crashes by setting a
5298         cursor by hand and reordering some calls. Use bv->lockInset instead
5299         of inset->edit because the latter loses cursor information
5300
5301 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5302
5303         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5304         by Martin
5305         (rowBreakPoint): fix width. change point to point + 1.
5306         Add a missing check.
5307
5308 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5309
5310         * MenuBackend.C:
5311         * lyxfunc.C: fix (at least partly) the problems
5312         with the Nav menu and headers inside branch insets
5313         reported by Kayvan
5314
5315 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5316
5317         * paragraph.C (getChar): add strong asserts
5318
5319         * lyxrow_funcs.C (lastPos): remove hideous hack
5320
5321         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5322         (fill): adjust to that (avoid an infinite loop)
5323
5324 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5325
5326         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5327
5328 2003-10-23  André Pönitz  <poenitz@gmx.net>
5329
5330         * RowList_fwd.h: change list<> to vector<> to gain speed
5331         after suggestion from Alfredo
5332
5333 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5334
5335         * lyxtext.h: move the bidi stuff from here...
5336         * text.C: and here
5337         * text2.C: and here
5338         * Bidi.[Ch]: ... to here
5339
5340 2003-10-23  André Pönitz  <poenitz@gmx.net>
5341
5342         * lyxtext.h:
5343         * text.C (isLastRow, isFirstRow): new functions
5344
5345         * paragraph.h: new width cache member
5346
5347         * rowpainter.C: replace RowList::iterator with Row & where possible
5348
5349         * lyxfunc.C: replace several view()->text with a single call
5350
5351         * toc.C: fix 'unused' warning
5352
5353 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5356         when woring with stream::pos_type
5357         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5358
5359 2003-10-22  André Pönitz  <poenitz@gmx.net>
5360
5361         * lyxtext.h:
5362         * text.C: use Row & instead of RowList::iterator
5363
5364         * lyxrow.h: rename end() to endpos()
5365
5366         * rowpainter.C:
5367         * text.C:
5368         * text2.C: adjust
5369
5370 2003-10-22  Angus Leeming  <leeming@lyx.org>
5371
5372         * buffer.[Ch] (fully_loaded): new member function, returning true
5373         only when the file has been loaded fully.
5374         Used to prevent the premature generation of previews and by the
5375         citation inset to prevent computation of the natbib-style label.
5376
5377         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5378         templates are all set up.
5379
5380         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5381
5382 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5383
5384         * text.C: fixed an "oops" in the "is a bit silly"
5385         bug fix
5386
5387 2003-10-21  André Pönitz  <poenitz@gmx.net>
5388
5389         * FuncStatus.[Ch]: small stuff, whitespace
5390
5391         * lyxfont.[Ch]: operator<<() for debug reasons
5392
5393         * lyxfunc.C:
5394         * lyxrow_funcs.C:
5395         * lyxtext.h: whitespace, spelling
5396
5397         * paragraph.C: naming of variables
5398
5399         * text.C:
5400         * text2.C: small stuff
5401
5402
5403 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5404
5405         * text.C: (1) finish off the inset display() work;
5406         (2) fix the "is a bit silly" bug (accessing char
5407         past end of par).
5408
5409 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5410
5411         * text.C: re-introduce display() for insets, fixing the
5412         various bugs (stretch of line above, math inset
5413         positioning, ...)
5414
5415 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5416
5417         * text.C (rightMargin): remove spurious semicolon
5418
5419         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5420         1415)
5421
5422 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5423
5424         * text3.C: fix one crash due to wrong cursor def
5425
5426 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * vc-backend.C (scanMaster): make the regex static
5429
5430         * LaTeX.C (scanAuxFile): make the regexs static
5431
5432         * text3.C (doInsertInset, dispatch, dispatch):
5433         * text2.C (cursorUp, cursorDown):
5434         * text.C (selectNextWordToSpellcheck):
5435         * BufferView_pimpl.C (dispatch):
5436         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5437
5438 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5439
5440         * lyxsocket.C: include <cerrno>
5441
5442 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * lyxfunc.C (dispatch): remove textcache stuff
5445
5446         * bufferlist.C (release): remove textcache stuff
5447         (closeAll): ditto
5448
5449         * TextCache.C: delete file
5450         * TextCache.h: delete file
5451
5452         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5453
5454         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5455         delete of the bv_->text.
5456         (resizeCurrentBuffer): remove texcache stuff
5457         (workAreaResize): ditto
5458
5459 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5462         action.
5463
5464 2003-10-16  André Pönitz  <poenitz@gmx.net>
5465
5466         * lyxrow.[Ch]:
5467         * paragraph.h:
5468         * rowpainter.C:
5469         * text.C:
5470         * text2.C:
5471         * text3.C: speed up by storing y positions per paragraph plus per-row
5472         offset instead of having a 'full' y position in the row.
5473
5474 2003-10-15  André Pönitz  <poenitz@gmx.net>
5475
5476         * iterators.[Ch]:
5477         * iterators.[Ch]:
5478         * undo.[Ch]: make undo aware of inner insets
5479
5480 2003-10-14  Angus Leeming  <leeming@lyx.org>
5481
5482         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5483         static member functions LyX::ref() and LyX::cref.
5484         (lastfiles): new accessor functions for the new lastfiles_ member var.
5485         (addLyXView, views_): add a new LyXView to the list of views_.
5486         (updateInset): loop over all LyXViews to call their own updateInset
5487         member function, returning a pointer to the Buffer owning the inset.
5488
5489         * BufferView_pimpl.C (loadLyXFile):
5490         * MenuBackend.C (expandLastfiles):
5491         * bufferlist.C (MenuWrite, QuitLyX):
5492         lastfiles is no longer a global variable.
5493         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5494
5495         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5496         static function. Access through LyX::cref().emergencyCleanup().
5497
5498 2003-10-14  André Pönitz  <poenitz@gmx.net>
5499
5500         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5501
5502         * undo.[Ch]: restoring part of 'undo in insets'
5503
5504         * Makefile.am:
5505         * undo_funcs.[Ch]: merge with undo.[Ch]
5506
5507         * tabular.C: small cleansing stuff
5508
5509 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5510
5511         * paragraph_funcs.C (readParToken): report unknown insets as error
5512         boxes. Use the outer paragraph as location (also for unknown
5513         tokens).
5514
5515         * factory.C (readInset): do not abort on reading an unknown inset.
5516         Eat it and return 0.
5517
5518 2003-10-13  Angus Leeming  <leeming@lyx.org>
5519
5520         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5521
5522         * lyxrc.C: displayTranslator is now a function,
5523         declared in GraphicsTypes.h.
5524
5525 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5526
5527         * format.C: new placeholder $$a to pass the socket address.
5528
5529         * bufferlist.[Ch]: new function getBufferFromTmp.
5530
5531         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5532           files in the temporary dir.
5533
5534 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5535
5536         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5537
5538         * Makefile.am: add lyxsocket.[Ch].
5539
5540         * lyx_main.C (error_handler): handle SIGPIPE.
5541
5542 2003-10-13  André Pönitz  <poenitz@gmx.net>
5543
5544         * BufferView_pimpl.C:
5545         * lyxtext.h:
5546         * text.C:
5547         * text2.C:
5548         * text3.C:
5549         * undo_funcs.[Ch]: use paroffset_type instead of
5550           ParagraphList::iterators to prevent multiple conversion
5551           (and get a more robust interface)
5552
5553 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5556         * lyxtext.h: ditto
5557         * text3.C (dispatch): ditto
5558
5559 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5562         move the onlyfile, use onlyfile instead of foundfile in a couple
5563         of places.
5564
5565         * DepTable.C (update): flush the error stream a bit more
5566
5567 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * lyxserver.C (callback): adjust
5570
5571         * lyxfunc.C (getStatus): add a missing brace in commented code
5572         (ensureBufferClean): reindent
5573         (dispatch): delete version taking a string
5574
5575 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * LaTeX.C (deplog): move found file handlig from here...
5578         (handleFoundFile): .. to new function here.
5579         (deplog): make sure to discover several files mentioned on the
5580         same log line.
5581
5582 2003-10-10  André Pönitz  <poenitz@gmx.net>
5583
5584         * lyxfunc.C:
5585         * lyxtext.h:
5586         * tabular.C:
5587         * text.C:
5588         * text2.C:
5589         * text3.C: fix some of the tabular crashes
5590
5591 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5592
5593         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5594
5595         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5596
5597 2003-10-09  André Pönitz  <poenitz@gmx.net>
5598
5599         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5600
5601         * BufferView.C:
5602         * BufferView_pimpl.C:
5603         * bufferview_funcs.C:
5604         * lyx_cb.C:
5605         * lyxcursor.C:
5606         * lyxfind.C:
5607         * lyxfunc.C:
5608         * lyxtext.h:
5609         * text.C:
5610         * text2.C:
5611         * text3.C:
5612         * text_funcs.[Ch]:
5613         * textcursor.[Ch]:
5614         * undo_funcs.C: adjust
5615
5616 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * text2.C (incrementItemDepth): new function, use a backtracking
5619         algorithm to discover the correct item depth.
5620         (resetEnumCounterIfNeeded): new function, use a backtracking
5621         algorithm to discover if counter reset is needed.
5622         (setCounter): use them. Simplify a bit. Add different labels for
5623         different item depths for itemize.
5624
5625         * paragraph.C (Paragraph): remove initialization of enumdepth
5626         (operator=): ditto
5627
5628         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5629         enumerate and itemize. Change the type of itemdepth to signed char.
5630
5631 2003-10-08  André Pönitz  <poenitz@gmx.net>
5632
5633         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5634           thing assignable.
5635         * text.C:
5636         * text2.C: adjust
5637
5638         * tabular.[Ch]: fix crash after 'row-insert'
5639
5640 2003-10-08  Angus Leeming  <leeming@lyx.org>
5641
5642         Fix doxygen warnings.
5643
5644         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5645         Remove CutAndPaste:: prefix from header file declaration.
5646
5647         * LColor.h (fill): remove LColor:: prefix from declaration.
5648
5649         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5650         use lyx::depth_type rather than Paragraph::depth_type so that
5651         header file and .C file match.
5652
5653         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5654
5655         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5656         * aspell.C: \file aspell_local.C -> \file aspell.C
5657         * gettext.C: \file gettext.C -> \file src/gettext.C
5658         * gettext.h: \file gettext.h -> \file src/gettext.h
5659         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5660         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5661         * text.C: \file text.C -> \file src/text.C
5662
5663         * toc.C: move comment so that doxygen is not confused.
5664
5665 2003-10-07  Angus Leeming  <leeming@lyx.org>
5666
5667         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5668
5669 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5670
5671         * aspell.C:
5672         * aspell_local.h: add forgotten std::string's.
5673
5674 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5675
5676         * LaTeXFeatures.C:
5677         * LyXAction.C:
5678         * factory.C:
5679         * lfuns.h:
5680         * lyxfunc.C:
5681         * text3.C: The Box patch. Fancybox support, minipage, parbox
5682
5683 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5684
5685         * CutAndPaste.h:
5686         * DepTable.h:
5687         * FloatList.h:
5688         * LaTeXFeatures.h:
5689         * ParagraphParameters.h:
5690         * TextCache.h:
5691         * Thesaurus.h:
5692         * bufferlist.h:
5693         * exporter.h:
5694         * importer.h:
5695         * lastfiles.h:
5696         * lyxfind.h:
5697         * lyxfont.h:
5698         * lyxlex.h:
5699         * lyxtextclasslist.h:
5700         * messages.h:
5701         * paragraph.h:
5702         * paragraph_pimpl.C:
5703         * textcursor.h: add <string> and other small fixes to make Lars'
5704         std::string patch compile with STLport.
5705
5706 2003-10-06  Angus Leeming  <leeming@lyx.org>
5707
5708         * LColor.h: Add missing #include <string>.
5709
5710 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * All most all file in all subdirs: Make <string> be the prefered
5713         way of getting to std::string, add using declarations.
5714
5715 2003-10-06  André Pönitz  <poenitz@gmx.net>
5716
5717         * metricsinfo.C: initialize LyXFont before changing attribute.
5718         (fixes the 'math in \emph is upright' bug)
5719
5720 2003-10-06  André Pönitz  <poenitz@gmx.net>
5721
5722         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5723
5724 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5725
5726         * graph.C:
5727         * paragraph_pimpl.C: Small fixes to build using STLport
5728
5729 2003-10-02  André Pönitz  <poenitz@gmx.net>
5730
5731         * lyxfunc.C:
5732         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5733
5734 2003-10-01  André Pönitz  <poenitz@gmx.net>
5735
5736         * factory.C: assert early
5737
5738 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * lyx_main.C: remove the global debug object
5741
5742         * debug.h: adjust for new debugstream
5743
5744         * debug.C: adjust for new debugstream and keep the global debug
5745         object here.
5746
5747 2003-09-22  Angus Leeming  <leeming@lyx.org>
5748
5749         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5750         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5751         an incomplete class LyXFont.
5752
5753 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5754
5755         * factory.C: bug fix in branches
5756
5757 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * lyxfunc.C (processKeySym): adjust
5760         (dispatch): adjust
5761         (dispatch): change arg name from ev to func, adjust
5762         (sendDispatchMessage): ditto
5763
5764         * lyx_main.C (defaultKeyBindings): adjust keybindings
5765         (deadKeyBindings): ditto
5766
5767         * kbsequence.C (addkey): return a FuncRequest
5768
5769         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5770
5771         * kbmap.C (bind): take a FuncRequest as arg, adjust
5772         (read): adjust
5773         (lookup): adjust
5774         (defkey): change to take a FuncRequest as arg, adjust
5775         (findbinding): take a FuncRequest as arg, adjust.
5776
5777         * funcrequest.h (operator=): added
5778
5779         * funcrequest.C (FuncRequest): default kb_action changed from
5780         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5781
5782         * buffer.C (dispatch): simplify
5783         (dispatch): adjust to take a FuncRequest as arg, adjust
5784
5785         * boost.C (assertion_failed): change assertion message slightly
5786
5787         * ToolbarBackend.C (read): simplify
5788
5789         * MenuBackend.C (binding): adjust call to findbinding, add a
5790         message if no binding is found.
5791         (read): simplify
5792         (expandToc): correct by adding a empty FuncRequest
5793
5794         * LyXAction.C: include <boost/assert.hpp>
5795         (isPseudoAction): delete function
5796         (LookupFunc): change name to...
5797         (lookupFunc): this. change return type to FuncRequest.
5798         (getActionName): take kb_action as arg, simplify
5799         (funcHasFlag): add an assert, simplify.
5800
5801 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * toc.C (action): return a FuncRequest, simplify
5804
5805         * lyxfunc.C (processKeySym): adjust
5806         (getStatus): delete version that takes an int.
5807         (getStatus): adjust
5808         (dispatch): delete version that takes action as int
5809         (dispatch): adjust
5810         (sendDispatchMessage): simplify and adjust
5811
5812         * funcrequest.C (getArg): take unsigned int as arg
5813
5814         * ToolbarBackend.C (read): adjust
5815         (add): delete version that takes func as a string.
5816         (getIton): take a FuncRequest as arg
5817
5818         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5819         action.
5820
5821         * MenuBackend.C (MenuItem): add a new construct that only takes a
5822         Kind, simplify the constructor use for submenus.
5823         (add): adjust
5824         (expandLastfiles): adjust
5825         (expandDocuments): adjust
5826         (expandFormats): adjust
5827         (expandFloatListInsert): adjust
5828         (expandFloatInsert): adjust
5829         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5830
5831         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5832         Remove class variables lyx_pseudo_map and lyx_arg_map
5833
5834         * LyXAction.C (searchActionArg): delete function
5835         (getPseudoAction): delete function
5836         (retrieveActionArg): delete function
5837         (LookupFunc): make it return kb_action, simplify.
5838         (getActionName): simplify
5839
5840         * factory.C (createInset): fix new bug
5841
5842 2003-09-19  Angus Leeming  <leeming@lyx.org>
5843
5844         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5845         masterFilename_ parameter in the include inset.
5846
5847         * factory.C (createInset): changes due to the changes to InsetInclude.
5848
5849 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5850
5851         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5852
5853 2003-09-18  Angus Leeming  <leeming@lyx.org>
5854
5855         * buffer.C:
5856         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5857         Inset::fillWithBibKeys.
5858         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5859
5860 2003-09-18  Angus Leeming  <leeming@lyx.org>
5861
5862         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5863         variables.
5864         (ctor): pass and store a 'Buffer const &'
5865         (buffer): new member function.
5866
5867         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5868         '*this' to the LaTeXFeatures ctor.
5869
5870 2003-09-18  Angus Leeming  <leeming@lyx.org>
5871
5872         * LColor.h:
5873         * lyxfont.C:
5874         * lyxfont.h:
5875         * lyxtext.h:
5876         * text.C: rename EnumLColor as LColor_color.
5877
5878 2003-09-18  Angus Leeming  <leeming@lyx.org>
5879
5880         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5881         remove #include "insets/insetbase.h" from cursor.h.
5882
5883 2003-09-18  Angus Leeming  <leeming@lyx.org>
5884
5885         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5886         InsetOld_code to remove #include "inset.h".
5887
5888         * iterators.C: add #include "insets/inset.h"
5889
5890 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5891
5892         * BufferView.C: remove more locking stuff that apparently doesn't
5893         do anything sensible.
5894
5895 2003-09-16  André Pönitz  <poenitz@gmx.net>
5896
5897         * paragraph.[Ch]:
5898         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5899           performance boost.
5900
5901 2003-09-16  Angus Leeming  <leeming@lyx.org>
5902
5903         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5904
5905         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5906         arg/return type.
5907
5908         * paragraph.h: remove #include "lyxfont.h". Forward declare
5909         LyXFont_size.
5910
5911 2003-09-16  Angus Leeming  <leeming@lyx.org>
5912
5913         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5914         of support/textutils.h.
5915         (isWord): move the contents of support/textutils.h's IsWordChar here.
5916
5917         * buffer.C:
5918         * lyxfind.C:
5919         * rowpainter.C:
5920         * text.C:
5921         * text2.C: add #include "paragraph.h".
5922
5923         * rowpainter.C:
5924         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5925
5926 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * main.C:
5929         * lyx_main.C:
5930         * lyx_cb.C:
5931         * buffer.C:
5932         * LaTeX.C: use namespace alias for lyx::support::os
5933
5934 2003-09-16  Angus Leeming  <leeming@lyx.org>
5935
5936         * bufferparams.C:
5937         * bufferview_funcs.C:
5938         * factory.C:
5939         * lyxfunc.C:
5940         * paragraph_pimpl.C:
5941         * rowpainter.C:
5942         * text.C: add #include "LColor.h".
5943
5944 2003-09-16  Angus Leeming  <leeming@lyx.org>
5945
5946         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5947         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5948         return LyXFont &.
5949         Store the FontBits::color variable as an int rather than as an
5950         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5951         file.
5952
5953         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5954         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5955         string calls together.
5956
5957         * lyxrc.C: add #include "LColor.h".
5958
5959 2003-09-15  Angus Leeming  <leeming@lyx.org>
5960
5961         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5962         a cow_ptr.
5963
5964 2003-09-15  Angus Leeming  <leeming@lyx.org>
5965
5966         * LColor.h: add an EnumLColor wrapper for LColor::color.
5967
5968         * lyxfont.[Ch] (color, setColor, realColor):
5969         * lyxtext.h, text.C (backgroundColor):
5970         pass EnumLColor args to/from the functions, rather than LColor::color
5971         ones.
5972
5973         * lyxfont.h:
5974         * lyxtext.h: forward declare EnumLColor.
5975
5976         * lyx_main.C: add #include "LColor.h".
5977
5978 2003-09-15  Angus Leeming  <leeming@lyx.org>
5979
5980         * .cvsignore: add lyx-gtk.
5981
5982 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * Chktex.C
5985         * LaTeX.C
5986         * LaTeXFeatures.C
5987         * ParagraphParameters.C
5988         * Spacing.C
5989         * buffer.C
5990         * bufferparams.C
5991         * bufferview_funcs.C
5992         * chset.C
5993         * counters.C
5994         * funcrequest.C
5995         * lyxfont.C
5996         * lyxgluelength.C
5997         * lyxlength.C
5998         * paragraph.C
5999         * paragraph_funcs.C
6000         * text3.C
6001         * vc-backend.C: remove usage of STRCONV
6002
6003 2003-09-15  Angus Leeming  <leeming@lyx.org>
6004
6005         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6006         explicitly define the color passed to the painter.
6007
6008 2003-09-15  Angus Leeming  <leeming@lyx.org>
6009
6010         * bufferparams.C (BufferParams): reorder member initializers to avoid
6011         compiler warning.
6012
6013 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6014
6015         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6016         * text.C (updateRowPositions): remove an unusual nop
6017
6018 2003-09-12  André Pönitz  <poenitz@gmx.net>
6019
6020         * BufferView_pimpl.C:
6021         * Bullet.C:
6022         * layout.h:
6023         * lyxfunc.C:
6024         * lyxlayout.[Ch]:
6025         * lyxtextclass.C:
6026         * rowpainter.C:
6027         * text.C:
6028         * text2.C:
6029         * Counters.[Ch]: finish the 'automatic counters' job
6030
6031 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6032
6033         * aspell.C: include <boost/assert.cpp> (compile fix)
6034
6035 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6036
6037         * boost.C (assertion_failed): use lyx::support::abort instead of
6038         assert.
6039
6040 2003-09-10  Angus Leeming  <leeming@lyx.org>
6041
6042         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6043         with their _fwd progeny.
6044
6045 2003-09-09  Angus Leeming  <leeming@lyx.org>
6046
6047         134 files throughtout the source tree: replace 'using namespace abc;'
6048         directives with the appropriate 'using abc::xyz;' declarations.
6049
6050 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6051
6052         * boost.C (emergencyCleanup): moved here from LAssert.c
6053         (assertion_failed): new function, called by BOOST_ASSERT
6054
6055         * several files: change Assert to BOOST_ASSERT
6056
6057 2003-09-09  Angus Leeming  <leeming@lyx.org>
6058
6059         * buffer.[Ch]: Add an Impl class and move Buffer's member
6060         variables into it. As a result move several header files out of
6061         buffer.h.
6062
6063         Add header files to lots of .C files all over the tree as a result.
6064
6065 2003-09-09  Angus Leeming  <leeming@lyx.org>
6066
6067         * buffer.[Ch]: make Buffer's member variables private. Add
6068         accessor functions.
6069
6070         Lots of changes all over the tree as a result.
6071
6072 2003-09-08  Angus Leeming  <leeming@lyx.org>
6073
6074         * graph.C: #include <config.h>.
6075
6076 2003-09-08  Angus Leeming  <leeming@lyx.org>
6077
6078         * BranchList.C:
6079         * BufferView.C:
6080         * BufferView_pimpl.C:
6081         * CutAndPaste.C:
6082         * DepTable.C:
6083         * LaTeX.C:
6084         * LaTeXFeatures.C:
6085         * LyXAction.C:
6086         * MenuBackend.C:
6087         * TextCache.C:
6088         * aspell.C:
6089         * buffer.C:
6090         * bufferlist.C:
6091         * changes.C:
6092         * chset.C:
6093         * converter.C:
6094         * counters.C:
6095         * debug.C:
6096         * graph.C:
6097         * ispell.C:
6098         * lyx_cb.C:
6099         * lyxfind.C:
6100         * lyxfunc.C:
6101         * lyxlex_pimpl.C:
6102         * lyxrc.C:
6103         * lyxrow.C:
6104         * paragraph.C:
6105         * rowpainter.C:
6106         * texrow.C:
6107         * text.C:
6108         * text2.C:
6109         * toc.C: remove redundant using directives.
6110
6111 2003-09-07  Angus Leeming  <leeming@lyx.org>
6112
6113         * LaTeXFeatures.h: remove #include "support/types.h".
6114         * ToolbarBackend.h: remove #include <algorithm>.
6115         * changes.h: remove #include <ctime>.
6116         * debug.h: remove #include <iosfwd>.
6117         * graph.h: remove #include "support/std_string.h".
6118         * lyx_main.h: remove #include <csignal>.
6119         * lyxlex_pimpl.h: remove #include <fstream>.
6120         * sgml.h: remove #include <algorithm>, <utility>.
6121         * toc.h: remove #include "support/std_ostream.h".
6122         Add #include <iosfwd>.
6123
6124 2003-09-07  Angus Leeming  <leeming@lyx.org>
6125
6126         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6127
6128         * converter.h: forward declare LatexRunParams.
6129         * encoding.h: remove #include "lyxrc.h".
6130         * lyxtext.h: remove #include "LColor.h".
6131         * lyxtextclass.h: remove #include "support/types.h".
6132         * trans.h: remove #include "tex-accent.h".
6133         * trans_mgr.h: remove #include "tex-accent.h".
6134         * insets/inset.h: remove #include "support/types.h", <vector>.
6135         * insets/insetcollapsable.h: remove #include "LColor.h".
6136         * insets/insetinclude.h: remove #include "dimension.h".
6137         * insets/insetlatexaccent.h: remove #include "dimension.h".
6138         * insets/insetoptarg.h:: remove #include "insettext.h".
6139         * insets/insettext.h: remove #include "dimension.h",
6140         <boost/shared_ptr.hpp>
6141
6142         * insets/renderers.h: add #include "dimension.h".
6143         * insets/updatableinset.h: add #include "support/types.h".
6144
6145         * many .C files: Associated changes.
6146
6147 2003-09-06  Angus Leeming  <leeming@lyx.org>
6148
6149         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6150         one, inside testInvariant.
6151
6152         * PrinterParams.C: new file.
6153         * PrinterParams.[Ch]: move the function bodies out of line.
6154
6155 2003-09-06  Angus Leeming  <leeming@lyx.org>
6156
6157         * ParagraphParameters.h: forward declare ParameterStruct rather than
6158         including its header file.
6159         (depth): moved out-of-line.
6160
6161 2003-09-06  Angus Leeming  <leeming@lyx.org>
6162
6163         * BufferView_pimpl.h:
6164         * kbmap.h:
6165         * kbsequence.h:
6166         * lyxfunc.h: forward declare LyXKeySym rather than
6167         #include "frontends/LyXKeySym.h".
6168
6169         * BufferView_pimpl.C:
6170         * kbmap.C:
6171         * kbsequence.C:
6172         * lyxfunc.C: associated changes.
6173
6174 2003-09-06  Angus Leeming  <leeming@lyx.org>
6175
6176         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6177         As a result, can remove the #include "insets/inset.h" from BufferView.h
6178
6179 2003-09-06  Angus Leeming  <leeming@lyx.org>
6180
6181         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6182         As a result, can remove the #include "insets/inset.h" from BufferView.h
6183
6184 2003-09-06  Angus Leeming  <leeming@lyx.org>
6185
6186         * buffer_funcs.C:
6187         * buffer.h:
6188         * bufferlist.C:
6189         * BufferView.C:
6190         * bufferview_funcs.C:
6191         * BufferView_pimpl.C:
6192         * CutAndPaste.C:
6193         * lyx_cb.C:
6194         * lyxfunc.C:
6195         * paragraph.h:
6196         * ParagraphParameters.C:
6197         * tabular.C:
6198         * text3.C:
6199         * toc.C:
6200         * undo_funcs.C:
6201         * frontends/controllers/ControlDocument.C:
6202         * insets/insetcaption.C: rearrange the #includes into some sort of
6203         coherent order.
6204
6205         * buffer.h: remove #includes ErrorList.h, undo.h
6206
6207 2003-09-06  Angus Leeming  <leeming@lyx.org>
6208
6209         * support/types.h: add a 'depth_type' typedef, used to store the
6210         nesting depth of a paragraph.
6211
6212         * paragraph.h:
6213         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6214         defining explicitly.
6215
6216         * buffer.h:
6217         * paragraph_funcs.h:
6218         * ParagraphParameters.h:
6219         * sgml.h: use lyx::depth_type rather than Paragraph or
6220         ParameterStruct's depth_type.
6221
6222         * buffer.h
6223         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6224
6225         * BufferView.C:
6226         * BufferView_pimpl.C:
6227         * CutAndPaste.C:
6228         * ParagraphParameters.C:
6229         * buffer_funcs.C:
6230         * bufferlist.C:
6231         * bufferview_funcs.C:
6232         * lyx_cb.C:
6233         * lyxfunc.C:
6234         * tabular.C:
6235         * text3.C:
6236         * toc.C:
6237         * undo_funcs.C:
6238         * frontends/LyXView.C:
6239         * frontends/controllers/ControlDocument.C:
6240         * frontends/controllers/ControlErrorList.C:
6241         * insets/insetbibitem.C:
6242         * insets/insetbranch.C:
6243         * insets/insetcaption.C:
6244         * insets/insetcollapsable.C:
6245         * insets/insetenv.C:
6246         * insets/insetert.C:
6247         * insets/insetfloat.C:
6248         * insets/insetfoot.C:
6249         * insets/insetfootlike.C:
6250         * insets/insetnewline.C:
6251         * insets/insetquotes.C:
6252         * insets/insettabular.C:
6253         * insets/insettext.C:
6254         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6255
6256         * frontends/controllers/ControlChanges.C: #include "changes.h".
6257
6258 2003-09-06  Angus Leeming  <leeming@lyx.org>
6259
6260         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6261         than #including paragraph.h.
6262
6263         * ParagraphList.h:
6264         * RowList.h: deleted. Superfluous.
6265
6266         * CutAndPaste.h:
6267         * iterators.h:
6268         * lyxcursor.h:
6269         * lyxtext.h:
6270         * text_funcs.h:
6271         * undo.h:
6272         * undo_funcs.h:
6273         * insets/inset.h:
6274         * insets/insettext.h: use ParagraphList_fwd.h rather than
6275         ParagraphList.h.
6276
6277         * paragraph.h: don't forward declare ParagraphList.
6278
6279         * buffer.h:
6280         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6281         rather than ParagraphList.h. paragraph.h is still needed for the
6282         Paragraph::depth_type parameters.
6283
6284         * textcursor.h: enable it to compile stand-alone in light of the
6285         above changes.
6286
6287         * bufferview_funcs.C:
6288         * iterators.C:
6289         * lyxfunc.C:
6290         * lyxrow_funcs.C:
6291         * paragraph.C:
6292         * rowpainter.C:
6293         * text.C:
6294         * text2.C:
6295         * text3.C:
6296         * text_funcs.C:
6297         * textcursor.C:
6298         * undo.C:
6299         * frontends/controllers/ControlParagraph.C:
6300         * frontends/controllers/ControlTabular.C:
6301         * insets/insetmarginal.C:
6302         * insets/insetminipage.C:
6303         * insets/insetnote.C:
6304         * insets/insetoptarg.C: add header files needed to compile again.
6305
6306 2003-09-06  Angus Leeming  <leeming@lyx.org>
6307
6308         * RowList_fwd.h: new file, forward-declaring Row rather than
6309         #including lyxrow.h.
6310
6311         * lyxrow_funcs.h:
6312         * lyxtext.h:
6313         * paragraph.h:
6314         * insets/insettext.h: use it instead of RowList.h
6315
6316         * bufferview_funcs.C:
6317         * lyxfunc.C:
6318         * lyxrow_funcs.C:
6319         * paragraph.C:
6320         * rowpainter.C:
6321         * text.C:
6322         * text2.C:
6323         * text3.C: #include "RowList.h".
6324
6325 2003-09-05  Angus Leeming  <leeming@lyx.org>
6326
6327         * factory.C (createInset):
6328         * vspace.C (c-tor): replace sscanf call with an istringstream.
6329         * ispell.C: re-add missing HP/UX headers.
6330         * lyxserver.C: re-add missing  os2 headers.
6331
6332 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6333
6334         * BranchList.C:
6335         * graph.C:
6336         * ispell.C:
6337         * lastfiles.C:
6338         * lyx_cb.C:
6339         * lyxserver.C:
6340         * texrow.C:
6341         * text3.C: re-add missing system headers, needed for 2.95.2.
6342
6343 2003-09-05  Angus Leeming  <leeming@lyx.org>
6344
6345         Changes most place everywhere due to the removal of using directives
6346         from support/std_sstream.h.
6347
6348 2003-09-05  Angus Leeming  <leeming@lyx.org>
6349
6350         Replace LString.h with support/std_string.h,
6351         Lsstream.h with support/std_sstream.h,
6352         support/LIstream.h with support/std_istream.h,
6353         support/LOstream.h with support/std_ostream.h.
6354
6355         Changes resulting throughout the tree.
6356
6357 2003-09-05  Angus Leeming  <leeming@lyx.org>
6358
6359         * sgml.h: ensure that the header file can be compiled stand-alone.
6360         * *.C: strip out redundant #includes. (320 in total.)
6361
6362 2003-09-04  Angus Leeming  <leeming@lyx.org>
6363
6364         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6365         here (from getPackages).
6366
6367         * debug.[Ch]: add a new EXTERNAL tag.
6368
6369 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6370
6371         * text2.C (cursorEnd): simplify
6372         (setCursor): adjust
6373         (getColumnNearX): adjust
6374
6375         * text.C (computeBidiTables): adjust
6376         (fill): adjust
6377
6378         * rowpainter.C (paintChars): adjust
6379         (paintSelection): adjust
6380         (paintChangeBar): adjust
6381         (paintText): adjust
6382
6383         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6384         lastPos instead.
6385         (numberOfSeparators): adjust
6386
6387 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6388
6389         * LyXAction.C:
6390         * box.[Ch]:
6391         * lfuns.h:
6392         * lyxfunc.C:
6393         * text3.C: Restricts the mouse click functionality
6394         of insets like bibtex, include, toc and floatlist to the visible
6395         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6396         up the dialogs. Cursor has to be in front of the inset (i.e.
6397         start of row) for this to function.
6398
6399 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6400
6401         * bufferview_funcs.C (currentState): output row information
6402
6403 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6404
6405         * bufferview_funcs.C (currentState): output paragraph position
6406
6407 2003-09-04  Angus Leeming  <leeming@lyx.org>
6408
6409         * FloatList.h: move out #include "Floating.h".
6410         * LaTeX.h: move out #include "DepTable.h".
6411         * LyXAction.h: move out #include "funcrequest.h".
6412         * buffer.h: move out #include "author.h", "iterators.h".
6413         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6414         * lyx_main.h: move out #include "errorlist.h".
6415         * lyxfunc.h: move out #include "FuncStatus.h".
6416         * lyxtext: move out #include "lyxcursor.h".
6417         * paragraph_pimpl.h: move out #include "counters.h".
6418
6419 2003-09-03  Angus Leeming  <leeming@lyx.org>
6420
6421         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6422         preamble_snippets list, enabling us to add snippets to the preamble
6423         only if the snippet was not there already.
6424
6425 2003-09-04  Angus Leeming  <leeming@lyx.org>
6426
6427         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6428
6429 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6432         update
6433
6434 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6435
6436         * BranchList.C: point fix, earlier forgotten
6437
6438 2003-09-02  Angus Leeming  <leeming@lyx.org>
6439
6440         * box.C (contains): renamed from 'contained' after a fantastic
6441         amount of hot air.
6442
6443 2003-09-02  John Levon  <levon@movementarian.org>
6444
6445         * BufferView.C:
6446         * lyxcursor.h:
6447         * lyxcursor.C:
6448         * lyxfunc.C:
6449         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6450
6451 2003-09-02  John Levon  <levon@movementarian.org>
6452
6453         * text2.C: simplification of cursorEnd(), including partial
6454         fix for bug 1376
6455
6456 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * buffer.C (readFile): add a space
6459
6460 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6461
6462         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6463
6464 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * buffer.C (readFile): new function, take a filename and a
6467         ParagraphList::iterator
6468         (readFile): adjust
6469         (readFile): adjust, make it private. don't use setStream, make
6470         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6471         always contain the filename.
6472
6473         * BufferView.C (insertLyXFile): simplify and make it work for
6474         gzipped files.
6475
6476 2003-08-30  John Levon  <levon@movementarian.org>
6477
6478         * Makefile.am: fix dist (from Kayvan)
6479
6480 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * most files: change to use const Buffer refs
6483
6484 2003-08-27  André Pönitz  <poenitz@gmx.net>
6485
6486         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6487         on top of ownerPar().
6488
6489 2003-08-27  John Levon  <levon@movementarian.org>
6490
6491         * funcrequest.C: properly initialise POD members
6492
6493 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * lyxtext.h (top_y): move top_y from here
6496         * text.C:
6497         * text2.C:
6498         * text3.C:
6499         * BufferView.[Ch]:
6500         * BufferView_pimpl.[Ch]: to here
6501         * frontends/screen.C:
6502         * insets/insettabular.C:
6503         * insets/insettext.C: adjust
6504         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6505
6506 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * BufferView.[Ch]:
6509         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6510
6511 2003-08-26  André Pönitz  <poenitz@gmx.net>
6512
6513         * paragraph_func.[Ch] (outerPar): new function
6514
6515         * paragraph.C:
6516         * paragraph_funcs.C:
6517         * paragraph_funcs.h:
6518         * paragraph_pimpl.C:
6519         * text2.C: remove Inset::par_owner
6520
6521 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6522
6523         * lyxrow_funcs.C:
6524         * lyxtext.h:
6525         * text.C:
6526         * text2.C: eliminates the needFullRow/display() stuff
6527         altogether, putting the logic in metrics/draw in the insets.
6528
6529 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * text2.C (redoParagraphInternal, redoParagraphs):
6532         * text.C (redoParagraph): add a call to updateRowPositions at the
6533         end of each 'metrics-like' call. Remove all others.
6534         (getRow): remove the 'y-computing' version.
6535         (getRowNearY): do not compute nor return the real y. Solve the
6536         'y < 0' problem and simplify.
6537
6538 2003-08-22  Angus Leeming  <leeming@lyx.org>
6539
6540         * *.[Ch]: clean-up of licence and author blurbs.
6541         Also move config.h out of a few .h files and into a few .C files.
6542
6543 2003-08-22  André Pönitz  <poenitz@gmx.net>
6544
6545         * lyxrow.[Ch]: add x_ and *fill_ members
6546
6547         * lyxtext.h:
6548         * text.C:
6549         * rowpainter.C:
6550         * text2.C: adjust/remove prepareToPrint() calls
6551
6552 2003-08-22  André Pönitz  <poenitz@gmx.net>
6553
6554         * lyxrow.[Ch]: add  end_ member
6555
6556         * lyxrow_funcs.C: use LyXRow::end_
6557
6558         * lyxtext.h (singleWidth): add LyXFont parameter
6559
6560         * rowpainter.C:
6561         * text2.C: adjust LyXText::singleWidth() calls
6562
6563         * text.C (redoParagraph): simplify row breaking logic
6564
6565
6566 2003-08-19  André Pönitz  <poenitz@gmx.net>
6567
6568         * funcrequest.C: initialize button_ member
6569
6570         * text3.C:
6571         * rowpainter.[Ch]: interface consolidation
6572
6573 2003-08-18  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView.C:
6576         * BufferView_pimpl.C:
6577         * lyxfind.C:
6578         * paragraph_funcs.C:
6579         * rowpainter.C:
6580         * text3.C: remove LyXScreen::draw() and fitCursor calls
6581
6582         * BranchList.h: remove spurious semicolons
6583
6584         * MenuBackend.C: fix branchlist related crash
6585
6586 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6587
6588         * BranchList.[Ch]:
6589         * InsetList.[Ch]:
6590         * LColor.[Ch]:
6591         * LyXAction.C:
6592         * Makefile.am:
6593         * MenuBackend.[Ch]:
6594         * bufferparams.[Ch]:
6595         * factory.C:
6596         * lfuns.h:
6597         * lyxfunc.C:
6598         * text3.C: implements the 'branch inset'
6599         idea. This allows the output of various versions of a document
6600         from a single source version, selectively outputing or suppressing
6601         output of parts of the text.
6602         This implementation contains a 'branch list editor' in a separate
6603         tab of the document settings dialog. Branches are user definable
6604         and have a "display colour" to distinguish them on-screen.
6605
6606         ColorHandler was somewhat cleaned up.
6607         (1) make possible a dynamically growing LColor list by allowing
6608         the graphic context cache to grow along (vector);
6609         (2) eliminate an IMHO unnecessary step in colour allocation.
6610
6611 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6612
6613         * BufferView_pimpl.C: compile fix
6614
6615 2003-08-15  André Pönitz  <poenitz@gmx.net>
6616
6617         * rowpainter.C: remove extra metrics calls
6618
6619         * lyxtext.h: merge the two constructors into a single one,
6620           pass reference to owner's par list
6621
6622         * BufferView_pimpl.C:
6623         * text.C:
6624         * text2.C: adjust
6625
6626 2003-08-15  André Pönitz  <poenitz@gmx.net>
6627
6628         * lyxrow_funcs.[Ch]:
6629         * lyxtext.h:
6630         * paragraph.h:
6631         * paragraph_funcs.C:
6632         * rowpainter.C:
6633         * text.C:
6634         * text2.C:
6635         * text3.C:
6636         * text_funcs.C: split LyXText::rowlist_ into individual
6637         Paragraph::rows_ chunks
6638
6639         * BufferView.[Ch]:
6640         * BufferView_pimpl.[Ch]:
6641         * lyxfind.C:
6642         * lyxtext.h:
6643         * text3.C: remove toggleSelection()
6644
6645 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6646
6647         * bufferlist.C: beautify two alerts (shorter text of buttons)
6648         * buffer.C: Remove redundant ' ' from message
6649         * tabular.h:
6650         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6651         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6652         rename VALIGN_CENTER to VALIGN_MIDDLE
6653
6654 2003-08-11  André Pönitz  <poenitz@gmx.net>
6655
6656         * lyxtext.h (getPar):
6657         * text.C: new function
6658
6659 2003-08-11  André Pönitz  <poenitz@gmx.net>
6660
6661         * Makefile.am:
6662         * tracer.[Ch]: remove unneeded files
6663
6664         * InsetList.[Ch]: remove resizeInsetsLyXText()
6665
6666         * lyxtext.h:
6667         * text.C:
6668         * text2.C:
6669         * text3.C: merge insertParagraphs() and appendParagraph()
6670         remove breakAgain(), update()
6671
6672         * BufferView_pimpl.[Ch]:
6673         * bufferview_funcs.[Ch]:
6674         * lyxfunc.C:
6675         * paragraph.[Ch]:
6676         * rowpainter.C:
6677         * tabular.C: adjust after text & InsetList changes.
6678
6679 2003-08-08  André Pönitz  <poenitz@gmx.net>
6680
6681         * text.C (insertChar, backspace): replace rowlist fiddling
6682         with rebreak of full par
6683
6684         * lyxtext.h:
6685         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6686         checkParagraph, updateInset): removed
6687
6688 2003-08-07  André Pönitz  <poenitz@gmx.net>
6689
6690         * paragraph.C:
6691         * text3.C: merge some LFUN handlers, remove dead code
6692
6693 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6694
6695         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6696
6697 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6698
6699         * text2.C (DEPM): fix part of bug 1255 and 1256
6700
6701 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6702
6703         * BufferView_pimpl.C (workAreaDispatch): change to use
6704         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6705         that are no mouse related.
6706
6707 2003-08-05  André Pönitz  <poenitz@gmx.net>
6708
6709         * BufferView.[Ch]:
6710         * BufferView_pimpl.[Ch]:
6711         * bufferview_funcs.C:
6712         * text2.C:
6713         * text3.C: rip out "deep update"
6714
6715         * textcursor.[Ch] (last_sel_cursor): remove unused member
6716
6717 2003-08-04  André Pönitz  <poenitz@gmx.net>
6718
6719         * BufferView.[Ch]:
6720         * BufferView_pimpl.[Ch]:
6721         * ParagraphParameters.C:
6722         * bufferview_funcs.C:
6723         * lyx_cb.C:
6724         * lyxfind.C:
6725         * lyxfunc.C:
6726         * text.C:
6727         * text2.C:
6728         * text3.C: replace "complicated" BufferView::update(...) calls with
6729         simpler ones.
6730
6731         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6732
6733 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6734
6735         * Makefile.am (lyx_SOURCES): add paper.h
6736
6737 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6738
6739         * Makefile.am: move things around so that both lyx-qt and
6740         lyx-xforms can be built (according to --with-frontend). Then lyx
6741         is a symbolic link to lyx-[firstfrontend]
6742
6743 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6744
6745         * Always use std::endl with lyxerr
6746
6747 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6748
6749         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6750
6751 2003-08-01  André Pönitz  <poenitz@gmx.net>
6752
6753         * BufferView.[Ch]:
6754         * BufferView_pimpl.[Ch]:
6755         * lyxfunc.C:
6756         * text3.C: merge BufferView::repaint() and BufferView::update()
6757
6758 2003-08-01  José Matos  <jamatos@lyx.org>
6759
6760         * buffer.[Ch]: file_format is no longer a buffer data element.
6761
6762 2003-08-01  André Pönitz  <poenitz@gmx.net>
6763
6764         * BufferView.C:
6765         * lyxtext.h:
6766         * text.C:
6767         * text2.C: make redoParagraph more independent of current cursor
6768
6769         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6770         * text.C:
6771         * text2.C: remove unneeded members
6772
6773 2003-07-30  André Pönitz  <poenitz@gmx.net>
6774
6775         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6776
6777         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6778           create a single function...
6779
6780         * paragraph_funcs.C (moveItem): ... here.
6781
6782         * text.C:
6783           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6784
6785 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6786
6787         * LColor.[Ch]: Add comment and greyedout logical colors.
6788
6789 2003-07-30  André Pönitz  <poenitz@gmx.net>
6790
6791         * tabular.C: don't use Assert too heavily. This crashes where it
6792           shouldn't
6793
6794 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6795
6796         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6797         is disabled (bug 1232)
6798
6799 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6800
6801         * factory.C: limited 'arg' scope
6802
6803 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6804
6805         * factory.C: fixed Note submenu issues
6806
6807 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6808
6809         * factory.C: submenu for Note/Comment/Greyedout
6810
6811 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6812
6813         * lyx_main.C (LyX):
6814         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6815
6816 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6817
6818         * LaTeXFeatures.C:
6819         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6820         greyedout. Patch provided by Jürgen Spitzmüller.
6821
6822 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6823
6824         * kbmap.C (read): fix error message when reading bind files
6825
6826 2003-07-29  Angus Leeming  <leeming@lyx.org>
6827
6828         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6829         certainly does not do what it purports to do. I am doing it, and
6830         us, a favour by killing it.
6831
6832 2003-07-28  José Matos  <jamatos@lyx.org>
6833
6834         * buffer.C (readBody, do_writeFile):
6835         * paragraph.C(readParagraph): \end_document replaces \the_end.
6836
6837 2003-07-29  André Pönitz  <poenitz@gmx.net>
6838
6839         * BufferView.[Ch]:
6840         * BufferView_pimpl.[Ch]:
6841         * lyxfunc.C:
6842         * text2.C:
6843         * text3.C:
6844         * textcursor.[Ch]: remove toggleToggle & Co
6845
6846 2003-07-28  José Matos  <jamatos@fep.up.pt>
6847
6848         * buffer.C (readParagraph):
6849         * params_func (readParToken, readParagraph):
6850         * paragraph.C (write): \layout -> \begin_layout.
6851
6852 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * lyxlex_pimpl.C (setFile): clean up slightly.
6855
6856         * bufferparams.h: add compressed var
6857
6858         * buffer_funcs.C (readFile): adjust for LyXLex change
6859         (newFile): ditto + simplify
6860
6861         * buffer.C (writeFile): handle writing of compressed files
6862
6863         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6864         Check if the file is compressed and set a bufferparm if so.
6865
6866         * Makefile.am (lyx_LDADD): remove explicit -lz
6867
6868 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6869
6870         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6871         makeDocBookFile): put the real LyX version in the first line of
6872         the file
6873
6874         * version.h:
6875         * version.C.in: remove lyx_docversion
6876
6877         * tabular.C (write_attribute): add a template-based version to
6878         write enums properly
6879
6880 2003-07-28  André Pönitz  <poenitz@gmx.net>
6881
6882         * lyxtext.h:
6883         * text.C:
6884         * text2.C:
6885         * text3.C: use doubles again for x-coordinates. They are needed.
6886
6887 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * messages.C (getLocaleDir): use lyx_localedir()
6890
6891         * lyxlex_pimpl.C (setFile): compress stuff
6892
6893         * buffer.C (writeFile): add some compression stuff
6894         (do_writeFile): new func, dont call expliti close... will this
6895         breake anything?
6896
6897         * Makefile.am (lyx_LDADD): add -lz
6898
6899 2003-07-28  José Matos  <jamatos@fep.up.pt>
6900
6901         * buffer.C: increment file format.
6902         * paragraph_funcs (readParagraph, readParToken):
6903         * paragraph.C (readParagraph): add \end_layout.
6904
6905 2003-07-27  Angus Leeming  <leeming@lyx.org>
6906
6907         * Makefile.am: remove special casing for configure-time setting of
6908         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6909
6910         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6911         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6912
6913 2003-07-26  André Pönitz  <poenitz@gmx.net>
6914
6915         * paragraph_func.[Ch]:
6916         * paragraph.C (realizeFont): inline it whereever it is used
6917
6918         * rowpainter.C:
6919         * text.C:
6920         * text2.C:
6921         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6922
6923
6924 2003-07-26  André Pönitz  <poenitz@gmx.net>
6925
6926         *       lyxtext.h:
6927         * text.C:
6928         * text2.C: get rid of LyXText::need_break_row
6929
6930 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * toc.[Ch]: put namespace toc inside namespace lyx
6933
6934         * MenuBackend.C (expandToc2): adjust for lyx::toc
6935         (expandToc): ditto
6936
6937         * lyxfunc.C (dispatch): adjust for lyx::find
6938
6939         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6940         lyx::find instead. Reorganize a bit.
6941         (LyXReplace): rename to replace
6942         (LyXFind): rename to find
6943
6944         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6945         (dispatch): ditto
6946
6947 2003-07-26  André Pönitz  <poenitz@gmx.net>
6948
6949         * text.C (setHeightOfRow): restrict scope of temporary variable
6950
6951         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6952           code (never has been used?)
6953
6954 2003-07-27  Asger Alstrup  <alstrup@local>
6955
6956         * text.C (fill): Optimise algorithm to exploit that we can reuse
6957         the LyXFont for many characters.
6958         (setHeightOfRow): Same thing.
6959         (rowBreakPoint): Same thing.
6960
6961 2003-07-26  Asger Alstrup  <alstrup@local>
6962
6963         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6964
6965         * text.C (singleWidth): Spurious font copying in hot-spot
6966         singleWidth avoided. Reorder tests for arabic for efficiency.
6967
6968         * text.C (fill): handle empty paragraphs better.
6969
6970 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6971
6972         * ispell.C:
6973         * encoding.h: add includes
6974
6975         * lyxrc.C: remove reading of bind files
6976
6977         * lyx_main.C (init): setup bindings and menus only if we have a
6978         gui.
6979
6980         * kbmap.C (read): new method. Do the actual reading of bind
6981         files.
6982
6983         * converter.C (dvipdfm_options):
6984         * bufferparams.C:
6985         * lyxrc.C (read):
6986         (output): adapt PAPER_* enums.
6987
6988         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6989
6990         * bufferparams.h: remove paper-related enums from there
6991
6992         * paper.h: New file. A trivial header file to hold paper-related
6993         enums. It should later expand to contain many paper-related
6994         horrors access.
6995
6996         * lyxrc.C: declare extern displayTranslator
6997
6998 2003-07-27  José Matos  <jamatos@fep.up.pt>
6999
7000         * tabular.[Ch] (linuxdoc): add support for tables and figures
7001         (linuxdoc).
7002
7003 2003-07-27  José Matos  <jamatos@fep.up.pt>
7004
7005         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7006         consistency in both functions.
7007         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7008
7009 2003-07-26  Asger Alstrup  <alstrup@local>
7010
7011         * rowpainter.C (paintRows): Change algorithm to work directly on
7012         the insets rather than asking every character in the document
7013         whether its an inset.
7014
7015 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7016
7017         * buffer.C (openFileWrite): factorize some code
7018
7019 2003-07-26  Angus Leeming  <leeming@lyx.org>
7020
7021         * lyx_cb.C:
7022         * lyx_main.[Ch]: replace occurances of system_tempdir with
7023         os::getTmpDir().
7024
7025 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * rename Inset to InsetOld
7028
7029 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7030
7031         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7032         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7033         which I think is a bit clearer. EDIT is gone, since it was
7034         premature optimisation, and broken for mathed anyway.
7035         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7036         with cursor positioning in insets as well (math insets still do not
7037         work, but that's a different story anyway.) It mysteriously
7038         crashes sometimes with undo in the first paragraph, but I'm fairly
7039         confident that this is a compiler bug.
7040
7041 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * paragraph.C (Paragraph): adjust for new clone return type
7044         (operator==): ditto
7045         (copyIntoMinibuffer): ditto
7046
7047 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7048
7049         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7050         by not having a special case, and always doing a full rebreak of
7051         the document after undo.
7052
7053 2003-07-23  Angus Leeming  <leeming@lyx.org>
7054
7055         * factory.C (createInset): InsetExternal::setParams now takes a
7056         Buffer const * arg.
7057
7058 2003-07-23  Angus Leeming  <leeming@lyx.org>
7059
7060         * factory.C (createInset): changed interface to the external and
7061         graphics mailers' string2params functions.
7062
7063 2003-07-23  Angus Leeming  <leeming@lyx.org>
7064
7065         * factory.C (createInset): pass a
7066         Buffer const * parameter to InsetExternalMailer's string2params.
7067
7068 2003-07-22  John Levon  <levon@movementarian.org>
7069
7070         * Thesaurus.h: include the right aiksaurus header
7071
7072 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7073
7074         * MenuBackend.C (expand): check menu shortcuts unconditionally
7075
7076 2003-07-21  Angus Leeming  <leeming@lyx.org>
7077
7078         * factory.C (createInset): pass a
7079         buffer_path parameter to InsetGraphicsMailer's string2params.
7080
7081 2003-07-21  Angus Leeming  <leeming@lyx.org>
7082
7083         * BufferView_pimpl.C (buffer):
7084         * buffer.C (d-tor):
7085         * lyx_main.C (LyX):
7086         * lyxfunc.C (dispatch):
7087         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7088         rather than the grfx shortcut.
7089
7090 2003-07-21  André Pönitz  <poenitz@gmx.net>
7091
7092         * rowpainter.C: remove unused variables
7093
7094         * tabular_funcs.C:
7095         * tabular_funcs.h: move to tabular.C
7096         * Makefile.am: adjust
7097
7098         * tabular.[Ch]: basic optical cleaning
7099
7100         * author.h: pass references, not values
7101
7102 2003-07-18  André Pönitz  <poenitz@gmx.net>
7103
7104         * lyxtext.h:
7105         * metricsinfo.C:
7106         * metricsinfo.h:
7107         * rowpainter.C:
7108         * text.C:
7109         * text2.C:
7110         * text3.C: two-phase drawing for InsetText and InsetTabular
7111         some float -> int changes.
7112
7113 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7114
7115         * lyx_main.C: fix the fix
7116
7117 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7118
7119         * lyx_main.C: fix a crash in batch mode if no files specified
7120         * converter.C: ws
7121
7122 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * format.[Ch] (papersize): moved to BufferParams
7125         * converter.[Ch] (dvips_options): moved to BufferParams
7126         (dvipdfm_options): moved to anon namespace
7127         * bufferparams.[Ch]: added above functions.
7128
7129 2003-07-17  André Pönitz  <poenitz@gmx.net>
7130
7131         * lyxtext.h:
7132         * rowpainter.C:
7133         * text2.C: don't call inset->update() anymore
7134
7135         * metricsinfo.[Ch]: add convenience constructor
7136
7137 2003-07-16  André Pönitz  <poenitz@gmx.net>
7138
7139         * lyxcursor.[Ch]:
7140         * lyxfunc.[Ch]:
7141         * text.C:
7142         * text2.C: replace the LyXCursor::irow_ member with
7143          on-demand computation of the value
7144
7145 2003-07-16  John Levon  <levon@movementarian.org>
7146
7147         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7148
7149 2003-07-15  André Pönitz  <poenitz@gmx.net>
7150
7151         * text.C:
7152         * text2.C: remove no more needed refresh_row
7153
7154 2003-07-15  André Pönitz  <poenitz@gmx.net>
7155
7156         * lyxtext.h:
7157         * rowpainter.C:
7158         * text2.C:
7159         * text3.C: refresh_status tristate -> need_update bool
7160
7161 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7162
7163         * lyxtext.h (init): remove reinit argument (act as if always true)
7164         * text2.C: adjust to that
7165
7166 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7167
7168         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7169         * text3.C: use it to delete selections in some cases
7170         (bugs 441, 673, 702, 954).
7171
7172 2003-07-14  André Pönitz  <poenitz@gmx.net>
7173
7174         * rowpainter.[Ch]: reduce interface
7175
7176 2003-07-14  André Pönitz  <poenitz@gmx.net>
7177
7178         * BufferView_pimpl.C:
7179         * text2.C: adjust after removing unused BufferView * argument
7180
7181 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * text2.C (init): fix a crash fired on resize
7184
7185 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * buffer.[Ch]: added new closing signal
7188         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7189         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7190         BufferView::Pimpl via the closing the signal
7191
7192 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7193
7194         * buffer.[Ch]: take out all bv-related from buffer
7195         * BufferView.C:
7196         * BufferView_pimpl.[Ch]: connect to new signals
7197         * CutAndPaste.C: removed useless asserts
7198         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7199         * lyxvc.[Ch]:
7200         * vc-backend.[Ch]:
7201         * lyxfunc.C: moved view-related funciontality from vc here
7202         * paragraph.C: removed outdated comments
7203         * text.C: ws
7204
7205 2003-07-10  André Pönitz  <poenitz@gmx.net>
7206
7207         * BufferView_pimpl.C:
7208         * tabular.h:
7209         * tabular_funcs.C:
7210         * text.C:
7211         * text2.C: remove InsetText::InnerCache, clean up consequences
7212
7213 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7214
7215         * ispell.C: fix two typos in error messages
7216
7217 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7218
7219         * Extend Note inset to other forms of annotation like Comment
7220         and Greyedout. Right button click gives dialog.
7221
7222         Files modified or added (+):
7223
7224         * insetnote.[Ch]
7225         * FormNote.[Ch]      +
7226         * ControlNote.[Ch]   +
7227         * form_note.fd       +
7228         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7229         frontends/controllers
7230         * xforms/Dialogs.C
7231         * factory.C
7232
7233 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7234
7235         * aspell.C: add missing namespace lyx::support
7236
7237 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7238
7239         * BufferView.[Ch] (newFile): Add
7240         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7241         * LaTeX.[Ch] (message): added this signal and use it
7242         * buffer.[Ch] (busy, message): added these signals and use them
7243         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7244         * converter.C:
7245         * exporter.C:
7246         * format.C:
7247         * importer.C: use buffer signals instead of direct bv calling
7248         * lyx_cb.[Ch] (ShowMessage): removed
7249         * lyx_main.C:
7250         * lyxfunc.C:
7251         * paragraph_funcs.C:
7252         * text2.C: use buffer signals
7253
7254 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * introduce namespace lyx::graphics
7257
7258 2003-07-02  André Pönitz  <poenitz@gmx.net>
7259
7260         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7261
7262 2003-07-01  André Pönitz  <poenitz@gmx.net>
7263
7264         * text.C:
7265         * text2.C:
7266         * text3.C:
7267         * text_funcs.[Ch]:
7268         * textcursor.h:
7269         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7270           text*.C to text_func.C
7271
7272 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * introduce namespace lyx::support
7275
7276 2003-06-30  André Pönitz  <poenitz@gmx.net>
7277
7278         * Chktex.C:
7279         * funcrequest.C:
7280         * lyxtext.h:
7281         * text.C: re-enable --with-included-string
7282
7283 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * textcursor.C: add <config.h>
7286
7287         * text.C (getWord): remove const from word_location arg
7288
7289         * lyxvc.C (getLogFile): fix const type order
7290
7291         * lyxtext.h: remove const from word_location arg, add arg name
7292
7293         * lyxlayout.h: currect type on labeltype.
7294
7295         * importer.C: correct \file
7296
7297         * converter.C (intToFormat): use std:: on ret val, ws changes
7298
7299         * bufferlist.h: correct \file
7300
7301         * buffer.C (makeLinuxDocFile): fix const type order
7302         (makeDocBookFile): ditto
7303         (fillWithBibKeys): use std:: on stdlib args.
7304
7305         * CutAndPaste.C: fix authors.
7306         (availableSelections): use std:: on return vector
7307
7308 2003-06-27  André Pönitz  <poenitz@gmx.net>
7309
7310         * BufferView_pimpl.C:
7311         * bufferview_funcs.C:
7312         * lyxcursor.C:
7313         * lyxcursor.h:
7314         * lyxfunc.C:
7315         * lyxtext.h:
7316         * rowpainter.C:
7317         * text.C:
7318         * text2.C:
7319         * text3.C: remove LyXCursor::row_ member
7320
7321         * lyxtext.h:
7322         * text.C: rename fullRebreak() to partialRebreak() and implement
7323           a fullRebreak() that really bereks fully
7324
7325         * textcursor.h: new struct for cursor-related data
7326
7327 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7328
7329         * lyx_main.C (LyX): get full path of document loaded on the
7330         command line
7331
7332 2003-06-26  André Pönitz  <poenitz@gmx.net>
7333
7334         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7335           remove unused/broken operator>,<,>=.
7336
7337         *       text.C: remove only use of broken operator<= in an Assert().
7338
7339 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7340
7341         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7342         moved errorlist_.clear to showErrorList
7343
7344 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7345
7346         * converter.C (scanLog, runLaTeX):
7347         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7348         move the bv->showErrorList call to the callers
7349         * lyxfunc.C: i.e. here...
7350         * text2.C: and here
7351         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7352         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7353         namespace, the second to...
7354         * buffer_funcs (BufferFormat, parseErrors): added
7355         * errorlist.C (ErrorList(TeXErrors const &)): removed
7356
7357 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7358
7359         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7360
7361 2003-06-24  "Garst R. Reese" <reese@isn.net>
7362
7363         * debug.C: fix typo
7364
7365 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7366
7367         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7368
7369         * version.C.in: change docversion to 1.4
7370
7371 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7372
7373         * buffer.C: fix a bug just introduced
7374
7375 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7376
7377         * buffer.[Ch]: added the parseError signal and use it, removed
7378         sgmlError
7379         * BufferView.[Ch] (addError): moved to ...
7380         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7381         to the Buffer::parseError signal to catch (guess what) parse errors
7382         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7383
7384 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7387         ability to create a buffer and to return an existing one from
7388         the list. Moved these functions to...
7389         * buffer_funcs.[Ch]: added
7390         * BufferView.[Ch] (loadLyXFile): added
7391         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7392         job removed from bufferlist::loadLyXFile.
7393         * buffer.C (setReadOnly): make it work without view
7394         (i.e added an if (users))
7395
7396 2003-06-19  Angus Leeming  <leeming@lyx.org>
7397
7398         * lfuns.h:
7399         * LyXAction.C (init):
7400         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7401         with LFUN_DIALOG_SHOW <name> <data>.
7402
7403 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7404
7405         * CutAndPaste.C (availableSelections): small compilation fix for
7406         ancient (gcc 2.9x) compilers
7407
7408 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7409
7410         * text3.C (cursorNext): add tmp var
7411
7412         * text2.C (updateCounters): for function calling out of for clause
7413         (replaceSelectionWithString): ditto
7414         (insertStringAsParagraphs): ditto
7415         (getColumnNearX): add tmp var
7416         (setCursorFromCoordinates): add tmp var
7417         (cursorDownParagraph): add tmp var
7418         (deleteEmptyParagraphMechanism): add tmp var
7419
7420         * text.C (insertChar): add tmp var
7421
7422         * rowpainter.C (paintDepthBar): add tmp var
7423
7424         * CutAndPaste.C (availableSelections): potentially check all
7425         paragraphs in a cut to fill the shown strings.
7426
7427 2003-06-18  André Pönitz  <poenitz@gmx.net>
7428
7429         * kbmap.[Ch]: use vector<> instead of list<>
7430
7431 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7432
7433         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7434         pasteSelection with index
7435
7436         * text2.C (pasteSelection): modify, call pasteSelection with index
7437
7438         * paragraph.C (asString): reimplement version with no interval to
7439         call the one with interval.
7440
7441         * lyxtext.h: add index arg to pasteSelection
7442
7443         * MenuBackend.C (MenuItem): handle PasteRecent
7444         (Menu::read::Menutags): add md_pasterecent
7445         (read): handle it
7446         (expandPasteRecent): new function
7447         (expand): use it
7448
7449         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7450
7451         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7452         the limited stack
7453         (availableSelections): new function
7454
7455 2003-06-17  Angus Leeming  <leeming@lyx.org>
7456
7457         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7458
7459 2003-06-17  Angus Leeming  <leeming@lyx.org>
7460
7461         * lfuns.h:
7462         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7463
7464         * lyxfunc.C (dispatch): invoke it.
7465
7466 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7467
7468         * iterators.C (operator++, ParPosition): reintroduce some
7469         const_cast for the benefit of older compilers.
7470
7471 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7472
7473         * text3.C (dispatch): do not modify clipboard when doing
7474         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7475         LFUN_DELETE_SKIP on a selection selection
7476
7477 2003-06-16  André Pönitz  <poenitz@gmx.net>
7478
7479         * BufferView.C:
7480         * buffer.C:
7481         * buffer.h:
7482         * paragraph.C:
7483         * tabular.[Ch]: IU of clone() and getLabelList();
7484
7485 2003-06-13  André Pönitz  <poenitz@gmx.net>
7486
7487         * tabular.h: compactification
7488
7489 2003-06-12  André Pönitz  <poenitz@gmx.net>
7490
7491         * tabular.C:
7492         * tabular.h:
7493         * tabular_funcs.h: some renaming plus whitespace
7494
7495 2003-06-12  André Pönitz  <poenitz@gmx.net>
7496
7497         * BufferView.C:
7498         * BufferView_pimpl.C:
7499         * CutAndPaste.C:
7500         * buffer.C:
7501         * iterators.[Ch]:
7502         * lyxfunc.C:
7503         * text.C:
7504         * toc.C: Return a Paragraph & for ParIterator::operator*()
7505
7506 2003-06-11  John Levon  <levon@movementarian.org>
7507
7508         * lyx_main.C:
7509         * ToolbarBackend.h:
7510         * ToolbarBackend.C: add "Toolbars" section and
7511         put the flags there
7512
7513 2003-06-10  Angus Leeming  <leeming@lyx.org>
7514
7515         * lfuns.h:
7516         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7517
7518         * lyxfunc.C (dispatch): invoke it.
7519
7520 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * main.C: protect <ios> with HAVE_IOS
7523         (main): protect sync_with_stdio with HAVE_IOS
7524
7525 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7526
7527         * text2.C (cutSelection): adjust
7528         (pasteSelection): adjust
7529
7530         * messages.C: handle get of empty string
7531
7532         * main.C (main): use sync_with_stdio(false)
7533
7534         * lyxfunc.C (dispatch): adjust
7535
7536         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7537         (WriteAs): remove unneeded BufferView arg.
7538
7539         * bufferparams.h: use correct types on papersize, papersize2 and
7540         paperpackage.
7541
7542         * bufferparams.C (readToken): adjust for type
7543         (writeLaTeX): add missing cases to switch.
7544
7545         * bufferlist.C (quitWriteBuffer): adjust
7546         (close): adjust
7547
7548         * buffer.C (asciiParagraph): remove some commented code.
7549
7550         * CutAndPaste.C: remove current_view extern variable.
7551         (cutSelection): add BufferParams arg.
7552         (eraseSelection): add BufferParams arg.
7553         (pasteSelection): add Buffer const & arg
7554
7555 2003-06-07  John Levon  <levon@movementarian.org>
7556
7557         * buffer.C:
7558         * paragraph_funcs.C:
7559         * paragraph_pimpl.C:
7560         * text.C:
7561         * text2.C:
7562         * paragraph.h:
7563         * paragraph.C: allow InsetERT to freely space lines,
7564         and some consolidation of code
7565
7566 2003-06-06  José Matos  <jamatos@fep.up.pt>
7567
7568         * buffer.C (makeDocBookFile): fix bug #821
7569
7570 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7571
7572         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7573
7574 2003-06-04  Angus Leeming  <leeming@lyx.org>
7575
7576         * buffer.C: bump format to 224.
7577
7578 2003-06-05  André Pönitz  <poenitz@gmx.net>
7579
7580         * text2.C (redoParagraphs): remove two const_cast<>
7581
7582 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7583
7584         * ParagraphList.h: remove last remnants of NO_STD_LIST
7585
7586 2003-06-03  Angus Leeming  <leeming@lyx.org>
7587
7588         * factory.C (createInset): small change to the way InsetExternal's params
7589         are set.
7590
7591 2003-06-04  André Pönitz  <poenitz@gmx.net>
7592
7593         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7594
7595         * paragraph_pimpl.h:
7596         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7597
7598         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7599
7600         * undo_funcs.C: make some simple cases of undo work again
7601
7602 2003-06-03  John Levon  <levon@movementarian.org>
7603
7604         * ispell.C: HPUX doesn't have sys/select.h
7605         (from Albert Chin)
7606
7607 2003-06-03  John Levon  <levon@movementarian.org>
7608
7609         * CutAndPaste.C: update tabular and include inset
7610         buffer references
7611
7612         * buffer.h:
7613         * paragraph.h:
7614         * paragraph.C: remove owningBuffer(), don't pass Buffer
7615         to clone()
7616
7617         * factory.C: insetGraphicsParams changed
7618
7619 2003-06-02  John Levon  <levon@movementarian.org>
7620
7621         * LyXAction.C:
7622         * factory.C:
7623         * lfuns.h:
7624         * lyxfunc.C:
7625         * text3.C: remove insetparent
7626
7627 2003-06-02  John Levon  <levon@movementarian.org>
7628
7629         * buffer.h:
7630         * buffer.C: fix inset_iterator.end(), move out of line
7631         (bug 1149)
7632
7633 2003-06-01  John Levon  <levon@movementarian.org>
7634
7635         * text3.C: use a proper cut/paste when doing inset
7636         insert (from Jürgen Spitzmüller)
7637
7638 2003-06-01  John Levon  <levon@movementarian.org>
7639
7640         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7641
7642 2003-05-30  André Pönitz  <poenitz@gmx.net>
7643
7644         * rowpainter.C: unify second drawing phase
7645
7646 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * trans_mgr.C: remove one case of current_view
7649
7650         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7651
7652         * paragraph_funcs.h: remove paragraph.h include
7653
7654         * paragraph.h: delete NO_STD_LIST stuff
7655
7656         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7657
7658         * buffer.h: remove paragraph.h include
7659
7660         * ParagraphList.C: delete file
7661
7662         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7663
7664         * toc.C (getTocList): adjust
7665
7666         * paragraph_pimpl.C (validate): adjust
7667
7668         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7669
7670         * paragraph.C (Paragraph): adjust
7671         (getPositionOfInset): use const_iterator, adjust
7672         (bibitem): use const_iterator, adjust
7673         (setInsetOwner): adjust
7674
7675         * iterators.C (operator++): adjust
7676
7677         * InsetList.[Ch]: Replace selfmade iterator with standard
7678         vector::iterator also introduce const_iterator. Remove getPos,
7679         getInset and setInset from InsetTable. Adjust accordingly.
7680
7681         * BufferView.C (lockInset): adjust
7682         (ChangeInsets): adjust
7683
7684         * tabular.[Ch]: delete commented same_id functions
7685
7686 2003-05-28  John Levon  <levon@movementarian.org>
7687
7688         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7689
7690 2003-05-28  André Pönitz  <poenitz@gmx.net>
7691
7692         * metricsinfo.[Ch]: remove 'fullredraw' member
7693
7694 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7695
7696         * lyxtextclass.C (operator): remove caching.
7697
7698 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * text3.C: adjust
7701
7702         * text2.C (cursorBottom): adjust
7703         (setCounter): use ParagraphList::find, adjust
7704
7705         * text.C (workWidth): use ParagraphList::find, adjust
7706
7707         * lyxcursor.C (LyXCursor): adjust
7708
7709         * buffer.C (inset_iterator): adjust
7710
7711         * ParagraphList.h: make iterator(value_type) private, make
7712         ParagraphList a friend of iterator.
7713
7714         * ParagraphList.C (find): new function
7715
7716         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7717
7718 2003-05-27  André Pönitz  <poenitz@gmx.net>
7719
7720         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7721
7722 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7723
7724         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7725
7726 2003-05-26  John Levon  <levon@movementarian.org>
7727
7728         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7729
7730 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * remove same_id from function signatures, adjust.
7733
7734 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7737
7738         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7739
7740         * paragraph.C (Paragraph): get rid of same_ids parameter
7741
7742         * ParagraphList.C (insert): adjust
7743         (push_back): adjust
7744
7745 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * paragraph_funcs.C (breakParagraph): adjust
7748         (breakParagraphConservative): adjust
7749
7750         * buffer.C (readParagraph): adjust
7751
7752         * ParagraphList.C (insert): take a reference instead of a pointer
7753         (insert): adjust
7754
7755         * paragraph.[Ch] (id): new function
7756
7757         * bufferlist.C (newFile): adjust
7758
7759         * ParagraphList.C (ParagraphList): adjust
7760         (assign): adjust
7761         (push_back): take a reference instead of a pointer.
7762
7763         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7764
7765         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7766         instead.
7767
7768         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7769         set else use old code.
7770
7771         * ParagraphList.C: remove all NO_NEXT code and only compile this
7772         code of NO_STD_LIST is set.
7773
7774 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7775
7776         * BufferView_pimpl.C:
7777         * TextCache.C:
7778         * TextCache.h:
7779         * bufferlist.C:
7780         * errorlist.h:
7781         * format.C:
7782         * format.h:
7783         * graph.C:
7784         * lyxfunc.C:
7785         * lyxrc.C:
7786         * graphics/GraphicsConverter.C:
7787         * graphics/PreviewLoader.C: header adjustment
7788
7789 2003-05-23  Angus Leeming  <leeming@lyx.org>
7790
7791         * LaTeXFeatures.[Ch] (useBabel): new method.
7792         * bufferparams.C (writeLaTeX): use it.
7793
7794 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * ParagraphList.h (set): remove unused function.
7797
7798 2003-05-23  André Pönitz  <poenitz@gmx.net>
7799
7800         * BufferView.C:
7801         * BufferView_pimpl.C:
7802         * buffer.C:
7803         * buffer.h:
7804         * lyxfunc.C:
7805         * undo_funcs.C: setUndo reworked
7806
7807         * iterators.[Ch]: add access to topmost ParagraphList
7808
7809         * lyxtext.[Ch] (workWidth): add a const
7810
7811 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7812
7813         * texrow.[Ch] (increasePos): remove function
7814         * exporter.C (export): removed unused var and outdated comment
7815
7816 2003-05-23  Angus Leeming  <leeming@lyx.org>
7817
7818         * latexrunparams.h: rename fragile as moving_arg.
7819         * paragraph.C (simpleTeXOnePar): ditto.
7820         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7821
7822 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7825         (createUndo): ditto
7826         (textUndoOrRedo): comment out a currently unused var.
7827
7828         * paragraph.h (NO_NEXT): enable NO_NEXT
7829
7830         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7831
7832         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7833
7834         * exporter.C (Export): adjust for removeAutoInsets removal.
7835
7836         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7837
7838         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7839
7840         * BufferView.[Ch] (removeAutoInsets): delete function
7841
7842 2003-05-22  Angus Leeming  <leeming@lyx.org>
7843
7844         * latexrunparams.h: add a free_spacing variable.
7845
7846         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7847         to pass moving_arg, as the data is stored in runparams.fragile.
7848
7849         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7850         to Inset::latexOptional or to simpleTeXOnePar.
7851
7852         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7853         free_spacing arg to Inset::latexOptional.
7854
7855         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7856         free_spacing arg.
7857
7858 2003-05-22  Angus Leeming  <leeming@lyx.org>
7859
7860         * latexrunparams.h: add fragile and use_babel variables.
7861
7862         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7863         * buffer.C (makeLaTeXFile): store this returned value in
7864         runparams.use_babel, thus passing it to the inset::latex methods.
7865
7866         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7867         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7868
7869         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7870         longer has a fragile arg, as it is stored in runparams.fragile.
7871
7872         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7873         moving_arg parameter as the data is stored in runparams.fragile.
7874
7875         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7876         a fragile parameter as the data is stored in runparams.fragile.
7877
7878 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7881
7882 2003-05-22  Angus Leeming  <leeming@lyx.org>
7883
7884         * latexrunparams.h: add a 'bool nice' which defaults to false.
7885
7886         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7887         now encapsulated within runparams.
7888
7889         * bufferlist.C (updateIncludedTeXfiles):
7890         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7891
7892 2003-05-22  Angus Leeming  <leeming@lyx.org>
7893
7894         * latexrunparams.h: new file containing struct LatexRunParams.
7895         * Makefile.am: add new file.
7896
7897         * LaTeX.[Ch] (c-tor, run):
7898         * buffer.[Ch] (makeLaTeXFile):
7899         * bufferlist.[Ch] (updateIncludedTeXfiles):
7900         * converter.C (convert, scanLog):
7901         * converter.[Ch] (runLaTeX):
7902         * exporter.C (Export):
7903         * paragraph.[Ch] (simpleTeXOnePar):
7904         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7905         * paragraph_funcs.[Ch] (latexParagraphs):
7906         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7907         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7908         pass around a LatexRunParams parameter.
7909
7910 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * paragraph.[Ch]: remove unused constructor
7913
7914         * ParagraphList.C (erase): new function, taking two iterators
7915
7916 2003-05-22  André Pönitz  <poenitz@gmx.net>
7917
7918         * undo_funcs.C: remove duplicated code
7919
7920         * iterator.[Ch]: operator=
7921
7922 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * tabular.C (SetMultiColumn): ws changes
7925
7926         * rowpainter.C (paintFirst): get rid of a ->previous
7927
7928         * lyx_cb.C (getPossibleLabel): parlist simplification
7929
7930         * BufferView.C (ChangeInsets): simplify slightly.
7931
7932 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7933
7934         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7935         * lfuns.h: new LFUN_SPACE
7936         * lyxfunc.C: protected space has a new lfun
7937         * paragraph_funcs.C: read new space insets
7938         * text3.C:
7939         * factory.C: handle new space insets
7940
7941 2003-05-22  André Pönitz  <poenitz@gmx.net>
7942
7943         * BufferView.C:
7944         * BufferView_pimpl.C:
7945         * buffer.[Ch]:
7946         * lyxfunc.C:
7947         * undo_funcs.C: return a ParIterator from getParFromID.
7948
7949         * iterators.[Ch]: add two const's
7950
7951 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * toc.C (getTocList): adjust
7954
7955         * iterators.[Ch]: rework for parlist
7956
7957         * buffer.C (par_iterator_begin): adjust
7958         (par_iterator_end): adjust
7959
7960         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7961
7962         * BufferView.C (removeAutoInsets): adjust
7963         (ChangeInsets): adjust
7964
7965 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7966
7967         * text.C (top_y): fix bug 1110
7968
7969 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7970
7971         * errorlist.[Ch]: added
7972         * buffer.C:
7973         * BufferView.[Ch]:
7974         * BufferView_pimpl.C:
7975         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7976         instead
7977
7978 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * Makefile.am: ensure that lyx is relinked upon changes to the
7981         various "convenience" libs.
7982
7983 2003-05-20  Angus Leeming  <leeming@lyx.org>
7984
7985         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7986         files are compiled in alphabetical order again.
7987
7988         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7989
7990 2003-05-19  Angus Leeming  <leeming@lyx.org>
7991
7992         * gettext.[Ch]: remove "char const * _(char const *)".
7993
7994 2003-05-19  André Pönitz  <poenitz@gmx.net>
7995
7996         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7997
7998         * Makefile.am:
7999         * BufferView.C:
8000         * DepTable.h:
8001         * LaTeXFeatures.C:
8002         * buffer.C:
8003         * lyxfont.C:
8004         * lyxlex.h:
8005         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8006
8007 2003-05-19  André Pönitz  <poenitz@gmx.net>
8008
8009         * buffer.C:
8010         * lyxlayout.[Ch]:
8011         * lyxtextclass.[Ch]:
8012         * paragraph.C:
8013         * paragraph_funcs.[Ch]:
8014         * text2.C:
8015         * text3.C: more insetenv work
8016
8017 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8018
8019         * ParagraphParameters.C (params2string): small bug fixed
8020
8021 2003-05-16  André Pönitz  <poenitz@gmx.net>
8022
8023         * debug.C:
8024         * bufferview_funcs.C: patch from Kornel Benko to prevent
8025           crash when _(...) is called twice in a statement
8026
8027 2003-05-16  André Pönitz  <poenitz@gmx.net>
8028
8029         * BufferView.C:
8030         * lyxfunc.C:
8031         * text.C:
8032         * text2.C:
8033         * text3.C:
8034         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8035
8036 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8037
8038         * lyx_main.C (init): remove spurious static_cast
8039
8040 2003-05-14  André Pönitz  <poenitz@gmx.net>
8041
8042         * BufferView.C: fix format string
8043
8044 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8045
8046         * BufferView.[Ch] (insertErrors): removed
8047         * BufferView.[Ch] (showErrorList): added
8048         * buffer.C (runChkTeX):
8049         * converter.C (scanLog): call showErrorList instead of inserterrors
8050
8051 2003-05-13  André Pönitz  <poenitz@gmx.net>
8052
8053         * BufferView_pimpl.C:
8054         * buffer.C:
8055         * bufferview_func.C:
8056         * MenuBackend.C:
8057         * lyxfunc.C:
8058         * lyxrc.C:
8059         * tex-accent.C:
8060         * text3.C:
8061         * toc.C:
8062         * tabular_funcs.h: tostr() from its own header
8063
8064         * ParagraphParameters.C:
8065         * ToolbarBackend.C:
8066         * bufferparams.C:
8067         * format.C:
8068         * lyxlex_pimpl.C:
8069         * text3.C: STRCONV()
8070
8071 2003-05-12  André Pönitz  <poenitz@gmx.net>
8072
8073         * BufferView.C:
8074         * BufferView_pimpl.C:
8075         * CutAndPaste.C:
8076         * LaTeX.C:
8077         * LaTeXFeatures.C:
8078         * ParagraphParameters.C:
8079         * buffer.C:
8080         * bufferlist.C:
8081         * bufferparams.C:
8082         * bufferview_funcs.C:
8083         * converter.C:
8084         * counters.C:
8085         * debug.C:
8086         * exporter.C:
8087         * format.C:
8088         * importer.C:
8089         * lyx_cb.C:
8090         * lyx_main.C:
8091         * lyxfont.C:
8092         * lyxfunc.C:
8093         * lyxvc.C:
8094         * paragraph.C:
8095         * paragraph_funcs.C:
8096         * tabular.C:
8097         * tabular_funcs.C:
8098         * text2.C:
8099         * text3.C:  boost::format -> bformat  all over the place
8100
8101
8102 2003-05-09  André Pönitz  <poenitz@gmx.net>
8103
8104         * LColor.[Ch]: Pimpl the #include <map> away
8105
8106 2003-05-09  John Levon  <levon@movementarian.org>
8107
8108         * bufferlist.C: never remove emergency saves
8109
8110 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * Makefile.am: better lib building
8113
8114 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8117         instead.
8118         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8119         (simpleTeXSpecialChars): adjust
8120         (simpleTeXSpecialChars): adjust
8121         * paragraph.C (simpleTeXOnePar): adjust
8122         * buffer.C (makeLaTeXFile): adjust
8123
8124         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8125
8126         * text2.C (changeDepth): parlist cleanup
8127         (getColumnNearX): ditto
8128
8129         * rowpainter.C (getLabelFont): parlist cleanup
8130
8131         * bufferlist.C (newFile): parlist cleanup
8132
8133         * CutAndPaste.C (eraseSelection): parlist cleanup
8134
8135         * BufferView_pimpl.C (trackChanges): parlist cleanup
8136         (dispatch): ditto
8137
8138         * BufferView.C (lockInset): parlist cleanup.
8139         (ChangeInsets): ditto
8140
8141 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * CutAndPaste.h: Update file header.
8144
8145         * CutAndPaste.C: Update file header.
8146         Store the parts cut out of the Document in a limited_stack.
8147         (copySelection): adjust
8148         (pasteSelection): new function, takes the index in the limited stack.
8149         (nrOfParagraphs): adjust
8150         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8151         simplify error inset insertion.
8152         (checkPastePossible): adjust
8153
8154 2003-05-06  John Levon  <levon@movementarian.org>
8155
8156         * text2.C: don't cast wrap inset to float
8157
8158 2003-05-05  André Pönitz  <poenitz@gmx.net>
8159
8160         * iterator.C:
8161         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8162
8163         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8164           few naked Paragraph *.
8165
8166 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8167
8168         * bufferparams.C: Output warning if a document with missing
8169         TeX document class is loaded
8170         * exporter.C: Disable TeX exports if the document class is missing
8171         * lyxtextclass.C:
8172         * lyxtextclass.h:
8173         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8174         isTeXClassAvailable()
8175
8176 2003-05-03  John Levon  <levon@movementarian.org>
8177
8178         * BufferView.h:
8179         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8180         explicit cursor show/hide
8181
8182         * BufferView_pimpl.h:
8183         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8184         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8185
8186         * lyxfunc.C: hide cursor before dispatching.
8187
8188         * lyx_cb.C:
8189         * lyxfind.C:
8190         * text.C:
8191         * text3.C: remove explicit cursor hides
8192
8193 2003-05-02  André Pönitz  <poenitz@gmx.net>
8194
8195         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8196
8197         * undo_funcs.C:
8198         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8199           linked lists
8200
8201         * text2.C: tiny whitespace
8202
8203 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * undo_funcs.C: almost only ws changes.
8206
8207         * ParagraphList.C (splice): just return if pl is empty.
8208
8209 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * ParagraphList.C (splice): new function.
8212
8213         * CutAndPaste.C (pasteSelection): use it
8214
8215 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * CutAndPaste.C (pasteSelection): remove the last next and
8218         previous from this file.
8219
8220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * CutAndPaste.C (pasteSelection): more clean up, user proper
8223         ParagraphList functions for pasteing.
8224
8225         * ParagraphList.C (insert): new function, three arg insert
8226
8227 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * ParagraphList.C (insert): new function, three arg insert
8230
8231         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8232         not on paragraphs.
8233
8234 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8237
8238 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8241
8242 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8243
8244         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8245         (copySelection): clean up a bit.
8246         (pasteSelection): use make_pair
8247
8248         * ParagraphList.C (ParagraphList): implement copy constructor
8249         (operator=): implement, base on copy constructor.
8250         (assign): new func
8251
8252         * paragraph.C (erase): return a bool
8253
8254         * paragraph_pimpl.C (erasePos): remove function, move contents...
8255         (erase): ... here. Return a bool.
8256         (erase): call erase instead of erasePos.
8257
8258 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8259
8260         * ParagraphList.h: define PitPosPair
8261         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8262         ParagraphList, fix a bug on pasting multiple pars
8263         * text2.C: change interface to C&P
8264
8265 2003-04-30  André Pönitz  <poenitz@gmx.net>
8266
8267         * undo_func.C: revert part of yesterday's patch 2
8268
8269 2003-04-30  John Levon  <levon@movementarian.org>
8270
8271         * LColor.C: s/tabular/table/
8272
8273 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * text3.C (dispatch): do not convert iterator -> pointer
8276         * undo_funcs.C (setCursorParUndo): ditto
8277         * text_funcs.C (transposeChars): ditto
8278
8279         * text2.C (setLayout): ws changes only
8280
8281         * text.C (breakParagraph): do not convert iterator -> pointer
8282         (insertChar): ditto
8283         (acceptChange): ditto
8284         (rejectChange): ditto
8285         (changeCase): ditto
8286         (Delete): ditto
8287         (backspace): ditto
8288
8289         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8290         pointer
8291
8292 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8293
8294         * text3.C (gotoInset): YABG (yet another bad getChar)
8295
8296 2003-04-29  André Pönitz  <poenitz@gmx.net>
8297
8298         * paragraph.h: make operator= private unimplemented as long as
8299           it is unusable
8300
8301         * ParagraphList.C: whitespace
8302
8303         * paragraph.[Ch]:
8304         * paragraph_pimpl.[Ch]:
8305         * paragraph_funcs.C:
8306         * CutAndPaste.C:
8307         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8308
8309         * text2.C:
8310           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8311
8312 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8313
8314         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8315         * paragraph.[Ch] (erase):
8316         * paragraph_pimpl.[Ch] (erase): change return type and value
8317         * text2.C (cutSelection): some rework
8318
8319 2003-04-28  John Levon  <levon@movementarian.org>
8320
8321         * bufferlist.C: changes for unsaved changes dialog
8322
8323 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * bufferlist.C (newFile): set language (messages_) for new
8326         documents also.
8327
8328         * buffer.C (readFile): ws changes only.
8329
8330 2003-04-28  André Pönitz  <poenitz@gmx.net>
8331
8332         * undo_funcs.C:
8333         * lyxfunc.C:
8334         * buffer.[Ch]:
8335         * BufferView_pimpl.C:
8336         * BufferView.C: getParFromID related ParagraphList::iterator changes
8337
8338 2003-04-28  André Pönitz  <poenitz@gmx.net>
8339
8340         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8341           Changes
8342
8343 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * messages.C: remove one more localedir class variable.
8346
8347 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * messages.C (getLocaleDir): singleton generation function
8350         (Pimpl): use it.
8351         (Messages): add a default constructor.
8352
8353         * main.C (main): do not setup localedir here, do not call
8354         gettext_init.
8355
8356         * gettext.C (_): use it.
8357         (gettext_init): delete funciton
8358
8359 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * gettext.C (getLyXMessages): new singleton generating function.
8362
8363         * buffer.C (updateDocLang): adjust
8364
8365         * Makefile.am (messages.o): add target
8366         (main.o): remove target
8367
8368 2003-04-27  John Levon  <levon@movementarian.org>
8369
8370         * bufferlist.C:
8371         * lyx_cb.C:
8372         * lyxfunc.C:
8373         * lyxvc.C: specify cancel button in Alert::prompt
8374
8375 2003-04-26  John Levon  <levon@movementarian.org>
8376
8377         * text3.C:
8378         * lyxfunc.C:
8379         * lfuns.h:
8380         * LyXAction.C: add LFUN_INSET_SETTINGS
8381
8382         * lyxfunc.C: don't enable tabular-feature when there's
8383         just any locking inset
8384
8385 2003-04-26  John Levon  <levon@movementarian.org>
8386
8387         * bufferlist.C: re-add Cancel to buffer close question
8388
8389         * lyxfunc.C: fix import UI a bit
8390
8391 2003-04-25  John Levon  <levon@movementarian.org>
8392
8393         * gettext.C: remove the broken asserts for now
8394
8395 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * messages.C: make case where setlocale cannot comply work better.
8398
8399         * buffer.C (updateDocLang): new function
8400         (changeLanguage): use it
8401         (readFile): use it
8402
8403         * text2.C (setCounter): use B_ a bit.
8404
8405         * lyxlayout.C (Read): be sure to trim the label strings.
8406
8407         * messages.C (Messages): fix typo in comment
8408
8409         * buffer.C (readFile): set message_ after file is loaded.
8410         (makeDocBookFile): remove double return
8411         (changeLanguage): reset message_ upon language change.
8412         (B_): new func, use this to get translated buffer strings.
8413
8414         * main.C: add myself and Jean Marc as authors.
8415
8416 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8417
8418         * messages.[hC]: pimplify Messages, and three different pimpls to be
8419         used in different circumstances.
8420
8421         * gettext.[Ch]: change for use with new message code.
8422
8423 2003-04-24 André Pönitz <poenitz@gmx.net>
8424
8425         * factory.C: support for eqref
8426
8427 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8428
8429         * messages.[Ch]: add missing char
8430
8431         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8432
8433         * messages.[Ch]: New files
8434
8435 2003-04-18  John Levon  <levon@movementarian.org>
8436
8437         * BufferView.h:
8438         * BufferView.C:
8439         * BufferView_pimpl.C:
8440         * lfuns.h:
8441         * LyXAction.C:
8442         * lyxtext.h:
8443         * text2.C: remove layout-copy/paste (bug 778)
8444
8445 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8446
8447         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8448
8449 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8450
8451         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8452         if they succeed. Act accordingly.
8453
8454 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8455
8456         * text2.C (setCharFont): adjust
8457         (setCounter): adjust
8458         (insertStringAsLines): adjust
8459
8460         * text.C (leftMargin): adjust
8461         (setHeightOfRow): adjust
8462
8463         * rowpainter.C (paintFirst): adjust
8464         (paintLast): adjust
8465
8466         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8467         (outerHook): ditto
8468         (isFirstInSequence): ditto
8469         (getEndLabel): ditto
8470         (outerFont): adjust
8471
8472         * paragraph.C (getParLanguage): comment out some hard stuff.
8473
8474         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8475         (sgmlError): ditto
8476         (simpleDocBookOnePar): ditto
8477         (makeDocBookFile): use ParagraphList::iterator
8478
8479         * CutAndPaste.C (pasteSelection): adjust
8480
8481 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8482
8483         * text2.C (getFont): adjust
8484         (getLayoutFont): adjust
8485         (getLabelFont): adjust
8486
8487         * paragraph_funcs.C (TeXOnePar): adjust
8488
8489         * buffer.C (simpleLinuxDocOnePar): adjust
8490         (simpleDocBookOnePar): adjust
8491
8492         * CutAndPaste.C (pasteSelection): adjust
8493
8494         * BufferView.C (getEncoding): adjust
8495
8496         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8497
8498 2003-04-16  John Levon  <levon@movementarian.org>
8499
8500         * lyxfind.C: use parlist stuff for search/changes
8501
8502 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8503
8504         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8505
8506         * text2.C (deleteEmptyParagraphMechanism): adjust
8507
8508         * text2.[Ch] (ownerParagraph): delete func (both of them
8509
8510 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8511
8512         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8513
8514 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8515
8516         * ParagraphList.C: prepare for NO_NEXT
8517
8518 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * text2.C (getFont): adjust
8521         (getLayoutFont): adjust
8522         (getLabelFont): adjust
8523
8524         * paragraph.C (getFont): adjust
8525         (getLabelFont): adjust
8526         (getLayoutFont): adjust
8527
8528         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8529
8530 2003-04-15  John Levon  <levon@movementarian.org>
8531
8532         From Angus Leeming
8533
8534         * lyx_main.C: handle Include in .ui files
8535
8536 2003-04-15  John Levon  <levon@movementarian.org>
8537
8538         * MenuBackend.C: make the doc files length shorter
8539
8540         * ToolbarBackend.h:
8541         * ToolbarBackend.C: handle toolbar placement flags,
8542         Minibuffer
8543
8544 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8545
8546         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8547         adjust
8548
8549         * paragraph_funcs.C (TeXOnePar): adjust
8550
8551         * paragraph.C (getLabelFont): add outerfont arg, adjust
8552         (getLayoutFont): ditto
8553         (simpleTeXOnePar): adjust
8554
8555         * paragraph_pimpl.C (realizeFont): delete func
8556
8557 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8558
8559         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8560         row argument, constify cur argument.
8561
8562 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8563
8564         * text2.C (getFont): adjust
8565         (getLayoutFont): adjust
8566         (getLabelFont): adjust
8567
8568         * paragraph_funcs.C (TeXOnePar): adjust
8569         (outerFont): new func...
8570         (realizeFont): ...moved out from here, changed this to facilitate
8571         transition
8572
8573         * paragraph.C (getFont): take outerfont as arg, adjust
8574         (simpleTeXOnePar): add outerfont arg, adjust
8575
8576         * buffer.C (simpleLinuxDocOnePar): adjust
8577         (simpleDocBookOnePar): adjust
8578
8579         * CutAndPaste.C (pasteSelection): adjust
8580
8581         * BufferView.C (getEncoding): adjust
8582
8583 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * text2.C (setCharFont): adjust
8586         (setCounter): adjust
8587
8588         * text.C (leftMargin): adjust
8589         (setHeightOfRow): adjust
8590
8591         * rowpainter.C (paintFirst): adjust
8592         (paintLast): adjust
8593
8594         * paragraph_pimpl.C (realizeFont): adjust
8595
8596         * paragraph.C (isFirstInSequence): move from here...
8597         * paragraph_funcs.C (isFirstInSequence): ...to here
8598
8599         * paragraph.C (outerHook): move from here...
8600         * paragraph_funcs.C (outerHook): ...to here
8601
8602         * paragraph.C (depthHook): move from here...
8603         * paragraph_funcs.C (depthHook): ...to here
8604
8605         * paragraph.C (getEndLabel): move from here...
8606         * paragraph_funcs.C (getEndLabel): ...to here
8607
8608         * text2.C (realizeFont): move from here...
8609         * paragraph_funcs.C (realizeFont): ...to here
8610
8611 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8614
8615 2003-04-14  Angus Leeming  <leeming@lyx.org>
8616
8617         * LColor.[Ch]: scrap LColor mathcursor.
8618
8619 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8620
8621         * lyxlex.[Ch] (text): delete function
8622         * trans.C (Load): adjust
8623         * paragraph_funcs.C (readParToken): adjust
8624
8625 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8626
8627         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8628         vector<char> instead of a char[].
8629
8630         * lyxlex_pimpl.C (getString): adjust
8631         (next): adjust
8632         (lex): use getString
8633         (eatLine): adjust
8634         (nextToken): adjust
8635
8636         * lyxlex.C (text): use pimpl_->getString()
8637         (getBool): ditto
8638         (findToken): ditto
8639
8640 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641
8642         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8643         (makeFontEntriesLayoutSpecific): temp var for par.size()
8644         (setLayout): temp var for ownerParagraphs().end()
8645         (fullRebreak): temp var for rows().end()
8646         (selectionAsString): temp var for boost::next(startpit), realize
8647         that the while really is a regular for loop.
8648         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8649         setCursor in one place.
8650         (setParagraph): temp vr for ownerParagraphs().end()
8651         (updateCounters): make the while loop a for loop
8652         (cutSelection): temp var for ownerParagraphs().end()
8653         (updateInset): make the do {} while() a regular for loop
8654         (getCursorX): use temp vars
8655         (setCurrentFont): use temp vars
8656         (getColumnNearX): use temp vars
8657
8658 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * text.C (transformChar): use temp var for getChar
8661         (computeBidiTables): use temp var for row->par()
8662         (fill): move temp vars for row->par() and pit->layout() earlier in
8663         the function.
8664         (labelFill): use temp var for row->par()
8665         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8666         asc and desc, realize that pit never changes and that firstpit is
8667         just a duplicate and not needed. Exchange rit->par() with pit in a
8668         lot of places.
8669         (breakAgain): use a temp var for boost::next(rit)
8670         (breakAgainOneRow): ditto
8671         (breakParagraph): use a temp var for rows().begin()
8672         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8673         (cursorRightOneWord): use temp var for cursor.par() and
8674         cursor.pos(), remove usage of tmpcursor.
8675         (cursorLeftOneWord): use temp var for cursor.par() and
8676         cursor.pos() only set cur at end of function.
8677
8678 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8679
8680         * text.C, text2.C: exchange all usage of Paragraph::next with
8681         boost::next(ParagraphList::iterator)
8682
8683         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8684
8685         * text2.C (cursorTop): simplify implementation
8686         (cursorBottom): ditto
8687         (setParagraph): use ParagraphList::iterator
8688         (setCurrentFont): adjust
8689         (getColumnNearX): adjust
8690         (cursorRight): adjust
8691         (cursorLeft): remove usage of Paragraph::previous
8692         (cursorUpParagraph): ditto
8693         (deleteEmptyParagraphMechanism): slight cleanup
8694
8695         * text.C (isBoundary): take a Paragraph const & instead of a
8696         pointer as arg.
8697         (addressBreakPoint): ditto
8698         (leftMargin): remove usage of Paragraph::previous.
8699         (setHeightOfRow): ditto
8700         (cursorLeftOneWord): ditto
8701         (selectNextWordToSpellcheck): ditto
8702         (Delete): ditto
8703         (backspace): ditto
8704         (breakParagraph): remove one usage of Paragraph::next
8705         (redoParagraph): ditto
8706         (acceptChange): ditto
8707         (insertChar): adjust
8708         (rowBreakPoint): adjust
8709
8710         * bufferview_funcs.C (toggleAndShow): adjust
8711
8712 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8713
8714         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8715         methods to access it.
8716         * lyxtext.h:
8717         * text.C: Added updateRowPositions to compute all row positions.
8718         Make top_y and getRowNearY() to use the cached y position
8719
8720 2003-04-11  John Levon  <levon@movementarian.org>
8721
8722         * text.C (rowBreakPoint): reintroduce the labelEnd
8723         checks, code copied from the row fill stuff. Deep voodoo.
8724
8725         * text.C (fill): add a comment and debugging for the
8726         next poor soul.
8727
8728 2003-04-11  John Levon  <levon@movementarian.org>
8729
8730         * text.C: make sure fullrow insets get wrapped to the next line,
8731         even when they're in a manual label
8732
8733 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8734
8735         * text2.C (insertParagraph): make it take ParagraphList::iterator
8736         as arg.
8737         (setLayout): make it return ParagraphList::iterator
8738         (redoParagraphs): ditto
8739         (setCounter): ditto
8740         (checkParagraph): ditto
8741
8742         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8743
8744         * text2.C: adjust several funcs.
8745         (realizeFont): take a ParagraphList::iterator as arg.
8746         (getLayoutFont): ditto
8747         (getLabelFont): ditto
8748         (setCharFont): ditto
8749
8750         * text.C: adjust several funcs.
8751
8752 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8753
8754         * text.C (selectNextWordToSpellcheck): don't accidentally
8755         skip insets
8756
8757 2003-04-10  John Levon  <levon@movementarian.org>
8758
8759         * ToolbarBackend.C (getIcon): special handling for
8760         LFUN_MATH_DELIM
8761
8762 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8763
8764         * text2.C (cursorRight): a getChar assert fixed
8765
8766 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8767
8768         * text2.C (getFont): change to take a ParagraphList::iterator
8769         instead of Paragraph*
8770         Adjust several functions.
8771
8772         * text.C (transformChar): change to take a ParagraphList::iterator
8773         instead of Paragraph*
8774         (singleWidth): ditto
8775         Adjust several functions.
8776
8777         * rowpainter.C: adjust several functions
8778         * rowpainter.h:store a ParagraphList::iterator and not a
8779         Paragraph&.
8780
8781
8782 2003-04-09  John Levon  <levon@movementarian.org>
8783
8784         * lyxfunc.C:
8785         * lfuns.h:
8786         * LyXAction.h:
8787         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8788         and the "help" bits as well
8789
8790 2003-04-09  John Levon  <levon@movementarian.org>
8791
8792         * ToolbarBackend.h:
8793         * ToolbarBackend.C: allow multiple toolbars
8794
8795 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * undo_funcs.C (setCursorParUndo): adjust
8798
8799         * text_funcs.C (transposeChars): adjust
8800
8801         * text3.C (gotoNextInset): adjust
8802         (dispatch): adjust
8803
8804         * text2.C (setLayout): adjust
8805         (changeDepth): adjust
8806         (setFont): adjust
8807         (redoParagraphs): adjust
8808         (selectionAsString): adjust
8809         (setParagraph): adjust
8810         (insertInset): adjust
8811         (cutSelection): adjust
8812         (copySelection): adjust
8813         (pasteSelection): adjust
8814         (insertStringAsLines): adjust
8815         (updateInset): adjust
8816         (setCursor): change to take a ParagraphList::iterator parameter
8817         (setCursorIntern): change to take a ParagraphList::iterator parameter
8818         (setCurrentFont): adjust
8819         (cursorLeft): adjust
8820         (cursorRight): adjust
8821         (deleteEmptyParagraphMechanism): adjust
8822
8823         * text.C (breakParagraph): adjust
8824         (insertChar): adjust
8825         (acceptChange): adjust
8826         (rejectChange): adjust
8827         (selectNextWordToSpellcheck): adjust
8828         (changeCase): adjust
8829         (Delete): adjust
8830         (backspace): adjust
8831
8832         * lyxfind.C (SearchForward): adjust
8833         (SearchBackward): adjust
8834         (nextChange): adjust
8835
8836         * lyxcursor.C (par): adjust
8837
8838         * lyxcursor.h: store a ParagraphList::iterator instead of a
8839         Paragraph*
8840
8841         * lyx_cb.C (getPossibleLabel): adjust
8842
8843         * bufferview_funcs.C (toggleAndShow): adjust
8844
8845         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8846         (dispatch): adjust
8847
8848         * BufferView.C (removeAutoInsets): adjust
8849         (lockedInsetStoreUndo): adjust
8850
8851 2003-04-09  John Levon  <levon@movementarian.org>
8852
8853         * ToolbarBackend.C: try icon without argument
8854         if with argument fails
8855
8856 2003-04-08  John Levon  <levon@movementarian.org>
8857
8858         * ToolbarBackend.h:
8859         * ToolbarBackend.C: add getIcon(), handle tooltip,
8860         and change from "Icon" to "Item".
8861
8862 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8863
8864         * BufferView.C (lockInset): another bad getchar crunched
8865
8866 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8867
8868         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8869         again)
8870
8871 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8872
8873         * lyxfind.C (searchForward, searchBackwards): bug 782
8874
8875 2003-04-07  John Levon  <levon@movementarian.org>
8876
8877         * paragraph.C: remove dead comment
8878
8879         * text.C: remove troublesome depth-fiddling code
8880         in leftMargin() and rightMargin() (bug 1017)
8881
8882         * text.C: fix breaking of rows in nested lists
8883         (bug 1004)
8884
8885         * text2.C (updateCounters): fix up depth values
8886         (bug 1013)
8887
8888 2003-04-07  John Levon  <levon@movementarian.org>
8889
8890         * BufferView_pimpl.C: clear message when doc finishes resizing,
8891         and after a mouse event
8892
8893         * lyxfunc.C: clear message after exiting inset
8894
8895 2003-04-07  John Levon  <levon@movementarian.org>
8896
8897         * bufferview_funcs.C: show math status not outside
8898         status in the statusbar
8899
8900 2003-04-07  John Levon  <levon@movementarian.org>
8901
8902         * lyxfunc.C: note status changed after a depth change
8903
8904 2003-04-04  Angus Leeming  <leeming@lyx.org>
8905
8906         * LaTeX.h: move AuxInfo operator==, != out of line.
8907         Remove LaTeX virtual destructor; nothing derives from it.
8908         Move operator()() out of public area and rename it startscript().
8909         Change protected for private.
8910
8911 2003-04-04  Angus Leeming  <leeming@lyx.org>
8912
8913         * lyxfunc.C:
8914         * text2.C: remove unneeded #includes.
8915
8916 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8917
8918         * text2.C (dEPM): fix the heigth of the next row
8919
8920 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8921
8922         * text.C: squashed an invalid getChar requester + some ws changes
8923
8924 2003-04-03  John Levon  <levon@movementarian.org>
8925
8926         * bufferview_funcs.h:
8927         * bufferview_funcs.C:
8928         * lyxfunc.C:
8929         * lyxtext.h:
8930         * text2.C: make getStatus work for the env depth lfuns
8931
8932 2003-04-03  John Levon  <levon@movementarian.org>
8933
8934         * bufferview_funcs.h:
8935         * bufferview_funcs.C:
8936         * lyxfunc.C:
8937         * lyxtext.h:
8938         * text2.C: parlistize decDepth(), by merging it with incDepth()
8939
8940 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8941
8942         * lyxrow.h: store a ParagraphList::iterator instead of a
8943         Paragraph* and adjust other class functions to suit.
8944
8945         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8946         above.
8947
8948 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8949
8950         * text2.C (setCursor): do not anchor to cursor row for the time being
8951
8952 2003-04-02  John Levon  <levon@movementarian.org>
8953
8954         * LyXAction.C:
8955         * lfuns.h:
8956         * lyx_main.C:
8957         * lyxtext.h:
8958         * text.C:
8959         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8960
8961 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8962
8963         * paragraph.h: make ParagraphList and ParagraphList::iterator
8964         friends of Paragraph.
8965
8966         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8967
8968         * ParagraphList.C: Use the private next_ and previous_ from
8969         Paragraph.
8970
8971 2003-04-01  John Levon  <levon@movementarian.org>
8972
8973         * ToolbarBackend.h:
8974         * ToolbarBackend.C:
8975         * Makefile.am: rename, remove defaults gunk
8976
8977         * MenuBackend.h:
8978         * MenuBackend.C: remove defaults gunk
8979
8980         * Languages.h:
8981         * Languages.C: remove defaults gunk
8982
8983         * lyx_main.h:
8984         * lyx_main.C: error out if files couldn't be found.
8985
8986 2003-04-02  John Levon  <levon@movementarian.org>
8987
8988         * text2.C: make incDepth() use parlist
8989
8990 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8991
8992         * undo_funcs.C (firstUndoParagraph): adjust
8993
8994         * text3.C (gotoInset): adjust
8995         (dispatch): adjust, and rewrite loop.
8996
8997         * text2.C (init): adjust, and rewrite loop.
8998         (redoParagraphs): adjust
8999         (updateInset): adjust, and rewrite loop.
9000         (deleteEmptyParagraphMechanism): adjust
9001
9002         * tabular.C (LyXTabular): adjust
9003         (SetMultiColumn): adjust
9004         (TeXRow): adjust
9005
9006         * lyxtext.[Ch] (ownerParagraph): delete function
9007         (ownerParagraphs): new function returns a ParagraphList.
9008
9009         * BufferView.C (removeAutoInsets): adjust
9010         (insertErrors): adjust
9011         (setCursorFromRow): adjust
9012
9013 2003-04-01  Angus Leeming  <leeming@lyx.org>
9014
9015         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9016         in the frontends.
9017
9018 2003-04-02  John Levon  <levon@movementarian.org>
9019
9020         * lyxtext.h:
9021         * text.C:
9022         * Makefile.am:
9023         * text_funcs.h:
9024         * text_funcs.C: make transposeChars a free function
9025
9026         * lyxrow_funcs.C: remove wrong comment
9027
9028 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9029
9030         * lyxtext.h: adjust
9031         * rowpainter.C: adjust
9032         * text.C: adjust
9033         * text2.C: adjust
9034         * text3.C: adjust
9035
9036         * lyxrow_funcs. [Ch]: new files
9037
9038         * lyxrow.[Ch]: remove next and previous pointers
9039         (next,previous): remove accessor functions
9040         (isParEnd): move to lyxrow_funcs
9041         (lastPos): move to lyxrow_funcs
9042         (nextRowIsAllInset): move to lyxrow_funcs
9043         (lastPrintablePos): move to lyxrow_funcs
9044         (numberOfSeparators): move to lyxrow_funcs
9045         (numberOfHfills): move to lyxrow_funcs
9046         (numberOfLabelHfills): move to lyxrow_funcs
9047         (hfillExpansion): move to lyxrow_funcs
9048
9049         * lyxfunc.C: adjust
9050
9051         * bufferview_funcs.C (toggleAndShow): adjust
9052
9053         * RowList.h: Remove class RowList from file leave just a
9054         std::list<Row>.
9055
9056         * RowList.C: delete file
9057
9058         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9059         and lyxrow_funcs.h
9060
9061 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9062
9063         * text3.C (cursorPrevious): adjust
9064         (cursorNext): adjust
9065         (dispatch): adjust
9066
9067         * text2.C (redoHeightOfParagraph): adjust
9068         (redoDrawingOfParagraph): adjust
9069         (setCursor): adjust
9070
9071         * text.C (breakParagraph): adjust
9072         (insertChar): adjust
9073         (backspace): adjust
9074
9075         * rowpainter.C (RowPainter): adjust
9076         (leftMargin): simplify and adjust
9077         (most rowpainter functions): adjust.
9078
9079         * rowpainter.h: store the row as RowList::iterator not as Row*
9080
9081         * lyxcursor.C (row): taka RowList::iterator as arg
9082         (irow): ditto
9083
9084         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9085         of Row*.
9086
9087 2003-04-01  Angus Leeming  <leeming@lyx.org>
9088
9089         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9090         stuff like bool Bool.
9091
9092 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9093
9094         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9095         rewrite a loop
9096
9097 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9100         RowList::iterator.
9101
9102         * lyxtext.h (rows): drop one version and leve a const variant that
9103         returns a RowList::iterator.
9104
9105 2003-03-31  Angus Leeming  <leeming@lyx.org>
9106
9107         * text.C (fill): ensure that the signature is the same as that in the
9108         header file.
9109
9110 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * text2.C (redoParagraphs): adjust
9113         (updateCounters): adjust
9114         (checkParagraph): adjust
9115         (getColumnNearX): adjust and reformat a bit.
9116
9117         * text.C (top_y): adjust
9118         (workWidth): adjust
9119         (leftMargin): adjust
9120         (prepareToPrint): adjust
9121         (getRow): adjust
9122         (getRowNearY): adjust
9123
9124         * lyxtext.h: make rowlist_ mutable.
9125
9126         * RowList.h: add const_iterator
9127         * RowList.C: adjust for RowList::const_iterator.
9128
9129         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9130         adjust.
9131
9132 2003-03-31  John Levon  <levon@movementarian.org>
9133
9134         * lyxrc.h:
9135         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9136
9137         * lyx_main.C: set default fonts from using lyx_gui funcs
9138
9139         * exporter.C: pdf_mode moved from lyxrc
9140
9141         * lyx_cb.C:
9142         * lyxfunc.C: changes from above
9143
9144 2003-03-31  John Levon  <levon@movementarian.org>
9145
9146         * lyx_main.C: fix to the last fix
9147
9148 2003-03-31  John Levon  <levon@movementarian.org>
9149
9150         * bufferlist.C: "Load original" -> "Load Original"
9151
9152         * converter.C:
9153         * exporter.C:
9154         * importer.C:
9155         * lyx_main.C:
9156         * format.C: more Alert cleanups
9157
9158 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9159
9160         * text2.C (removeParagraph): make it take a RowList::iterator as
9161         arg, adjust.
9162         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9163         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9164
9165         * text.C (anchor_row): make it take a RowList::iterator as arg,
9166         adjust.
9167         (computeBidiTables): make it take a const reference to Row instead
9168         of Row pointer, adjust.
9169         (leftMargin): make it take a RowList::iterator as arg, adjust.
9170         (rowBreakPoint): adjust
9171         (breakAgainOneRow): make it take a RowList::iterator as arg,
9172         adjust.
9173         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9174
9175         * bufferview_funcs.C (toggleAndShow): adjust
9176
9177 2003-03-30  John Levon  <levon@movementarian.org>
9178
9179         * Makefile.am:
9180         * BoostFormat.h:
9181         * boost-inst.C: moved to support
9182
9183         * several files: changes as a result
9184
9185 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9186
9187         * text2.C (LyXText): adjust.
9188         (init): adjust
9189         (removeRow): make it take a RowList::iterator as arg, adjust.
9190         (fullRebreak): adjust
9191         (deleteEmptyParagraphMechanism): adjust
9192         (clearPaint): adjust
9193         (postPaint): adjust
9194
9195         * text.C (top_y): adjust
9196         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9197         (breakAgain): make it take a RowList::iterator as arg, adjust.
9198         (breakParagraph): adjust
9199         (insertChar): adjust
9200         (backspace): adjust
9201
9202         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9203         need_break_row, and refresh_row.
9204
9205         * text3.C (dispatch): adjust
9206
9207         * text2.C (checkParagraph): adjust
9208         (setCursor): adjust
9209         (setCursorFromCoordinates): adjust
9210
9211         * text.C (top_y): adjust
9212         (workWidth): adjust
9213         (getRow): make it return a RowList::iterator, adjust
9214         (getRowNearY): make it return a RowList::iterator, adjust
9215
9216         * text2.C (init): adjust
9217         (insertRow): remove function
9218         (insertParagraph): adjust
9219         (redoParagraphs): adjust
9220         (fullRebreak): adjust
9221         (updateCounters): adjust
9222
9223         * text.C (top_y): rewrite to use RowList iterators.
9224         (top_y): adjust
9225         (setHeightOfRow): rewrite to sue RowList iterators.
9226         (appendParagraph): adjust
9227         (breakAgain): adjust
9228         (breakAgainOneRow): adjust
9229         (breakParagraph): adjust
9230         (getRow): adjust
9231         (getRowNearY): adjust, and remove commented code.
9232
9233         * lyxtext.h (firstRow): delete function
9234         (lastRow): delete function
9235         (rows): new function (const and non-const versions.)
9236         (insertRow): delete function
9237
9238         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9239
9240 2003-03-29  John Levon  <levon@movementarian.org>
9241
9242         * BufferView_pimpl.C: always update scrollbar top
9243         because pasting text when we're anchored could mean we
9244         miss an update altogether
9245
9246 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9247
9248         * text2.C (init): use rowlist_.end() and not 0.
9249         (insertRow): change to take a RowList::iterator as arg, adjust
9250         for this.
9251         (insertParagraph): change to take a RowList::iterator as arg,
9252         adjust for this.
9253         (redoParagraphs): remove some debug msgs.
9254
9255         * text.C (appendParagraph): change to take a RowList::iterator
9256         arg, adjust for this.
9257         (breakAgain): add an assert
9258         (breakAgainOneRow): ditto
9259
9260 2003-03-29  John Levon  <levon@movementarian.org>
9261
9262         * text2.C: do not clear selection after inc/decDepth
9263         (bug 550)
9264
9265 2003-03-29  John Levon  <levon@movementarian.org>
9266
9267         * BufferView.C:
9268         * buffer.C: fix broken strerrors according to Lars
9269
9270 2003-03-29  John Levon  <levon@movementarian.org>
9271
9272         * converters.C: more Alert cleanups
9273
9274 2003-03-29  John Levon  <levon@movementarian.org>
9275
9276         * bufferview_funcs.C: remove pointless Alert
9277
9278         * buffer.C: fix confusing error message when
9279         a template is chmoded 000
9280
9281 2003-03-29  John Levon  <levon@movementarian.org>
9282
9283         * BufferView.C:
9284         * BufferView.h:
9285         * BufferView_pimpl.C: Alert fixes
9286
9287         * Makefile.am:
9288         * tabular.C:
9289         * tabular-old.C: remove unused table compat reading
9290
9291 2003-03-29  John Levon  <levon@movementarian.org>
9292
9293         * BufferView.C:
9294         * buffer.C:
9295         * lyx_cb.h:
9296         * lyx_cb.C: more Alert cleanups
9297
9298         * lyxfunc.C: don't allow chktex if not latex document
9299
9300 2003-03-29  John Levon  <levon@movementarian.org>
9301
9302         * lyx_cb.C:
9303         * BufferView.C:
9304         * buffer.C: warnings pushed down from support/,
9305         kill err_alert
9306
9307 2003-03-29  John Levon  <levon@movementarian.org>
9308
9309         * lyxfunc.C: safety check for C-r (revert)
9310
9311 2003-03-29  John Levon  <levon@movementarian.org>
9312
9313         * bufferlist.h:
9314         * bufferlist.C: several UI fixes using Alert::prompt.
9315         Fix the pointless looping quit code. Fix stupid revert
9316         behaviour (bug 938)
9317
9318         * lyxvc.h:
9319         * lyxvc.C:
9320         * lyx_cb.C: use Alert::prompt
9321
9322         * lyx_main.C: remove a silly question
9323
9324         * lyxfunc.C: remove a couple of silly questions,
9325         use Alert::prompt
9326
9327 2003-03-28  John Levon  <levon@movementarian.org>
9328
9329         * text2.C: fix bug 974 (End on empty par)
9330
9331 2003-03-28  John Levon  <levon@movementarian.org>
9332
9333         * BufferView_pimpl.C:
9334         * LyXAction.C:
9335         * lfuns.h: remove do-nothing math greek lfuns
9336
9337 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9338
9339         * lyxgluelength.h (isValidGlueLength): add default arg on
9340         parameter 2. Remove default arg from friend in class.
9341
9342         * lyxlength.h (isValidLength): add default arg on parameter 2.
9343         Remove default arg from friend in class.
9344
9345         * text2.C (LyXText): adjust, initialize refresh_row.
9346         (init): adjust
9347         (removeRow): adjust
9348         (insertRow): adjust
9349         (insertParagraph): adjst
9350         (redoParagraphs): adjust
9351         (fullRebreak): adjust
9352         (updateCounters): adjust
9353         (deleteEmptyParagraphMechanism): first attempt at fixing a
9354         crashing bug.
9355
9356         * text.C (top_y): adjust
9357         (setHeightOfRow): adjust
9358         (getRow): adjust
9359         (getRowNearY): adjust
9360
9361         * lyxtext.h: include RowList.h
9362         (~LyXText): not needed anymore, deleted.
9363         (firstRow): modify for RowList
9364         (lastRow): new function
9365         Delete firstrow and lastrow class variables, add a Rowlist
9366         rowlist_ class variable.
9367
9368         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9369         paragraph is empty.
9370
9371         * RowList.C (insert): fix case where it == begin().
9372
9373 2003-03-26  Angus Leeming  <leeming@lyx.org>
9374
9375         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9376         the thesaurus dialog.
9377
9378 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9379
9380         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9381
9382         * RowList.[Ch]: new files
9383
9384         * ParagraphList.C (erase): handle the case where it == begin
9385         correctly.
9386
9387 2003-03-25  John Levon  <levon@movementarian.org>
9388
9389         * Makefile.am:
9390         * aspell_local.h:
9391         * aspell.C: add new aspell support
9392
9393         * lyxrc.h:
9394         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9395         have it accessible.
9396
9397 2003-03-25  Angus Leeming  <leeming@lyx.org>
9398
9399         * lfuns.h:
9400         * LyXAction.C (init): new LFUN_INSET_INSERT.
9401
9402         * BufferView_pimpl.C (dispatch): split out part of the
9403         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9404
9405         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9406         LFUN_INSET_APPLY.
9407
9408 2003-03-25  Angus Leeming  <leeming@lyx.org>
9409
9410         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9411
9412 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9413
9414         * text2.C:
9415         * text3.C: remove useless row->height(0)
9416
9417 2003-03-25  John Levon  <levon@movementarian.org>
9418
9419         * lyxtext.h:
9420         * text2.C:
9421         * text3.C: rename the refreshing stuff to better names
9422
9423 2003-03-24  John Levon  <levon@movementarian.org>
9424
9425         * BufferView_pimpl.h:
9426         * BufferView_pimpl.C: update layout choice on a mouse
9427         press/release
9428
9429 2003-03-23  John Levon  <levon@movementarian.org>
9430
9431         * Makefile.am: fix commandtags.h reference
9432
9433 2003-03-22  John Levon  <levon@movementarian.org>
9434
9435         * BufferView_pimpl.C:
9436         * lyxtext.h:
9437         * rowpainter.C:
9438         * rowpainter.h:
9439         * text.C:
9440         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9441
9442 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9443
9444         * lyxtext.h:
9445         * text.C: take the rtl methods out of line
9446
9447 2003-03-21 André Pönitz <poenitz@gmx.net>
9448
9449         * metricsinfo.[Ch]: new files containing structures to be passed around
9450         during the two-phase-drawing...
9451
9452 2003-03-21 André Pönitz <poenitz@gmx.net>
9453
9454         * lyxtextclass.C: read 'environment' tag.
9455
9456 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9457
9458         * text2.C (removeRow): fix bug 964
9459
9460 2003-03-20  John Levon  <levon@movementarian.org>
9461
9462         * rowpainter.C:
9463         * text.C:
9464         * text2.C: paint cleanups. Inset::update() dropped font
9465         parameter
9466
9467 2003-03-19  John Levon  <levon@movementarian.org>
9468
9469         * lyxfunc.C: only fitcursor/markDirty if available()
9470
9471 2003-03-19  John Levon  <levon@movementarian.org>
9472
9473         * commandtags.h: rename to ...
9474
9475         * lfuns.h: ... this, and renumber / cleanup
9476
9477 2003-03-19  John Levon  <levon@movementarian.org>
9478
9479         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9480         fit the cursor after an lfun
9481
9482         * BufferView.h:
9483         * BufferView.C:
9484         * BufferView_pimpl.h:
9485         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9486
9487         * LyXAction.C: layout-character should have ReadOnly
9488
9489         * ParagraphParameters.C:
9490         * buffer.C:
9491         * bufferview_funcs.C:
9492         * lyx_cb.C:
9493         * lyxfind.C:
9494         * lyxtext.h:
9495         * text.C:
9496         * text2.C:
9497         * text3.C:
9498         * undo_funcs.C: changes from above
9499
9500 2003-03-18  John Levon  <levon@movementarian.org>
9501
9502         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9503         remove it from update()
9504
9505         * lyxfunc.C: update layout choice after an lfun
9506
9507         * text3.C: remove extra updateLayoutChoice()s
9508
9509 2003-03-18  John Levon  <levon@movementarian.org>
9510
9511         * text.C: top_y change means full repaint, fix
9512         a drawing bug with cursor movement
9513
9514 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9515
9516         * lyxtext.h:
9517         * text.C:
9518         * text2.C: anchor row on setCursor
9519
9520 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9521
9522         * lyxtext.h: remove almost all mutable keywords
9523         * text.C:
9524         * text2.C:
9525         * text3.C: remove const keywords accordingly
9526
9527 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9528
9529         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9530         anon namespace
9531         (TeXEnvironment): ditto
9532         (TeXOnePar): ditto
9533
9534 2003-03-17  John Levon  <levon@movementarian.org>
9535
9536         * text.C (rowBreakPoint): remove attempt to fix displayed
9537         math insets inside a manual label
9538
9539 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9540
9541         * lyxtext.h: remove BufferView* as first arg from almost all class
9542         functions.
9543         * other files: adjust.
9544
9545 2003-03-17  John Levon  <levon@movementarian.org>
9546
9547         * lyxtext.h:
9548         * undo_funcs.C:
9549         * text2.C: more paint cleanups
9550
9551         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9552
9553         * rowpainter.h:
9554         * rowpainter.C: remove "smart" background painting code
9555
9556 2003-03-16  John Levon  <levon@movementarian.org>
9557
9558         * lyxtext.h:
9559         * text.C:
9560         * text2.C:
9561         * text3.C: add helper functions for setting refresh_row/y
9562
9563 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9564
9565         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9566         newline inset which *can* get inserted in the pass_thru layouts.
9567         This is primarily for literate documents.
9568
9569 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9570
9571         * buffer.C: increment LYX_FORMAT to 223
9572
9573 2003-03-14 André Pönitz <poenitz@gmx.net>
9574
9575         * textclass.h: prepare for environment handling, ws changes
9576         * lyxlayout.C: read latexheader and latexfooter tags
9577
9578 2003-03-14  John Levon  <levon@movementarian.org>
9579
9580         * text2.C: rewrite ::status() a bit
9581
9582 2003-03-13  John Levon  <levon@movementarian.org>
9583
9584         * lyxtext.h: add some docs
9585
9586 2003-03-13  John Levon  <levon@movementarian.org>
9587
9588         * lyxtext.h:
9589         * text.C:
9590         * text2.C:
9591         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9592
9593 2003-03-13  John Levon  <levon@movementarian.org>
9594
9595         * text3.C: fix appendix redrawing
9596
9597 2003-03-13  John Levon  <levon@movementarian.org>
9598
9599         * text.C (setHeightOfRow):
9600         * rowpainter.h:
9601         * rowpainter.C: make appendix mark have the text
9602           "Appendix" so the user knows what it is
9603
9604         * LColor.h:
9605         * LColor.C: s/appendixline/appendix/ from above
9606
9607 2003-03-13  John Levon  <levon@movementarian.org>
9608
9609         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9610
9611         * text.C: fix a getChar(pos) bug properly
9612
9613 2003-03-13  Angus Leeming  <leeming@lyx.org>
9614
9615         * commandtags.h:
9616         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9617         Probably only temporary. Let's see how things pan out.
9618
9619         * BufferView.C (unlockInset):
9620         * BufferView_pimpl.C (fitCursor):
9621         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9622
9623         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9624         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9625
9626         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9627         new functions that convert ParagraphParameters to and from a string.
9628
9629         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9630         BufferView::Pimpl's dispatch.
9631         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9632
9633 2003-03-13 André Pönitz <poenitz@gmx.net>
9634
9635         * lyxfunc.C:
9636         * text3.C:
9637         * factory.C: make it aware of InsetEnv
9638
9639 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9640
9641         * text2.C (setCursor): never ask for one past last
9642         (setCursor): add some debugging messages.
9643
9644         * text.C (singleWidth): never ask for one past last
9645         (singleWidth): ditto
9646         (leftMargin): ditto
9647         (rightMargin): ditto
9648         (rowBreakPoint): ditto
9649         (setHeightOfRow): ditto
9650         (prepareToPrint): ditto
9651
9652         * rowpainter.C (paintBackground): never ask for one past last
9653         (paintText): never ask for one past last
9654
9655         * paragraph_pimpl.C (getChar): make the assert stricter, never
9656         allow the one past last pos to be taken
9657
9658         * paragraph.C (getChar): ws changes only
9659
9660         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9661         (numberOfSeparators): ditto
9662         (numberOfHfills): ditto
9663
9664 2003-03-12  John Levon  <levon@movementarian.org>
9665
9666         * author.h:
9667         * author.C:
9668         * bufferparams.h:
9669         * bufferparams.C:
9670         * paragraph_funcs.C: fix per-buffer authorlists
9671
9672 2003-03-12  John Levon  <levon@movementarian.org>
9673
9674         * text.C: fix newline in right address
9675
9676 2003-03-12  Angus Leeming  <leeming@lyx.org>
9677
9678         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9679         duplicate those in LyXFunc::dispatch.
9680
9681         * commandtags.h:
9682         * LyXAction.C:
9683         * ToolbarDefaults.C:
9684         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9685         Add LFUN_FONTFREE_UPDATE.
9686
9687         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9688         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9689
9690         * bufferview_func.[Ch]: several new functions to facilliate
9691         transfer of data to and from the character dialog.
9692
9693 2003-03-12  John Levon  <levon@movementarian.org>
9694
9695         * buffer.C:
9696         * paragraph.h:
9697         * paragraph.C:
9698         * paragraph_funcs.C:
9699         * paragraph_pimpl.C:
9700         * sgml.C:
9701         * tabular.C:
9702         * text.C:
9703         * text3.C: remove META_NEWLINE in favour of an inset
9704
9705         * rowpainter.h:
9706         * rowpainter.C: remove paintNewline (done by inset)
9707
9708 2003-03-12  John Levon  <levon@movementarian.org>
9709
9710         * paragraph_pimpl.C: complain about bad getChar()s
9711         for a while at least
9712
9713 2003-03-12  John Levon  <levon@movementarian.org>
9714
9715         * buffer.h:
9716         * buffer.C: move paragraph read into a separate function,
9717         a little renaming to reflect that.
9718
9719         * bufferparams.h:
9720         * bufferparams.C: remove the author_ids map, not necessary now
9721
9722         * factory.h:
9723         * factory.C: moved Buffer::readInset to here
9724
9725         * paragraph_funcs.h:
9726         * paragraph_funcs.C: readParagraph free function moved from
9727         buffer.C
9728
9729         * tabular.C: name change
9730
9731 2003-03-12  John Levon  <levon@movementarian.org>
9732
9733         * buffer.C:
9734         * ParagraphParameters.C: move par params input to
9735         a read() method
9736
9737         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9738         behave like a normal read from the stream wrt reading
9739         a line vs. a \\token
9740
9741 2003-03-12  John Levon  <levon@movementarian.org>
9742
9743         * paragraph.C:
9744         * ParagraphParameters.h:
9745         * ParagraphParameters.C: move output code to a
9746         ::write() method
9747
9748 2003-03-12  John Levon  <levon@movementarian.org>
9749
9750         * BufferView.C (insertLyXFile):
9751         * buffer.h:
9752         * buffer.C:
9753         * tabular.C: use a parlist iterator for creating the
9754           document.
9755
9756 2003-03-12  John Levon  <levon@movementarian.org>
9757
9758         * buffer.C: make current_change static local not
9759           static file-scope
9760
9761 2003-03-12  John Levon  <levon@movementarian.org>
9762
9763         * buffer.C: fix insertStringAsLines for change tracking
9764
9765 2003-03-12  John Levon  <levon@movementarian.org>
9766
9767         * BufferView.C:
9768         * tabular.C:
9769         * buffer.h:
9770         * buffer.C:
9771         * bufferparams.h:
9772         * bufferparams.C: move author list into params. Rename some
9773           functions. Move the header reading into a separate token
9774           loop. Move the header token reading into BufferParams.
9775
9776 2003-03-12  John Levon  <levon@movementarian.org>
9777
9778         * changes.C: put debug inside lyxerr.debugging() checks
9779
9780 2003-03-11 André Pönitz <poenitz@gmx.net>
9781
9782         * factory.C: make it aware of InsetHFill
9783
9784 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9785
9786         * buffer.C (latexParagraphs): move function from here...
9787         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9788         args.
9789
9790 2003-03-10  Angus Leeming  <leeming@lyx.org>
9791
9792         * LyXAction.C (init): fix bug in poplating array with multiple entries
9793         with the same LFUN (spotted by JMarc).
9794
9795 2003-03-10  John Levon  <levon@movementarian.org>
9796
9797         * text.C:
9798         * text2.C: move getColumnNearX() near its
9799         only call site
9800
9801 2003-03-10  John Levon  <levon@movementarian.org>
9802
9803         * text.C: fix break before a minipage
9804
9805 2003-03-10  John Levon  <levon@movementarian.org>
9806
9807         * text.C: fix the last commit
9808
9809 2003-03-09  John Levon  <levon@movementarian.org>
9810
9811         * lyxtext.h:
9812         * text.C:
9813         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9814         bug 365 (don't break before insets unless needed). Don't
9815         return a value > last under any circumstances.
9816
9817 2003-03-09  Angus Leeming  <leeming@lyx.org>
9818
9819         * BufferView_pimpl.C (trackChanges, dispatch): call
9820         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9821
9822 2003-03-09  Angus Leeming  <leeming@lyx.org>
9823
9824         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9825         than Dialogs::showAboutlyx().
9826
9827 2003-03-09  Angus Leeming  <leeming@lyx.org>
9828
9829         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9830         than Dialogs::showTabularCreate().
9831
9832 2003-03-09  John Levon  <levon@movementarian.org>
9833
9834         * lyxtext.h:
9835         * text.C:
9836         * text2.C: 3rd arg to nextBreakPoint was always the same.
9837           Use references.
9838
9839 2003-03-08  John Levon  <levon@movementarian.org>
9840
9841         * lyxrow.C:
9842         * paragraph.C:
9843         * paragraph.h:
9844         * rowpainter.C:
9845         * text.C:
9846         * text2.C: Remove the "main" bit from the "main body"
9847           notion.
9848
9849 2003-03-08  John Levon  <levon@movementarian.org>
9850
9851         * text.C (leftMargin): The left margin of an empty
9852         manual label paragraph should not include the label width
9853         string length.
9854
9855         * text.C (prepareToPrint): don't attempt to measure hfills
9856         for empty manual label paragraphs - the answer should be 0
9857
9858 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9859
9860         * CutAndPaste.C: remove commented code and reindent.
9861
9862 2003-03-08  John Levon  <levon@movementarian.org>
9863
9864         * lyxfunc.h:
9865         * lyxfunc.C: move reloadBuffer()
9866
9867         * BufferView.h:
9868         * BufferView.C: to here
9869
9870         * lyxvc.C: add comment
9871
9872         * vc-backend.h:
9873         * vc-backend.C: call bv->reload() to avoid
9874           getStatus() check on MENURELOAD
9875
9876 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9877
9878         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9879         to an old format .dep file.
9880
9881 2003-03-07  Angus Leeming  <leeming@lyx.org>
9882
9883         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9884         when the LFUN_MOUSE_RELEASE should have been handled by
9885         inset->localDispatch.
9886
9887 2003-03-07  Angus Leeming  <leeming@lyx.org>
9888
9889         * BufferView_pimpl.C (dispatch):
9890         * LyXAction.C (init):
9891         * ToolbarDefaults.C (init):
9892         * commandtags.h:
9893         * lyxfunc.C (getStatus):
9894         remove LFUN_INSET_GRAPHICS.
9895
9896         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9897
9898 2003-03-07  Angus Leeming  <leeming@lyx.org>
9899
9900         * commandtags.h:
9901         * LyXAction.C (init):
9902         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9903
9904         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9905
9906         * commandtags.h:
9907         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9908
9909         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9910         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9911
9912 2003-03-07  Angus Leeming  <leeming@lyx.org>
9913
9914         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9915         remove "ert".
9916
9917 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9918
9919         * ParagraphList.C (front): new function
9920         (back): implement
9921
9922 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9923
9924         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9925         and top_row_offset_. removed var first_y.
9926         * text.C (top_y):
9927         * text2.C (LyXText, removeRow):
9928         * text3.C:
9929         * BufferView_pimpl.C:
9930         use these methods instead of using first_y
9931
9932 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * text2.C (pasteSelection): adjust for checkPastePossible
9935
9936         * CutAndPaste.C: remove Paragraph * buf and replace with
9937         ParagraphList paragraphs.
9938         (DeleteBuffer): delete
9939         (cutSelection): change the tc type to textclass_type
9940         (copySelection): change the tc type to textclass_type
9941         (copySelection): adjust for ParagraphList
9942         (pasteSelection): change the tc type to textclass_type
9943         (pasteSelection): adjust for Paragraphlist
9944         (nrOfParagraphs): simplify for ParagraphList
9945         (checkPastePossible): simplify for ParagraphList
9946         (checkPastePossible): remove unused arg
9947
9948         * ParagraphList.C (insert): handle the case where there are no
9949         paragraphs yet.
9950
9951         * CutAndPaste.h: make CutAndPaste a namespace.
9952
9953         * text3.C (dispatch): adjust
9954
9955         * text.C (breakParagraph): add a ParagraphList as arg
9956
9957         * paragraph_funcs.C (breakParagraph): change to take a
9958         BufferParams and a ParagraphList as args.
9959         (breakParagraphConservative): ditto
9960         (mergeParagraph): ditto
9961         (TeXDeeper): add a ParagraphList arg
9962         (TeXEnvironment): ditto
9963         (TeXOnePar): ditto
9964
9965         * buffer.C (readLyXformat2): adjust
9966         (insertStringAsLines): adjust
9967         (latexParagraphs): adjust
9968
9969         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9970         (cutSelection): adjust
9971         (pasteSelection): adjust
9972
9973         * BufferView_pimpl.C (insertInset): adjust
9974
9975 2003-03-05  Angus Leeming  <leeming@lyx.org>
9976
9977         * commandtags.h:
9978         * LyXAction.C (init):
9979         * BufferView_pimpl.C (dispatch):
9980         * lyxfunc.C (getStatus):
9981         remove LFUN_CHILD_INSERT.
9982
9983         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9984
9985 2003-03-05  Angus Leeming  <leeming@lyx.org>
9986
9987         * commandtags.h:
9988         * LyXAction.C (init):
9989         * src/factory.C (createInset):
9990         * lyxfunc.C (getStatus):
9991         * text3.C (dispatch):
9992         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9993
9994         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9995
9996 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9997
9998         * ParagraphList.C (insert): handle insert right before end()
9999         (erase): fix cases where it can be first or last paragraph.
10000
10001 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10002
10003         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10004         Paragraph::next and Paragraph::previous
10005         (TeXOnePar): ditto
10006
10007         * text.C (breakParagraph): adjust
10008
10009         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10010         BufferParams& as arg.
10011         (breakParagraph): use ParagraphList::insert
10012         (breakParagraphConservative): take a Buffer* instead of a
10013         BufferParams& as arg.
10014         (breakParagraphConservative): use ParagraphList::insert.
10015
10016         * buffer.C (insertStringAsLines): un-const it
10017         (insertStringAsLines): adjust
10018
10019         * ParagraphList.C (insert): new function
10020
10021         * CutAndPaste.C (pasteSelection): adjust
10022
10023         * text.C (backspace): adjust
10024
10025         * tabular.C (SetMultiColumn): adjust
10026
10027         * CutAndPaste.C (cutSelection): adjust
10028         (pasteSelection): adjust
10029
10030         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10031         Buffer const * as arg
10032
10033         * ParagraphList.C (erase): new function
10034         * paragraph_funcs.C (mergeParagraph): use it
10035         (mergeParagraph): make it take a Buffer* instead of a
10036         BufferParams* as arg
10037
10038         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10039         as arg
10040         (breakParagraphConservative): ditto
10041
10042         * paragraph.h: remove the breakParagraph friend
10043
10044         * paragraph.C (eraseIntern): new function
10045         (setChange): new function
10046
10047         * paragraph_funcs.C (mergeParagraph): make it take a
10048         ParagraphList::iterator instead of a Paragraph *, adjust
10049         accordingly.
10050
10051         * paragraph.h: move an #endif so that the change tracking stuff
10052         also works in the NO_NEXT case.
10053
10054 2003-03-04  Angus Leeming  <leeming@lyx.org>
10055
10056         * commandtags.h:
10057         * LyXAction.C: new LFUN_INSET_MODIFY.
10058
10059         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10060         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10061
10062 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10063
10064         * several files: ws changes only
10065
10066         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10067         (TeXEnvironment): ditto
10068         (TeXDeeper): ditto
10069
10070         * buffer.C (makeLaTeXFile): adjust
10071         (latexParagraphs): make it take ParagraphList::iterator as args
10072
10073 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10074
10075         * buffer.C (latexParagraphs): adjust
10076
10077         * paragraph.C (TeXOnePar): move function...
10078         (optArgInset): move function...
10079         (TeXEnvironment): move function...
10080         * paragraph_pimpl.C (TeXDeeper): move function...
10081         * paragraph_funcs.C: ...here
10082
10083         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10084
10085 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10086
10087         * buffer.C (readInset): remove compability code for old Figure and
10088         InsetInfo insets
10089
10090 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10091
10092         * buffer.C: ws changes
10093         (readInset):
10094
10095         * BufferView_pimpl.C: ditto
10096         * author.C: ditto
10097         * buffer.h: ditto
10098         * bufferlist.h: ditto
10099         * changes.h: ditto
10100         * lyxfunc.C: ditto
10101
10102 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10103
10104         * converter.[Ch]: split into itself +
10105         * graph.[Ch]
10106         * format.[Ch]
10107         * Makefile.am: += graph.[Ch] + format.[Ch]
10108         * MenuBackend.C
10109         * buffer.C
10110         * exporter.C
10111         * importer.C
10112         * lyx_main.C
10113         * lyxfunc.C
10114         * lyxrc.C: added #include "format.h"
10115
10116 2003-02-27  Angus Leeming  <leeming@lyx.org>
10117
10118         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10119           a label.
10120
10121         * factory.C (createInset): add "label" to the factory.
10122
10123         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10124           string and do no more.
10125
10126 2003-02-27  Angus Leeming  <leeming@lyx.org>
10127
10128         * commandtags.h:
10129         * LyXAction.C (init):
10130         * factory.C (createInset):
10131         * BufferView_pimpl.C (dispatch):
10132           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10133
10134         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10135
10136         * lyxfunc.C (dispatch):
10137         * text3.C (dispatch): pass name to params2string.
10138
10139 2003-02-26  Angus Leeming  <leeming@lyx.org>
10140
10141         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10142           blocks together.
10143           Rearrange the ~includes. Strip out the unnecessary ones.
10144
10145         * factory.C (createInset): reformat.
10146           create new insets for the various LFUN_XYZ_APPLY lfuns.
10147
10148 2003-02-26  John Levon  <levon@movementarian.org>
10149
10150         * lyxrow.h:
10151         * lyxrow.C: add isParStart,isParEnd helpers
10152
10153         * paragraph.h: make isInserted/DeletedText take refs
10154
10155         * paragraph_funcs.h:
10156         * paragraph_funcs.C: remove #if 0'd code
10157
10158         * lyxtext.h:
10159         * text3.C:
10160         * text2.C:
10161         * text.C: use lyxrow helpers above.
10162           Move draw and paint routines to RowPainter.
10163           Make several methods use refs not pointers.
10164           Make backgroundColor() const.
10165           Add markChangeInDraw(), isInInset().
10166           Merge changeRegionCase into changeCase.
10167           Make workWidth() shouldn't-happen code into an Assert.
10168
10169         * rowpainter.h:
10170         * rowpainter.C: new class for painting a row.
10171
10172         * vspace.h:
10173         * vspace.C: make inPixels take a ref
10174
10175 2003-02-26  Angus Leeming  <leeming@lyx.org>
10176
10177         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10178         LFUN_REF_APPLY.
10179
10180 2003-02-25  John Levon  <levon@movementarian.org>
10181
10182         * ispell.C: give the forked command a more accurate name
10183
10184 2003-02-22  John Levon  <levon@movementarian.org>
10185
10186         * toc.h:
10187         * toc.C: make TocItem store an id not a Paragraph *
10188           (bug #913)
10189
10190 2003-02-21  Angus Leeming  <leeming@lyx.org>
10191
10192         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10193           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10194           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10195           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10196           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10197           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10198
10199         * BufferView_pimpl.C (dispatch):
10200         * LyXAction.C (init):
10201         * factory.C (createInset):
10202         * lyxfunc.C (getStatus, dispatch):
10203         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10204
10205 2003-02-21  Angus Leeming  <leeming@lyx.org>
10206
10207         * BufferView_pimpl.C (MenuInsertLyXFile):
10208         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10209         * lyxfunc.C (menuNew, open, doImport):
10210           no longer pass a LyXView & to fileDlg.
10211
10212 2003-02-21  Angus Leeming  <leeming@lyx.org>
10213
10214         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10215         * LyXAction.C: change, BIBKEY to BIBITEM.
10216         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10217         Change InsetBibKey to InsetBibitem.
10218         Change BIBKEY_CODE to BIBITEM_CODE.
10219         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10220         * factory.C: replace insetbib.h with insetbibitem.h.
10221         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10222         * paragraph.C: replace insetbib.h with insetbibitem.h.
10223         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10224         Change bibkey() to bibitem().
10225         * text.C: remove insetbib.h.
10226         * text2.C: replace insetbib.h with insetbibitem.h.
10227         change bibkey() to bibitem().
10228         * text3.C: remove insetbib.h.
10229         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10230
10231 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10232
10233         * lyxrc.C (output): enclose user email in quotes (in case there are
10234         several words)
10235
10236 2003-02-18  John Levon  <levon@movementarian.org>
10237
10238         * buffer.h: add std::
10239
10240 2003-02-17  John Levon  <levon@movementarian.org>
10241
10242         * SpellBase.h:
10243         * ispell.h:
10244         * ispell.C:
10245         * pspell.h:
10246         * pspell.C: reworking. Especially in ispell, a large
10247           number of clean ups and bug fixes.
10248
10249         * lyxfunc.C: fix revert to behave sensibly
10250
10251 2003-02-17 André Pönitz <poenitz@gmx.net>
10252
10253         * LyXAction.C:
10254         * commandtags.h: new LFUN_INSERT_BIBKEY
10255
10256         * layout.h:
10257         * lyxlayout.C:
10258         * buffer.C:
10259         * factory.C:
10260         * text.C:
10261         * text2.C:
10262         * text3.C:
10263         * paragraph.[Ch]:
10264         * paragraph_func.C: remove special bibkey handling
10265
10266 2003-02-17  John Levon  <levon@movementarian.org>
10267
10268         * text.C (Delete): fix case where delete at the end of
10269           the very first paragraph would not merge the pars
10270
10271 2003-02-17  John Levon  <levon@movementarian.org>
10272
10273         * lyxrow.C: fix lastPrintablePos()
10274
10275 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * bufferparams.C (writeLaTeX): add a std:here
10278
10279         * buffer.C: and remove a using directive there
10280
10281 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10282
10283         * buffer.C (makeLaTeXFile): move the code that generates the
10284           preamble...
10285
10286         * bufferparams.C (writeLaTeX): ... in this new method
10287
10288         * LaTeXFeatures.C (getEncodingSet): make const
10289           (getLanguages): make const
10290
10291         * MenuBackend.C (binding): returns the binding associated to this
10292           action
10293           (add): sets the status of each item by calling getStatus. Adds
10294           some intelligence.
10295           (read): add support for OptSubMenu
10296           (expand): remove extra separator at the end of expanded menu
10297
10298 2003-02-15  John Levon  <levon@movementarian.org>
10299
10300         * BufferView.C:
10301         * BufferView_pimpl.C:
10302         * bufferlist.h:
10303         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10304           inset code that had no actual effect. Remove unneeded status
10305           code.
10306
10307 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10310           in preamble
10311
10312 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10313
10314         * text.C (drawLengthMarker): also draw an arrow marker for
10315           symbolic lengths (medskip...)
10316
10317 2003-02-14  John Levon  <levon@movementarian.org>
10318
10319         * tabular.h:
10320         * tabular.C: better method names
10321
10322 2003-02-14  John Levon  <levon@movementarian.org>
10323
10324         * BufferView_pimpl.C:
10325         * bufferlist.C:
10326         * buffer.C:
10327         * converter.C:
10328         * lyx_cb.C:
10329         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10330           it's a more accurate name. Remove some pointless uses.
10331
10332 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10333
10334         * text2.C (LyXText): change order of initilizers to shut off
10335           warnings
10336
10337 2003-02-14  John Levon  <levon@movementarian.org>
10338
10339         * buffer.C: use ParIterator for getParFromID()
10340
10341         * paragraph.h:
10342         * paragraph.C:
10343         * paragraph_pimpl.h:
10344         * paragraph_pimpl.C: remove unused getParFromID()
10345
10346 2003-02-14  John Levon  <levon@movementarian.org>
10347
10348         * buffer.C: remove some very old #if 0'd parse code
10349
10350 2003-02-13  John Levon  <levon@movementarian.org>
10351
10352         * text.h:
10353         * text.C:
10354         * text2.C: move hfillExpansion(), numberOfSeparators(),
10355           rowLast(), rowLastPrintable(), numberofHfills(),
10356           numberOfLabelHfills() ...
10357
10358         * lyxrow.h:
10359         * lyxrow.C: ... to member functions here.
10360
10361         * paragraph.h:
10362         * paragraph.C:
10363         * lyxtext.h:
10364         * text.C: remove LyXText::beginningOfMainBody(), and call
10365           p->beginningOfMainBody() directly. Move the check for
10366           LABEL_MANUAL into the latter.
10367
10368         * text.h:
10369         * text.C:
10370         * text2.C:
10371         * vspace.C:
10372         * BufferView.h:
10373         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10374
10375         * text.h:
10376         * text.C:
10377         * text2.C:
10378         * text3.C:
10379         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10380           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10381
10382 2003-02-13  John Levon  <levon@movementarian.org>
10383
10384         * CutAndPaste.C: remove debug
10385
10386 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * paragraph.C (asString): remove two unused variables
10389
10390         * lyxtextclass.C (readTitleType):
10391           (Read):
10392           (LyXTextClass): handle new members titletype_ and titlename_
10393
10394         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10395
10396 2003-02-09  John Levon  <levon@movementarian.org>
10397
10398         * buffer.h:
10399         * buffer.C: replace hand-coded list with a map for the dep clean
10400
10401 2003-02-08  John Levon  <levon@movementarian.org>
10402
10403         * LaTeX.C: consolidate code into showRunMessage() helper
10404
10405 2003-02-08  John Levon  <levon@movementarian.org>
10406
10407         * lyxfind.C:
10408         * lyxtext.h:
10409         * text2.C:
10410         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10411           and pass the size in explicitly
10412
10413         * BufferView_pimpl.h:
10414         * BufferView_pimpl.C:
10415         * BufferView.h:
10416         * BufferView.C: add getCurrentChange()
10417
10418         * BufferView_pimpl.h:
10419         * BufferView_pimpl.C: handle change lfuns
10420
10421         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10422           for changes. Mark pasted paragraphs as new.
10423
10424         * support/lyxtime.h:
10425         * support/lyxtime.C:
10426         * DepTable.C: abstract time_t as lyx::time_type
10427
10428         * LColor.h:
10429         * LColor.C: add colours for new text, deleted text, changebars
10430
10431         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10432           package use "usenames" option.
10433
10434         * commandtags.h:
10435         * lyxfunc.C:
10436         * LyXAction.C: add change lfuns
10437
10438         * Makefile.am:
10439         * author.h:
10440         * author.C: author handling
10441
10442         * buffer.h:
10443         * buffer.C: add a per-buffer author list, with first entry as
10444           current author. Handle new .lyx tokens for change tracking. Output
10445           author list to .lyx file. Output dvipost stuff to .tex preamble.
10446           Bump lyx format to 222.
10447
10448         * bufferlist.h:
10449         * bufferlist.C: add setCurrentAuthor() to reset current author details
10450           in all buffers.
10451
10452         * bufferparams.h:
10453         * bufferparams.C: add param for tracking
10454
10455         * bufferview_funcs.C: output change info in minibuffer
10456
10457         * Makefile.am:
10458         * changes.h:
10459         * changes.C: add change-tracking structure
10460
10461         * debug.h:
10462         * debug.C: add CHANGES debug flag
10463
10464         * lyxfind.h:
10465         * lyxfind.C: add code for finding the next change piece
10466
10467         * lyxrc.h:
10468         * lyxrc.C: add user_name and user_email
10469
10470         * lyxrow.h:
10471         * lyxrow.C: add a metric for the top of the text line
10472
10473         * lyxtext.h:
10474         * text.C: implement accept/rejectChange()
10475
10476         * lyxtext.h:
10477         * text.C: paint changebars. Paint new/deleted text in the chosen
10478         colours. Strike through deleted text.
10479
10480         * paragraph.h:
10481         * paragraph.C:
10482         * paragraph_pimpl.h:
10483         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10484           in the current change to the insert functions. Rework erase to
10485           mark text as deleted, adding an eraseIntern() and a range-based
10486           erase(). Implement per-paragraph change lookup and
10487           accept/reject.
10488
10489         * paragraph_funcs.C: Fixup paste for change tracking.
10490
10491         * tabular.C: mark added row/columns as new.
10492
10493         * text.C: fix rowLast() to never return -1. Don't allow
10494           spellchecking of deleted text. Track transpose changes. Don't
10495           allow paragraph break or merge where appropriate.
10496
10497         * text2.C: leave cursor at end of selection after a cut.
10498
10499 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10500
10501         * text.C (getLengthMarkerHeight):
10502         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10503         visible on screen too.
10504
10505 2003-02-07  John Levon  <levon@movementarian.org>
10506
10507         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10508
10509 2003-02-05  Angus Leeming  <leeming@lyx.org>
10510
10511         * lyxserver.C (read_ready): revert my patch of 11 September last year
10512         as it sends PC cpu through the roof. Presumably this means that
10513         the lyxserver will no longer run on an Alpha...
10514
10515 2003-01-30  Angus Leeming  <leeming@lyx.org>
10516
10517         * factory.C (createInset): create an InsetCommandParam of type "index"
10518         and use it to 'do the right thing'.
10519
10520         * text2.C (getStringToIndex): ensure that cursor position is always
10521         reset to the reset_cursor position.
10522
10523 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10524
10525         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10526         disabled.
10527
10528 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10529
10530         * bufferview.C:
10531         * lyxcb.C:
10532         * lyxfunc.C: Output messages with identical spelling, punctuation,
10533         and spaces
10534
10535 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10536
10537         * MenuBackend.C (expandFormats): List only viewable export formats
10538         in "View" menu
10539
10540         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10541         message
10542
10543         * lyxfunc.C (getStatus): Make sure that formats other than
10544         "fax" can also be disabled
10545
10546 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10547
10548         * text3.C (dispatch): put the lfuns that insert insets in 3
10549         groups, and call doInsertInset with appropriate arguments.
10550         (doInsertInset): new function, that creates an inset and inserts
10551         it according to some boolean parameters.
10552
10553 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10554
10555         * buffer.C (readFile): remember to pass on 'par' when calling
10556         readFile recursively.
10557
10558 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * MenuBackend.C (expandFormats): add "..." to import formats.
10561
10562 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10563
10564         * paragraph.C (asString): Remove XForms RTL hacks.
10565
10566 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10567         * buffer.C: fix typo
10568
10569 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10570
10571         * Makefile.am (LIBS): delete var
10572         (lyx_LDADD): add @LIBS@ here instead.
10573
10574 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10575
10576         * Clarify the meaning of "wheel mouse jump"
10577
10578 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10579
10580         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10581         tabular in a float
10582
10583 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10584
10585         * importer.C (Loaders): do not preallocate 3 elements in the
10586         vector, since one ends up with 6 elements otherwise
10587
10588 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * DepTable.C (write): write the file name as last element of the
10591         .dep file (because it may contain spaces)
10592         (read): read info in the right order
10593
10594 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10595
10596         * paragraph_pimpl.C (simpleTeXBlanks):
10597         (simpleTeXSpecialChars):
10598         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10599
10600         * tabular.C (latex): add some missing case statements. Reindent.
10601
10602         * MenuBackend.C (expandToc): remove unused variable.
10603
10604 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10605
10606         * LColor.C:
10607         * LaTeX.C:
10608         * LyXAction.C:
10609         * MenuBackend.C:
10610         * buffer.C:
10611         * exporter.C:
10612         * lyxfunc.C:
10613         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10614         and the like.
10615
10616 2003-01-05  John Levon  <levon@movementarian.org>
10617
10618         * BufferView.h:
10619         * BufferView.C: add getEncoding()
10620
10621         * kbsequence.h:
10622         * kbsequence.C: do not store last keypress
10623
10624         * lyxfunc.h:
10625         * lyxfunc.C: store last keypress here instead. Pass encoding
10626           to getISOEncoded()
10627
10628 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10629
10630         * lyx_main.C (init): remove annoying error message when following
10631         symbolic links (bug #780)
10632
10633 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10634
10635         * text.C (insertChar):
10636         * lyxrc.C (getDescription): remove extra spaces
10637
10638 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * lyxrc.C (getDescription): remove extra spaces
10641
10642 2002-12-20  John Levon  <levon@movementarian.org>
10643
10644         * text3.C: hack fix for page up/down across tall rows
10645
10646 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10649         not been invoked
10650
10651 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10652
10653         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10654         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10655         thesaurus is not compiled in
10656
10657 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10658
10659         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10660
10661 2002-12-16  Angus Leeming  <leeming@lyx.org>
10662
10663         * lyxrc.[Ch]:
10664         * lyx_main.C (init): remove override_x_deadkeys stuff.
10665
10666 2002-12-12  John Levon  <levon@movementarian.org>
10667
10668         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10669           insert. Only remove shift modifier under strict
10670           circumstances.
10671
10672 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10673
10674         * MenuBackend.C (expandToc): fix crash.
10675
10676 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10677
10678         * MenuBackend.C (expandToc): gettext on float names.
10679
10680 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10681
10682         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10683         implement bool empty() [bug 490]
10684
10685 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10686
10687         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10688
10689 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10690
10691         * several files: ws changes
10692
10693 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * text2.C (setCounter): clean up a bit, use boost.format.
10696         (updateCounters): initialize par upon declaration.
10697
10698         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10699         if the layout exists. We do not just store the layout any more.
10700         (SwitchLayoutsBetweenClasses): use boost.format
10701
10702 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10703
10704         * converter.C (convert): if from and to files are the same, use a
10705         temporary files as intermediary
10706
10707 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10708
10709         * commandtags.h:
10710         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10711
10712 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10713
10714         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10715
10716 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10717
10718         * tabular.C (asciiPrintCell): use string(size, char) instead of
10719         explicit loop.
10720
10721         * sgml.C (openTag): fix order of arguments to string constructor
10722         (closeTag): ditto
10723
10724         * lyxfunc.C (dispatch): use boost.format
10725
10726         * lots of files: change "c" -> 'c'
10727
10728 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10729
10730         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10731
10732 2002-11-25  Angus Leeming  <leeming@lyx.org>
10733
10734         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10735
10736         * lyx_main.C (init): compile fix.
10737
10738 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * lyx_cb.C (start): boost.formatify
10741         do not include <iostream>
10742
10743         * lengthcommon.C: ws only
10744
10745         * boost-inst.C,BoostFormat.h: add more explict instantations
10746
10747 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10748
10749         * lots of files: handle USE_BOOST_FORMAT
10750
10751 2002-11-21  John Levon  <levon@movementarian.org>
10752
10753         * pspell.C: fix compile
10754
10755 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * lyxfunc.C (dispatch): use boost::format
10758         (open): ditto
10759         (doImport): ditto
10760
10761         * lyxfont.C (stateText): use boost::format
10762
10763         * lyx_main.C (LyX): use boost::format
10764         (init): ditto
10765         (queryUserLyXDir): ditto
10766         (readRcFile): ditto
10767         (parse_dbg): ditto
10768         (typedef boost::function): use the recommened syntax.
10769
10770         * importer.C (Import): use boost::format
10771
10772         * debug.C (showLevel): use boost::format
10773
10774         * converter.C (view): use boost::format
10775         (convert): ditto
10776         (move): ditto
10777         (scanLog): ditto
10778
10779         * bufferview_funcs.C (currentState): use boost::format
10780
10781         * bufferlist.C (emergencyWrite): use boost::format
10782
10783         * buffer.C (readLyXformat2): use boost::format
10784         (parseSingleLyXformat2Token): ditto
10785
10786         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10787
10788         * LaTeX.C (run): use boost::format
10789
10790         * Chktex.C (scanLogFile): use boost::format
10791
10792         * BufferView_pimpl.C (savePosition): use boost::format
10793         (restorePosition): ditto
10794         (MenuInsertLyXFile): ditto
10795
10796         * BoostFormat.h: help file for explicit instation.
10797
10798 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10799
10800         * tabular.C (latex): Support for block alignment in fixed width
10801         columns.
10802
10803 2002-11-17  John Levon  <levon@movementarian.org>
10804
10805         * BufferView_pimpl.C:
10806         * lyx_cb.C:
10807         * lyxfunc.C: split filedialog into open/save
10808
10809 2002-11-08  Juergen Vigna  <jug@sad.it>
10810
10811         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10812         by my last patch (hopefully).
10813
10814 2002-11-08  John Levon  <levon@movementarian.org>
10815
10816         * iterators.h:
10817         * iterators.C:
10818         * buffer.h:
10819         * buffer.C:
10820         * paragraph.h:
10821         * paragraph.C:
10822         * toc.h:
10823         * toc.C: ParConstIterator, and use it (from Lars)
10824
10825 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10826
10827         * lyxtextclass.[Ch]: revise and add doxygen comments
10828
10829 2002-11-07  John Levon  <levon@movementarian.org>
10830
10831         * text.C: fix progress value for spellchecker
10832
10833         * toc.C: fix navigate menu for insetwrap inside minipage
10834
10835         * paragraph_funcs.C: added FIXME for suspect code
10836
10837 2002-11-07  John Levon  <levon@movementarian.org>
10838
10839         * BufferView_pimpl.C: fix redrawing of insets
10840           on buffer switch
10841
10842 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * text2.C (updateCounters): fix bug 668
10845
10846 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10847
10848         * text3.C (dispatch): Do not make the buffer dirty when moving the
10849         cursor.
10850
10851 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10852
10853         * vc-backend.C: STRCONV
10854         (scanMaster): ditto
10855
10856         * text2.C (setCounter): STRCONV
10857
10858         * paragraph.C (asString): STRCONV
10859
10860         * lyxlength.C (asString): STRCONV
10861         (asLatexString): ditto
10862
10863         * lyxgluelength.C (asString): STRCONV
10864         (asLatexString): ditto
10865
10866         * lyxfunc.C (dispatch): STRCONV
10867         (open): ditto
10868
10869         * lyxfont.C (stateText): STRCONV
10870
10871         * importer.C (Import): STRCONV
10872
10873         * counters.C (labelItem): STRCONV
10874         (numberLabel): ditto
10875         (numberLabel): remove unused ostringstream o
10876
10877         * chset.C: STRCONV
10878         (loadFile): ditto
10879
10880         * bufferview_funcs.C (currentState): STRCONV
10881
10882         * buffer.C (readFile): STRCONV
10883         (asciiParagraph): ditto
10884         (makeLaTeXFile): ditto
10885
10886         * Spacing.C (writeEnvirBegin): STRCONV
10887
10888         * LaTeXFeatures.C (getLanguages): STRCONV
10889         (getPackages): ditto
10890         (getMacros): ditto
10891         (getBabelOptions): ditto
10892         (getTClassPreamble): ditto
10893         (getLyXSGMLEntities): ditto
10894         (getIncludedFiles): ditto
10895
10896         * LaTeX.C: STRCONV
10897         (run): ditto
10898         (scanAuxFile): ditto
10899         (deplog): ditto
10900
10901         * LString.h: add the STRCONV macros
10902
10903         * BufferView_pimpl.C (savePosition): STRCONV
10904         (restorePosition): ditto
10905         (MenuInsertLyXFile): ditto
10906
10907         * vc-backend.C (scanMaster): change from submatch[...] to
10908         submatch.str(...)
10909
10910         * funcrequest.C: include config.h
10911
10912         * factory.C: include config.h
10913
10914         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10915
10916         * box.C: include config.h
10917
10918         * LaTeX.C (scanAuxFile): change from submatch[...] to
10919         submatch.str(...)
10920         (deplog): ditto
10921
10922 2002-10-25  Angus Leeming  <leeming@lyx.org>
10923
10924         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10925
10926         * ispell.[Ch] (setError): new method.
10927         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10928         Use setError() insetead of goto END.
10929
10930         * lyx_cb.C (AutoSave): move out child process into new class
10931         AutoSaveBuffer.
10932
10933 2002-10-30  John Levon  <levon@movementarian.org>
10934
10935         * text3.C: make start appendix undoable
10936
10937 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10938
10939         * lyxlength.C (inPixels): Fix returned value.
10940
10941         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10942         environment.
10943
10944 2002-10-24  Angus Leeming  <leeming@lyx.org>
10945
10946         * lyxgluelength.h: no need to forward declare BufferParams
10947         or BufferView, so don't.
10948
10949 2002-10-21  John Levon  <levon@movementarian.org>
10950
10951         * BufferView.C: menuUndo ->undo, redo
10952
10953         * BufferView.h: document, remove dead, make some methods private
10954
10955         * paragraph_funcs.h:
10956         * paragraph_funcs.C:
10957         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10958
10959         * buffer.h:
10960         * buffer.C:
10961         * sgml.h:
10962         * sgml.C: move sgml open/close tag into sgml.C
10963
10964         * bufferview_funcs.h: unused prototype
10965
10966         * lyxfunc.h:
10967         * lyxfunc.C: remove unused
10968
10969         * lyxtext.h:
10970         * text.C: remove unused
10971
10972 2002-10-21  John Levon  <levon@movementarian.org>
10973
10974         * BufferView.h:
10975         * BufferView.C:
10976         * BufferView_pimpl.h:
10977         * BufferView_pimpl.C: fix mouse wheel handling based on
10978           patch from Darren Freeman
10979
10980 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10983
10984 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * lyxlength.C (inPixels): Fix hanfling of negative length.
10987         Fix LyXLength::MU case.
10988
10989 2002-10-16  John Levon  <levon@movementarian.org>
10990
10991         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10992
10993 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10994
10995         * converter.C (view): add support for $$i (file name) and $$p
10996         (file path) for the viewer command. If $$i is not specified, then
10997         it is appended to the command (for compatibility with old syntax)
10998
10999 2002-10-14  Juergen Vigna  <jug@sad.it>
11000
11001         * undo_funcs.C (textHandleUndo): alter the order in which the
11002         new undopar is added to the LyXText, as we have to set first
11003         the right prev/next and then add it as otherwise the rebuild of
11004         LyXText is not correct. Also reset the cursor to the right paragraph,
11005         with this IMO we could remove the hack in "redoParagraphs()".
11006
11007 2002-10-09  Angus Leeming  <leeming@lyx.org>
11008
11009         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11010         to turn off an optimisation if a new inset is to be inserted.
11011
11012 2002-10-11 André Pönitz <poenitz@gmx.net>
11013
11014         * lyxtext.h: make some functions public to allow access
11015         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11016
11017 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * text3.C (dispatch): when changing layout, avoid an infinite loop
11020         [bug #652]
11021
11022 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11023
11024         * lyxrc.C (read): treat a viewer or converter command of "none" as
11025         if it were empty.
11026
11027         * MenuBackend.C (expandFormats): for an update, also allow the
11028         formats that are not viewable
11029
11030         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11031         script if it is newer than the lyxrc.defaults in user directory
11032
11033 2002-10-07 André Pönitz <poenitz@gmx.net>
11034
11035         * text.C: Vitaly Lipatov's small i18n fix
11036
11037 2002-09-25  Angus Leeming  <leeming@lyx.org>
11038
11039         * ispell.h: doxygen fix.
11040
11041 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11042
11043         * buffer.h (readFile): Add a new argument to the method, to allow
11044         reading of old-format templates.
11045
11046 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11047
11048         * toc.C (getTocList): Get TOC from InsetWrap.
11049
11050 2002-09-16  John Levon  <levon@movementarian.org>
11051
11052         * lyxfunc.C: check tabular for cut/copy too
11053
11054 2002-09-12  John Levon  <levon@movementarian.org>
11055
11056         * LyXAction.C: tidy
11057
11058         * factory.h:
11059         * factory.C: add header
11060
11061         * paragraph_funcs.h:
11062         * paragraph_funcs.C: cleanup
11063
11064 2002-09-11  John Levon  <levon@movementarian.org>
11065
11066         * PrinterParams.h: odd/even default to true
11067
11068 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11069
11070         * PrinterParams.h: update printer parameters for new xforms dialog
11071
11072 2002-09-11  Angus Leeming  <leeming@lyx.org>
11073
11074         * lyxserver.C (read_ready): re-write to make it more transparent
11075         and to make it work in coherent fashion under Tru64 Unix.
11076
11077 2002-09-11  André Pönitz <poenitz@gmx.net>
11078
11079         * commandtags.h:
11080         * LyXAction.C:
11081         * text3.C: implement LFUN_WORDSEL
11082
11083 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11084
11085         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11086         make floatlist_ a boost::shared_ptr<FloatList>
11087
11088         * lyxtextclass.C: include FloatList.h
11089         (LyXTextClass): initialize floatlist_
11090         (TextClassTags): add TC_NOFLOAT
11091         (Read): match "nofloat" to TC_NOFLOAT and use it.
11092         (readFloat): modify call to floatlist_
11093         (floats): ditto
11094         (floats): ditto
11095
11096         * FloatList.[Ch] (FloatList): remove commented out float
11097         initialization.
11098         (erase): new function
11099
11100 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11101
11102         * MenuBackend.C (expandToc): fix crash when there is no document
11103         open
11104
11105 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11106
11107         * many files: Add insetwrap.
11108
11109 2002-09-09  John Levon  <levon@movementarian.org>
11110
11111         * text2.C: remove confusing and awkward depth wraparound
11112
11113 2002-09-09  John Levon  <levon@movementarian.org>
11114
11115         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11116
11117         * buffer.h:
11118         * buffer.C: remove getIncludeonlyList()
11119
11120         * paragraph.C:
11121         * lyxfunc.C: remove headers
11122
11123 2002-09-09  Juergen Vigna  <jug@sad.it>
11124
11125         * text.C (getColumnNearX): fix form Michael this is most
11126         probably a cut&paste bug.
11127
11128 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11129
11130         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11131
11132         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11133         references, ws changes.
11134
11135         * text2.C (init): update counters after init
11136         (insertParagraph): no need to set counter on idividual paragraphs.
11137         (setCounter): access the counters object in the textclass object
11138         on in the buffer object.
11139         (updateCounters): ditto
11140
11141         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11142         shared_ptr<Counters> to avoid loading counters.h in all
11143         compilation units.
11144         (LyXTextClass): initialize ctrs_
11145         (TextClassTags): add TC_COUNTER, and ...
11146         (Read): use it here.
11147         (CounterTags): new tags
11148         (readCounter): new function
11149         (counters): new funtion
11150         (defaultLayoutName): return a const reference
11151
11152         * counters.C (Counters): remove contructor
11153         (newCounter): remove a couple of unneeded statements.
11154         (newCounter): simplify a bit.
11155         (numberLabel): some small formatting changes.
11156
11157         * buffer.[Ch]: remove all traces of counters, move the Counters
11158         object to the LyXTextClass.
11159
11160 2002-09-06  Alain Castera  <castera@in2p3.fr>
11161
11162         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11163         package to set the horizontal alignment on fixed width columns.
11164
11165         * lyx_sty.C:
11166         * lyx_sty.h: added tabularnewline macro def.
11167
11168         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11169
11170 2002-09-06  John Levon  <levon@movementarian.org>
11171
11172         * LyXAction.C: tooltips for sub/superscript
11173
11174         * MenuBackend.C: a bit more verbose
11175
11176         * lyxfunc.C: tiny clean
11177
11178         * undo_funcs.C: document undo_frozen
11179
11180 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11181
11182         * counters.C (Counters): add missing algorithm counter.
11183
11184         * text2.C (setCounter): lookup the counter with layouts latexname
11185         instead of by section number.
11186         (setCounter): use a hackish way to lookup the correct enum
11187         counter.
11188         a float name->type change
11189         reset enum couners with counter name directly instead of depth value.
11190
11191         * counters.C (Counters): remove the push_backs, change to use the
11192         float type not the float name.
11193         (labelItem): remove unused string, float name->type change
11194
11195         * counters.h: don't include vector, loose the enums and sects vectors
11196
11197 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11198
11199         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11200         (Read): add float->TC_FLOAT to textclassTags
11201         (Read): and handle it in the switch
11202         (readFloat): new function
11203
11204         * FloatList.C (FloatList): comment out the hardcoded float
11205         definitions.
11206
11207         * lyxlayout.h: ws change.
11208
11209 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11210
11211         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11212
11213 2002-09-03  Angus Leeming  <leeming@lyx.org>
11214
11215         * BufferView_pimpl.h: qualified name is not allowed in member
11216         declaration: WorkArea & Pimpl::workarea() const;
11217
11218         * factory.C: added using std::endl directive.
11219
11220         * text3.C: added using std::find and std::vector directives.
11221
11222 2002-08-29  André Pönitz <poenitz@gmx.net>
11223
11224         * lyxtext.h:
11225         * text2.C: remove unused member number_of_rows
11226
11227         * Makefile.am:
11228         * BufferView2.C: remove file, move contents to...
11229         * BufferView.C: ... here
11230
11231         * BufferView_pimpl.C:
11232         * factory.C: move more inset creation to factory
11233
11234         * vspace.C: avoid direct usage of LyXText, ws changes
11235
11236         * BufferView.[Ch]:
11237                 don't provide direct access to WorkArea, use two simple
11238                 acessors haveSelction() and workHeight() instead
11239
11240
11241 2002-08-29  John Levon  <levon@movementarian.org>
11242
11243         * BufferView_pimpl.C (dispatch): do not continue when
11244           no buffer
11245
11246 2002-08-28  André Pönitz <poenitz@gmx.net>
11247
11248         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11249
11250         * BufferView.h:
11251         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11252
11253 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11254
11255         * buffer.C: increment LYX_FORMAT to 221
11256
11257         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11258         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11259
11260         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11261
11262         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11263
11264 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * factory.C (createInset): use LyXTextClass::floats
11267
11268         * MenuBackend.C (expandFloatListInsert):
11269         (expandFloatInsert):
11270         (expandToc):
11271
11272         * text2.C (setCounter):
11273
11274         * LaTeXFeatures.C (useFloat):
11275         (getFloatDefinitions):
11276
11277         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11278
11279         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11280         floatlist_, with accessor floats().
11281
11282         * FloatList.h: remove global FloatList
11283
11284 2002-08-26  André Pönitz <poenitz@gmx.net>
11285
11286         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11287
11288         * BufferView.h:
11289         * BufferView2.C:
11290         * BufferView_pimpl.C:
11291         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11292
11293 2002-08-25  John Levon  <levon@movementarian.org>
11294
11295         * LyXAction.C: fix margin note description
11296
11297 2002-08-24  John Levon  <levon@movementarian.org>
11298
11299         * buffer.C:
11300         * bufferlist.C:
11301         * bufferview_funcs.C:
11302         * lyxfont.C:
11303         * undo_funcs.C: cleanups
11304
11305         * lyxfunc.C: disable CUT/COPY when no selection
11306
11307 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11308
11309         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11310         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11311
11312         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11313         Add backward compatibility to "mono", "gray" and "no".
11314
11315 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11316
11317         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11318         (and file_format >= 200).
11319
11320 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11323
11324 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11325
11326         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11327
11328 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11329
11330         * BufferView_pimpl.C:
11331         * LyXAction.C:
11332         * buffer.C:
11333         * commandtags.h:
11334         * lyxfunc.C:
11335         * paragraph.[Ch]:
11336         * text2.C:
11337         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11338         inset and code to make it  work with the paragraph code. The inset
11339         can be anywhere in the paragraph, but will only do the expected
11340         thing in LaTeX if the layout file contains the parameter line
11341                         OptionalArgs    1
11342         (or more generally, a nonzero value) for that layout.
11343
11344 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11345
11346         * paragraph.h: remove the declaration of undefined counters class
11347         function.
11348
11349 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11350
11351         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11352         Dr. Richard Hawkins.
11353
11354 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * paragraph_funcs.h: remove some unneeded includes
11357
11358         * text.C (backspace): pasteParagraph now in global scipe
11359
11360         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11361         (pasteSelection): ditto
11362
11363         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11364         * paragraph_funcs.C (pasteParagraph): ... here
11365
11366 2002-08-20  André Pönitz <poenitz@gmx.net>
11367
11368         * commandtags.h: new LFUNs for swapping/copying table row/colums
11369
11370         * LyXAction.C:
11371         * lyxfunc.C: support for new lfuns
11372
11373 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11374
11375         * tabular.C:
11376         * buffer.[Ch]: remove NO_COMPABILITY stuff
11377
11378 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11379
11380         * boost.C (throw_exception): new file, with helper function for
11381         boost compiled without exceptions.
11382
11383         * paragraph.h:
11384         * lyxlength.C:
11385         * buffer.C:
11386         * ParameterStruct.h:
11387         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11388
11389         * bufferlist.C (emergencyWriteAll): use boost bind
11390
11391         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11392
11393         * text.C: include paragraph_funcs.h
11394         (breakParagraph): breakParagraph is now in global scope
11395
11396         * paragraph_funcs.[Ch]: new files
11397
11398         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11399         global scope
11400
11401         * buffer.C: include paragraph_funcs.h
11402         (insertStringAsLines): breakParagraph is now in global scope
11403
11404         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11405         paragraph_funcs.C
11406
11407         * CutAndPaste.C: include paragraph_funcs.h
11408         (cutSelection): breakParagraphConservative is now in global scope
11409         (pasteSelection): ditto
11410
11411         * buffer.h: declare oprator== and operator!= for
11412         Buffer::inset_iterator
11413
11414         * bufferlist.C (emergencyWrite): don't use fmt(...)
11415
11416         * text3.C: add using std::endl
11417
11418         * BufferView.C (moveCursorUpdate): remove default arg
11419
11420 2002-08-20  André Pönitz <poenitz@gmx.net>
11421
11422         * buffer.[Ch]: move inline functions to .C
11423
11424         * BufferView2.C:
11425         * BufferView_pimpl.C:
11426         * text.C:
11427         * buffer.[Ch]: use improved inset_iterator
11428
11429         * buffer.C:
11430         * paragraph.[Ch]: write one paragraph at a time
11431
11432 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11433
11434         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11435         style if style is not specified.
11436
11437 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * text2.C (setCounter): when searching for right label for a
11440         caption, make sure to recurse to parent insets (so that a caption
11441         in a minipage in a figure float works) (bug #568)
11442
11443 2002-08-20  André Pönitz <poenitz@gmx.net>
11444
11445         * text3.C: new file for LyXText::dispatch() and helpers
11446
11447         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11448
11449         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11450
11451 2002-08-19  André Pönitz <poenitz@gmx.net>
11452
11453         * lyxtext.h:
11454         * text.C: new LyXText::dispatch()
11455
11456         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11457
11458 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11461
11462         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11463         Hebrew text.
11464
11465 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11466
11467         * Makefile.am: use $(variables) instead of @substitutions@
11468
11469 2002-08-15  André Pönitz <poenitz@gmx.net>
11470
11471         * lyxfunc.C:
11472         * BufferView_pimpl.C: streamlining mathed <-> outer world
11473         interaction
11474
11475         * commandtags.h:
11476         * LyXAction.C: remove unused LFUN_MATH
11477
11478 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11479
11480         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11481
11482 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11483
11484         * paragraph.C (Paragraph): reformat a bit
11485         (cutIntoMinibuffer): use builtin InsetList function instad of
11486         doing it manually.
11487         (getInset): ditto
11488
11489         * buffer.C: include boost/bind.hpp, add using std::for_each
11490         (writeFileAscii): use ParagraphList iterators
11491         (validate): use for_each for validate traversal of paragraphs
11492         (getBibkeyList): use ParagraphList iterators
11493         (resizeInsets): use for_each to resizeInsetsLyXText for all
11494         paragraphs.
11495         (getParFromID): use ParagraphList iterators
11496
11497         * BufferView2.C (lockInset): use paragraph list and iterators
11498
11499 2002-08-14  John Levon  <levon@movementarian.org>
11500
11501         * lyxserver.C: remove spurious xforms include
11502
11503 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11506
11507 2002-08-13  André Pönitz <poenitz@gmx.net>
11508
11509         * LyXAction.[Ch]:
11510         * lyxfunc.C: further cleaning
11511
11512 2002-08-13  André Pönitz <poenitz@gmx.net>
11513
11514         * funcrequest.h: new constructor
11515
11516         * funcrequest.C: move stuff here from .h
11517
11518         * Makefile.am:
11519         * BufferView_pimpl.C:
11520         * LyXAction.C:
11521         * toc.C:
11522         * lyxfunc.C: subsequent changes
11523
11524         * lyxfunc.h: new view() member function
11525
11526         * lyxfunc.C: subsequent changes
11527
11528 2002-08-13  Angus Leeming  <leeming@lyx.org>
11529
11530         * BufferView2.C:
11531         * BufferView_pimpl.C:
11532         * buffer.C:
11533         * converter.C:
11534         * importer.C:
11535         * lyxfunc.C:
11536         * lyxvc.C:
11537         * toc.C:
11538         * vc-backend.C:
11539         changes due to the changed LyXView interface that now returns references
11540         to member variables not pointers.
11541
11542 2002-08-13  Angus Leeming  <leeming@lyx.org>
11543
11544         * WordLangTuple (word, lang_code): return references to strings,
11545         not strings.
11546
11547         * BufferView.h:
11548         * SpellBase.h:
11549         * lyxtext.h: forward-declare WordLangTuple.
11550
11551         * BufferView2.C:
11552         * ispell.C:
11553         * pspell.C:
11554         * text.C: #include "WordLangTuple.h".
11555
11556         * lyxtext.h:
11557         * text.C: (selectNextWordToSpellcheck): constify return type.
11558
11559 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11560
11561         * buffer.C:
11562         * buffer.h:
11563         * lyxtext.h:
11564         * paragraph.C:
11565         * paragraph_pimpl.h:
11566         * text.C:
11567         * text2.C:
11568         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11569         suggested by Angus.
11570         Made updateCounter always count from start of buffer, and removed
11571         second argument (par).
11572         Reverted floats number display to '#'. Perhaps I'll try again when the
11573         code base is sanitized a bit.
11574
11575 2002-08-12  Angus Leeming  <leeming@lyx.org>
11576
11577         * buffer.[Ch] (getLabelList): constify.
11578
11579 2002-08-07  André Pönitz <poenitz@gmx.net>
11580
11581         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11582
11583         * funcrequest.h: extension to keep mouse (x,y) position
11584
11585 2002-08-12  Juergen Vigna  <jug@sad.it>
11586
11587         * BufferView2.C (insertErrors): forbid undo when inserting error
11588         insets.
11589
11590         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11591
11592 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11593
11594         * ParagraphList.[Ch]: new files
11595
11596         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11597
11598         * BufferView2.C (lockInset): ParagraphList changes
11599         * toc.C: ditto
11600         * text2.C: ditto
11601         * bufferlist.C: ditto
11602         * buffer.h: ditto
11603         * buffer.C: ditto
11604
11605 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11606
11607         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11608         unused class variable counter_,
11609
11610         * paragraph.[Ch] (getFirstCounter): delete unused function
11611
11612         * counters.C: include LAssert.h
11613         (reset): add a new function with no arg, change other version to
11614         not have def. arg and to not allow empty arg.
11615
11616         * text2.C (setCounter): remove empty arg from call to Counters::reset
11617
11618 2002-08-11  John Levon  <levon@movementarian.org>
11619
11620         * Makefile.am: add WordLangTuple.h
11621
11622 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11623
11624         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11625         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11626
11627         * insets/insettext.C: InsetList changes
11628
11629         * graphics/GraphicsSupport.C (operator()): InsetList changes
11630
11631         * toc.C (getTocList): InsetList changes
11632
11633         * paragraph_pimpl.[Ch]: InsetList changes
11634
11635         * paragraph.[Ch]: InsetList changes
11636
11637         * buffer.C (inset_iterator): InsetList changes
11638         (setParagraph): ditto
11639         * buffer.h (inset_iterator): ditto
11640         * iterators.C (operator++): ditto
11641         * iterators.h: ditto
11642
11643         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11644
11645         * InsetList.[Ch]: new files, most InsetList handling moved out of
11646         paragraph.C.
11647
11648         * BufferView2.C (removeAutoInsets): InsetList changes
11649         (lockInset): ditto
11650         (ChangeInsets): ditto
11651
11652 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11653
11654         * paragraph_pimpl.h (empty): new function
11655
11656         * paragraph.[Ch] (empty): new function
11657
11658         * other files: use the new Paragraph::empty function
11659
11660 2002-08-09  John Levon  <levon@movementarian.org>
11661
11662         * lyxtext.h: remove unused refresh_height
11663
11664 2002-08-09  John Levon  <levon@movementarian.org>
11665
11666         * Makefile.am:
11667         * sgml.h:
11668         * sgml.C:
11669         * buffer.C:
11670         * paragraph.h:
11671         * paragraph.C: move sgml char escaping out of paragraph
11672
11673         * paragraph.h:
11674         * paragraph.C: remove id setter
11675
11676         * buffer.C:
11677         * paragraph.C:
11678         * paragraph_pimpl.C: remove dead tex_code_break_column
11679
11680         * bufferview_funcs.C: small cleanup
11681
11682         * lyxfunc.C: remove dead proto
11683
11684         * lyxtext.h: make some stuff private. Remove some dead stuff.
11685
11686         * lyxgluelength.C: make as[LyX]String() readable
11687
11688 2002-08-08  John Levon  <levon@movementarian.org>
11689
11690         * LyXAction.h:
11691         * LyXAction.C:
11692         * MenuBackend.C:
11693         * ToolbarDefaults.C:
11694         * lyxfunc.C:
11695         * lyxrc.C:
11696         * toc.C: lyxaction cleanup
11697
11698 2002-08-08  John Levon  <levon@movementarian.org>
11699
11700         * BufferView2.C: small cleanup
11701
11702         * lyxfind.h:
11703         * lyxfind.C: move unnecessary header into the .C
11704
11705 2002-08-08  John Levon  <levon@movementarian.org>
11706
11707         * funcrequest.h: just tedious nonsense
11708
11709         * lyx_main.h:
11710         * lyx_main.C: cleanups
11711
11712         * buffer.C:
11713         * vspace.C: remove dead header lyx_main.h
11714
11715 2002-08-07  Angus Leeming  <leeming@lyx.org>
11716
11717         * Paragraph.[Ch]:
11718         * paragraph_pimpl.h:
11719         Forward declare class Counters in paragraph.h by moving the ctrs member
11720         variable into Paragraph::Pimpl.
11721         (counters): new method, returning a reference to pimpl_->ctrs.
11722
11723         * text2.C: ensuing changes.
11724
11725 2002-08-07  John Levon  <levon@movementarian.org>
11726
11727         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11728
11729         * BufferView_pimpl.C: announce X selection on double/triple
11730           click
11731
11732         * lyx_main.C: use correct bool in batch dispatch
11733
11734         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11735
11736 2002-08-07  André Pönitz <poenitz@gmx.net>
11737
11738         * funcrequest.h: new class to wrap a kb_action and its argument
11739
11740         * BufferView.[Ch]:
11741         * BufferView_pimpl[Ch]:
11742         * LaTeX.C:
11743         * LyXAction.[Ch]:
11744         * lyxfunc.[Ch]:
11745         * lyxrc.C: subsequent changes
11746
11747
11748 2002-08-07  John Levon  <levon@movementarian.org>
11749
11750         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11751           document options change.
11752
11753 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11754
11755         * counters.[Ch]
11756         * text2.C
11757         * paragraph.[Ch]
11758         * makefile.am: move counters functionality over from
11759         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11760
11761 2002-08-06  John Levon  <levon@movementarian.org>
11762
11763         * WordLangTuple.h: new file for word + language code tuple
11764
11765         * SpellBase.h:
11766         * pspell.h:
11767         * pspell.C:
11768         * ispell.h:
11769         * ispell.C:
11770         * lyxtext.h:
11771         * text.C:
11772         * text2.C:
11773         * BufferView.h:
11774         * BufferView2.C: use WordLangTuple
11775
11776         * layout.h:
11777         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11778
11779 2002-08-06  John Levon  <levon@movementarian.org>
11780
11781         * lyx_main.C: fix cmdline batch handling
11782
11783 2002-08-06  André Pönitz <poenitz@gmx.net>
11784
11785         * lyxrc.C: set default for show_banner to true
11786
11787 2002-08-06  John Levon  <levon@movementarian.org>
11788
11789         * pspell.C: fix a crash, and allow new aspell to work
11790
11791 2002-08-06  John Levon  <levon@movementarian.org>
11792
11793         * lyxfunc.C:
11794         * kbmap.C: small cleanup
11795
11796         * vspace.h:
11797         * vspace.C: add const
11798
11799 2002-08-05  John Levon  <levon@movementarian.org>
11800
11801         * LyXAction.C: back to tabular-insert
11802
11803 2002-08-04  John Levon  <levon@movementarian.org>
11804
11805         * BufferView.h:
11806         * BufferView.C: cosmetic change
11807
11808         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11809
11810         * bufferlist.C:
11811         * buffer.h:
11812         * buffer.C:
11813         * lyxcb.h:
11814         * lyxcb.C:
11815         * lyxserver.C:
11816         * lyxvc.C:
11817         * vc-backend.C:
11818         * BufferView2.C: purge all "Lyx" not "LyX" strings
11819
11820         * lyxcursor.h:
11821         * lyxcursor.C: attempt to add some documentation
11822
11823         * lyxfunc.C:
11824         * commandtags.h:
11825         * LyXAction.C:
11826         * ToolbarDefaults.C:
11827         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11828           merge with LFUN_TABULAR_INSERT
11829
11830         * Makefile.am:
11831         * SpellBase.h:
11832         * ispell.h:
11833         * ispell.C:
11834         * pspell.h:
11835         * pspell.C: split up i/pspell implementations into separate
11836           files, many cleanups
11837
11838         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11839
11840         * text2.C: some cleanup
11841
11842         * lyxfunc.C: don't check for isp_command == "none" any more, it
11843           didn't make any sense
11844
11845 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11846
11847         * counters.[Ch]
11848         * text2.C
11849         * paragraph.[Ch]
11850         * makefile.am: move counters functionality over
11851         from text2.C/paragraph.[Ch] to counters.[Ch], and
11852         make proper C++.
11853 2002-08-02  John Levon  <levon@movementarian.org>
11854
11855         * buffer.C: s/lyxconvert/lyx2lyx/
11856
11857 2002-08-02  Angus Leeming  <leeming@lyx.org>
11858
11859         * lyxlex.C: revert John's change as it breaks reading of the user
11860         preamble.
11861
11862 2002-08-02  Angus Leeming  <leeming@lyx.org>
11863
11864         * importer.C (Import):
11865         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11866         changes due to LyXView::view() now returning a boost::shared_ptr.
11867
11868 2002-08-02  John Levon  <levon@movementarian.org>
11869
11870         * lyxlex.C: small cleanup
11871
11872 2002-08-02  John Levon  <levon@movementarian.org>
11873
11874         * text2.C (status): small cleanup, no logic change
11875
11876 2002-08-01  John Levon  <levon@movementarian.org>
11877
11878         * buffer.h:
11879         * buffer.C (writeFile): don't output alerts, caller
11880           handles this
11881
11882         * bufferlist.C:
11883         * lyx_cb.C: from above
11884
11885         * lyxfunc.C: allow to open non-existent files
11886
11887 2002-07-31  John Levon  <levon@movementarian.org>
11888
11889         * lyxserver.C: don't let incidental errors get
11890           in the way (errno)
11891
11892 2002-07-30  John Levon  <levon@movementarian.org>
11893
11894         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11895
11896 2002-07-30  John Levon  <levon@movementarian.org>
11897
11898         * lyxserver.h:
11899         * lyxserver.C: remove I/O callback too
11900
11901 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11904         log.
11905
11906 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11907
11908         * many files: strip,frontStrip -> trim,ltrim,rtrim
11909
11910 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11911
11912         * PrinterParams.h: remove extern containsOnly, and include
11913         support/lstrings.h instead.
11914
11915         * LaTeX.C (scanAuxFile): modify because of strip changes
11916         (deplog): ditto
11917         * buffer.C (makeLaTeXFile): ditto
11918         * bufferparams.C (writeFile): ditt
11919         * lyxfont.C (stateText): ditto
11920         * lyxserver.C (read_ready): ditto
11921         * vc-backend.C (scanMaster): ditto
11922
11923         * BufferView_pimpl.h: ws changes
11924
11925         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11926
11927 2002-07-26  André Pönitz <poenitz@gmx.net>
11928
11929         * kb_sequence.C: remove unnedred usings
11930
11931 2002-07-26  Juergen Vigna  <jug@sad.it>
11932
11933         * lyxfind.C (LyXReplace): we have to check better if the returned
11934         text is not of theLockingInset()->getLockingInset().
11935
11936 2002-07-25  Juergen Vigna  <jug@sad.it>
11937
11938         * lyxfind.C (LyXReplace): don't replace if we don't get the
11939         right LyXText.
11940
11941         * undo_funcs.C (createUndo): remove debugging code.
11942
11943 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11944
11945         * buffer.C (parseSingleLyXformat2Token): Use default placement
11946         when reading old floats.
11947
11948         * FloatList.C (FloatList): Change the default placement of figure
11949         and tables to "tbp".
11950
11951 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * MenuBackend.C: using std::max
11954
11955 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11956
11957         * MenuBackend.C (expandToc):
11958         (expandToc2): code moved from xforms menu frontend. It is now
11959         generic and TOCs are transparent to menu frontends.
11960
11961 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * toc.C (getTocList): protect against buf=0
11964
11965         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11966         Menu as first parameter. Now, this calls itself recursively to
11967         expand a whole tree (this will be useful for TOC handling)
11968         (expandFloatInsert): remove 'wide' version of floats
11969
11970         * MenuBackend.h (submenuname): returns the name of the submenu.
11971         (submenu): returns the submenu itself, provided it has been
11972         created by MenuBackend::expand
11973
11974 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11977         insets which have noFontChange == true. (bug #172)
11978
11979 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * BufferView_pimpl.C: add connection objects and use them...
11982         (Pimpl): here.
11983
11984 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * MenuBackend.C (expandLastfiles):
11987         (expandDocuments):
11988         (expandFormats):
11989         (expandFloatListInsert):
11990         (expandFloatInsert):
11991         (expand): split expand in parts
11992
11993 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * lyx_gui.C: use lyx_gui::exit()
11996
11997 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * LyXAction.C: show the failing pseudo action
12000
12001 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12002
12003         * buffer.C (readFile): Run the lyxconvert script in order to read
12004         old files.
12005
12006 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * LyXAction.C:
12009         * commandtags.h:
12010         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12011
12012 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * LyXAction.C:
12015         * commandtags.h:
12016         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12017
12018 2002-07-22  Herbert Voss  <voss@lyx.org>
12019
12020         * lengthcommon.C:
12021         * lyxlength.[Ch]: add support for the vertical lengths
12022
12023 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * toc.[Ch]: std:: fixes
12026
12027 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12028
12029         * lyxrc.C: do not include lyx_main.h
12030
12031         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12032         for layouts
12033
12034         * lyxrc.C:
12035         * encoding.C:
12036         * bufferlist.C:
12037         * BufferView2.C: include "lyxlex.h"
12038
12039         * tabular.h:
12040         * bufferparams.h: do not #include "lyxlex.h"
12041
12042         * lyxtextclasslist.C (Add): remove method
12043         (classlist): renamed to classlist_
12044
12045         * paragraph_pimpl.C:
12046         * paragraph.C:
12047         * text2.C:
12048         * CutAndPaste.C:
12049         * bufferview_funcs.C:
12050         * bufferlist.C:
12051         * text.C:
12052         * LaTeXFeatures.C:
12053         * buffer.C:
12054         * toc.C (getTocList): use BufferParams::getLyXTextClass
12055
12056         * toc.C (getTocList): use InsetFloat::addToToc
12057
12058         * toc.[Ch]: new files, containing helper functions to handle table
12059         of contents
12060
12061         * lyxfunc.C (dispatch): no need to remove spaces around command
12062         given as a string
12063         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12064         first command of the sequence; it is not very clever, but I do not
12065         have a better idea, actually
12066
12067         * LyXAction.C (LookupFunc): make sure to remove space at the
12068         beginning and end of the command
12069
12070 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * MenuBackend.C (getMenubar): new method: return the menubar of
12073         this menu set
12074         (read): treat differently reading of menu and menubar (in
12075         particular, the menubar has no name now)
12076         (Menu::menubar): remove
12077
12078         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12079         saving is finished
12080
12081 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12082
12083         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12084         a bibitem inset in a RTL paragraph.
12085
12086 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * paragraph_pimpl.C: constify
12089
12090         * BufferView_pimpl.C:
12091         * LaTeX.C:
12092         * lyxfunc.C: fix dispatch in a nicer way
12093
12094 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * lyxfunc.C (dispatch):
12097         * BufferView_pimpl.C:
12098         * BufferView_pimpl.h:
12099         * BufferView.C:
12100         * BufferView.h: rename Dispatch() to dispatch()
12101
12102         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12103
12104         * lyxlayout.C (Read): honor DependsOn tag
12105
12106         * lyxlayout.[Ch] (depends_on): new method
12107
12108         * version.C.in: update lyx_docversion
12109
12110         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12111
12112         * paragraph.C (validate): remove from here...
12113         * paragraph_pimpl.C (validate): ... and move here
12114         (isTextAt): make it const
12115
12116         * buffer.C (getLists): ws cleanup
12117
12118 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12119
12120         * language.C (read): Use iso8859-1 encoding in latex_lang
12121         (this prevents LyX from crashing when using iso10646-1 encoding).
12122
12123 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12124
12125         * text2.C (toggleInset): if cursor is inside an inset, close the
12126         inset and leave cursor _after_ it
12127
12128 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * lyxfunc.C: move minibuffer completion handling out of here
12131
12132 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView_pimpl.C:
12135         * LaTeX.C: fix dispatch calls
12136
12137 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12138
12139         * text.C (drawChars): Fix Arabic text rendering.
12140
12141 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * LyXAction.C:
12144         * commandtags.h:
12145         * lyxfunc.C: remove message-push/pop
12146
12147         * lyxserver.C:
12148         * lyxfunc.h:
12149         * lyxfunc.C: rationalise some code by removing verboseDispatch
12150           in favour of a bool argument to dispatch()
12151
12152 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * lyx_main.C (init): make sure to read symlinks as absolute paths
12155
12156 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * lyxfunc.h:
12159         * lyxfunc.C: no need for commandshortcut to be a member
12160
12161 2002-07-15  André Pönitz <poenitz@gmx.net>
12162
12163         * converter.C: add support for $$s (scripts from lib/scripts dir)
12164         * lyx_main.C: white space
12165
12166 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * bufferlist.C:
12169         * lyxrc.h:
12170         * lyxrc.C: remove second exit confirmation
12171
12172 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * BufferView.h:
12175         * BufferView.C:
12176         * BufferView2.C:
12177         * BufferView_pimpl.h:
12178         * BufferView_pimpl.C:
12179         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12180
12181 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12182
12183         * MenuBackend.C (expand): add numeric shortcuts to document menu
12184
12185         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12186
12187 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12188
12189         * lyxfont.C (setLyXFamily):
12190         (setLyXSeries):
12191         (setLyXShape):
12192         (setLyXSize):
12193         (setLyXMisc):
12194         (lyxRead):
12195         * debug.C (value):
12196         * buffer.C (asciiParagraph): use ascii_lowercase
12197
12198 2002-07-15  Mike Fabian  <mfabian@suse.de>
12199
12200         * lyxlex_pimpl.C (search_kw):
12201         * lyxlex.C (getLongString):
12202         * converter.h (operator<):
12203         * converter.C (operator<):
12204         * buffer.C (parseSingleLyXformat2Token):
12205         (asciiParagraph):
12206         * ToolbarDefaults.C (read):
12207         * MenuBackend.C (checkShortcuts):
12208         (read):
12209         * LColor.C (getFromGUIName):
12210         (getFromLyXName): use the compare_ascii_no_case instead of
12211         compare_no_case, because in turkish, 'i' is not the lowercase
12212         version of 'I', and thus turkish locale breaks parsing of tags.
12213
12214 2002-07-16  Angus Leeming  <leeming@lyx.org>
12215
12216         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12217         now takes a Buffer const & argument.
12218
12219 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * BufferView.C (resize): check there's a buffer to resize
12222
12223 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * lyxfunc.C: remove dead code
12226
12227         * lyxserver.h:
12228         * lyxserver.C: use lyx_guii::set_read_callback
12229
12230 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12231
12232         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12233         an inset in a RTL paragraph.
12234
12235 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * lyxfunc.C: repaint after a font size update
12238
12239 2002-07-15  André Pönitz <poenitz@gmx.net>
12240
12241         * lyxlength.C: inBP should be able to return negative values
12242
12243 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lyxfunc.C: use lyx_gui::update_fonts()
12246
12247 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * lyxfunc.C: use lyx_gui::update_color()
12250
12251 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * bufferlist.C:
12254         * lyxfunc.h:
12255         * lyxfunc.C:
12256         * lyxrc.h:
12257         * lyxrc.C: remove file->new asks for name option, and let
12258           buffer-new take an argument
12259
12260 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * BufferView_pimpl.C: remove unneeded extra repaint()
12263
12264 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * LyXAction.C: allow command-sequence with NoBuffer
12267
12268         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12269
12270 2002-07-10  Angus Leeming  <leeming@lyx.org>
12271
12272         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12273
12274 2002-07-09  Angus Leeming  <leeming@lyx.org>
12275
12276         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12277
12278 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * lengthcommon.h: whitespace
12281
12282         * lyxfunc.C: update scrollbar after goto paragraph
12283
12284         * lyxtext.h: factor out page break drawing, and fix it so
12285           page break/added space paints as selected nicely
12286
12287 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * BufferView_pimpl.C: add FIXMEs, clean up a little
12290
12291 2002-07-09  André Pönitz <poenitz@gmx.net>
12292
12293         * lyxfont.[Ch]: support for wasy symbols
12294
12295 2002-07-08  André Pönitz <poenitz@gmx.net>
12296
12297         * BufferView_pimpl.C: apply John's patch for #93.
12298
12299 2002-07-05  Angus Leeming  <leeming@lyx.org>
12300
12301         * BufferView_pimpl.C (buffer): generate previews if desired.
12302
12303         * LColor.h: add "preview" to the color enum.
12304
12305         * LColor.C (LColor): add a corresponding entry to the items array.
12306
12307         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12308         with this buffer.
12309
12310 2002-07-05  Angus Leeming  <leeming@lyx.org>
12311
12312         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12313         The body of the code is now in the method that is passed an ostream &
12314         rather than a file name.
12315         Pass an additional only_preamble parameter, useful for the forthcoming
12316         preview stuff.
12317
12318 2002-07-03  André Pönitz <poenitz@gmx.net>
12319
12320         * lyxfunc.C: simplify getStatus() a bit for math stuff
12321
12322 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12325
12326 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * text.C (changeRegionCase): do not change case of all the
12329         document when region ends at paragraph end (bug #461)
12330
12331 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * paragraph.C (startTeXParParams):
12334         (endTeXParParams): add \protect when necessary
12335
12336 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * BufferView_pimpl.C (workAreaExpose): remove warning
12339
12340 2002-06-27  Angus Leeming  <leeming@lyx.org>
12341
12342         * Makefile.am: add lyxlayout_ptr_fwd.h.
12343
12344 2002-06-26  André Pönitz <poenitz@gmx.net>
12345
12346         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12347
12348 2002-06-25  Angus Leeming  <leeming@lyx.org>
12349
12350         * lyxfunc.C (dispatch): Comment out the call to
12351         grfx::GCache::changeDisplay. The method no longer exists now that the
12352         pixmap generation part of the graphics loader has been moved into
12353         InsetGraphics.
12354
12355 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12356
12357         * text2.C: layout as layout
12358
12359         * text.C: layout as layout
12360
12361         * tabular.C (OldFormatRead): layout as layout
12362
12363         * paragraph_pimpl.C (TeXDeeper): layout as layout
12364         (realizeFont): layout as layout
12365
12366         * paragraph.C (writeFile): layout as layout
12367         (validate): layout as layout
12368         (getFont): layout as layout
12369         (getLabelFont): layout as layout
12370         (getLayoutFont): layout as layout
12371         (breakParagraph): layout as layout
12372         (stripLeadingSpaces): layout as layout
12373         (getEndLabel): layout as layout
12374         (getMaxDepthAfter): layout as layout
12375         (applyLayout): layout as layout
12376         (TeXOnePar): layout as layout
12377         (simpleTeXOnePar): layout as layout
12378         (TeXEnvironment): layout as layout
12379         (layout): layout as layout
12380         (layout): layout as layout
12381
12382         * lyxtextclass.C (compare_name): new functor to work with
12383         shared_ptr, layout as layout
12384         (Read): layout as layout
12385         (hasLayout): layout as layout
12386         (operator): layout as layout
12387         (delete_layout): layout as layout
12388         (defaultLayout): layout as layout
12389
12390         * lyxlayout_ptr_fwd.h: new file
12391
12392         * lyxlayout.C (Read): layout as layout
12393
12394         * lyx_cb.C (MenuInsertLabel): layout as layout
12395
12396         * bufferlist.C (newFile): layout as layout
12397
12398         * buffer.C (readLyXformat2): layout as layout
12399         (parseSingleLyXformat2Token): layout as layout
12400         (insertStringAsLines): layout as layout
12401         (asciiParagraph): layout as layout
12402         (latexParagraphs): layout as layout
12403         (makeLinuxDocFile): layout as layout
12404         (simpleLinuxDocOnePar): layout as layout
12405         (makeDocBookFile): layout as layout
12406         (simpleDocBookOnePar): layout as layout
12407         (getLists): layout as layout
12408
12409         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12410
12411         * CutAndPaste.C (cutSelection): layout as layout
12412         (pasteSelection): layout as layout
12413         (SwitchLayoutsBetweenClasses): layout as layout
12414
12415         * BufferView_pimpl.C (Dispatch): layout as layout
12416         (smartQuote): layout as layout
12417
12418         * BufferView2.C (unlockInset): layout as layout
12419
12420 2002-06-24  André Pönitz <poenitz@gmx.net>
12421
12422         * lyxfunc.C: fix #487
12423
12424 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * lyxrc.h:
12427         * lyxrc.C:
12428         * lyxfunc.C: remove display_shortcuts, show_banner
12429
12430 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * Buffer_pimpl.C: oops, update on resize
12433
12434 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * buffer.C:
12437         * converter.C:
12438         * exporter.C:
12439         * lyxfunc.C:
12440         * BufferView.h:
12441         * BufferView.C: use repaint()
12442
12443         * BufferView_pimpl.h:
12444         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12445           as it's a clearer description. Remove superfluous
12446           redraws.
12447
12448 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * text.C: fix bug 488. Not ideal, but getting
12451           getWord() to work properly for the insets that
12452           matter is more difficult ...
12453
12454 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * BufferView_pimpl.C:
12457         * LyXAction.C:
12458         * commandtags.h:
12459         * lyxfunc.C: remove the six million index lyxfuncs to just
12460           one, and DTRT (bug 458)
12461
12462 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * BufferView.h:
12465         * BufferView.C:
12466         * BufferView_pimpl.h:
12467         * BufferView_pimpl.C: clean up resize() stuff,
12468           and unnecessary updateScreen()s
12469
12470 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * BufferView.h:
12473         * BufferView.C:
12474         * BufferView_pimpl.h:
12475         * BufferView_pimpl.C:
12476         * lyxfind.h:
12477         * lyxfind.C:
12478         * minibuffer.C: remove focus management of workarea,
12479           not needed. Use screen's greyOut()
12480
12481 2002-06-17  Herbert Voss  <voss@lyx.org>
12482
12483         * converter.C: (convert) do not post a message, when converting
12484         fails, let the calling function decide what to do in this case
12485
12486 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * lyxfunc.C: tidy up a little
12489
12490 2002-06-16    <alstrup@diku.dk>
12491
12492         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12493         Got rid of FORMS_H_LOCATION include. Now we are
12494         GUII.
12495
12496 2002-06-15  LyX Development team  <lyx@rilke>
12497
12498         * buffer.[Ch] (sgmlOpenTag):
12499         (sgmlCloseTag): Added support for avoiding pernicious mixed
12500         content. Return number of lines written.
12501
12502         (makeLinuxDocFile):
12503         (makeDocBookFile): Fixed calls to sgml*Tag.
12504         Simple white space clean.
12505
12506         (simpleDocBookOnePar): Simple white space clean.
12507
12508         * tabular.[Ch] (docBook): Renamed to docbook and got another
12509         argument to related with the pernicious mixed content.
12510
12511         (docbookRow): Fixed calls for docbook inset method.
12512
12513 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12514
12515         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12516         so it's X11 independent.
12517
12518         * kb*.[Ch]: ditto.
12519
12520         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12521
12522 2002-06-15  Lyx Development team  <lyx@electronia>
12523
12524         * intl.h: Renamed getTrans to getTransManager.
12525
12526 2002-06-14  Angus Leeming  <leeming@lyx.org>
12527
12528         * Makefile.am: nuke forgotten stl_string_fwd.h.
12529
12530 2002-06-12  Angus Leeming  <leeming@lyx.org>
12531
12532         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12533
12534 2002-06-13  Angus Leeming  <leeming@lyx.org>
12535
12536         * LaTeX.C:
12537         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12538
12539 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12540
12541         * kbmap.C (getiso): add support for cyrillic and greek
12542
12543 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * BufferView.h:
12546         * BufferView.C:
12547         * BufferView_pimpl.h:
12548         * BufferView_pimpl.C: move bogus scrolling logic
12549           to xforms
12550
12551 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * lyxfunc.C:
12554         * BufferView_pimpl.C: view->resize() change
12555
12556 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * BufferView_pimpl.C: topCursorVisible
12559           prototype change
12560
12561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * Makefile.am:
12564         * lyx_gui.h:
12565         * lyx_gui.C: move to frontends/
12566
12567         * main.C:
12568         * lyx_main.h:
12569         * lyx_main.C: changes from above
12570
12571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * intl.C:
12574         * intl.h:
12575         * kbmap.C:
12576         * kbsequence.C:
12577         * lyx_cb.C:
12578         * lyx_main.C: minor tidy
12579
12580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * BufferView_pimpl.h:
12583         * BufferView_pimpl.C:
12584         * BufferView.h:
12585         * BufferView.C: make painter() const,
12586           remove dead code
12587
12588         * BufferView2.C: use screen() accessor
12589
12590         * lyx_main.h:
12591         * lyx_main.C: some minor cleanup
12592
12593 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * BufferView_pimpl.h:
12596         * BufferView_pimpl.C: remove enter/leaveView,
12597           use workHeight()
12598
12599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * BufferView.h:
12602         * BufferView.C:
12603         * BufferView2.C:
12604         * BufferView_pimpl.h:
12605         * BufferView_pimpl.C: only construct screen once,
12606           rename
12607
12608         * lyxrc.C: remove pointless comment
12609
12610 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * BufferView.h:
12613         * BufferView.C: remove active() and belowMouse()
12614
12615         * BufferView_pimpl.h:
12616         * BufferView_pimpl.C: use workarea() not workarea_,
12617           and make it use a scoped_ptr instead
12618
12619 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * lyx_gui.C: add debug message on BadWindow
12622
12623 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * sp_spell.C: fdopen is not part of the C++ standard.
12626
12627         * paragraph.C (InsetIterator): use >= instead of ==
12628
12629 2002-06-07  Angus Leeming  <leeming@lyx.org>
12630
12631         Fixes needed to compile with Compaq cxx 6.5.
12632         * BufferView_pimpl.C:
12633         * DepTable.C:
12634         * buffer.C:
12635         * converter.C:
12636         * encoding.C:
12637         * lyx_gui.C:
12638         * lyx_main.C:
12639         * lyxtextclasslist.C:
12640         * minibuffer.C:
12641         * sp_spell.C:
12642         * tabular_funcs.C:
12643         * vc-backend.C:
12644         all c-library variables have been moved into namespace std. Wrap
12645         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12646
12647         * lyxlength.C:
12648         * tabular-old.C:
12649         * tabular.C:
12650         Add a using std::abs declaration.
12651
12652         * kbmap.h (modifier_pair):
12653         * paragraph.h (InsetTable, InsetList):
12654         * lyxfont.h (FontBits):
12655         type definition made public.
12656
12657         * bufferlist.C (emergencyWriteAll): the compiler complains that
12658         there is more than one possible lyx::class_fun template to choose from.
12659         I re-named the void specialisation as lyx::void_class_fun.
12660
12661         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12662
12663         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12664         the compiler is is unable to find tostr in write_attribute.
12665
12666 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12667
12668         * buffer.C (sgmlError): hide #warning
12669
12670 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12671
12672         * xtl/*: get rid of xtl, which is not in use anyway
12673
12674         * LyXAction.C (init):
12675         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12676         were unimplemented xtl experimentation
12677
12678 2002-06-04  André Pönitz <poenitz@gmx.net>
12679
12680         * lyxfunc.C: disable array operation on simple formulae
12681
12682 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12683
12684         * converter.C: constify a bit
12685
12686 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * lyx_gui.C: check xforms version correctly
12689
12690 2002-04-30  Herbert Voss  <voss@lyx.org>
12691
12692         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12693         "keep" option
12694
12695 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12698           attempt to register it with a VCS)
12699
12700 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12701
12702         * lyx_main.C (init): honor variables LYX_DIR_13x and
12703         LYX_USERDIR_13x
12704
12705 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * buffer.h:
12708         * buffer.C:
12709         * lyx_main.C: fix a crash on bad command line,
12710           and give a useful exit status on error
12711
12712         * lyxfunc.C (doImport): allow -i lyx to work
12713
12714 2002-03-30  André Pönitz <poenitz@gmx.net>
12715
12716         * lyxfunc.C: mathed font changes
12717
12718 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * LaTeX.C:
12721         * importer.h:
12722         * importer.C:
12723         * lyx_sty.h:
12724         * lyx_sty.C:
12725         * lyxlex.C:
12726         * lyxrow.h:
12727         * lyxtext.h:
12728         * paragraph.h:
12729         * paragraph.C:
12730         * texrow.h:
12731         * texrow.C:
12732         * text.C:
12733         * trans_mgr.h: srcdocs, and some minor cleanups
12734
12735 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12736
12737         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12738         call getFont all the time)
12739
12740 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * switch from SigC signals to boost::signals
12743
12744 2002-05-29  André Pönitz <poenitz@gmx.net>
12745
12746         * paragraph_pimpl.C (getChar): don't call size() too often...
12747
12748 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * paragraph_pimpl.C (insertChar): do not try to update tables when
12751         appending (pos == size())
12752
12753         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12754         in order to reduce drastically the number of comparisons needed to
12755         parse a large document
12756
12757 2002-05-29  André Pönitz <poenitz@gmx.net>
12758
12759         * text.C:
12760         * text2.C:
12761         * lyxtextclass.C:
12762         * sp_pspell.h:
12763         * textclasslist.[Ch]:
12764         * sp_ispell.h: whitespace change
12765
12766 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12769         lyxaction directly now.
12770
12771 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * trans.C:
12774         * lyxfont.C:
12775         * lyxvc.C: remove unused headers
12776
12777 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * Makefile.am:
12780         * buffer.h:
12781         * undostack.h:
12782         * undostack.C:
12783         * undo_funcs.h:
12784         * undo_funcs.C: some cleanups. Use shared_ptr
12785           and a template for the undo stacks.
12786
12787 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * BufferView_pimpl.h:
12790         * BufferView_pimpl.C:
12791         * kbmap.h:
12792         * kbmap.C:
12793         * kbsequence.h:
12794         * kbsequence.C:
12795         * lyxfunc.h:
12796         * lyxfunc.C:
12797         * text2.C: use key_state/mouse_state
12798
12799 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12802         and LSubstring
12803
12804         * chset.C: change include order
12805         (loadFile): use boost regex and get rid of LRegex and LSubstring
12806
12807         * Makefile.am (BOOST_LIBS): new variable
12808         (lyx_LDADD): use it
12809
12810         * LaTeX.C: change include order.
12811         (scanAuxFile): use boost regex and get rid of LRegex and
12812         LSubstring
12813         (deplog): ditto
12814
12815 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * ColorHandler.h:
12818         * ColorHandler.C:
12819         * FontInfo.h:
12820         * FontInfo.C: moved to frontends/xforms/
12821
12822         * FontLoader.h:
12823         * FontLoader.C: moved into frontends for GUIIzation
12824
12825         * Makefile.am:
12826         * lyx_gui.C:
12827         * lyxfont.C:
12828         * lyxfunc.C: changes from above
12829
12830 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * LColor.C: remove spurious X include
12833
12834         * BufferView_pimpl.C:
12835         * Makefile.am:
12836         * font.h:
12837         * font.C:
12838         * text.C:
12839         * text2.C: move font metrics to frontends/
12840
12841 2002-05-24  Juergen Vigna  <jug@sad.it>
12842
12843         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12844         setting the undo_cursor.
12845
12846         * ParagraphParameters.h: include local includes first.
12847
12848 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * BufferView_pimpl.C:
12851         * BufferView_pimpl.h:
12852         * Makefile.am:
12853         * WorkArea.h:
12854         * WorkArea.C:
12855         * screen.C: move WorkArea into frontends/
12856
12857         * lyxscreen.h:
12858         * screen.C:
12859         * text.C:
12860         * BufferView.C:
12861         * BufferView2.C: move LyXScreen into frontends/
12862
12863         * lyxlookup.h:
12864         * lyxlookup.C:
12865         * lyx_gui.C: move lyxlookup into frontends/xforms/
12866
12867 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * BufferView2.C:
12870         * BufferView_pimpl.C:
12871         * FontLoader.C:
12872         * LyXView.h:
12873         * LyXView.C:
12874         * Makefile.am:
12875         * WorkArea.C:
12876         * XFormsView.h:
12877         * XFormsView.C:
12878         * buffer.C:
12879         * bufferlist.C:
12880         * bufferview_funcs.C:
12881         * converter.C:
12882         * importer.C:
12883         * lyx_cb.C:
12884         * lyx_gui.C:
12885         * lyx_main.C:
12886         * lyx_find.C:
12887         * lyxfunc.C:
12888         * lyxvc.C:
12889         * minibuffer.C:
12890         * text.C:
12891         * text2.C:
12892         * trans.C:
12893         * vc-backend.C: move LyX/XFormsView into frontends/
12894
12895 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * Makefile.am:
12898         * PainterBase.C:
12899         * PainterBase.h:
12900         * Painter.C:
12901         * Painter.h:
12902         * WorkArea.C:
12903         * WorkArea.h:
12904         * screen.C:
12905         * tabular.C:
12906         * text.C:
12907         * text2.C: move Painter to frontends/
12908
12909 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * buffer.C: comment out some some code that depend upon lyx_format
12912         < 220
12913
12914         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12915         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12916
12917         * buffer.h (NO_COMPABILITY): turn off compability
12918
12919         * ColorHandler.C: include scoped_array.hpp
12920
12921         * font.C: Use more specific smart_ptr header.
12922         * Painter.C: ditto
12923         * gettext.C: ditto
12924         * ShareContainer.h: ditto
12925         * lyx_main.h: ditto
12926         * kbmap.h: ditto
12927         * FontInfo.h: ditto
12928         * BufferView_pimpl.h: ditto
12929         * ColorHandler.h: ditto
12930
12931         * kbmap.C (defkey): change call to shared_ptr::reset
12932
12933 2002-05-21  Juergen Vigna  <jug@sad.it>
12934
12935         * buffer.C (insertErtContents): fix to insert ert asis if it is
12936         non empty. Skip it completely if it contains only whitespaces.
12937
12938 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * BufferView_pimpl.C:
12941         * BufferView2.C: clear selection on paste (bug 393)
12942
12943 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * DepTable.C: include ctime
12946
12947 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12950
12951 2002-05-14  Juergen Vigna  <jug@sad.it>
12952
12953         * text.C (breakParagraph): fixed function to honor the keepempty
12954         layout in the right maner and also to permit the right breaking
12955         algorithm on empty or non empyt keepempty paragraphs.
12956
12957         * paragraph.C (breakParagraph): we have to check also if the par
12958         is really empty (!size()) for isempty otherwise we do the wrong
12959         paragraph break.
12960
12961 2002-05-10  Juergen Vigna  <jug@sad.it>
12962
12963         * buffer.[Ch] : The following are only changes to the ert
12964         compatibility read reading old LaTeX layout and font stuff and
12965         convert it to ERTInsets.
12966
12967         * buffer.h: added isErtInset().
12968
12969         * buffer.C (struct ErtComp): add a fromlayout bool to check
12970         if we're inside a LaTeX layout.
12971         (isErtInset): new helper function.
12972         (insertErtContents): look for other ert insets before this one
12973         and insert the contents there, so that we don't have subsequent
12974         ERT insets with nothing between them. This way we create only one
12975         inset with multiple paragraphs. Also check if we don't insert only
12976         spaces ' ' as they are ignored anyway afterwards in the .tex file
12977         so if we have only spaces we will ignore this latex part in the
12978         new file.
12979         (parseSingleLyXformat2Token \\layout): better compatibility when
12980         reading layout-latex stuff.
12981         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12982         language tag.
12983         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12984         stuff after reading the inset only get the information back from
12985         the stack.
12986
12987 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12990
12991         * LaTeXFeatures.C (getBabelOptions): New method.
12992
12993 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * BufferView_pimpl.C (Dispatch): work around missing argument for
12996         'layout'
12997
12998 2002-05-08  Juergen Vigna  <jug@sad.it>
12999
13000         * text.C (leftMargin): handle paragraph leftindent.
13001
13002         * paragraph.C (writeFile): write the new \\leftindent tag.
13003         (validate): handle leftindent code.
13004         (TeXEnvironment): handle paragraphleftindent code again.
13005
13006         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13007
13008         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13009         for paragrap_extra indent code and new token \\leftindent.
13010         (latexParagraphs): handle the leftindent as environment.
13011
13012         * ParameterStruct.h: added leftindent support.
13013
13014         * ParagraphParameters.C (leftIndent): added support functions for
13015         the paragraph left indent.
13016
13017         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13018         more appropriate.
13019
13020 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13021
13022         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13023         inside insetERT.
13024
13025         * text.C (computeBidiTables): No bidi in insetERT.
13026
13027         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13028         in RTL documents.
13029
13030 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * version.C.in: pre 5
13033
13034 2002-05-02  José Matos  <jamatos@fep.up.pt>
13035         * buffer.C (makeDocBookFile): white space changes, add newline to
13036         command styles.
13037         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13038
13039         * tabular.C (docBook): fix typo.
13040
13041 2002-05-03  Juergen Vigna  <jug@sad.it>
13042
13043         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13044         change in LyXText as we can not be sure it was not freed.
13045         (drawOneRow): remove unused code.
13046
13047         * text.C (drawInset): redo the calculation of the need_break_row as
13048         it could have a row which was already freed.
13049         (draw): look at the return value of drawInset and return false if
13050         it also returned false.
13051         (paintRowText): look at the return value of draw and return false if
13052         it also returned false.
13053
13054         * lyxtext.h: added bool return type to drawInset() and draw() so that
13055         if we have a change in the row so that the rowbreak has to be redone
13056         we abort drawing as it will be called again.
13057
13058 2002-05-02  Juergen Vigna  <jug@sad.it>
13059
13060         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13061         a change in the maintext also if we're inside an inset.
13062         (Dispatch): set the cursor again after a break line and after the
13063         screen has been updated as it could be we're in a different row.
13064
13065         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13066         to set the cursor behind the pargraph with > size().
13067         (setCursor): check also for the same paragraph when checking where
13068         to put the cursor if we have a NFR inset.
13069
13070         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13071         parts of layout read further up as it still was in the wrong
13072         position.
13073
13074 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * screen.C (drawFromTo): change sine fullRebreak always return
13077         true.
13078
13079         * buffer.C (parseSingleLyXformat2Token): reindent some
13080
13081         * BufferView_pimpl.C (update): change since fullRebreak always
13082         return true.
13083         (Dispatch): git rid of the last hardcoded "Standard"s.
13084
13085 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * text2.[Ch] (fullRebreak): make it return void now that we always
13088         returned true.
13089
13090 2002-04-30  Juergen Vigna  <jug@sad.it>
13091
13092         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13093         ert compatibility check for "latex" layout.
13094
13095 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13096
13097         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13098         minipages: use col% instead of p%, and also use the current font.
13099         (makeLaTeXFile): Fix use babel condition.
13100         (parseSingleLyXformat2Token): Correct font when reading old floats.
13101
13102 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13103
13104         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13105         inserting list of floats.
13106
13107 2002-04-25  Herbert Voss  <voss@lyx.org>
13108
13109         * MenuBackend.C (expand): don't add the graphics extensions to the
13110         export menu
13111
13112 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13113
13114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13115         non-existing layout, do not complain if it was the default layout
13116         of the original class (bug #342)
13117
13118 2002-04-24  Juergen Vigna  <jug@sad.it>
13119
13120         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13121         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13122
13123 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13124
13125         * buffer.C (getBibkeyList): If using \bibliography, return the
13126         option field with the reference itself. Enables us to provide natbib
13127         support when using \bibliography.
13128
13129 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13130
13131         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13132
13133         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13134         natbib is provided by the LaTeX class.
13135
13136 2002-04-23  Juergen Vigna  <jug@sad.it>
13137
13138         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13139         Wakeup functions.
13140
13141         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13142
13143 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13144
13145         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13146
13147         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13148         ensuremath around textordmasculine, textordfeminine and
13149         textdegree.
13150
13151 2002-04-19  Juergen Vigna  <jug@sad.it>
13152
13153         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13154         reinitializing the buffer otherwise row-dimensions may be wrong.
13155         (update): reset also the selection cursors if they do exits otherwise
13156         their x/y positions may be wrong.
13157
13158         * text2.C (cursorDown): don't enter the inset if we came from a row
13159         above and are one row over the inset.
13160
13161         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13162         really leaving an inset.
13163
13164 2002-04-18  Juergen Vigna  <jug@sad.it>
13165
13166         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13167         of the selected paragraph does not have the selected layout also if
13168         the last one had!
13169
13170         * text2.C (setLayout): fixed bug which did not change last selected
13171         paragraph.
13172
13173         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13174         changed the read and substituted \\end_float with \\end_inset!
13175
13176         * BufferView_pimpl.C (cursorPrevious):
13177         (cursorNext): fixed to make it work with rows heigher than the work
13178         area without moving the cursor only the draw of the row.
13179         (workAreaMotionNotify): fix jumping over high rows.
13180
13181 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13184         Ressler.
13185
13186 2002-04-16  Juergen Vigna  <jug@sad.it>
13187
13188         * text2.C (setCursor): set also the irow().
13189         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13190         (cursorUp):
13191         (cursorDown): support for locking an inset if the x_fix value goes
13192         inside it. That way I can transverse insets too with cursor up/down.
13193
13194         * lyxrow.h: added irow helper function same as other (i) functions.
13195
13196         * BufferView_pimpl.C (cursorPrevious):
13197         (cursorNext): fixed for insets!
13198
13199 2002-04-15  Juergen Vigna  <jug@sad.it>
13200
13201         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13202         position otherwise it is wrong in some cases.
13203
13204         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13205         inside the inset before the call.
13206
13207 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * buffer.[Ch] (getBibkeyList): make it const.
13210
13211 2002-04-12  Juergen Vigna  <jug@sad.it>
13212
13213         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13214
13215         * text2.C (getCursorX): new helper function
13216         (setCursor): compute also ix_
13217         (setCursorFromCoordinates): set also ix.
13218
13219         * lyxcursor.h: added ix_ and helper functions.
13220
13221         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13222
13223         * buffer.C (insertStringAsLines): dont break paragraph if the this
13224         paragraph is inside an inset which does not permit it!
13225
13226         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13227         also with no chars on this paragraph.
13228         (paintRowText): only paint stuff if it's inside the workarea!
13229
13230         * paragraph.C (breakParagraph): honor keepempty flag and break the
13231         paragraph always below not above.
13232
13233         * BufferView2.C (unlockInset): update the paragraph layout on inset
13234         unlock as we changed paragraph in such a case.
13235
13236         * lyxfind.C (LyXFind): clear the former selection if not found!
13237
13238         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13239         again called in insertChar().
13240
13241         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13242         an inset which uses the whole row!
13243         (rightMargin): ditto.
13244         (insertChar): force a rebreak if we inserted an inset!
13245
13246 2002-03-28  Herbert Voss  <voss@lyx.org>
13247
13248         * lyxlength.[Ch]: add inBP() to get the right PS-point
13249         units (BigPoint). With inPixels we have rounding errors
13250
13251 2002-04-11  Juergen Vigna  <jug@sad.it>
13252
13253         * text2.C (setCursorFromCoordinates): set iy to the right value.
13254         (setCursor): add check if row->previous exists!
13255
13256         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13257         an old float_type as this was the case in the old code!
13258
13259         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13260
13261         * BufferView2.C (showLockedInsetCursor): use iy
13262         (fitLockedInsetCursor): ditto
13263
13264         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13265         locked insets as there we have the right value now.
13266
13267         * lyxcursor.C: added iy_ variable and iy functions to set to the
13268         baseline of cursor-y of the locked inset.
13269
13270         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13271         (setCursor): fixed for insets which need a full row.
13272
13273         * text.C (rowLastPrintable): don't ignore the last space when before
13274         an inset which needs a full row.
13275         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13276         as last character of a row when before a inset which needs a full row.
13277
13278 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * version.C.in: update date
13281
13282         * text2.C (fullRebreak): try to always return true and see what
13283         happens...
13284
13285 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13286
13287         * MenuBackend.C (expand): use Floating::listName
13288
13289         * FloatList.C (FloatList): add listName argument to the built-in
13290         floats
13291
13292         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13293         text associated with the float.
13294
13295 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13298
13299 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13300
13301         * ShareContainer.h: add a couple of missing typenames.
13302
13303 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13304
13305         * lyxrc.C (getDescription): use _() correctly rather than N_().
13306
13307 2002-03-28  Herbert Voss  <voss@lyx.org>
13308
13309         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13310         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13311
13312 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13313
13314         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13315         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13316
13317 2002-03-29  Juergen Vigna  <jug@sad.it>
13318
13319         * lyxfunc.C (dispatch): add a missing fitCursor call.
13320
13321         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13322         it was scrolled by a cursor move, so return the bool status.
13323
13324         * BufferView.C (fitCursor): return the bool flag also to the outside
13325         world as this is needed.
13326
13327         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13328
13329         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13330         call the edit() as it is not needed (and wrong) IMO.
13331         (workAreaButtonPress): set the screen_first variable before evt.
13332         unlock the inset as this may change screen_first and then we have
13333         a wrong y position for the click!
13334
13335 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13336
13337         * MenuBackend.C (expand): another translation that I missed
13338
13339 2002-03-28  Juergen Vigna  <jug@sad.it>
13340
13341         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13342
13343         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13344
13345 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13346
13347         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13348
13349         * MenuBackend.C (expand): fix export/view/update when there is no
13350         document open.
13351
13352 2002-03-27  Herbert Voss  <voss@lyx.org>
13353
13354         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13355         and text%
13356
13357 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13358
13359         * bufferview_funcs.C (currentState): only show paragraph number
13360         for is DEVEL_VERSION is set.
13361
13362         * lyxfunc.C (dispatch): put warning in INFO channel
13363
13364         * MenuBackend.C (expand): translate the name of floats
13365
13366         * FloatList.C (FloatList): mark the float names for translation
13367
13368         * converter.C (convert): use LibScriptSearch
13369
13370 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13371
13372         * MenuBackend.C (defaults): fix default menu (we might as well get
13373         rid of it...)
13374
13375 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13376
13377         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13378         directory.
13379
13380 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * lyxvc.C: reorder includes.
13383
13384 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13387           properly
13388
13389 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13390
13391         * CutAndPaste.C: change layouts earlier on paste
13392           to avoid crashing when calling getFont()
13393
13394 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13395
13396         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13397         irritating #error.
13398
13399 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * WorkArea.C: remove 'Pending' debug message.
13402
13403         * most files: ws cleanup
13404
13405         * buffer.[Ch]: ws changes
13406
13407         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13408
13409 2002-03-21  Juergen Vigna  <jug@sad.it>
13410
13411         * tabular.C (SetMultiColumn): collapse also the contents of the
13412         cells and set the last border right. Added a Buffer const * param.
13413
13414 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13417         linking or not.
13418
13419 2002-03-19  Juergen Vigna  <jug@sad.it>
13420
13421         * text2.C (clearSelection): reset also xsel_cache.
13422
13423         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13424         where it needs to be called (John tells us to do so too :)
13425         (selectionLost): reset sel_cache.
13426
13427         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13428
13429 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13430
13431         * text2.C (setCursorIntern): put debuging code in INSETS channel
13432
13433 2002-03-19  André Pönitz <poenitz@gmx.net>
13434
13435         * lyxfunc.C: tiny whitespace change
13436
13437 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * ToolbarDefaults.C (init):
13440         * LyXAction.C (init):
13441         * commandtags.h:
13442         * BufferView_pimpl.C (Dispatch):
13443         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13444
13445 2002-03-19  Allan Rae  <rae@lyx.org>
13446
13447         * exporter.C (Export): removeAutoInsets before doing anything else.
13448         While I've just introduced a dependency on BufferView this really is
13449         the best place to clean the buffer otherwise you need to cleanup in
13450         a dozen places before calling export or cleanup in a dozen functions
13451         that export calls.
13452
13453         * converter.C (runLaTeX):
13454         (scanLog): Better handling of removeAutoInsets and screen updates.
13455
13456         * lyxfunc.C (dispatch): small whitespace changes
13457
13458 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * WorkArea.C (C_WorkAreaEvent): return a value.
13461         (event_cb): return 1 if we handled the event, 0 otherwise.
13462
13463         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13464
13465 2002-03-18  Juergen Vigna  <jug@sad.it>
13466
13467         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13468         (GetAdditionalWidth): ditto.
13469         (RightLine): ditto.
13470         (LeftLine): ditto.
13471
13472         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13473         inset if we're there actually (probably not used right now but this
13474         is the direction to go for unifying code).
13475         (paste): disable code to clear the selection.
13476
13477         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13478         inside an InsetText and move the check further up as it is in the
13479         wrong place.
13480
13481         * text2.C (pasteSelection): set a selection over the pasted text.
13482
13483 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13484
13485         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13486         and libgraphics to build on Cygwin.
13487
13488 2002-03-15  Juergen Vigna  <jug@sad.it>
13489
13490         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13491         inserting an Inset into the paragraph. I know this is not the best
13492         fix but we already use current_view in CutAndPaste so we will remove
13493         all of it's using at the same time.
13494
13495         * buffer.C (sgmlError): deactivated function till it is rewritten in
13496         the right mode, now it can create problems.
13497
13498         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13499         before accessing it.
13500
13501 2002-03-14  Juergen Vigna  <jug@sad.it>
13502
13503         * undo_funcs.C (textHandleUndo): do the right thing when updating
13504         the inset after the undo/redo.
13505
13506         * text2.C (setCursor): just some testcode for #44 not ready yet.
13507
13508         * undo_funcs.C (textHandleUndo): set the next() and previous()
13509         pointers of the paragraph to 0 before deleting otherwise we have
13510         problems with the Paragraph::[destructor].
13511
13512         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13513         on a paragraph insertion.
13514
13515 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * buffer.C (asciiParagraph): use += operator for char append to
13518         string.
13519
13520         * paragraph.C (getFontSettings): compare >= not just >
13521         (highestFontInRange): ditto
13522         (setFont): ditto
13523
13524 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13525
13526         * paragraph.C: change several algorithm to be more appripriate for
13527         the problem domain. This is lookip in FontList and in the InsetList.
13528
13529 2002-03-13  André Pönitz <poenitz@gmx.net>
13530
13531         * commandtags.h:
13532         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13533
13534 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * commandtags.h:
13537         * LyXAction.C:
13538         * lyxfunc.C:
13539         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13540
13541 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * Painter.C (display): anon helper function, adjust code for this
13544         change.
13545         (pixmap): remove function.
13546
13547         * Painter.h: remove private display variable.
13548
13549         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13550
13551 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * WorkArea.[Ch]: remove figinset_canvas cruft.
13554
13555 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13556
13557         * lyxtextclass.C (operator): add one item cache optimization.
13558
13559         * bufferlist.h: doxy changes
13560
13561         * bufferlist.C: ws changes
13562
13563         * DepTable.[Ch] (ext_exist): place const in the right spot.
13564
13565         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13566         call resizeInsets.
13567         (workAreaExpose): call resizeInsets when the with BufferView changes.
13568         (Dispatch): adjust for protectedBlank removal
13569         (specialChar): call updateInset if the insert went ok.
13570
13571         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13572         specialChar instead.
13573
13574         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13575
13576         * BufferView.h: doxy change
13577
13578         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13579
13580         * lyxtextclass.C (operator[]): remove non-const version
13581         (defaultLayout): remove non-const version
13582
13583 2002-03-12  Juergen Vigna  <jug@sad.it>
13584
13585         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13586         did resize the LyXText too.
13587
13588         * buffer.C (readLyXformat2): set layout information on newly allocated
13589         paragraphs.
13590
13591         * tabular.C (OldFormatRead): set layout information on the paragraph.
13592
13593 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13594
13595         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13596
13597 2002-03-11  Juergen Vigna  <jug@sad.it>
13598
13599         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13600         plainly wrong.
13601         (resizeCurrentBuffer): force also the insets to resize themselfes.
13602         (moveCursorUpdate): fixed up for InsetText.
13603
13604 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13605
13606         * commandtags.h:
13607         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13608         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13609         value of Dialogs::tooltipsEnabled().
13610         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13611
13612 2002-03-08  Juergen Vigna  <jug@sad.it>
13613
13614         * BufferView_pimpl.C (updateInset): update inset inside inset also
13615         if it isn't inside theLockingInset().
13616
13617 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * buffer.C (asciiParagraph): redo some of the word and line length
13620         handling.
13621         (getLists): look for Caption instead of caption.
13622
13623 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13624
13625         * buffer.C (Buffer): initialize niceFile to true
13626         (makeLaTeXFile):
13627         (makeLinuxDocFile):
13628         (makeDocBookFile): make sure niceFile is true on exit
13629
13630 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13631
13632         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13633
13634 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13635
13636         * LyXSendto.C: remove.
13637         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13638         * lyx_gui.C: remove now-redundant comment.
13639         * ColorHandler.h: remove forward declaration of class WorkArea.
13640         * lyxfunc.C: remove #include "WorkArea.h".
13641
13642 2002-03-07  Juergen Vigna  <jug@sad.it>
13643
13644         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13645         got moved away with the DEPM and also set the inset_owner always
13646         right which before could have been omitted.
13647
13648 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13649
13650         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13651         wanted layout is not found.
13652
13653 2002-03-07  Juergen Vigna  <jug@sad.it>
13654
13655         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13656
13657 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * paragraph.C (breakParagraph): use default layout not layout of
13660         prev paragraph.
13661         (Paragraph): clear ParagraphParameters.
13662
13663 2002-03-06  Juergen Vigna  <jug@sad.it>
13664
13665         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13666         otherwise it would not be a valid lenght. Fixed a special case in
13667         the minipage compatibility read where we end the document with a
13668         minipage.
13669
13670         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13671         was set as it could be 0 for InsetTexts first entry.
13672
13673 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * paragraph.C (writeFile): if layout is empty write out
13676         defaultLayoutName().
13677
13678         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13679         file without named layout we set layout to defaultLayoutName().
13680
13681 2002-03-06  Juergen Vigna  <jug@sad.it>
13682
13683         * CutAndPaste.C (copySelection): set layout for new paragraph.
13684
13685         * text.C (prepareToPrint): leave ERT inset left aligned
13686         (leftMargin): don't indent paragraphs inside ERT insets
13687
13688 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * paragraph.C (breakParagraph): dont call clear do the work manually
13691
13692         * paragraph.[Ch] (clear): remove function
13693
13694 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * paragraph.C (Paragraph): dont call clear, the work has already
13697         been done.
13698
13699         * lyxtextclass.C (operator): assert if n is empty
13700
13701         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13702         work manually instead.
13703
13704 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * BufferView_pimpl.C: protect selectionLost against text == 0
13707
13708 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13709
13710         * text.C (breakParagraph): fix a setting layout to '0' problem.
13711
13712 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13713
13714         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13715         final location of file, for the included files, and graphics.
13716
13717 2002-03-05  Juergen Vigna  <jug@sad.it>
13718
13719         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13720
13721 2002-03-04  Juergen Vigna  <jug@sad.it>
13722
13723         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13724
13725         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13726         last column of multicolumn cells.
13727         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13728
13729 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13730
13731         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13732         file if it doesn't go to a temporary file.
13733
13734         * buffer.C (sgmlOpenTag):
13735         (sgmlCloseTag):  remove extra newline insertion.
13736
13737 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * text.C (getRowNearY): comment out debug msg
13740
13741 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13742
13743         * text2.C: first -> first_y
13744
13745         * text.C (getRowNearY): add some attemts at a possible
13746         optimization, not working.
13747
13748         * tabular.[Ch]: add BufferParams to several function so that newly
13749         created paragraph can be initialized to he default layotu for the
13750         buffers textclass.
13751
13752         * tabular-old.C (ReadOld): add buf->params to call of Init
13753
13754         * screen.C: rename text->first to text->first_y
13755
13756         * paragraph.C (breakParagraph): always set layout in the broken
13757         paragraph
13758
13759         * lyxtextclass.C (Read): remove lowercase
13760         (hasLayout): ditto
13761         (operator): ditto
13762         (delete_layout): ditto
13763
13764         * lyxtext.h: rename first -> first_y
13765
13766         * lyxlayout.C (Read): remove lowercase
13767         (name): ditto
13768         (setName): ditto
13769         (obsoleted_by): ditto
13770
13771         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13772
13773         * buffer.C (insertErtContents): add params are to InsetERT
13774         (parseSingleLyXformat2Token): add code to check if a paragraphs
13775         layout really exist.
13776         (parseSingleLyXformat2Token): add params to several inset
13777         constructors
13778         (asciiParagraph): remove lowercase, do the layout comparisons with
13779         no_case
13780
13781         * BufferView_pimpl.C (cursorNext): first -> first_y
13782         (resizeCurrentBuffer): first -> first_y
13783         (updateScrollbar): first -> first_y
13784         (scrollCB): first -> first_y
13785         (workAreaMotionNotify): first -> first_y
13786         (workAreaButtonPress): first -> first_y
13787         (checkInsetHit): first -> first_y
13788         (cursorPrevious): first -> first_y
13789         (cursorNext): first -> first_y
13790         (Dispatch): add buffer_->params to severl inset contructors
13791
13792 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13793
13794         * lyxlayout.C (Read): remove some debug info that I forgot.
13795
13796         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13797         clean up the code slightly.
13798         (makeLinuxDocFile): ditto
13799         (makeDocBookFile): ditto
13800
13801         * text2.C: layout as string
13802
13803         * text.C: layout as string
13804
13805         * paragraph_pimpl.C: layout as string
13806
13807         * paragraph.[Ch]: layout as string
13808
13809         * lyxtextclasslist.[Ch]: layout as string
13810
13811         * lyxtextclass.[Ch]: layout as string
13812
13813         * lyxtext.h: layout as string
13814
13815         * lyxlayout.[Ch]: layout as string
13816
13817         * lyx_cb.C: layout as string
13818
13819         * bufferview_funcs.C: layout as string
13820
13821         * bufferparams.C: layout as string
13822
13823         * buffer.C: layout as string
13824
13825         * LyXView.[Ch]: layout as string
13826
13827         * LaTeXFeatures.[Ch]: layout as string
13828
13829         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13830
13831         * BufferView_pimpl.C: change current_layout to string, remove
13832         lyx::layout_type.
13833         (Dispatch):
13834         (smartQuote):
13835         (insertInset):
13836         (workAreaButtonRelease): layout as string
13837
13838         * BufferView2.C (unlockInset): adjust
13839
13840         * vspace.C (asLatexCommand): use an explict temp variable.
13841
13842 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * Makefile.am: use FRONTEND_*
13845
13846 2002-03-01  Juergen Vigna  <jug@sad.it>
13847
13848         * tabular.C (SetWidthOfMulticolCell): changed to something better
13849         I hope but still work in progress.
13850         (recalculateMulticolumnsOfColumn): renamed function from
13851         recalculateMulticolCells as it is more appropriate now.
13852         (SetWidthOfCell): calculate multicols better.
13853
13854 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13855
13856         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13857
13858         * lyxfunc.C (processKeySym): print sequence also if it is
13859         `deleted' (complete)
13860
13861         * kbsequence.C (print): print sequence even if it is deleted
13862         (complete would be a better word, actually).
13863
13864         * lyxfunc.C (dispatch): print complete options after a prefix key
13865
13866         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13867
13868 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13869
13870         * text2.C (setCharFont): eliminate setCharFont code duplication.
13871
13872 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13873
13874         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13875         LFUN_TABULAR_FEATURE (bug #177)
13876
13877 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * Makefile.am: remove figure.h
13880
13881 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13882
13883         * Bufferview_pimpl.C:
13884         * CutAndPasteC:
13885         * LaTeX.C:
13886         * LyXSendto.C:
13887         * buffer.C:
13888         * bufferlist.C:
13889         * converter.C:
13890         * language.C:
13891         * lyxfunc.C:
13892         * lyxvc.C:
13893         * paragraph.C:
13894         * text.C:
13895         * text2.C: remove #include "lyx_gui_misc.h".
13896
13897         * LaTeX.C: added #include <cstdio>
13898
13899 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13900
13901         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13902         that the paragraph following this one can have.
13903
13904         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13905
13906         * vspace.C (asLatexCommand): fix bogus gcc warning
13907
13908         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13909
13910 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13911
13912         * text2.C (setLayout): get rid of redundant code
13913
13914 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13915
13916         * text2.C (incDepth): make sure depth cannot be increased beyond
13917         reasonable values.
13918
13919 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13920
13921         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13922         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13923
13924         * PainterBase.h (image):
13925         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13926         a LyXImage const *.
13927
13928 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13929
13930         * BufferView.C:
13931         * BufferView.h:
13932         * BufferView_pimpl.C:
13933         * BufferView_pimpl.h:
13934         * LaTeXFeatures.C:
13935         * LyXAction.C:
13936         * LyXView.C:
13937         * Makefile.am:
13938         * UpdateList.h:
13939         * UpdateList.C:
13940         * buffer.C:
13941         * figure.h:
13942         * figureForm.C:
13943         * figureForm.h:
13944         * figure_form.C:
13945         * figure_form.h:
13946         * lyx_cb.C:
13947         * lyx_gui.C:
13948         * lyx_gui_misc.C:
13949         * lyxfunc.C:
13950         * sp_base.h:
13951         * sp_ispell.h:
13952         * sp_pspell.h:
13953         * sp_spell.C: remove fig inset, and the crap house of
13954           cards that follows it
13955
13956 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * Makefile.am:
13959         * lyxserver.C:
13960         * os2_defines.h:
13961         * os2_errortable.h:
13962         * nt_defines.h: move .h into support/
13963
13964         * vms_defines.h: remove
13965
13966         * WorkArea.C: add space in debug output
13967
13968         * text2.C:
13969         * paragraph.C:
13970         * buffer.C: add WITH_WARNINGS
13971
13972         * vc-backend.h:
13973         * vc-backend.C:
13974         * bufferlist.C: s/retrive/retrieve/, add docs
13975
13976         * vspace.h:
13977         * vspace.C:
13978         * kbmap.h:
13979         * lyxlength.h:
13980         * lyxgluelength.h:
13981         * length_common.h:
13982         * chset.h:
13983         * chset.C: add docs
13984
13985         * lyxgui.C: add ID to X error handler
13986
13987         * lyxtestclass.c: fix typo
13988
13989 2002-02-26  Juergen Vigna  <jug@sad.it>
13990
13991         * tabular_funcs.C (write_attribute): changed so that some default
13992         attributes are not written at all.
13993         (getTokenValue): set default values before trying to read the
13994         value so we have the return value always set as default if we don't
13995         find the token we search for.
13996
13997         * tabular.C (Write): write bools as bools not as strings!
13998
13999 2002-02-22  Juergen Vigna  <jug@sad.it>
14000
14001         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14002         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14003
14004         * text.C (leftMargin): don't add an indent for paragraphs inside
14005         tabular cells (fix #208).
14006
14007 2002-02-21  José Matos  <jamatos@fep.up.pt>
14008
14009         * tabular.C (docBook): fixed support for long tables.
14010
14011 2002-02-20  Juergen Vigna  <jug@sad.it>
14012
14013         * text2.C (getFont): get the drawing font of the Inset if this
14014         paragraph is inside an inset (only important for InsetERT for now).
14015
14016         * buffer.C (insertErtContents): use new lanugage params in ERT
14017         constructor.
14018
14019         * CutAndPaste.C: commenting out seemingly uneeded code.
14020
14021 2002-02-19  Allan Rae  <rae@lyx.org>
14022
14023         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14024         Iterators might be simple to use but they also get invalidated.
14025         (removeAutoInsets): renamed saved cursor tracking variables and added
14026         some comments to clarify what everything does.
14027
14028 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14029
14030         * Chktex.C:
14031         * LaTeX.C:
14032         * LyXSendto.C:
14033         * converter.C:
14034         * lyx_cb.C:
14035         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14036         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14037
14038         * lyxfunc.C:
14039         * vc-backend.h: remove #include "support/syscall.h"
14040
14041         * LaTeX.C:
14042         * LyXSendto.C:
14043         * converter.C: rearrange #includes in Lars' approved fashion.
14044
14045         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14046         forward declare class Timeout in the header file.
14047
14048         * XFormsView.C: changes due to the above.
14049
14050         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14051         similar to LyXView.
14052
14053         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14054         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14055
14056 2002-02-18  José Matos  <jamatos@fep.up.pt>
14057
14058         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14059         insets contents.
14060
14061 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14062
14063         * a lot of small ws changes
14064         * add a lot of using std::XXX
14065         * use std construcs some places where approp.
14066         * use some exisint stuff from lyxfunctional where approp.
14067         * Make file changes to use partial linking (lets test this now...)
14068
14069 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14070
14071         * Chktex.C:
14072         * buffer.C:
14073         remove #include "support/syscontr.h" as it's redundant. Always has been.
14074
14075         * Chktex.C:
14076         * LaTeX.C:
14077         * LyXSendto.C:
14078         * converter.C:
14079         * lyx_cb.C:
14080         * vc-backend.C:
14081         change Systemcalls::System to Systemcalls::Wait and
14082         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14083         No change of functionality, just reflects the stripped down Systemcalls
14084         class.
14085
14086 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * debug.[Ch]: add a GRAPHICS type to the enum.
14089
14090 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14091
14092         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14093
14094         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14095         there is an inset.
14096
14097 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14098
14099         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14100         match the changes below.
14101
14102         * text2.C (toggleInset): if there is not editable inset at cursor
14103         position, try to see if cursor is _inside_ a collapsable inset
14104         and close it.
14105
14106 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14107
14108         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14109         document menu has a nice checkbox
14110
14111 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14112
14113         * lyxlength.C (asLatexString): change PW to output as percent of
14114         \textwidth.
14115
14116         * lengthcommon.C: change '%' to 't%'
14117
14118         * lyxfunc.C (dispatch): a few comments from Martin
14119
14120 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * WorkArea.h:
14123         * WorkArea.C:
14124         * BufferView_pimpl.h:
14125         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14126           the X selection.
14127
14128 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14129
14130         * vspace.C (inPixels): fix compiler warning
14131
14132 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14133
14134         * lyxfunc.C (getStatus): fix status message for disabled commands.
14135
14136 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * BufferView_pimpl.C: fix crash on close buffer
14139         during selection (#227)
14140
14141 2002-01-27  Herbert Voss  <voss@lyx.org>
14142
14143         * buffer.C: link old Figure to new graphic inset
14144
14145 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * FontLoader.C (getFontinfo): Change the latex font names in order
14148         to match the names of type1inst.
14149
14150 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14151
14152         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14153
14154         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14155         (extchanged): ditto
14156         (ext_exist): ditto
14157         (remove_files_with_extension): ditto
14158         (remove_file): ditto
14159         (write): ditto
14160
14161         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14162         document is smaller than the work area height. Do not initialize
14163         static variables to 0.
14164
14165 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14166
14167         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14168
14169         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14170         LFUN_LAYOUT_PARAGRAPHS.
14171
14172         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14173         tabular. It is possible to provide a possible cell, which will
14174         typically be the actcell from the corresponding insettabular
14175
14176         * lyxfunc.C (getStatus): small cleanup; disable
14177         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14178         true
14179
14180 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14181
14182         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14183
14184         * paragraph.C (startTeXParParams):
14185         (endTeXParParams): new methods. The LaTeX code to
14186         start/end paragraph formatting
14187         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14188         empty (fixes bug #200)
14189
14190         * vspace.C (inPixels): adapt to the change below
14191         (inPixels): [later] more cleanups (remove unused variables)
14192
14193         * lyxlength.C (inPixels): change to use a width and a height as
14194         parameter.
14195
14196 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14197
14198         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14199         Replaced with \paperwidth
14200
14201         * DepTable.C (insert): add std:: qualifier
14202
14203 2002-01-18  Allan Rae  <rae@lyx.org>
14204
14205         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14206         updated also?
14207
14208         * text.C (drawInset): Turned out I didn't know enough about how
14209         rebreaking worked.  This fixes most of the redraw problems.  I see
14210         an occasional cursor trail when a line is broken now and the cursor
14211         placement can seem out by a few pixels also after a rebreak.
14212
14213 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14214
14215         * buffer.C (parseSingleLyXformat2Token): update because minipage
14216         width is now a LyXLength
14217
14218         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14219
14220         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14221         math insets
14222
14223 2002-01-17  Juergen Vigna  <jug@sad.it>
14224
14225         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14226
14227         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14228         is set correctly and the inset is updated correctly.
14229
14230 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14231
14232         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14233         the beginning of the loop.
14234
14235 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * lyxrc.C: improve help for use_scalable_fonts
14238
14239 2002-01-17  Allan Rae  <rae@lyx.org>
14240
14241         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14242
14243 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14244
14245         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14246         make sure to set their inset_owner to the right value (bug #171)
14247
14248 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14249
14250         * DepTable.h
14251         * DepTable.C: Implement mtime checking to reduce time spent doing
14252         CRCs.
14253
14254 2002-01-16  Juergen Vigna  <jug@sad.it>
14255
14256         * tabular.C (GetAdditionalHeight): one of error fixed.
14257
14258         * lyxrc.C (output): small fix in writing use_pspell.
14259
14260 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14261
14262         * sp_base.h: #include LString.h
14263
14264 2002-01-16  Allan Rae  <rae@lyx.org>
14265
14266         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14267         Can someone check this please?
14268
14269         * text.C (drawInset): It was possible that p.row would be removed by
14270         breakAgainOneRow upsetting a few other settings.  There may be another
14271         small tweak possible by setting need_break_row = 0 when p.row has been
14272         removed but I don't know enough about the logic here.
14273
14274 2002-01-15  Allan Rae  <rae@lyx.org>
14275
14276         * text.C (insertChar): removed conditional truism.
14277
14278         * BufferView2.C (removeAutoInsets): More tweaks.
14279         cur_par_prev could be a stray pointer.  Check for trailing empty line
14280         in case last line was cur_par and only had an error inset on it.
14281
14282 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14283
14284         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14285         absolute
14286
14287         * vc-backend.C (most methods):
14288         * exporter.C (Export):
14289         * converter.C (convert):
14290         (runLaTeX):
14291         * LyXSendto.C (SendtoApplyCB):
14292         * lyxfunc.C (dispatch):
14293         (menuNew):
14294         (open):
14295         (doImport):
14296         * lyx_cb.C (AutoSave):
14297         (InsertAsciiFile):
14298         * BufferView_pimpl.C (MenuInsertLyXFile):
14299         * buffer.C (runChktex): use Buffer::filePath().
14300
14301         * buffer.h: rename filename to filename_; rename filepath to
14302         filepath_ and make it private
14303         (filePath): new method
14304
14305         * buffer.C (writeFile): use fileName()
14306         (getLatexName):
14307
14308         * lyx_main.C (init): fix starting  of LyX when the binary is a
14309         link from so,ewhere else.
14310
14311         * minibuffer.C: include <cctype> for isprint
14312
14313 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14314
14315         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14316         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14317         name clash with InsetCollapsable's width function.
14318
14319 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14320
14321         * lastfiles.C: include <iterator>
14322
14323 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14324
14325         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14326         std::count.
14327
14328         * buffer.C (makeLaTeXFile): ditto.
14329         Also make loop operation more transparent.
14330
14331 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14332
14333         * ToolbarDefaults.C: remove trailing comma closing namespace.
14334
14335         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14336
14337         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14338         as in WorkArea.
14339
14340         * trans.C (Load): comment out unused variable, allowed.
14341
14342 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * minibuffer.[Ch] (append_char): new method to recieve input from the
14345         drop-down completion browser. If a key was pressed, then recieve this
14346         char and append it to the existing string.
14347         (peek_event): modify the positioning data passed to the completion
14348         browser so that it can be placed above the minibuffer rather than below.
14349 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14350
14351         * LyXAction.C (init): alloe error-next for readonly documents.
14352
14353         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14354         count.
14355
14356 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14357
14358         * bufferlist.C (readFile): create the buffer _after_ checking that
14359         the file exists.
14360
14361         * lyxfunc.C (verboseDispatch): fix handling of arguments
14362
14363         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14364
14365         * lyxrc.C: use string::erase() instead of initializing to "".
14366
14367
14368 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14369
14370         * BufferView_pimpl.h:
14371         * BufferView_pimpl.C:
14372         * WorkArea.h:
14373         * WorkArea.C:
14374         * text2.C: tell X when we have made a selection for copying
14375
14376 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14377
14378         * BufferView_pimpl.C (MenuInsertLyXFile):
14379         * lyxfunc.C (menuNew):
14380         (open):
14381         (doImport): add shortcuts to directory buttons
14382
14383         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14384         open a float)
14385
14386         * lyxfunc.C (setStatusMessage):
14387         (getStatusMessage): new methods
14388         (getStatus):use setStatusMessage instead of setErrorMessage
14389         (dispatch): when function is disabled, set error message here
14390         [instead of in getStatus previously]
14391
14392         * BufferView_pimpl.C (workAreaButtonRelease): update
14393         toolbar/menubar here too.
14394
14395 2002-01-13  Allan Rae  <rae@lyx.org>
14396
14397         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14398         Now seems indestructible.  Remaining task is to audit all other
14399         code affected by deleteEmptyParagraphMechanism.  One small quirk
14400         left is that an empty document with an error in the preamble can
14401         be made to report an error but no error box appears.  I don't know
14402         where it goes.
14403         (removeAutoInsets): Improved comments.
14404
14405 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14406
14407         * Thesaurus.h:
14408         * Thesaurus.C: update for Aiksaurus 0.14
14409
14410 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * text2.C (firstParagraph): removed member function, all uses
14413         replaces with ownerParagraph
14414         (redoParagraphs): here
14415         (updateInset): here
14416         (toggleAppendix): here
14417         * BufferView2.C (insertErrors): here
14418         (setCursorFromRow): here
14419
14420 2002-01-13  Allan Rae  <rae@lyx.org>
14421
14422         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14423         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14424         There is still a way to segfault this although you may have to do this
14425         multiple times: Have an InsetERT with an unknown command in it.
14426         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14427         <down-arrow>, <Enter> again, View->DVI, BANG!
14428
14429         * text2.C (setCursor):
14430         (deleteEmptyParagraphMechanism):
14431         * lyxtext.h (setCursor):
14432         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14433         Making use of the return value may help fix other bugs.
14434
14435 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14436
14437         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14438
14439         * LyXView.C (updateMenubar): call MenuBar::update here
14440         (updateToolbar): but not here
14441         (showState): do not update toolbar/menubar
14442
14443         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14444         should need to care about that.
14445
14446         * lyxfunc.C (verboseDispatch): simplify a bit
14447         (getStatus): have a version which takes a pseudoaction, and
14448         another which requires a (kb_action,string).
14449
14450         * LyXAction.C (retrieveActionArg): make it work also when action
14451         is not a pseudo-action.
14452         (getActionName): simplify a bit
14453         (helpText):
14454
14455 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14456
14457         * lyxfunc.C (verboseDispatch): new families of methods with
14458         several ways to specify a command and a bool to indicate whether
14459         the command name and shortcut should be displayed in minibuffer
14460         (eventually, we could extend that to a finer bitmask like
14461         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14462         (dispatch): the pristine dispatch command which just, well,
14463         dispatchs! Note it still sets its result to minibuffer; I'm not
14464         sure we want that.
14465
14466         * lyxfunc.h: remove setHintMessage
14467
14468         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14469
14470 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14471
14472         * BufferView_pimpl.C (specialChar): delete new inset if we have
14473         not been able to insert it.
14474
14475         * kbmap.C: revert to using int instead of kb_action, since all we
14476         are dealing with is pseudo-actions.
14477
14478         * LyXAction.C (searchActionArg): change to return int instead of
14479         kb_action, since the result is a pseudoaction.
14480
14481 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * buffer.C (insertErtContents): Fix (partially) the font bug.
14484
14485 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14488         as the other one is broken on my machine!
14489
14490 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14491
14492         * commandtags.h:
14493         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14494
14495 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14498         reflect their actual use. Provide compatibility code for older lyxrc
14499         files.
14500
14501         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14502         FL_NORMAL_STYLE.
14503         change names of popup font variables in line with the changes to lyxrc.C
14504
14505 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14506
14507         * buffer.C (asciiParagraph): avoid outputing a word twice after
14508         an inset.
14509
14510         * lyxrc.C (getDescription): document that document_path and
14511         template_path can be empty.
14512
14513 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14514
14515         * LaTeXFeatures.C (getMacros):
14516         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14517
14518         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14519
14520         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14521         getPackages.
14522         (getPackages): rename feature "floats" to "float". Use an array to
14523         iterate over 'simple' features (i.e. just a \usepackage). Add
14524         handling of "amsmath" (renamed from "amsstyle").
14525
14526 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14527
14528         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14529         features list.
14530
14531 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14532
14533         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14534         FuncStaus::FuncStatus & FuncStaus::some_method().
14535
14536 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14537
14538         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14539         of the func_satus stuff. Edited and massaged in various ways by
14540         JMarc.
14541
14542         * lyxfunc.C (getStatus): use FuncStatus
14543
14544 2002-01-08  Juergen Vigna  <jug@sad.it>
14545
14546         * text.C (nextBreakPoint): use function Inset::isChar().
14547
14548         * paragraph.C (TeXOnePar): use function
14549         Inset::forceDefaultParagraphs.
14550
14551         * buffer.C (latexParagraphs): use function
14552         Inset::forceDefaultParagraphs.
14553
14554 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14555
14556         * lyx_gui.C (init): set the style of the menu popups to
14557         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14558
14559 2002-01-07  Juergen Vigna  <jug@sad.it>
14560
14561         * text.C (setHeightOfRow): small fix
14562         (prepareToPrint): don't look at alignment if we don't have the place
14563         for doing it.
14564
14565 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14566
14567         * box.C: New file. Move the Box methods and functions out of box.h,
14568         following Lars' suggestion.
14569
14570 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14571
14572         * box.h: #include "support/LOstream.h", needed for inlined function.
14573
14574         * lyxtextclass.C:
14575         * lyxtextclasslist.C: added some using std declarations.
14576
14577 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14578
14579         * box.h: make signed dimensions to allow insets wider than
14580           the screen (bug #162)
14581
14582         * BufferView_pimpl.C: add some insetHit debug
14583
14584 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14585
14586         * vc-backend.C: add FIXME
14587
14588 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14589
14590         * lyxfunc.C (getStatus): enable code for showing math font status
14591         in toolbar/menu.
14592
14593 2002-01-07  Juergen Vigna  <jug@sad.it>
14594
14595         * text.C (nextBreakPoint): removed debug output not needed anymore.
14596
14597 2002-01-06  Juergen Vigna  <jug@sad.it>
14598
14599         * text.C (nextBreakPoint): fixed up this function we had this bug
14600         since ever but now hopefully we break row better.
14601         (insertChar): we have to check if an inset is the next char as it
14602         could now happen that a large inset is causing a break.
14603
14604 2002-01-05  Juergen Vigna  <jug@sad.it>
14605
14606         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14607         if it doesn't like to be drawed.
14608
14609 2002-01-04  Juergen Vigna  <jug@sad.it>
14610
14611         * BufferView2.C (lockInset): forgot to set a cursor.
14612
14613         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14614
14615 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14616
14617         * FormMathsPanel.C:
14618         * FormMathsPanel.h
14619         * MathsSymbols.C:
14620         * form_maths_panel.C:
14621         * form_maths_panel.h:
14622         * form_maths_panel.fd: implemented sub- and super- buttons in math
14623         panel.
14624
14625         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14626         (or ^ space) to be used as in TeX (req'd by Andr�.
14627
14628         * lyxfunc.C: Allow ^ and _ again to be used both as
14629         super/subscript (mathed) and as themselves (in text).
14630
14631 2002-01-03  Allan Rae  <rae@lyx.org>
14632
14633         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14634         "LyX" or the filename of the current buffer if it has one.  This is a
14635         modified form of John Levon's patch.
14636
14637         * XFormsView.C (setWindowTitle): also set icon title.
14638
14639         * LyXView.h (setWindowTitle): signature changed.
14640         * XFormsView.h (setWindowTitle): ditto.
14641
14642 2002-01-02  Juergen Vigna  <jug@sad.it>
14643
14644         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14645
14646 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * screen.C (topCursorVisible): introduce a temp var for
14649         text->cursor.row(), handle the case where this row is null. (kindo
14650         hachish)
14651
14652         * text2.C (setCursor): add a couple of asserts.
14653
14654         * paragraph.h (inset_iterator): add -> operator
14655
14656         * paragraph.[Ch] (autoDeleteInsets): remove member function
14657
14658         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14659         cursor pos correctly and handle inset deletion by itself.
14660         (insertErrors): move iterator declaration out of for expression
14661
14662         * lyxtextclass.C: add <algorithm>
14663
14664         * Makefile.am: added the new files to sources, removed layout.C
14665
14666         * layout.C: removed file
14667
14668         * layout.h: remove LYX_DUMMY_LAYOUT
14669
14670         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14671         layout.
14672
14673         * lyxlayout.[Ch]:
14674         * lyxtextclass.[Ch]:
14675         * lyxtextclasslist.[Ch]: new files
14676
14677         * include order changes to a lot of files, also changes because of
14678         the six new files.
14679
14680 2001-12-27  Juergen Vigna  <jug@sad.it>
14681
14682         * buffer.C (asciiParagraph): more fixes.
14683
14684         * tabular.C (ascii): make ascii export support export of only the
14685         data separated by a column-delimiter.
14686         (ascii): better support for ascii export.
14687
14688         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14689
14690 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * tabular_funcs.C: use a "using std::getline" instead of the
14693         previous fix from Angus (necessary for cxx + lyxstring)
14694
14695 2001-12-24  Juergen Vigna  <jug@sad.it>
14696
14697         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14698
14699         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14700         problems. First check a minipage also if we have some ert-contents
14701         (not only on par->size(), second set the right depth of the paragraph
14702         on the relink to the root-paragraph-list!
14703
14704         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14705         which then did not anymore update the main paragraphs on undo/redo!
14706
14707 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14708
14709         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14710         code. Support all font-changing funcs (even those which are not in
14711         menu currently). Support for reporting font settings in
14712         mathed (disabled until Andre provides a function on mathed's side).
14713
14714         * func_status.h (toggle): small helper function to set toggle
14715         state on a flag.
14716
14717 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14718
14719         * tabular_funcs.C: getline -> std::getline
14720
14721 2001-12-21  Juergen Vigna  <jug@sad.it>
14722
14723         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14724         accessed and could be 0 (I couldn't generate this but it seems
14725         Michael could!).
14726
14727 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14730         * tabular_funcs.h: here and include iosfwd
14731
14732 2001-12-20  Juergen Vigna  <jug@sad.it>
14733
14734         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14735         inside inset but undo_par was.
14736
14737 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14738
14739         * Thesaurus.C: always include <config.h> in sources.
14740
14741         * Painter.h:
14742         * lyxlookup.h:
14743         * box.h: do not include <config.h> in header files
14744
14745         * text.C (paintLastRow): remove unused variable
14746
14747         * text.C (transformChar):
14748         (insertChar):
14749         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14750
14751         * Painter.C (text):
14752         * font.C (width): rewrite to use uppercase() instead of
14753         islower/toupper.
14754
14755         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14756
14757 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14758
14759         * lyxfind.C: clean up of find failure position change
14760
14761 2001-12-20  Juergen Vigna  <jug@sad.it>
14762
14763         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14764
14765         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14766         (TeXRow): added to LaTeX a single tabular row.
14767         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14768         (Latex): simplified and finally good LT-h/f support.
14769         (various_functions): just small adaptions for LT-h/f support.
14770
14771         * tabular_funcs.[hC]: added and moved here all not classfunctions
14772         of LyXTabular.
14773
14774 2001-12-19  Juergen Vigna  <jug@sad.it>
14775
14776         * tabular.[Ch]: better support for longtabular options (not finished
14777         yet!)
14778
14779 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14780
14781         * text.C (paintLastRow): use the label font instead of the font of
14782         the last character to compute the size of *_BOX. This makes more
14783         sense and avoids a crash with empty paragraphs.
14784         Use Painter::rectangle to draw EMPTY_BOX.
14785
14786 2001-12-19  Juergen Vigna  <jug@sad.it>
14787
14788         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14789         the paragraphs if the replaced paragraph is not the first one!
14790         Tried to delete not used paragraphs but does not work yet so for
14791         now it's inside #ifdef's and by default off!
14792
14793 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14794
14795         * MenuBackend.C: include "lyx_main.h" instead of declaring
14796         lastfiles (actually was declared as LastFiles* instead of a
14797         scoped_ptr).
14798
14799 2001-12-17  Juergen Vigna  <jug@sad.it>
14800
14801         * tabular.C (AppendColumn): applied John's fix
14802
14803 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14804
14805         * BufferView.h:
14806         * BufferView.C:
14807         * BufferView_pimpl.h:
14808         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14809
14810         * Makefile.am:
14811         * box.h: new start of class for above
14812
14813         * lyxfunc.C: ignore space-only minibuffer dispatches.
14814           Show the command name when it doesn't exist
14815
14816         * minibuffer.C: don't add empty lines to the history
14817
14818         * minibuffer.C: add a space on dropdown completion
14819
14820 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * text.C: fix line above/below drawing in insets
14823
14824 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14825
14826         * lyxlength.C (LyXLength): Initialize private variables.
14827
14828 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14829
14830         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14831         when inserting error insets.
14832
14833 2001-12-13  Juergen Vigna  <jug@sad.it>
14834
14835         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14836         actually sometimes the before-paragraph.
14837         (setUndo): don't clear the redostack if we're not actually undoing!
14838
14839 2001-12-06  Juergen Vigna  <jug@sad.it>
14840
14841         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14842         and fixed redoing of main paragraph, so we can use it now ;)
14843
14844         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14845
14846 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14847
14848         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14849         Juergen's request
14850
14851 2001-12-13  André Pönitz <poenitz@gmx.net>
14852
14853         * undostack.[Ch]:
14854         * undo_func.C: minor cleanup
14855
14856 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14857
14858         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14859         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14860         font in urw-fonts package which is marked as -urw-fontspecific and
14861         does not work (incidentally, changing the encoding in the
14862         fonts.dir of this package to -adobe-fontspecific fixes the
14863         problem).
14864
14865         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14866         is a crash when undoing first paragraph (Juergen, please take a
14867         look). THis does not mean the undo fix is wrong, just that it
14868         uncovers problems.
14869
14870         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14871         the (Paragraph*) version when needed instead of duplicating the
14872         code.
14873
14874         * text.C (workWidth): use Inset::parOwner to find out where the
14875         inset has been inserted. This is a huge performance gain for large
14876         documents with lots of insets. If Inset::parOwner is not set, fall
14877         back on the brute force method
14878
14879         * paragraph_pimpl.C (insertInset):
14880         * paragraph.C (Paragraph):
14881         (cutIntoMinibuffer): set parOwner of insets when
14882         inserting/removing them
14883
14884         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14885
14886 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14887
14888         * commandtags.h:
14889         * LyXAction.C:
14890         * lyx_main.C:
14891         * lyxfunc.C:
14892         * mathed/formulabase.C:
14893         * mathed/math_cursor.[Ch]:
14894         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14895
14896
14897 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14898
14899         * lyxlength.[Ch] (operator!=): new function
14900
14901 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14902
14903         * text.C (workWidth): use Inset::parOwner to find out where the
14904         inset has been inserted. This is a huge performance gain for large
14905         documents with lots of insets. If Inset::parOwner is not set, fall
14906         back on the brute force method
14907
14908         * paragraph_pimpl.C (insertInset):
14909         * paragraph.C (Paragraph):
14910         (cutIntoMinibuffer): set parOwner of insets when
14911         inserting/removing them
14912
14913         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14914
14915 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14916
14917         * tabular-old.C (getTokenValue):
14918         * tabular.C (getTokenValue):
14919         (write_attribute): new versions for LyXLength
14920         (everywhere): adjust the use of widths
14921
14922         * tabular.h: change the type of widths from string to LyXLength
14923
14924 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14925
14926         * paragraph.C: fixed missing line number count when exporting
14927         Environments to LaTeX file
14928
14929         * buffer.C: added informational message for checking line numbers.
14930
14931 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14932
14933         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14934         paragraph, do the 'double space' part, but not the 'empty
14935         paragraph' one.
14936
14937         * text.C (workWidth): small optimization
14938         (getLengthMarkerHeight): use minimal size for negative lengths.
14939
14940 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14941
14942         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14943
14944         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14945
14946 2001-12-11  André Pönitz <poenitz@gmx.net>
14947
14948         * FontLoader.C:
14949         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14950
14951 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * text2.C: keep selection on a setFont()
14954
14955 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * lyx_cb.C: another bv->text misuse, from insert label
14958
14959 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * kbsequence.h:
14962         * kbsequence.C: re-instate nmodifier mask
14963
14964 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14965
14966         * lyx_main.h: make lyxGUI private.
14967
14968 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * lyxfind.C: place the cursor correctly on failed search
14971
14972 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14973
14974         * text.C (getLengthMarkerHeight): for small heights, the arrows
14975         are not always on top/bottom of the text
14976         (drawLengthMarker): smaller arrows; take the left margin in
14977         account; draw also vfills.
14978         (paintFirstRow):
14979         (paintLastRow): remove special code for vfill and standard spaces,
14980         since everything is handled in drawLengthMarker now.
14981
14982 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * buffer.C (insertErtContents): try to handle font and language
14985         interaction a bit better.g
14986
14987         * ColorHandler.C (updateColor): change the hash to cover the whole
14988         LColor enum, ws cleanup
14989         (getGCLinepars): ditto
14990         (getGCLinepars): only lookup in the linecache once.
14991
14992 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14993
14994         * iterators.C (operator++): Make the iterator more robust
14995
14996         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14997         (John's patch)
14998         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14999
15000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * lyxtext.h:
15003         * text.C: better added space drawing
15004
15005 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * LyXView.C:
15008         * BufferView2.C: fix layout combo update on inset unlock
15009
15010 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15011
15012         * Makefile.am: don't compile unused files
15013
15014 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15015
15016         * lyxfunc.C:
15017         * commandtags.h:
15018         * LyXAction.C: remove old LFUN_LAYOUTNO
15019
15020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * paragraph_pimpl.h:
15023         * paragraph_pimpl.C: isTextAt() doesn't need font param
15024
15025 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * lyxlex.h:
15028         * lyxlex.C: little cleanup
15029
15030 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * BufferView_pimpl.C: fix insertAscii for insets
15033
15034 2001-12-05  Juergen Vigna  <jug@sad.it>
15035
15036         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15037         set the right font on the "multi" paragraph paste!
15038
15039 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * trans_decl.h:
15042         * trans_mgr.[Ch]:
15043         * trans.[Ch]:
15044         * lyxgluelength.C:
15045         * lyxlength.C: remove out-commented code.
15046
15047         * BufferView_pimpl:
15048         * CutAndPaste.C:
15049         * DepTable.C:
15050         * buffer.C:
15051         * chset.C:
15052         * lastfiles.C:
15053         * lyxlex.C:
15054         * lyxlex_pimpl.C:
15055         * lyxserver.C:
15056         * screen.C:
15057         * tabular-old.C:
15058         * tabular.C:
15059         * text.C:
15060         * trans_mgr.C:
15061         * vc-backend.C: change "while(" to "while ("
15062
15063         * lyxlength.[Ch]: add zero function to check if length is zero or
15064         not
15065         * lyxgluelength.C: use it
15066
15067 2001-12-05  Allan Rae  <rae@lyx.org>
15068
15069         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15070         Works for 2.95.3, from what I understand of Garst's reports this should
15071         work for other g++ versions.  We're screwed if the abs(int) definition
15072         changed between bugfix releases of gcc.
15073
15074 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * text.C: fix chapter label offset !
15077
15078 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * lyxtext.h:
15081         * text.C: fix hfill at end of line, clean up
15082
15083 2001-12-04  Juergen Vigna  <jug@sad.it>
15084
15085         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15086         that we force an update of the inset and it's owners if neccessary.
15087
15088 2001-12-03  Juergen Vigna  <jug@sad.it>
15089
15090         * text.C (rowLast): simplified code
15091
15092 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * lyxfunc.C: fix show options on timeout
15095
15096 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * screen.C (topCursorVisible): scroll half a page when the cursor
15099         reached top of bottom of screen
15100
15101 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * minibuffer.C: deactivate on loss of focus
15104
15105 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * vspace.[Ch] (operator!=): add operator.
15108
15109 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15110
15111         * BufferView_pimpl.C: refuse to open an inset when
15112         there's a selection.
15113
15114 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * BufferView_pimpl.C: allow to click on RHS of full row insets
15117
15118 2001-11-30  Juergen Vigna  <jug@sad.it>
15119
15120         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15121         insets for undo reasons.
15122
15123 2001-11-28  André Pönitz <poenitz@gmx.net>
15124
15125         * vspace.[Ch]: cosmetical changes
15126
15127 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15128
15129         * LyXAction.h:
15130         * LyXAction.C:
15131         * lyxfunc.h:
15132         * lyxfunc.C:
15133         * kbmap.h:
15134         * kbmap.C:
15135         * lyxrc.C:
15136         * kbsequence.h:
15137         * kbsequence.C: part re-write of old kb code
15138
15139         * Painter.C:
15140         * WorkArea.C: remove Lgb_bug_find_hack
15141
15142 2001-11-30  José Matos <jamatos@fep.up.pt>
15143
15144         * buffer.C (makeDocBookFile): add a comment to point a hack.
15145         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15146         Fixed a double write of labels.
15147
15148 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15149
15150         * LaTeX.C:
15151         * LaTeX.h Fixed bug in LaTeX class where it would not
15152         re-run latex if no depfiles were changed, but the .dvi was removed.
15153
15154 2001-11-28  André Pönitz <poenitz@gmx.net>
15155
15156         * all the files from the change on 2001/11/26:
15157         use lyx::layout_type instead of LyXTextClass::size_type
15158         use lyx::textclass_type instead of LyXTextClassList::size_type
15159
15160 2001-11-29  Juergen Vigna  <jug@sad.it>
15161
15162         * text.C: added support for paragraph::isFreeSpacing()
15163
15164         * buffer.C: same as above
15165
15166         * paragraph.h: inserted isFreeSpacing() function to enable
15167         FreeSpacing inside InsetERT.
15168
15169         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15170         of the paragraph's in the cut/copy buffer to 0!
15171
15172         * text2.C (removeRow): remove the assert as it can!
15173
15174         * lyxtext.h: added helper function firstRow returning firstrow and
15175         made firstrow private again.
15176
15177         * BufferView2.C (lockInset): don't relock if we're already locked!
15178
15179         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15180         the only paragraph.
15181         (removeRow): added Assert::(firstrow)
15182
15183         * debug.C: forgot to add INSETTEXT here.
15184
15185 2001-11-28  Juergen Vigna  <jug@sad.it>
15186
15187         * sp_spell.C (initialize): changed error text to more general
15188         spellchecker command use (not only ispell!)
15189
15190         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15191
15192         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15193
15194 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * vspace.C: initialise lyxgluelength on failure
15197
15198 2001-11-28  Allan Rae  <rae@lyx.org>
15199
15200         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15201         declaration & definition that looks like a function declaration.
15202
15203 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * BufferView2.C (copy):
15206         (copyEnvironment): do not clear the selection when doing a copy.
15207
15208         * text.C (paintFirstRow): compilation fix
15209
15210 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15211
15212         * tabular.C (Latex): correct line count when writing latex.
15213
15214 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * paragraph_pimpl.h:
15217         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15218           bug a bit
15219
15220 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15221
15222         * text.C:
15223         * LColor.h:
15224         * LColor.C: change vfillline->added_space
15225
15226         * text.C: add markers and text for added space
15227
15228         * vspace.C: fix comment
15229
15230 2001-11-28  André Pönitz <poenitz@gmx.net>
15231
15232         * paragraph.C: whitespace changes
15233         * all the other files from the change on 2001/11/26:
15234         change *::pos_type into lyx::pos_type
15235
15236 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15237
15238         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15239         language of the document when inserting error insets.
15240
15241 2001-11-26  André Pönitz <poenitz@gmx.net>
15242
15243         * BufferView_pimpl.[Ch]:
15244         *       CutAndPaste.C:
15245         * buffer.[Ch]:
15246         * lyxcursor.[Ch]:
15247         * lyxfind.C:
15248         * lyxfunc.C:
15249         * lyxrow.[Ch]:
15250         * paragraph.[Ch]:
15251         * paragraph_pimpl.[Ch]:
15252         * sp_spell.C:
15253         * text.C:
15254         * text2.C: reduce header dependencies, introduce type for positions
15255
15256 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * <various>: change to use Alert.h
15259
15260 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15261
15262         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15263         when encountering an unknown token.
15264         (readLyXformat2): Show an error message if there were unknown tokens.
15265
15266 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * BufferView2.C:
15269         * BufferView_pimpl.C:
15270         * buffer.C:
15271         * paragraph.h:
15272         * text.C:
15273         * text2.C: use par->isInset()
15274
15275 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15276
15277         * paragraph_pimpl.h:
15278         * paragraph_pimpl.C: cleanup
15279
15280 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * text2.C (removeRow):
15283         * text.C (setHeightOfRow): remove useless (and costly) call to
15284         getRow.
15285
15286 2001-11-20  Allan Rae  <rae@lyx.org>
15287
15288         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15289         Now need Inset*::checkInsertChar() to return true for appropriate
15290         cases so that the characters in the minibuffer will actually be
15291         inserted.
15292
15293 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * text.C: change the order of the includes.
15296         (workWidth): initialize it at once.
15297         (workWidth): make maxw unsigned
15298         (setHeightOfRow): remove unused variable (inset)
15299         (selectSelectedWord): remove unused variable (inset)
15300         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15301
15302 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15305         server is not running.
15306         (openConnection):
15307         (closeConnection): add debug info when server is disabled.
15308
15309         * ColorHandler.C (getGCForeground): send debug message to GUI
15310         channel.
15311
15312         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15313
15314         * kbmap.C (bind): modify because return conventions of
15315         kb_sequence::parse have changed.
15316
15317         * kbsequence.C (parse): only ignore spaces and not any stupid
15318         control character. This avoids tests like s[i] <= ' ', which are
15319         guaranteed to fail with 8bit characters and signed chars.
15320         Change return code to string::npos when there have been no error
15321         (0 was a bad idea when error is at first character)
15322
15323 2001-11-14  José Matos  <jamatos@fep.up.pt>
15324
15325         * buffer.h:
15326         * buffer.C (simpleDocBookOnePar): removed unused argument.
15327
15328 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15331         insets which are part of a word. Paragraph::isLetter takes care of
15332         that now. Use Paragraph::isInset to identify insets.
15333         (selectSelectedWord): do not test for hyphenation break.
15334
15335         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15336         that protected spaces are considered as spaces.
15337
15338         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15339         Inset::isLetter.
15340
15341 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15342
15343         * lyxserver.h:
15344         * lyxserver.C: fix it. and small cleanup.
15345
15346 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15347
15348         * BufferView_pimpl.C: use inline helpers
15349
15350         * LaTeXFeatures.h:
15351         * LaTeXFeatures.C: fix typos
15352
15353         * Spacing.h:
15354         * Spacing.C: move spacing_string into class
15355
15356         * ToolbarDefaults.C: move stuff into namespace anon
15357
15358         * layout.h: update enum
15359
15360         * lyxfunc.C: use better debug
15361
15362         * minibuffer.h: fix typo
15363
15364         * debug.h:
15365         * debug.C:
15366         * WorkArea.C: add and use Debug::WORKAREA
15367
15368         * lyxtext.h:
15369         * text.C:
15370         * text2.C: code re-organisation, inline helpers
15371
15372 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15373
15374         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15375         std::vector.empty().
15376
15377 2001-11-09  Allan Rae  <rae@lyx.org>
15378
15379         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15380         '\n's after tables.  Tabular and ERT inset work now makes this no
15381         longer necessary.
15382
15383 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15384
15385         * minibuffer.h:
15386         * minibuffer.C: fix crash, improve drop-down completion
15387
15388 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * lyxserver.h:
15391         * lyxserver.C: invalidate fd's when doing endPipe()
15392
15393 2001-11-08  José Matos  <jamatos@fep.up.pt>
15394
15395         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15396         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15397
15398         * paragraph.h:
15399         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15400
15401 2001-11-07  José Matos  <jamatos@fep.up.pt>
15402
15403         * buffer.h:
15404         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15405         const qualifier.
15406
15407         * buffer.C (sgmlOpenTag):
15408         * buffer.C (sgmlCloseTag): removed debug info.
15409
15410         * buffer.h (sgmlOpenTag):
15411         * buffer.h (sgmlCloseTag): made public.
15412
15413 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * buffer.C (saveParamsAsDefaults):
15416         * lyx_cb.C (MenuLayoutSave): remove
15417
15418         * LyXAction.C (init):
15419         * commandtags.h:
15420         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15421
15422 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15423
15424         * buffer.C (setPaperStuff): removed from here...
15425
15426         * bufferparams.C (setPaperStuff): ... and moved there.
15427
15428 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15429
15430         * minibuffer.h:
15431         * minibuffer.C:
15432         * XFormsView.C: add support for drop-down completion
15433
15434 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15435
15436         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15437         commands.
15438
15439 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15442         disabled.
15443
15444 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15445
15446         * lyx_main.C: change ref to known bugs
15447
15448 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15449
15450         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15451         to work around older babel problems.
15452
15453 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15454
15455         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15456
15457 2001-10-24  Juergen Vigna  <jug@sad.it>
15458
15459         * tabular-old.C (ReadOld): below variable changes reflected.
15460
15461         * tabular.[Ch]: added ltType struct for longtable header/footer
15462         defines and changed all instances where they are used. Added
15463         future support for double top/bottom rows.
15464
15465 2001-10-24  José Matos  <jamatos@fep.up.pt>
15466
15467         * buffer.h (docbookHandleCaption):
15468         * buffer.C (docbookHandleCaption): removed unused function.
15469         (makeDocBookFile): moved docbook supported version to v4.1.
15470
15471 2001-10-24  José Matos  <jamatos@fep.up.pt>
15472
15473         * tabular.h:
15474         * tabular.C (docbookRow): new function to export docbook code of a row.
15475         (DocBook): now honors the longtable flags.
15476
15477 2001-10-23  José Matos  <jamatos@fep.up.pt>
15478
15479         * LaTeXFeatures.h:
15480         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15481         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15482
15483         * buffer.C (makeLinuxDocFile):
15484         (makeDocBookFile): reworked the preamble, more clean, and with
15485         support for lyx defined entities. Changed the document declaration
15486         to be more XML friendly.
15487
15488         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15489         if we need to output XML that should be done with a filter.
15490
15491 2001-10-22  Juergen Vigna  <jug@sad.it>
15492
15493         * sp_pspell.h (class PSpell): add alive function needed in the
15494         controller to see if the spellchecker could be started.
15495
15496 2001-10-22  Juergen Vigna  <jug@sad.it>
15497
15498         * buffer.C (insertStringAsLines): modify the font for inserting
15499         chars in certain conditions by calling checkInsertChar(font).
15500
15501 2001-10-19  Juergen Vigna  <jug@sad.it>
15502
15503         * text.C (workWidth): use getRow instead of wrong algorithm.
15504         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15505
15506 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * lyxserver.h:
15509         * lyxserver.C:
15510         * lyx_main.h:
15511         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15512
15513 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * text.C (workWidth): do not search for the exact row when
15516         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15517         optimization for big documents.
15518
15519 2001-10-18  Juergen Vigna  <jug@sad.it>
15520
15521         * text.C (workWidth): new function with added Inset * parameter.
15522
15523 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15526
15527         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15528         change return type of getColumnNearX.
15529
15530
15531         * text.C (changeRegionCase): use uppercase/lowercase instead of
15532         toupper/tolower.
15533         (leftMargin):
15534         (rightMargin): simplify code by factoring out the uses of
15535         textclasslist.
15536         (labelFill):
15537         (numberOfHfills):
15538         (setHeightOfRow):
15539         (appendParagraph): use Paragraph::size_type
15540
15541 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15542
15543         * vspace.C (asLatexString): add a missing break
15544
15545 2001-10-15  Herbert Voss  <voss@perce.de>
15546
15547         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15548
15549 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15552         is not available.
15553
15554 2001-10-10  André Pönitz <poenitz@gmx.net>
15555
15556         * lyxfunc.C: removed greek_kb_flag.
15557
15558 2001-10-10  Herbert Voss  <voss@perce.de>
15559
15560         * lyx_main.C: delete global string help_lyxdir.
15561
15562 2001-10-09  Herbert Voss  <voss@perce.de>
15563
15564         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15565
15566         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15567
15568         * lyx_main.C: added global string help_lyxdir.
15569
15570         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15571
15572 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15573
15574         * lyxrc.C (set_font_norm_type): support iso8859-4
15575
15576 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15577
15578         * LaTeX.C (deplog): add another regex for MikTeX
15579
15580 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15581
15582         * lyxrc.C (set_font_norm_type): support iso8859-3
15583
15584 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15587
15588         * LaTeXFeatures.C: remove special case of french and index
15589
15590         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15591         before \begin{document}). This solves several incompatibilities.
15592
15593 2001-10-03  Garst Reese  <reese@isn.net>
15594
15595         * lyx_cb.C: change CheckTex error msg.
15596
15597 2001-10-03  José Matos  <jamatos@fep.up.pt>
15598
15599         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15600
15601 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * .cvsignore: update
15604
15605         * lyx_main.C (commandLineVersionInfo): use new style version info.
15606
15607         * buffer.C (writeFile):
15608         (makeLaTeXFile):
15609         (makeLinuxDocFile):
15610         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15611
15612         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15613
15614         * version.h: update to use stuff in version.C
15615
15616         * version.C.in: new file. Contains version information determined
15617         at compile time. This is a merging of version.h and
15618         version_info.h.in.
15619
15620 2001-10-03  Juergen Vigna  <jug@sad.it>
15621
15622         * BufferView_pimpl.C (update): don't change "dirty" status in
15623         updateInset call.
15624
15625 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15626
15627         * WorkArea.C (c-tor): re-position version string slightly.
15628
15629 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15632         revert to previous code.
15633
15634         WorkArea.[Ch]: (show, destroySplash): methods removed.
15635
15636         WorkArea.C: rework code so that it's an amalgam of the codes before and
15637         after the splash screen was moved to WorkArea.
15638
15639 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * lyxrc.C (read):
15642         * vspace.C (inPixels):
15643         (lyx_advance):
15644         * kbmap.C (bind):
15645         * buffer.C (insertStringAsLines):
15646         (asciiParagraph): fix types to be large enough
15647
15648         * lyxlex_pimpl.h: change member status from short to int
15649
15650         * layout.h: fix type of endlabeltype
15651
15652         * kbmap.C (bind):
15653         * kbsequence.C (parse): change return type to string::size_type
15654
15655         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15656         variable
15657
15658         * Bullet.C (bulletSize):
15659         (bulletEntry): do not use short ints as parameters
15660
15661         * BufferView2.C (insertLyXFile): change a char to an int.
15662
15663         * WorkArea.C (WorkArea): remove unneeded floats in computation
15664
15665 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15666
15667         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15668
15669         * paragraph.C (asString): Do not ignore newline/hfill chars when
15670         copying to the clipboard.
15671
15672 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15673
15674         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15675         after a multi-line inset.
15676
15677 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * paragraph.C (validate): Set NeedLyXFootnoteCode
15680
15681 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15682
15683         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15684         and decrease-error to decrease.
15685
15686 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15689         it more readable (should be equivalent)
15690
15691 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15692
15693         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15694
15695 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15698         of a cursor (row, etc.) after a character has been deleted
15699         (deleteEmptyParagraphMechanism): call the method above on _all_
15700         cursors held by the LyXText when a double space has been
15701         detected/deleted.
15702
15703 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15704
15705         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15706         pixmap.
15707         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15708
15709         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15710         background. Use greyOut() and the new show() methods to toggle between
15711         the foreground and background. Add code to remove the splash after
15712         its initial showing.
15713
15714         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15715         (create_forms): no longer call Dialogs::showSplash.
15716
15717 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * .cvsignore: add version_info.h
15720
15721 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * version_info.h.in: new file
15724
15725         * Makefile.am: add version_info.h.in
15726
15727         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15728         version_info.h instead of VERSION_INFO
15729
15730 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15731
15732         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15733         The ERT inset now returns string().
15734
15735 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * lyxtext.h, text.C (selectNextWord): renamed as
15738         selectNextWordToSpellcheck.
15739
15740         * text.C (selectNextWordToSpellcheck): Modified to not select
15741         words inside an ERT inset.
15742
15743 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15744
15745         * lyx_cb.C (MenuLayoutSave): change a bit the question
15746
15747         * sp_base.h: include <sys/types.h>
15748
15749 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15750
15751         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15752
15753 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15754
15755         * several files: fix typos in user-visible strings
15756
15757 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * text2.C (pasteSelection): do not set the selection, since it
15760         will be cleared later. Actually, the intent was to fix the way the
15761         selection was set, but I figured rmoving the code was just as good.
15762
15763 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15764
15765         * FontLoader.C (available): Check if font is available without
15766         loading the font.
15767
15768 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15769
15770         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15771
15772 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15773
15774         * lyxrc.[Ch]: added display_graphics variable and associated code.
15775
15776 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * bufferparams.C (hasClassDefaults): new method. Returns true if
15779         the buffer parameters correspond to known class defaults
15780
15781 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         * XFormsView.C (show): set minimum size to the main window.
15784
15785 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15786
15787         * text2.C (copySelection):
15788         (cutSelection):
15789         * lyxfind.C (LyXReplace):
15790         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15791         LyXText::selectionAsString.
15792
15793         * paragraph.C (asString): add "label" argument to the second form
15794
15795         * text2.C (selectionAsString): add "label" argument and pass it to
15796         Paragraph::asString.
15797
15798 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15799
15800         * lyx_main.C (commandLineHelp): remove version information
15801
15802 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15803
15804         * lyx_main.C: add -version commandline option
15805
15806 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15807
15808         * paragraph.h: make the optional constructor arg required instead.
15809         some modifications to other files because of this.
15810
15811         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15812
15813         * lyxserver.C (C_LyXComm_callback): make it static
15814
15815         * lyx_main.C (error_handler): make it static
15816
15817         * lyx_gui.C (LyX_XErrHandler): make it static
15818
15819         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15820
15821         * WorkArea.C: make the extern "C" methods static.
15822
15823         * Makefile.am (lyx_LDADD): simplify
15824
15825 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15826
15827         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15828         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15829
15830         * LyXAction.C (init):
15831         * lyxfunc.C (dispatch): associated code removal.
15832
15833 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * lyxfont.h (isSymbolFont): shut off warning
15836
15837         * text.C (setHeightOfRow):
15838         (getVisibleRow): fix crash with empty paragraphs which have a
15839         bottom line
15840
15841 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15842
15843         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15844         code.
15845
15846 2001-09-04  José Matos  <jamatos@fep.up.pt>
15847         * buffer.C
15848         * buffer.h
15849         * tabular.C (docbook): rename docBook method to docbook.
15850
15851 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * Makefile.am: add dependencies to main.o.
15854
15855 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15856
15857         * FontLoader.C (available): Return false if !lyxrc.use_gui
15858
15859 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15860
15861         * FontInfo.C (query):
15862         * converter.C (view):
15863         * importer.C (Import):
15864         * exporter.C (Export): Can not -> cannot.
15865
15866 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15867
15868         * BufferView_pimpl.C: allow to create index inset even if
15869           string is empty
15870
15871 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15872
15873         * buffer.C (getLists): replace boost::tie code with an explicit pair
15874         as boost::tie can break some compilers.
15875
15876         * iterators.h: Added a std:: declaration to the return type of
15877         ParIterator::size.
15878
15879 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15880
15881         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15882           case.
15883
15884 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15885
15886         * iterators.[Ch]: New files. Provide paragraph iterators.
15887
15888         * buffer.C (changeLanguage): Use paragraph iterators.
15889         (isMultiLingual): ditto
15890
15891         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15892
15893 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15894
15895         * FontLoader.C: Support for cmr font.
15896
15897 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15898
15899         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15900         (available): New method.
15901
15902         * FontInfo.C (getFontname): Use scalable fonts even when
15903         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15904         found.
15905
15906 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15907
15908         * converter.C (Formats::view): reverted! Incorrect fix.
15909
15910 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15911
15912         * converter.C (Formats::view): only output the -paper option
15913         if the dvi viewer is xdvi, thereby fixing bug #233429.
15914
15915 2001-08-23  Herbert Voss  <voss@perce>
15916
15917         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15918
15919 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15920
15921         * Spacing.h (Spacing): Set space to Default on in the default
15922         constructor.
15923
15924 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15925
15926         * vc-backend.h (RCS::versionString): add RCS to version
15927         (CVS::versionString): add CVS to version
15928
15929         * vc-backend.C (scanMaster): do not add CVS to version.
15930         (scanMaster): do not add RCS to version
15931
15932         * lyxvc.C (versionString): new method
15933
15934         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15935
15936 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * Spacing.C (set): initialize fval
15939
15940 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15941
15942         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15943         " or \.
15944
15945 2001-08-16  Juergen Vigna  <jug@sad.it>
15946
15947         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15948
15949 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15950
15951         * BufferView_pimpl.C:
15952         * figureForm.C:
15953         * lyxtext.h:
15954         * text2.C: setParagraph takes linespacing now
15955
15956 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15957
15958         * LyxAction.C: add internal LFUN_CITATION_INSERT
15959
15960         * LyXView.C: actually apply fix
15961
15962         * bufferlist.C: fix open non-existent file
15963
15964         * lyxfind.C: fix indentation
15965
15966         * lyxfunc.C: remove unneeded assert, fix typo
15967
15968 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15969
15970         * MenuBackend.C: use "Floatname List"
15971
15972 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15973
15974         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15975         when converting LaTeX layout to insetERT.
15976         Generate a non-collapsed float when reading old float
15977
15978 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15979
15980         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15981         ERT insets.
15982
15983 2001-08-13  Juergen Vigna  <jug@sad.it>
15984
15985         * text.C (fill): return 0 instead of 20 as this seems to be the more
15986         correct value.
15987
15988 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15989
15990         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15991         lyxrc.font_norm.
15992
15993 2001-08-13  Juergen Vigna  <jug@sad.it>
15994
15995         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15996         casesensitive off.
15997         (SearchBackward): comment out the unlocking of the inset_owner this
15998         should not be needed!
15999
16000 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16001
16002         * Many files: Remove inherit_language, and add latex_language
16003
16004         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16005         collapsible insets.
16006
16007 2001-08-10  Juergen Vigna  <jug@sad.it>
16008
16009         * text.C (prepareToPrint): fixed hfill-width in draw!
16010
16011         * BufferView2.C (selectLastWord): save the selection cursor as this
16012         now is cleared in the function LyXText::clearSelection!
16013
16014 2001-08-08  Juergen Vigna  <jug@sad.it>
16015
16016         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16017         BACKSPACE type functions.
16018
16019         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16020         is only cutted from the document but not put in the cut-buffer, where
16021         still the old stuff should be.
16022
16023         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16024
16025         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16026
16027         * tabular.C (SetWidthOfCell): fixed special case where the width
16028         was not updated!
16029         (LeftLine): handle '|' in align_special.
16030         (RightLine): ditto
16031         (LeftAlreadyDrawed): ditto
16032         (SetWidthOfCell): ditto
16033
16034 2001-08-07  Juergen Vigna  <jug@sad.it>
16035
16036         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16037
16038 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16041         * lyxlex.[hC]: ditto
16042
16043 2001-08-06  Juergen Vigna  <jug@sad.it>
16044
16045         * text.C (getVisibleRow): fix up row clearing a bit.
16046
16047 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16048
16049         * minibuffer.C: make sure the X server sees the changes in the input.
16050
16051 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16052
16053         * paragraph.C (getFont): split into...
16054         (getLabelFont): this
16055         (getLayoutFont): and this
16056         * paragraph_pimpl.C (realizeFont): calling this
16057
16058         * text2.C (getFont): split into...
16059         (getLayoutFont): this
16060         (getLabelFont): and this
16061         (realizeFont): all three calling this
16062
16063         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16064         files where used.
16065
16066 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16067
16068         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16069
16070 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16071
16072         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16073         layouts from the Quote inset insertion.
16074
16075 2001-08-03  Juergen Vigna  <jug@sad.it>
16076
16077         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16078
16079         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16080         only if status not is already CHANGED_IN_DRAW (second level).
16081
16082         * text.C (draw): don't set the need_break_row when inside an
16083         InsetText LyXText.
16084
16085 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16086
16087         * buffer.C (parseSingleLyXformat2Token): handle more latex
16088         conversion cases.
16089
16090         * bufferview_funcs.[hC]: change function names to
16091         begin with small char, adjust other files.
16092
16093 2001-08-02  André Pönitz <poenitz@gmx.net>
16094
16095         * lyxfunc.C:
16096         BufferView_pimpl.C: remove broken special code for math-greek
16097
16098 2001-08-02  Juergen Vigna  <jug@sad.it>
16099
16100         * BufferView_pimpl.C (update): redone this function so that we
16101         update the text again if there was a CHANGE_IN_DRAW.
16102
16103         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16104         (drawFromTo): added a new internal bool which is used by draw() and
16105         redraw() function.
16106         (general): some cursor drawing problems fixed.
16107
16108 2001-08-01  Juergen Vigna  <jug@sad.it>
16109
16110         * lyxfind.C (LyXFind): fixed
16111         (SearchForward): ditto
16112         (SearchBackward): ditto
16113
16114         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16115         spurius drawing of the cursor in the main area.
16116
16117         * text2.C (status): small fix which could lead to a segfault!
16118         (clearSelection): remove unneeded BufferView param.
16119
16120 2001-08-01  André Pönitz <poenitz@gmx.net>
16121
16122         * lyxfunc.C: small change due to changed mathed interface
16123
16124 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16125
16126         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16127
16128 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16129
16130         * lyxfunc.c: fail gracefully if file doesn't exist
16131
16132         * LyXSendto.C:
16133         * buffer.C:
16134         * lyxfunc.C:
16135         * BufferView_pimpl.C: IsDirWriteable() proto changed
16136
16137         * LyXView.C: fix updateWindowTitle() to store the last title
16138
16139 2001-07-31  Juergen Vigna  <jug@sad.it>
16140
16141         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16142         the font (wrong since using of Paragraph::highestFontInRange).
16143
16144         * paragraph.C (highestFontInRange): added a default_size parameter.
16145
16146         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16147         (setHeightOfRow): reformat
16148
16149 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16150
16151         * converter.[hC] + affected files: move to (inital-char)lowercase
16152         function names.
16153
16154         * ParagraphParameters.C (ParagraphParameters): remove commented code
16155
16156         * PainterBase.[Ch]: remove commented code
16157
16158         * LaTeXFeatures.h: add "bool floats" for float.sty
16159
16160         * LaTeXFeatures.C (LaTeXFeatures): init floats
16161         (require): handle float
16162         (getPackages): do it with floats
16163
16164 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16165
16166         * BufferView_pimpl.C (Dispatch): improve handling of
16167         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16168
16169         * commandtags.h: #include lyxfont.h here temporarily to avoid
16170         keybinding bug.
16171
16172         * bufferlist.h: include LString.h here.
16173
16174 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16175
16176         * text2.C (getStringToIndex): new method.
16177
16178 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16179
16180         * *: Reduced header file dependencies all over.
16181
16182 2001-07-30  Baruch Even  <baruch@lyx.org>
16183
16184         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16185
16186 2001-07-29  Baruch Even  <baruch@lyx.org>
16187
16188         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16189
16190 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16191
16192         * ParameterStruct.h (endif): add a default constructor to make
16193         sure that all variables is initialized.
16194
16195         * ParagraphParameters.C (ParagraphParameters): adjust
16196
16197 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16198
16199         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16200         index; also, check that there is something to index, and that it
16201         does not span over several paragraphs.
16202         (doubleClick): use WHOLE_WORD_STRICT for double click.
16203
16204         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16205
16206         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16207         scheme.
16208
16209 2001-07-26  Baruch Even  <baruch@lyx.org>
16210
16211         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16212         an InsetFig figure, backwards compatible reading of old figure code.
16213
16214 2001-07-27  Juergen Vigna  <jug@sad.it>
16215
16216         * text2.C: font.realize function adaption.
16217
16218         * text.C (draw): add a warnings lyxerr text if needed.
16219
16220         * layout.C: font.realize function adaption.
16221
16222         * language.C: add inherit_language and implement it's handlings
16223
16224         * bufferview_funcs.C (StyleReset): remove language parameter from
16225         font creation (should be language_inherit now).
16226
16227         * bufferparams.C (writeFile): handle ignore_language.
16228
16229         * paragraph.C (getFontSettings): the language has to be resolved
16230         otherwise we have problems in LyXFont!
16231
16232         * lyxfont.C (lyxWriteChanges): added document_language parameter
16233         (update): removed unneeded language parameter
16234
16235         * paragraph.C (validate): fixed wrong output of color-package when
16236         using interface colors for certain fonts in certain environments,
16237         which should not seen as that on the final output.
16238
16239 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16240
16241         * BufferView_pimpl.C:
16242         * Thesaurus.h:
16243         * Thesaurus.C:
16244         * Makefile.am:
16245         * commandtags.h:
16246         * LyXAction.C: add thesaurus support
16247
16248         * lyxfind.h:
16249         * lyxfind.C: add "once" parameter, for thesaurus, to not
16250           move to the next match
16251
16252 2001-07-26  Juergen Vigna  <jug@sad.it>
16253
16254         * lyxfont.C (realize): honor ignore_language too!
16255         (resolved): ditto.
16256
16257         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16258
16259         * text.C (draw): one place more for ignore_language to not draw
16260         itself!
16261
16262 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16265
16266 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16267
16268         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16269         the minipage conversion problem.
16270
16271 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16272
16273         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16274         insert an inset.
16275
16276 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * BufferView.h: don't forward declare WorkArea
16279
16280         * BufferView.C: don't include WorkArea.h
16281
16282 2001-07-25  André Pönitz <poenitz@gmx.net>
16283
16284         * commandtags.h:
16285         * LyXAction.C:
16286         * lyxfunc.C:  new LFUN 'math-space'
16287
16288         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16289
16290 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * text2.C (toggleInset): call open/close
16293
16294 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16295
16296         * lyxfunc.C (dispatch): add debug for the disabled case
16297
16298         * font.C (buttonText): make similar to rectText
16299
16300         * buffer.C (readInset): comment out parsing of insetlist and
16301         insttheorem
16302
16303         * PainterBase.C (rectText): small correction
16304
16305         * BufferView_pimpl.C: comment out insettheorem and insetlist
16306         * LyXAction.C: ditto
16307         * commandtags.h: ditto
16308
16309 2001-07-24  Juergen Vigna  <jug@sad.it>
16310
16311         * text.C (draw): honor the ignore_language.
16312
16313         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16314
16315 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16318         char inset.
16319
16320 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16321
16322         * lyxtext.h: remove unused (and unimplemented) methods
16323
16324 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16325
16326         * text.C (getVisibleRow): honor background color
16327
16328         * PainterBase.h:
16329         * Painter.h: remove default color argument for fillRectangle
16330
16331         * text.C (backgroundColor): new method
16332
16333 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16334
16335         * text.C (getVisibleRow): adjust
16336
16337         * font.[Ch] (rectText): new method, metrics
16338         (buttonText): new method, metrics
16339
16340         * PainterBase.[hC]: make rectText and buttonText always draw and take
16341         fewer paramteres.
16342
16343 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16344
16345         * ToolbarDefaults.C (read):
16346         * MenuBackend.C (read): allow escaping in all strings
16347
16348         * BufferView_pimpl.C (insertAndEditInset): new method.
16349         (Dispatch): use insertAndEditInset whenever appropriate.
16350
16351         * BufferView_pimpl.C (insertNote): removed
16352
16353         * BufferView_pimpl.C (smartQuote): new method, moved from
16354         BufferView; if an insetquote cannot be inserted, insert a '"'
16355         character instead.
16356
16357         * BufferView2.C: remove insertCorrectQuote();
16358
16359         * lyxfunc.C (getStatus): Add support for all remaingin
16360         inset-insert lfuns.
16361
16362         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16363
16364         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16365         command (necessary to pass " as parameter of self-insert.
16366
16367         * text.C (selectWordWhenUnderCursor):
16368         (selectWord): add word_location parameter
16369         (selectWordWhenUnderCursor): same + remove special code for word
16370         boundary.
16371         (selectNextWord): use kind() to guess type of insetspecialchar,
16372         not latex().
16373
16374         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16375         (insertErtContents): create ert insets as collapsed.
16376         (readInset): better compatibility code for Info inset.
16377
16378 2001-07-20  Juergen Vigna  <jug@sad.it>
16379
16380         * lyxfunc.C (dispatch): use always LyXFind now!
16381
16382         * text2.C (init): add a reinit flag so that the LyXText can be
16383         reinited instead of deleted and reallocated (used in InsetText).
16384
16385         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16386
16387         * text.C: ditto
16388
16389         * text2.C: ditto
16390
16391 2001-07-18  Juergen Vigna  <jug@sad.it>
16392
16393         * text.C (selectNextWord): handle insets inside inset by calling
16394         always the bv->text functions so that we can go up the_locking_inset!
16395
16396         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16397         in strange locations when inside an inset!
16398
16399         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16400         handling to include insets.
16401
16402         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16403
16404 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16405
16406         * LyXAction.C (init):
16407         * commandtags.h:
16408         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16409         LIGATURE_BREAK, since the name is so stupid.
16410
16411 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16412
16413         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16414         InsetInfos.
16415
16416         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16417
16418         * sp_form.[Ch]: remove.
16419
16420         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16421
16422         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16423         InsetInfo.
16424
16425         * src/buffer.C (readInset): ditto.
16426
16427 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16428
16429         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16430         menuSeparator(), endOfSentenceDot(), ldots() and
16431         hyphenationPoint(), which are therefore removed.
16432         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16433
16434         * LyXAction.C (init):
16435         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16436
16437         * paragraph.C (getWord): removed.
16438
16439         * BufferView_pimpl.C (Dispatch): use last word or selection for
16440         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16441
16442         * lyx_main.C (queryUserLyXDir): do not ask before creating
16443         user_dir, except if it has been named explicitely.
16444
16445 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16446
16447         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16448         a document of zero size.
16449
16450 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16451
16452         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16453         approriately in the c-tor and in require().
16454         (getPackages): output the appropriate LaTeX for natbib support.
16455
16456         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16457         variables "use_natbib" and "use_numerical_citations" when reading the
16458         LyX file.
16459         (readInset): read the various natbib cite commands.
16460         (validate): white-space change.
16461
16462         * bufferparams.[Ch]: new variables "bool use_natbib" and
16463         "bool use_numerical_citations".
16464         (writeFile): output them in the LyX file.
16465
16466 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16467
16468         * lyxfunc.C (getStatus): add support for all the inset insertion
16469         commands.
16470
16471         * text2.C (insertInset):
16472         * paragraph.C (insetAllowed):
16473         * BufferView_pimpl.C (insertInset): update to take in account the
16474         renaming of insertInsetAllowed
16475
16476         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16477
16478         * text2.C (getInset): new method. returns inset at cursor position.
16479
16480         * BufferView_pimpl.C (Dispatch): changes because of this.
16481
16482         * LyXAction.C (init): rename open-stuff to inset-toggle.
16483
16484         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16485
16486         * text2.C (toggleInset): renamed from openStuff; use
16487         Inset::open().
16488
16489 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16490
16491         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16492
16493         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16494
16495 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16496
16497         * buffer.C (readLyXformat2): Add filename to the error dialog
16498
16499 2001-07-18  Juergen Vigna  <jug@sad.it>
16500
16501         * tabular.C (GetCellNumber): put an assert here instead of the check!
16502
16503 2001-07-17  Juergen Vigna  <jug@sad.it>
16504
16505         * BufferView_pimpl.C (toggleSelection): adapted too.
16506
16507         * text.C (selectNextWord): adapted for use with insets.
16508         (selectSelectedWord): ditto
16509
16510 2001-07-17  Juergen Vigna  <jug@sad.it>
16511
16512         * sp_spell.C (PSpell): fix initialitation order.
16513
16514 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16515
16516         * paragraph.C: spacing
16517
16518 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16519
16520         * sp_spell.C: repair language selection for pspell
16521
16522 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16523
16524         * lyxfunc.h: change more methods to begin with lower char.
16525
16526 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16527
16528         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16529         for unknown layouts.
16530
16531 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * buffer.C (readLyXformat2): Generate an error dialog if there are
16534         unknown layouts.
16535
16536 2001-07-16  Juergen Vigna  <jug@sad.it>
16537
16538         * sp_spell.C: always compile ISpell part.
16539
16540         * lyxrc.C: added use_pspell entry and it's handling.
16541
16542 2001-07-13  Juergen Vigna  <jug@sad.it>
16543
16544         * sp_spell.C: removed double includes.
16545
16546 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16547
16548         Consistent use of Lsstream.h:
16549         * Lsstream.h: added using std::stringstream for consistencies sake.
16550
16551         * buffer.C: removed using std::stringstream
16552
16553         * lyxfont.C (stateText):
16554         * paragraph.C (asString):
16555         * text.C (selectNextWord, selectSelectedWord):
16556         * text2.C (setCounter):
16557         * vspace.C (asString, asLatexString):
16558         std::ostringstream -> ostringstream.
16559
16560 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16561
16562         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16563         * commandtags.h: add LFUN_HELP_ABOUTLYX
16564         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16565
16566 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16567
16568         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16569         cursorToggle()
16570         * lyx_gui_misc.C: remove spellchecker
16571         * lyxfunc.C: showSpellchecker
16572         * sp_base.h: added
16573         * sp_ispell.h: added
16574         * sp_pspell.h: added
16575         * sp_spell.C: added
16576         * sp_form.[Ch]: removed
16577         * spellchecker.[Ch]: removed
16578
16579 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16580
16581         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16582         is set.
16583         (simpleTeXSpecialChars): Simply print the input character without
16584         any special translation if pass_thru is set.
16585
16586         * layout.h: Added bool pass_thru to layout class for being able to
16587         implement pass through of a paragraph for Literate Programming.
16588
16589         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16590         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16591         * layout.C (Read): add "passthru" to list of layout tags and add
16592         code to set the pass_thru boolean when it is read.
16593
16594 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16595
16596         * trans_decl.h: remove allowed from KmodInfo
16597
16598         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16599         remove allowed code
16600         (Load): adjust
16601
16602         * paragraph_pimpl.C (erase): use boost::prior
16603
16604         * Painter.C (text): use data() instead of c_str() when length is
16605         also provided.
16606         * WorkArea.C (putClipboard): ditto
16607         * font.h (width): ditto
16608
16609         * BufferView2.C: use it-> instead of (*it). for iterators
16610         * texrow.C: ditto
16611         * paragraph_pimpl.C: ditto
16612         * paragraph.C: ditto
16613         * minibuffer.C: ditto
16614         * language.C: ditto
16615         * kbmap.C: ditto
16616         * encoding.C: ditto
16617         * counters.C: ditto
16618         * converter.C: ditto
16619         * chset.C: ditto
16620         * Variables.C: ditto
16621         * TextCache.C: ditto
16622         * MenuBackend.C: ditto
16623         * LyXAction.C: ditto
16624         * LColor.C: ditto
16625         * FloatList.C: ditto
16626         * DepTable.C: ditto
16627         * ColorHandler.C (LyXColorHandler): ditto
16628
16629 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16630
16631         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16632
16633         * text2.C (openStuff): reintroduce this method (which had been
16634         nuked in NEW_INSETS frenzy).
16635
16636         * lyxfunc.C (Dispatch): when an action has not been handled, use
16637         its name in the error message, not its number.
16638
16639         * paragraph.C (inInset): change method name to begin with lowercase.
16640
16641         * undo_funcs.C:
16642         * text2.C: updates because of this.
16643
16644 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * ToolbarDefaults.C (add): add spaces in error message
16647
16648 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16651         (readLyXformat2): rename return_par to first_par, use lyxlex's
16652         pushToken and remove the manual push handling.
16653         (parseSingleLyXformat2Token): add another ert comp. variable:
16654         in_tabular, rename return_par to first_par. handle newlines better
16655
16656 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16659
16660 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16661
16662         * text2.C (getParFromID): removed
16663
16664         * buffer.C (getParFromID): new method moved form lyxtext.
16665         * BufferView2.C (insertErrors): adjust
16666         (setCursorFromRow): adjust
16667         * BufferView_pimpl.C (restorePosition): adjust
16668         * lyxfunc.C (Dispatch): adjust
16669         * undo_funcs.C (textUndo): adjust
16670         (textRedo): adjust
16671         (textHandleUndo): adjust
16672         (textHandleUndo): adjust
16673
16674 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * buffer.C: up' the LYX_FORMAT
16677
16678         * lyxfont.h: turn NO_LATEX on as default
16679
16680         * buffer.C (insertErtContents): new methods of tex style compability.
16681         (parseSingleLyXformat2Token): use it several places.
16682         * tabular.C (OldFormatRead): and here
16683
16684 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * text2.C: remove some commented code.
16687         reindent file.
16688
16689         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16690         * trans.C: changes because of the above.
16691
16692 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16693
16694         * text2.C (setCounter): Fix counters bug with bibliography layout.
16695
16696 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16699         own member functions
16700         (simpleTeXSpecialChars): ditto
16701
16702 2001-07-06  Juergen Vigna  <jug@sad.it>
16703
16704         * a lot of files: changed the access to LyXText::status and the
16705         call of undo-functions.
16706
16707         * undo.[Ch]: added a inset_id to the undo informations.
16708
16709         * undo_funcs.[Ch]: added and moved here all undo functions.
16710
16711         * lyxtext.h: give the status enum a weight, made status_ a private
16712         variable and made accessor functions for it, removed the whole bunch
16713         of undo-functions as they are now in their own file, make some
16714         functions publically available. Added function ownerParagraph with
16715         int parameter.
16716
16717         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16718         made InInset() a const function, added getParFromID() function.
16719
16720         * buffer.[Ch]: added const version for inset_iterator functions,
16721         added getInsetFromID() function.
16722
16723         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16724         changed undo functions for new version.
16725
16726 2001-07-05  Juergen Vigna  <jug@sad.it>
16727
16728         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16729         unknow mechanism does not call the proper constructor but only this
16730         one also if I request the other!?
16731
16732 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16733
16734         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16735
16736         * text2.C (LyXText): use initialization lists.
16737
16738         * lyxtext.h (Selection): initialize set_ and mark_
16739         (init): remove method
16740
16741 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16742
16743         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16744
16745 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16746
16747         * screen.[Ch]: change method names to begin with lowercase
16748
16749         * BufferView_pimpl.C (updateScrollbar): simplify further and
16750         hopefully make it a bit faster.
16751
16752 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16753
16754         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16755         calling directly xforms functions.
16756
16757         * Painter.C (Painter):
16758         * lyx_cb.C (MenuWrite):
16759         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16760         fl_display.
16761
16762         * lyx_gui.C: remove bogus guiruntime extern declaration.
16763
16764 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16767         in NEW_INSETS
16768         (redoDrawingOfParagraph): ditto
16769         (redoParagraphs): ditto
16770         (cutSelection): don't create a object for CutAndPaste use the
16771         static method directly
16772         (pasteSelection): ditto
16773
16774         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16775         LyXview (+ rename)
16776
16777 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * modifications to some other files because of this.
16780
16781         * Makefile.am (lyx_SOURCES): add XFormsView
16782
16783         * XFormsView.[Ch]: new files
16784
16785         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16786         the main window. Move the gui dependent stuff to XFormsView
16787
16788 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16789
16790         * tabular.C (GetCellInset): update cur_cell also in the row/col
16791         version of this function.
16792
16793         * lyxfunc.C: no need to include figure_form.h here.
16794
16795         * FontLoader.h:
16796         * lyxfunc.h:
16797         * lyxscreen.h:
16798         * text2.C:
16799         * lyxvc.C: no need to include forms.h here.
16800
16801 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16802
16803         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16804
16805         * lyxfunc.C (Dispatch):
16806         * Spacing.C (set):
16807         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16808         constructor argument.
16809
16810 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16811
16812         * paragraph.C (Paragraph): dont't clear, and just set layout.
16813         (makeSameLayout): use params's copy contructor.
16814
16815         * ParagraphParameters.[Ch] (makeSame): delete method
16816
16817 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16818
16819         * Variables.[Ch]: fix indentation, rename set to isSet
16820
16821 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16822
16823         * lyxfunc.C (Dispatch): fix typo
16824
16825 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16826
16827         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16828         upper_bound.
16829
16830         * bufferlist.C: include assert.h for emergencyWrite().
16831
16832 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16833
16834         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16835           give up at last (bug #425202) !
16836
16837 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16838
16839         * lyx_gui_misc.C:
16840         * sp_form.h:
16841         * sp_form.C:
16842         * spellchecker.h:
16843         * spellchecker.C: strip spellchecker options and bring up
16844           preferences tab instead
16845
16846 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16847
16848         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16849         the istringstream constructor
16850
16851 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16852
16853         * paragraph.C (getLayout): fix return value
16854
16855         * paragraph.h: do not declare getLayout as inline.
16856
16857         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16858
16859 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16860
16861         * lyxcursor.h (operator<): new func
16862         (operator>): new func
16863         (operator>=): new func
16864         (operator<=): new func
16865
16866         * text.C (changeCase): use selection.start and selection.end
16867         (changeRegionCase): require from to be <= to. Require par to be a
16868         valid paragraph.
16869
16870         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16871
16872 2001-06-27  Juergen Vigna  <jug@sad.it>
16873
16874         * text.C (cursorLeftOneWord): changed to return the cursor and added
16875         overlay with BufferView * parameter which calls this one.
16876         (getWord): added
16877         (selectWord): use new getWord function.
16878         (changeCase): renamed from changeWordCase as and extended to work
16879         also on selections.
16880
16881         * lyxtext.h: added enum word_location
16882
16883         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16884         changeCase as this operates now also on selections.
16885
16886 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16887
16888         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16889
16890         * many files: send debug output to Debug::INFO instead of
16891         Debug::ANY.
16892
16893         * converter.C (View):
16894         (Convert):
16895         (Move): send debug output to Debug::FILES instead of console.
16896
16897 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16898
16899         * lyxfunc.C (getStatus): use func_status
16900
16901         * func_status.h: new header, describing the results of
16902         LyXFunc::getStatus;
16903
16904         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16905         LFUN_MATH_HALIGN.
16906
16907 2001-06-25  The LyX Project  <jug@sad.it>
16908
16909         * buffer.C (sgmlOpenTag):
16910         (sgmlCloseTag):
16911         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16912
16913 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16914
16915         * text2.C: remove some dead code
16916
16917         * tabular.C (GetCellInset): store the last cell checked (gotten)
16918
16919         * tabular.h: add the helper for the speedup
16920
16921         * lyxtext.h: remove some dead code
16922
16923 2001-06-26  The LyX Project  <Asger>
16924
16925         * paragraph.C: Change export to LaTeX of alignment to
16926         \begin{center} and family for better roundtrip work with reLyX.
16927
16928         * Tune the math drawing a bit.
16929
16930 2001-06-25  The LyX Project  <Asger>
16931
16932         * LColor.C (LColor): New color for math background. New color
16933         for buttons.
16934
16935 2001-06-25  The LyX Project  <jug@sad.it>
16936
16937         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16938
16939         * lyxfunc.C (Open):
16940         * bufferlist.C (newFile): do not restrict to files ending with
16941         .lyx
16942
16943         * BufferView_pimpl.C (MenuInsertLyXFile):
16944
16945 2001-06-24  The LyX Project  <jug@sad.it>
16946
16947         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16948         of compare_no_case
16949
16950 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16951
16952         * lyxtext.h: rename most methods to begin with a small char.
16953         Lots of changes because of this.
16954
16955         * paragraph.C (Paragraph): do not call fitToSize
16956         (erase): call Pimpl::erase
16957         (insertChar): call Pimpl::insertChar
16958         (insertInset): call Pipl::insertInset
16959         (breakParagraph): do not call fitToSize
16960         (breakParagraphConservative): do not call fitToSize
16961         (fitToSize): remove method
16962
16963         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16964
16965 2001-06-24  The LyX Project  <Asger>
16966
16967         * Fix Qt compilation^2
16968
16969 2001-06-24  The LyX Project  <jug@sad.it>
16970
16971         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16972         depthHook(getDepth()-1).
16973
16974         * paragraph.h:
16975         * ParagraphParameters.h:
16976         * ParameterStruct.h: change type of depth to unsigned int ==
16977         depth_type. Many adaptations to other files before of that.
16978
16979 2001-06-24  The LyX Project  <Asger>
16980
16981         * Fix Qt compilation.
16982
16983 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16984
16985         * paragraph.h: renamed several methods to begin with small letter.
16986         several changes to many parts of the code because of this.
16987
16988 2001-06-23  The LyX Project  <jug@sad.it>
16989
16990         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16991         rewritten to discard all double spaces when KeepEmpty is off
16992         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16993         to only handle newlines but not fiddle with spaces and friends.
16994
16995         * lyxfunc.C (MenuNew): when doing 'new from template', use
16996         template_path as default directory
16997
16998 2001-06-23  The LyX Project  <Asger>
16999
17000         * Clean-up of header file includes all over
17001         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17002
17003 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17004
17005         * paragraph.h: renamed from lyxparagraph.h
17006
17007 2001-06-23  Asger  <lyx@violet.home.sad.it>
17008
17009         * Buffer.h: Removed Buffer::resize
17010         * BufferList.h: Removed BufferList::resize
17011         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17012         the document lazily when we change the width, or the font settings.
17013
17014 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17015
17016         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17017
17018 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17019
17020         * buffer.h: remove out of date comment
17021
17022 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17023
17024         * lyxscreen.h:
17025         * screen.C: fix "theoretical" GC leak
17026
17027 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17028
17029         * LaTeX.C (scanAuxFile):
17030         (deplog): remove trailing \r when reading stream (useful under
17031         win32)
17032
17033 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17034
17035         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17036         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17037         and BufferView::theLockingInset(Inset*), so should use them and not
17038         access bv_->text->the_locking_inset directly.
17039
17040         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17041
17042 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17043
17044         * Makefile.am:
17045         * tex-defs.h: remove old unused file
17046
17047 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17048
17049         * BufferView_pimpl.C: fix typo, remove minibuffer message
17050           when buffer has loaded
17051
17052 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17053
17054         * lyxfunc.C (Dispatch): use stringstream
17055         (MenuNew): use stringstream
17056         (Open): use stringstream
17057
17058         * importer.C (Import): use stringstream
17059
17060         * bufferview_funcs.C (CurrentState): use stringstream
17061
17062         * LaTeX.C (run): use stringstream
17063
17064         * BufferView_pimpl.C (savePosition): use stringstream
17065         (restorePosition): use stringstream
17066         (MenuInsertLyXFile): use stringstream
17067
17068 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17069
17070         * BufferView.C:
17071         * Bullet.C:
17072         * ColorHandler.C:
17073         * FontInfo.C:
17074         * FontLoader.C:
17075         * LColor.C:
17076         * LaTeXFeatures.C:
17077         * Painter.C:
17078         * gettext.C:
17079         * lyx_gui_misc.C:
17080         * lyxserver.C:
17081         * vspace.C: removed // -*- C++ -*- as first line.
17082
17083         * lyxfind.h:
17084         * version.h: added // -*- C++ -*- as first line.
17085
17086 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17087
17088         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17089
17090         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17091         of string
17092
17093 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17094
17095         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17096         of floats.
17097
17098 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17099
17100         * gettext.C: include LString.h even when --disable-nls is on.
17101
17102 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17103
17104         * converter.h (Get): changed argument type from int to
17105         FormatList::size_type to avoid unnecessary conversion.
17106
17107         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17108         before using it.
17109
17110 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17111
17112         * gettext.h: include LString.h even when --disable-nls is on.
17113
17114 2001-06-07  Juergen Vigna  <jug@sad.it>
17115
17116         * text.C (BreakAgain): subst spaces with tabs.
17117
17118         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17119         (resizeInsetsLyXText): set force on resizeLyXText.
17120
17121 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17122
17123         * gettext.h (gettext_init):
17124         (locale_init): use a real definition instead of a macro
17125
17126 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17127
17128         * Bufferview_pimpl.C:
17129         * LColor.h:
17130         * LColor.C: further lcolor tidies
17131
17132 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17133
17134         * BufferView_pimpl.C (updateScrollbar): simplify.
17135
17136         * BufferView2.C: don't include insets/insetinfo.h, change
17137         prototype for insertInset and call the Pimpl version. let
17138         updateInset call Pimpl version.
17139
17140         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17141         gotoInset to BufferView::Pimpl
17142
17143 2001-06-01  Juergen Vigna  <jug@sad.it>
17144
17145         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17146         inside a LockingInset (is the update needed at all?).
17147
17148 2001-05-31  Juergen Vigna  <jug@sad.it>
17149
17150         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17151         here not the old one otherwise how should we compare it afterwards
17152         if it's the same!
17153
17154 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17155
17156         * lyxfont.C:
17157         * tabular.C:
17158         * tabular-old.C:
17159         * FontInfo.C: bring C functions into global namespace when
17160         necessary
17161
17162 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17163
17164         * LString.h: make sure config.h has been loaded before LString.h.
17165
17166         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17167         (one for each char read by EatLine!).
17168
17169         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17170         variables.
17171
17172 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17173
17174         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17175         to the same as the par we break from
17176
17177 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17178
17179         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17180
17181         * MenuBackend.C (expand): also create menu entries for wide
17182         versions of the floats.
17183
17184         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17185
17186         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17187
17188         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17189         frontends/Makefile.am
17190
17191         * text2.C: adjust
17192         * text.C: adjust
17193
17194
17195         * tabular.C (getTokenValue): add std::
17196
17197         * tabular-old.C (getTokenValue): add std::
17198         (getTokenValue): ditto
17199         (getTokenValue): ditto
17200
17201         * screen.C (ToggleSelection): adjust
17202
17203         * lyxtext.h: put selection cursors inside a Selection struct.
17204
17205         * lyxfunc.C (moveCursorUpdate): adjust
17206
17207         * lyxfont.C (latexWriteStartChanges): add std::
17208
17209         * lyxfind.C: adjust
17210
17211         * font.h: delete with(char const *, LyXFont const &)
17212
17213         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17214
17215         * FontInfo.C (getFontname): add std::
17216
17217         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17218         (workAreaButtonPress): adjust
17219         (tripleClick): adjust
17220         (update): adjust
17221         (moveCursorUpdate): adjust
17222         (Dispatch): adjust
17223
17224         * BufferView2.C (gotoInset): adjust
17225
17226 2001-05-30  Juergen Vigna  <jug@sad.it>
17227
17228         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17229         to check pspell I add this as default as I now have new pspell
17230         libraries and they seem to use this.
17231
17232 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17233
17234         * text2.C (CutSelection): make the cursor valid before the call to
17235         ClearSelection.
17236
17237 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17238
17239         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17240         relied on 0 terminated strings and other horrors. Bug found due to
17241         the new assert in lyxstring!
17242
17243         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17244         KP_ keys.
17245
17246 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17247
17248         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17249         to latinkeys.bind.
17250
17251         * lyxfunc.C (processKeySym): change method of getting to the
17252         self-insert char.
17253
17254         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17255         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17256         * BufferView_pimpl.[Ch]: here as private methods.
17257
17258 2001-05-28  Juergen Vigna  <jug@sad.it>
17259
17260         * text.C (SetHeightOfRow): added the update() call again as it is
17261         needed to initialize inset dimensions!
17262
17263 2001-05-16  Juergen Vigna  <jug@sad.it>
17264
17265         * text2.C (SetCharFont): Add new function with BufferView * and
17266         bool toggleall parameters for setting insets internal fonts.
17267         (SetFont): Freeze the undo as we may change fonts in Insets and
17268         all this change should be inside only one Undo!
17269
17270         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17271         setting font's in insets as for them we have the SetFont function!
17272
17273 2001-05-15  Juergen Vigna  <jug@sad.it>
17274
17275         * text2.C (ClearSelection): to be sure we REALLY don't have any
17276         selection anymore!
17277
17278         * tabular.C (TeXCellPreamble): fixed the left border problem for
17279         multicolumn cells.
17280
17281 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17282
17283         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17284         dependancy file
17285
17286 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17287
17288         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17289         LFUN_BREAKPARAGRAPH.
17290
17291         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17292         help test to "internal only", similar for LFUN_INSERT_URL
17293
17294         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17295         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17296         auto_region_delete and deadkeys.
17297
17298 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17299
17300         * LColor.h:
17301         * LColor.C: remove some dead entries, tidy a little
17302
17303 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17304
17305         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17306         commented code.
17307         (Dispatch): implement LFUN_ESCAPE
17308
17309         * commandtags.h: add LFUN_ESCAPE
17310
17311         * LyXAction.C (init): add entry for LFUN_ESCAPE
17312
17313         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17314         Remove commented code.
17315         (insertNote): moved here
17316         (open_new_inset): moved here
17317
17318         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17319         BufferView_pimpl
17320
17321 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17322
17323         * kbmap.C (findbinding): clean it up and make it work correctly.
17324
17325         * lyx_main.C (init): do not pass argc and argv as parameters
17326
17327 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17328
17329         * buffer.C: fix path for OS/2 & Win32
17330
17331         * lyx_gui.C:
17332         * lyx_main:
17333         * lyx_main.C: Added os:: class.
17334
17335         * os2_defines.h: update
17336
17337 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17338
17339         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17340         better by trying again with reduced state.
17341
17342 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17343
17344         * lyxrc.C (read): print error about invalid key sequence only when
17345         debugging (because not all latinX keysyms are known to some X
17346         servers)
17347
17348         * kbsequence.C (getiso): add a few std:: qualifiers
17349         (getiso): comment out extra return statement.
17350
17351 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17352
17353         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17354         handling.
17355         (Dispatch): enhance the accent inset a bit. (not perfect)
17356
17357 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17358
17359         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17360
17361 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17362
17363         * bufferlist.C (emergencyWrite): fix assert() call
17364
17365 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17366
17367         * text.C (InsertChar): Added trivial patch to only send the "you
17368         can not do multiple spaces this way" message once during a
17369         session.
17370
17371 2001-05-08  Baruch Even  <baruch@lyx.org>
17372
17373         * Makefile.am: Changed order of libraries to get LyX to link properly
17374         with the gnome frontend.
17375
17376 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17377
17378         * LaTeXFeatures.h: add a std:: qualifier
17379
17380 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17381
17382         * paragraph.C (String): use stringstream
17383
17384 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17385
17386         * paragraph.C (writeFile): remove footflag arg
17387
17388         * buffer.C (makeLaTeXFile): use stringstream
17389         (latexParagraphs): remove footnot gurba
17390
17391         * LaTeXFeatures.C (getPackages): use stringstream
17392         (getMacros): likewise
17393         (getTClassPreamble): likewise
17394         (getFloatDefinitions): new method
17395
17396         * paragraph.C (writeFile): reindent
17397         (Erase): reindent
17398
17399         * WorkArea.h: revert the xpos + etc changes.
17400
17401         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17402
17403         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17404
17405         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17406         (pasteSelection): likewise
17407         * text2.C (CreateUndo): likewise
17408
17409 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17410
17411         * minibuffer.C (peek_event): temporarily reduce the functionality
17412         of the minibuffer (to allow args on lfuns)
17413
17414         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17415         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17416
17417         * buffer.C (readInset): add compability reading of old float
17418         lists, add reading of new style float list.
17419         (readInset): avoid reevaluation of inscmd.getCmdName()
17420         (getLists): reindent
17421
17422         * MenuBackend.C (MenuItem): implement parsing of
17423         md_floatlistinsert and md_floatinsert.
17424         (expand::LastFiles): move initalizaton of iterators out of loop,
17425         avoid reevaluation.
17426         (expand::Documents): introduce typdedef vector<string> Strings,
17427         and use it.
17428         (expand::ExportFormats): introduce typedef vector<Format const *>
17429         Formats, and use it.
17430         (expand): implement FloatListInsert and FloatInsert.
17431
17432         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17433         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17434         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17435
17436         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17437         handling.
17438         (Dispatch::LFUN_FLOAT_LIST): implement
17439
17440 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17441
17442         * LaTeX.C (run): Fix problem with --export code.
17443
17444 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17445
17446         * BufferView.[Ch] (workarea): removed.
17447         (getClipboard) new method; wrapper for workarea()->getClipboard()
17448
17449         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17450         bug.
17451
17452         * WorkArea.h (width, height, xpos, ypos): These methods all
17453         returned the dimensions of the work_area sub-area of WorkArea,
17454         resulting in a position error if the WorkArea were resized. Now
17455         return the dimensions of the entire WorkArea.
17456
17457         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17458
17459 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17460
17461         * LaTeX.C (deplog): correct the syntax of regex reg1
17462
17463 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17464
17465         * undo.C: remove !NEW_INSETS cruft
17466
17467 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17468
17469         * text2.C: remove !NEW_INSETS cruft
17470
17471         * text.C: remove !NEW_INSETS cruft
17472
17473         * tabular.C: remove !NEW_INSETS cruft
17474
17475         * spellchecker.C: remove !NEW_INSETS cruft
17476
17477         * lyxtext.h: remove !NEW_INSETS cruft
17478
17479         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17480
17481         * lyxfunc.C: remove !NEW_INSETS cruft
17482
17483         * lyxfind.C: remove !NEW_INSETS cruft
17484
17485         * lyx_cb.C: remove !NEW_INSETS cruft
17486
17487         * figureForm.C: remove  !NEW_INSETS cruft
17488
17489         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17490
17491         * buffer.[Ch]: remove !NEW_INSETS cruft
17492
17493         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17494
17495         * CutAndPaste.C: remove !NEW_INSETS cruft
17496
17497         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17498
17499         * BufferView2.C: remove !NEW_INSETS cruft
17500
17501         * BufferView.h: remove !NEW_INSETS cruft
17502
17503 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17504
17505         * Lsstream.h: include LString.h before the sstream headers to
17506         fix problem with gcc 2.95.3 and lyxstring
17507
17508 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17509
17510         * lyx_main.C: add using directives when needed for C functions
17511         declared in std:: namespace.
17512
17513 2001-04-27  Juergen Vigna  <jug@sad.it>
17514
17515         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17516         (SetHeightOfRow): comment out the update call should not be needed!
17517
17518 2001-04-13  Juergen Vigna  <jug@sad.it>
17519
17520         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17521         (LyXTabular): tried to minimize operator= operations (and realized
17522         hopfully Lars wish).
17523
17524 2001-04-27  Juergen Vigna  <jug@sad.it>
17525
17526         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17527
17528 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17529
17530         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17531
17532         * buffer.C (readInset): hack to make listof algorithm work
17533
17534         * BufferView_pimpl.C: hack to make listof algorithm work
17535
17536 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17537
17538         * LyXAction.C: removed all !NEW_INSETS cruft
17539         (init): moved lfun_item in method
17540
17541         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17542
17543 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17544
17545         * BufferView2.C (theLockingInset): white space.
17546
17547 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17548
17549         * minibuffer.C: include <iostream>
17550
17551         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17552
17553         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17554
17555         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17556
17557         * text.[Ch] (TransposeChars): new method
17558
17559 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17560
17561         * call message directly through LyXView instead of through LyXFunc
17562         * BufferView2.C: adjust
17563         * BufferView_pimpl.C: adjust
17564         * FontLoader.C: adjust
17565         * buffer.C: adjust
17566         * bufferview_funcs.C: adjust
17567         * converter.C: adjust
17568         * figureForm.C: adjust
17569         * importer.C: adjust
17570         * lyx_cb.C: adjust
17571         * lyx_gui_misc.C: adjust
17572         * lyxfunc.C: adjust
17573         * lyxvc.C: adjust
17574         * text2.C: adjust
17575         + more files in subdirs
17576
17577         * lyxparagraph.h (size): move up int file
17578         (GetLayout): ditto
17579
17580         * adjust all uses of Assert to lyx::Assert.
17581
17582         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17583         lyxfunctional in namespace lyx
17584         * layout.C (hasLayout): ditto
17585         (GetLayout): ditto
17586         (GetLayout): ditto
17587         (delete_layout): ditto
17588         (NumberOfClass): ditto
17589         * converter.C (GetFormat): ditto
17590         (GetNumber): ditto
17591         (Add): ditto
17592         (Delete): ditto
17593         (SetViewer): ditto
17594         * bufferlist.C (getFileNames): ditto
17595         (emergencyWriteAll): ditto
17596         (exists): ditto
17597         (getBuffer): ditto
17598         * MenuBackend.C (hasSubmenu): ditto
17599         (hasMenu): ditto
17600         (getMenu): ditto
17601         * BufferView_pimpl.C (getInsetByCode): ditto
17602
17603 2001-04-18  Juergen Vigna  <jug@sad.it>
17604
17605         * vspace.C (asLatexString): fixed the 100% problem.
17606
17607 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17608
17609         * lyxfunc.C (Dispatch):
17610         * minibuffer.C:
17611         * minibuffer.h: add a few std:: qualifiers
17612
17613 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17614
17615         * minibuffer.[Ch]: reimplement so that commands is initiated and
17616         run from lyxfunc, simplified som handling, and made the completion
17617         and history code for complete. wip.
17618
17619         * lyxfunc.C (processKeySym): call message
17620         (miniDispatch): new temporary method
17621         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17622         (LFUN_MESSAGE): implement
17623         (LFUN_MESSAGE_PUSH): implement
17624         (LFUN_MESSAGE_POP): implement
17625         (initMiniBuffer): the initial/defualt minibuffer message.
17626
17627         * lyxfont.[Ch]: inline some more getters
17628
17629         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17630
17631         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17632
17633         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17634         (AutoSave): use LFUN_MESSAGE
17635         (Reconfigure): ditto
17636
17637         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17638
17639         * figureForm.C: use LFUN_MESSAGE
17640
17641         * converter.C (runLaTeX): use LFUN_MESSAGE
17642
17643         * bufferview_funcs.C: use LFUN_MESSAGE
17644         (Melt): ditto
17645         (changeDepth): ditto
17646
17647         * bufferparams.h: use boost::
17648
17649         * bufferlist.h: inherit privately from noncopyable
17650
17651         * bufferlist.C (loadLyXFile): remove some commented code.
17652
17653         * buffer.C (runChktex): use LFUN_MESSAGE
17654
17655         * ShareContainer.h: inherit privately from noncopyable
17656
17657         * ParagraphParameters.[hC] (depth): inline it.
17658
17659         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17660         methods.
17661         (message): new method
17662         (messagePush): ditto
17663         (messagePop): ditto
17664         (show): init minibuffer
17665         (showState): direct call
17666
17667         * LaTeX.[Ch]: inherit privately from noncopyable
17668         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17669         instead of WriteStatus.
17670
17671         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17672
17673         * BufferView_pimpl.C (buffer): don't init minibuffer
17674         (workAreaButtonPress): use LFUN_MESSAGE
17675         (workAreaButtonRelease): ditto
17676         (savePosition): ditto
17677         (restorePosition): ditto
17678         (MenuInsertLyXFile): ditto
17679         (workAreaExpose): don't init minibuffer
17680         (update): remove commented code, simplify
17681
17682         * BufferView2.C (openStuff): use LFUN_MESSAGE
17683         (toggleFloat): ditto
17684         (menuUndo): ditto
17685         (menuRedo): ditto
17686         (copyEnvironment): ditto
17687         (pasteEnvironment): ditto
17688         (copy): ditto
17689         (cut): ditto
17690         (paste): ditto
17691         (gotoInset): ditto
17692         (updateInset): remove some commented code
17693
17694         * lastfiles.h: inherit privately from noncopyable
17695         * layout.h: ditto
17696         * lyx_gui.h: ditto
17697         * lyx_main.h: ditto
17698         * lyxlex.h: ditto
17699         * lyxlex_pimpl.h: ditto
17700
17701         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17702         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17703         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17704
17705         * LyXAction.h: inherit privately from noncopyable, add methods
17706         func_begin, func_end, returning iterators to the func map.
17707
17708         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17709         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17710         (func_begin): new method
17711         (func_end): new method
17712
17713         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17714         and not)
17715         (copySelection): ditto
17716         (pasteSelection): ditto
17717
17718         * BufferView.C: whitespace change
17719         * BufferView.h: inherit privately from noncopyable
17720
17721 2001-04-16  Allan Rae  <rae@lyx.org>
17722
17723         * tabular-old.C (l_getline):
17724         * spellchecker.C (sc_check_word):
17725         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17726         an unrecognised preprocessor directive.  So ensure they're wrapped.
17727
17728 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17729
17730         * src/exporter.C (Export): Give an error message when path to file
17731         contains spaces.
17732
17733 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17734
17735         * LaTeX.C (deplog): Always check that foundfile exists.
17736
17737 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17738
17739         * lyx_main.h:
17740         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17741
17742 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17743
17744         * tabular.[Ch] (getLabelList): implement new method
17745
17746         * minibuffer.h: comment ouf setTiimer
17747
17748         * minibuffer.C (ExecutingCB): constify res
17749         (peek_event): constify s
17750         (Set): constify ntext
17751         (Init): constify nicename
17752
17753         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17754
17755         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17756         (savePosition): use two params to Minibuffer::Set
17757         (restorePosition): ditto
17758
17759 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17760
17761         * lyx_main.C: include language.h
17762
17763         * Makefile.am (lyx_main.o): add language.h
17764
17765 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17766
17767         * exporter.C:
17768         * paragraph.C:
17769         * screen.C:
17770         * tabular.C:
17771         * CutAndPaste.C: include gettext.h
17772
17773         * lyxfont.h: remove old hack with ON and OFF.
17774
17775         * lyxparagraph.h:
17776         * lyxfont.h: do not include language.h...
17777
17778         * BufferView2.C:
17779         * LaTeXFeatures.C:
17780         * Painter.C:
17781         * bufferview_funcs.C:
17782         * font.C:
17783         * lyxfont.C:
17784         * text.C:
17785         * text2.C:
17786         * trans_mgr.C:
17787         * paragraph.C: ... but do it here instead
17788
17789 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17790
17791         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17792
17793         * tabular.C: small reformat
17794
17795         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17796         NEW_INSETS version
17797         (GetChar): ditto
17798         (BreakParagraph): ditto
17799         (SetOnlyLayout): ditto
17800         (SetLayout): ditto
17801
17802         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17803         with one arg less.
17804
17805         * lastfiles.C: removed most using decl, add std:: where needed
17806
17807         * buffer.C: ws changes
17808
17809         * MenuBackend.C (class compare_format): put into anon namespace
17810         (expand): constify label, names, action, action2
17811         (expand):
17812
17813         * text.C (SingleWidth): constify font
17814         (IsBoundary): constify rtl2
17815         (GetVisibleRow): constify ww
17816
17817         * LaTeX.C (deplog): constify logfile
17818
17819         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17820         start_x, end_x
17821         (workAreaExpose): constify widthChange, heightChange
17822
17823         * lyxrow.C (par): moved
17824         (height): moved
17825         (next): moved
17826         * lyxrow.h: as inlines here
17827
17828         * lyxfont.h (shape): moved from lyxfont.C
17829         (emph): moved from lyxfont.C
17830
17831         * lyxfont.C (LyXFont): use initialization list for all
17832         constructors
17833         (shape): move to lyxfont.h as inline
17834         (emph): move to lyxfont.h as inline
17835
17836
17837 2001-04-04  Juergen Vigna  <jug@sad.it>
17838
17839         * vspace.C: had to include stdio.h for use of sscanf
17840
17841 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17842
17843         * BufferView.h:
17844         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17845         independent of xforms.
17846
17847 2001-04-02  Juergen Vigna  <jug@sad.it>
17848
17849         * spellchecker.C: fixed namespace placing!
17850
17851 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17852
17853         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17854         the LyXParagraph * is 0.
17855
17856 2001-03-29  Juergen Vigna  <jug@sad.it>
17857
17858         * vspace.C: added support for %, c%, p%, l%.
17859         (stringFromUnit): added helper function.
17860         (asLatexString): changed to give right results for the %-values.
17861
17862         * buffer.C: convert the widthp in a width%.
17863
17864 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17865
17866         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17867         figureForm.[Ch].
17868
17869         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17870         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17871
17872         * lyx_cb.[Ch]: see above.
17873
17874         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17875         form1.[Ch].
17876
17877         * form1.[Ch]:
17878         * lyx.[Ch]: replaced by figure_form.[Ch].
17879
17880         * lyx_gui.C:
17881         * lyx_gui_misc.C:
17882         * lyxfunc.C: changed headers associated with above changes.
17883
17884 2001-03-27  Juergen Vigna  <jug@sad.it>
17885
17886         * BufferView_pimpl.C: set the temporary cursor right!
17887
17888 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17889
17890         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17891
17892 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17893
17894         * LString.h: removed "using std::getline"!
17895
17896         * BufferView_pimpl.C (Dispatch): changes due to changes in
17897         InsetInclude::Params.
17898
17899         * buffer.C (tag_name): removed redundant break statements as they were
17900         producing lots of warnings with my compiler.
17901
17902 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17903
17904         * LString.h: add "using std::getline" when using the real <string>.
17905
17906 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17907
17908         * buffer.C: removed bitset usage.
17909         PAR_TAG moved to an anonymous name space.
17910         (tag_name): new funtion, also in the anonymous namespace.
17911         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17912         (makeDocBookFile): clean code. Completed transition from string arrays
17913         to string vectors.
17914         (SimpleDocBookOnePar): code clean.
17915
17916 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17917
17918         * tabular.C: add some comments.
17919
17920 2001-03-22  Juergen Vigna  <jug@sad.it>
17921
17922         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17923         compatibility read a bit and fixed bug with minipage in different
17924         depth.
17925
17926 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17927
17928         * buffer.C (pop_tag): removed.
17929         (push_tag): removed.
17930         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17931         array replaced with vector. Added support for CDATA sections.
17932         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17933         at any nest level.
17934         (makeDocBookFile): XML conformant declaration of CDATA section,
17935         fixed bug related to <emphasis> in the first paragraph char.
17936         (sgmlOpenTag): exclude empty tags.
17937         (sgmlCloseTag): ditto.
17938
17939         * buffer.h (pop_tag): removed.
17940         (push_tag): removed.
17941
17942 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17943
17944         * language.h (Languages): added size_type and size().
17945
17946 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17947
17948         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17949         response on compability reading of minipages. One probliem is that
17950         the old usage of minipages was flertydig
17951
17952         * several files here and in subdirs: don't use static at file
17953         scope use anon namespaces instead.
17954
17955 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17956
17957         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17958         LaTeX output. This is necessary for Literate document
17959         processing.
17960
17961 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17962
17963         * buffer.C: insert hfill when needed.
17964
17965         * tabular.C (l_getline): use string::erase, small whitespace change.
17966
17967         * BufferView_pimpl.C: try the anon namespace.
17968         * WorkArea.C: ditto
17969
17970 2001-03-16  Juergen Vigna  <jug@sad.it>
17971
17972         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17973         otherwise it won't open options-dialogs.
17974
17975         * buffer.C: honor pextraWidth(p) on converting minipages.
17976
17977         * tabular.C (l_getline): changed the functions to strip trailing \r.
17978
17979 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17980
17981         * BufferView_pimpl.C:
17982         * minibuffer..C: added "using SigC::slot" declaration.
17983
17984 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17985
17986         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17987
17988         * text2.C: ditto
17989
17990         * text.C: ditto
17991
17992         * paragraph.C: ditto
17993
17994         * lyxtext.h: NO_PEXTRA
17995
17996         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17997
17998         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17999         * ParameterStruct.h: ditto
18000         * ParagraphParameters.h: ditto
18001         * lyxparagraph.h: ditto
18002
18003 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18004
18005         * buffer.C: add compability for minipage alignment.
18006         (latexParagraphs): remove unwanted pextra check.
18007
18008         * several files: remove CXX_WORKING_NAMESPACES
18009
18010         * buffer.C (pop_tag): tie is in namespace boost
18011
18012         * BufferView.h: noncopyable is in namespace boost
18013         * lyxlex.h: ditto
18014         * lyx_main.h: ditto
18015         * lyx_gui.h: ditto
18016         * layout.h: ditto
18017         * lastfiles.h: ditto
18018         * bufferlist.h: ditto
18019         * ShareContainer.h: ditto
18020         * LyXView.h: ditto
18021         * LyXAction.h: ditto
18022         * LaTeX.h: ditto
18023
18024 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18025
18026         * Merging changes from BRANCH_MVC back into HEAD.
18027
18028         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18029
18030 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18031
18032         * BufferView_pimpl.C: change from intl.C
18033
18034         * combox.h:
18035         * combox.C:
18036         * Makefile.am: move combox.*
18037
18038         * form1.h:
18039         * form1.C:
18040         * lyx_gui.C:
18041         * intl.h:
18042         * intl.C: remove dialog (covered by prefs)
18043
18044 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18045
18046         * lyxfunc.C (Dispatch): removed redundant break statement.
18047
18048 2001-03-14  Juergen Vigna  <jug@sad.it>
18049
18050         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18051
18052 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18053
18054         * buffer.C: add hack to fix compability reading of minipages.
18055
18056 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18057
18058         * buffer.C (getLists): Cleanup.
18059
18060 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18061
18062         * lyxfont.C (update): don't honor toggleall on font size.
18063
18064 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18065
18066         * bmtable.c:
18067         * bmtable.h:
18068         * Makefile.am: moved to frontends/xforms/
18069
18070         * lyx_gui_misc.C:
18071         * lyxfunc.C:
18072         * BufferView_pimpl.C: changes for moved mathpanel
18073
18074 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18075
18076         * gettext.h: fix gettext_init() in --disable-nls
18077
18078 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18079
18080         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18081
18082 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18083
18084         * lyx.C:
18085         * lyx.h: strip external form
18086
18087 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18088
18089         * BufferView_pimpl.C: add comment, destroySplash()
18090
18091 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18092
18093         * BufferView_pimpl.C:
18094         * LyXAction.C:
18095         * buffer.C:
18096         * commandtags.h:
18097         * lyxfunc.C: use re-worked insetinclude
18098
18099 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18100
18101         * buffer.C: add using std::stringstream.
18102
18103         * lyx_cb.C: readd using std::ios.
18104
18105         * buffer.C: add using std::map.
18106
18107         * BufferView_pimpl.C: add using std::vector.
18108
18109         * ShareContainer.h: add std:: to swap.
18110
18111         * buffer.h: add some typedefs
18112         * buffer.C (getLists): use them
18113         (getLists): renamed from getTocList.
18114         add a counter for the different float types and use it in the
18115         generated string.
18116         (getLists): use the same counter for the NEW_INSETS and the "non"
18117         NEW_INSETS
18118
18119         * lyx_cb.h: remove unused items, includes, using etc.
18120
18121         * ShareContainer.h: remove some commented code, add more comments
18122         and "documentation".
18123
18124 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18125
18126         * buffer.C (getTocList): make the list also when NEW_INSETS is
18127         defined.
18128
18129         * buffer.h: remove TocType
18130
18131         * buffer.C (getTocList): change to return a map<string,
18132         vector<TocItem> >, implement for dynamic number of list.
18133
18134         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18135         * text2.C (PasteSelection): adjust
18136         * CutAndPaste.C (pasteSelection): adjust
18137
18138         * FloatList.C (FloatList): update from the new_insets branch.
18139         * Floating.[Ch]: ditto
18140         * LaTeXFeatures.C: ditto
18141         * buffer.C: ditto
18142         * lyxlex_pimpl.C: ditto
18143
18144         * paragraph.C (Last): remove when NEW_INSETS is defined.
18145
18146         * other file: changes because of the above.
18147
18148 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18149
18150         * lyxparagraph.h: rename next to next_, previous to previous_,
18151         make them private for NEW_INSETS. Rename Next() to next(),
18152         Previous() to previous().
18153
18154         * other files: changes because of the above.
18155
18156 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18157
18158         * BufferView.h:
18159         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18160         problem.
18161
18162 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18163
18164         * main.C (main): pass lyx_localedir to gettext_init().
18165
18166         * gettext.h: remove locale_init and gettext_init macros
18167
18168         * gettext.C (locale_init): new function
18169         (gettext_init): new function
18170
18171         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18172         setlocale().
18173
18174 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18175
18176         * Moved credits to frontends:
18177         * credits.[Ch]: removed
18178         * credits_form.[Ch]: removed
18179         * lyx_gui_misc.C: remove credits stuff
18180         * Makefile.am:
18181
18182 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18183
18184         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18185
18186         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18187         unneeded destructor.
18188
18189         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18190         a standalone pointer again.
18191
18192         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18193
18194 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18195
18196         * Makefile.am:
18197         * filedlg.h:
18198         * filedlg.C:
18199         * LyXAction.C:
18200         * ToolbarDefaults.C:
18201         * bufferlist.C:
18202         * commandtags.h:
18203         * form1.C:
18204         * form1.h:
18205         * lyx_cb.C:
18206         * lyx_cb.h:
18207         * lyxfunc.h:
18208         * lyxfunc.C:
18209         * BufferView_pimpl.C: use new file dialog in GUII
18210
18211         * lyx_cb.h:
18212         * lyx_cb.C: remove LayoutsCB to Toolbar
18213
18214 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18215
18216         * ShareContainer.h (get): add std:: qualifier
18217
18218 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18219
18220         * ShareContainer.h: define a proper ShareContainer::value_type
18221         type (and use typename to please compaq cxx)
18222
18223 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18224
18225         * lyxparagraph.h: move serveral local vars to
18226         ParameterStruct/ParagraphParameters., use ShareContainer in
18227         FontTable., make vars in FontTable private and add getter and
18228         setter.
18229
18230         * paragraph.C: changes because of the above.
18231
18232         * lyxfont.h: remove copy constructor and copy assignment. (the
18233         default ones is ok), move number inside FontBits. move inlines to
18234         lyxfont.C
18235
18236         * lyxfont.C: add number to initializaton of statics, move several
18237         inlines here. constify several local vars. some whitespace
18238         cleanup. Dont hide outerscope variables.
18239
18240         * Spacing.h: add two new constructors to match the set methods.
18241
18242         * ShareContainer.h: new file, will perhaps be moved to support
18243
18244         * ParameterStruct.h: new file
18245
18246         * ParagraphParameters.h: new file
18247
18248         * ParagraphParameters.C: new file
18249
18250         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18251         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18252
18253         * BufferView_pimpl.C: ParagraphParameter changes.
18254         * buffer.C: Likewise.
18255         * bufferview_funcs.C: Likewise.
18256         * text.C: Likewise.
18257         * text2.C: Likewise.
18258
18259 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18260
18261         * lyxfind.C (LyXReplace): do not redefine default argument in
18262         implementation.
18263         (IsStringInText): ditto
18264         (SearchForward): ditto
18265         (SearchBackward): ditto
18266
18267 2001-03-06  Juergen Vigna  <jug@sad.it>
18268
18269         * lyxfind.C (IsStringInText): put parentes around expressions.
18270
18271 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18272
18273         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18274
18275 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18276
18277         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18278
18279         * stl_string_fwd.h: add comment
18280
18281         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18282
18283         * tabular.h:
18284         * tabular.C: remove unused DocBook methods
18285
18286         * intl.C:
18287         * language.C:
18288         * paragraph.C:
18289         * buffer.C:
18290         killed DO_USE_DEFAULT_LANGUAGE
18291
18292 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18293
18294         * lyx_gui.C: do not include language.h.
18295
18296         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18297         arguments in function implementation.
18298
18299 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18300
18301         * BufferView_pimpl.C: add <ctime>
18302
18303 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18304
18305         * BufferView_pimpl.C: add using std::find_if
18306
18307 2001-02-27  José Matos  <jamatos@fep.up.pt>
18308
18309         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18310         by OnlyPath.
18311
18312 2001-02-11  José Matos  <jamatos@fep.up.pt>
18313
18314         * buffer.C (makeDocBookFile): command styles now have a parameter as
18315         "title" by default.
18316
18317 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18318
18319         * layout_forms.[Ch]: removed
18320         * lyx_cb.[Ch]: out character
18321         * lyx_gui.C: out character
18322         * lyx_gui_misc.C: out character
18323         * bufferview_funcs.C: : out character,
18324         added toggleall as parameter in ToggleAndShow
18325
18326 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18329
18330         * text2.C (SetCurrentFont): Disable number property at boundary.
18331
18332 2001-02-26  Juergen Vigna  <jug@sad.it>
18333
18334         * lyxfunc.C (getStatus): added a string argument override function so
18335         that this is correctly called from LyXFunc::Dispatch if it contains a
18336         do_not_use_argument which is used!
18337         (Dispatch): added check for "custom" export and call appropriate func.
18338
18339 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18340
18341         * lyxrc.C: Add language_command_local, language_use_babel and
18342         language_global_options.
18343
18344         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18345
18346         * buffer.C (makeLaTeXFile): Use language_use_babel and
18347         language_global_options.
18348
18349 2001-02-23  Juergen Vigna  <jug@sad.it>
18350
18351         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18352         which works with LyXText and putted it inside BufferView. Here now we
18353         only call for that part the BufferView::Dispatch() function.
18354
18355         * BufferView.C (Dispatch): added.
18356
18357         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18358         functions which needs to use a LyXText over from LyXFunc.
18359         (MenuInsertLyXFile): added
18360         (getInsetByCode): added
18361         (moveCursorUpdate): added
18362         (static TEXT): added
18363
18364 2001-02-22  Juergen Vigna  <jug@sad.it>
18365
18366         * BufferView_pimpl.C (update): call a status update to see if LyXText
18367         needs it.
18368
18369 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18370
18371         * vc-backend.C (revert): implement for CVS
18372         (getLog): implement for CVS
18373
18374 2001-02-20  Juergen Vigna  <jug@sad.it>
18375
18376         * text2.C (ClearSelection): added BufferView param for inset_owner call
18377
18378         * lyxfunc.C (TEXT): added this function and use it instead of
18379         directly owner->view()-text of getLyXText().
18380
18381 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18382
18383         * src/layout_forms.C: out preamble
18384         * src/layout_forms.h: out preamble
18385         * src/lyx_cb.C: out preamble
18386         * src/lyx_cb.h: out preamble
18387         * src/lyx_gui.C: out preamble
18388         * src/lyx_gui_misc.C: out preamble
18389         * src/lyxfunc.C: connect with guii preamble
18390
18391 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18392
18393         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18394
18395 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18396
18397         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18398         whether to run bibtex.
18399
18400 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18401
18402         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18403
18404 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18405
18406         * Makefile.am (lyx_SOURCES): removed bibforms.h
18407
18408         * vspace.h: doxygen
18409
18410         * text.C (GetVisibleRow): make several local vars const
18411
18412         * tabular.C: small cleanup.
18413
18414         * lyxserver.C (callback): use compare instead of strncmp
18415
18416         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18417         inlines to after class or to paragraph.C
18418
18419         * lyxfont.h: remove friend operator!=
18420
18421         * converter.h: move friend bool operator< to non friend and after
18422         class def.
18423
18424         * combox.h: small cleanup
18425
18426         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18427         to inlines after class def.
18428
18429         * buffer.C (pop_tag): use string operations instead of strcmp
18430
18431         * bmtable.c: doxygen, small cleanup
18432
18433         * LaTeX.h: remove friend operator==
18434
18435 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18436
18437         * screen.C:
18438         * lyxrc.[Ch]:
18439         * lyxfunc.C:
18440         * lyxfont.[Ch]:
18441         * lyx_cb.C:
18442         * intl.[Ch]:
18443         * commandtags.h:
18444         * buffer.C:
18445         * WorkArea.[Ch]:
18446         * LyXAction.C:
18447         * BufferView_pimpl.C:
18448         * BufferView.[Ch]: remove cruft
18449
18450 2001-02-14  Juergen Vigna  <jug@sad.it>
18451
18452         * lyxfunc.C: removed #if 0 unused code
18453
18454         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18455
18456         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18457
18458         * text2.C (SetSelection): added a BufferView * parameter
18459
18460 2001-02-13  Juergen Vigna  <jug@sad.it>
18461
18462         * lyxfunc.C (Dispatch): fixed protected blank problem.
18463         * BufferView2.C (protectedBlank): added LyxText * parameter.
18464
18465         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18466         (AppendColumn): same as above for column_info.
18467
18468         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18469         (moveCursorUpdate): use a LyXText param for support of InsetText.
18470
18471         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18472         (tripleClick): ditto
18473
18474         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18475
18476         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18477
18478         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18479
18480         * text2.C (SetSelection): set correct update status if inset_owner
18481         (ToggleFree): ditto
18482
18483 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18484
18485         * tabular.C: remove some commented code.
18486
18487 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18488
18489         * BufferView_pimpl.C: call hideSplash()
18490
18491         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18492
18493         * include_form.h:
18494         * bibforms.h: remove
18495
18496         * lyxfunc.C:
18497         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18498           add LFUN_CHILD_CREATE
18499
18500         * counters.h: fix tiny typo
18501
18502         * lyx_cb.C:
18503         * lyx.h:
18504         * lyx_gui.C:
18505         * lyx.C: move splash to frontends/xforms/
18506
18507         * lyx_gui_misc.C: move Include and Bibform to frontends
18508
18509         * lyxvc.h: clarify comment
18510
18511         * vspace.C: tiny housekeeping
18512
18513 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18514
18515         * text.C (PrepareToPrint): RTL Fix.
18516
18517         * paragraph.C (GetUChar): New method.
18518         (String):  Use GetUChar.
18519
18520         * buffer.C (asciiParagraph): Use GetUChar.
18521
18522 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18523
18524         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18525
18526 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18527
18528         * buffer.h:
18529         * buffer.C: rename to getLogName(), handle
18530           build log / latex log nicely
18531
18532 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18533
18534         * MenuBackend.C:
18535         * MenuBackend.h: remove support for reference menuitem type.
18536
18537 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18538
18539         * BufferView_pimpl.C: housekeeping
18540         * BufferView_pimpl.h:
18541         * LyXView.h:
18542         * Makefile.am:
18543         * Timeout.C:
18544         * Timeout.h:
18545         * minibuffer.h: move Timeout GUI-I
18546
18547 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18548
18549         * lyxrc.C (read): Update converters data-structures.
18550
18551 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18552
18553         * LaTeX.h (operator!=): add operator != for Aux_Info
18554
18555 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18556
18557         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18558
18559         * LaTeXLog.C: deleted, useful code moved to Buffer
18560
18561         * buffer.h:
18562         * buffer.C: new function getLatexLogName()
18563
18564         * lyx_gui_misc.C:
18565         * lyx_gui.C:
18566         * lyxvc.C:
18567         * lyxvc.h:
18568         * lyxfunc.C: use frontends for LaTeX and VC logs
18569
18570 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18571
18572         * LaTeX.h: yet another std:: that Allan forgot.
18573
18574         * Variables.C (set): renamed from isset(), because this clashes
18575         with some HP-UX macros (grr).
18576
18577 2001-02-06  Allan Rae  <rae@lyx.org>
18578
18579         * LaTeX.h: Another bug fix.  Missing std:: this time.
18580
18581 2001-02-04  Allan Rae  <rae@lyx.org>
18582
18583         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18584         floats problem. I've left it commented out because it's not quite
18585         correct.  It should also test that the current object is a table or
18586         figure inset.  But I haven't gotten around to figuring out how to do
18587         that.  I *think* it'll be something like: "table" == inset.type()
18588
18589         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18590         bool.
18591
18592 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18593
18594         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18595         all the citation/databases/styles in the auxilary file.
18596         (run): Rerun latex if there was a babel language error.
18597
18598 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18599
18600         * text.C (Backspace): Preserve the font when changing newline char
18601         with a space.
18602         (BreakParagraph): If the cursor is before a space, delete the space.
18603
18604         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18605
18606 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18607
18608         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18609         new argument (code).
18610         (ChangeCitationsIfUnique): New method.
18611
18612         * paragraph.C (GetPositionOfInset): Handle bibkey.
18613
18614 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18615
18616         * BufferView_pimpl.h: change type of Position::par_pos to
18617         LyXParagraph::size_type.
18618
18619 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18620
18621         * BufferView_pimpl.C (savePosition, restorePosition): Write
18622         messages to minibuffer.
18623
18624 2001-01-28  José Matos  <jamatos@fep.up.pt>
18625
18626         * buffer.C (makeDocBookFile): adds support for document language.
18627         A silly restriction on the name of LatexCommand types where removed.
18628         Added support for CDATA sections, allows to chars unescaped, used
18629         among others in code, to avoid escape < and >.
18630
18631 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18632
18633         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18634         saved positions instrad of a stack. Furthermore, a position is
18635         stored using paragraph id/paragraph position.
18636
18637         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18638         Remove LFUN_REF_BACK.
18639
18640 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18641
18642         * converter.C (dvipdfm_options): New method.
18643
18644 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18645
18646         * vspace.C (isValidLength): Fix for empty input string.
18647
18648 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18649
18650         * LyXAction.C (init): change description of LFUN_FIGURE to
18651         "Insert Graphics"
18652
18653 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18654
18655         * LaTeX.C: add using directive
18656
18657 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18658
18659         * MenuBackend.C (expand): Fix the sorting of the formats.
18660
18661 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18662
18663         * lyx_main.C: tiny error message fix
18664
18665 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18666
18667         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18668         calling fl_initialize(). This fixes the problem with ',' as
18669         decimal separator in text files.
18670
18671 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18672
18673         * trans.C (process): Fix the keymap bug.
18674
18675 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18676
18677         * LaTeX.C (scanAuxFiles): New method. Provides support for
18678         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18679         (scanLogFile) Scan for "run BibTeX" messages.
18680
18681         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18682         OT1 font encoding. Also, load the aecompl package if the ae
18683         package is loaded.
18684
18685         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18686
18687 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18688
18689         * texrow.C (increasePos): turn two error messages into debug
18690         messages.
18691
18692 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18693
18694         * LaTeX.C (scanAux): Handle the \@input macro.
18695         (runBibTeX): Use scanAux().
18696
18697         * language.C (latex_options_): New field.
18698
18699         * LaTeXFeatures.C (getMacros): Add language macros.
18700
18701         * buffer.C (makeLaTeXFile): Small fix.
18702
18703 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18704
18705         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18706
18707         * text2.C: add a using directive.
18708
18709 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18710
18711         * BufferView2.C:
18712         * lyx_gui_misc.h:
18713         * lyxfr1.C:
18714         * lyxfunc.C: kill LyXBell.
18715
18716 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18717
18718         * text.C (IsBoundary): Remove the error message
18719
18720         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18721
18722         * lyxrc.C (setDefaults): Correct initialization value for
18723         font_norm_type.
18724
18725 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18726
18727         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18728         gotoError().
18729
18730         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18731         and GotoNextNote().
18732
18733         * src/LyXAction.C: Added reference-next.
18734
18735         * text.C (InsertChar): Use contains instead of strchr.
18736
18737         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18738
18739 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18740
18741         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18742         alignment commands (when needed).
18743
18744         * text.C (InsertChar): Add ':' to number separator chars.